]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
BZ#18872: Don't conditionalize build rules for test program.
[thirdparty/glibc.git] / ChangeLog
1 2015-10-08 Roland McGrath <roland@hack.frob.com>
2
3 [BZ #18872]
4 * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
5 Move out from under [$(run-built-tests) = yes] conditional.
6 ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
7 ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
8
9 2015-10-08 Carlos O'Donell <carlos@redhat.com>
10
11 [BZ #18589]
12 * string/Makefile (tests): Add bug-strcoll2.
13 (LOCALES): Add cs_CZ.UTF-8.
14
15 [BZ #18589]
16 * string/bug-strcoll2.c: New file.
17 * locale/categories.def: Revert commit
18 f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
19 * locale/langinfo.h: Likewise.
20 * locale/localeinfo.h: Likewise.
21 * locale/C-collate.c: Likewise.
22 * locale/programs/ld-collate.c (collate_output): Likewise.
23 * string/strcoll_l.c (STRDIFF): Likewise.
24 (STRCOLL): Likewise.
25 * wcsmbs/wcscoll_l.c: Likewise.
26
27 2015-10-08 Joseph Myers <joseph@codesourcery.com>
28
29 * math/libm-test.inc (lround_test_data): Do not expect the absence
30 of "inexact" for some tests with non-integer arguments.
31 (llround_test_data): Likewise.
32
33 * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
34 test.
35 (libc_cv_cc_sse2avx): Likewise.
36 * sysdeps/i386/configure: Regenerated.
37 * sysdeps/i386/i686/multiarch/Makefile
38 [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
39 [$(subdir) = math].
40 * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
41 code unconditional.
42 * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
43 Likewise.
44 * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
45 Likewise.
46 * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
47 Likewise.
48 * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
49 test.
50 (libc_cv_cc_sse2avx): Likewise.
51 * sysdeps/x86_64/configure: Regenerated.
52 * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
53 unconditional.
54 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
55 [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
56 unconditional.
57 (_dl_runtime_profile)
58 [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
59 conditional code.
60 * sysdeps/x86_64/fpu/multiarch/Makefile
61 [$(config-cflags-sse2avx) = yes]: Make code unconditional.
62 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
63 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
64 * sysdeps/x86_64/fpu/multiarch/e_exp.c
65 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
66 * sysdeps/x86_64/fpu/multiarch/e_log.c
67 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
68 * sysdeps/x86_64/fpu/multiarch/s_atan.c
69 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
70 * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
71 Likewise.
72 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
73 Likewise.
74 * sysdeps/x86_64/fpu/multiarch/s_sin.c
75 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
76 * sysdeps/x86_64/fpu/multiarch/s_tan.c
77 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
78 * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
79 * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
80 (HAVE_SSE2AVX_SUPPORT): Likewise.
81
82 2015-10-07 Paul Pluzhnikov <ppluzhnikov@google.com>
83
84 * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
85 instead of #pragma optimize.
86
87 2015-10-07 Carlos O'Donell <carlos@redhat.com>
88
89 [BZ #17195]
90 * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
91 as is similarly done in systrim and _int_free already.
92
93 2015-10-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
94
95 * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
96
97 2015-10-07 Joseph Myers <joseph@codesourcery.com>
98
99 [BZ #19088]
100 * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
101 <limits.h>.
102 (__lround) [FE_INVALID]: Force FE_INVALID exception when result
103 overflows but exception would not result from cast.
104 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
105 and <limits.h>.
106 (__lround) [FE_INVALID]: Force FE_INVALID exception when result
107 overflows but exception would not result from cast.
108 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
109 <limits.h>.
110 (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
111 overflows but exception would not result from cast.
112 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
113 <limits.h>.
114 (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
115 overflows but exception would not result from cast.
116 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
117 <limits.h>.
118 (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
119 overflows but exception would not result from cast.
120 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
121 <limits.h>.
122 (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
123 overflows but exception would not result from cast.
124 * math/libm-test.inc (lround_test_data): Add more tests.
125 (llround_test_data): Likewise.
126
127 2015-10-07 Steve Ellcey <sellcey@imgtec.com>
128
129 * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
130 (CFLAGS-ialloc.c): Ditto.
131 (CFLAGS-scheck.c): Ditto.
132
133 2015-10-07 Carlos O'Donell <carlos@redhat.com>
134
135 [BZ #19086]
136 * manual/filesys.texi (Storage Allocation): Fix argument order for
137 posix_fallocate64.
138
139 2015-10-07 Joseph Myers <joseph@codesourcery.com>
140
141 [BZ #19085]
142 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
143 exponent below 48 inside case for non-overflowing exponent.
144 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
145
146 2015-10-07 Florian Weimer <fweimer@redhat.com>
147
148 * iconvdata/cp737.h (from_idx): Add const.
149 * iconvdata/cp775.h (from_idx): Likewise.
150
151 2015-10-07 Joseph Myers <joseph@codesourcery.com>
152
153 * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
154 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
155 (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
156
157 [BZ #19079]
158 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
159 file, conditioned on [!_LP64].
160 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
161 [!_LP64] (__lround): Do not define as function or alias.
162 [!_LP64] (lround): Likewise.
163 [!_LP64] (__lroundl): Likewise.
164 [!_LP64] (lroundl): Likewise.
165 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
166 macro.
167 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
168 Likewise.
169
170 2015-10-06 Joseph Myers <joseph@codesourcery.com>
171
172 * math/libm-test.inc (lrint_test_data): Add more tests.
173 (llrint_test_data): Likewise.
174 (lround_test_data): Likewise.
175 (llround_test_data): Likewise.
176
177 * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
178 (llrint_test_data): Add tests used for lrint.
179
180 * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
181 test.
182 * sysdeps/i386/configure: Regenerated.
183 * sysdeps/i386/i686/multiarch/Makefile
184 [$(config-cflags-sse4) = yes]: Make code unconditional.
185 * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
186 Likewise.
187 * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
188 Likewise.
189 * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
190 test.
191 * sysdeps/x86_64/configure: Regenerated.
192 * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
193 Make code unconditional.
194 * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
195 Likewise.
196 * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
197 * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
198
199 * scripts/rpm2dynsym.sh: Remove file.
200
201 2015-10-06 Florian Weimer <fweimer@redhat.com>
202
203 * configure.ac (libc_cv_cxx_thread_local): Define.
204 * configure: Regenerate.
205 * config.make.in (have-cxx-thread_local): Define.
206 * nptl/Makefile (CFLAGS-tst-thread_local1.o):
207 (LDLIBS-tst-thread_local1): Define.
208 (tests): Add tst-thread_local1.
209 [have-cxx-thread_local != yes] (tests-unsupported): Add
210 tst-thread_local1.
211 * nptl/tst-thread_local1.cc: New file.
212
213 2015-10-06 Joseph Myers <joseph@codesourcery.com>
214
215 [BZ #19078]
216 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
217 (u_thres): Likewise.
218 (__expl): Determine whether to call __kernel_standard_l based on
219 value of result, not argument.
220
221 * math/libm-test.inc (scalb_test_data): Add more expectations for
222 the "inexact" exception.
223
224 [BZ #19077]
225 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
226 0.0L for argument 1.0L.
227
228 [BZ #19076]
229 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
230 constant 0.0L when computing infinite result.
231
232 2015-10-06 Florian Weimer <fweimer@redhat.com>
233
234 [BZ #10432]
235 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
236 malloc_usable_size.
237
238 2015-10-06 Florian Weimer <fweimer@redhat.com>
239
240 [BZ #19018]
241 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
242 Mangle function pointer before storing it.
243 (__call_tls_dtors): Demangle function pointer before calling it.
244
245 2015-10-05 Paul Pluzhnikov <ppluzhnikov@google.com>
246
247 [BZ #19012]
248 * iconv/gconv_db.c (gen_steps): Check for additional errors.
249 Clean up on failure.
250
251 2015-10-05 Joseph Myers <joseph@codesourcery.com>
252
253 [BZ #19071]
254 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
255 long int variable to store possibly incremented high part of
256 mantissa.
257 * math/libm-test.inc (lround_test_data): Add tests used for
258 llround. Use [LONG_MAX > 0x7fffffff] consistently as condition
259 for tests requiring 64-bit long. Do not condition tests on
260 [TEST_FLOAT] unnecessarily.
261 (llround_test_data): Add tests used for lround. Add another
262 expectation for the "inexact" exception. Do not condition tests
263 on [TEST_FLOAT] unnecessarily.
264
265 [BZ #887]
266 [BZ #19049]
267 [BZ #19050]
268 * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
269 * sysdeps/ieee754/dbl-64/e_log10.c: Include
270 <fix-int-fp-convert-zero.h>.
271 (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
272 * sysdeps/ieee754/dbl-64/e_log2.c: Include
273 <fix-int-fp-convert-zero.h>.
274 (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
275 * sysdeps/ieee754/dbl-64/s_erf.c: Include
276 <fix-int-fp-convert-zero.h>.
277 (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
278 * sysdeps/ieee754/dbl-64/s_logb.c: Include
279 <fix-int-fp-convert-zero.h>.
280 (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
281 * sysdeps/ieee754/flt-32/e_log10f.c: Include
282 <fix-int-fp-convert-zero.h>.
283 (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
284 * sysdeps/ieee754/flt-32/e_log2f.c: Include
285 <fix-int-fp-convert-zero.h>.
286 (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
287 * sysdeps/ieee754/flt-32/s_erff.c: Include
288 <fix-int-fp-convert-zero.h>.
289 (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
290 * sysdeps/ieee754/flt-32/s_logbf.c: Include
291 <fix-int-fp-convert-zero.h>.
292 (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
293 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
294 <fix-int-fp-convert-zero.h>.
295 (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
296 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
297 <fix-int-fp-convert-zero.h>.
298 (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
299 * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
300 * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
301 * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
302 file.
303 * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
304
305 2015-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
306
307 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
308
309 2015-10-02 Joseph Myers <joseph@codesourcery.com>
310
311 [BZ #19059]
312 * math/s_nexttowardf.c (__nexttowardf): Do not return value from
313 overflowing computation.
314 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
315 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
316 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
317 Likewise.
318 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
319 Likewise.
320 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
321 Likewise.
322 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
323 Likewise.
324 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
325 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
326 Likewise.
327 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
328 Likewise.
329 * math/libm-test.inc (nexttoward_test_data): Add more tests.
330
331 * nss/rewrite_field.c (__nss_rewrite_field): Use
332 internal_function.
333 * nss/valid_field.c (__nss_valid_field): Likewise.
334 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
335
336 2015-10-02 Florian Weimer <fweimer@redhat.com>
337
338 [BZ #18724]
339 * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
340 (__nss_invalid_field_characters, __nss_valid_field)
341 (__nss_valid_list_field, __nss_rewrite_field): Declare.
342 * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
343 tst-field.c: New file.
344 * nss/Makefile (routines): Add valid_field, rewrite_field.
345 (tests-static): Define unconditionally.
346 (tests): Include tests-static.
347 [build-static-nss] (tests-static): Use append.
348 [build-static-nss] (tests): Remove modification.
349 * nss/getent.c (print_group): Call putgrent. Report error.
350 (print_gshadow): Call putsgent. Report error.
351 (print_passwd): Call putpwent. Report error.
352 (print_shadow): Call putspent. Report error.
353 * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
354 * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
355 * pwd/putpwent.c (putpwent): Use ISO function definition. Check
356 name, password, directory, shell fields for valid syntax. Rewrite
357 GECOS field to match syntax.
358 * pwd/Makefile (tests): Add tst-putpwent.
359 * pwd/tst-putpwent.c: New file.
360 * grp/putgrent.c (putgrent): Convert to ISO function definition.
361 Check grName, grpasswd, gr_mem fields for valid syntax.
362 Change loop variable i to size_t.
363 * grp/Makefile (tests): Add tst-putgrent.
364 * grp/tst-putgrent.c: New file.
365 * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
366 valid syntax.
367 * shadow/Makefile (tests): Add tst-putspent.
368 * shadow/tst-putspent.c: New file.
369 * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
370 sg_mem fields for valid syntax.
371 * gshadow/Makefile (tests): Add tst-putsgent.
372 * gshadow/tst-putsgent.c: New file.
373
374 2015-10-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
375
376 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
377 assembly instructions.
378
379 2015-10-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
380
381 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
382 prefix from operands.
383
384 2015-10-01 Joseph Myers <joseph@codesourcery.com>
385
386 [BZ #16347]
387 [BZ #19046]
388 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
389 <libc-internal.h>.
390 (MAXLGM): Do not use diagnostic control macros.
391 [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
392 threshold for ldbl-128ibm.
393 (__ieee754_lgammal_r): For large arguments, multiply by log - 1
394 instead of multiplying by log then subtracting.
395 * math/auto-libm-test-in: Add more tests of lgamma.
396 * math/auto-libm-test-out: Regenerated.
397
398 * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
399 (TYPE_HEX_DIG): Likewise.
400 (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
401 precisions when printing floating-point numbers.
402 (check_float_internal): Likewise.
403
404 2015-09-30 Joseph Myers <joseph@codesourcery.com>
405
406 [BZ #16620]
407 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
408 of log (10) rounded downward to 48 bits.
409 (log10_low): Use corresponding low part of log (10).
410
411 [BZ #19032]
412 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
413 compute result as (x - x) / (x - x) not as 0 / 0.
414 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
415 * math/libm-test.inc (acosh_test_data): Add another test of acosh.
416
417 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
418 atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
419 and expm1.
420 * math/auto-libm-test-out: Regenerated.
421 * math/libm-test.inc (acos_test_data): Add more tests.
422 (asin_test_data): Likewise.
423 (asinh_test_data): Likewise.
424 (atan_test_data): Likewise.
425 (atanh_test_data): Likewise.
426 (atan2_test_data): Likewise.
427 (cbrt_test_data): Likewise.
428 (ceil_test_data): Likewise.
429 (copysign_test_data): Likewise.
430 (cos_test_data): Likewise.
431 (cosh_test_data): Likewise.
432 (erf_test_data): Likewise.
433 (erfc_test_data): Likewise.
434 (exp_test_data): Likewise.
435 (exp10_test_data): Likewise.
436 (exp2_test_data): Likewise.
437 (expm1_test_data): Likewise.
438 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
439
440 2015-09-30 H.J. Lu <hongjiu.lu@intel.com>
441
442 [BZ #19006]
443 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
444 to ...
445 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
446 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
447 to ...
448 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
449 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
450 to ...
451 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
452 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
453 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
454 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
455 to ...
456 * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
457 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
458 Moved to ...
459 * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
460 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
461 Moved to ...
462 * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
463 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
464 to ...
465 * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
466 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
467 Moved to ...
468 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
469 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
470 to ...
471 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
472 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
473 Removed.
474 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
475 Likewise.
476 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
477 Likewise.
478 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
479 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
480 Likewise.
481 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
482 Likewise.
483 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
484 Likewise.
485 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
486 Likewise.
487 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
488 Likewise.
489 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
490 Likewise.
491 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
492 Likewise.
493 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
494 Likewise.
495 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
496 Likewise.
497 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
498 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
499 Likewise.
500 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
501 Likewise.
502 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
503 Likewise.
504 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
505 Likewise.
506 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
507 Likewise.
508 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
509 Replace ../i486/pthread_cond_timedwait.S with
510 ../pthread_cond_timedwait.S.
511
512 2015-09-30 Joseph Myers <joseph@codesourcery.com>
513
514 * math/libm-test.inc (acos_test_data): Refine expectations for
515 errno and "inexact" exceptions.
516 (acosh_test_data): Likewise.
517 (asin_test_data): Likewise.
518 (asinh_test_data): Likewise.
519 (atan_test_data): Likewise.
520 (atanh_test_data): Likewise.
521 (atan2_test_data): Likewise.
522 (cbrt_test_data): Likewise.
523 (ceil_test_data): Likewise.
524 (copysign_test_data): Likewise.
525 (cosh_test_data): Likewise.
526 (erf_test_data): Likewise.
527 (erfc_test_data): Likewise.
528 (exp_test_data): Likewise.
529 (exp10_test_data): Likewise.
530 (exp2_test_data): Likewise.
531 (expm1_test_data): Likewise.
532 (fabs_test_data): Likewise.
533 (floor_test_data): Likewise.
534 (fma_test_data): Likewise.
535 (fmax_test_data): Likewise.
536 (fmin_test_data): Likewise.
537 (fmod_test_data): Likewise.
538 (fpclassify_test_data): Likewise.
539 (frexp_test_data): Likewise.
540 (hypot_test_data): Likewise.
541 (ilogb_test_data): Likewise.
542 (isgreater_test_data): Likewise.
543 (isgreaterequal_test_data): Likewise.
544 (isinf_test_data): Likewise.
545 (isless_test_data): Likewise.
546 (islessequal_test_data): Likewise.
547 (islessgreater_test_data): Likewise.
548 (isnan_test_data): Likewise.
549 (isnormal_test_data): Likewise.
550 (issignaling_test_data): Likewise.
551 (isunordered_test_data): Likewise.
552 (j0_test_data): Likewise.
553 (j1_test_data): Likewise.
554 (jn_test_data): Likewise.
555 (lgamma_test_data): Likewise.
556 (lrint_test_data): Likewise.
557 (llrint_test_data): Likewise.
558 (log_test_data): Likewise.
559 (log10_test_data): Likewise.
560 (log1p_test_data): Likewise.
561 (log2_test_data): Likewise.
562 (logb_test_data): Likewise.
563 (lround_test_data): Likewise.
564 (llround_test_data): Likewise.
565 (modf_test_data): Likewise.
566 (nearbyint_test_data): Likewise.
567 (nextafter_test_data): Likewise.
568 (nexttoward_test_data): Likewise.
569 (pow_test_data): Likewise.
570 (remainder_test_data): Likewise.
571 (remquo_test_data): Likewise.
572 (rint_test_data): Likewise.
573 (round_test_data): Likewise.
574 (signbit_test_data): Likewise.
575 (sinh_test_data): Likewise.
576 (sqrt_test_data): Likewise.
577 (tanh_test_data): Likewise.
578 (tgamma_test_data): Likewise.
579 (trunc_test_data): Likewise.
580 (y0_test_data): Likewise.
581 (y1_test_data): Likewise.
582 (yn_test_data): Likewise.
583 (significand_test_data): Likewise.
584
585 2015-09-29 Carlos O'Donell <carlos@redhat.com>
586
587 * manual/filesys.texi (Storage Allocation): Document that
588 posix_fallocate emulation fails when fd is open with O_WRONLY.
589
590 2015-09-28 Joseph Myers <joseph@codesourcery.com>
591
592 [BZ #19016]
593 * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
594 allow more cases with X^2 + Y^2 >= 0.5.
595 * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise. Add -1 as
596 normal element in sum instead of special-casing based on values of
597 arguments.
598 * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
599 * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise. Add
600 -1 as normal element in sum instead of special-casing based on
601 values of arguments.
602 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
603 * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
604 (__x2y2m1): Update comment.
605 * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise. Add -1
606 as normal element in sum instead of special-casing based on values
607 of arguments.
608 * math/s_clog.c (__clog): Handle more cases using log1p without
609 hypot.
610 * math/s_clog10.c (__clog10): Likewise.
611 * math/s_clog10f.c (__clog10f): Likewise.
612 * math/s_clog10l.c (__clog10l): Likewise.
613 * math/s_clogf.c (__clogf): Likewise.
614 * math/s_clogl.c (__clogl): Likewise.
615 * math/auto-libm-test-in: Add more tests of clog and clog10.
616 * math/auto-libm-test-out: Regenerated.
617 * sysdeps/i386/fpu/libm-test-ulps: Update.
618 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
619
620 2015-09-28 Martin Sebor <msebor@redhat.com>
621
622 [BZ #18969]
623 * string/Makefile (LOCALES): Define.
624 (gen-locales.mk): Include.
625 (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
626 (tst-strxfrm2.out): Add deppendency on $(gen-locales).
627 * string/tst-strxfrm2.c (do_test): Print the name of the locale
628 on setlocale failure.
629
630 2015-09-26 Paul Pluzhnikov <ppluzhnikov@google.com>
631
632 [BZ #18985]
633 * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
634 (__strftime_internal): Likewise.
635 * time/tst-strftime.c (do_bz18985): New test.
636 (do_test): Call it.
637
638 2015-09-26 Joseph Myers <joseph@codesourcery.com>
639
640 [BZ #18956]
641 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
642 not 0x0040000 for high bit of mantissa. Mask with 0xfffff000 when
643 extracting high part.
644 * math/auto-libm-test-in: Add another test of pow.
645 * math/auto-libm-test-out: Regenerated.
646 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
647
648 2015-09-25 Joseph Myers <joseph@codesourcery.com>
649
650 [BZ #18825]
651 * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
652 New macro.
653 (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
654 (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
655 * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
656 (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
657 DBL_NARROW_EVAL, reloading the PIC register as needed.
658 * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
659 (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
660 FLT_NARROW_EVAL. Use separate return path for case when first
661 argument is NaN.
662 * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>. Use
663 DEFINE_LDBL_MIN.
664 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
665 PIC register.
666 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
667 math_check_force_underflow_nonneg.
668 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
669 underflow for subnormal result.
670 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
671 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
672 math_check_force_underflow_nonneg.
673 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
674 math_check_force_underflow.
675 * sysdeps/x86_64/fpu/x86_64-math-asm.h
676 (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
677 * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>. Use
678 DEFINE_LDBL_MIN.
679 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
680 * math/auto-libm-test-in: Add more tests of pow.
681 * math/auto-libm-test-out: Regenerated.
682
683 2015-09-25 Florian Weimer <fweimer@redhat.com>
684
685 * nss/bug17079.c (init_test_items): Add diagnostic for
686 inconsistent entries.
687 (test_buffer_size): Skip inconsistent entries.
688
689 2015-09-25 Joseph Myers <joseph@codesourcery.com>
690
691 [BZ #13304]
692 * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
693 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
694 * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
695
696 [BZ #13304]
697 * sysdeps/microblaze/s_fma.c: New file.
698 * sysdeps/microblaze/s_fmaf.c: Likewise.
699 * sysdeps/microblaze/sfp-machine.h: Likewise.
700
701 2015-09-25 Maciej W. Rozycki <macro@imgtec.com>
702
703 [BZ #17250]
704 * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
705 member.
706
707 2015-09-24 Joseph Myers <joseph@codesourcery.com>
708
709 [BZ #18803]
710 * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
711 (MO): New macro.
712 (__ieee754_hypot) [PIC]: Load PIC register.
713 (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
714 DBL_NARROW_EVAL.
715 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
716 math_check_force_underflow_nonneg in case where result might be
717 tiny.
718 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
719 Likewise.
720 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
721 Likewise.
722 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
723 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
724 * math/auto-libm-test-in: Add more tests of hypot.
725 * math/auto-libm-test-out: Regenerated.
726
727 2015-09-24 Steve Ellcey <sellcey@imgtec.com>
728
729 * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
730
731 2015-09-24 Joseph Myers <joseph@codesourcery.com>
732
733 * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
734 * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
735 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
736 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
737 * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
738 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
739 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
740
741 * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
742 LOAD_PIC_REG.
743
744 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
745 (FLT_CHECK_FORCE_UFLOW): Likewise.
746 (DBL_CHECK_FORCE_UFLOW): Likewise.
747 (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
748 (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
749 (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
750 (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
751 (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
752 (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
753 (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
754 (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
755 * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
756 (dbl_min): Replace with use of DEFINE_DBL_MIN.
757 (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
758 * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
759 (flt_min): Replace with use of DEFINE_FLT_MIN.
760 (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
761 * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
762 (dbl_min): Replace with use of DEFINE_DBL_MIN.
763 (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
764 * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
765 (flt_min): Replace with use of DEFINE_FLT_MIN.
766 (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
767 * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
768 (dbl_min): Replace with use of DEFINE_DBL_MIN.
769 (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
770 * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
771 (flt_min): Replace with use of DEFINE_FLT_MIN.
772 (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
773 * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
774 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
775 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
776 * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
777 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
778 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
779 * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
780 (dbl_min): Replace with use of DEFINE_DBL_MIN.
781 (__atan): Use DBL_CHECK_FORCE_UFLOW.
782 * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
783 (flt_min): Replace with use of DEFINE_FLT_MIN.
784 (__atanf): Use FLT_CHECK_FORCE_UFLOW.
785 * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
786 (dbl_min): Replace with use of DEFINE_DBL_MIN.
787 (__expm1): Use DBL_CHECK_FORCE_UFLOW. Move underflow check after
788 main computation.
789 * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
790 (flt_min): Replace with use of DEFINE_FLT_MIN.
791 (__expm1f): Use FLT_CHECK_FORCE_UFLOW. Move underflow check after
792 main computation.
793 * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
794 (dbl_min): Replace with use of DEFINE_DBL_MIN.
795 (MO): New macro.
796 (__log1p): Use MO. Use DBL_CHECK_FORCE_UFLOW_NONNAN.
797 * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
798 (flt_min): Replace with use of DEFINE_FLT_MIN.
799 (MO): New macro.
800 (__log1pf): Use MO. Use FLT_CHECK_FORCE_UFLOW_NONNAN.
801 * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
802 (__log1pl): Use MO.
803
804 [BZ #19003]
805 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
806 $(config-cflags-nofma).
807
808 2015-09-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
809
810 * sysdeps/aarch64/libm-test-ulps: Regenerated.
811
812 2015-09-23 Joseph Myers <joseph@codesourcery.com>
813
814 * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
815 (TWO127): Likewise.
816
817 * sysdeps/generic/math_private.h (fabs_tg): New macro.
818 (min_of_type): Likewise.
819 (math_check_force_underflow): Likewise.
820 (math_check_force_underflow_nonneg): Likewise.
821 (math_check_force_underflow_complex): Likewise.
822 * math/e_exp2l.c (__ieee754_exp2l): Use
823 math_check_force_underflow_nonneg.
824 * math/k_casinh.c (__kernel_casinh): Likewise.
825 * math/k_casinhf.c (__kernel_casinhf): Likewise.
826 * math/k_casinhl.c (__kernel_casinhl): Likewise.
827 * math/s_catan.c (__catan): Use
828 math_check_force_underflow_complex.
829 * math/s_catanf.c (__catanf): Likewise.
830 * math/s_catanh.c (__catanh): Likewise.
831 * math/s_catanhf.c (__catanhf): Likewise.
832 * math/s_catanhl.c (__catanhl): Likewise.
833 * math/s_catanl.c (__catanl): Likewise.
834 * math/s_ccosh.c (__ccosh): Likewise.
835 * math/s_ccoshf.c (__ccoshf): Likewise.
836 * math/s_ccoshl.c (__ccoshl): Likewise.
837 * math/s_cexp.c (__cexp): Likewise.
838 * math/s_cexpf.c (__cexpf): Likewise.
839 * math/s_cexpl.c (__cexpl): Likewise.
840 * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
841 * math/s_clog10.c (__clog10): Likewise.
842 * math/s_clog10f.c (__clog10f): Likewise.
843 * math/s_clog10l.c (__clog10l): Likewise.
844 * math/s_clogf.c (__clogf): Likewise.
845 * math/s_clogl.c (__clogl): Likewise.
846 * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
847 * math/s_csinf.c (__csinf): Likewise.
848 * math/s_csinh.c (__csinh): Likewise.
849 * math/s_csinhf.c (__csinhf): Likewise.
850 * math/s_csinhl.c (__csinhl): Likewise.
851 * math/s_csinl.c (__csinl): Likewise.
852 * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
853 * math/s_csqrtf.c (__csqrtf): Likewise.
854 * math/s_csqrtl.c (__csqrtl): Likewise.
855 * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
856 * math/s_ctanf.c (__ctanf): Likewise.
857 * math/s_ctanh.c (__ctanh): Likewise.
858 * math/s_ctanhf.c (__ctanhf): Likewise.
859 * math/s_ctanhl.c (__ctanhl): Likewise.
860 * math/s_ctanl.c (__ctanl): Likewise.
861 * stdlib/strtod_l.c (round_and_return): Use math_force_eval
862 instead of volatile.
863 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
864 math_check_force_underflow.
865 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
866 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
867 volatile when forcing underflow.
868 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
869 math_check_force_underflow_nonneg.
870 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
871 Likewise.
872 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
873 math_check_force_underflow.
874 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
875 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
876 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
877 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
878 math_check_force_underflow_nonneg.
879 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
880 math_check_force_underflow.
881 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
882 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
883 instead of volatile.
884 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
885 math_check_force_underflow.
886 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
887 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
888 math_check_force_underflow_nonneg.
889 * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
890 math_check_force_underflow.
891 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
892 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
893 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
894 math_check_force_underflow_nonneg.
895 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
896 Likewise.
897 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
898 math_check_force_underflow.
899 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
900 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
901 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
902 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
903 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
904 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
905 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
906 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
907 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
908 * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
909 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
910 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
911 Likewise.
912 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
913 math_check_force_underflow_nonneg.
914 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
915 Likewise.
916 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
917 math_check_force_underflow.
918 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
919 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
920 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
921 Likewise.
922 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
923 * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
924 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
925 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
926 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
927 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
928 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
929 instead of volatile.
930 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
931 math_check_force_underflow.
932 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
933 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
934 math_check_force_underflow.
935 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
936 Likewise.
937 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
938 Use math_check_force_underflow_nonneg.
939 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
940 math_check_force_underflow.
941 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
942 Likewise.
943 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
944 Likewise.
945 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
946 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
947 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
948 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
949 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
950 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
951 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
952 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
953 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
954 math_check_force_underflow_nonneg.
955 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
956 math_check_force_underflow.
957 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
958 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
959 * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
960 * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
961 math_check_force_underflow_nonneg.
962 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
963 math_check_force_underflow.
964 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
965 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
966 instead of volatile.
967 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
968 math_check_force_underflow.
969
970 * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
971 * stdlib/strtod_l.c: Include <math_private.h>.
972 (overflow_value): Use math_narrow_eval.
973 (underflow_value): Likewise.
974 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
975 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
976 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
977 (__ieee754_gamma_r): Likewise.
978 * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
979 Likewise.
980 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
981 Likewise.
982 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
983 * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
984 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
985 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
986 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
987 (__ieee754_gammaf_r): Likewise.
988 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
989 Likewise.
990 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
991 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
992 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
993 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
994 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
995 volatile.
996 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
997 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
998 math_narrow_eval.
999 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
1000 Likewise.
1001 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
1002 Likewise.
1003 * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
1004 Likewise.
1005 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
1006 volatile.
1007 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
1008 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
1009 math_narrow_eval.
1010 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
1011 Likewise.
1012 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
1013 Likewise.
1014
1015 2015-09-22 H.J. Lu <hongjiu.lu@intel.com>
1016
1017 * nptl/Versions: Remove ignored symbols.
1018
1019 2015-09-22 Florian Weimer <fweimer@redhat.com>
1020
1021 * nss/bug17079.c: Renamed from nss/bug18287.c. Add description.
1022 * nss/Makefile (tests): Update.
1023
1024 2015-09-22 Florian Weimer <fweimer@redhat.com>
1025
1026 * nss/bug18287.c: New file.
1027 * nss/Makefile (tests): Add bug18287.
1028
1029 2015-09-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
1030
1031 * mach/Versions (__mach_host_self_): Add symbol.
1032
1033 2015-09-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
1034
1035 * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
1036 vm_page_size.
1037
1038 2015-09-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
1039
1040 Really fix sysdeps/i386/fpu/s_scalbn.S build
1041
1042 * math/Versions (libc: GLIBC_2_20): New (empty) version set.
1043 (libc: GLIBC_2_22): Remove unused version set.
1044
1045 2015-09-18 Mike Frysinger <vapier@gentoo.org>
1046
1047 * config.make.in (enable-timezone-tools): New variable.
1048 * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
1049 (enable_timezone_tools): Export to generated files.
1050 * configure: Regenerate.
1051 * INSTALL: Regenerate.
1052 * manual/install.texi (--disable-timezone-tools): Document new flag.
1053 * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
1054 ifeq ($(enable-timezone-tools),yes) check.
1055
1056 2015-09-18 Joseph Myers <joseph@codesourcery.com>
1057
1058 * timezone/Makefile: Revert previous change.
1059
1060 [BZ #18980]
1061 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
1062 (DEFINE_DBL_MIN): Likewise.
1063 (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
1064 (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
1065 (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
1066 (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
1067 * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
1068 (dbl_min): Replace with use of DEFINE_DBL_MIN.
1069 (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
1070 (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
1071 * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
1072 (dbl_min): Replace with use of DEFINE_DBL_MIN.
1073 (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
1074 * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
1075 (flt_min): Replace with use of DEFINE_FLT_MIN.
1076 (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
1077 * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
1078 (dbl_min): Replace with use of DEFINE_DBL_MIN.
1079 (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
1080 * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
1081 (flt_min): Replace with use of DEFINE_FLT_MIN.
1082 (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
1083 * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
1084 (flt_min): Replace with use of DEFINE_FLT_MIN.
1085 (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
1086 (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
1087 * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
1088 (__ieee754_hypot): Use DBL_NARROW_EVAL.
1089 * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
1090 (__ieee754_hypotf): Use FLT_NARROW_EVAL.
1091 * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
1092 (__ieee754_pow): Use DBL_NARROW_EVAL.
1093 * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
1094 (__ieee754_powf): Use FLT_NARROW_EVAL.
1095 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
1096 (__ieee754_expf_sse2): Convert double-precision result to single
1097 precision.
1098 * sysdeps/i386/fpu/libm-test-ulps: Update.
1099
1100 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
1101
1102 * timezone/Makefile: Ignore unused variable errors due to private.h
1103 (time_t_min) and (time_t_max).
1104 * timezone/private.h (time_t_min): Revert removal. (time_t_max):
1105 Likewise.
1106
1107 2015-09-18 Joseph Myers <joseph@codesourcery.com>
1108
1109 [BZ #18981]
1110 * sysdeps/i386/fpu/i386-math-asm.h: New file.
1111 * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
1112 (__ieee754_scalb): Use DBL_NARROW_EVAL.
1113 * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
1114 (__ieee754_scalbf): Use FLT_NARROW_EVAL.
1115 * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
1116 (__scalbn): Use DBL_NARROW_EVAL.
1117 * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
1118 (__scalbnf): Use FLT_NARROW_EVAL.
1119
1120 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
1121
1122 * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
1123 * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
1124 * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
1125 * stdio-common/printf_fp.c (___printf_fp):
1126 Use signbit to get the sign. Use isinf macro to allow inlining.
1127 * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
1128 * stdio-common/printf_size.c (__printf_size): Likewise.
1129
1130 2015-09-18 Mike Frysinger <vapier@gentoo.org>
1131
1132 * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
1133
1134 2015-09-18 Joseph Myers <joseph@codesourcery.com>
1135
1136 [BZ #18980]
1137 * sysdeps/generic/math_private.h: Include <float.h>.
1138 (math_narrow_eval): New macro.
1139 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
1140 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
1141 math_narrow_eval on overflowing return value.
1142 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
1143 Likewise.
1144 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
1145 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
1146 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
1147 Likewise.
1148 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
1149
1150 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
1151
1152 * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
1153 * math/Makefile: Remove isinf_ns.c.
1154 * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
1155 * math/multc3.c (__multc3): Likewise.
1156 * math/s_casin.c (__casin): Likewise.
1157 * math/s_casinf.c (__casinf): Likewise.
1158 * math/s_casinl.c (__casinl): Likewise.
1159 * math/s_cproj.c (__cproj): Likewise.
1160 * math/s_cprojf.c (__cprojf): Likewise.
1161 * math/s_cprojl.c (__cprofl): Likewise.
1162 * math/s_ctan.c (__ctan): Likewise.
1163 * math/s_ctanf.c (__ctanf): Likewise.
1164 * math/s_ctanh.c (__ctanh): Likewise.
1165 * math/s_ctanhf.c (__ctanhf): Likewise.
1166 * math/s_ctanhl.c (__ctanhl): Likewise.
1167 * math/s_ctanl.c (__ctanl): Likewise.
1168 * math/w_fmod.c (__fmod): Likewise.
1169 * math/w_fmodf.c (__fmodf): Likewise.
1170 * math/w_fmodl.c (_fmodl): Likewise.
1171 * math/w_remainder.c (__remainder): Likewise.
1172 * math/w_remainderf.c (__remainderf): Likewise.
1173 * math/w_remainderl.c (__remainderl): Likewise.
1174 * math/w_scalb.c (__scalb): Likewise.
1175 * math/w_scalbf.c (__scalbf): Likewise.
1176 * math/w_scalbl.c (__scalbl): Likewise.
1177 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
1178 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
1179 with isinf.
1180 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
1181 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
1182 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
1183 __isinf_nsf with isinf.
1184 * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
1185 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
1186 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
1187 * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
1188 with isinf.
1189 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
1190 __isinf_nsl with isinf.
1191 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
1192 with isinf.
1193 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
1194 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
1195 __isinf_nsl with isinf.
1196 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
1197 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
1198 with isinf.
1199
1200 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
1201
1202 * resolv/base64.c (rcsid): Remove unused static.
1203 * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
1204 static. (tqpi1): Likewise.
1205 * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
1206 * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
1207 * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
1208 * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
1209 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
1210 * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
1211 * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
1212 * timezone/private.h (time_t_min): Likewise. (time_t_max):
1213 Likewise.
1214
1215 2015-09-18 H.J. Lu <hongjiu.lu@intel.com>
1216
1217 * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
1218 <nptl/pthreadP.h>.
1219 (_longjmp_unwind): Use __libc_ptf_call.
1220 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
1221
1222 2015-09-18 David Lamparter <equinox-gentoo@diac24.net>
1223
1224 * sysdeps/arm/setjmp.S: Change PIC to SHARED.
1225 * sysdeps/arm/__longjmp.S: Likewise
1226
1227 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
1228
1229 * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
1230 Use __builtin_signbit.
1231 * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
1232 Use __builtin_signbitf.
1233 * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
1234 Use __builtin_signbitl.
1235 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
1236 * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
1237
1238 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
1239
1240 [BZ #15367]
1241 [BZ #17441]
1242
1243 * math/Makefile: Build test-snan.c with -fsignaling-nans.
1244 * math/math.h (fpclassify): Use __builtin_fpclassify when
1245 available. (signbit): Use __builtin_signbit(f/l).
1246 (isfinite): Use__builtin_isfinite. (isnormal): Use
1247 __builtin_isnormal. (isnan): Use __builtin_isnan.
1248 (isinf): Use __builtin_isinf_sign.
1249
1250 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
1251
1252 * benchtests/Makefile: Add bench-math-inlines, link with libm.
1253 * benchtests/bench-math-inlines.c: New benchmark.
1254 * benchtests/bench-util.h: New file.
1255 * benchtests/bench-util.c: New file.
1256 * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
1257
1258 2015-09-18 Carlos O'Donell <carlos@redhat.com>
1259
1260 * elf/tst-dlmopen1.c: Define TEST_SO.
1261 (do_test): Use TEST_SO.
1262
1263 * elf/dl-load.c: Include libc-internal.h.
1264 (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
1265
1266 2015-09-18 Vincent Bernat <vincent@bernat.im>
1267
1268 [BZ #17887]
1269 * time/strptime_l.c (__strptime_internal): Make %z accept
1270 [+-]HH:MM time zones.
1271
1272 2015-09-18 Vincent Bernat <vincent@bernat.im>
1273
1274 [BZ #17886]
1275 * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
1276 valid time zone.
1277
1278 2015-09-17 Mike Frysinger <vapier@gentoo.org>
1279
1280 * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
1281 * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
1282 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1283 (__ASSUME_FDATASYNC): Delete.
1284
1285 2015-09-17 Joseph Myers <joseph@codesourcery.com>
1286
1287 * conform/linknamespace.pl: Require weak undefined symbols to be
1288 in the standard namespace.
1289 (%strong_syms): Rename to %seen_syms.
1290 (%strong_seen): Rename to %seen_where.
1291
1292 2015-09-17 H.J. Lu <hongjiu.lu@intel.com>
1293
1294 [BZ #18970]
1295 * misc/error.c (error): Replace pthread_setcancelstate with
1296 __pthread_setcancelstate.
1297 (error_at_line): Likewise.
1298 * posix/wordexp.c (parse_comm): Likewise.
1299 * stdlib/fmtmsg.c (fmtmsg): Likewise.
1300 * nptl/forward.c (pthread_setcancelstate): Renamed to ...
1301 (__pthread_setcancelstate): This.
1302 (pthread_setcancelstate): Add an alias.
1303 * nptl/nptl-init.c (pthread_functions): Replace
1304 ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
1305 * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
1306 * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
1307 hidden_proto.
1308 * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
1309 it with hidden_def.
1310 * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
1311 (pthread_setcancelstate): Renamed to ...
1312 (__pthread_setcancelstate): This.
1313 * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
1314 __libc_ptf_call with __pthread_setcancelstate.
1315
1316 2015-09-17 Joseph Myers <joseph@codesourcery.com>
1317 Andreas Schwab <schwab@suse.de>
1318
1319 [BZ #17118]
1320 * math/s_ctan.c (__ctan): Determine sign of zero real part of
1321 result when imaginary part of argument is infinite using sine and
1322 cosine.
1323 * math/s_ctanf.c (__ctanf): Likewise.
1324 * math/s_ctanl.c (__ctanl): Likewise.
1325 * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
1326 of result when real part of argument is infinite using sine and
1327 cosine.
1328 * math/s_ctanhf.c (__ctanhf): Likewise.
1329 * math/s_ctanhl.c (__ctanhl): Likewise.
1330 * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
1331 (ctanh_test_data): Add more tests of ctanh.
1332
1333 2015-09-17 Joseph Myers <joseph@codesourcery.com>
1334
1335 [BZ #15384]
1336 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
1337 bit-mask as in subtraction.
1338 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
1339 Likewise.
1340 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
1341 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
1342 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
1343
1344 [BZ #18951]
1345 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
1346 underflow exception for small results.
1347 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
1348 Likewise.
1349 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
1350 Likewise.
1351 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
1352 Likewise.
1353 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
1354 Likewise.
1355 * math/auto-libm-test-in: Add more tests of tgamma.
1356 * math/auto-libm-test-out: Regenerated.
1357
1358 2015-09-17 Andreas Schwab <schwab@suse.de>
1359
1360 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
1361
1362 2015-09-16 Joseph Myers <joseph@codesourcery.com>
1363
1364 [BZ #18977]
1365 * math/bits/mathcalls.h
1366 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
1367 not declare.
1368 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
1369 Likewise.
1370 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
1371 Likewise.
1372 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
1373 Likewise.
1374 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
1375 Likewise.
1376 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
1377 Likewise.
1378 * conform/data/math.h-data
1379 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
1380 function.
1381 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
1382 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
1383 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
1384 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
1385 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
1386 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
1387 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
1388 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
1389 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
1390 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
1391 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
1392
1393 [BZ #6803]
1394 * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
1395 [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
1396 * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
1397 * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
1398 * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
1399 * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
1400 * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
1401 * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
1402 [NO_LONG_DOUBLE] (scalbnl): Likewise.
1403 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
1404 Likewise.
1405 [NO_LONG_DOUBLE] (scalbnl): Likewise.
1406 * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
1407 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
1408 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
1409 long_double_symbol calls.
1410 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
1411 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
1412 strong alias of __ldexpl.
1413 (scalbnl): Define using long_double_symbol.
1414 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
1415 Remove alias.
1416 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
1417 * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
1418 * math/libm-test.inc (scalbn_test_data): Add errno expectations.
1419 (scalbln_test_data): Add more errno expectations.
1420
1421 2015-09-16 Justus Winter <4winter@informatik.uni-hamburg.de>
1422
1423 Cache the host port like we cache the task port. This way we do not
1424 need to call the kernel just to get the port. Furthermore, we no
1425 longer increase the reference count on every invocation of
1426 `mach_host_self'.
1427
1428 * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
1429 Protect declarations against the macro expansion.
1430 * mach/mach_init.c (__mach_host_self_): New variable.
1431 (mach_init): Initialize `__mach_host_self_'.
1432 * mach/mach_init.h (__mach_host_self_): New declaration.
1433 (__mach_host_self, mach_host_self): New macros.
1434 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
1435 Release reference.
1436
1437 2015-09-16 Joseph Myers <joseph@codesourcery.com>
1438
1439 [BZ #4404]
1440 * po/de.po: Update from Translation Project.
1441
1442 [BZ #16415]
1443 * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
1444 (__expm1l): Remove code to handle positive infinity and overflow.
1445 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
1446 variable.
1447 (__expm1l): Remove code to handle positive infinity and overflow.
1448
1449 2015-09-16 Paul Eggert <eggert@cs.ucla.edu>
1450 Paul Pluzhnikov <ppluzhnikov@google.com>
1451
1452 [BZ #18872]
1453 * stdio-common/Makefile (tst-printf-bz18872): New test.
1454 (tst-printf-bz18872-mem.out): Likewise.
1455 * stdio-common/tst-printf-bz18872.sh: Generate new test.
1456 * stdio-common/vfprintf.c: Fix memory leaks.
1457
1458 2015-09-16 Andreas Schwab <schwab@suse.de>
1459
1460 [BZ #17244]
1461 * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
1462 Remove extra va_start/va_end calls.
1463
1464 [BZ #17243]
1465 * posix/execl.c (execl): Add missing va_end.
1466 * posix/execle.c (execle): Likewise.
1467 * posix/execlp.c (execlp): Likewise.
1468
1469 2015-09-15 Roland McGrath <roland@hack.frob.com>
1470
1471 * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
1472 (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
1473
1474 2015-09-15 Joseph Myers <joseph@codesourcery.com>
1475
1476 [BZ #18967]
1477 * math/math.h (__MATH_DECLARING_DOUBLE): New macro. Define and
1478 undefine around includes of <bits/mathcalls.h>.
1479 * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
1480 not declare function.
1481 [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
1482 [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
1483 (scalb): Likewise.
1484 * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
1485 not define macro.
1486 * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
1487 variable.
1488 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
1489 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
1490 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
1491
1492 [BZ #18857]
1493 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
1494 return non-finite argument without doing ordered comparisons on
1495 it.
1496
1497 [BZ #16296]
1498 * math/fenv.h (fegetround): Use __attribute_pure__.
1499 * include/fenv.h (__fegetround): Likewise.
1500
1501 [BZ #18595]
1502 * math/s_ctan.c (__ctan): Force underflow exception for results
1503 whose real or imaginary part has small absolute value.
1504 * math/s_ctanf.c (__ctanf): Likewise.
1505 * math/s_ctanh.c (__ctanh): Likewise.
1506 * math/s_ctanhf.c (__ctanhf): Likewise.
1507 * math/s_ctanhl.c (__ctanhl): Likewise.
1508 * math/s_ctanl.c (__ctanl): Likewise.
1509 * math/auto-libm-test-in: Do not allow missing underflow for ctan
1510 and ctanh. Add more tests of ctan and ctanh.
1511
1512 [BZ #15918]
1513 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
1514 handling of cases where one argument is an infinity.
1515
1516 [BZ #18875]
1517 [BZ #18966]
1518 * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
1519 (MO): New macro.
1520 (__ieee754_exp10): For small results, force underflow exception
1521 and remove excess range and precision from return value.
1522 * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
1523 (MO): New macro.
1524 (__ieee754_exp10f): For small results, force underflow exception
1525 and remove excess range and precision from return value.
1526 * math/auto-libm-test-in: Add more tests of exp10.
1527 * math/auto-libm-test-out: Regenerated.
1528
1529 2015-09-14 Joseph Myers <joseph@codesourcery.com>
1530
1531 [BZ #18875]
1532 [BZ #18961]
1533 * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
1534 (MO): New macro.
1535 (__ieee754_exp): For small results, force underflow exception and
1536 remove excess range and precision from return value.
1537 (__exp_finite): Likewise.
1538 * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
1539 (MO): New macro.
1540 (__ieee754_expf): For small results, force underflow exception and
1541 remove excess range and precision from return value.
1542 (__expf_finite): Likewise.
1543 * math/auto-libm-test-in: Add more tests of exp.
1544 * math/auto-libm-test-out: Regenerated.
1545
1546 [BZ #16521]
1547 [BZ #18875]
1548 * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
1549 small results.
1550 * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
1551 (MO): New macro.
1552 (__ieee754_exp2): For small results, force underflow exception and
1553 remove excess range and precision from return value.
1554 * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
1555 (MO): New macro.
1556 (__ieee754_exp2f): For small results, force underflow exception
1557 and remove excess range and precision from return value.
1558 * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
1559 (MO): New macro.
1560 (__ieee754_exp2l): Force underflow exception for small results.
1561 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
1562 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
1563 * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
1564 (MO): New macro.
1565 (__ieee754_exp2l): Force underflow exception for small results.
1566 * math/auto-libm-test-in: Add more tests or exp2.
1567 * math/auto-libm-test-out: Regenerated.
1568
1569 2015-09-14 Carlos O'Donell <carlos@redhat.com>
1570
1571 * malloc/malloc.c (systrim): Use ALIGN_DOWN.
1572
1573 * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
1574 /dev/null.
1575
1576 2015-09-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
1577
1578 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
1579 io fs process)): Drop spurious backslash.
1580
1581 2015-09-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1582
1583 * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
1584 Use sysinfo system call instead of parsing /proc/meminfo.
1585 * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
1586 Likewise.
1587
1588 2015-09-11 Mike Frysinger <vapier@gentoo.org>
1589
1590 [BZ #16985]
1591 * programs/localedef.c (main): Display argv[remaining] when
1592 output_path is NULL.
1593
1594 2015-09-11 Joseph Myers <joseph@codesourcery.com>
1595
1596 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
1597 asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
1598 exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
1599 tanh.
1600 * math/auto-libm-test-out: Regenerated.
1601 * sysdeps/i386/fpu/libm-test-ulps: Update.
1602 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
1603 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1604 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1605
1606 2015-09-11 Roland McGrath <roland@hack.frob.com>
1607
1608 * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
1609 Use 'override' keyword to freeze the value here, preventing
1610 the addition of sys/mtio.h by sysdeps/gnu/Makefile.
1611
1612 2015-09-11 Joseph Myers <joseph@codesourcery.com>
1613
1614 [BZ #14912]
1615 * sysdeps/aarch64/bits/atomic.h: Move to ...
1616 * sysdeps/aarch64/atomic-machine.h: ...here.
1617 (_AARCH64_BITS_ATOMIC_H): Rename macro to
1618 _AARCH64_ATOMIC_MACHINE_H.
1619 * sysdeps/alpha/bits/atomic.h: Move to ...
1620 * sysdeps/alpha/atomic-machine.h: ...here.
1621 * sysdeps/arm/bits/atomic.h: Move to ...
1622 * sysdeps/arm/atomic-machine.h: ...here. Update comments.
1623 * bits/atomic.h: Move to ...
1624 * sysdeps/generic/atomic-machine.h: ...here.
1625 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
1626 * sysdeps/i386/bits/atomic.h: Move to ...
1627 * sysdeps/i386/atomic-machine.h: ...here.
1628 * sysdeps/ia64/bits/atomic.h: Move to ...
1629 * sysdeps/ia64/atomic-machine.h: ...here.
1630 * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
1631 * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
1632 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
1633 * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
1634 * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
1635 * sysdeps/microblaze/bits/atomic.h: Move to ...
1636 * sysdeps/microblaze/atomic-machine.h: ...here.
1637 * sysdeps/mips/bits/atomic.h: Move to ...
1638 * sysdeps/mips/atomic-machine.h: ...here.
1639 (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
1640 * sysdeps/powerpc/bits/atomic.h: Move to ...
1641 * sysdeps/powerpc/atomic-machine.h: ...here. Update comments.
1642 * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
1643 * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here. Update
1644 comments. Include <atomic-machine.h> instead of <bits/atomic.h>.
1645 * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
1646 * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here. Include
1647 <atomic-machine.h> instead of <bits/atomic.h>.
1648 * sysdeps/s390/bits/atomic.h: Move to ...
1649 * sysdeps/s390/atomic-machine.h: ...here.
1650 * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
1651 * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
1652 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
1653 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
1654 * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
1655 * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
1656 * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
1657 * sysdeps/tile/bits/atomic.h: Move to ...
1658 * sysdeps/tile/atomic-machine.h: ...here.
1659 * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
1660 * sysdeps/tile/tilegx/atomic-machine.h: ...here. Include
1661 <sysdeps/tile/atomic-machine.h> instead of
1662 <sysdeps/tile/bits/atomic.h>.
1663 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
1664 * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
1665 * sysdeps/tile/tilepro/atomic-machine.h: ...here. Include
1666 <sysdeps/tile/atomic-machine.h> instead of
1667 <sysdeps/tile/bits/atomic.h>.
1668 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
1669 * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
1670 * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here. Include
1671 <sysdeps/arm/atomic-machine.h> instead of
1672 <sysdeps/arm/bits/atomic.h>.
1673 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
1674 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
1675 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
1676 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
1677 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
1678 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
1679 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
1680 * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
1681 (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
1682 * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
1683 * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
1684 * sysdeps/x86_64/bits/atomic.h: Move to ...
1685 * sysdeps/x86_64/atomic-machine.h: ...here.
1686 * include/atomic.h: Include <atomic-machine.h> instead of
1687 <bits/atomic.h>.
1688
1689 * sysdeps/mips/mips32/libm-test-ulps: Update.
1690 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1691
1692 [BZ #18952]
1693 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
1694 not convert non-integer negative arguments to int to determine the
1695 value of signgam.
1696 * math/auto-libm-test-in: Add more tests of lgamma.
1697 * math/auto-libm-test-out: Regenerated.
1698
1699 * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
1700 cosh, csqrt, erfc, expm1 and lgamma.
1701 * math/auto-libm-test-out: Regenerated.
1702 * sysdeps/i386/fpu/libm-test-ulps: Update.
1703 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1704
1705 2015-09-10 Joseph Myers <joseph@codesourcery.com>
1706
1707 [BZ #2542]
1708 [BZ #2543]
1709 [BZ #2558]
1710 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
1711 __lgamma_neg for arguments from -28.0 to -2.0.
1712 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
1713 __lgamma_negf for arguments from -15.0 to -2.0.
1714 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
1715 Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
1716 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
1717 Call __lgamma_negl for arguments from -33.0 to -2.0.
1718 * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
1719 * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
1720 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
1721 * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
1722 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
1723 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
1724 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
1725 * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
1726 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
1727 * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
1728 * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
1729 * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
1730 (__lgamma_neg): Likewise.
1731 (__lgamma_negl): Likewise.
1732 (__lgamma_product): Likewise.
1733 (__lgamma_productl): Likewise.
1734 * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
1735 * math/auto-libm-test-in: Add more tests of lgamma.
1736 * math/auto-libm-test-out: Regenerated.
1737 * sysdeps/i386/fpu/libm-test-ulps: Update.
1738 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1739
1740 2015-09-09 Justin Maggard <jmaggard@netgear.com>
1741
1742 [BZ #18675]
1743 * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
1744
1745 2015-09-08 Joseph Myers <joseph@codesourcery.com>
1746
1747 [BZ #14912]
1748 * bits/libc-lock.h: Move to ...
1749 * sysdeps/generic/libc-lock.h: ...here.
1750 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
1751 * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
1752 * sysdeps/mach/hurd/libc-lock.h: ...here.
1753 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
1754 [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
1755 * sysdeps/mach/bits/libc-lock.h: Move to ...
1756 * sysdeps/mach/libc-lock.h: ...here.
1757 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
1758 * sysdeps/nptl/bits/libc-lock.h: Move to ...
1759 * sysdeps/nptl/libc-lock.h: ...here.
1760 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
1761 * sysdeps/nptl/bits/libc-lockP.h: Move to ...
1762 * sysdeps/nptl/libc-lockP.h: ...here.
1763 (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
1764 * crypt/crypt_util.c: Include <libc-lock.h> instead of
1765 <bits/libc-lock.h>.
1766 * dirent/scandir-tail.c: Likewise.
1767 * dlfcn/dlerror.c: Likewise.
1768 * elf/dl-close.c: Likewise.
1769 * elf/dl-iteratephdr.c: Likewise.
1770 * elf/dl-lookup.c: Likewise.
1771 * elf/dl-open.c: Likewise.
1772 * elf/dl-support.c: Likewise.
1773 * elf/dl-writev.h: Likewise.
1774 * elf/rtld.c: Likewise.
1775 * grp/fgetgrent.c: Likewise.
1776 * gshadow/fgetsgent.c: Likewise.
1777 * gshadow/sgetsgent.c: Likewise.
1778 * iconv/gconv_conf.c: Likewise.
1779 * iconv/gconv_db.c: Likewise.
1780 * iconv/gconv_dl.c: Likewise.
1781 * iconv/gconv_int.h: Likewise.
1782 * iconv/gconv_trans.c: Likewise.
1783 * include/link.h: Likewise.
1784 * inet/getnameinfo.c: Likewise.
1785 * inet/getnetgrent.c: Likewise.
1786 * inet/getnetgrent_r.c: Likewise.
1787 * intl/bindtextdom.c: Likewise.
1788 * intl/dcigettext.c: Likewise.
1789 * intl/finddomain.c: Likewise.
1790 * intl/gettextP.h: Likewise.
1791 * intl/loadmsgcat.c: Likewise.
1792 * intl/localealias.c: Likewise.
1793 * intl/textdomain.c: Likewise.
1794 * libidn/idn-stub.c: Likewise.
1795 * libio/libioP.h: Likewise.
1796 * locale/duplocale.c: Likewise.
1797 * locale/freelocale.c: Likewise.
1798 * locale/newlocale.c: Likewise.
1799 * locale/setlocale.c: Likewise.
1800 * login/getutent_r.c: Likewise.
1801 * login/getutid_r.c: Likewise.
1802 * login/getutline_r.c: Likewise.
1803 * login/utmp-private.h: Likewise.
1804 * login/utmpname.c: Likewise.
1805 * malloc/mtrace.c: Likewise.
1806 * misc/efgcvt.c: Likewise.
1807 * misc/error.c: Likewise.
1808 * misc/fstab.c: Likewise.
1809 * misc/getpass.c: Likewise.
1810 * misc/mntent.c: Likewise.
1811 * misc/syslog.c: Likewise.
1812 * nis/nis_call.c: Likewise.
1813 * nis/nis_callback.c: Likewise.
1814 * nis/nss-default.c: Likewise.
1815 * nis/nss_compat/compat-grp.c: Likewise.
1816 * nis/nss_compat/compat-initgroups.c: Likewise.
1817 * nis/nss_compat/compat-pwd.c: Likewise.
1818 * nis/nss_compat/compat-spwd.c: Likewise.
1819 * nis/nss_nis/nis-alias.c: Likewise.
1820 * nis/nss_nis/nis-ethers.c: Likewise.
1821 * nis/nss_nis/nis-grp.c: Likewise.
1822 * nis/nss_nis/nis-hosts.c: Likewise.
1823 * nis/nss_nis/nis-network.c: Likewise.
1824 * nis/nss_nis/nis-proto.c: Likewise.
1825 * nis/nss_nis/nis-pwd.c: Likewise.
1826 * nis/nss_nis/nis-rpc.c: Likewise.
1827 * nis/nss_nis/nis-service.c: Likewise.
1828 * nis/nss_nis/nis-spwd.c: Likewise.
1829 * nis/nss_nisplus/nisplus-alias.c: Likewise.
1830 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
1831 * nis/nss_nisplus/nisplus-grp.c: Likewise.
1832 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
1833 * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
1834 * nis/nss_nisplus/nisplus-network.c: Likewise.
1835 * nis/nss_nisplus/nisplus-proto.c: Likewise.
1836 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
1837 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
1838 * nis/nss_nisplus/nisplus-service.c: Likewise.
1839 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
1840 * nis/ypclnt.c: Likewise.
1841 * nptl/libc_pthread_init.c: Likewise.
1842 * nss/getXXbyYY.c: Likewise.
1843 * nss/getXXent.c: Likewise.
1844 * nss/getXXent_r.c: Likewise.
1845 * nss/nss_db/db-XXX.c: Likewise.
1846 * nss/nss_db/db-netgrp.c: Likewise.
1847 * nss/nss_db/nss_db.h: Likewise.
1848 * nss/nss_files/files-XXX.c: Likewise.
1849 * nss/nss_files/files-alias.c: Likewise.
1850 * nss/nsswitch.c: Likewise.
1851 * posix/regex_internal.h: Likewise.
1852 * posix/wordexp.c: Likewise.
1853 * pwd/fgetpwent.c: Likewise.
1854 * resolv/res_hconf.c: Likewise.
1855 * resolv/res_libc.c: Likewise.
1856 * shadow/fgetspent.c: Likewise.
1857 * shadow/lckpwdf.c: Likewise.
1858 * shadow/sgetspent.c: Likewise.
1859 * socket/opensock.c: Likewise.
1860 * stdio-common/reg-modifier.c: Likewise.
1861 * stdio-common/reg-printf.c: Likewise.
1862 * stdio-common/reg-type.c: Likewise.
1863 * stdio-common/vfprintf.c: Likewise.
1864 * stdio-common/vfscanf.c: Likewise.
1865 * stdlib/abort.c: Likewise.
1866 * stdlib/cxa_atexit.c: Likewise.
1867 * stdlib/fmtmsg.c: Likewise.
1868 * stdlib/random.c: Likewise.
1869 * stdlib/setenv.c: Likewise.
1870 * string/strsignal.c: Likewise.
1871 * sunrpc/auth_none.c: Likewise.
1872 * sunrpc/bindrsvprt.c: Likewise.
1873 * sunrpc/create_xid.c: Likewise.
1874 * sunrpc/key_call.c: Likewise.
1875 * sunrpc/rpc_thread.c: Likewise.
1876 * sysdeps/arm/backtrace.c: Likewise.
1877 * sysdeps/generic/ldsodefs.h: Likewise.
1878 * sysdeps/generic/stdio-lock.h: Likewise.
1879 * sysdeps/generic/unwind-dw2-fde.c: Likewise.
1880 * sysdeps/i386/backtrace.c: Likewise.
1881 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
1882 * sysdeps/m68k/backtrace.c: Likewise.
1883 * sysdeps/mach/hurd/cthreads.c: Likewise.
1884 * sysdeps/mach/hurd/dirstream.h: Likewise.
1885 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
1886 * sysdeps/nptl/malloc-machine.h: Likewise.
1887 * sysdeps/nptl/stdio-lock.h: Likewise.
1888 * sysdeps/posix/dirstream.h: Likewise.
1889 * sysdeps/posix/getaddrinfo.c: Likewise.
1890 * sysdeps/posix/system.c: Likewise.
1891 * sysdeps/pthread/aio_suspend.c: Likewise.
1892 * sysdeps/s390/s390-32/backtrace.c: Likewise.
1893 * sysdeps/s390/s390-64/backtrace.c: Likewise.
1894 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
1895 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
1896 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
1897 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
1898 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
1899 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
1900 * sysdeps/unix/sysv/linux/system.c: Likewise.
1901 * sysdeps/x86_64/backtrace.c: Likewise.
1902 * time/alt_digit.c: Likewise.
1903 * time/era.c: Likewise.
1904 * time/tzset.c: Likewise.
1905 * wcsmbs/wcsmbsload.c: Likewise.
1906 * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
1907 instead of <bits/libc-lock.h> in comment.
1908
1909 2015-09-08 Andrew Bennett <andrew.bennett@imgtec.com>
1910
1911 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
1912 Only use .set mips2 if the current ISA is below mips2.
1913 * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
1914 Likewise.
1915 * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
1916 mips32r2 if the current ISA is below mips32r2.
1917 * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
1918 (TLS_IE): Updated to use the TLD_RDHWR macro.
1919 (TLS_LE): Likewise.
1920 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
1921 __ASSEMBLER__ condition.
1922
1923 2015-09-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
1924
1925 Fix parallel build of before-compile targets.
1926
1927 * sysdeps/mach/Makefile ($(patsubst
1928 mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
1929 mach-before-compile target.
1930 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
1931 io fs process)): Move rule to dedicated hurd-before-compile target.
1932
1933 2015-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
1934
1935 Fix rules generating headers in hurd/ and mach/ when initial make call
1936 has subdir= explicitly set.
1937
1938 * sysdeps/mach/Makefile ($(patsubst
1939 mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
1940 calling $(MAKE).
1941 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
1942 io fs process)): Force subdir to hurd when calling $(MAKE).
1943 ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
1944 subdir to mach when calling $(MAKE).
1945
1946 2015-09-06 Manolis Ragkousis <manolis837@gmail.com>
1947
1948 Check sysheaders when looking for Mach and Hurd headers
1949
1950 * sysdeps/mach/configure.ac: Add sysheaders check.
1951 * sysdeps/mach/configure: Regenerate.
1952 * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
1953 * sysdeps/mach/hurd/configure: Regenerate.
1954
1955 2015-09-04 Roland McGrath <roland@hack.frob.com>
1956
1957 [BZ #18921]
1958 * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
1959 Fix inverted sense of test of 'o_directory_works' value.
1960 Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
1961 Bernhard Voelker <mail@bernhard-voelker.de>.
1962
1963 2015-09-04 Joseph Myers <joseph@codesourcery.com>
1964
1965 [BZ #14912]
1966 * bits/linkmap.h: Move to ...
1967 * sysdeps/generic/linkmap.h: ...here.
1968 * sysdeps/aarch64/bits/linkmap.h: Move to ...
1969 * sysdeps/aarch64/linkmap.h: ...here.
1970 * sysdeps/arm/bits/linkmap.h: Move to ...
1971 * sysdeps/arm/linkmap.h: ...here.
1972 * sysdeps/hppa/bits/linkmap.h: Move to ...
1973 * sysdeps/hppa/linkmap.h: ...here.
1974 * sysdeps/ia64/bits/linkmap.h: Move to ...
1975 * sysdeps/ia64/linkmap.h: ...here.
1976 * sysdeps/mips/bits/linkmap.h: Move to ...
1977 * sysdeps/mips/linkmap.h: ...here.
1978 * sysdeps/s390/bits/linkmap.h: Move to ...
1979 * sysdeps/s390/linkmap.h: ...here.
1980 * sysdeps/sh/bits/linkmap.h: Move to ...
1981 * sysdeps/sh/linkmap.h: ...here.
1982 * sysdeps/x86/bits/linkmap.h: Move to ...
1983 * sysdeps/x86/linkmap.h: ...here.
1984 * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
1985
1986 2015-09-04 Andreas Schwab <schwab@suse.de>
1987
1988 [BZ #18635]
1989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
1990 (__makecontext): Terminate FDE before return label.
1991 (__novec_makecontext): Likewise.
1992
1993 2015-09-04 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
1994
1995 * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
1996 first member of struct sv in syscall macro.
1997
1998 2015-09-04 Joseph Myers <joseph@codesourcery.com>
1999
2000 [BZ #14912]
2001 * bits/stdio-lock.h: Move to ...
2002 * sysdeps/generic/stdio-lock.h: ...here.
2003 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
2004 * sysdeps/nptl/bits/stdio-lock.h: Move to ...
2005 * sysdeps/nptl/stdio-lock.h: ...here.
2006 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
2007 * include/libio.h: Include <stdio-lock.h> instead of
2008 <bits/stdio-lock.h>.
2009 * sysdeps/nptl/fork.c: Likewise.
2010 * sysdeps/pthread/flockfile.c: Likewise.
2011 * sysdeps/pthread/ftrylockfile.c: Likewise.
2012 * sysdeps/pthread/funlockfile.c: Likewise.
2013
2014 [BZ #14912]
2015 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
2016 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
2017 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
2018 <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
2019 * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
2020 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
2021 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
2022
2023 2015-09-03 Roland McGrath <roland@hack.frob.com>
2024
2025 * elf/Makefile (test-xfail-tst-protected1a): New variable.
2026 (test-xfail-tst-protected1b): New variable.
2027
2028 2015-09-03 Joseph Myers <joseph@codesourcery.com>
2029
2030 [BZ #14912]
2031 * bits/libc-tsd.h: Move to ...
2032 * sysdeps/generic/libc-tsd.h: ...here.
2033 (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
2034 * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
2035 * sysdeps/mach/hurd/libc-tsd.h: ...here.
2036 (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
2037 * include/ctype.h: Include <libc-tsd.h> instead of
2038 <bits/libc-tsd.h>.
2039 * include/rpc/rpc.h: Likewise.
2040 * locale/localeinfo.h: Likewise.
2041 * sunrpc/rpc_thread.c: Likewise.
2042 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
2043 * sysdeps/nptl/malloc-machine.h: Likewise.
2044
2045 * Makefile (headers): Remove bits/libc-lock.h.
2046 * libio/Makefile (headers): Remove bits/stdio-lock.h.
2047
2048 * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
2049 <bits/stdio-lock.h> and commented-out include of <comthread.h>.
2050 * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
2051 <bits/stdio-lock.h>.
2052 * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
2053 * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
2054
2055 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
2056
2057 [BZ #18757]
2058 * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
2059 * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
2060 BZ #18757.
2061
2062 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
2063
2064 * malloc/mtrace.pl: Filter out NULL entries.
2065
2066 2015-09-01 Joseph Myers <joseph@codesourcery.com>
2067
2068 * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
2069 * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
2070 macro.
2071
2072 * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
2073 (TCP_CC_INFO): Likewise.
2074 (TCP_SAVE_SYN): Likewise.
2075 (TCP_SAVED_SYN): Likewise.
2076
2077 2015-08-31 Brett Neumeier <brett@neumeier.us>
2078
2079 [BZ #18870]
2080 * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
2081
2082 2015-08-31 Paul Eggert <eggert@cs.ucla.edu>
2083
2084 [BZ #18873]
2085 Fix broken overflow check in posix_fallocate
2086 * sysdeps/posix/posix_fallocate.c (posix_fallocate):
2087 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
2088 Fix parenthesization typo.
2089
2090 2015-08-28 Mike Frysinger <vapier@gentoo.org>
2091
2092 [BZ #18887]
2093 * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
2094 tst-mntent-blank-passno.
2095 * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
2096 * misc/tst-mntent-blank-corrupt.c: New test.
2097 * misc/tst-mntent-blank-passno.c: New test ripped from ...
2098 * misc/tst-mntent.c (do_test): ... here.
2099
2100 2015-08-29 Mike Frysinger <vapier@gentoo.org>
2101
2102 [BZ #4404]
2103 * po/de.po: Fix SIGALRM typo.
2104
2105 2015-08-28 James Perkins <james@loowit.net>
2106
2107 * time/tst-strptime2.c (tests): Replace short list of test
2108 strings for strptime %z specifier with code which exhaustively
2109 tests every combination of sign and 0 to 5 digits. Tests for
2110 rejection of invalid strings.
2111
2112 2015-08-28 James Perkins <james@loowit.net>
2113
2114 [BZ #16141]
2115 * time/strptime_l.c (__strptime_internal): Fix %z minutes
2116 calculation, removing incorrect decimal time rounding, so that
2117 all minute values result in a valid seconds value.
2118 * time/strptime_l.c (__strptime_internal): Extend %z time zone
2119 offset range limits to UTC-99:59 through UTC+99:59 to parse
2120 current and historical use cases.
2121 * time/tst-strptime2.c (tests): Modify and add tests for the
2122 strptime %z input field descriptor, specifically conversion of
2123 minutes to seconds and validating an offset range of -9959 to
2124 +9959.
2125
2126 2015-08-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2127 Dmitry V. Levin <ldv@altlinux.org>
2128
2129 [BZ #18877]
2130 * posix/Makefile (tests): Add tst-mmap-offset.
2131 * posix/tst-mmap.c: New file.
2132 * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
2133 offset calculation for negative values.
2134
2135 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
2136
2137 * sysdeps/i386/init-arch.h: New file.
2138 * sysdeps/i386/i586/init-arch.h: Likewise.
2139 * sysdeps/i386/i686/init-arch.h: Likewise.
2140 * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
2141 bit if CX8 is available. Set bit_I686 bit if CMOV is available.
2142 * sysdeps/x86/cpu-features.h (bit_I586): New.
2143 (bit_I686): Likewise.
2144 (bit_CX8): Likewise.
2145 (bit_CMOV): Likewise.
2146 (index_CX8): Likewise.
2147 (index_CMOV): Likewise.
2148 (index_I586): Likewise.
2149 (index_I686): Likewise.
2150 (reg_CX8): Likewise.
2151 (reg_CMOV): Likewise.
2152 (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
2153 available at compile-time.
2154 (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
2155 available at compile-time.
2156 * sysdeps/x86/init-arch.h (USE_I586): New macro.
2157 (USE_I686): Likewise.
2158
2159 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
2160
2161 * sysdeps/i386/bcopy.S: New file.
2162 * sysdeps/i386/bzero.S: Likewise.
2163 * sysdeps/i386/memcpy.S: Likewise.
2164 * sysdeps/i386/memmove.S: Likewise.
2165 * sysdeps/i386/mempcpy.S: Likewise.
2166 * sysdeps/i386/memset.S: Likewise.
2167 * sysdeps/i386/bzero.c: Removed.
2168 * sysdeps/i386/memset.c: Likewise.
2169 * sysdeps/i386/i586/memcpy_chk.S: Likewise.
2170 * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
2171 * sysdeps/i386/i586/memset_chk.S: Likewise.
2172 * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
2173 * sysdeps/i386/memcpy_chk.S: Here.
2174 * sysdeps/i386/i686/memmove_chk.S: Moved to ...
2175 * sysdeps/i386/memmove_chk.S: Here.
2176 * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
2177 * sysdeps/i386/mempcpy_chk.S: Likewise.
2178 * sysdeps/i386/i686/memset_chk.S: Moved to ...
2179 * sysdeps/i386/memset_chk.S: Likewise.
2180
2181 2015-08-27 Steve Ellcey <sellcey@imgtec.com>
2182
2183 * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
2184 Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
2185 file, move DIAG_POP_NEEDS_COMMENT to end of file.
2186 * soft-fp/fmadf4.c: Ditto.
2187 * soft-fp/fmatf4.c: Ditto.
2188
2189 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
2190
2191 * sysdeps/i386/i586/Implies: Removed.
2192 * sysdeps/i386/i686/Implies: Likewise.
2193
2194 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
2195
2196 * sysdeps/i386/i486/strlen.S: Moved to ...
2197 * sysdeps/i386/strlen.S: Here.
2198
2199 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
2200
2201 * sysdeps/i386/i486/strcat.S: Moved to ...
2202 * sysdeps/i386/strcat.S: Here.
2203
2204 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
2205
2206 * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
2207 * sysdeps/i386/pthread_spin_trylock.S: Here.
2208 * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
2209 * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
2210
2211 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
2212
2213 * sysdeps/i386/i486/string-inlines.c: Moved to ...
2214 * sysdeps/i386/string-inlines.c: Here.
2215
2216 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
2217
2218 * sysdeps/i386/i486/htonl.S: Moved ...
2219 * sysdeps/i386/htonl.S: here.
2220
2221 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
2222
2223 * sysdeps/i386/i486/bits/atomic.h: Moved to ...
2224 * sysdeps/i386/bits/atomic.h: Here.
2225
2226 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
2227
2228 * sysdeps/i386/i486/Versions: Removed.
2229
2230 2015-08-27 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
2231
2232 [BZ #2898]
2233 * misc/mktemp.c: Add mkdtemp to the link_warning message.
2234 Based on patch by Aurelien Jarno.
2235
2236 2015-08-26 Stan Shebs <stanshebs@google.com>
2237
2238 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
2239 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
2240
2241 2015-08-26 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
2242
2243 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
2244 * sysdeps/powerpc/dl-procinfo.c:
2245 (_dl_powerpc_cap_flags): Added descriptor for this hwcap
2246 feature so it shows when LD_SHOW_AUXV=1.
2247
2248 2015-08-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2249
2250 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
2251 (__arch_compare_and_exchange_val_32_acq): Remove and use common
2252 definition. ISA 2.07B no longer requires full sync.
2253
2254 2015-08-26 Mike Frysinger <vapier@gentoo.org>
2255
2256 [BZ #18863]
2257 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
2258 (si_call_addr): Define.
2259 (si_syscall): Define.
2260 (si_arch): Define.
2261
2262 2015-08-26 H.J. Lu <hongjiu.lu@intel.com>
2263
2264 * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
2265 * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
2266 * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
2267 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
2268 (__memset_zero_constant_len_parameter): New.
2269 * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
2270 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
2271 (__memset_zero_constant_len_parameter): Don't define if
2272 __memset_chk or USE_AS_BZERO are defined.
2273
2274 * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
2275 Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
2276 * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
2277
2278 * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
2279 tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
2280 * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
2281 tests-special, $(objpfx)tst-ld-sse-use.out): Here. Update
2282 comments.
2283 * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
2284 -mno-mmx for $(all-rtld-routines).
2285 * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
2286 * sysdeps/i386/tst-ld-sse-use.sh: Here. Replace x86-64 with
2287 i386.
2288
2289 2015-08-26 Stefan Liebler <stli@linux.vnet.ibm.com>
2290
2291 * sysdeps/generic/unwind.h
2292 (_Unwind_Word): Use __mode__(__unwind_word__)
2293 instead of __mode__(__word__).
2294 (_Unwind_Sword): Likewise.
2295
2296 * sysdeps/s390/s390-64/utf8-utf16-z9.c
2297 (MAX_NEEDED_INPUT): New define.
2298 (MAX_NEEDED_OUTPUT): New define.
2299
2300 * NEWS: New item for IBM z13 string optimizations.
2301
2302 * sysdeps/s390/multiarch/memrchr-c.c: New File.
2303 * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
2304 * sysdeps/s390/multiarch/memrchr.c: Likewise.
2305 * sysdeps/s390/multiarch/Makefile
2306 (sysdep_routines): Add memrchr functions.
2307 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
2308 (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
2309
2310 * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
2311 * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
2312 * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
2313 * sysdeps/s390/multiarch/Makefile
2314 (sysdep_routines): Add wmemcmp functions.
2315 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
2316 (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
2317 * benchtests/bench-wmemcmp.c: New File.
2318 * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
2319
2320 * sysdeps/s390/multiarch/wmemset-c.c: New File.
2321 * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
2322 * sysdeps/s390/multiarch/wmemset.c: Likewise.
2323 * sysdeps/s390/multiarch/Makefile
2324 (sysdep_routines): Add wmemset functions.
2325 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
2326 (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
2327 * wcsmbs/wmemset.c: Use WMEMSET if defined.
2328 * string/test-memset.c: Add wmemset support.
2329 * wcsmbs/test-wmemset.c: New File.
2330 * wcsmbs/Makefile (strop-tests): Add wmemset.
2331 * benchtests/bench-memset.c: Add wmemset support.
2332 * benchtests/bench-wmemset.c: New File.
2333 * benchtests/Makefile (wcsmbs-bench): Add wmemset.
2334
2335 * sysdeps/s390/multiarch/memccpy-c.c: New File.
2336 * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
2337 * sysdeps/s390/multiarch/memccpy.c: Likewise.
2338 * sysdeps/s390/multiarch/Makefile
2339 (sysdep_routines): Add memccpy functions.
2340 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
2341 (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
2342 * string/memccpy.c: Use MEMCCPY if defined.
2343
2344 * sysdeps/s390/multiarch/memchr-vx.S: New File.
2345 * sysdeps/s390/multiarch/memchr.c: Likewise.
2346 * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
2347 * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
2348 * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
2349 * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
2350 * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
2351 * sysdeps/s390/multiarch/wmemchr.c: Likewise.
2352 * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
2353 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
2354 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
2355 and rawmemchr functions.
2356 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
2357 (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
2358 and wmemchr.
2359 * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
2360 * string/test-memchr.c: Add wmemchr support.
2361 * wcsmbs/test-wmemchr.c: New File.
2362 * wcsmbs/Makefile (strop-tests): Add wmemchr.
2363 * benchtests/bench-memchr.c: Add wmemchr support.
2364 * benchtests/bench-wmemchr.c: New File.
2365 * benchtests/Makefile (wcsmbs-bench): wmemchr.
2366
2367 * sysdeps/s390/multiarch/strcspn-c.c: New File.
2368 * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
2369 * sysdeps/s390/multiarch/strcspn.c: Likewise.
2370 * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
2371 * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
2372 * sysdeps/s390/multiarch/wcscspn.c: Likewise.
2373 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
2374 wcscspn functions.
2375 * sysdeps/s390/multiarch/ifunc-impl-list.c
2376 (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
2377 * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
2378 * string/test-strcspn.c: Add wcscspn support.
2379 * wcsmbs/test-wcscspn.c: New File.
2380 * wcsmbs/Makefile (strop-tests): Add wcscspn.
2381 * benchtests/bench-strcspn.c: Add wcscspn support.
2382 * benchtests/bench-wcscspn.c: New File.
2383 * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
2384
2385 * sysdeps/s390/multiarch/strpbrk-c.c: New File.
2386 * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
2387 * sysdeps/s390/multiarch/strpbrk.c: Likewise.
2388 * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
2389 * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
2390 * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
2391 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
2392 wcspbrk functions.
2393 * sysdeps/s390/multiarch/ifunc-impl-list.c
2394 (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
2395 * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
2396 * string/test-strpbrk.c: Add wcspbrk support.
2397 * wcsmbs/test-wcspbrk.c: New File.
2398 * wcsmbs/Makefile (strop-tests): Add wcspbrk.
2399 * benchtests/bench-strpbrk.c: Add wcspbrk support.
2400 * benchtests/bench-wcspbrk.c: New File.
2401 * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
2402
2403 * sysdeps/s390/multiarch/strspn-c.c: New File.
2404 * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
2405 * sysdeps/s390/multiarch/strspn.c: Likewise.
2406 * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
2407 * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
2408 * sysdeps/s390/multiarch/wcsspn.c: Likewise.
2409 * wcsmbs/wcsspn.c: Use WCSSPN if defined.
2410 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
2411 wcsspn functions.
2412 * sysdeps/s390/multiarch/ifunc-impl-list.c
2413 (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
2414 * string/test-strspn.c: Add wcsspn support.
2415 * wcsmbs/test-wcsspn.c: New File.
2416 * wcsmbs/Makefile (strop-tests): Add wcsspn.
2417 * benchtests/bench-strspn.c: Add wcsspn support.
2418 * benchtests/bench-wcsspn.c: New File.
2419 * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
2420
2421 * sysdeps/s390/multiarch/strrchr-c.c: New File.
2422 * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
2423 * sysdeps/s390/multiarch/strrchr.c: Likewise.
2424 * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
2425 * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
2426 * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
2427 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
2428 wcsrchr functions.
2429 * sysdeps/s390/multiarch/ifunc-impl-list.c
2430 (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
2431 * benchtests/bench-wcsrchr.c: New File.
2432 * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
2433
2434 * sysdeps/s390/multiarch/strchrnul-c.c: New File.
2435 * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
2436 * sysdeps/s390/multiarch/strchrnul.c: Likewise.
2437 * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
2438 * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
2439 * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
2440 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
2441 wcschrnul functions.
2442 * sysdeps/s390/multiarch/ifunc-impl-list.c
2443 (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
2444 * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
2445 * string/test-strchr.c: Add wcschrnul support.
2446 * wcsmbs/test-wcschrnul.c: New File.
2447 * wcsmbs/Makefile (strop-tests): Add wcschrnul.
2448 * benchtests/bench-strchr.c: Add wcschrnul support.
2449 * benchtests/bench-wcschrnul.c: New File.
2450 * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
2451
2452 * sysdeps/s390/multiarch/strchr-c.c: New File.
2453 * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
2454 * sysdeps/s390/multiarch/strchr.c: Likewise.
2455 * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
2456 * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
2457 * sysdeps/s390/multiarch/wcschr.c: Likewise.
2458 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
2459 wcschr functions.
2460 * sysdeps/s390/multiarch/ifunc-impl-list.c
2461 (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
2462 * string/strchr.c (STRCHR): Define and use macro.
2463 * benchtests/bench-wcschr.c: New File.
2464 * benchtests/Makefile (wcsmbs-bench): Add wcschr.
2465
2466 * sysdeps/s390/multiarch/strncmp-c.c: New File.
2467 * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
2468 * sysdeps/s390/multiarch/strncmp.c: Likewise.
2469 * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
2470 * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
2471 * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
2472 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
2473 wcsncmp functions.
2474 * sysdeps/s390/multiarch/ifunc-impl-list.c
2475 (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
2476 * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
2477 * benchtests/bench-strncmp.c: Add wcsncmp support.
2478 * benchtests/bench-wcsncmp.c: New File.
2479 * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
2480
2481 * sysdeps/s390/multiarch/strcmp-vx.S: New File.
2482 * sysdeps/s390/multiarch/strcmp.c: Likewise.
2483 * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
2484 * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
2485 * sysdeps/s390/multiarch/wcscmp.c: Likewise.
2486 * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
2487 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
2488 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
2489 wcscmp functions.
2490 * sysdeps/s390/multiarch/ifunc-impl-list.c
2491 (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
2492 * string/strcmp.c (STRCMP): Define and use macro.
2493 * benchtests/bench-wcscmp.c: New File.
2494 * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
2495 * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
2496 instead of _HAVE_STRING_ARCH_memchr.
2497
2498 * sysdeps/s390/multiarch/strncat-c.c: New File.
2499 * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
2500 * sysdeps/s390/multiarch/strncat.c: Likewise.
2501 * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
2502 * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
2503 * sysdeps/s390/multiarch/wcsncat.c: Likewise.
2504 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
2505 wcsncat functions.
2506 * sysdeps/s390/multiarch/ifunc-impl-list.c
2507 (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
2508 * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
2509 * string/test-strncat.c: Add wcsncat support.
2510 * wcsmbs/test-wcsncat.c: New File.
2511 * wcsmbs/Makefile (strop-tests): Add wcsncat.
2512 * benchtests/bench-strncat.c: Add wcsncat support.
2513 * benchtests/bench-wcsncat.c: New File.
2514 * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
2515
2516 * sysdeps/s390/multiarch/strcat-c.c: New File.
2517 * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
2518 * sysdeps/s390/multiarch/strcat.c: Likewise.
2519 * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
2520 * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
2521 * sysdeps/s390/multiarch/wcscat.c: Likewise.
2522 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
2523 wcscat functions.
2524 * sysdeps/s390/multiarch/ifunc-impl-list.c
2525 (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
2526 * string/strcat.c (STRCAT): Define and use macro.
2527 * wcsmbs/wcscat.c: Use WCSCAT if defined.
2528 * string/test-strcat.c: Add wcscat support.
2529 * wcsmbs/test-wcscat.c: New File.
2530 * wcsmbs/Makefile (strop-tests): Add wcscat.
2531 * benchtests/bench-strcat.c: Add wcscat support.
2532 * benchtests/bench-wcscat.c: New File.
2533 * benchtests/Makefile (wcsmbs-bench): Add wcscat.
2534
2535 * sysdeps/s390/multiarch/stpncpy-c.c: New File.
2536 * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
2537 * sysdeps/s390/multiarch/stpncpy.c: Likewise.
2538 * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
2539 * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
2540 * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
2541 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
2542 wcpncpy functions.
2543 * sysdeps/s390/multiarch/ifunc-impl-list.c
2544 (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
2545 * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
2546 * string/test-stpncpy.c: Add wcpncpy support.
2547 * wcsmbs/test-wcpncpy.c: New File.
2548 * wcsmbs/Makefile (strop-tests): Add wcpncpy.
2549 * benchtests/bench-stpncpy.c: Add wcpncpy support.
2550 * benchtests/bench-wcpncpy.c: New File.
2551 * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
2552
2553 * sysdeps/s390/multiarch/strncpy-vx.S: New File.
2554 * sysdeps/s390/multiarch/strncpy.c: Likewise.
2555 * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
2556 * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
2557 * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
2558 * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
2559 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
2560 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
2561 wcsncpy functions.
2562 * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
2563 * sysdeps/s390/multiarch/ifunc-impl-list.c
2564 (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
2565 * string/test-strncpy.c: Add wcsncpy support.
2566 * wcsmbs/test-wcsncpy.c: New File.
2567 * wcsmbs/Makefile (strop-tests): Add wcsncpy.
2568 * benchtests/bench-strncpy.c: Add wcsncpy support.
2569 * benchtests/bench-wcsncpy.c: New File.
2570 * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
2571
2572 * sysdeps/s390/multiarch/stpcpy-c.c: New File.
2573 * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
2574 * sysdeps/s390/multiarch/stpcpy.c: Likewise.
2575 * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
2576 * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
2577 * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
2578 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
2579 wcpcpy functions.
2580 * string/stpcpy.c: Use STPCPY if defined.
2581 * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
2582 * sysdeps/s390/multiarch/ifunc-impl-list.c
2583 (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
2584 * string/test-stpcpy.c: Add wcpcpy support.
2585 * wcsmbs/test-wcpcpy.c: New File.
2586 * wcsmbs/Makefile (strop-tests): Add wcpcpy.
2587 * benchtests/bench-stpcpy.c: Add wcpcpy support.
2588 * benchtests/bench-wcpcpy.c: New File.
2589 * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
2590
2591 * sysdeps/s390/multiarch/strcpy-vx.S: New File.
2592 * sysdeps/s390/multiarch/strcpy.c: Likewise.
2593 * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
2594 * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
2595 * sysdeps/s390/multiarch/wcscpy.c: Likewise.
2596 * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
2597 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
2598 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
2599 wcscpy functions.
2600 * sysdeps/s390/multiarch/ifunc-impl-list.c
2601 (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
2602 * benchtests/bench-wcscpy.c: New File.
2603 * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
2604
2605 * sysdeps/s390/multiarch/strnlen-c.c: New File.
2606 * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
2607 * sysdeps/s390/multiarch/strnlen.c: Likewise.
2608 * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
2609 * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
2610 * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
2611 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
2612 wcsnlen functions.
2613 * sysdeps/s390/multiarch/ifunc-impl-list.c
2614 (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
2615 * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
2616 * string/test-strnlen.c: Add wcsnlen support.
2617 * wcsmbs/test-wcsnlen.c: New File.
2618 * wcsmbs/Makefile (strop-tests): Add wcsnlen.
2619 * benchtests/bench-strnlen.c: Add wcsnlen support.
2620 * benchtests/bench-wcsnlen.c: New File.
2621 * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
2622
2623 * sysdeps/s390/multiarch/Makefile: New File.
2624 * sysdeps/s390/multiarch/strlen-c.c: Likewise.
2625 * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
2626 * sysdeps/s390/multiarch/strlen.c: Likewise.
2627 * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
2628 * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
2629 * sysdeps/s390/multiarch/wcslen.c: Likewise.
2630 * string/strlen.c (STRLEN): Define and use macro.
2631 * sysdeps/s390/multiarch/ifunc-impl-list.c
2632 (IFUNC_VX_IMPL): New macro function.
2633 (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
2634 * benchtests/Makefile (wcsmbs-bench): New variable.
2635 (string-bench-all): Added wcsmbs-bench.
2636 * benchtests/bench-wcslen.c: New File.
2637
2638 * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
2639 s390_vx_libc_ifunc2): New macro function.
2640
2641 * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
2642 * sysdeps/s390/configure.ac: Add test for S390 vector instruction
2643 assembler support.
2644 * sysdeps/s390/configure: Regenerated.
2645
2646 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
2647 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
2648
2649 * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
2650 * sysdeps/s390/dl-procinfo.h: Add vector capability.
2651 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
2652
2653 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
2654 Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
2655 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
2656 * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
2657 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
2658 (memcmp, bcmp): Use __memcmp_default as alias source.
2659 * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
2660 * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
2661 Rename to __memcmp_default.
2662 * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
2663 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
2664 (memcpy): Use __memcpy_default as alias source.
2665 * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
2666 * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
2667 Rename to __memcpy_default.
2668 * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
2669 * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
2670 (memset): Use __memset_default as alias source.
2671 * sysdeps/s390/s390-32/multiarch/memset.c: New File.
2672 * sysdeps/s390/s390-32/memset.S (__memset_g5):
2673 Rename to __memset_default.
2674 * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
2675 Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
2676 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
2677 * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
2678 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
2679 (memcmp, bcmp): Use __memcmp_default as alias source.
2680 * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
2681 * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
2682 Rename to __memcmp_default.
2683 * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
2684 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
2685 (memcpy): Use __memcpy_default as alias source.
2686 * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
2687 * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
2688 Rename to __memcpy_default.
2689 * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
2690 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
2691 (memset): Use __memset_default as alias source.
2692 * sysdeps/s390/s390-64/multiarch/memset.c: New File.
2693 * sysdeps/s390/s390-64/memset.S (__memset_z900):
2694 Rename to __memset_default.
2695 * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
2696 * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
2697
2698 [BZ #18610]
2699 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
2700 __ieee_instruction_pointer to __unused.
2701 * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
2702 __ieee_instruction_pointer.
2703 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
2704 * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
2705 * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
2706 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
2707 * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
2708 Mark dxc-field as reserved.
2709
2710 2015-08-25 Roland McGrath <roland@hack.frob.com>
2711
2712 * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
2713 if the weak reference is not null.
2714
2715 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
2716
2717 * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
2718
2719 [BZ #11214]
2720 * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
2721
2722 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2723
2724 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
2725 * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
2726 * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
2727 * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
2728 * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
2729 * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
2730 * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
2731 * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
2732 * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
2733 * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
2734 * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
2735 * sysdeps/unix/sysv/linux/send.c: Call direct system call.
2736 * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
2737 * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
2738 * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
2739 * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
2740 * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
2741 * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
2742
2743 2015-08-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2744
2745 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
2746 register other than r0 for tabort, it has special meaning.
2747 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise
2748 * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
2749 transaction before starting syscall.
2750
2751 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2752
2753 * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
2754
2755 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
2756
2757 * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
2758
2759 * sysdeps/x86_64/rtld-memcmp.c: Removed.
2760 * sysdeps/x86_64/rtld-memset.S: Likewise.
2761 * sysdeps/x86_64/rtld-strchr.S: Likewise.
2762 * sysdeps/x86_64/rtld-strlen.S: Likewise.
2763 * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
2764 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
2765
2766 * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
2767
2768 2015-08-25 Ondřej Bílka <neleai@seznam.cz>
2769
2770 * debug/strcpy_chk.c: Improve performance.
2771 * debug/stpcpy_chk.c: Likewise.
2772 * sysdeps/x86_64/strcpy_chk.S: Remove.
2773 * sysdeps/x86_64/stpcpy_chk.S: Remove.
2774
2775 [BZ #18240]
2776 * misc/hsearch_r.c (__hcreate_r): Handle overflow.
2777
2778 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
2779
2780 [BZ #15128]
2781 * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
2782 ifuncmain8.
2783 (modules-names): Add ifuncmod8.
2784 ($(objpfx)ifuncmain8): New rule.
2785 * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
2786 <cpuid.h>.
2787 (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
2788 _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
2789 _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
2790 _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
2791 * sysdeps/x86_64/dl-trampoline.S: Rewrite.
2792 * sysdeps/x86_64/dl-trampoline.h: Likewise.
2793 * sysdeps/x86_64/ifuncmain8.c: New file.
2794 * sysdeps/x86_64/ifuncmod8.c: Likewise.
2795 * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
2796 Removed.
2797 * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
2798 (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
2799 Change rtld_savespace_sse to __glibc_unused2.
2800 (RTLD_CHECK_FOREIGN_CALL): Removed.
2801 (RTLD_ENABLE_FOREIGN_CALL): Likewise.
2802 (RTLD_PREPARE_FOREIGN_CALL): Likewise.
2803 (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
2804
2805 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
2806
2807 * sysdeps/aarch64/bzero.S (__bzero): Remove.
2808
2809 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
2810
2811 * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
2812 Unconditionally set __fpcr to avoid uninialized warning.
2813 (libc_feholdsetround_noex_aarch64_ctx): Likewise.
2814
2815 2015-08-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2816
2817 * malloc/arena.c (arena_get_retry): Don't use main_arena if it
2818 is corrupt.
2819
2820 * malloc/arena.c (arena_get2): Drop unused argument.
2821 (arena_lock): Adjust.
2822 (arena_get_retry): Likewise.
2823
2824 2015-08-24 Andreas Schwab <schwab@suse.de>
2825
2826 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
2827 Don't define.
2828 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
2829 (__ASSUME_IPC64): Don't undef.
2830 * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
2831 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
2832 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
2833 * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
2834 * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
2835 * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
2836 * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
2837 * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
2838 * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
2839 * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
2840 * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
2841 * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
2842 * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
2843 * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
2844 * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
2845 * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
2846 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
2847 * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
2848 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
2849 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
2850 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
2851
2852 2015-08-21 Mike Frysinger <vapier@gentoo.org>
2853
2854 * manual/Makefile (install): Only build manual when perl is available.
2855
2856 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
2857
2858 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
2859 '#undef memcpy' by '#undef memchr'.
2860
2861 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
2862
2863 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
2864 memchr not point to the internal __GI_memchr implementation.
2865
2866 2015-08-20 Joseph Myers <joseph@codesourcery.com>
2867
2868 * timezone/Makefile (CFLAGS-zdump.c): Remove
2869 -Wno-strict-prototypes.
2870 (CFLAGS-zic.c): Likewise.
2871 (CFLAGS-ialloc.c): Likewise.
2872 (CFLAGS-scheck.c): Likewise.
2873
2874 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
2875 -Wno-error=undef.
2876
2877 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
2878
2879 * i386/i686/multiarch/strcasestr-c.c: Removed.
2880 * x86_64/multiarch/strcasestr.c: Likewise.
2881 * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2882 Remove strcasestr.
2883
2884 2015-08-20 Joseph Myers <joseph@codesourcery.com>
2885
2886 * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
2887
2888 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
2889 variables for high and low parts before possibly modifying them.
2890
2891 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
2892
2893 * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
2894 * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
2895 * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
2896 of "multiarch/init-arch.h".
2897 * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
2898 * sysdeps/x86/init-arch.h: This.
2899
2900 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
2901
2902 * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
2903 * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
2904
2905 2015-08-20 Ondřej Bílka <neleai@seznam.cz>
2906
2907 [BZ #17787]
2908 * manual/macros.texi: Add twoexp macro.
2909 * manual/filesys.texi: Fix exponents.
2910 * manual/llio.texi: Likewise.
2911 * manual/stdio.texi: Likewise.
2912
2913 2015-08-20 Florian Weimer <fweimer@redhat.com>
2914
2915 * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
2916 incorrect use.
2917
2918 2015-08-19 Joseph Myers <joseph@codesourcery.com>
2919
2920 [BZ #18370]
2921 * math/s_csqrt.c (__csqrt): Force underflow exception for results
2922 whose real or imaginary part has small absolute value.
2923 * math/s_csqrtf.c (__csqrtf): Likewise.
2924 * math/s_csqrtl.c (__csqrtl): Likewise.
2925 * math/auto-libm-test-in: Add more tests of csqrt.
2926 * math/auto-libm-test-out: Regenerated.
2927 * sysdeps/i386/fpu/libm-test-ulps: Update.
2928
2929 2015-08-19 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2930
2931 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
2932 __ppc_set_ppr_very_low): New functions.
2933 * manual/platform.texi: Add documentation about
2934 __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
2935
2936 2015-08-19 Wilco Dijkstra <wdijkstr@arm.com>
2937
2938 * string/stpncpy.c (stpncpy): Improve performance using
2939 __strnlen/memcpy/memset.
2940
2941 2015-08-19 Andrew Senkevich <andrew.senkevich@intel.com>
2942
2943 [BZ #18796]
2944 * scripts/test-installation.pl: Don't add -lmvec to build options if
2945 libmvec wasn't built.
2946
2947 2015-08-19 Petar Jovanovic <petar.jovanovic@rt-rk.com>
2948
2949 [BZ #14341]
2950 * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
2951 case when there is a gap between DT_REL and DT_JMPREL sections.
2952 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
2953 (LDFLAGS-tst-split-dynreloc): New.
2954 (tst-split-dynreloc-ENV): Likewise.
2955 * sysdeps/x86_64/tst-split-dynreloc.c: New file.
2956 * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
2957
2958 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
2959
2960 [BZ #18822]
2961 * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
2962 attribute_hidden.
2963 (__xstat64_conv): Likewise.
2964 (__xstat32_conv): Likewise.
2965
2966 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
2967
2968 [BZ #18822]
2969 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
2970 Don't load %ebx when calling __setcontext. Call __setcontext
2971 with HIDDEN_JUMPTARGET.
2972 * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
2973 libc_hidden_def.
2974
2975 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
2976
2977 * sysdeps/i386/i686/Makefile
2978 [$(subdir) == string] (sysdep_routines): Moved to ...
2979 * sysdeps/i386/Makefile: Here.
2980 * sysdeps/i386/i686/cacheinfo.c: Moved to ...
2981 * sysdeps/i386/cacheinfo.c: Here.
2982 * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
2983 * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
2984 * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
2985 * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
2986
2987 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
2988
2989 * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
2990 __i586__ is defined.
2991 (HAS_I686): Defined to 1 if __i686__ is defined.
2992
2993 2015-08-19 Joseph Myers <joseph@codesourcery.com>
2994
2995 * elf/Makefile [$(have-z-execstack) = yes]
2996 (CPPFLAGS-tst-execstack.c): New variable.
2997
2998 * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
2999 conditional to [defined UTMPX || _HAVE_UT_TYPE].
3000 [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
3001 UTMPX || _HAVE_UT_TV].
3002 [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
3003 UTMPX || _HAVE_UT_TV - 0].
3004
3005 2015-08-18 Joseph Myers <joseph@codesourcery.com>
3006
3007 * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
3008 conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
3009 * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
3010
3011 2015-08-18 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
3012
3013 * sysdeps/powerpc/dl-procinfo.c:
3014 (_dl_powerpc_cap_flags): Added missing strings for some
3015 hwcap features.
3016 * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
3017
3018 2015-08-18 Paul Eggert <eggert@cs.ucla.edu>
3019
3020 Port the 0x7efe...feff pattern to GCC 6.
3021 See Steve Ellcey's bug report in:
3022 https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
3023 * string/memrchr.c (MEMRCHR):
3024 * string/rawmemchr.c (RAWMEMCHR):
3025 * string/strchr.c (strchr):
3026 * string/strchrnul.c (STRCHRNUL):
3027 Rewrite code to avoid issues with signed shift overflow.
3028
3029 2015-08-18 H.J. Lu <hongjiu.lu@intel.com>
3030
3031 * sysdeps/x86/cpu-features.c (init_cpu_features): Check
3032 whether cpuid is available only if HAS_CPUID is 0.
3033 * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
3034 (HAS_I586): Likewise.
3035 (HAS_I686): Likewise.
3036
3037 2015-08-18 Zack Weinberg <zackw@panix.com>
3038
3039 * misc/Versions (libc): Add GLIBC_2.23.
3040
3041 2015-08-18 Alan Modra <amodra@gmail.com>
3042
3043 [BZ #18421]
3044 * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
3045 .Lp__global.
3046 (_start): Load %dp via .Lp__global.
3047 [!SHARED]: Use .section .rodata.
3048
3049 2015-08-18 Mike Frysinger <vapier@gentoo.org>
3050
3051 * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
3052 * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
3053
3054 2015-08-18 Mike Frysinger <vapier@gentoo.org>
3055
3056 * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
3057 * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
3058
3059 2015-08-18 Mike Frysinger <vapier@gentoo.org>
3060
3061 * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
3062 * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
3063
3064 2015-08-18 Mike Frysinger <vapier@gentoo.org>
3065
3066 * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
3067 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
3068
3069 2015-08-18 Mike Frysinger <vapier@gentoo.org>
3070
3071 * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
3072 * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
3073
3074 2015-08-18 Mike Frysinger <vapier@gentoo.org>
3075
3076 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
3077 SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
3078
3079 2015-08-18 Mike Frysinger <vapier@gentoo.org>
3080
3081 * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
3082
3083 2015-08-18 Mike Frysinger <vapier@gentoo.org>
3084
3085 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
3086 kernel-features.h include. Delete __ASSUME_LWS_CAS checks.
3087 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3088 (__ASSUME_LWS_CAS): Delete.
3089
3090 2015-08-18 Mike Frysinger <vapier@gentoo.org>
3091
3092 * sysdeps/hppa/configure.ac: Delete binutils tls checks.
3093 * sysdeps/hppa/configure: Regenerated.
3094 * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
3095 * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
3096 * sysdeps/hppa/nptl/tls.h: Likewise.
3097
3098 2015-08-17 Joseph Myers <joseph@codesourcery.com>
3099
3100 [BZ #18823]
3101 * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
3102 for scaling up small arguments.
3103 * math/s_csqrtf.c (__csqrtf): Likewise.
3104 * math/s_csqrtl.c (__csqrtl): Likewise.
3105 * math/auto-libm-test-in: Add more tests of csqrt.
3106 * math/auto-libm-test-out: Regenerated.
3107
3108 2015-08-17 Andreas Schwab <schwab@suse.de>
3109
3110 * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
3111 version set GLIBC_2.19.
3112
3113 2015-08-16 Zack Weinberg <zackw@panix.com>
3114
3115 [BZ #18681]
3116 * misc/regexp.h: This interface is no longer supported.
3117 Remove all contents, leaving only an #error directive.
3118 * misc/regexp.c (loc1, loc2, locs, step, advance):
3119 Demote to compatibility symbols.
3120
3121 2015-08-15 Paul Pluzhnikov <ppluzhnikov@google.com>
3122
3123 [BZ #18084]
3124 * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
3125 * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
3126 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
3127 * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
3128 * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
3129 * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
3130 * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
3131 * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
3132 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
3133
3134 2015-08-15 Zack Weinberg <zackw@panix.com>
3135
3136 [BZ #18795]
3137 * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
3138 buffer length is known to be too large, not if it's known to be
3139 small enough.
3140 * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
3141 overflow at runtime, involving a length parameter, twice: once
3142 with a compile-time constant length parameter, once without.
3143
3144 2015-08-14 Joseph Myers <joseph@codesourcery.com>
3145
3146 [BZ #18824]
3147 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
3148 scaling x * y up instead of down.
3149 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3150 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3151 * math/auto-libm-test-in: Add more tests of fma.
3152 * math/auto-libm-test-out: Regenerated.
3153
3154 2015-08-14 Paul Pluzhnikov <ppluzhnikov@google.com>
3155
3156 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3157
3158 2015-08-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3159
3160 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
3161 unnecessary movq.
3162 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
3163 Likewise.
3164
3165 2015-08-13 Joseph Myers <joseph@codesourcery.com>
3166
3167 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
3168 asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
3169 exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
3170 and tgamma.
3171 * math/auto-libm-test-out: Regenerated.
3172 * sysdeps/i386/fpu/libm-test-ulps: Update.
3173 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3174
3175 [BZ #16520]
3176 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
3177 (__tanh): Force underflow exception for arguments with small
3178 absolute value.
3179 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
3180 (__tanhf): Force underflow exception for arguments with small
3181 absolute value.
3182 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
3183 (__tanhl): Force underflow exception for arguments with small
3184 absolute value.
3185 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
3186 (__tanhl): Force underflow exception for arguments with small
3187 absolute value.
3188 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
3189 (__tanhl): Force underflow exception for arguments with small
3190 absolute value.
3191 * math/auto-libm-test-in: Add more tests of tanh.
3192 * math/auto-libm-test-out: Regenerated.
3193 * sysdeps/i386/fpu/libm-test-ulps: Update.
3194
3195 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
3196
3197 * sysdeps/x86/cpu-features.c (init_cpu_features): Call
3198 __get_cpuid_max if not compiling for i586, i686 nor x86-64.
3199
3200 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
3201
3202 * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
3203 <cpuid.h>.
3204
3205 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
3206
3207 * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
3208 Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
3209
3210 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
3211
3212 * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
3213 Remove $(objpfx)init-arch.o.
3214 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
3215 init-arch.
3216 * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
3217 (INIT_ARCH_EXT): Defined as empty.
3218 (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
3219 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
3220 __init_cpu_features call. Replace HAS_XXX with
3221 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
3222 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
3223 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
3224 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
3225 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
3226 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
3227 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
3228 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
3229 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
3230 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
3231 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
3232 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
3233 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
3234 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
3235 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
3236 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
3237 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
3238 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
3239 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
3240 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
3241 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
3242 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
3243 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
3244 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
3245 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
3246 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
3247 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
3248 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
3249 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
3250 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
3251 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
3252 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
3253 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
3254 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
3255 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
3256 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
3257
3258 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
3259
3260 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
3261 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
3262 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
3263 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
3264 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
3265 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
3266 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
3267 * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
3268 * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
3269 * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
3270 call. Merge SHARED and !SHARED. Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
3271 Use LOAD_FUNC_GOT_EAX to load function address. Replace HAS_XXX
3272 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
3273 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3274 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3275 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3276 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3277 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3278 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3279 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3280 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3281 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3282 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3283 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3284 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3285 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3286 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3287 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3288 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3289 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3290 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3291 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3292 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3293 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3294 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3295 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3296 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3297 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3298 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3299 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3300 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3301 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3302 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3303
3304 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
3305
3306 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
3307 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
3308 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
3309 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
3310 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
3311 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
3312 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
3313 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
3314 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
3315 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
3316 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
3317 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
3318 LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
3319 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
3320 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
3321 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
3322 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
3323 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
3324 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
3325 * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
3326 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
3327 * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
3328 * sysdeps/x86_64/multiarch/strstr.c: Likewise.
3329 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3330 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
3331 * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
3332 * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
3333 call. Add LOAD_RTLD_GLOBAL_RO_RDX. Replace HAS_XXX with
3334 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
3335 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
3336 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3337 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3338 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3339 * sysdeps/x86_64/multiarch/memset.S: Likewise.
3340 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3341 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
3342 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
3343 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3344 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
3345 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
3346 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3347 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
3348 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
3349
3350 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
3351
3352 * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
3353 (dl_platform_init): Call init_cpu_features.
3354 * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
3355 * sysdeps/i386/i686/cacheinfo.c
3356 (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
3357 * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
3358 * sysdeps/i386/i686/multiarch/Versions: Removed.
3359 * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
3360 Removed.
3361 * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
3362 * sysdeps/unix/sysv/linux/x86/Makefile
3363 (libpthread-sysdep_routines): Remove init-arch.
3364 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
3365 <sysdeps/x86_64/dl-procinfo.c> instead of
3366 sysdeps/generic/dl-procinfo.c>.
3367 * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
3368 Add cpu-features-offsets.sym and rtld-global-offsets.sym.
3369 [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
3370 [$(subdir) == elf] (tests): Add tst-get-cpu-features.
3371 [$(subdir) == elf] (tests-static): Add
3372 tst-get-cpu-features-static.
3373 * sysdeps/x86/Versions: New file.
3374 * sysdeps/x86/cpu-features-offsets.sym: Likewise.
3375 * sysdeps/x86/cpu-features.c: Likewise.
3376 * sysdeps/x86/cpu-features.h: Likewise.
3377 * sysdeps/x86/dl-get-cpu-features.c: Likewise.
3378 * sysdeps/x86/libc-start.c: Likewise.
3379 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
3380 * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
3381 * sysdeps/x86/tst-get-cpu-features.c: Likewise.
3382 * sysdeps/x86_64/dl-procinfo.c: Likewise.
3383 * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
3384 Assume USE_MULTIARCH is defined and don't check it.
3385 (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
3386 (is_amd): Likewise.
3387 (max_cpuid): Likewise.
3388 (intel_check_word): Likewise.
3389 (__cache_sysconf): Don't call __init_cpu_features.
3390 (__x86_preferred_memory_instruction): Removed.
3391 (init_cacheinfo): Don't call __init_cpu_features. Replace
3392 __cpu_features with GLRO(dl_x86_cpu_features).
3393 * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
3394 (dl_platform_init): Call init_cpu_features.
3395 * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
3396 * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
3397 * sysdeps/x86_64/multiarch/Versions: Removed.
3398 * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
3399 * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
3400 * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
3401 Removed.
3402 * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
3403
3404 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
3405
3406 [BZ #18820]
3407 * libio/Makefile (test-fmemopen-mem): New test.
3408 * libio/test-fmemopen.c (do_bz18820): New test.
3409 * libio/fmemopen.c (__fmemopen): Fix memory leak.
3410 * libio/oldfmemopen.c (__old_fmemopen): Likewise.
3411
3412 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
3413
3414 [BZ #16734]
3415 * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
3416 (FREE_BUF): Delete.
3417 * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
3418 * libio/genops.c (_IO_setb): Use malloc and free directly.
3419 (_IO_default_doallocate, _IO_default_finish): Likewise.
3420 ( _IO_unbuffer_all): Likewise.
3421 ( libc_freeres_fn): Likewise.
3422 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
3423 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
3424 * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
3425 (_IO_wdefault_doallocate): Likewise.
3426
3427 2015-08-11 Paul Pluzhnikov <ppluzhnikov@google.com>
3428
3429 [BZ #18086]
3430 * sysdeps/posix/nice.c (nice): Restore old errno.
3431 * posix/tst-nice.c (do_test): Add test for BZ #18086.
3432
3433 2015-08-10 Ondrej Bilka <neleai@seznam.cz>
3434
3435 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
3436
3437 2015-08-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3438
3439 * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
3440 __bcopy and add a weak_alias to bcopy.
3441 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
3442 for static build.
3443
3444 * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
3445 cleanup macro usage.
3446 * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
3447 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
3448 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
3449 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
3450 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
3451 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
3452 * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
3453 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
3454 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
3455 * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
3456 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
3457 [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
3458 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
3459 [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
3460 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
3461 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
3462 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
3463 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
3464 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
3465
3466 * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
3467 libc_hidden_def.
3468 (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
3469
3470 * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
3471 (sysdep_routines): Add strstr-ppc64.
3472 * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
3473
3474 2015-08-10 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
3475
3476 [BZ #18778]
3477 * elf/Makefile (tests): Add Add tst-nodelete2.
3478 (modules-names): Add tst-nodelete2mod.
3479 (tst-nodelete2mod.so-no-z-defs): New.
3480 ($(objpfx)tst-nodelete2): Likewise.
3481 ($(objpfx)tst-nodelete2.out): Likewise.
3482 (LDFLAGS-tst-nodelete2): Likewise.
3483 * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
3484 out of loop through all loaded libraries.
3485 * elf/tst-nodelete2.c: New file.
3486 * elf/tst-nodelete2mod.c: Likewise.
3487 * elf/tst-znodelete-zlib.cc: Delete.
3488
3489 2015-08-11 Andreas Schwab <schwab@suse.de>
3490
3491 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
3492 * sysdeps/unix/sysv/linux/wordsize-64/openat.c
3493 (__openat64_nocancel): Likewise.
3494
3495 2015-08-11 Joseph Myers <joseph@codesourcery.com>
3496
3497 * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
3498 atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
3499 expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
3500 * math/auto-libm-test-out: Regenerated.
3501 * sysdeps/i386/fpu/libm-test-ulps: Update.
3502 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3503
3504 2015-08-10 Joseph Myers <joseph@codesourcery.com>
3505
3506 [BZ #18790]
3507 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
3508 threshold for returning +/- 1.
3509 * math/auto-libm-test-in: Add more tests of tanh.
3510 * math/auto-libm-test-out: Regenerated.
3511 * sysdeps/i386/fpu/libm-test-ulps: Update.
3512
3513 2015-08-10 Andreas Schwab <schwab@suse.de>
3514
3515 [BZ #18781]
3516 * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
3517 MORE_OFLAGS to oflag.
3518 * io/test-lfs.c (do_test): Test openat64.
3519
3520 2015-08-10 Joseph Myers <joseph@codesourcery.com>
3521
3522 [BZ #18789]
3523 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
3524 smaller threshold for returning the argument.
3525 * math/auto-libm-test-in: Add more tests of sinh.
3526 * math/auto-libm-test-out: Regenerated.
3527 * sysdeps/i386/fpu/libm-test-ulps: Update.
3528
3529 2015-08-09 H.J. Lu <hongjiu.lu@intel.com>
3530
3531 [BZ #18674]
3532 * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
3533 break.
3534
3535 2015-08-09 Andreas Schwab <schwab@linux-m68k.org>
3536
3537 * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
3538 (generated): Don't add $(addprefix z.,$(tzfiles)).
3539
3540 2015-08-09 Mike Frysinger <vapier@gentoo.org>
3541
3542 * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
3543 * scripts/sysd-rules.awk: Likewise.
3544
3545 2015-08-09 Mike Frysinger <vapier@gentoo.org>
3546
3547 * iconvdata/tst-tables.sh: Change echo -n to printf.
3548 * nss/db-Makefile: Likewise.
3549 * posix/tst-getconf.sh: Likewise.
3550 * stdio-common/tst-unbputc.sh: Likewise.
3551
3552 2015-08-09 Mike Frysinger <vapier@gentoo.org>
3553
3554 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
3555 MADV_*_PAGES defines behind this feature check.
3556
3557 2015-08-09 John David Anglin <danglin@gcc.gnu.org>
3558
3559 [BZ #18480]
3560 * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
3561 LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
3562 Define.
3563 (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
3564 LOAD_REGS_5, LOAD_REGS_6): Update.
3565 (INTERNAL_SYSCALL): Update using new LOAD defines.
3566 (INTERNAL_SYSCALL_NCS): Likewise.
3567 * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
3568
3569 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
3570
3571 [BZ #16734]
3572 * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
3573
3574 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
3575
3576 [BZ #17905]
3577 * catgets/Makefile (tst-catgets-mem): New test.
3578 * catgets/catgets.c (catopen): Don't use unbounded alloca.
3579 * catgets/open_catalog.c (__open_catalog): Likewise.
3580 * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
3581
3582 2015-08-08 John David Anglin <danglin@gcc.gnu.org>
3583
3584 [BZ #18787]
3585 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
3586 clobber registers.
3587 (atomic_compare_and_exchange_val_acq): Use register asms to assign
3588 operand registers. Use register %r20 for EAGAIN and EDEADLOCK checks.
3589 Cast return to __typeof (oldval).
3590
3591 2015-08-08 Mike Frysinger <vapier@gentoo.org>
3592
3593 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
3594 in _LINUX_MICROBLAZE_SYSDEP_H defines. Include sysdeps/unix/sysdep.h
3595 and delete sys/syscall.h include.
3596
3597 2015-08-07 Joseph Myers <joseph@codesourcery.com>
3598
3599 [BZ #16517]
3600 * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
3601 (tan): Force underflow exception for arguments with small absolute
3602 value.
3603 * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
3604 (__kernel_tanf): Force underflow exception for arguments with
3605 small absolute value.
3606 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
3607 (__kernel_tanl): Force underflow exception for arguments with
3608 small absolute value.
3609 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
3610 (__kernel_tanl): Force underflow exception for arguments with
3611 small absolute value.
3612 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
3613 (__kernel_tanl): Force underflow exception for arguments with
3614 small absolute value.
3615 * math/auto-libm-test-in: Add more tests of tan.
3616 * math/auto-libm-test-out: Regenerated.
3617
3618 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
3619
3620 Fix sysdeps/i386/fpu/s_scalbn.S build
3621
3622 * math/Versions (libc: GLIBC_2_22): New (empty) version set.
3623
3624 2015-08-07 Mike Frysinger <vapier@gentoo.org>
3625
3626 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
3627
3628 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
3629
3630 Fix gcrt0.o compilation
3631
3632 When static-start-installed-name is different from
3633 start-installed-name, we must not use the shared objects.
3634
3635 * csu/Makefile
3636 (extra-objs): Add gmon-start.o when building shared library and
3637 $(static-start-installed-name) is different from
3638 $(start-installed-name).
3639 $(objpfx)g$(static-start-installed-name): When building shared
3640 library and $(static-start-installed-name) is different from
3641 $(static-start-installed-name), revert to non-shared rule,
3642 i.e. using $(objpfx)% and gmon-start.o.
3643
3644 2015-08-06 Joseph Myers <joseph@codesourcery.com>
3645
3646 [BZ #16519]
3647 * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
3648 (__ieee754_sinh): Force underflow exception for arguments with
3649 small absolute value.
3650 * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
3651 (__ieee754_sinhf): Force underflow exception for arguments with
3652 small absolute value.
3653 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
3654 (__ieee754_sinhl): Force underflow exception for arguments with
3655 small absolute value.
3656 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
3657 (__ieee754_sinhl): Force underflow exception for arguments with
3658 small absolute value.
3659 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
3660 (__ieee754_sinhl): Force underflow exception for arguments with
3661 small absolute value.
3662 * math/auto-libm-test-in: Add more tests of sinh.
3663 * math/auto-libm-test-out: Regenerated.
3664 * sysdeps/i386/fpu/libm-test-ulps: Update.
3665
3666 2015-08-06 Paul Pluzhnikov <ppluzhnikov@google.com>
3667
3668 * libio/oldfileops.c: Include unistd.h.
3669
3670 2015-08-06 Mike Frysinger <vapier@gentoo.org>
3671
3672 * stdlib/isomac.c: Include ctype.h.
3673
3674 2015-08-06 Arjun Shankar <arjun.is@lostca.se>
3675
3676 * dirent/tst-seekdir.c (main): Converted to ...
3677 (do_test): ... this.
3678 (TEST_FUNCTION): New macro.
3679 Include test-skeleton.c.
3680 * elf/tst-dlmodcount.c (main): Converted to ...
3681 (do_test): ... this.
3682 (TEST_FUNCTION): New macro.
3683 Include test-skeleton.c.
3684 * elf/tst-order-main.c (main): Converted to ...
3685 (do_test): ... this.
3686 (TEST_FUNCTION): New macro.
3687 Include test-skeleton.c.
3688 * elf/tst-pie2.c (main): Converted to ...
3689 (do_test): ... this.
3690 (TEST_FUNCTION): New macro.
3691 Include test-skeleton.c.
3692 * inet/tst-ether_aton.c (main): Converted to ...
3693 (do_test): ... this.
3694 (TEST_FUNCTION): New macro.
3695 Include test-skeleton.c.
3696 * misc/tst-mntent.c (main): Converted to ...
3697 (do_test): ... this.
3698 (TEST_FUNCTION): New macro.
3699 Include test-skeleton.c.
3700 * misc/tst-tsearch.c (main): Converted to ...
3701 (do_test): ... this.
3702 (TEST_FUNCTION): New macro.
3703 Include test-skeleton.c.
3704 * posix/tst-regexloc.c (main): Converted to ...
3705 (do_test): ... this.
3706 (TEST_FUNCTION): New macro.
3707 Include test-skeleton.c.
3708 * resolv/tst-aton.c (main): Converted to ...
3709 (do_test): ... this.
3710 (TEST_FUNCTION): New macro.
3711 Include test-skeleton.c.
3712 * stdio-common/test-fwrite.c (main): Converted to ...
3713 (do_test): ... this.
3714 (TEST_FUNCTION): New macro.
3715 Include test-skeleton.c.
3716 * stdio-common/tst-ferror.c (main): Converted to ...
3717 (do_test): ... this.
3718 (TEST_FUNCTION): New macro.
3719 Include test-skeleton.c.
3720 * stdio-common/tst-printf.c (main): Converted to ...
3721 (do_test): ... this.
3722 (TEST_FUNCTION): New macro.
3723 Include test-skeleton.c.
3724 * stdio-common/tst-printfsz.c (main): Converted to ...
3725 (do_test): ... this.
3726 (TEST_FUNCTION): New macro.
3727 Include test-skeleton.c.
3728 * stdlib/tst-strtod.c (main): Converted to ...
3729 (do_test): ... this.
3730 (TEST_FUNCTION): New macro.
3731 Include test-skeleton.c.
3732 * string/tst-strlen.c (main): Converted to ...
3733 (do_test): ... this.
3734 (TEST_FUNCTION): New macro.
3735 Include test-skeleton.c.
3736 * string/tst-svc.c (main): Converted to ...
3737 (do_test): ... this.
3738 (TEST_FUNCTION): New macro.
3739 Include test-skeleton.c.
3740 * time/tst-strptime.c (main): Converted to ...
3741 (do_test): ... this.
3742 (TEST_FUNCTION): New macro.
3743 Include test-skeleton.c.
3744 * timezone/tst-timezone.c (main): Converted to ...
3745 (do_test): ... this.
3746 (TEST_FUNCTION): New macro.
3747 Include test-skeleton.c.
3748
3749 2015-08-05 Zack Weinberg <zackw@panix.com>
3750
3751 * misc/regexp.h: Update comments.
3752
3753 2015-08-05 Andreas Schwab <schwab@linux-m68k.org>
3754
3755 [BZ #18635]
3756 * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
3757 before return label.
3758
3759 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
3760
3761 [BZ #18661]
3762 * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
3763 when calling __errno_location.
3764 * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
3765 * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
3766
3767 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
3768
3769 [BZ #18661]
3770 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
3771 (__lll_timedwait_tid): Align stack to 16 bytes when calling
3772 __gettimeofday.
3773
3774 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
3775
3776 [BZ #18661]
3777 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
3778 (__start_context): Don't use pop to restore %rdi so that stack
3779 is aligned to 16 bytes when calling __setcontext.
3780
3781 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
3782
3783 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
3784 only for libc.
3785 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
3786
3787 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
3788
3789 * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
3790 (__mempcpy): Likewise. (__mempcpy_inline): New inline function.
3791 * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
3792
3793 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
3794
3795 * string/memccpy.c (memccpy):
3796 Improve performance by using memchr/memcpy/__mempcpy.
3797
3798 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
3799
3800 * string/strncpy.c (strncpy):
3801 Improve performance by using __strnlen/memcpy.
3802
3803 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
3804
3805 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
3806 Optimize to avoid an unnecessary FPCR read.
3807
3808 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
3809
3810 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
3811 Optimize to reduce FPCR/FPSR accesses.
3812
3813 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
3814
3815 * locale/loadarchive.c (_nl_archive_subfreeres): Also check
3816 dead->data[category] != NULL.
3817
3818 2015-08-05 Joseph Myers <joseph@codesourcery.com>
3819
3820 [BZ #18647]
3821 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
3822 and |x| close to 1, use absolute value of x when computing log.
3823 * math/auto-libm-test-in: Add more tests of pow.
3824 * math/auto-libm-test-out: Regenerated.
3825
3826 2015-08-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3827
3828 * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
3829 * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
3830 * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
3831
3832 2015-08-05 Marko Myllynen <myllynen@redhat.com>
3833
3834 [BZ #18525]
3835 * locales/km_KH: Remove timezone definition.
3836 * locales/lo_LA: Likewise.
3837 * locales/my_MM: Likewise.
3838 * locales/nan_TW@latin: Likewise.
3839 * locales/th_TH: Likewise.
3840 * locales/uk_UA: Likewise.
3841
3842 2015-08-05 Daniel Marjamäki <daniel.marjamaki@evidente.se>
3843
3844 [BZ #18265]
3845 * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
3846 (wcsncat): Likewise.
3847 (wcscmp): Likewise.
3848 (wcsncmp): Likewise.
3849
3850 2015-08-05 Mike Frysinger <vapier@gentoo.org>
3851
3852 * test-skeleton.c (usage): New function.
3853 (main): Call usage when opt is '?'.
3854
3855 2015-08-05 Mike Frysinger <vapier@gentoo.org>
3856
3857 * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
3858 before first use.
3859
3860 2015-08-05 Mike Frysinger <vapier@gentoo.org>
3861
3862 * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
3863 bottom and under _STACK_GROWS_DOWN. Move the stacktop assignment
3864 in there too.
3865
3866 2015-08-05 Carlos O'Donell <carlos@systemhalted.org>
3867
3868 * version.h (RELEASE): Set to "development".
3869 (VERSION): Set to "2.22.90"
3870
3871 * version.h (RELEASE): Set to "stable".
3872 (VERSION): Set to "2.22"
3873 * include/features.h (__GLIBC_MINOR__): Set to 22.
3874
3875 2015-08-04 Chris Metcalf <cmetcalf@ezchip.com>
3876
3877 * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
3878 Restructure macro to avoid "value computed is not used" warning.
3879 (atomic_compare_and_exchange_val_acq): Likewise.
3880
3881 2015-08-04 Andreas Schwab <schwab@suse.de>
3882
3883 [BZ #18635]
3884 * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
3885 ret.
3886 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
3887
3888 2015-08-01 Carlos O'Donell <carlos@redhat.com>
3889
3890 * po/pl.po: Updated translation.
3891 * po/uk.po: Likewise.
3892 * po/fi.po: Likewise.
3893 * po/ko.po: Likewise.
3894 * po/ru.po: Likewise.
3895 * po/vi.po: Likewise.
3896
3897 2015-07-31 Zack Weinberg <zackw@panix.com>
3898
3899 [BZ #18681]
3900 * regexp.h: Add unconditional #warning stating that this header
3901 will be removed soon. Revise banner comment to match.
3902 (compile): Consistently use ERROR instead of RETURN to report
3903 errors (partial fix for bz#18681).
3904 * regexp.c: Don't include regexp.h. Remove some unnecessary
3905 declarations.
3906
3907 2015-07-31 Carlos O'Donell <carlos@redhat.com>
3908
3909 * po/libc.pot: Regenerated.
3910
3911 2015-07-30 Andrew Senkevich <andrew.senkevich@intel.com>
3912
3913 [BZ #18740]
3914 * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
3915 float-vlen4-arch-ext-cflags): Removed.
3916 * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
3917 CFLAGS-test-float-vlen4-wrappers.c): Likewise.
3918
3919 2015-07-30 Mike Frysinger <vapier@gentoo.org>
3920
3921 [BZ #14113]
3922 * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
3923 aligned to __aligned__.
3924 (pthread_cond_t, pthread_rwlock_t): Likewise.
3925
3926 2015-07-30 Torvald Riegel <triegel@redhat.com>
3927
3928 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
3929
3930 2015-07-30 Mike Frysinger <vapier@gentoo.org>
3931
3932 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
3933 (struct sigaction): Change sa_flags from a long to an int, and add
3934 __glibc_reserved0 before it for padding when __WORDSIZE is 64.
3935
3936 2015-07-30 Mike Frysinger <vapier@gentoo.org>
3937
3938 * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
3939 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
3940 sysdeps/generic/sysdep.h include.
3941 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
3942 _LINUX_HPPA_SYSDEP_H defines. Include sysdeps/unix/sysdep.h and
3943 sysdeps/hppa/sysdep.h.
3944 (ENTRY, PSEUDO): Undefine before defining.
3945
3946 2015-07-30 Mike Frysinger <vapier@gentoo.org>
3947
3948 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
3949 from scratch to use INTERNAL_SYSCALL.
3950
3951 2015-07-29 H.J. Lu <hongjiu.lu@intel.com>
3952
3953 [BZ #18078]
3954 * scripts/check-localplt.awk: Support alternate relocations.
3955 * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
3956 sections.
3957 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
3958 malloc entries with + REL R_386_GLOB_DAT.
3959 * sysdeps/x86_64/localplt.data: New file.
3960
3961 2015-07-29 Andrew Senkevich <andrew.senkevich@intel.com>
3962
3963 [BZ #18731]
3964 * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
3965 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3966 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3967
3968 2015-07-27 Mike Frysinger <vapier@gentoo.org>
3969
3970 * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
3971
3972 2015-07-27 Mike Frysinger <vapier@gentoo.org>
3973
3974 * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
3975 directly in terms of __sync_fetch_and_add and delete (int) cast.
3976
3977 2015-07-27 Mike Frysinger <vapier@gentoo.org>
3978
3979 * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
3980 the -D_ASM_IA64_CURRENT_H flag.
3981
3982 2015-07-27 Mike Frysinger <vapier@gentoo.org>
3983
3984 [BZ #18641]
3985 * pwd/pwd.h (putpwent): Delete __nonnull markings.
3986
3987 2015-07-27 Andreas Schwab <schwab@suse.de>
3988
3989 * conform/conformtest.pl (checknamespace): Filter out string
3990 literals while tokenizing.
3991
3992 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
3993
3994 * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
3995 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
3996 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
3997
3998 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
3999
4000 * nptl/tst-join7mod.c: Add #include <string.h>.
4001
4002 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
4003
4004 * sysdeps/nios2/libm-test-ulps: Update.
4005
4006 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
4007
4008 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
4009 Fix order of arguments to the rt_sigprocmask syscall.
4010 * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
4011 Likewise.
4012
4013 2015-07-24 Roland McGrath <roland@hack.frob.com>
4014
4015 * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
4016
4017 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4018
4019 [BZ #18457]
4020 * nptl/Makefile (tests): New test case tst-join7.
4021 (modules-names): New test case module tst-join7mod.
4022 * nptl/tst-join7.c: New file.
4023 * nptl/tst-join7mod.c: New file.
4024 * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
4025 all translation units in libc.so, libpthread.so and rtld.
4026
4027 2015-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4028
4029 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4030
4031 2015-07-24 Andrew Senkevich <andrew.senkevich@intel.com>
4032
4033 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
4034 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
4035 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
4036 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
4037 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
4038 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
4039 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
4040 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
4041 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
4042 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
4043 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
4044 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
4045 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
4046 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
4047 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
4048 implementation.
4049
4050 2015-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
4051
4052 [BZ #17711]
4053 * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
4054 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
4055 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
4056 * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
4057 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
4058 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
4059
4060 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4061
4062 * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
4063 instead of just saying load lock in the comments.
4064
4065 2015-07-23 Roland McGrath <roland@hack.frob.com>
4066
4067 * sysdeps/unix/Subdirs: Moved ...
4068 * sysdeps/posix/Subdirs: ... here.
4069 * login/pty.h (struct termios, struct winsize): Add forward decls.
4070 * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
4071 * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
4072 * sysdeps/arm/nacl/libc.abilist: Updated.
4073 * sysdeps/nacl/libutil.abilist: New file.
4074
4075 * bits/signum.h: Update comments to mention 1003.1-2013 too.
4076 (SIGWINCH): New macro.
4077
4078 * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
4079 * sysdeps/arm/nacl/libc.abilist: Add it.
4080
4081 2015-07-23 Mike Frysinger <vapier@gentoo.org>
4082
4083 * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
4084
4085 2015-07-23 Mike Frysinger <vapier@gentoo.org>
4086
4087 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
4088 Swap __glibc_reserved0 and sa_flags order.
4089
4090 2015-07-23 Siddhesh Poyarekar <siddhesh@redhat.com>
4091
4092 [BZ #18657]
4093 * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
4094 are pending TLS destructor calls.
4095 * include/link.h (struct link_map): Add concurrency note for
4096 L_TLS_DTOR_COUNT.
4097 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
4098 Don't touch the link map flag. Atomically increment
4099 l_tls_dtor_count.
4100 (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
4101 Avoid taking the load lock and don't touch the link map flag.
4102 * stdlib/tst-tls-atexit-nodelete.c: New test case.
4103 * stdlib/Makefile (tests): Use it.
4104 * stdlib/tst-tls-atexit.c (do_test): dlopen
4105 tst-tls-atexit-lib.so again before dlclose. Add conditionals
4106 to allow tst-tls-atexit-nodelete test case to use it.
4107
4108 2015-07-22 Mike Frysinger <vapier@gentoo.org>
4109
4110 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
4111 to bits/types.h.
4112 (msgqnum_t): New typedef.
4113 (msglen_t): Likewise.
4114 (struct msqid_ds): Update comment. Change msg_qnum type to msgqnum_t
4115 and msg_qbytes type to msglen_t.
4116
4117 2015-07-22 Mike Frysinger <vapier@gentoo.org>
4118
4119 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
4120 pad0 to __glibc_reserved0.
4121 (struct stat64): Likewise.
4122
4123 2015-07-22 Mike Frysinger <vapier@gentoo.org>
4124
4125 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
4126 Change sa_flags from a long to an int and add __glibc_reserved0 before
4127 it for padding.
4128
4129 2015-07-22 Mike Frysinger <vapier@gentoo.org>
4130
4131 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
4132 anonymous by deleting "siginfo" name.
4133
4134 2015-07-21 Roland McGrath <roland@hack.frob.com>
4135
4136 * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
4137 * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
4138 rather than __nacl_irt_filename.
4139 * sysdeps/nacl/xstat.c (__xstat): Likewise.
4140
4141 * NEWS: New item for arm-nacl port.
4142 * sysdeps/arm/nacl/libc.abilist: New file.
4143 * sysdeps/nacl/ld.abilist: New file.
4144 * sysdeps/nacl/libBrokenLocale.abilist: New file.
4145 * sysdeps/nacl/libanl.abilist: New file.
4146 * sysdeps/nacl/libcrypt.abilist: New file.
4147 * sysdeps/nacl/libdl.abilist: New file.
4148 * sysdeps/nacl/libm.abilist: New file.
4149 * sysdeps/nacl/libpthread.abilist: New file.
4150 * sysdeps/nacl/libresolv.abilist: New file.
4151 * sysdeps/nacl/librt.abilist: New file.
4152
4153 2015-07-21 Chris Metcalf <cmetcalf@ezchip.com>
4154
4155 * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
4156 __startcontext to initialize the new context.
4157 * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
4158 up CFI directive to forbid further backtracing.
4159
4160 2015-07-21 Marko Myllynen <myllynen@redhat.com>
4161
4162 * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
4163 reference.
4164 * charmaps/ANSI_X3.4-1968: Likewise.
4165 * charmaps/BS_4730: Likewise.
4166 * charmaps/BS_VIEWDATA: Likewise.
4167 * charmaps/CP1250: Likewise.
4168 * charmaps/CP1251: Likewise.
4169 * charmaps/CP1252: Likewise.
4170 * charmaps/CP1253: Likewise.
4171 * charmaps/CP1254: Likewise.
4172 * charmaps/CP1255: Likewise.
4173 * charmaps/CP1256: Likewise.
4174 * charmaps/CSN_369103: Likewise.
4175 * charmaps/EBCDIC-DK-NO: Likewise.
4176 * charmaps/GB_1988-80: Likewise.
4177 * charmaps/GREEK-CCITT: Likewise.
4178 * charmaps/GREEK7: Likewise.
4179 * charmaps/INIS-8: Likewise.
4180 * charmaps/ISIRI-3342: Likewise.
4181 * charmaps/ISO_2033-1983: Likewise.
4182 * charmaps/ISO_5427-EXT: Likewise.
4183 * locales/POSIX: Likewise.
4184 * locales/ar_SA: Likewise.
4185 * locales/be_BY: Likewise.
4186 * locales/be_BY@latin: Likewise.
4187 * locales/ca_ES: Likewise.
4188 * locales/cs_CZ: Likewise.
4189 * locales/da_DK: Likewise.
4190 * locales/de_BE: Likewise.
4191 * locales/de_CH: Likewise.
4192 * locales/de_LU: Likewise.
4193 * locales/en_AU: Likewise.
4194 * locales/en_BW: Likewise.
4195 * locales/en_CA: Likewise.
4196 * locales/en_DK: Likewise.
4197 * locales/en_GB: Likewise.
4198 * locales/en_IE: Likewise.
4199 * locales/en_NZ: Likewise.
4200 * locales/en_ZA: Likewise.
4201 * locales/en_ZW: Likewise.
4202 * locales/es_AR: Likewise.
4203 * locales/es_BO: Likewise.
4204 * locales/es_CL: Likewise.
4205 * locales/es_CO: Likewise.
4206 * locales/es_DO: Likewise.
4207 * locales/es_EC: Likewise.
4208 * locales/es_ES: Likewise.
4209 * locales/es_HN: Likewise.
4210 * locales/es_MX: Likewise.
4211 * locales/es_PA: Likewise.
4212 * locales/es_PE: Likewise.
4213 * locales/es_PY: Likewise.
4214 * locales/es_SV: Likewise.
4215 * locales/es_US: Likewise.
4216 * locales/es_UY: Likewise.
4217 * locales/es_VE: Likewise.
4218 * locales/et_EE: Likewise.
4219 * locales/fa_IR: Likewise.
4220 * locales/fo_FO: Likewise.
4221 * locales/fr_CA: Likewise.
4222 * locales/fr_CH: Likewise.
4223 * locales/gv_GB: Likewise.
4224 * locales/he_IL: Likewise.
4225 * locales/hr_HR: Likewise.
4226 * locales/id_ID: Likewise.
4227 * locales/is_IS: Likewise.
4228 * locales/it_CH: Likewise.
4229 * locales/iw_IL: Likewise.
4230 * locales/kl_GL: Likewise.
4231 * locales/ko_KR: Likewise.
4232 * locales/kw_GB: Likewise.
4233 * locales/lg_UG: Likewise.
4234 * locales/lt_LT: Likewise.
4235 * locales/lv_LV: Likewise.
4236 * locales/mi_NZ: Likewise.
4237 * locales/nhn_MX: Likewise.
4238 * locales/nl_BE: Likewise.
4239 * locales/pl_PL: Likewise.
4240 * locales/sk_SK: Likewise.
4241 * locales/sl_SI: Likewise.
4242 * locales/sv_FI: Likewise.
4243 * locales/tl_PH: Likewise.
4244 * locales/tr_TR: Likewise.
4245 * locales/vi_VN: Likewise.
4246
4247 2015-07-21 Khem Raj <raj.khem@gmail.com>
4248
4249 [BZ #17475]
4250 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
4251 of tu_IN and bh_IN.
4252
4253 2015-07-21 Mike Frysinger <vapier@gentoo.org>
4254
4255 [BZ #18694]
4256 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
4257 bits/wordsize.h.
4258 (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
4259
4260 2015-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4261
4262 * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
4263 * stdlib/tst-tls-atexit.c: (is_loaded): New function.
4264 (spawn_thread): New function.
4265 (load): Rename to reg_dtor_and_close. Move dlopen to...
4266 (do_test): ... here. Use IS_LOADED to test for its
4267 availability.
4268
4269 2015-07-21 Andreas Schwab <schwab@linux-m68k.org>
4270
4271 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
4272
4273 2015-07-20 H.J. Lu <hongjiu.lu@intel.com>
4274
4275 [BZ #18696]
4276 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
4277 si_addr_bnd.
4278 (si_lower): New.
4279 (si_upper): Likewise.
4280
4281 2015-07-16 David S. Miller <davem@davemloft.net>
4282
4283 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
4284
4285 2015-07-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4286
4287 * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
4288 buffer.
4289 * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
4290 fail output information.
4291
4292 2015-07-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4293
4294 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
4295 and strstr-ppc64..
4296 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
4297 * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
4298 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
4299 * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
4300 * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
4301
4302 2015-07-16 Mike Frysinger <vapier@gentoo.org>
4303
4304 * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
4305 * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
4306 * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
4307 * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
4308
4309 2015-07-16 Mike Frysinger <vapier@gentoo.org>
4310
4311 * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
4312 * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
4313 rtld_hidden_proto.
4314 * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
4315
4316 2015-07-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4317
4318 * tst-nodelete-opened.c (do_test): Add comment to clarify how
4319 the test can fail.
4320
4321 * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
4322
4323 [BZ #18676]
4324 * elf/tst-nodelete-opened.c: New test case.
4325 * elf/tst-nodelete-opened-lib.c: New test case module.
4326 * elf/Makefile (tests, modules-names): Use them.
4327 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
4328 early.
4329
4330 2015-07-15 David S. Miller <davem@davemloft.net>
4331
4332 * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
4333 futex-intenal.h
4334 * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
4335 * sysdeps/sparc/sparc64/Makefile: Likewise.
4336 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
4337 Remove space from macro define.
4338 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
4339
4340 2015-07-15 Pravin Satpute <psatpute@redhat.com>
4341
4342 [BZ #17475]
4343 * locale/iso-639.def: Update Bhili and Tulu language codes as
4344 per iso639-3.
4345
4346 2015-07-15 Arjun Shankar <arjun.is@lostca.se>
4347
4348 * elf/tst-leaks1.c (main): Converted to ...
4349 (do_test): ... this.
4350 (TEST_FUNCTION): New macro.
4351 Include test-skeleton.c.
4352 * localedata/tst-langinfo.c (main): Converted to ...
4353 (do_test): ... this.
4354 (TEST_FUNCTION): New macro.
4355 Include test-skeleton.c.
4356 * math/test-fpucw.c (main): Converted to ...
4357 (do_test): ... this.
4358 (TEST_FUNCTION): New macro.
4359 Include test-skeleton.c.
4360 * math/test-tgmath.c (main): Converted to ...
4361 (do_test): ... this.
4362 (TEST_FUNCTION): New macro.
4363 Include test-skeleton.c.
4364 * math/test-tgmath2.c (main): Converted to ...
4365 (do_test): ... this.
4366 (TEST_FUNCTION): New macro.
4367 Include test-skeleton.c.
4368 * setjmp/tst-setjmp.c (main): Converted to ...
4369 (do_test): ... this.
4370 (TEST_FUNCTION): New macro.
4371 Include test-skeleton.c.
4372 * stdio-common/tst-sscanf.c (main): Converted to ...
4373 (do_test): ... this.
4374 (TEST_FUNCTION): New macro.
4375 Include test-skeleton.c.
4376 * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
4377 (do_test): ... this.
4378 (TEST_FUNCTION): New macro.
4379 Include test-skeleton.c.
4380
4381 * elf/tst-audit9.c (main): Converted to ...
4382 (do_test): ... this.
4383 (TEST_FUNCTION): New macro.
4384 Include test-skeleton.c.
4385
4386 2015-07-15 Mike Frysinger <vapier@gentoo.org>
4387
4388 * timezone/tst-tzset.c (TIMEOUT): Define to 5.
4389
4390 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
4391
4392 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
4393 New variable.
4394
4395 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
4396
4397 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
4398
4399 2015-07-14 Roland McGrath <roland@hack.frob.com>
4400
4401 * sysdeps/generic/dl-fileid.h: New file.
4402 * sysdeps/posix/dl-fileid.h: New file.
4403 * sysdeps/nacl/dl-fileid.h: New file.
4404 * include/link.h: Include <dl-fileid.h>.
4405 (struct link_map): Replace l_dev and l_ino with l_file_id.
4406 * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
4407 than __fxstat64. Use _dl_file_id_match_p rather than comparing l_dev
4408 and l_ino directly. Initialize l_file_id rather than l_dev and l_ino.
4409
4410 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4411
4412 * stdlib/tst-tls-atexit.c (do_test): Fix typo.
4413
4414 2015-07-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4415
4416 * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
4417 Add iff $CXX is set.
4418 [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
4419 Likewise.
4420 (tst-nodelete-zmodiff): Likewise.
4421 * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
4422
4423 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4424
4425 * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
4426
4427 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
4428
4429 * sysdeps/aarch64/fpu/math_private.h
4430 (define math_opt_barrier): Add AArch64 version.
4431 (math_force_eval): Likewise.
4432
4433 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
4434
4435 * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
4436
4437 2015-07-11 H.J. Lu <hongjiu.lu@intel.com>
4438
4439 * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
4440 %ld with %jd and cast to intmax_t.
4441 (do_test_length_zero): Likewise.
4442
4443 2015-07-10 Roland McGrath <roland@hack.frob.com>
4444
4445 * sysdeps/nacl/pthread_condattr_setclock.c: New file.
4446
4447 2015-07-10 Chris Metcalf <cmetcalf@ezchip.com>
4448
4449 * sysdeps/tile/libm-test-ulps: Regenerated.
4450
4451 * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
4452 Comment out the whole function, not just its body.
4453
4454 2015-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4455
4456 * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
4457 locks.
4458
4459 * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
4460
4461 2015-07-10 Torvald Riegel <triegel@redhat.com>
4462
4463 * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
4464 (sem_assume_only_signals_cause_futex_EINTR): Remove.
4465
4466 2015-07-10 Torvald Riegel <triegel@redhat.com>
4467
4468 * sysdeps/nptl/futex-internal.h: New file.
4469 * sysdeps/nacl/futex-internal.h: New file.
4470 * sysdeps/unix/sysv/linux/futex-internal.h: New file.
4471 * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
4472 error checking.
4473 (setxid_unmark_thread): Likewise.
4474 (__nptl_setxid): Likewise.
4475 (__wait_lookup_done): Likewise.
4476 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
4477 * nptl/nptl-init.c (sighandler_setxid): Likewise.
4478 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
4479 * nptl/pthread_once.c (clear_once_control): Likewise.
4480 (__pthread_once_slow): Likewise.
4481 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
4482 * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
4483 * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
4484 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
4485 * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
4486 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
4487 Likewise.
4488 (__pthread_rwlock_rdlock): Likewise.
4489 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
4490 Likewise.
4491 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
4492 Likewise.
4493 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
4494 Likewise.
4495 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
4496 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
4497 Likewise.
4498 * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
4499 __ASSUME_PRIVATE_FUTEX check.
4500 * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
4501 Check that shared futexes are supported.
4502 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
4503 wrappers with error checking.
4504 * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
4505 remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
4506 * nptl/pthread_barrierattr_setpshared.c
4507 (pthread_barrierattr_setpshared): Check that shared futexes are
4508 supported.
4509 * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
4510 Likewise.
4511 * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
4512 Likewise.
4513 * nptl/sem_init.c (futex_private_if_supported): Remove.
4514 (__new_sem_init): Adapt and check that shared futexes are supported.
4515 * nptl/sem_open.c (sem_open): Likewise.
4516 * nptl/sem_post.c (futex_wake): Remove.
4517 * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
4518 (do_futex_wait): Use futex wrappers with error checking.
4519 * nptl/sem_wait.c: Include lowlevellock.h.
4520 * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
4521 Use futex_supports_pshared.
4522 * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
4523 Use futex wrappers with error checking.
4524 * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
4525 Likewise.
4526 * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
4527 * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
4528 * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
4529 * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
4530 (futex_wake): Likewise.
4531 (sem_assume_only_signals_cause_futex_EINTR): Likewise.
4532 (do_futex_wait): Use futex wrappers with error checking.
4533 (__new_sem_wait_slow): Update EINTR handling.
4534 * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
4535
4536 2015-07-09 Martin Sebor <msebor@redhat.com>
4537
4538 [BZ #18435]
4539 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
4540 Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
4541 * nptl/Makefile (test-xfail-tst-once5): Define.
4542
4543 2015-07-09 Roland McGrath <roland@hack.frob.com>
4544
4545 * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
4546 * elf/dl-minimal.c: For readability, reorder some definitions and
4547 introduce more page breaks. Include <stdio.h>.
4548 (__libc_fatal): New function.
4549
4550 * include/unistd.h: Add rtld_hidden_proto for _exit.
4551 * posix/_exit.c: Add rtld_hidden_def.
4552 * sysdeps/mach/hurd/_exit.c: Likewise.
4553 * sysdeps/nacl/_exit.c: Likewise.
4554 * sysdeps/unix/sysv/linux/_exit.c: Likewise.
4555 * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
4556
4557 2015-07-09 H.J. Lu <hongjiu.lu@intel.com>
4558
4559 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
4560 bndmov encoding with zero displacement.
4561
4562 2015-07-09 Igor Zamyatin <igor.zamyatin@intel.com>
4563 H.J. Lu <hongjiu.lu@intel.com>
4564
4565 [BZ #18134]
4566 * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
4567 * sysdeps/i386/configure: Regenerated.
4568 * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
4569 (_dl_runtime_profile): Save and restore Intel MPX return bound
4570 registers when calling _dl_call_pltexit. Add
4571 PRESERVE_BND_REGS_PREFIX before return.
4572 * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
4573 (LRV_BND1_OFFSET): Likewise.
4574 * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
4575 lrv_bnd1.
4576 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
4577 typo in bndmov encoding.
4578 * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
4579 Intel MPX bound registers. Add PRESERVE_BND_REGS_PREFIX before
4580 branch instructions to preserve bounds.
4581
4582 2015-07-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4583
4584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
4585 [GLIBC_2.22]: Add fmemopen.
4586
4587 2015-07-09 Samuel Thibault <samuel.thibault@ens-lyon.org>
4588
4589 * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
4590 returns an error, also try to use host port from __mach_host_self for
4591 the __vm_wire call.
4592 * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
4593
4594 2015-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
4595
4596 [BZ #18400]
4597 [BZ #18648]
4598 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
4599 Fix pr_uid and pr_gid members.
4600 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
4601 definition to elf_greg_t.
4602
4603 2015-07-08 Roland McGrath <roland@hack.frob.com>
4604
4605 [BZ #18383]
4606 * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
4607 Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
4608 * sysdeps/arm/configure: Regenerated.
4609 * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
4610 (test-xfail-tst-tlsalign-static): Variable removed.
4611
4612 * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
4613 * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
4614 rather than explicit 'ln -s'.
4615
4616 * resolv/rpc/netdb.h: New file.
4617 * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
4618
4619 2015-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4620
4621 * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
4622 length buffers.
4623 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
4624 test-skeleton.c.
4625
4626 [BZ #6544]
4627 [BZ #11216]
4628 [BZ #12836]
4629 [BZ #13151]
4630 [BZ #13152]
4631 [BZ #14292]
4632 * include/stdio.h (fmemopen): Remove hidden prototype.
4633 (__fmemopen): Add new hidden prototype.
4634 * libio/Makefile: Add oldfmemopen object.
4635 * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
4636 * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
4637 compliance.
4638 * libio/oldfmemopen.c: New file: old fmemopen implementation for
4639 symbol compatibility.
4640 * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
4641 * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
4642 fmemopen.
4643 * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
4644 on append and read mode.
4645 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
4646 fmemopen.
4647 * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
4648 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
4649 * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
4650 * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
4651 Likewise.
4652 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
4653 [GLIBC_2.22]: Likewise.
4654 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
4655 Likewise.
4656 * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
4657 Likewise.
4658 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
4659 [GLIBC_2.22]: Likewise.
4660 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
4661 [GLIBC_2.22]: Likewise.
4662 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
4663 [GLIBC_2.22]: Likewise.
4664 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
4665 [GLIBC_2.22]: Likewise.
4666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
4667 [GLIBC_2.22]: Likewise.
4668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
4669 [GLIBC_2.22]: Likewise.
4670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
4671 [GLIBC_2.22]: Likewise.
4672 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
4673 Likewise.
4674 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
4675 Likewise.
4676 * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
4677 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
4678 [GLIBC_2.22]: Likewise.
4679 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
4680 [GLIBC_2.22]: Likewise.
4681 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
4682 [GLIBC_2.22]: Likewise.
4683 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
4684 [GLIBC_2.22]: Likewise.
4685 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
4686 Likewise.
4687 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
4688 Likewise.
4689 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
4690 Likewise.
4691 * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
4692 * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
4693
4694 2015-07-08 Carlos O'Donell <carlos@redhat.com>
4695
4696 [BZ #18643]
4697 * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
4698 IPV6_PATHMTU, and IPV6_DONTFRAG.
4699
4700 2015-07-08 Feng Gao <gfree.wind@gmail.com>
4701
4702 * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
4703 and _IO_UNBUFFERED.
4704 * libio/oldfileops.c: Likewise.
4705 * libio/wfileops.c: Likewise.
4706
4707 2015-07-08 Mike Frysinger <vapier@gentoo.org>
4708
4709 * nscd/selinux.c: Delete selinux/flask.h include.
4710
4711 2015-07-08 Mike Frysinger <vapier@gentoo.org>
4712
4713 [BZ #18641]
4714 * pwd/pwd.h (fgetpwent): Add __nonnull markings.
4715 (putpwent): Likewise.
4716 (getpwnam): Likewise.
4717 (getpwent_r): Likewise.
4718 (getpwuid_r): Likewise.
4719 (getpwnam_r): Likewise.
4720 (fgetpwent_r): Likewise.
4721
4722 2015-07-08 Carlos O'Donell <carlos@redhat.com>
4723
4724 [BZ #18557]
4725 * inet/rcmd.c (__validuser2_sa): Check user first to
4726 short-circuit host check.
4727
4728 2015-07-07 Pavel Kopyl <p.kopyl@samsung.com>
4729 Mikhail Ilin <m.ilin@samsung.com>
4730
4731 [BZ #17833]
4732 * elf/Makefile (tests): Add tst-nodelete.
4733 (modules-names): Add tst-nodelete-uniquemod.
4734 (tst-nodelete-uniquemod.so-no-z-defs): New.
4735 (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
4736 (tst-nodelete-zmod.so-no-z-defs): Likewise.
4737 ($(objpfx)tst-nodelete): Likewise.
4738 ($(objpfx)tst-nodelete.out): Likewise.
4739 (LDFLAGS-tst-nodelete): Likewise.
4740 (LDFLAGS-tst-nodelete-zmod.so): Likewise.
4741 * elf/dl-close.c (_dl_close_worker): Add a parameter to
4742 implement forced object deletion.
4743 (_dl_close): Pass false to _dl_close_worker.
4744 * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
4745 * elf/tst-nodelete.cc: New file.
4746 * elf/tst-nodeletelib.cc: Likewise.
4747 * elf/tst-znodeletelib.cc: Likewise.
4748 * include/dlfcn.h (_dl_close_worker): Add a new parameter.
4749
4750 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
4751
4752 [BZ #18508]
4753 * stdlib/Makefile ($(objpfx)tst-makecontext3):
4754 Depend on $(libdl).
4755 * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
4756 is not called infinitely times.
4757 (backtrace_helper): New function.
4758 (trace_arg): New struct.
4759 (st1): Enlarge stack size.
4760 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
4761 (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
4762 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
4763 Likewise.
4764
4765 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
4766
4767 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
4768
4769 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
4770
4771 * sysdeps/unix/sysv/linux/s390/bits/sem.h:
4772 Include sys/types.h instead of bits/types.h.
4773 Remove inclusion of bits/wordsize.h.
4774
4775 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
4776
4777 * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
4778 * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
4779 * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
4780 * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
4781 * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
4782 * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
4783
4784 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
4785
4786 * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
4787 link-defines.sym.
4788 * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
4789 (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
4790 LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
4791 and LR_SIZE.
4792 * sysdeps/i386/link-defines.sym: New file.
4793
4794 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
4795
4796 * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
4797 (modules-names): Add tst-auditmod3a tst-auditmod3b.
4798 ($(objpfx)tst-audit3): New rule.
4799 ($(objpfx)tst-audit3.out): Likewise.
4800 * sysdeps/i386/tst-audit3.c: New file.
4801 * sysdeps/i386/tst-audit3.h: Likewise.
4802 * sysdeps/i386/tst-auditmod3a.c: Likewise.
4803 * sysdeps/i386/tst-auditmod3b.c: Likewise.
4804
4805 2015-07-07 Torvald Riegel <triegel@redhat.com>
4806
4807 [BZ #18633]
4808 * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
4809 pointer in C code.
4810 (__strcat_c): Likewise.
4811 (__strcat_g): Likewise.
4812
4813 2015-07-07 Cyril Hrubis <chrubis@suse.cz>
4814
4815 [BZ #18592]
4816 * misc/sbrk.c: Set errno to ENOMEM on overflow.
4817
4818 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
4819
4820 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
4821 New function. (__ieee754_sqrtf): New function.
4822 * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
4823 New function.
4824 * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
4825 New function.
4826
4827 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
4828
4829 * sysdeps/ieee754/support.c: Remove unused file.
4830
4831 2015-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
4832
4833 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
4834 registers instead of d ones so the layout is kernel abi compatible.
4835 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
4836 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
4837 Likewise.
4838
4839 2015-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
4840
4841 * sysdeps/aarch64/libm-test-ulps: Regenerated.
4842
4843 2015-07-01 Joseph Myers <joseph@codesourcery.com>
4844
4845 [BZ #18619]
4846 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
4847 and return argument in case of subnormal argument.
4848
4849 2015-07-01 Martin Sebor <msebor@redhat.com>
4850
4851 [BZ #18435]
4852 * nptl/Makefile: Add tst-once5.cc.
4853 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
4854 Remove macro redefinitions.
4855 * nptl/tst-once5.cc: New test.
4856
4857 2015-07-01 Joseph Myers <joseph@codesourcery.com>
4858
4859 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4860
4861 * sysdeps/arm/libm-test-ulps: Regenerated.
4862
4863 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
4864 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4865
4866 2015-06-30 Torvald Riegel <triegel@redhat.com>
4867
4868 * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
4869 lll_lock_wait_private and lll_futex_wake probes.
4870
4871 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
4872 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
4873 Likewise.
4874 * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
4875 atomic_spin_nop.
4876 * sysdeps/x86_64/bits/atomic.h: Likewise.
4877 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
4878 to atomic_spin_nop and move ...
4879 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
4880 ... here and ...
4881 * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
4882 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
4883 atomic_spin_nop instead of BUSY_WAIT_NOP.
4884 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
4885 Likewise.
4886 * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
4887 * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
4888 (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
4889 * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
4890 instead of atomic_delay.
4891
4892 2015-06-29 Joseph Myers <joseph@codesourcery.com>
4893
4894 [BZ #18613]
4895 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
4896 X_ADJ not X when adjusting exponent.
4897 (__ieee754_gamma_r): Do intermediate computations in
4898 round-to-nearest then adjust overflowing and underflowing results
4899 as needed.
4900 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
4901 of X_ADJ not X when adjusting exponent.
4902 (__ieee754_gammaf_r): Do intermediate computations in
4903 round-to-nearest then adjust overflowing and underflowing results
4904 as needed.
4905 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
4906 log of X_ADJ not X when adjusting exponent.
4907 (__ieee754_gammal_r): Do intermediate computations in
4908 round-to-nearest then adjust overflowing and underflowing results
4909 as needed. Use 1.0L not 1.0f as numerator of division.
4910 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
4911 log of X_ADJ not X when adjusting exponent.
4912 (__ieee754_gammal_r): Do intermediate computations in
4913 round-to-nearest then adjust overflowing and underflowing results
4914 as needed. Use 1.0L not 1.0f as numerator of division.
4915 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
4916 of X_ADJ not X when adjusting exponent.
4917 (__ieee754_gammal_r): Do intermediate computations in
4918 round-to-nearest then adjust overflowing and underflowing results
4919 as needed. Use 1.0L not 1.0f as numerator of division.
4920 * math/libm-test.inc (tgamma_test_data): Remove one test. Moved
4921 to auto-libm-test-in.
4922 (tgamma_test): Use ALL_RM_TEST.
4923 * math/auto-libm-test-in: Add one test of tgamma. Mark some other
4924 tests of tgamma with spurious-overflow.
4925 * math/auto-libm-test-out: Regenerated.
4926 * math/gen-libm-have-vector-test.sh: Do not check for START.
4927 * sysdeps/i386/fpu/libm-test-ulps: Update.
4928 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4929
4930 [BZ #18612]
4931 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
4932 arguments, just return 0.5 times the argument, with underflow
4933 forced as needed.
4934 * math/auto-libm-test-in: Add more tests of j1.
4935 * math/auto-libm-test-out: Regenerated.
4936
4937 [BZ #16559]
4938 * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
4939 (__ieee754_j1): Force underflow exception for small results.
4940 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
4941 * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
4942 (__ieee754_j1f): Force underflow exception for small results.
4943 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
4944 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
4945 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
4946 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
4947 (__ieee754_j1l): Force underflow exception for small results.
4948 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
4949 * math/auto-libm-test-in: Add more tests of j1 and jn.
4950 * math/auto-libm-test-out: Regenerated.
4951
4952 * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
4953 * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
4954 (PF_MPLS): Likewise.
4955 (AF_IB): Likewise.
4956 (AF_MPLS): Likewise.
4957 * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
4958 value and macro.
4959 (MS_RMT_MASK): Include MS_LAZYTIME.
4960
4961 2015-06-26 Mel Gorman <mgorman@suse.de>
4962
4963 [BZ #18502]
4964 * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
4965 already minimal.
4966
4967 2015-06-26 Matthew Fortune <matthew.fortune@imgtec.com>
4968
4969 * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
4970 (DT_MIPS_NUM): Update.
4971 * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
4972 DT_MIPS_RLD_MAP_REL.
4973
4974 2015-06-25 Joseph Myers <joseph@codesourcery.com>
4975
4976 [BZ #16559]
4977 [BZ #18602]
4978 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
4979 round-to-nearest internally then recompute results that
4980 underflowed to zero in the original rounding mode.
4981 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
4982 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
4983 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
4984 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
4985 * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
4986 * sysdeps/i386/fpu/libm-test-ulps: Update.
4987 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4988
4989 2015-06-25 Andrew Senkevich <andrew.senkevich@intel.com>
4990
4991 * NEWS: Fixed description of link with vector math library.
4992
4993 2015-06-25 Andreas Schwab <schwab@suse.de>
4994
4995 [BZ #18549]
4996 * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
4997 * libio/test-fmemopen.c (do_test): Add test for it.
4998
4999 2015-06-25 H.J. Lu <hongjiu.lu@intel.com>
5000
5001 [BZ #17841]
5002 * Makeconfig (no-pie-ldflag): New.
5003 (+link): Set to $(+link-pie) if default to PIE.
5004 (+link-tests): Set to $(+link-pie-tests) if default to PIE.
5005 * config.make.in (build-pie-default): New.
5006 * configure.ac (libc_cv_pie_default): New. Set to yes if -fPIE
5007 is default. AC_SUBST.
5008 * configure: Regenerated.
5009 * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
5010
5011 2015-06-24 Roland McGrath <roland@hack.frob.com>
5012
5013 * nptl/descr.h (struct pthread): Change type of field setxid_futex
5014 to 'unsigned int'.
5015
5016 * resolv/gai_misc.h (struct waitlist): Change type of field
5017 counterp to 'volatile unsigned int *'.
5018 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
5019 FUTEXADDR and OLDVAL.
5020 * resolv/getaddrinfo_a.c (getaddrinfo_a):
5021 Give local variable TOTAL type 'volatile unsigned int'.
5022 (struct async_waitlist): Change type of field counter to 'unsigned int'.
5023 * resolv/gai_suspend.c (gai_suspend):
5024 Give local variable CNTR type 'unsigned int'.
5025
5026 * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
5027 counterp to 'volatile unsigned int *'.
5028 * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
5029 (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
5030 (aio_suspend): Give local variable CNTR type 'unsigned int'.
5031 * sysdeps/pthread/lio_listio.c (lio_listio_internal):
5032 Give local variable TOTAL type 'volatile unsigned int'.
5033 (struct async_waitlist): Change type of field counter to 'unsigned int'.
5034
5035 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
5036
5037 [BZ #18383]
5038 * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
5039 TCB_OFFSET to MAX_ALIGN, not just TCBALIGN. Add comment.
5040 * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
5041 comment for i386/x86-64.
5042 (test-xfail-tst-tlsalign-extern-static): Removed.
5043
5044 2015-06-24 Joseph Myers <joseph@codesourcery.com>
5045
5046 * math/test-double.h: New file.
5047 * math/test-float.h: Likewise.
5048 * math/test-ldouble.h: Likewise.
5049 * math/test-math-inline.h: Likewise.
5050 * math/test-math-no-inline.h: Likewise.
5051 * math/test-math-scalar.h: Likewise.
5052 * math/test-math-vector.h: Likewise.
5053 * math/test-vec-loop.h: Remove file. Contents moved into
5054 test-math-vector.h.
5055 * math/libm-test.inc (MATHCONST): Do not document macro.
5056 * math/test-double.c: Include test-double.h, test-math-no-inline.h
5057 and test-math-scalar.h.
5058 (FUNC): Remove macro.
5059 (FUNC_TEST): Likewise.
5060 (FLOAT): Likewise.
5061 (MATHCONST): Likewise.
5062 (PRINTF_EXPR): Likewise.
5063 (PRINTF_XEXPR): Likewise.
5064 (PRINTF_NEXPR): Likewise.
5065 (TEST_DOUBLE): Likewise.
5066 (TEST_MATHVEC): Likewise.
5067 (__NO_MATH_INLINES): Likewise.
5068 * math/test-float.c: Include test-float.h, test-math-no-inline.h
5069 and test-math-scalar.h.
5070 (FUNC): Remove macro.
5071 (FUNC_TEST): Likewise.
5072 (FLOAT): Likewise.
5073 (MATHCONST): Likewise.
5074 (PRINTF_EXPR): Likewise.
5075 (PRINTF_XEXPR): Likewise.
5076 (PRINTF_NEXPR): Likewise.
5077 (TEST_FLOAT): Likewise.
5078 (TEST_MATHVEC): Likewise.
5079 (__NO_MATH_INLINES): Likewise.
5080 * math/test-idouble.c: Include test-double.h, test-math-inline.h
5081 and test-math-scalar.h.
5082 (FUNC): Remove macro.
5083 (FUNC_TEST): Likewise.
5084 (FLOAT): Likewise.
5085 (MATHCONST): Likewise.
5086 (PRINTF_EXPR): Likewise.
5087 (PRINTF_XEXPR): Likewise.
5088 (PRINTF_NEXPR): Likewise.
5089 (TEST_DOUBLE): Likewise.
5090 (TEST_MATHVEC): Likewise.
5091 (TEST_INLINE): Likewise.
5092 (__NO_MATH_INLINES): Likewise.
5093 * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
5094 test-math-scalar.h.
5095 (FUNC): Remove macro.
5096 (FUNC_TEST): Likewise.
5097 (FLOAT): Likewise.
5098 (MATHCONST): Likewise.
5099 (PRINTF_EXPR): Likewise.
5100 (PRINTF_XEXPR): Likewise.
5101 (PRINTF_NEXPR): Likewise.
5102 (TEST_FLOAT): Likewise.
5103 (TEST_MATHVEC): Likewise.
5104 (TEST_INLINE): Likewise.
5105 (__NO_MATH_INLINES): Likewise.
5106 * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
5107 and test-math-scalar.h.
5108 (FUNC): Remove macro.
5109 (FUNC_TEST): Likewise.
5110 (FLOAT): Likewise.
5111 (MATHCONST): Likewise.
5112 (PRINTF_EXPR): Likewise.
5113 (PRINTF_XEXPR): Likewise.
5114 (PRINTF_NEXPR): Likewise.
5115 (TEST_LDOUBLE): Likewise.
5116 (TEST_MATHVEC): Likewise.
5117 (TEST_INLINE): Likewise.
5118 (__NO_MATH_INLINES): Likewise.
5119 * math/test-ldouble.c: Include test-ldouble.h,
5120 test-math-no-inline.h and test-math-scalar.h.
5121 (FUNC): Remove macro.
5122 (FUNC_TEST): Likewise.
5123 (FLOAT): Likewise.
5124 (MATHCONST): Likewise.
5125 (PRINTF_EXPR): Likewise.
5126 (PRINTF_XEXPR): Likewise.
5127 (PRINTF_NEXPR): Likewise.
5128 (TEST_LDOUBLE): Likewise.
5129 (TEST_MATHVEC): Likewise.
5130 (__NO_MATH_INLINES): Likewise.
5131 * math/test-double-vlen2.h: Include test-double.h,
5132 test-math-no-inline.h and test-math-vector.h.
5133 (FLOAT): Remove macro.
5134 (FUNC): Likewise.
5135 (MATHCONST): Likewise.
5136 (PRINTF_EXPR): Likewise.
5137 (PRINTF_XEXPR): Likewise.
5138 (PRINTF_NEXPR): Likewise.
5139 (TEST_DOUBLE): Likewise.
5140 (TEST_MATHVEC): Likewise.
5141 (__NO_MATH_INLINES): Likewise.
5142 (CNCT): Likewise.
5143 (CONCAT): Likewise.
5144 (WRAPPER_NAME): Likewise.
5145 (WRAPPER_DECL): Likewise.
5146 (WRAPPER_DECL_ff): Likewise.
5147 (WRAPPER_DECL_fFF): Likewise.
5148 (VECTOR_WRAPPER): Likewise.
5149 (VECTOR_WRAPPER_ff): Likewise.
5150 (VECTOR_WRAPPER_fFF): Likewise.
5151 (VEC_LEN): New macro.
5152 * math/test-double-vlen4.h: Include test-double.h,
5153 test-math-no-inline.h and test-math-vector.h.
5154 (FLOAT): Remove macro.
5155 (FUNC): Likewise.
5156 (MATHCONST): Likewise.
5157 (PRINTF_EXPR): Likewise.
5158 (PRINTF_XEXPR): Likewise.
5159 (PRINTF_NEXPR): Likewise.
5160 (TEST_DOUBLE): Likewise.
5161 (TEST_MATHVEC): Likewise.
5162 (__NO_MATH_INLINES): Likewise.
5163 (CNCT): Likewise.
5164 (CONCAT): Likewise.
5165 (WRAPPER_NAME): Likewise.
5166 (WRAPPER_DECL): Likewise.
5167 (WRAPPER_DECL_ff): Likewise.
5168 (WRAPPER_DECL_fFF): Likewise.
5169 (VECTOR_WRAPPER): Likewise.
5170 (VECTOR_WRAPPER_ff): Likewise.
5171 (VECTOR_WRAPPER_fFF): Likewise.
5172 (VEC_LEN): New macro.
5173 * math/test-double-vlen8.h: Include test-double.h,
5174 test-math-no-inline.h and test-math-vector.h.
5175 (FLOAT): Remove macro.
5176 (FUNC): Likewise.
5177 (MATHCONST): Likewise.
5178 (PRINTF_EXPR): Likewise.
5179 (PRINTF_XEXPR): Likewise.
5180 (PRINTF_NEXPR): Likewise.
5181 (TEST_DOUBLE): Likewise.
5182 (TEST_MATHVEC): Likewise.
5183 (__NO_MATH_INLINES): Likewise.
5184 (CNCT): Likewise.
5185 (CONCAT): Likewise.
5186 (WRAPPER_NAME): Likewise.
5187 (WRAPPER_DECL): Likewise.
5188 (WRAPPER_DECL_ff): Likewise.
5189 (WRAPPER_DECL_fFF): Likewise.
5190 (VECTOR_WRAPPER): Likewise.
5191 (VECTOR_WRAPPER_ff): Likewise.
5192 (VECTOR_WRAPPER_fFF): Likewise.
5193 (VEC_LEN): New macro.
5194 * math/test-float-vlen4.h: Include test-float.h,
5195 test-math-no-inline.h and test-math-vector.h.
5196 (FLOAT): Remove macro.
5197 (FUNC): Likewise.
5198 (MATHCONST): Likewise.
5199 (PRINTF_EXPR): Likewise.
5200 (PRINTF_XEXPR): Likewise.
5201 (PRINTF_NEXPR): Likewise.
5202 (TEST_FLOAT): Likewise.
5203 (TEST_MATHVEC): Likewise.
5204 (__NO_MATH_INLINES): Likewise.
5205 (CNCT): Likewise.
5206 (CONCAT): Likewise.
5207 (WRAPPER_NAME): Likewise.
5208 (WRAPPER_DECL): Likewise.
5209 (WRAPPER_DECL_ff): Likewise.
5210 (WRAPPER_DECL_fFF): Likewise.
5211 (VECTOR_WRAPPER): Likewise.
5212 (VECTOR_WRAPPER_ff): Likewise.
5213 (VECTOR_WRAPPER_fFF): Likewise.
5214 (VEC_LEN): New macro.
5215 * math/test-float-vlen8.h: Include test-float.h,
5216 test-math-no-inline.h and test-math-vector.h.
5217 (FLOAT): Remove macro.
5218 (FUNC): Likewise.
5219 (MATHCONST): Likewise.
5220 (PRINTF_EXPR): Likewise.
5221 (PRINTF_XEXPR): Likewise.
5222 (PRINTF_NEXPR): Likewise.
5223 (TEST_FLOAT): Likewise.
5224 (TEST_MATHVEC): Likewise.
5225 (__NO_MATH_INLINES): Likewise.
5226 (CNCT): Likewise.
5227 (CONCAT): Likewise.
5228 (WRAPPER_NAME): Likewise.
5229 (WRAPPER_DECL): Likewise.
5230 (WRAPPER_DECL_ff): Likewise.
5231 (WRAPPER_DECL_fFF): Likewise.
5232 (VECTOR_WRAPPER): Likewise.
5233 (VECTOR_WRAPPER_ff): Likewise.
5234 (VECTOR_WRAPPER_fFF): Likewise.
5235 (VEC_LEN): New macro.
5236 * math/test-float-vlen16.h: Include test-float.h,
5237 test-math-no-inline.h and test-math-vector.h.
5238 (FLOAT): Remove macro.
5239 (FUNC): Likewise.
5240 (MATHCONST): Likewise.
5241 (PRINTF_EXPR): Likewise.
5242 (PRINTF_XEXPR): Likewise.
5243 (PRINTF_NEXPR): Likewise.
5244 (TEST_FLOAT): Likewise.
5245 (TEST_MATHVEC): Likewise.
5246 (__NO_MATH_INLINES): Likewise.
5247 (CNCT): Likewise.
5248 (CONCAT): Likewise.
5249 (WRAPPER_NAME): Likewise.
5250 (WRAPPER_DECL): Likewise.
5251 (WRAPPER_DECL_ff): Likewise.
5252 (WRAPPER_DECL_fFF): Likewise.
5253 (VECTOR_WRAPPER): Likewise.
5254 (VECTOR_WRAPPER_ff): Likewise.
5255 (VECTOR_WRAPPER_fFF): Likewise.
5256 (VEC_LEN): New macro.
5257 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
5258 test-vec-loop.h.
5259 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
5260 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
5261 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
5262 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
5263 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
5264 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
5265 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
5266
5267 2015-06-24 Roland McGrath <roland@hack.frob.com>
5268
5269 * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
5270 (__getlogin_r): ... this.
5271
5272 2015-06-24 Joseph Myers <joseph@codesourcery.com>
5273
5274 [BZ #18594]
5275 * math/s_ccosh.c (__ccosh): Compare with least normal value
5276 instead of comparing class with FP_SUBNORMAL.
5277 * math/s_ccoshf.c (__ccoshf): Likewise.
5278 * math/s_ccoshl.c (__ccoshl): Likewise.
5279 * math/s_cexp.c (__cexp): Likewise.
5280 * math/s_cexpf.c (__cexpf): Likewise.
5281 * math/s_cexpl.c (__cexpl): Likewise.
5282 * math/s_csin.c (__csin): Likewise.
5283 * math/s_csinf.c (__csinf): Likewise.
5284 * math/s_csinh.c (__csinh): Likewise.
5285 * math/s_csinhf.c (__csinhf): Likewise.
5286 * math/s_csinhl.c (__csinhl): Likewise.
5287 * math/s_csinl.c (__csinl): Likewise.
5288 * math/s_ctan.c (__ctan): Likewise.
5289 * math/s_ctanf.c (__ctanf): Likewise.
5290 * math/s_ctanh.c (__ctanh): Likewise.
5291 * math/s_ctanhf.c (__ctanhf): Likewise.
5292 * math/s_ctanhl.c (__ctanhl): Likewise.
5293 * math/s_ctanl.c (__ctanl): Likewise.
5294 * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
5295 csin, csinh, ctan and ctanh.
5296 * math/auto-libm-test-out: Regenerated.
5297 * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
5298 * sysdeps/i386/fpu/libm-test-ulps: Update.
5299 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5300
5301 2015-06-24 Roland McGrath <roland@hack.frob.com>
5302
5303 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
5304 return value is wrong, print the expected value too.
5305
5306 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
5307
5308 [BZ #18585]
5309 * elf/readlib.c (is_gdb_python_file): New.
5310 (process_file): Don't issue errors on filenames with -gdb.py
5311 suffix.
5312
5313 2015-06-24 Joseph Myers <joseph@codesourcery.com>
5314
5315 * math/auto-libm-test-in: Add more tests of csin and csinh.
5316 * math/auto-libm-test-out: Regenerated.
5317 * math/libm-test.inc (csin_test_data): Remove tests moved to
5318 auto-libm-test-in.
5319 (csinh_test_data): Likewise.
5320
5321 [BZ #18593]
5322 * math/s_csin.c (__csin): Negate before rather than after possibly
5323 overflowing multiplication.
5324 * math/s_csinf.c (__csinf): Likewise.
5325 * math/s_csinh.c (__csinh): Likewise.
5326 * math/s_csinhf.c (__csinhf): Likewise.
5327 * math/s_csinhl.c (__csinhl): Likewise.
5328 * math/s_csinl.c (__csinl): Likewise.
5329 * math/auto-libm-test-in: Add some tests of csin and csinh.
5330 * math/auto-libm-test-out: Regenerated.
5331 * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
5332 (csinh_test_data): Likewise.
5333 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5334
5335 [BZ #18586]
5336 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
5337 underflow exception for small results.
5338
5339 2015-06-24 Andrew Senkevich <andrew.senkevich@intel.com>
5340
5341 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
5342 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
5343 variable and included header.
5344 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
5345 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
5346 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
5347 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
5348 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
5349 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
5350 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
5351 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
5352 * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
5353 * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
5354 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
5355 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
5356 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
5357 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
5358 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
5359 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
5360
5361 2015-06-23 Joseph Myers <joseph@codesourcery.com>
5362
5363 [BZ #16526]
5364 [BZ #16538]
5365 * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
5366 (__sin): Force underflow exception for arguments with small
5367 absolute value.
5368 * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
5369 (__kernel_sinf): Force underflow exception for arguments with
5370 small absolute value.
5371 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
5372 (__kernel_sincosl): Force underflow exception for arguments with
5373 small absolute value.
5374 * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
5375 (__kernel_sinl): Force underflow exception for arguments with
5376 small absolute value.
5377 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
5378 (__kernel_sincosl): Force underflow exception for arguments with
5379 small absolute value.
5380 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
5381 (__kernel_sinl): Force underflow exception for arguments with
5382 small absolute value.
5383 * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
5384 (__kernel_sinl): Force underflow exception for arguments with
5385 small absolute value.
5386 * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
5387 (__kernel_sinf): Force underflow exception for arguments with
5388 small absolute value.
5389 * math/auto-libm-test-in: Add more tests of sin and sincos.
5390 * math/auto-libm-test-out: Regenerated.
5391
5392 [BZ #18245]
5393 [BZ #18583]
5394 * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
5395 (__kernel_standard_l): Use feholdexcept and fesetenv around
5396 conversion to double instead of special-casing overflow and
5397 underflow.
5398 * math/libm-test.inc (fmod_test_data): Add more tests.
5399 (remainder_test_data): Likewise.
5400 (sqrt_test_data): Likewise.
5401
5402 2015-06-23 Torvald Riegel <triegel@redhat.com>
5403
5404 [BZ #17403]
5405 * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
5406 atomic_read_barrier, atomic_write_barrier): Define.
5407 * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
5408 atomic_read_barrier, atomic_write_barrier): Define.
5409
5410 2015-06-23 Joseph Myers <joseph@codesourcery.com>
5411
5412 * math/Makefile [$(PERL) != no]
5413 ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
5414 dependency on libm-test.stmp below the inclusion of Rules.
5415
5416 2015-06-23 Andrew Senkevich <andrew.senkevich@intel.com>
5417
5418 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
5419 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
5420 and included header.
5421 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
5422 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
5423 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
5424 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
5425 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
5426 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
5427 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
5428 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
5429 * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
5430 * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
5431 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
5432 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
5433 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
5434 * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
5435 * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
5436 * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
5437 * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
5438 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
5439 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
5440
5441 2015-06-23 Joseph Myers <joseph@codesourcery.com>
5442
5443 [BZ #18371]
5444 * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
5445 intermediate but not final result might underflow.
5446 * math/s_csqrtf.c (__csqrtf): Likewise.
5447 * math/s_csqrtl.c (__csqrtl): Likewise.
5448 * math/auto-libm-test-in: Add more tests of csqrt.
5449 * math/auto-libm-test-out: Regenerated.
5450 * sysdeps/i386/fpu/libm-test-ulps: Update.
5451
5452 [BZ #18219]
5453 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
5454 threshold on absolute value of exponent for which scaling is used.
5455 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
5456 * math/auto-libm-test-in: Add more tests of exp2.
5457 * math/auto-libm-test-out: Regenerated.
5458
5459 2015-06-23 Dmitry V. Levin <ldv@altlinux.org>
5460
5461 [BZ #17977]
5462 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
5463 when initializing interface list, based on the bug analysis
5464 and the patch proposed by Eric Newton.
5465 * resolv/tst-res_hconf_reorder.c: New test.
5466 * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
5467 tst-res_hconf_reorder.
5468 ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
5469 and $(shared-thread-library).
5470 (tst-res_hconf_reorder-ENV): New variable.
5471
5472 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
5473 in comment.
5474
5475 2015-06-22 Joseph Myers <joseph@codesourcery.com>
5476
5477 [BZ #16353]
5478 * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
5479 (__expm1): Force underflow exception for arguments with small
5480 absolute value.
5481 * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
5482 (__expm1f): Force underflow exception for arguments with small
5483 absolute value.
5484 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
5485 (__expm1): Force underflow exception for arguments with small
5486 absolute value.
5487 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
5488 (__expm1f): Force underflow exception for arguments with small
5489 absolute value.
5490 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
5491 Check for small arguments before calling __expm1.
5492 * math/auto-libm-test-in: Do not mark underflow exceptions as
5493 possibly missing for bug 16353.
5494 * math/auto-libm-test-out: Regenerated.
5495
5496 2015-06-22 Andreas Schwab <schwab@suse.de>
5497
5498 [BZ #18513]
5499 * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
5500 PTR queries.
5501
5502 2015-06-22 Leonhard Holz <leonhard.holz@web.de>
5503
5504 * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
5505
5506 * string/strcoll_l.c: Remove unused struct element idxnow.
5507
5508 2015-06-21 Joseph Myers <joseph@codesourcery.com>
5509
5510 [BZ #18569]
5511 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
5512 underflow and return argument in case of subnormal argument.
5513 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
5514 Likewise.
5515 * math/auto-libm-test-in: Add more tests of expm1.
5516 * math/auto-libm-test-out: Regenerated.
5517
5518 [BZ #16361]
5519 * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
5520 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
5521 tiny results.
5522 * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
5523 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
5524 tiny results.
5525 * math/auto-libm-test-in: Add more tests of exp and exp10. Do not
5526 mark underflow exceptions as possibly missing for bug 16361.
5527 * math/auto-libm-test-out: Regenerated.
5528
5529 2015-06-19 Joseph Myers <joseph@codesourcery.com>
5530
5531 * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
5532 * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
5533 Remove variable.
5534 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
5535 (test-xfail-XOPEN2K8/utmpx.h/conform).
5536
5537 * conform/conformtest.pl ($xerrors): New variable.
5538 (note_error): New function.
5539 (compiletest): New argument $xfail. Use not_error.
5540 (runtest): Likewise.
5541 (top level): Handle xfail- lines. Update calls to compiletest and
5542 runtest. Handle xfail- and optional- in headers listed with
5543 allow-header.
5544 * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
5545 (O_EXEC): Likewise.
5546 (O_SEARCH): Likewise.
5547 * conform/data/stropts.h-data (ioctl): Likewise.
5548 * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
5549 * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
5550 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
5551 (msghdr.msg_controllen): Likewise.
5552 (cmsghdr.cmsg_len): Likewise.
5553 * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
5554 * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
5555 variable.
5556 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
5557 (test-xfail-XPG4/stropts.h/conform): Likewise.
5558 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
5559 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
5560 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
5561 (test-xfail-UNIX98/stropts.h/conform): Likewise.
5562 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
5563 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
5564 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
5565 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
5566 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
5567 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
5568 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
5569 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
5570 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
5571 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
5572 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
5573 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
5574 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
5575 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
5576 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
5577
5578 2015-06-19 Andrew Senkevich <andrew.senkevich@intel.com>
5579
5580 * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
5581 __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
5582 definitions for proper unfolding of __MATHDECL_VEC.
5583
5584 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
5585
5586 * benchtests/bench-strcoll.c:
5587 Include string.h.
5588 (main): Remove unused variable res.
5589
5590 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
5591
5592 * timezone/Makefile (%/UTC %/Universal):
5593 Generate test-result files for UTC and Universal.
5594
5595 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
5596
5597 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
5598
5599 2015-06-18 Joseph Myers <joseph@codesourcery.com>
5600
5601 [BZ #16350]
5602 * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
5603 for arguments with small absolute value.
5604 * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
5605 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
5606 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
5607 (__asinh): Force underflow exception for arguments with small
5608 absolute value.
5609 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
5610 (__asinhf): Force underflow exception for arguments with small
5611 absolute value.
5612 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
5613 (__asinhl): Force underflow exception for arguments with small
5614 absolute value.
5615 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
5616 (__asinhl): Force underflow exception for arguments with small
5617 absolute value.
5618 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
5619 (__asinhl): Force underflow exception for arguments with small
5620 absolute value.
5621 * math/auto-libm-test-in: Do not mark underflow exceptions as
5622 possibly missing for bug 16350.
5623 * math/auto-libm-test-out: Regenerated.
5624
5625 * include/bits/ipc.h: Remove file.
5626 * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
5627 variable.
5628 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
5629 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
5630 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
5631 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
5632 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
5633 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
5634 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
5635 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
5636 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
5637
5638 * math/auto-libm-test-in: Remove spurious underflow allowance for
5639 tests of cexp.
5640 * math/auto-libm-test-out: Regenerated.
5641
5642 [BZ #18558]
5643 * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
5644 unconditional definition.
5645 (MCAST_BLOCK_SOURCE): Likewise.
5646 (MCAST_UNBLOCK_SOURCE): Likewise.
5647 (MCAST_LEAVE_GROUP): Likewise.
5648 (MCAST_JOIN_SOURCE_GROUP): Likewise.
5649 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
5650 (MCAST_MSFILTER): Likewise.
5651 * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
5652 Remove variable.
5653 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
5654 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
5655 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
5656 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
5657 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
5658
5659 2015-06-18 Andrew Senkevich <andrew.senkevich@intel.com>
5660
5661 * NEWS: Mention addition of x86_64 vector sincosf.
5662 * math/test-float-vlen16.h: Added wrapper for sincosf tests.
5663 * math/test-float-vlen4.h: Likewise.
5664 * math/test-float-vlen8.h: Likewise.
5665 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
5666 * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
5667 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5668 * sysdeps/x86_64/fpu/Versions: New versions added.
5669 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5670 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
5671 Added build of SSE, AVX2 and AVX512 IFUNC versions.
5672 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
5673 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
5674 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
5675 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
5676 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
5677 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
5678 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
5679 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
5680 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
5681 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
5682 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
5683 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
5684 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
5685 * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
5686 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
5687 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
5688 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
5689 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
5690 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
5691 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
5692 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
5693
5694 * NEWS: Mention addition of x86_64 vector sincos.
5695 * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
5696 * math/math.h (__MATHDECL_VEC): New macro.
5697 * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
5698 * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
5699 declaration under condition.
5700 * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
5701 * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
5702 TEST_VEC_LOOP change.
5703 * math/test-double-vlen4.h: Likewise.
5704 * math/test-double-vlen8.h: Likewise.
5705 * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
5706 * math/test-float-vlen4.h: Likewise.
5707 * math/test-float-vlen8.h: Likewise.
5708 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
5709 * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
5710 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5711 * sysdeps/x86_64/fpu/Versions: New versions added.
5712 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5713 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
5714 Added build of SSE, AVX2 and AVX512 IFUNC versions.
5715 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
5716 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
5717 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
5718 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
5719 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
5720 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
5721 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
5722 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
5723 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
5724 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
5725 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
5726 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
5727 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
5728 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
5729 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
5730 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
5731 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
5732 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
5733 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
5734 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
5735 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
5736
5737 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
5738 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
5739 redirections for powf.
5740 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5741 * sysdeps/x86_64/fpu/Versions: New versions added.
5742 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5743 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
5744 Added build of SSE, AVX2 and AVX512 IFUNC versions.
5745 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
5746 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
5747 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
5748 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
5749 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
5750 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
5751 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
5752 * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
5753 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
5754 * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
5755 * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
5756 * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
5757 * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
5758 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
5759 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
5760 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
5761 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
5762 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
5763 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
5764 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
5765 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
5766 * math/test-float-vlen16.h: Fixed 2 argument macro.
5767 * math/test-float-vlen4.h: Likewise.
5768 * math/test-float-vlen8.h: Likewise.
5769 * NEWS: Mention addition of x86_64 vector powf.
5770
5771 2015-06-17 Joseph Myers <joseph@codesourcery.com>
5772
5773 * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5774 and redefine.
5775 * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5776 and redefine.
5777 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
5778 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
5779 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
5780
5781 [BZ #18553]
5782 * resource/getpriority.c (getpriority): Rename to __getpriority
5783 and define as weak alias of __getpriority.
5784 * resource/setpriority.c (setpriority): Rename to __setpriority
5785 and define as weak alias of __setpriority.
5786 * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
5787 __getpriority and define as weak alias of __getpriority.
5788 * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
5789 __setpriority and define as weak alias of __setpriority.
5790 * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
5791 strong name.
5792 (setpriority): Use __setpriority as strong name.
5793 * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
5794 __getpriority and define as weak alias of __getpriority.
5795 * include/sys/resource.h (__getpriority): Declare. Use
5796 libc_hidden_proto.
5797 (__setpriority): Likewise.
5798 (getpriority): Don't use libc_hidden_proto.
5799 (setpriority): Likewise.
5800 * sysdeps/posix/nice.c (nice): Call __getpriority instead of
5801 getpriority. Call __setpriority instead of setpriority.
5802 * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
5803 Remove variable.
5804
5805 [BZ #18547]
5806 * misc/getttyent.c (getttynam): Rename to __getttynam and define
5807 as weak alias of __getttynam. Use prototype function definition.
5808 Call __setttyent, __getttyent and __endttyent instead of
5809 setttyent, getttyent and endttyent.
5810 (getttyent): Rename to __getttyent and define as weak alias of
5811 __getttyent. Call __setttyent instead of setttyent. Call
5812 __fgets_unlocked instead of fgets_unlocked.
5813 (setttyent): Rename to __setttyent and define as weak alias of
5814 __setttyent.
5815 (endttyent): Rename to __endttyent and define as weak alias of
5816 __endttyent.
5817 * include/ttyent.h (__getttyent): Declare. Use libc_hidden_proto.
5818 (__setttyent): Likewise.
5819 (__endttyent): Likewise.
5820 (getttyent): Don't use libc_hidden_proto.
5821 (setttyent): Likewise.
5822 (endttyent): Likewise.
5823 * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
5824 __endttyent instead of setttyent, getttyent and endttyent.
5825 * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
5826 Remove variable.
5827
5828 [BZ #18546]
5829 * socket/recv.c (__recv): Use libc_hidden_def.
5830 * socket/socket.c (__socket): Likewise.
5831 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
5832 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
5833 * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
5834 * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
5835 * sysdeps/unix/sysv/linux/socket.c (__socket): Use
5836 libc_hidden_def.
5837 * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
5838 libc_hidden_weak.
5839 * include/sys/socket.h (__socket): Do not use attribute_hidden.
5840 Use libc_hidden_proto.
5841 (__recv): Likewise.
5842 * socket/Versions (libc): Export __recv and __socket at version
5843 GLIBC_PRIVATE.
5844 * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
5845 instead of recv.
5846 (init_mq_netlink): Call __socket instead of socket.
5847 * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
5848 Remove variable.
5849
5850 [BZ #18545]
5851 * rt/mq_timedreceive.c (mq_timedreceive): Rename to
5852 __mq_timedreceive and define as alias of __mq_timedreceive. Use
5853 hidden_weak.
5854 * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
5855 define as alias of __mq_timedsend. Use hidden_weak.
5856 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
5857 __mq_timedsend as strong name.
5858 (mq_timedreceive): Use __mq_timedreceive as strong name.
5859 * include/mqueue.h (__mq_timedsend): Declare. Use hidden_proto.
5860 (__mq_timedreceive): Likewise.
5861 * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
5862 __mq_timedreceive instead of mq_timedreceive.
5863 * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
5864 instead of mq_timedsend.
5865 * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
5866 Remove variable.
5867
5868 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
5869 hidden_def and hidden_weak instead of libc_hidden_def and
5870 libc_hidden_weak.
5871 (top level): Refer to hidden_def in comment.
5872 * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
5873 macro. Use it instead of libc_hidden_def.
5874 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
5875 specify __GI_* name explicitly.
5876 (mq_timedreceive): Likewise.
5877 (mq_setattr): Likewise.
5878
5879 [BZ #18544]
5880 * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
5881 __pthread_barrier_init and define as weak alias of
5882 __pthread_barrier_init.
5883 * sysdeps/sparc/nptl/pthread_barrier_init.c
5884 (pthread_barrier_init): Likewise.
5885 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
5886 __pthread_barrier_wait and define as weak alias of
5887 __pthread_barrier_wait.
5888 * sysdeps/sparc/nptl/pthread_barrier_wait.c
5889 (pthread_barrier_wait): Likewise.
5890 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
5891 (pthread_barrier_wait): Likewise.
5892 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
5893 (pthread_barrier_wait): Likewise.
5894 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
5895 (pthread_barrier_wait): Likewise.
5896 * nptl/Versions (libpthread): Export __pthread_barrier_init and
5897 __pthread_barrier_wait at version GLIBC_PRIVATE.
5898 * include/pthread.h (__pthread_barrier_init): Declare.
5899 (__pthread_barrier_wait): Likewise.
5900 * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
5901 Call __pthread_barrier_wait instead of pthread_barrier_wait.
5902 (helper_thread): Likewise.
5903 (init_mq_netlink): Call __pthread_barrier_init instead of
5904 pthread_barrier_init.
5905
5906 [BZ #18542]
5907 * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
5908 (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
5909 * include/wchar.h (__vswscanf): Declare. Use libc_hidden_proto.
5910 * libio/swscanf.c (__swscanf): Call __vswscanf instead of
5911 vswscanf.
5912 * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
5913 Remove variable.
5914
5915 [BZ #18540]
5916 * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
5917 strong alias of _IO_fflush. Use libc_hidden_def.
5918 * libio/iofflush_u.c (fflush_unlocked): Rename to
5919 __fflush_unlocked and define as weak alias of __fflush_unlocked.
5920 Use libc_hidden_weak.
5921 * include/stdio.h (__fflush_unlocked): Declare. Use
5922 libc_hidden_proto.
5923 * misc/getpass.c (getpass): Call __fflush_unlocked instead of
5924 fflush_unlocked.
5925 * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
5926 Remove variable.
5927
5928 [BZ #18539]
5929 * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
5930 define as weak alias of __addseverity.
5931 * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
5932 Remove variable.
5933 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
5934 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
5935 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
5936
5937 [BZ #18536]
5938 * misc/tsearch.c (__tsearch): Use libc_hidden_def.
5939 (__tfind): Likewise.
5940 (__tdelete): Likewise.
5941 (__twalk): Likewise.
5942 * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
5943 __twalk to GLIBC_PRIVATE.
5944 * include/search.h (__tsearch): Use libc_hidden_proto.
5945 (__tfind): Likewise.
5946 (__tdelete): Likewise.
5947 (__twalk): Likewise.
5948 * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
5949 Call __tdelete instead of tdelete.
5950 * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
5951 tfind. Call __tsearch instead of tsearch.
5952 * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
5953 * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
5954 Remove variable.
5955 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
5956
5957 [BZ #18534]
5958 * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
5959 (dprintf): Define as a weak alias of __dprintf, not a strong
5960 alias.
5961 * include/stdio.h (__dprintf): Declare. Use libc_hidden_proto.
5962 * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
5963 dprintf.
5964 * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
5965 Remove variable.
5966 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
5967 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
5968
5969 [BZ #18533]
5970 * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
5971 not a strong alias.
5972 * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
5973 Remove variable.
5974
5975 [BZ #18532]
5976 * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
5977 define as weak alias of __in6addr_any. Use libc_hidden_data_weak.
5978 (in6addr_loopback): Rename to __in6addr_loopback and define as
5979 weak alias of __in6addr_loopback. Use libc_hidden_data_weak.
5980 * include/netinet/in.h (__in6addr_loopback): Declare. Use
5981 libc_hidden_proto.
5982 (__in6addr_any): Likewise.
5983 * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
5984 in6addr_any.
5985 * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
5986 variable.
5987 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
5988
5989 2015-06-17 Andrew Senkevich <andrew.senkevich@intel.com>
5990
5991 * bits/libm-simd-decl-stubs.h: Added stubs for pow.
5992 * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
5993 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
5994 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
5995 redirections for pow.
5996 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5997 * sysdeps/x86_64/fpu/Versions: New versions added.
5998 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5999 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
6000 build of SSE, AVX2 and AVX512 IFUNC versions.
6001 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
6002 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
6003 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
6004 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
6005 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
6006 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
6007 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
6008 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
6009 * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
6010 * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
6011 * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
6012 * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
6013 * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
6014 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
6015 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
6016 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
6017 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
6018 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
6019 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
6020 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
6021 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
6022 * NEWS: Mention addition of x86_64 vector pow.
6023
6024 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
6025 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
6026 redirections for expf.
6027 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
6028 * sysdeps/x86_64/fpu/Versions: New versions added.
6029 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6030 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
6031 build of SSE, AVX2 and AVX512 IFUNC versions.
6032 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
6033 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
6034 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
6035 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
6036 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
6037 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
6038 * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
6039 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
6040 * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
6041 * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
6042 * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
6043 * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
6044 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
6045 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
6046 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
6047 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
6048 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
6049 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
6050 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
6051 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
6052 * NEWS: Mention addition of x86_64 vector expf.
6053
6054 * bits/libm-simd-decl-stubs.h: Added stubs for exp.
6055 * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
6056 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
6057 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
6058 redirections for exp.
6059 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
6060 * sysdeps/x86_64/fpu/Versions: New versions added.
6061 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6062 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
6063 build of SSE, AVX2 and AVX512 IFUNC versions.
6064 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
6065 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
6066 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
6067 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
6068 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
6069 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
6070 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
6071 * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
6072 * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
6073 * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
6074 * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
6075 * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
6076 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
6077 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
6078 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
6079 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
6080 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
6081 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
6082 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
6083 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
6084 * NEWS: Mention addition of x86_64 vector exp.
6085
6086 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
6087 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
6088 redirections for logf.
6089 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
6090 * sysdeps/x86_64/fpu/Versions: New versions added.
6091 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6092 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
6093 build of SSE, AVX2 and AVX512 IFUNC versions.
6094 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
6095 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
6096 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
6097 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
6098 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
6099 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
6100 * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
6101 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
6102 * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
6103 * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
6104 * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
6105 * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
6106 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
6107 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
6108 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
6109 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
6110 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
6111 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
6112 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
6113 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
6114 * NEWS: Mention addition of x86_64 vector logf.
6115
6116 * bits/libm-simd-decl-stubs.h: Added stubs for log.
6117 * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
6118 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
6119 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
6120 redirections for log.
6121 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
6122 * sysdeps/x86_64/fpu/Versions: New versions added.
6123 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6124 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
6125 build of SSE, AVX2 and AVX512 IFUNC versions.
6126 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
6127 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
6128 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
6129 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
6130 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
6131 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
6132 * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
6133 * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
6134 * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
6135 * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
6136 * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
6137 * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
6138 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
6139 test.
6140 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
6141 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
6142 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
6143 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
6144 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
6145 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
6146 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
6147 * NEWS: Mention addition of x86_64 vector log.
6148
6149 2015-06-17 Szabolcs Nagy <szabolcs.nagy@arm.com>
6150
6151 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
6152 cfi_adjust_cfa_offset argument.
6153 (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
6154 (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
6155
6156 [BZ #18034]
6157 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
6158 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
6159 (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
6160 ordering using ldar.
6161 (_dl_tlsdesc_dynamic): Likewise.
6162 (_dl_tlsdesc_return_lazy): Likewise.
6163 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
6164 relaxed atomics instead of volatile and synchronize with release store.
6165 (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
6166 volatile.
6167 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
6168
6169 2015-06-15 Andrew Senkevich <andrew.senkevich@intel.com>
6170
6171 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
6172 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
6173 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
6174 * sysdeps/x86_64/fpu/Versions: New versions added.
6175 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6176 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
6177 build of SSE, AVX2 and AVX512 IFUNC versions.
6178 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
6179 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
6180 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
6181 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
6182 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
6183 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
6184 * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
6185 * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
6186 * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
6187 * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
6188 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
6189 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
6190 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
6191 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
6192 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
6193 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
6194 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
6195 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
6196 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
6197 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
6198 * NEWS: Mention addition of x86_64 vector sinf.
6199
6200 2015-06-14 Joseph Myers <joseph@codesourcery.com>
6201
6202 * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
6203 and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
6204 * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
6205 Remove variable.
6206 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
6207 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
6208
6209 2015-06-12 Joseph Myers <joseph@codesourcery.com>
6210
6211 [BZ #18530]
6212 * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
6213 strong alias of _IO_fputs. Use libc_hidden_def.
6214 * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
6215 and define as weak alias of __fputs_unlocked. Use
6216 libc_hidden_weak.
6217 * include/stdio.h (__fputs_unlocked): Declare. Use
6218 libc_hidden_proto.
6219 * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
6220 fputs_unlocked.
6221
6222 [BZ #18529]
6223 * resolv/netdb.h [__USE_POSIX]: Change condition to
6224 [__USE_XOPEN2K].
6225 * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
6226 not expect.
6227 [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
6228 [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
6229 [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
6230 [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
6231 [XPG4 || UNIX98] (AI_ALL): Likewise.
6232 [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
6233 [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
6234 [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
6235 [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
6236 [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
6237 [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
6238 [XPG4 || UNIX98] (NI_DGRAM): Likewise.
6239 [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
6240 [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
6241 [XPG4 || UNIX98] (EAI_FAIL): Likewise.
6242 [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
6243 [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
6244 [XPG4 || UNIX98] (EAI_NONAME): Likewise.
6245 [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
6246 [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
6247 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
6248 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
6249 [XPG4 || UNIX98] (freeaddrinfo): Likewise.
6250 [XPG4 || UNIX98] (gai_strerror): Likewise.
6251 [XPG4 || UNIX98] (getaddrinfo): Likewise.
6252 [XPG4 || UNIX98] (getnameinfo): Likewise.
6253
6254 [BZ #18528]
6255 * grp/grp.h (endgrent): Condition on [__USE_MISC ||
6256 __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
6257 __USE_XOPEN2K8].
6258 (getgrent): Likewise.
6259 * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
6260 expect.
6261 [XPG3 || POSIX2008] (endgrent): Likewise.
6262 [XPG3] (setgrent): Likewise.
6263 * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
6264 variable.
6265 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
6266
6267 [BZ #18527]
6268 * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
6269 define as weak alias of __getlogin_r. Use libc_hidden_weak.
6270 * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
6271 * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
6272 * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
6273 * include/unistd.h (__getlogin_r): Declare. Use
6274 libc_hidden_proto.
6275 * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
6276 * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
6277 variable.
6278 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
6279 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
6280 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
6281
6282 2015-06-12 Martin Sebor <msebor@redhat.com>
6283
6284 [BZ #18512]
6285 * Makerules (check-install-supported): New target.
6286 (install): Add check-install-supported as a dependency.
6287 * manual/install.texi (Installing the C Library): Document
6288 that overriding prefix and exec_prefix is not supported.
6289 Mention DESTDIR.
6290 * INSTALL: Regenerate from the above.
6291
6292 2015-06-12 Joseph Myers <joseph@codesourcery.com>
6293
6294 [BZ #18519]
6295 * posix/Versions (libc): Export __libc_pread at version
6296 GLIBC_PRIVATE.
6297 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
6298 instead of pread.
6299 * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
6300 variable.
6301
6302 [BZ #18522]
6303 * misc/efgcvt_r.c
6304 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
6305 (cvt_symbol): Use weak_alias instead of strong_alias.
6306 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
6307 * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
6308 Remove variable.
6309 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
6310 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
6311
6312 [BZ #18520]
6313 * inet/herrno.c (h_errno): Rename to __h_errno.
6314 (__libc_h_errno): Define as alias of __h_errno not h_errno.
6315 * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
6316 to __h_errno instead of h_errno.
6317 * nptl/herrno.c (h_errno): Rename to __h_errno.
6318 (__h_errno_location): Refer to __h_errno not h_errno.
6319 * resolv/Versions (h_errno): Rename to __h_errno.
6320 * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
6321 Remove variable.
6322 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
6323
6324 2015-06-11 Andrew Senkevich <andrew.senkevich@intel.com>
6325
6326 * configure.ac: More strict check for AVX512 assembler support.
6327 * configure: Regenerated.
6328
6329 * bits/libm-simd-decl-stubs.h: Added stubs for sin.
6330 * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
6331 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
6332 * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
6333 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
6334 * sysdeps/x86_64/fpu/Versions: New versions added.
6335 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6336 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
6337 Added build of SSE, AVX2 and AVX512 IFUNC versions.
6338 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
6339 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
6340 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
6341 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
6342 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
6343 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
6344 * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
6345 * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
6346 * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
6347 * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
6348 * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
6349 * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
6350 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
6351 test.
6352 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
6353 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
6354 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
6355 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
6356 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
6357 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
6358 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
6359 * NEWS: Mention addition of x86_64 vector sin.
6360
6361 2015-06-11 Florian Weimer <fweimer@redhat.com>
6362
6363 * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
6364 comment.
6365
6366 2015-06-10 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
6367
6368 [BZ #18479]
6369 * nptl/pt-interp.c: New file.
6370 * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
6371 Add pt-interp.
6372 [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
6373 $(common-objpfx)runtime-linker.h.
6374
6375 2015-06-10 Dmitry V. Levin <ldv@altlinux.org>
6376
6377 * Makeconfig (+interp): Remove unused variable.
6378 * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
6379 only. Depend on $(common-objpfx)runtime-linker.h instead of
6380 $(elf-objpfx)runtime-linker.h.
6381 ($(elf-objpfx)runtime-linker.h): Rename to
6382 $(common-objpfx)runtime-linker.h and move ...
6383 * Makerules [$(build-shared) = yes]: ... here.
6384 * elf/interp.c: Include <runtime-linker.h> instead of
6385 <elf/runtime-linker.h>.
6386
6387 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6388
6389 * sysdeps/unix/sysv/linux/i386/gettimeofday.c
6390 (__gettimeofday_syscall): Remove vsyscall fallback.
6391 * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
6392 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
6393 Add syscall fallback function.
6394 (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
6395 if vDSO is not present.
6396 * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
6397 fallback function.
6398 (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
6399 present.
6400 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
6401 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
6402
6403 2015-06-09 Joseph Myers <joseph@codesourcery.com>
6404
6405 [BZ #18497]
6406 * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
6407 of wcscmp.
6408 (wcscmp): Define as weak alias of WCSCMP.
6409 * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
6410 wcscoll.
6411 (USE_HIDDEN_DEF): Define.
6412 [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
6413 __wcscoll. Don't use libc_hidden_weak.
6414 * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
6415 wcscmp.
6416 * sysdeps/i386/i686/multiarch/wcscmp-c.c
6417 [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
6418 __GI_wcscmp.
6419 (weak_alias): Undefine and redefine.
6420 * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
6421 __wcscmp and define as weak alias of __wcscmp.
6422 * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
6423 * include/wchar.h (__wcscmp): Declare. Use libc_hidden_proto.
6424 (__wcscoll): Likewise.
6425 (wcscmp): Don't use libc_hidden_proto.
6426 (wcscoll): Likewise.
6427 * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
6428 wcscoll.
6429 * posix/regexec.c (check_node_accept_bytes): Likewise.
6430 * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
6431 variable.
6432 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
6433 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
6434
6435 [BZ #18507]
6436 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
6437 __fstatvfs and define as weak alias of __fstatvfs. Use
6438 libc_hidden_weak.
6439 * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
6440 and define as weak alias of __statvfs. Use libc_hidden_weak.
6441 * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
6442 Define as alias of __fstatvfs, not fstatvfs.
6443 (fstatvfs64): Likewise.
6444 * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
6445 Define as alias of __statvfs, not statvfs.
6446 (statvfs64): Likewise.
6447 * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
6448 Remove variable.
6449
6450 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6451
6452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6453 (HAVE_GETCPU_VSYSCALL): Define.
6454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
6455 (HAVE_GETCPU_VSYSCALL): Likewise.
6456 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
6457 * sysdeps/unix/sysv/linux/sched_getcpu.c
6458 (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
6459 (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
6460 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
6461 prototype.
6462 * sysdeps/unix/sysv/linux/x86_64/init-first.c
6463 (__vdso_platform_setup): Remove vsyscall getcpu fallback.
6464 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
6465 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
6466 Define.
6467 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
6468 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
6469 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
6470 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
6471
6472 2015-06-09 Andrew Senkevich <andrew.senkevich@intel.com>
6473
6474 * sysdeps/x86_64/fpu/Makefile: New file.
6475 * sysdeps/x86_64/fpu/Versions: New file.
6476 * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
6477 * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
6478 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
6479 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
6480 * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
6481 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
6482 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
6483 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
6484 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
6485 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
6486 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
6487 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
6488 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
6489 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
6490 Added build of SSE, AVX2 and AVX512 IFUNC versions.
6491 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
6492 * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
6493 * sysdeps/x86_64/configure.ac: Options for libmvec build.
6494 * sysdeps/x86_64/configure: Regenerated.
6495 * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
6496 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
6497 * manual/install.texi (Configuring and compiling): Document
6498 --disable-mathvec.
6499 * INSTALL: Regenerated.
6500 * NEWS: Mention addition of libmvec and x86_64 vector cos.
6501
6502 * math/Makefile: Added rules for vector tests.
6503 * math/gen-libm-have-vector-test.sh: Added generation of wrapper
6504 declaration under condition.
6505 * math/test-double-vlen2.h: New file.
6506 * math/test-double-vlen4.h: New file.
6507 * math/test-double-vlen8.h: New file.
6508 * math/test-vec-loop.h: Added initialization macro.
6509 * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
6510 * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
6511 * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
6512 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
6513 * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
6514 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
6515 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
6516 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
6517 * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
6518 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
6519 * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
6520
6521 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
6522 * sysdeps/x86_64/fpu/Versions: New versions added.
6523 * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
6524 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
6525 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
6526 * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
6527 * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
6528 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
6529 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
6530 * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
6531 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
6532 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
6533 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
6534 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
6535 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
6536 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
6537 Added build of SSE, AVX2 and AVX512 IFUNC versions.
6538 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
6539 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
6540 * NEWS: Mention addition of x86_64 vector cosf.
6541
6542 * math/Makefile: Added CFLAGS for new tests.
6543 * math/test-float-vlen16.h: New file.
6544 * math/test-float-vlen4.h: New file.
6545 * math/test-float-vlen8.h: New file.
6546 * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
6547 * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
6548 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6549 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
6550 * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
6551 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
6552 * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
6553 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
6554 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
6555 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
6556 * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
6557
6558 2015-06-09 Marko Myllynen <myllynen@redhat.com>
6559
6560 * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
6561 * locale/programs/ld-ctype.c: Likewise.
6562
6563 2015-06-08 Andrew Senkevich <andrew.senkevich@intel.com>
6564
6565 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
6566 bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
6567 bit_ZMM16_31_state): New macro.
6568 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6569 Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
6570
6571 2015-06-08 Joseph Myers <joseph@codesourcery.com>
6572
6573 * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
6574
6575 2015-06-06 Justus Winter <4winter@informatik.uni-hamburg.de>
6576
6577 * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
6578
6579 2015-06-05 Joseph Myers <joseph@codesourcery.com>
6580
6581 [BZ #18498]
6582 * libio/memstream.c (open_memstream): Rename to __open_memstream
6583 and define as weak alias of __open_memstream.
6584 * include/stdio.h (__open_memstream): Declare. Use
6585 libc_hidden_proto.
6586 (open_memstream): Don't use libc_hidden_proto.
6587 * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
6588 open_memstream.
6589 * posix/getopt.c (_getopt_internal_r): Likewise.
6590 * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
6591 variable.
6592 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
6593 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
6594 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
6595
6596 [BZ #18496]
6597 * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
6598 instead of wcrtomb.
6599
6600 [BZ #18483]
6601 * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
6602 [__USE_XOPEN2K8]. Remove redundant #endif.
6603 [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
6604 Remove redundant #if.
6605 * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
6606 Remove variable.
6607 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
6608 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
6609
6610 [BZ #18495]
6611 * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
6612 (__iswlower): Likewise.
6613 * include/wctype.h (__iswalnum): Declare. Use libc_hidden_proto.
6614 (__iswlower): Likewise.
6615 * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
6616 instead of towlower.
6617 * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
6618 instead of iswlower. Call __towupper instead of towupper.
6619 * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
6620 instead of iswalnum.
6621
6622 2015-06-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6623
6624 * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
6625 errors to stderr.
6626
6627 2015-06-05 Florian Weimer <fweimer@redhat.com>
6628
6629 [BZ #15661]
6630 [BZ #17322]
6631 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
6632 Check for overflow properly. Check for O_APPEND. Ignore large
6633 file system block sizes. Add comments about problems.
6634 * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
6635 * manual/filesys.texi (Storage Allocation): New node.
6636
6637 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6638
6639 * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
6640 cancellable syscalls.
6641 (SYS_ify): Add guard to no redefine it.
6642 (INLINE_SYSCALL): Likewise.
6643 * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
6644 LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
6645 SYSCALL_CANCEL instead.
6646 * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
6647 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
6648 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
6649 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
6650 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
6651 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
6652 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
6653 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
6654 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
6655 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
6656 * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
6657 * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
6658 * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
6659 * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
6660 * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
6661 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
6662 Likewise.
6663 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
6664 (__libc_pread64): Likewise.
6665 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
6666 (__libc_preadv): Likewise.
6667 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
6668 (__libc_readv64): Likewise.
6669 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
6670 (__libc_pwrite): Likewise.
6671 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
6672 (__libc_pwrite64): Likewise.
6673 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
6674 (__libc_pwritev): Likewise.
6675 * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
6676 (__libc_pwritev64): Likewise.
6677 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
6678 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
6679 (sync_file_range): Likewise.
6680 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
6681 Likewise.
6682 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
6683 Likewise.
6684 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
6685 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
6686 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
6687 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
6688 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
6689 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
6690 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
6691 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
6692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
6693 Likewise.
6694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
6695 (__libc_read64): Likewise.
6696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
6697 Likewise.
6698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
6699 Likewise.
6700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
6701 Likewise.
6702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
6703 Likewise.
6704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
6705 (__libc_pread64): Likewise.
6706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
6707 Likewise.
6708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
6709 (__libc_pwrite64): Likewise.
6710 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
6711 (sync_file_range): Likewise.
6712 * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
6713 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
6714 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
6715 * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
6716 * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
6717 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
6718 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
6719 * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
6720 * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
6721 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
6722 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
6723 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
6724 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
6725 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
6726 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
6727 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
6728 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
6729 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
6730 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
6731 Likewise.
6732 * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
6733 Likewise.
6734 * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
6735 * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
6736 Likewise.
6737 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
6738 * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
6739 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
6740 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
6741 Likewise.
6742 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
6743 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
6744 * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
6745 * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
6746 * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
6747
6748 2015-06-04 Nathan Lynch <nathan_lynch@codesourcery.com>
6749
6750 * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
6751 Include dl-vdso.
6752 * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
6753 Use VDSO routines for gettimeofday, clock_gettime if
6754 available.
6755 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
6756 Declare VDSO symbols.
6757 * sysdeps/unix/sysv/linux/arm/sysdep.h:
6758 [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
6759 [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
6760 * sysdeps/unix/sysv/linux/arm/Versions: Add
6761 __vdso_clock_gettime.
6762
6763 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6764
6765 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
6766 be an inline implementation regardless of library is built within.
6767 (open_not_cancel_2): Likewise.
6768 (__read_nocancel): Likewise.
6769 (__write_nocancel): Likewise.
6770 (openat_not_cancel): Likewise.
6771 (openat_not_cancel_3): Likewise.
6772 (openat64_not_cancel): Likewise.
6773 (openat64_not_cancel_3): Likewise.
6774 (__close_nocancel): Likewise.
6775 (pause_not_cancel): Likewise.
6776 (nanosleep_not_cancel): Likewise.
6777 (sigsuspend_not_cancel): Likewise.
6778
6779 2015-06-04 Torvald Riegel <triegel@redhat.com>
6780
6781 [BZ #14958]
6782 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
6783 wake-up.
6784 (__pthread_rwlock_rdlock_slow): Likewise.
6785 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
6786 Likewise.
6787 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
6788 Likewise.
6789 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
6790 * nptl/tst-rwlock16.c: New file.
6791 * nptl/Makefile (tests): Add new test.
6792
6793 2015-06-04 Torvald Riegel <triegel@redhat.com>
6794
6795 [BZ #18324]
6796 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
6797 missing wake-up of readers.
6798 * nptl/tst-rwlock15.c: New file.
6799 * nptl/Makefile (tests): Add new test.
6800
6801 2015-06-03 Roland McGrath <roland@hack.frob.com>
6802
6803 * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
6804 (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
6805 * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
6806 and __nacl_supply_interface_rtld.
6807 * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
6808 * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
6809 * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
6810 Add __nacl_supply_interface_rtld.
6811 (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
6812
6813 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
6814
6815 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
6816 isfinite.
6817 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6818 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
6819
6820 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
6821
6822 * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
6823 __signbit* with standard C99 macros.
6824 * math/e_exp10l.c: Likewise.
6825 * math/e_exp2l.c: Likewise.
6826 * math/e_scalb.c: Likewise.
6827 * math/e_scalbf.c: Likewise.
6828 * math/e_scalbl.c: Likewise.
6829 * math/s_ldexp.c: Likewise.
6830 * math/s_ldexpf.c: Likewise.
6831 * math/s_ldexpl.c: Likewise.
6832 * math/w_atan2.c: Likewise.
6833 * math/w_atan2f.c: Likewise.
6834 * math/w_atan2l.c: Likewise.
6835 * math/w_cosh.c: Likewise.
6836 * math/w_coshf.c: Likewise.
6837 * math/w_coshl.c: Likewise.
6838 * math/w_exp10.c: Likewise.
6839 * math/w_exp10f.c: Likewise.
6840 * math/w_exp10l.c: Likewise.
6841 * math/w_exp2.c: Likewise.
6842 * math/w_exp2f.c: Likewise.
6843 * math/w_exp2l.c: Likewise.
6844 * math/w_fmod.c: Likewise.
6845 * math/w_fmodf.c: Likewise.
6846 * math/w_fmodl.c: Likewise.
6847 * math/w_hypot.c: Likewise.
6848 * math/w_hypotf.c: Likewise.
6849 * math/w_hypotl.c: Likewise.
6850 * math/w_jnl.c: Likewise.
6851 * math/w_lgamma.c: Likewise.
6852 * math/w_lgamma_r.c: Likewise.
6853 * math/w_lgammaf.c: Likewise.
6854 * math/w_lgammaf_r.c: Likewise.
6855 * math/w_lgammal.c: Likewise.
6856 * math/w_lgammal_r.c: Likewise.
6857 * math/w_pow.c: Likewise.
6858 * math/w_powf.c: Likewise.
6859 * math/w_powl.c: Likewise.
6860 * math/w_remainder.c: Likewise.
6861 * math/w_remainderf.c: Likewise.
6862 * math/w_remainderl.c: Likewise.
6863 * math/w_scalb.c: Likewise.
6864 * math/w_scalbf.c: Likewise.
6865 * math/w_scalbl.c: Likewise.
6866 * math/w_scalbln.c: Likewise.
6867 * math/w_scalblnf.c: Likewise.
6868 * math/w_scalblnl.c: Likewise.
6869 * math/w_sinh.c: Likewise.
6870 * math/w_sinhf.c: Likewise.
6871 * math/w_sinhl.c: Likewise.
6872 * math/w_tgamma.c: Likewise.
6873 * math/w_tgammaf.c: Likewise.
6874 * math/w_tgammal.c: Likewise.
6875 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6876 * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
6877 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6878 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6879 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6880 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6881 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
6882 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
6883 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6884 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6885 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
6886 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
6887 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6888 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6889 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6890 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6891 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6892 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
6893 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
6894 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6895 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6896 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
6897 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6898 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6899 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
6900 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
6901 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
6902 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
6903 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6904 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
6905 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
6906 * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
6907 * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
6908 * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
6909 * stdio-common/printf_fp.c: Likewise.
6910 * stdio-common/printf_fphex.c: Likewise.
6911 * stdio-common/printf_size.c: Likewise.
6912
6913 2015-06-03 Joseph Myers <joseph@codesourcery.com>
6914
6915 [BZ #18470]
6916 * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
6917 strnlen.
6918 * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
6919 Remove variable.
6920 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
6921 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
6922 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
6923 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
6924 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
6925 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
6926 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
6927 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
6928 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
6929 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
6930
6931 [BZ #18468]
6932 * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
6933 weak alias of __wmemchr. Use libc_hidden_weak.
6934 * include/wchar.h (__wmemchr): Declare. Use libc_hidden_proto.
6935 * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
6936 instead of wmemchr.
6937
6938 2015-06-02 Roland McGrath <roland@hack.frob.com>
6939
6940 [BZ #18383]
6941 * elf/tst-tlsalign-extern.c: New file.
6942 * elf/tst-tlsalign-extern-static.c: New file.
6943 * elf/tst-tlsalign-vars.c: New file.
6944 * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
6945 [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
6946 ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
6947 ($(objpfx)tst-tlsalign-extern-static): Likewise.
6948 (test-xfail-tst-tlsalign-extern-static): New variable.
6949
6950 2015-06-02 Joseph Myers <joseph@codesourcery.com>
6951
6952 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
6953 Use variable name _sc_err instead of err.
6954 [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
6955 instead of ret.
6956 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
6957 (INLINE_SYSCALL): Use variable name _sc_err instead of err.
6958 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
6959 (INLINE_SYSCALL): Likewise.
6960
6961 * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
6962 * include/string.h (__strnlen): Use libc_hidden_proto.
6963 * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
6964 * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
6965 (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
6966 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
6967 (libc_hidden_def): Undefine and redefine.
6968 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
6969 [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
6970 __GI_strnlen.
6971 * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
6972 libc_hidden_def.
6973 * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
6974
6975 [BZ #18469]
6976 * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
6977 weak alias of __towlower. Use libc_hidden_weak.
6978 (towupper): Rename to __towupper and define as weak alias of
6979 __towupper. Use libc_hidden_weak.
6980 * include/wctype.h (__towlower): Declare. Use libc_hidden_proto.
6981 (__towupper): Likewise.
6982 * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
6983 __towlower instead of towlower.
6984
6985 2015-06-02 Roland McGrath <roland@hack.frob.com>
6986
6987 * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
6988 "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
6989
6990 2015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
6991
6992 * sysdeps/aarch64/libm-test-ulps: Update.
6993
6994 2015-06-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6995
6996 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
6997 Define.
6998 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
6999 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
7000 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
7001 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
7002 * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
7003 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
7004 * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
7005
7006 2015-06-01 Martin Sebor <msebor@redhat.com>
7007
7008 [BZ #18116]
7009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
7010 (__setcontext): Use extended four-operand version of mtsf whenever
7011 possible.
7012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
7013 (__novec_swapcontext): Likewise.
7014
7015 2015-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
7016
7017 * benchtests/scripts/compare_bench.py: New file.
7018 * benchtests/scripts/import_bench.py (mean): New function.
7019 (split_list): Likewise.
7020 (do_for_all_timings): Likewise.
7021 (compress_timings): Likewise.
7022
7023 * benchtests/scripts/import_bench.py: New file.
7024 * benchtests/scripts/validate_benchout.py: Import import_bench
7025 instead of jsonschema.
7026 (validate_bench): Remove function.
7027 (main): Use import_bench.
7028
7029 2015-06-01 Steve Ellcey <sellcey@imgtec.com>
7030
7031 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
7032 copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
7033
7034 2015-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7035
7036 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7037
7038 2015-05-28 Roland McGrath <roland@hack.frob.com>
7039
7040 * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
7041 set THREAD_SELF->tid to a magic value and futex-wake it.
7042 Pass its address to the thread_exit system call.
7043 * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
7044 bit is clear.
7045 * sysdeps/nacl/lowlevellock.h: New file.
7046 * sysdeps/nacl/lll_timedwait_tid.c: New file.
7047
7048 * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
7049 Add TIMEOUT to current time, don't subtract it.
7050
7051 2015-05-28 H.J. Lu <hongjiu.lu@intel.com>
7052
7053 [BZ #2981]
7054 [BZ #18422]
7055 * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
7056 ($(objpfx)tst-audit2.out): Also depend on
7057 $(objpfx)tst-auditmod9b.so.
7058 * elf/tst-audit2.c: Include <dlfcn.h>.
7059 (calloc_called): New.
7060 (calloc): Allow to be called more than once.
7061 (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
7062
7063 2015-05-28 Wilco Dijkstra <wdijkstr@arm.com>
7064
7065 * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
7066 * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
7067
7068 2015-05-27 Marko Myllynen <myllynen@redhat.com>
7069
7070 * stdlib/monetary.h: Fix comment.
7071
7072 2015-05-26 Chris Metcalf <cmetcalf@ezchip.com>
7073
7074 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
7075 Avoid using variables in #defines that might cause shadowing.
7076 (INTERNAL_VSYSCALL_CALL): Likewise.
7077
7078 2015-05-26 Roland McGrath <roland@hack.frob.com>
7079
7080 * sysdeps/nacl/lll_timedlock_wait.c: New file.
7081
7082 * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
7083 * nptl/lll_timedlock_wait.c: ... to this new file.
7084 * nptl/Makefile (libpthread-routines): Add it.
7085 * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
7086 * nptl/lll_timedwait_tid.c: ... to this new file.
7087 * nptl/Makefile (libpthread-routines): Add it.
7088 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
7089 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
7090 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
7091 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
7092 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
7093 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
7094 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
7095 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
7096 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
7097 * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
7098
7099 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7100
7101 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
7102 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
7103 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
7104 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
7105 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
7106 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
7107 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
7108 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
7109 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
7110 * sysdeps/unix/sysv/linux/tile/sysdep.h
7111 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
7112 * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
7113 using vDSO syscall macro.
7114
7115 2015-05-26 Andriy Rysin <arysin@gmail.com>
7116
7117 [BZ #17293]
7118 * uk_UA: Fix sorting order for Ukrainian locale
7119
7120 2015-05-26 Marko Myllynen <myllynen@redhat.com>
7121
7122 * stdlib/monetary.h: Fix comment.
7123
7124 2015-05-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
7125
7126 [BZ #18234]
7127 * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
7128 st_mtim and st_ctim members.
7129 * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
7130 st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
7131 * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
7132 (struct stat64): Likewise.
7133 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
7134 (struct stat64): Likewise.
7135 * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
7136 (struct stat64): Likewise.
7137
7138 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7139
7140 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
7141 Define and include sysdep-vdso.h.
7142 * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
7143 Likewise.
7144 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
7145 Likewise.
7146 * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
7147 Define with VDSO_SYMBOL and use PTR_MANGLE.
7148 (__vdso_clock_gettime): Likewise.
7149 (__vdso_clock_getres): Likewise.
7150 (_libc_vdso_platform_setup): Likewise.
7151 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
7152 Likewise.
7153 (_libc_vdso_platform_setup): Likewise.
7154 * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
7155 Likewise.
7156 (__vdso_clock_gettime): Likewise.
7157 (__vdso_clock_getres): Likewise.
7158 (__vdso_get_tbfreq): Likewise.
7159 (__vdso_getcpu): Likewise.
7160 (__vdso_time): Likewise.
7161 (__vdso_sigtramp_rt64): Likewise.
7162 (__vdso_signtramp32): Likewise.
7163 (__vdso_sigtramp_rt32): Likewise.
7164 (_libc_vdso_platform_setup): Likewise.
7165 * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
7166 Likewise.
7167 (__vdso_clock_gettime): Likewise.
7168 (__vdso_clock_getres): Likewise.
7169 (_libc_vdso_platform_setup): Likewise.
7170 * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
7171 Likewise.
7172 (__vdso_clock_gettime): Likewise.
7173 (_libc_vdso_platform_setup): Likewise.
7174 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
7175 Likewise.
7176 (__vdso_getcpu): Likewise.
7177 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
7178 Use VDSO_SYMBOL macro to define.
7179 (__vdso_clock_gettime): Likewise.
7180 (__vdso_clock_getres): Likewise.
7181 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
7182 Likewise.
7183 (__vdso_clock_gettime): Likewise.
7184 (__vdso_clock_getres): Likewise.
7185 (__vdso_get_tbfreq): Likewise.
7186 (__vdso_getcpu): Likewise.
7187 (__vdso_time): Likewise.
7188 (__vdso_sigtramp_rt64): Likewise.
7189 (__vdso_signtramp32): Likewise.
7190 (__vdso_sigtramp_rt32): Likewise.
7191 * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
7192 Likewise.
7193 (__vdso_clock_gettime): Likewise.
7194 (__vdso_clock_getres): Likewise.
7195 * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
7196 Likewise.
7197 (__vdso_clock_gettime): Likewise.
7198 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
7199 Likewise.
7200 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove
7201 macro.
7202 (INTERNAL_VSYSCALL): Likewise.
7203 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
7204 Remove macro.
7205 (INTERNAL_VSYSCALL): Likewise.
7206 (INTERNAL_VSYSCALL_NCS): Likewise.
7207 (INTERNAL_VSYSCALL_CALL): New macro.
7208 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
7209 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
7210 Likewise.
7211 (INTERNAL_VSYSCALL): Likewise.
7212 (INTERNAL_VSYSCALL_NCS): Likewise.
7213 (INTERNAL_VSYSCALL_CALL): New macro.
7214 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
7215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7216 (INLINE_VSYSCALL): Remove macro.
7217 (INTERNAL_VSYSCALL): Remove macro.
7218 (INTERNAL_VSYSCALL_NCS): Remove macro.
7219 (INTERNAL_VSYSCALL_CALL): New macro.
7220 (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
7221 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
7222 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
7223 (HAVE_CLOCK_GETRES_VSYSCALL): New define.
7224 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
7225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
7226 (INLINE_VSYSCALL): Remove macro.
7227 (INTERNAL_VSYSCALL): Likewise.
7228 (INTERNAL_VSYSCALL_NCS): Likewise.
7229 (INTERNAL_VSYSCALL_CALL): New macro.
7230 (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
7231 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
7232 PTR_DEMANGLE on vDSO pointer.
7233 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
7234 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
7235 macro.
7236 (INTERNAL_SYSCALL): Likewise.
7237 (INTERNAL_VSYSCALL_NCS): Remove macro.
7238 (INTERNAL_VSYSCALL_CALL): New macro.
7239 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
7240 Remove macro.
7241 (INTERNAL_VSYSCALL): Likewise.
7242 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
7243 sysdep-vdso.h instead of libc-vdso.h.
7244 * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
7245 definition.
7246 (INLINE_VSYSCALL): Likewise.
7247 (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
7248 * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
7249 definition.
7250 (INLINE_VSYSCALL): Likewise.
7251 (INTERNAL_VSYSCALL): Likewise.
7252 (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
7253 * sysdeps/unix/sysv/linux/timespec_get.c
7254 (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
7255 (timespec_get): Use ANSI prototype.
7256 * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
7257 and definition for Linux.
7258
7259 2015-05-25 Andrew Senkevich <andrew.senkevich@intel.com>
7260
7261 * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
7262 * include/libc-symbols.h: libmvec_hidden_* macro series added.
7263
7264 2015-05-22 H.J. Lu <hongjiu.lu@intel.com>
7265
7266 [BZ #2981]
7267 [BZ #18410]
7268 * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
7269 for missing DT_PLTRELSZ.
7270
7271 2015-05-22 Paul Eggert <eggert@cs.ucla.edu>
7272
7273 Remove obsolete aliases that broke 'locale -a'
7274 [BZ #18412]
7275 * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
7276 which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
7277 breaking some applications that use 'locale -a' output.
7278 Change the encoding of this file from Latin-1 to ASCII to avoid
7279 other potential problems with people grepping this file.
7280
7281 2015-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7282
7283 * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
7284 -fasynchronous-unwind-tables.
7285 (CFLAGS-sendto.c): Likewise.
7286 (CFLAGS-sendmsg.c): Likewise.
7287 (CFLAGS-connect.c): Likewise.
7288 (CFLAGS-recvmsg.c): Likewise.
7289 (CFLAGS-recvfrom.c): Likewise.
7290 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
7291 (SOCKETCALL): New macro: non-cancellable socketcall.
7292 (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
7293 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
7294 internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
7295 * sysdeps/unix/sysv/linux/accept.c: New file.
7296 * sysdeps/unix/sysv/linux/bind.c: Likewise.
7297 * sysdeps/unix/sysv/linux/connect.c: Likewise.
7298 * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
7299 * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
7300 * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
7301 * sysdeps/unix/sysv/linux/listen.c: Likewise.
7302 * sysdeps/unix/sysv/linux/recv.c: Likewise.
7303 * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
7304 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
7305 * sysdeps/unix/sysv/linux/send.c: Likewise.
7306 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
7307 * sysdeps/unix/sysv/linux/sendto.c: Likewise.
7308 * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
7309 * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
7310 * sysdeps/unix/sysv/linux/socket.c: Likewise.
7311 * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
7312 * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
7313 prototype.
7314 (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
7315 (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
7316 instead of __internal_xxx function.
7317 * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
7318 prototype.
7319 (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
7320 (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
7321 instead of __internal_xxx function.
7322 * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
7323 prototype.
7324 (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
7325 (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
7326 instead of __internal_xxx function.
7327 * sysdeps/unix/sysv/linux/accept.S: Remove file.
7328 * sysdeps/unix/sysv/linux/bind.S: Likewise.
7329 * sysdeps/unix/sysv/linux/connect.S: Likewise.
7330 * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
7331 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
7332 * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
7333 * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
7334 * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
7335 * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
7336 * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
7337 * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
7338 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
7339 * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
7340 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
7341 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
7342 * sysdeps/unix/sysv/linux/listen.S: Likewise.
7343 * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
7344 * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
7345 * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
7346 * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
7347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
7348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
7349 * sysdeps/unix/sysv/linux/recv.S: Likewise.
7350 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
7351 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
7352 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
7353 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
7354 * sysdeps/unix/sysv/linux/send.S: Likewise.
7355 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
7356 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
7357 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
7358 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
7359 * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
7360 * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
7361 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
7362 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
7363 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
7364 * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
7365 * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
7366 socketcall is implemented in GLIBC.
7367
7368 2015-05-22 Joseph Myers <joseph@codesourcery.com>
7369
7370 * soft-fp/fmadf4.c: Include <libc-internal.h>.
7371 (__fma): Ignore uninitialized warnings around packing.
7372 * soft-fp/fmasf4.c: Include <libc-internal.h>.
7373 (__fmaf): Ignore uninitialized warnings around packing.
7374 * soft-fp/fmatf4.c: Include <libc-internal.h>.
7375 (__fmal): Ignore uninitialized warnings around packing.
7376
7377 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
7378 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
7379 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
7380 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
7381
7382 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
7383 switch statement into default case.
7384 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
7385
7386 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
7387 a conditional in forcing "inexact".
7388 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
7389 Likewise.
7390
7391 2015-05-22 Roland McGrath <roland@hack.frob.com>
7392
7393 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
7394 Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
7395 for each INTERNAL_SYSCALL use.
7396
7397 2015-05-22 Joseph Myers <joseph@codesourcery.com>
7398
7399 [BZ #438]
7400 * posix/unistd.h (_POSIX2_C_VERSION): New macro.
7401 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
7402 variable.
7403
7404 [BZ #18444]
7405 * string/basename.c (basename): Rename to __basename and define as
7406 weak alias of __basename. Use libc_hidden_weak.
7407 * include/string.h (__basename): Declare. Use libc_hidden_proto.
7408 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
7409 __basename instead of basename.
7410 * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
7411 Remove variable.
7412 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
7413
7414 2015-05-18 Florian Weimer <fweimer@redhat.com>
7415
7416 * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
7417 (_IO_JUMPS_FILE_plus): New.
7418 (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
7419 _IO_CAST_FIELD_ACCESS.
7420 * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
7421 mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
7422 * libio/freopen.c (freopen): Likewise.
7423 * libio/freopen64.c (freopen64): Likewise.
7424 * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
7425 * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
7426 * libio/iofwide.c (_IO_fwide): Likewise.
7427 * libio/memstream.c (open_memstream): Likewise.
7428 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
7429 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
7430 * libio/oldiopopen.c (_IO_old_popen): Likewise.
7431
7432 2015-05-21 Joseph Myers <joseph@codesourcery.com>
7433
7434 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
7435 (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
7436 NADJ.
7437 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
7438 (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
7439 NADJ.
7440 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
7441 (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
7442 NADJ.
7443
7444 * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
7445 (p == 4) case.
7446
7447 * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
7448 * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
7449 Remove variable.
7450 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
7451 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
7452 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
7453
7454 2015-05-21 Florian Weimer <fweimer@redhat.com>
7455
7456 * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
7457 Adjust jump table label generation macros.
7458
7459 2015-05-21 Florian Weimer <fweimer@redhat.com>
7460
7461 * stdio-common/vfprintf.c (vfprintf): Move local variables
7462 args_malloced, specs, specs_malloced, and the code after
7463 do_positional to the printf_positional function.
7464 (printf_positional): New function.
7465
7466 2015-05-21 Florian Weimer <fweimer@redhat.com>
7467
7468 * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
7469 function.
7470 (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
7471 STEP4_TABLE, process_arg): Move macro definitions
7472 out of the vfprintf function. (Cosmetic change only.)
7473
7474 2015-05-21 Carlos O'Donell <carlos@redhat.com>
7475
7476 * benchtests/Makefile (stdio-common-bench): Define.
7477 (benchset): Add stdio-common-bench.
7478 * sprintf-inputs: New file.
7479 * sprintf-source.c: New file.
7480
7481 2015-05-21 Andreas Schwab <schwab@suse.de>
7482
7483 [BZ #13028]
7484 [BZ #17053]
7485 * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
7486 of struct __res_state.
7487 * resolv/res_send.c (__libc_res_nsend): Likewise.
7488 (get_nsaddr): New function.
7489 (res_ourserver_p, send_vc, reopen): Use it instead of accessing
7490 statp directly.
7491
7492 2015-05-20 Joseph Myers <joseph@codesourcery.com>
7493
7494 * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
7495 -D_POSIX_C_SOURCE=199506L.
7496
7497 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
7498
7499 * conform/data/unistd.h-data (_POSIX_VERSION): Require.
7500 (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
7501 Do not mention otherwise.
7502 [POSIX] (_XOPEN_VERSION): Do not expect.
7503 [POSIX] (_XOPEN_XCU_VERSION): Likewise.
7504 [POSIX] (_POSIX2_C_BIND): Likewise.
7505 [POSIX] (_POSIX2_VERSION): Likewise.
7506 [POSIX] (_XOPEN_XPG2): Likewise.
7507 [POSIX] (_XOPEN_XPG3): Likewise.
7508 [POSIX] (_XOPEN_XPG4): Likewise.
7509 [POSIX] (_XOPEN_UNIX): Likewise.
7510 [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
7511 [POSIX] (_POSIX_BARRIERS): Likewise.
7512 [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
7513 [POSIX] (_POSIX_CPUTIME): Likewise.
7514 [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
7515 [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
7516 [POSIX] (_POSIX_SHELL): Likewise.
7517 [POSIX] (_POSIX_SPAWN): Likewise.
7518 [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
7519 [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
7520 [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
7521 [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
7522 [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
7523 [POSIX] (_XBS5_ILP32_OFF32): Likewise.
7524 [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
7525 [POSIX] (_XBS5_LP64_OFF64): Likewise.
7526 [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
7527 [POSIX] (_POSIX_TIMEOUTS): Likewise.
7528 [POSIX] (_POSIX2_PBS): Likewise.
7529 [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
7530 [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
7531 [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
7532 [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
7533 [POSIX] (_POSIX2_PBS_TRACK): Likewise.
7534 [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
7535 [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
7536 [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
7537 [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
7538 [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
7539 [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
7540 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
7541 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
7542 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
7543 [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
7544 [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
7545 [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
7546 [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
7547 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
7548 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
7549 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
7550 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
7551 [POSIX] (_SC_2_C_BIND): Likewise.
7552 [POSIX] (_SC_2_C_VERSION): Likewise.
7553 [POSIX] (_SC_2_PBS): Likewise.
7554 [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
7555 [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
7556 [POSIX] (_SC_2_PBS_LOCATE): Likewise.
7557 [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
7558 [POSIX] (_SC_2_PBS_TRACK): Likewise.
7559 [POSIX] (_SC_ATEXIT_MAX): Likewise.
7560 [POSIX] (_SC_BARRIERS): Likewise.
7561 [POSIX] (_SC_BASE): Likewise.
7562 [POSIX] (_SC_CLOCK_SELECTION): Likewise.
7563 [POSIX] (_SC_DEVICE_IO): Likewise.
7564 [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
7565 [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
7566 [POSIX] (_SC_FD_MGMT): Likewise.
7567 [POSIX] (_SC_FIFO): Likewise.
7568 [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
7569 [POSIX] (_SC_FILE_LOCKING): Likewise.
7570 [POSIX] (_SC_FILE_SYSTEM): Likewise.
7571 [POSIX] (_SC_IOV_MAX): Likewise.
7572 [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
7573 [POSIX] (_SC_NETWORKING): Likewise.
7574 [POSIX] (_SC_PAGE_SIZE): Likewise.
7575 [POSIX] (_SC_PASS_MAX): Likewise.
7576 [POSIX] (_SC_PIPE): Likewise.
7577 [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
7578 [POSIX] (_SC_REGEXP): Likewise.
7579 [POSIX] (_SC_SHELL): Likewise.
7580 [POSIX] (_SC_SIGNALS): Likewise.
7581 [POSIX] (_SC_SINGLE_PROCESS): Likewise.
7582 [POSIX] (_SC_SPIN_LOCKS): Likewise.
7583 [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
7584 [POSIX] (_SC_USER_GROUPS): Likewise.
7585 [POSIX] (_SC_USER_GROUPS_R): Likewise.
7586 [POSIX] (_SC_STREAMS): Likewise.
7587 [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
7588 [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
7589 [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
7590 [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
7591 [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
7592 [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
7593 [POSIX] (_PC_FILESIZEBITS): Likewise.
7594 [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
7595 [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
7596 [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
7597 [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
7598 [POSIX] (uid_t): Likewise.
7599 [POSIX] (gid_t): Likewise.
7600 [POSIX] (off_t): Likewise.
7601 [POSIX] (pid_t): Likewise.
7602 [POSIX] (cuserid): Allow.
7603 (_SC_2_CHAR_TERM): Require constant.
7604 (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
7605 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
7606 variable.
7607
7608 2015-05-20 Roland McGrath <roland@hack.frob.com>
7609
7610 * sysdeps/nacl/pthread-pids.h: New file.
7611 * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
7612 (create_thread): Use __nacl_get_tid to initialize PD->tid.
7613
7614 * nptl/pthread-pids.h: New file.
7615 * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
7616 * nptl/nptl-init.c: Include <pthread-pids.h>.
7617 (__pthread_initialize_minimal_internal):
7618 Call __pthread_initialize_pids instead of set_tid_address syscall.
7619
7620 * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
7621 * sysdeps/posix/usleep.c: ... here.
7622
7623 2015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7624
7625 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
7626 call_pselect6 object.
7627 [$(subdir) = io]: Remove call_sync_file_range object.
7628 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
7629 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
7630 * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
7631 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
7632
7633 2015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
7634
7635 * math/s_cproj.c: Add include "math_private.h".
7636 * math/s_cprojf.c: Likewise.
7637 * math/s_cprojl.c: Likewise.
7638
7639 2015-05-19 Joseph Myers <joseph@codesourcery.com>
7640
7641 [BZ #18244]
7642 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
7643 high mantissa bit when testing whether P is a NaN.
7644 * math/libm-test.inc (remainder_test_data): Add more tests.
7645 (remquo_test_data): Likewise.
7646
7647 [BZ #18049]
7648 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
7649 below -32, return the argument, with underflow if subnormal.
7650 * math/auto-libm-test-in: Add more tests of atanh.
7651 * math/auto-libm-test-out: Regenerated.
7652
7653 2015-05-19 Roland McGrath <roland@hack.frob.com>
7654
7655 [BZ #18434]
7656 * nptl/tst-sem15.c: New file.
7657 * nptl/Makefile (tests): Add it.
7658 * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
7659 s/<</>>/ to fix typo in EOVERFLOW check.
7660 * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
7661
7662 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7663
7664 * manual/strings.texi (envz_remove): Fix typo in safety
7665 annotations.
7666
7667 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
7668 Steve Ellcey <sellcey@imgtec.com>
7669
7670 * inet/rcmd.c (rresvport_af): Change ss to anonymous union
7671 in order to avoid strict alias warnings.
7672 (iruserok_af): Ditto for ra.
7673
7674 2015-05-19 James Lemke <jwlemke@codesourcery.com>
7675
7676 [BZ #17581]
7677 * malloc/hooks.c
7678 (magicbyte): Convert to a function and avoid returning 0x01.
7679 (mem2mem_check): Avoid using a length byte equal to the magic byte.
7680 (mem2chunk_check): Fix unsigned comparisons to zero.
7681 Hoist defs of sz and magic.
7682
7683 2015-05-19 Richard Henderson <rth@redhat.com>
7684
7685 * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
7686
7687 * sysdeps/alpha/fpu/libm-test-ulps: Update.
7688
7689 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7690
7691 [BZ #16159]
7692 * malloc/Makefile (tests): New test case tst-malloc-backtrace.
7693 * malloc/arena.c (arena_lock): Check if arena is corrupt.
7694 (reused_arena): Find a non-corrupt arena.
7695 (heap_trim): Pass arena to unlink.
7696 * malloc/hooks.c (malloc_check_get_size): Pass arena to
7697 malloc_printerr.
7698 (top_check): Likewise.
7699 (free_check): Likewise.
7700 (realloc_check): Likewise.
7701 * malloc/malloc.c (malloc_printerr): Add arena argument.
7702 (unlink): Likewise.
7703 (munmap_chunk): Adjust.
7704 (ARENA_CORRUPTION_BIT): New macro.
7705 (arena_is_corrupt): Likewise.
7706 (set_arena_corrupt): Likewise.
7707 (sysmalloc): Use mmap if there are no usable arenas.
7708 (_int_malloc): Likewise.
7709 (__libc_malloc): Don't fail if arena_get returns NULL.
7710 (_mid_memalign): Likewise.
7711 (__libc_calloc): Likewise.
7712 (__libc_realloc): Adjust for additional argument to
7713 malloc_printerr.
7714 (_int_free): Likewise.
7715 (malloc_consolidate): Likewise.
7716 (_int_realloc): Likewise.
7717 (_int_memalign): Don't touch corrupt arenas.
7718 * malloc/tst-malloc-backtrace.c: New test case.
7719
7720 * Makefile (summarize-tests): Fix return value on success.
7721
7722 * manual/string.texi (Envz Functions): Add envz_remove.
7723
7724 2015-05-18 Roland McGrath <roland@hack.frob.com>
7725
7726 * sysdeps/posix/opendir.c: Include <stdbool.h>.
7727 (invalid_name): New function, broken out of ...
7728 (__opendirat): ... here. Call it.
7729 (need_isdir_precheck): New function, broken out of ...
7730 (__opendirat): ... here. Call it.
7731 Use __fxstatat64, not __xstatat64.
7732 (opendir_oflags): New function, broken out of ...
7733 (__opendirat): ... here. Call it.
7734 (opendir_tail): New function, broken out of ...
7735 (__opendirat): ... here. Call it.
7736 (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
7737 opendir_tail, rather than punting to __opendirat.
7738 (__opendirat): Conditionalize function definition on [IS_IN (libc)].
7739
7740 2015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7741
7742 * .gitignore: Ignore generated *.pyc.
7743
7744 2015-05-18 Arjun Shankar <arjun.is@lostca.se>
7745
7746 * include/stdio.h: Define __need_wint_t.
7747 * test-skeleton.c: Avoid `for' loop initial declaration.
7748 * nptl/tst-initializers1.c: Use test-skeleton.c.
7749
7750 2015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7751
7752 [BZ #18418]
7753 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
7754
7755 2015-05-15 Joseph Myers <joseph@codesourcery.com>
7756
7757 [BZ #16352]
7758 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
7759 (__ieee754_atanh): Force underflow exception for results with
7760 small absolute value.
7761 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
7762 (__ieee754_atanhf): Force underflow exception for results with
7763 small absolute value.
7764 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
7765 (__ieee754_atanh): Force underflow exception for results with
7766 small absolute value.
7767 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
7768 (__ieee754_atanhf): Force underflow exception for results with
7769 small absolute value.
7770 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
7771 (__ieee754_atanhl): Force underflow exception for results with
7772 small absolute value.
7773 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
7774 (__ieee754_atanhl): Force underflow exception for results with
7775 small absolute value.
7776 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
7777 (__ieee754_atanhl): Force underflow exception for results with
7778 small absolute value.
7779 * math/auto-libm-test-in: Do not allow missing underflow
7780 exceptions from atanh.
7781 * math/auto-libm-test-out: Regenerated.
7782
7783 [BZ #18221]
7784 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
7785 2**-28 as threshold for returning x or +/- 1/x.
7786 * math/auto-libm-test-in: Add more tests of tan.
7787 * math/auto-libm-test-out: Regenerated.
7788
7789 [BZ #18220]
7790 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
7791 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
7792 * math/auto-libm-test-in: Add another test of lgamma.
7793 * math/auto-libm-test-out: Regenerated.
7794
7795 2015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
7796
7797 * stdio-common/printf_fp.c (___printf_fp): Use abs.
7798 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
7799 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
7800 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
7801 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
7802 (ADD2A): Use fabs. (SUB2A): Use fabs.
7803 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
7804 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
7805 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
7806 (log1): Use fabs. (my_log2): Use fabs.
7807 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
7808 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
7809 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
7810 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
7811 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
7812 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
7813 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
7814 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
7815 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
7816 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
7817 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
7818
7819 2015-05-15 Joseph Myers <joseph@codesourcery.com>
7820
7821 [BZ #18217]
7822 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
7823 as threshold for returning 1 - x.
7824 * math/auto-libm-test-in: Add more tests of erfc.
7825 * math/auto-libm-test-out: Regenerated.
7826
7827 2015-05-14 Joseph Myers <joseph@codesourcery.com>
7828
7829 [BZ #18196]
7830 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
7831 threshold for large arguments.
7832 * math/auto-libm-test-in: Add another test of atan.
7833 * math/auto-libm-test-out: Regenerated.
7834
7835 [BZ #16339]
7836 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
7837 (__log1p): Force underflow exception for results with small
7838 absolute value.
7839 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
7840 (__log1pf): Force underflow exception for results with small
7841 absolute value.
7842 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
7843 (__log1p): Force underflow exception for results with small
7844 absolute value.
7845 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
7846 (__log1pf): Force underflow exception for results with small
7847 absolute value.
7848 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
7849 (__log1pl): Force underflow exception for results with small
7850 absolute value.
7851 * math/auto-libm-test-in: Do not allow missing underflow
7852 exceptions from log1p.
7853 * math/auto-libm-test-out: Regenerated.
7854
7855 2015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
7856 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7857
7858 [BZ #16704]
7859 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
7860
7861 2015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
7862
7863 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
7864 (libmvec): New variable.
7865 * configure.ac: Added option for mathvec build.
7866 * configure: Regenerated.
7867 * mathvec/Depend: New file.
7868 * mathvec/Makefile: New file.
7869 * shlib-versions: Added libmvec.
7870 * math/Makefile: Added rule for libm.so installation.
7871
7872 * bits/math-vector.h: New file.
7873 * bits/libm-simd-decl-stubs.h: New header.
7874 * math/Makefile (headers): Added new header
7875 libm-simd-decl-stubs.h.
7876 * math/math.h (__MATHCALL_VEC): New macro.
7877
7878 * math/gen-libm-have-vector-test.sh: Script generates series of macros
7879 for conditions in testing functions.
7880 * math/Makefile: Added call of libm-have-vector-test.sh.
7881 * math/libm-test.inc (HAVE_VECTOR): New macros.
7882
7883 * math/libm-test.inc: START refactored.
7884 * math/test-double.c (TEST_MATHVEC): Add define.
7885 * math/test-float.c: Likewise.
7886 * math/test-idouble.c: Likewise.
7887 * math/test-ifloat.c: Likewise.
7888 * math/test-ildoubl.c: Likewise.
7889 * math/test-ldouble.c: Likewise.
7890 * sysdeps/generic/math-tests-arch.h
7891 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
7892 architecture check.
7893
7894 * math/test-double.c (FUNC_TEST): New macro.
7895 * math/test-float.c: Likewise.
7896 * math/test-idouble.c: Likewise.
7897 * math/test-ifloat.c: Likewise.
7898 * math/test-ildoubl.c: Likewise.
7899 * math/test-ldouble.c: Likewise.
7900 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
7901
7902 2015-05-13 Roland McGrath <roland@hack.frob.com>
7903
7904 * sysdeps/nacl/fdopendir.c: New file.
7905
7906 * dirent/scandir-tail.c: New file.
7907 * dirent/scandir64-tail.c: New file.
7908 * dirent/Makefile (routines): Add them.
7909 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
7910 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
7911 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
7912 [!SCANDIR] (SCANDIR_TAIL): New macro.
7913 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
7914 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
7915 (SCANDIRAT): Macro removed.
7916 (SCANDIR_TAIL): New macro.
7917 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
7918 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
7919 (SCANDIRAT): Just call __opendirat and __scandir_tail.
7920 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
7921 (READDIR): Macro removed.
7922 (SCANDIR_TAIL): New macro.
7923 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
7924 (SCANDIR_TAIL): New macro.
7925
7926 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
7927 * dirent/scandir-cancel.c: ... to this new file.
7928 * dirent/Makefile (routines): Add it.
7929 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
7930 * sysdeps/unix/sysv/linux/i386/scandir64.c
7931 (SKIP_SCANDIR_CANCEL): Macro removed.
7932 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
7933
7934 * dirent/tst-scandir.c: New file.
7935 * dirent/tst-scandir64.c: New file.
7936 * dirent/Makefile (tests): Add them.
7937
7938 2015-05-13 H.J. Lu <hongjiu.lu@intel.com>
7939
7940 [BZ #18409]
7941 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
7942
7943 2015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
7944
7945 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
7946 list.
7947
7948 2015-05-13 Leonhard Holz <leonhard.holz@web.de>
7949
7950 * benchtests/bench-strcoll.c: New benchmark.
7951 * benchtests/Makefile: Generate locales and run benchmark.
7952 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
7953 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
7954 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
7955 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
7956 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
7957 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
7958 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
7959 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
7960 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
7961 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
7962 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
7963 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
7964 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
7965 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
7966 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
7967 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
7968 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
7969 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
7970 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
7971 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
7972 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
7973 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
7974 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
7975 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
7976
7977 2015-05-12 Ondřej Bílka <neleai@seznam.cz>
7978
7979 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
7980 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
7981
7982 2015-05-12 Roland McGrath <roland@hack.frob.com>
7983
7984 * posix/uname-values.h: New file.
7985 * posix/uname.c: Include that instead of <config-name.h>.
7986 * sysdeps/nacl/uname-values.h: New file.
7987 * sysdeps/arm/nacl/uname-values.h: New file.
7988
7989 2015-05-12 Joseph Myers <joseph@codesourcery.com>
7990
7991 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
7992 splitting into fields.
7993
7994 2015-05-12 Leonhard Holz <leonhard.holz@web.de>
7995
7996 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
7997 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
7998 * locale/localeinfo.h: Add enum collation_encoding_type.
7999 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
8000 * programs/ld-collate.c (collate_output): Add encoding type info.
8001 * string/strcoll_l.c (STRDIFF): New function.
8002 * (STRCOLL): Use STRDIFF to skip over equal prefix.
8003 * wcsmbs/wcscoll_l.c: Define STRDIFF.
8004
8005 2015-05-11 Joseph Myers <joseph@codesourcery.com>
8006
8007 [BZ #18397]
8008 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
8009 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
8010 <fpu_control.h> instead of <math/fpu_control.c>.
8011 * sysdeps/mips/mips32/fpu/Makefile: New file.
8012
8013 2015-05-11 Andreas Schwab <schwab@suse.de>
8014
8015 [BZ #18007]
8016 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
8017 nss_endgrent.
8018 (_nss_compat_endgrent): Call nss_endgrent.
8019 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
8020 nss_endpwent.
8021 (_nss_compat_endpwent): Call nss_endpwent.
8022 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
8023 needent, call nss_setspent only if non-zero.
8024 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
8025 (internal_endspent): Don't call nss_endspent.
8026 (_nss_compat_endspent): Call nss_endspent.
8027 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
8028 Remove. All uses removed.
8029 (internal_setent): Remove parameter stayopen, add parameter
8030 stream. Use it instead of global variable.
8031 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
8032 (internal_endent, internal_getent): Add parameter stream. Use it
8033 instead of global variable.
8034 (CONCAT(_nss_files_end,ENTNAME))
8035 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
8036 (_nss_files_get##name##_r): Pass local stream. Remove locking.
8037 * nss/nss_files/files-alias.c (position, last_use): Remove. All
8038 uses removed.
8039 (internal_setent, internal_endent): Add parameter stream. Use it
8040 instead of global variable.
8041 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
8042 stream.
8043 (get_next_alias): Add parameter stream.
8044 (_nss_files_getaliasent_r): Pass global stream.
8045 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
8046 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
8047 (_nss_files_gethostbyname4_r): Pass local stream to
8048 internal_setent, internal_getent and internal_endent. Remove
8049 locking.
8050
8051 2015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
8052
8053 * tst-strfmon1.c (tests): Update expected currency symbol.
8054
8055 2015-05-08 Roland McGrath <roland@hack.frob.com>
8056
8057 * sysdeps/nacl/gethostname.c: New file.
8058
8059 2015-05-08 Joseph Myers <joseph@codesourcery.com>
8060
8061 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
8062 and sinh.
8063 * math/auto-libm-test-out: Regenerated.
8064 * sysdeps/i386/fpu/libm-test-ulps: Update.
8065 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8066
8067 2015-05-08 Carlos O'Donell <carlos@redhat.com>
8068
8069 [BZ #18125]
8070 * stdlib/tst-setcontext3.c: New file.
8071 * stdlib/tst-setcontext3.sh: New file.
8072 * stdlib/Makefile (tests): Add tst-setcontext3.
8073 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
8074 to verify test program created output file.
8075 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
8076 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
8077 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
8078 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
8079
8080 2015-05-06 Roland McGrath <roland@hack.frob.com>
8081
8082 [BZ #18383]
8083 * elf/tst-tlsalign.c: New file.
8084 * elf/tst-tlsalign-static.c: New file.
8085 * elf/tst-tlsalign-lib.c: New file.
8086 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
8087 (tests-static): Add tst-tlsalign-static.
8088 (modules-names): Add tst-tlsalign-lib.
8089 (test-xfail-tst-tlsalign): New variable.
8090 (test-xfail-tst-tlsalign-static): New variable.
8091
8092 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
8093 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
8094
8095 2015-05-06 Joseph Myers <joseph@codesourcery.com>
8096
8097 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
8098 csqrt, erfc, sin and sincos.
8099 * math/auto-libm-test-out: Regenerated.
8100 * sysdeps/i386/fpu/libm-test-ulps: Update.
8101 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8102
8103 2015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
8104
8105 * sysdeps/aarch64/libm-test-ulps: Update.
8106
8107 2015-05-05 Joseph Myers <joseph@codesourcery.com>
8108
8109 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
8110 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
8111 * math/auto-libm-test-out: Regenerated.
8112 * sysdeps/i386/fpu/libm-test-ulps: Update.
8113 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8114
8115 2015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
8116
8117 [BZ #18265]
8118 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
8119 (wcsncpy): Likewise.
8120
8121 2015-05-05 Florian Weimer <fweimer@redhat.com>
8122
8123 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
8124 Assume __ASSUME_FALLOCATE is always true.
8125 * sysdeps/unix/sysv/linux/posix_fallocate64.c
8126 (__posix_fallocate64_l64): Likweise.
8127 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
8128 (posix_fallocate): Likewise.
8129 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
8130 (__posix_fallocate64_l64): Likewise.
8131 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
8132 [!__ASSUME_FALLOCATE]: Add comment.
8133
8134 2015-05-05 Florian Weimer <fweimer@redhat.com>
8135
8136 * sysdeps/unix/sysv/linux/i386/Makefile
8137 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
8138 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
8139 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
8140 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
8141 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
8142 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
8143 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
8144
8145 2015-05-02 Joseph Myers <joseph@codesourcery.com>
8146
8147 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
8148 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
8149 tgamma.
8150 * math/auto-libm-test-out: Regenerated.
8151 * sysdeps/i386/fpu/libm-test-ulps: Update.
8152 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8153
8154 2015-05-01 Joseph Myers <joseph@codesourcery.com>
8155
8156 * math/auto-libm-test-in: Add more tests of tgamma.
8157 * math/auto-libm-test-out: Regenerated.
8158 * sysdeps/i386/fpu/libm-test-ulps: Update.
8159 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8160
8161 * math/auto-libm-test-in: Add more tests of tanh.
8162 * math/auto-libm-test-out: Regenerated.
8163 * sysdeps/i386/fpu/libm-test-ulps: Update.
8164 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8165
8166 * math/auto-libm-test-in: Add more tests of tan.
8167 * math/auto-libm-test-out: Regenerated.
8168 * sysdeps/i386/fpu/libm-test-ulps: Update.
8169 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8170
8171 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
8172 * math/auto-libm-test-out: Regenerated.
8173 * sysdeps/i386/fpu/libm-test-ulps: Update.
8174 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8175
8176 * math/auto-libm-test-in: Add another test of pow.
8177 * math/auto-libm-test-out: Regenerated.
8178 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8179
8180 * math/auto-libm-test-in: Add more tests of lgamma.
8181 * math/auto-libm-test-out: Regenerated.
8182 * sysdeps/i386/fpu/libm-test-ulps: Update.
8183 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8184
8185 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
8186 log1p.
8187 * math/auto-libm-test-out: Regenerated.
8188 * sysdeps/i386/fpu/libm-test-ulps: Update.
8189 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8190
8191 2015-05-01 Mark Wielaard <mjw@redhat.com>
8192
8193 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
8194 Elf64_Chdr structs and ELFCOMPRESS constants.
8195
8196 2015-05-01 Joseph Myers <joseph@codesourcery.com>
8197
8198 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
8199 expm1.
8200 * math/auto-libm-test-out: Regenerated.
8201 * sysdeps/i386/fpu/libm-test-ulps: Update.
8202 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8203
8204 * math/auto-libm-test-in: Add more tests of erf and erfc.
8205 * math/auto-libm-test-out: Regenerated.
8206 * sysdeps/i386/fpu/libm-test-ulps: Update.
8207 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8208
8209 2015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
8210
8211 * config.h.in (HAVE_AARCH64_BE): Add.
8212
8213 2015-04-30 Joseph Myers <joseph@codesourcery.com>
8214
8215 * math/auto-libm-test-in: Add more tests of csqrt.
8216 * math/auto-libm-test-out: Regenerated.
8217 * sysdeps/i386/fpu/libm-test-ulps: Update.
8218 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8219
8220 * math/auto-libm-test-in: Add more tests of cosh and sinh.
8221 * math/auto-libm-test-out: Regenerated.
8222 * sysdeps/i386/fpu/libm-test-ulps: Update.
8223 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8224
8225 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
8226
8227 2015-04-29 Roland McGrath <roland@hack.frob.com>
8228
8229 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
8230 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
8231
8232 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
8233 (euidaccess, eaccess): Define as weak aliases.
8234
8235 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
8236 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
8237 but __suseconds_t is often 'long int' so some sources assume that
8238 type is being used (e.g. they use %ld to print tv_usec).
8239
8240 2015-04-29 Florian Weimer <fweimer@redhat.com>
8241
8242 [BZ #18007]
8243 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
8244 (CVE-2014-8121)
8245 * nss/tst-nss-getpwent.c: New file.
8246 * nss/Makefile (tests): Add new test.
8247
8248 2015-04-28 Joseph Myers <joseph@codesourcery.com>
8249
8250 [BZ #18346]
8251 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
8252 exponents less than 48 as cases where high part of mantissa needs
8253 examining to determine whether argument is integral.
8254 * math/libm-test.inc (round_test_data): Add more tests.
8255
8256 2015-04-28 Mark Wielaard <mjw@redhat.com>
8257
8258 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
8259
8260 2015-04-27 David S. Miller <davem@davemloft.net>
8261
8262 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
8263 __tls_get_addr.
8264 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
8265
8266 2015-04-27 H.J. Lu <hongjiu.lu@intel.com>
8267
8268 [BZ#18333]
8269 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
8270
8271 2015-04-27 Florian Weimer <fweimer@redhat.com>
8272
8273 [BZ#18333]
8274 * time/tzset.c (parse_tzname): Return error on memory allocation
8275 failure.
8276 * test-skeleton.c (struct temp_name_list): Change type of name
8277 member to non-const.
8278 (add_temp_file): Create a copy of the file name.
8279 (delete_temp_files): Deallocate memory.
8280 (create_temp_file): Add comment.
8281
8282 2015-04-24 Florian Weimer <fweimer@redhat.com>
8283
8284 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
8285 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
8286
8287 2015-04-24 Roland McGrath <roland@hack.frob.com>
8288
8289 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
8290 * sysdeps/arm/configure: Regenerated.
8291
8292 2015-04-24 Florian Weimer <fweimer@redhat.com>
8293
8294 [BZ #17715]
8295 * time/tzfile.c (__tzfile_read): Check for large values of
8296 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
8297 * time/tzset.c (__tzstring_len): New function, based on the old
8298 __tzstring function.
8299 (__tzstring): Call __tzstring_len.
8300 (parse_tzname): New helper function extracted from
8301 __tzset_parse_tz. Call __tzstring_len, without making a copy of
8302 the input string.
8303 (parse_offset): New helper function extracted from
8304 __tzset_parse_tz. Replace switch with fallthrough with
8305 initialization before sscanf.
8306 (parse_rule): Likewise.
8307 (__tzset_parse_tz): Rewrite using the new helper functions. Use
8308 new-style function definition.
8309 * timezone/Makefile (tests): Add tst-tzset.
8310 (tst-tzset.out): Dependencies on time zone files.
8311 (tst-tzset-ENV): Set TZDIR.
8312 (testdata/XT%): Copy crafted time zone files.
8313 * timezone/README: Mention crafted time zone files.
8314 * timezone/testdata/XT1, timezone/testdata/XT2,
8315 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
8316 files.
8317 * timezone/tst-tzset.c: New test.
8318
8319 2015-04-24 Florian Weimer <fweimer@redhat.com>
8320
8321 * Makeconfig (+gccwarn): Remove -Winline.
8322
8323 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
8324
8325 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
8326
8327 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
8328
8329 * NEWS: Mention sysconf() cache information support for s390.
8330 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
8331
8332 2015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
8333
8334 * math/k_casinh.c (__kernel_casinh): Use __copysign.
8335 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
8336 (__nearbyint): Likewise.
8337 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
8338 (copysignl): Likewise.
8339
8340 2015-04-21 Arjun Shankar <arjun.is@lostca.se>
8341
8342 [BZ #18287]
8343 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
8344 based on padding. (CVE-2015-1781)
8345
8346 2015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8347
8348 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
8349 libc-vdso.h.
8350 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
8351 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
8352 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
8353 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
8354 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
8355 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
8356 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
8357 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
8358 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
8359 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
8360 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
8361 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
8362 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
8363 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
8364 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
8365 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
8366 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
8367 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
8368 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
8369 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
8370 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
8371 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
8372 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
8373
8374 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
8375
8376 * stdlib/setenv.c (__add_to_environ):
8377 Dump core quickly if setenv (..., NULL, ...) is called.
8378 This time, do it the right way, and pacify GCC with a pragma.
8379
8380 2015-04-17 Roland McGrath <roland@hack.frob.com>
8381
8382 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
8383 IMAP->l_prev cannot be null, and #if out the code for the contrary
8384 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
8385 believe that NS (&_dl_ns[NSID]) could point outside the array.
8386
8387 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
8388 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
8389 before using NSID as an index.
8390
8391 2015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
8392
8393 [BZ #17825]
8394 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
8395 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
8396 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
8397
8398 2015-04-17 Roland McGrath <roland@hack.frob.com>
8399
8400 Add preliminary port to Google Native Client on ARM.
8401 * abi-tags (.*-.*-nacl.*): New entry.
8402 * sysdeps/arm/nacl: New directory.
8403 * sysdeps/nacl: New directory.
8404
8405 2015-04-16 David S. Miller <davem@davemloft.net>
8406
8407 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
8408 lowlevellock-futex.h
8409
8410 2015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
8411
8412 * sysdeps/tile/configure.ac: New file.
8413 * sysdeps/tile/configure: Regenerated.
8414
8415 2015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8416
8417 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
8418 conditionals for weak_alias and libc_hidden_weak.
8419 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
8420 libc_hidden_weak and weak_alias.
8421 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
8422 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
8423 and weak_alias for static one.
8424
8425 2015-04-15 David S. Miller <davem@davemloft.net>
8426
8427 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
8428
8429 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
8430
8431 [BZ #18206]
8432 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
8433 Use signed comparision instead of substraction to avoid
8434 overflow bug.
8435 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
8436 Take the sign of ret.
8437 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
8438 Do not expect precise return values. Only the sign matters.
8439 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
8440 * wcsmbs/test-wcsncmp.c: New File.
8441 * string/test-strncmp.c: Add wcsncmp support.
8442
8443 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
8444
8445 [BZ #6792]
8446 * math/w_log1p.c: New file.
8447 * math/w_log1pf.c: Likewise.
8448 * math/w_log1pl.c: Likewise.
8449 * math/Makefile (libm-calls): Add w_log1p.
8450 * math/s_log1pl.c (log1pl): Remove weak_alias.
8451 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
8452 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
8453 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
8454 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
8455 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
8456 [NO_LONG_DOUBLE] (log1pl): Likewise.
8457 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
8458 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
8459 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
8460 (log1p): Remove long_double_symbol.
8461 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
8462 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
8463 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
8464 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
8465 remove weak_alias for corresponding log1p function.
8466 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
8467 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
8468 * sysdeps/ia64/fpu/w_log1p.c: New file.
8469 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
8470 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
8471 * math/libm-test.inc (log1p_test_data): Add errno expectations.
8472
8473 2015-04-10 Joseph Myers <joseph@codesourcery.com>
8474
8475 [BZ #18247]
8476 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
8477 decimal exponent by 1.
8478 * stdlib/tst-strtod-round-data: Add more tests.
8479 * stdlib/tst-strtod-round.c (tests): Regenerated.
8480
8481 2015-04-09 Joseph Myers <joseph@codesourcery.com>
8482
8483 * math/auto-libm-test-in: Add more tests of clog and clog10.
8484 * math/auto-libm-test-out: Regenerated.
8485 * sysdeps/i386/fpu/libm-test-ulps: Update.
8486 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8487
8488 2015-04-09 Roland McGrath <roland@hack.frob.com>
8489
8490 * Makeconfig (module-cppflags): Exclude all .v.i files.
8491 (skip-module-cppflags): Variable removed.
8492
8493 * configure.ac (libc_config_ok): Initialize before reading
8494 preconfigure scripts, not after.
8495 * configure: Regenerated.
8496
8497 * test-skeleton.c (TIMEOUT): Move #define to top level.
8498 (main): Grok environment variable TEST_DIRECT. If set, print
8499 test expectation details into that file and then behave as if
8500 given --direct.
8501
8502 2015-04-09 Florian Weimer <fweimer@redhat.com>
8503
8504 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
8505 warning on 32-bit.
8506
8507 2015-04-08 David S. Miller <davem@davemloft.net>
8508
8509 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8510
8511 2015-04-08 Joseph Myers <joseph@codesourcery.com>
8512
8513 * math/auto-libm-test-in: Add more tests of atanh.
8514 * math/auto-libm-test-out: Regenerated.
8515 * sysdeps/i386/fpu/libm-test-ulps: Update.
8516 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8517
8518 * math/auto-libm-test-in: Add more tests of atan.
8519 * math/auto-libm-test-out: Regenerated.
8520 * sysdeps/i386/fpu/libm-test-ulps: Update.
8521 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8522
8523 2015-04-08 Florian Weimer <fweimer@redhat.com>
8524
8525 * elf/pldd.c (main): Rewrite to use struct
8526 scratch_buffer instead of extend_alloca.
8527 * elf/pldd-xx.c (find_maps): Likewise.
8528 * grp/initgroups.c: Include <scratch_buffer.h> instead of
8529 <alloca.h>.
8530 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
8531 scratch_buffer instead of extend_alloca.
8532 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
8533 grp/compat-initgroups.c.
8534 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
8535 Rewrite to use struct scratch_buffer instead of extend_alloca.
8536 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
8537 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
8538
8539 2015-04-08 Joseph Myers <joseph@codesourcery.com>
8540
8541 * math/auto-libm-test-in: Add more tests of cbrt.
8542 * math/auto-libm-test-out: Regenerated.
8543 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8544
8545 * math/auto-libm-test-in: Add more tests of cabs.
8546 * math/auto-libm-test-out: Regenerated.
8547 * sysdeps/i386/fpu/libm-test-ulps: Update.
8548 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8549
8550 [BZ #18210]
8551 [BZ #18211]
8552 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
8553 (__ieee754_atan2): Set FE_TONEAREST mode for internal
8554 computations.
8555 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
8556 clog10.
8557 * math/auto-libm-test-out: Regenerated.
8558 * sysdeps/i386/fpu/libm-test-ulps: Update.
8559 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8560
8561 [BZ #18197]
8562 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
8563 (atan): Set FE_TONEAREST mode for internal computations.
8564 * math/auto-libm-test-in: Add more tests of atan.
8565 * math/auto-libm-test-out: Regenerated.
8566
8567 2015-04-07 James Cowgill <james410@cowgill.org.uk>
8568
8569 [BZ #17930]
8570 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
8571
8572 2015-04-07 Florian Weimer <fweimer@redhat.com>
8573
8574 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
8575
8576 2015-04-07 Florian Weimer <fweimer@redhat.com>
8577
8578 * include/scratch_buffer.h: New file.
8579 * malloc/scratch_buffer_grow.c: Likewise.
8580 * malloc/scratch_buffer_grow_preserve.c: Likewise.
8581 * malloc/scratch_buffer_set_array_size.c: Likewise.
8582 * malloc/tst-scratch_buffer.c: Likewise.
8583 * malloc/Makefile (routines): Add scratch_buffer_grow.
8584 (tests): Add test case.
8585 * malloc/Versions (GLIBC_PRIVATE): Export
8586 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
8587 __libc_scratch_buffer_set_array_size.
8588
8589 2015-04-06 Richard Henderson <rth@redhat.com>
8590
8591 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
8592 * sysdeps/alpha/fpu/libm-test-ulps: Update.
8593
8594 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
8595 unsigned int before printing.
8596
8597 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8598
8599 [BZ #17596]
8600 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
8601 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
8602
8603 2015-04-02 Florian Weimer <fweimer@redhat.com>
8604
8605 * include/libc-internal.h (libc_max_align_t): Define.
8606
8607 2015-04-02 Andreas Schwab <schwab@suse.de>
8608
8609 [BZ #16850]
8610 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
8611
8612 2015-04-02 Mel Gorman <mgorman@suse.de>
8613
8614 [BZ #17195]
8615 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
8616 as well as the main arena.
8617
8618 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
8619
8620 [BZ #18185]
8621 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
8622 sharing L2 cache to 2 for Silvermont/Knights Landing.
8623
8624 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
8625
8626 [BZ #17711]
8627 * config.make.in (have-protected-data): New.
8628 * configure.ac: Check linker support for protected data symbol.
8629 * configure: Regenerated.
8630 * elf/Makefile (modules-names): Add tst-protected1moda and
8631 tst-protected1modb if $(have-protected-data) is yes.
8632 (tests): Add tst-protected1a and tst-protected1b if
8633 $(have-protected-data) is yes.
8634 ($(objpfx)tst-protected1a): New.
8635 ($(objpfx)tst-protected1b): Likewise.
8636 (tst-protected1modb.so-no-z-defs): Likewise.
8637 * elf/tst-protected1a.c: New file.
8638 * elf/tst-protected1b.c: Likewise.
8639 * elf/tst-protected1mod.h: Likewise.
8640 * elf/tst-protected1moda.c: Likewise.
8641 * elf/tst-protected1modb.c: Likewise.
8642
8643 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
8644
8645 [BZ #17711]
8646 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
8647 indicates it is called from do_lookup_x on relocation against
8648 protected data, skip the data definion in the executable from
8649 copy reloc.
8650 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
8651 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
8652 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
8653 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
8654 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
8655 otherwise to 0.
8656 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
8657 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
8658 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
8659 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
8660 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
8661 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
8662
8663 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
8664
8665 * sysdeps/nptl/pthread.h: Remove duplicate definition of
8666 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
8667
8668 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
8669
8670 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
8671 THREAD_SETMEM_NC.
8672 * sysdeps/x86_64/nptl/tls.h: Ditto.
8673
8674 2015-03-27 Roland McGrath <roland@hack.frob.com>
8675
8676 * dlfcn/tststatic.c (main): Converted to ...
8677 (do_test): ... this.
8678 (TEST_FUNCTION): New macro.
8679 Include test-skeleton.c.
8680
8681 2015-03-26 Alan Modra <amodra@gmail.com>
8682
8683 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
8684 Don't segfault if ifunc resolver returns a NULL. Do set plt to
8685 zero for undefined weak.
8686 (elf_machine_plt_conflict): Similarly.
8687
8688 2015-03-25 Joseph Myers <joseph@codesourcery.com>
8689
8690 * math/auto-libm-test-in: Add more tests of acosh, asinh and
8691 atanh.
8692 * math/auto-libm-test-out: Regenerated.
8693 * sysdeps/i386/fpu/libm-test-ulps: Update.
8694 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8695
8696 * math/auto-libm-test-in: Add another test of asin.
8697 * math/auto-libm-test-out: Regenerated.
8698 * sysdeps/i386/fpu/libm-test-ulps: Update.
8699 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8700
8701 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
8702 Remove macro.
8703 (LLL_EBX_REG): Likewise.
8704 (LLL_ENTER_KERNEL): Likewise.
8705
8706 * math/auto-libm-test-in: Add more tests of asin.
8707 * math/auto-libm-test-out: Regenerated.
8708 * sysdeps/i386/fpu/libm-test-ulps: Update.
8709 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8710
8711 [BZ #18138]
8712 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
8713 libc_do_syscall_args): New structure.
8714 (INTERNAL_SYSCALL_MAIN_0): New macro.
8715 (INTERNAL_SYSCALL_MAIN_1): Likewise.
8716 (INTERNAL_SYSCALL_MAIN_2): Likewise.
8717 (INTERNAL_SYSCALL_MAIN_3): Likewise.
8718 (INTERNAL_SYSCALL_MAIN_4): Likewise.
8719 (INTERNAL_SYSCALL_MAIN_5): Likewise.
8720 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
8721 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
8722 Replace conditional definitions by conditional definitions of ....
8723 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
8724 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
8725 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
8726 (libpthread-sysdep_routines): Add libc-do-syscall.
8727 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
8728 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
8729 to __NR_futex not 240.
8730
8731 2015-03-25 Alan Modra <amodra@gmail.com>
8732
8733 * NEWS: Advertise TLS optimization.
8734 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
8735 (DT_PPC_NUM): Increment.
8736 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
8737 (CHECK_STATIC_TLS): Use here.
8738 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
8739 TLS descriptors.
8740 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
8741 * sysdeps/powerpc/dl-tls.c: New file.
8742 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
8743 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
8744 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
8745 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
8746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
8747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
8748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
8749
8750 2015-03-25 Alan Modra <amodra@gmail.com>
8751
8752 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
8753 for overlapping .opd entries" to "support...".
8754 * sysdeps/powerpc/powerpc64/configure: Regenerate
8755
8756 2015-03-25 Joseph Myers <joseph@codesourcery.com>
8757
8758 * math/auto-libm-test-in: Add more tests of acos.
8759 * math/auto-libm-test-out: Regenerated.
8760 * sysdeps/i386/fpu/libm-test-ulps: Update.
8761 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8762
8763 * math/auto-libm-test-in: Add more tests of expm1.
8764 * math/auto-libm-test-out: Regenerated.
8765 * sysdeps/i386/fpu/libm-test-ulps: Update.
8766 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8767
8768 2015-03-24 Joseph Myers <joseph@codesourcery.com>
8769
8770 * math/auto-libm-test-in: Add more tests of cosh and sinh.
8771 * math/auto-libm-test-out: Regenerated.
8772 * sysdeps/i386/fpu/libm-test-ulps: Update.
8773 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8774
8775 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
8776 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8777
8778 * math/auto-libm-test-in: Add more tests of log2.
8779 * math/auto-libm-test-out: Regenerated.
8780 * sysdeps/i386/fpu/libm-test-ulps: Update.
8781 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8782
8783 2015-03-23 Roland McGrath <roland@hack.frob.com>
8784
8785 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
8786 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
8787 _IO_IS_APPENDING bit in READ_WRITE instead.
8788
8789 2015-03-23 Florian Weimer <fweimer@redhat.com>
8790
8791 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
8792 (__determine_cpumask_size): Replace extend_alloca with a
8793 variable-length array. Do not treat res == 0 as an error.
8794
8795 2015-03-23 Florian Weimer <fweimer@redhat.com>
8796
8797 [BZ #18100]
8798 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
8799 and integer overflow.
8800 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
8801 (main): Add integer overflow tests.
8802 * manual/pattern.texi (Calling Wordexp): Document additional use
8803 for WRDE_SYNTAX.
8804
8805 2015-03-23 Alan Modra <amodra@gmail.com>
8806
8807 * config.h.in: Remove HAVE_ASM_PPC_REL16.
8808 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
8809 and false branch of conditional.
8810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
8811 Likewise.
8812
8813 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
8814
8815 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
8816 libc-modules.h
8817 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
8818 unused declaration of _hurd_intr_rpc_msg_in_trap.
8819 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
8820 defined instead of whether it is non-zero.
8821 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
8822 input constraint instead of both input and output constraint. Use ecx
8823 clobber instead of %ecx.
8824 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
8825 mutex_unlock): Use a statement expression instead of an expression list.
8826 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
8827 type to vm_size_t instead of vm_address_t.
8828 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
8829 defined instead of whether it is non-zero.
8830 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
8831 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
8832 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
8833 comparisons with mapaddr.
8834 * nscd/nscd-client.h: Include <time.h>.
8835 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
8836 9th parameter to __vm_region instead of int.
8837 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
8838 * scripts/check-local-headers.sh (exclude): Add device/,
8839 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
8840 cthreads.h.
8841
8842 2015-03-19 Roland McGrath <roland@hack.frob.com>
8843
8844 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
8845 to account for alignment padding.
8846 * sysdeps/arm/memmove.S: Likewise.
8847
8848 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
8849
8850 * sysdeps/unix/sysv/linux/generic/README: New file.
8851
8852 2015-03-18 Joseph Myers <joseph@codesourcery.com>
8853
8854 [BZ #18138]
8855 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
8856 (futex_abstimed_wait)
8857 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
8858 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
8859 of lll_futex_timed_wait.
8860
8861 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
8862
8863 [BZ #17542]
8864 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
8865
8866 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
8867
8868 [BZ #17090]
8869 [BZ #17620]
8870 [BZ #17621]
8871 [BZ #17628]
8872 * NEWS: Update.
8873 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
8874 entries with Static TLS too. Skip entries past the end of the
8875 allocated DTV, from Alan Modra.
8876 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
8877 Static TLS DTV entry set up from...
8878 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
8879 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
8880 * nptl/allocatestack.c (init_one_static_tls): ... and here...
8881 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
8882 for Static TLS.
8883 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
8884 that the slot we find is associated with the given map before
8885 using its generation count.
8886 * nptl_db/db_info.c: Include ldsodefs.h.
8887 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
8888 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
8889 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
8890 (link_map::l_tls_offset): New struct field.
8891 (dtv_t::counter): Likewise.
8892 (rtld_global): New struct.
8893 (_rtld_global): New rtld variable.
8894 (dl_tls_dtv_slotinfo_list): New rtld global field.
8895 (dtv_slotinfo_list): New struct.
8896 (dtv_slotinfo): Likewise.
8897 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
8898 (td_lookup): Rename to...
8899 (td_mod_lookup): ... this. Use new mod parameter instead of
8900 LIBPTHREAD_SO.
8901 * nptl_db/td_thr_tlsbase.c: Include link.h.
8902 (dtv_slotinfo_list, dtv_slotinfo): New functions.
8903 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
8904 addresses even if the DTV is out of date or missing them.
8905 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
8906 index zero-length arrays.
8907 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
8908 (td_lookup): Make it a macro implemented in terms of...
8909 (td_mod_lookup): ... this declaration.
8910 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
8911 (DB_MAIN_VARIABLE): Likewise.
8912
8913 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
8914
8915 [BZ #18134]
8916 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
8917
8918 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
8919
8920 * stdlib/setenv.c (__add_to_environ): Revert previous change.
8921
8922 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
8923
8924 [BZ #18128]
8925 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
8926 (atomic_add, atomic_increment_and_test)
8927 (atomic_decrement_and_test): Fix 64-bit arithmetic.
8928
8929 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
8930
8931 * stdlib/setenv.c (__add_to_environ):
8932 Dump core quickly if setenv (..., NULL, ...) is called.
8933
8934 2015-03-13 Roland McGrath <roland@hack.frob.com>
8935
8936 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
8937 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
8938 all the necessary asm magic in one place.
8939 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
8940 using those.
8941
8942 2015-03-13 Carlos O'Donell <carlos@redhat.com>
8943
8944 [BZ #14906]
8945 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
8946 traced file mtime. Use consistent log message.
8947 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
8948 (register_traced_file): Call install_watches. Always set mtime.
8949 (invalidate_cache): Iterate over all trace files. Call install_watches.
8950 (inotify_check_files): Don't inline. Handle watching parent
8951 directories and configuration file movement in and out.
8952 (handle_inotify_events): New function.
8953 (main_loop_poll): Call handle_inotify_events.
8954 (main_loop_epoll): Likewise.
8955 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
8956 (struct traced_file): Use array of inotify fds. Add parent directory,
8957 and basename.
8958 (struct database_dyn): Remove unused file_mtime.
8959 (init_traced_file): New inline function.
8960 (define_traced_file): New macro.
8961 * nss/nss_db/db-init.c: Use define_traced_file.
8962 (_nss_db_init): Use init_traced_file.
8963 * nss/nss_files/files-init.c: Use define_traced_file.
8964 (_nss_files_init): Use init_traced_file.
8965
8966 2015-03-12 Joseph Myers <joseph@codesourcery.com>
8967
8968 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
8969 [_LIBC]: Do not include <stdlib.h>.
8970 [!_LIBC] (abort): Remove declaration.
8971 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
8972 _FP_STATIC_ASSERT instead of conditionally calling abort.
8973 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
8974 (_FP_EXTEND_CNAN): Likewise.
8975 (FP_TRUNC): Likewise.
8976 (__FP_CLZ): Likewise.
8977 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
8978
8979 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
8980
8981 * manual/string.texi (XPG basename): Fix prototype.
8982
8983 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
8984
8985 [BZ #18080]
8986 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
8987 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
8988 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
8989 (__setcontext): Likewise.
8990 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
8991 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
8992 Call rt_sigprocmask syscall one time to set new signal mask
8993 and retrieve the current signal mask instead of two calls.
8994 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
8995 (__swapcontext): Likewise.
8996 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
8997 * stdlib/tst-setcontext2.c: New file.
8998
8999 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
9000
9001 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9002
9003 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
9004
9005 [BZ #18093]
9006 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
9007 the wrong size.
9008
9009 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
9010
9011 [BZ #18043]
9012 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
9013
9014 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
9015
9016 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
9017 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
9018 Remove define.
9019 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
9020 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
9021 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
9022 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
9023 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
9024 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
9025 define.
9026 * nptl_db/td_symbol_list.c (td_lookup): Remove
9027 HAVE_ASM_GLOBAL_DOT_NAME code.
9028 * sysdeps/powerpc/powerpc64/configure.ac: Remove
9029 HAVE_ASM_GLOBAL_DOT_NAME check.
9030 * sysdeps/powerpc/powerpc64/configure: Regenerate.
9031 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
9032 (DOT_LABEL): Remove define.
9033 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
9034 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
9035 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
9036 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
9037 (__TLS_GET_ADDR): Likewise.
9038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
9039 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
9040
9041 2015-03-11 Carlos O'Donell <carlos@redhat.com>
9042
9043 [BZ #18111]
9044 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
9045 (_FPU_SETCW): Initialize cw from fpsr before storing.
9046 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
9047 (fesetexceptflag): Rewrite using fpu_control.h.
9048 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
9049
9050 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
9051
9052 [BZ #18110]
9053 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
9054 asms.
9055 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
9056
9057 2015-03-11 Joseph Myers <joseph@codesourcery.com>
9058
9059 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
9060 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
9061 abort.
9062 (_FP_FMA): Likewise.
9063 (_FP_DIV): Likewise.
9064
9065 2015-03-10 Roland McGrath <roland@hack.frob.com>
9066
9067 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
9068 with 0 in that case.
9069 * Makefile (summarize-tests): New canned sequence, factored out of
9070 commands for targets tests and xtests. Display summary lines that
9071 don't start with PASS: or XFAIL: rather than ones that do start with
9072 ERROR: or FAIL:. Make the commands fail if any summary lines fail
9073 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
9074 do start with ERROR: or FAIL:.
9075 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
9076 (except for [$(build-shared) = yes]).
9077 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
9078 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
9079 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
9080 * nptl/Makefile: Revert 2015-03-04 changes.
9081 [$(CXX) empty] (tests-unsupported): New variable.
9082 * debug/Makefile: Likewise.
9083
9084 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
9085 gnulib file. Replace __attribute with __attribute__ throughout.
9086
9087 2015-03-10 Carlos O'Donell <carlos@redhat.com>
9088
9089 * sysdeps/hppa/fpu/libm-test-ulps: Update.
9090
9091 2015-03-10 Joseph Myers <joseph@codesourcery.com>
9092
9093 [BZ #18104]
9094 * math/auto-libm-test-in: Add another test of pow.
9095 * math/auto-libm-test-out: Regenerated.
9096
9097 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9098
9099 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
9100 $(config-cflags-nofma).
9101
9102 2015-03-10 Joseph Myers <joseph@codesourcery.com>
9103
9104 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
9105 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
9106 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
9107 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
9108 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
9109 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
9110 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
9111 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
9112 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
9113 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
9114 Add comment on closing #endif.
9115
9116 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
9117
9118 * posix/wordexp.c (CHAR_IN_SET): New macro.
9119 (parse_param): Use it.
9120
9121 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9122
9123 * sysdeps/powerpc/fpu/libm-test-ulps: update.
9124
9125 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
9126
9127 [BZ #18043]
9128 * posix/wordexp.c (parse_param): Fix buffer overflow.
9129 * posix/wordexp-test.c (test_case): Add test case.
9130
9131 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
9132
9133 [BZ #18042]
9134 * posix/wordexp.c (parse_backtick): Fix off-by-one.
9135 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
9136
9137 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
9138
9139 [BZ #18043]
9140 * posix/wordexp-test.c (test_case): Add test for BZ #18043
9141 (do_bz18043): Delete.
9142 (at_page_end): New.
9143 (testit): Refactor to have words at the edge of unreadable page.
9144
9145 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
9146
9147 [BZ #16734]
9148 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
9149 Cleanup read-only streams as well.
9150 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
9151
9152 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
9153
9154 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
9155 <bits/libc-lockP.h>
9156
9157 2015-03-07 Joseph Myers <joseph@codesourcery.com>
9158
9159 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
9160 on [__KERNEL__].
9161 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
9162 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
9163 * soft-fp/op-common.h (_FP_DECL): Likewise.
9164
9165 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
9166
9167 * elf/ifuncdep2.c (global): Replace
9168 __attribute__((visibility("protected"))) with
9169 asm (".protected global").
9170 * elf/ifuncmod1.c (global): Likewise.
9171 * elf/ifuncmod5.c (global): Likewise.
9172
9173 2015-03-06 Joseph Myers <joseph@codesourcery.com>
9174
9175 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
9176 <asm/sfp-machine.h> instead of <sfp-machine.h>.
9177
9178 2015-03-06 Roland McGrath <roland@hack.frob.com>
9179
9180 * manual/install.texi (Configuring and compiling):
9181 Document test-wrapper-env-only.
9182 * INSTALL: Regenerated.
9183
9184 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9185
9186 [BZ #18043]
9187 * posix/wordexp.c (parse_param): Fix buffer overflow.
9188 * posix/wordexp-test.c (do_bz18043): Add test case.
9189
9190 2015-03-06 Vincent Bernat <vincent@bernat.im>
9191
9192 * time/tst-strptime2.c (do_test): Ensure failing tests are
9193 reported correctly.
9194 * time/tst-strptime3.c (do_test): Likewise.
9195
9196 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
9197
9198 Fix aio_error thread-safety.
9199 * sysdeps/pthread/aio_error.c: New file
9200 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
9201 synchronization.
9202
9203 2015-03-06 Florian Weimer <fweimer@redhat.com>
9204
9205 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
9206 (group_number, vfprintf): Use it.
9207 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
9208 (JUMP, REF): Use it.
9209 (WORK_BUFFER_SIZE): New enum constant.
9210 (process_arg, vfprintf): Use it.
9211
9212 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
9213
9214 * manual/errno.texi (Error Messages): Complete example function
9215 by adding missing #define.
9216 (program_invocation_name): Add statement indicating GNU
9217 extension and reference which header file declares the variable.
9218 (program_invocation_short_name): Likewise.
9219
9220 2015-03-06 Mike Frysinger <vapier@gentoo.org>
9221
9222 * manual/errno.texi (Error Messages): Delete strerror ISO C89
9223 compatibility note.
9224
9225 2015-03-05 Roland McGrath <roland@hack.frob.com>
9226
9227 * Makeconfig (test-wrapper-env-only): New variable.
9228 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
9229 then use that with $(test-wrapper-env-only) rather than using
9230 $(test-wrapper-env) $(run-program-env) $($*-ENV).
9231
9232 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
9233
9234 [BZ #18082]
9235 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
9236 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
9237 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
9238 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
9239 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
9240 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
9241 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
9242 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
9243 Likewise.
9244 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
9245 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
9246 Likewise.
9247 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
9248 Likewise.
9249 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
9250 Likewise.
9251 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
9252 Likewise.
9253 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
9254 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
9255 Likewise.
9256 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
9257 Likewise.
9258 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
9259 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
9260
9261 2015-03-04 Roland McGrath <roland@hack.frob.com>
9262
9263 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
9264 (ETH_ALEN): New macro.
9265 (struct ether_addr): Use it for length of ether_addr_octet.
9266
9267 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
9268 (setdb): Don't call __nss_configure_lookup for "rpc".
9269 (do_test): Don't call test_rpc.
9270 (output_rpcent, test_rpc): Functions moved ...
9271 * sunrpc/test-rpcent.c: ... to this new file.
9272 * sunrpc/Makefile (tests): Add it.
9273
9274 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
9275 __xpg_sigpause.
9276 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
9277 * nptl/tst-signal6.c: Likewise.
9278 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
9279 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
9280
9281 * configure.ac (libc_cv_cxx_link_ok): New check.
9282 Reset CXX to empty if it fails to link.
9283 * configure: Regenerated.
9284 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
9285 bug-atexit3-lib only if $(CXX) is nonempty.
9286 * nptl/Makefile (tests): Likewise for tst-cancel24.
9287 (tests, tests-static): Likewise for tst-cancel24-static.
9288 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
9289 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
9290 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
9291 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
9292
9293 2015-03-04 Andreas Schwab <schwab@suse.de>
9294
9295 [BZ #17631]
9296 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
9297 for non-GCC compilers.
9298 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
9299 Likewise.
9300
9301 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
9302
9303 [BZ #17776]
9304 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
9305 integer before bitwise and assembly operations.
9306 (feclearexcept): Likewise.
9307 * math/test-fenvinline.c: New file.
9308 * math/Makefile: Add test-fenvinline test.
9309
9310 2015-03-03 Alan Modra <amodra@gmail.com>
9311
9312 [BZ #16512]
9313 * scripts/localplt.awk: Strip off symbol version.
9314 * NEWS: Mention bug fix.
9315
9316 2015-03-02 Roland McGrath <roland@hack.frob.com>
9317
9318 * sysdeps/pthread/timer_routines.c
9319 (timer_free_list, thread_free_list, thread_active_list): Make static.
9320
9321 2015-03-02 Joseph Myers <joseph@codesourcery.com>
9322
9323 [BZ #17779]
9324 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
9325 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
9326 Undefine.
9327 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9328 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
9329 Likewise.
9330 * sysdeps/unix/sysv/linux/sh/kernel-features.h
9331 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
9332 Likewise.
9333
9334 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
9335
9336 [BZ #18036]
9337 * posix/fnmatch_loop.c (END): Detect invalid pattern.
9338 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
9339
9340 2015-03-02 Andreas Schwab <schwab@suse.de>
9341
9342 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
9343 variable name.
9344
9345 2015-03-02 Florian Weimer <fweimer@redhat.com>
9346
9347 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
9348 Return error status.
9349
9350 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
9351
9352 [BZ #15969]
9353 * locale/findlocale.c (_nl_find_locale): Introduce const
9354 version of loc_name and drop unsafe type casts.
9355
9356 2015-02-27 Roland McGrath <roland@hack.frob.com>
9357
9358 * dlfcn/tststatic2.c (main): Converted to ...
9359 (do_test): ... this.
9360 (TEST_FUNCTION): New macro.
9361 Include test-skeleton.c.
9362
9363 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
9364
9365 [BZ #17711]
9366 * elf/Makefile (tests): Add vismain only if PIE is enabled.
9367 (tests-pie): Add vismain.
9368 (CFLAGS-vismain.c): New.
9369 * elf/vismain.c: Add comments for PIE requirement.
9370
9371 2015-02-27 Joseph Myers <joseph@codesourcery.com>
9372
9373 [BZ #18046]
9374 [BZ #18047]
9375 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
9376 0x1p-56L as threshold for just returning the argument.
9377 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
9378 0x1p-32L as threshold for just returning the argument.
9379 * math/auto-libm-test-in: Add more tests of atanh.
9380 * math/auto-libm-test-out: Regenerated.
9381 * sysdeps/i386/fpu/libm-test-ulps: Update.
9382 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
9383
9384 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
9385
9386 * string/bcopy.c (bcopy): Call memmove for performance.
9387
9388 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
9389
9390 * string/bzero.c (__bzero): Call memset for performance.
9391
9392 2015-02-27 John David Anglin <dave.anglin@bell.net>
9393
9394 [BZ #18068]
9395 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
9396 to 00100000.
9397
9398 2015-02-27 Joseph Myers <joseph@codesourcery.com>
9399
9400 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
9401
9402 2015-02-26 Joseph Myers <joseph@codesourcery.com>
9403
9404 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
9405 (__kernel_standard): Use CSTR macro when setting exc.name.
9406 * sysdeps/ieee754/Makefile [$(subdir) = math]
9407 (CFLAGS-k_standard.c): Remove variable.
9408
9409 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
9410 setting p and q from "else if" to "else".
9411 (qzero): Likewise.
9412 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
9413 (qone): Likewise.
9414 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
9415 (qzerof): Likewise.
9416 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
9417 (qonef): Likewise.
9418 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
9419 (qzero): Likewise.
9420 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
9421 (qone): Likewise.
9422
9423 [BZ #18038]
9424 [BZ #18039]
9425 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
9426 return pi/2 for arguments below 0x1p-113L.
9427 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
9428 return pi/2 for arguments below 0x1p-106L.
9429 * math/auto-libm-test-in: Add more tests of acos.
9430 * math/auto-libm-test-out: Regenerated.
9431
9432 [BZ #16351]
9433 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
9434 (MO): New macro.
9435 (__ieee754_asin): Force underflow exception for results with small
9436 absolute value.
9437 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
9438 (MO): New macro.
9439 (__ieee754_asinf): Force underflow exception for results with
9440 small absolute value.
9441 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
9442 (__ieee754_asin): Force underflow exception for results with small
9443 absolute value.
9444 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
9445 (__ieee754_asinf): Force underflow exception for results with
9446 small absolute value.
9447 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
9448 (__ieee754_asinl): Force underflow exception for results with
9449 small absolute value.
9450 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
9451 (__ieee754_asinl): Force underflow exception for results with
9452 small absolute value.
9453 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
9454 (__ieee754_asinl): Force underflow exception for results with
9455 small absolute value.
9456 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
9457 Include <math.h>.
9458 * math/auto-libm-test-in: Do not mark underflow exceptions as
9459 possibly missing for bug 16351.
9460 * math/auto-libm-test-out: Regenerated.
9461
9462 [BZ #18030]
9463 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
9464 of power of 2 down when low part has opposite sign.
9465 * math/libm-test.inc (logb_test_data): Add more tests.
9466
9467 2015-02-26 Andreas Schwab <schwab@suse.de>
9468
9469 [BZ #18032]
9470 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
9471 over collating symbol inside a bracket expression. Minor cleanup.
9472 * posix/tst-fnmatch3.c (do_test): Add test case.
9473
9474 2015-02-26 Joseph Myers <joseph@codesourcery.com>
9475
9476 [BZ #18029]
9477 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
9478 Adjust exponent of power of 2 down when low part has opposite
9479 sign.
9480 * math/libm-test.inc (ilogb_test_data): Add more tests.
9481
9482 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
9483
9484 [BZ #15969]
9485 * locale/findlocale.c (_nl_find_locale): Fix constness error in
9486 the previous change.
9487
9488 [BZ #15969]
9489 * locale/findlocale.c (_nl_find_locale): Retry archive search
9490 after alias expansion.
9491
9492 2015-02-25 Roland McGrath <roland@hack.frob.com>
9493
9494 * iconv/tst-iconv3.c (main): Converted to ...
9495 (do_test): ... this.
9496 (TEST_FUNCTION): New macro.
9497 Include test-skeleton.c.
9498
9499 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
9500 (convert): Make function static.
9501 (test_unalign): Likewise. Add const to argument pointee types.
9502 (main): Replace with static function do_test.
9503 Print "Succeeded." only if RET is zero.
9504 (TEST_FUNCTION): New macro.
9505 Include test-skeleton.c.
9506
9507 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
9508 returns a null pointer.
9509
9510 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9511
9512 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
9513 to __memcpy_ppc only for static builds.
9514
9515 2015-02-25 Joseph Myers <joseph@codesourcery.com>
9516
9517 [BZ #18020]
9518 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
9519 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
9520 * math/auto-libm-test-in: Add more tests of asinh.
9521 * math/auto-libm-test-out: Regenerated.
9522 * sysdeps/i386/fpu/libm-test-ulps: Update.
9523 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9524
9525 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
9526
9527 [BZ #15850]
9528 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
9529 and ip6_mtuinfo definitions here.
9530 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
9531 in this define too. Update comment.
9532
9533 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
9534
9535 * elf/sprof.c (load_shobj): Tweak error message to match others.
9536
9537 2015-02-24 Kevin Easton <kevin@guarana.org>
9538
9539 [BZ #16145] (partial fix)
9540 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
9541 to reduce lock contention.
9542
9543 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
9544
9545 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
9546 (struct timex): Update time comment.
9547 (ADJ_SETOFFSET): Define.
9548
9549 2015-02-24 Joseph Myers <joseph@codesourcery.com>
9550
9551 [BZ #18019]
9552 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
9553 2**56 not 2**28 as threshold for log (2x) formula.
9554 * math/auto-libm-test-in: Add more tests of acosh.
9555 * math/auto-libm-test-out: Regenerated.
9556 * sysdeps/i386/fpu/libm-test-ulps: Update.
9557 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9558
9559 2015-02-24 Mike Frysinger <vapier@gentoo.org>
9560
9561 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
9562 parenthesis around the buf assignment.
9563 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
9564
9565 2015-02-24 Joseph Myers <joseph@codesourcery.com>
9566
9567 [BZ #16783]
9568 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
9569 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
9570 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
9571 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
9572 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
9573 * math/libm-test.inc (scalb_test_data): Add more tests.
9574
9575 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
9576
9577 [BZ #17916]
9578 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
9579 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
9580
9581 2015-02-24 Eric Rannaud <e@nanocritical.com>
9582
9583 [BZ #17523]
9584 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
9585 * io/bits/fcntl2.h (open): Use it.
9586 (openat): Likewise.
9587 * io/open.c (__libc_open): Likewise.
9588 * io/open64.c (__libc_open64): Likewise.
9589 * io/open64_2.c (__open64_2): Likewise.
9590 * io/open_2.c (__open_2): Likewise.
9591 * io/openat.c (__openat): Likewise.
9592 * io/openat64.c (__openat64): Likewise.
9593 * io/openat64_2.c (__openat64_2): Likewise.
9594 * io/openat_2.c (__openat_2): Likewise.
9595 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
9596 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
9597 * sysdeps/posix/open64.c (__libc_open64): Likewise.
9598 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
9599 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
9600 (__open_nocancel): Likewise.
9601 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
9602 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
9603 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
9604
9605 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9606
9607 [BZ #14841]
9608 * resolv/gethnamaddr.c (getanswer): Skip logging if
9609 RES_USE_DNSSEC is set.
9610 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
9611
9612 2015-02-24 Mike Frysinger <vapier@gentoo.org>
9613
9614 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
9615
9616 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
9617
9618 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
9619 201304L, for Unicode 7.
9620
9621 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
9622
9623 [BZ #17836]
9624 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
9625 shared library. Add gmon-start.os otherwise.
9626 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
9627 $(objpfx)gmon-start.os if builing shared library.
9628 ($(objpfx)g$(static-start-installed-name)): Likewise.
9629
9630 2015-02-23 Andreas Schwab <schwab@suse.de>
9631
9632 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
9633
9634 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
9635
9636 [BZ #17269]
9637 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
9638 (enlarge_userbuf): Likewise.
9639
9640 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
9641
9642 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
9643 * math/atest-exp.c (TIMEOUT): Adjust to 200.
9644 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
9645 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
9646
9647 2015-02-20 Joseph Myers <joseph@codesourcery.com>
9648
9649 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
9650 expression inside statement expression.
9651
9652 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
9653
9654 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
9655 <sysdeps/nptl/lowlevellock.h> and remove macros and
9656 functions that are now defined there.
9657 (SYS_futex): Remove.
9658 (lll_compare_and_swap): Remove.
9659 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
9660
9661 2015-02-19 Joseph Myers <joseph@codesourcery.com>
9662
9663 [BZ #17999]
9664 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
9665 instead of scandirat.
9666 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
9667 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
9668 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
9669 __scandirat.
9670 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
9671 (__scandirat): Declare. Use libc_hidden_proto.
9672 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
9673 Remove variable.
9674 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
9675
9676 2015-02-18 Joseph Myers <joseph@codesourcery.com>
9677
9678 [BZ #15319]
9679 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
9680 (MO): New macro.
9681 (__ieee754_atan2): For results with small absolute value, force
9682 underflow exception and remove excess range and precision from
9683 return value.
9684 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
9685 (MO): New macro.
9686 (__ieee754_atan2f): For results with small absolute value, force
9687 underflow exception and remove excess range and precision from
9688 return value.
9689 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
9690 (MO): New macro.
9691 (__atan): For results with small absolute value, force underflow
9692 exception and remove excess range and precision from return value.
9693 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
9694 (MO): New macro.
9695 (__atanf): For results with small absolute value, force underflow
9696 exception and remove excess range and precision from return value.
9697 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
9698 <math.h>.
9699 (__ieee754_atan2): Force underflow exception for results with
9700 small absolute value.
9701 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
9702 <math_private.h>.
9703 (atan): Force underflow exception for results with small absolute
9704 value.
9705 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
9706 (__atanf): Force underflow exception for results with small
9707 absolute value.
9708 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
9709 <math.h>.
9710 (__atanl): Force underflow exception for results with small
9711 absolute value.
9712 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
9713 (__atanl): Force underflow exception for results with small
9714 absolute value.
9715 * sysdeps/x86/fpu/bits/mathinline.h
9716 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
9717 (__ieee754_atan2): Only define inline for long double.
9718 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
9719 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
9720 * math/auto-libm-test-in: Do not mark underflow exceptions as
9721 possibly missing for bug 15319. Add more tests of atan2.
9722 * math/auto-libm-test-out: Regenerated.
9723 * math/libm-test.inc (casin_test_data): Do not mark underflow
9724 exceptions as possibly missing for bug 15319.
9725 (casinh_test_data): Likewise.
9726 * sysdeps/i386/fpu/libm-test-ulps: Update.
9727
9728 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
9729
9730 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
9731 * sysdeps/mips/bits/endian.h: Fix comments.
9732
9733 2015-02-18 Joseph Myers <joseph@codesourcery.com>
9734
9735 [BZ #17996]
9736 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
9737 (hdestroy_r): Likewise.
9738 (hsearch_r): Likewise.
9739 (__hcreate_r): Declare and use libc_hidden_proto.
9740 (__hdestroy_r): Likewise.
9741 (__hsearch_r): Likewise.
9742 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
9743 (hcreate): Call __hcreate_r instead of hcreate_r.
9744 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
9745 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
9746 as weak alias of __hcreate_r.
9747 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
9748 __hdestroy_r.
9749 (hsearch_r): Rename to __hsearch_r and define as weak alias of
9750 __hsearch_r.
9751 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
9752 Remove variable.
9753 (test-xfail-XPG4/search.h/linknamespace): Likewise.
9754 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
9755 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
9756 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
9757
9758 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9759
9760 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
9761 arena_lock into a single arena_get.
9762
9763 2015-02-17 Carlos O'Donell <carlos@redhat.com>
9764
9765 * dl-reloc.c: Inlucde libc-internal.h.
9766 (_dl_try_allocate_static_tls): Call ALIGN_UP.
9767 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
9768 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
9769 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
9770 (grow_heap): Likewise.
9771 * malloc/malloc.c: Include libc-internal.h.
9772 (do_check_malloc): Call powerof2.
9773 (sysmalloc): Use pagesize. Call ALIGN_UP.
9774 (systrim): Use pagesize.
9775 (mremap_chunk): Use pagesize. Call ALIGN_UP.
9776 (__libc_valloc): Use pagesize.
9777 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
9778
9779 2015-02-17 Joseph Myers <joseph@codesourcery.com>
9780
9781 [BZ #17991]
9782 * include/sys/resource.h (__getrlimit64): Declare. Use
9783 libc_hidden_proto.
9784 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
9785 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
9786 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
9787 getrlimit64.
9788 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
9789 __getrlimit64.
9790 [!getrlimit64] (getrlimit64): Define as weak alias of
9791 __getrlimit64. Use libc_hidden_weak.
9792 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
9793 using __getrlimit64 not __new_getrlimit64.
9794 (__GI_getrlimit64): Likewise.
9795 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
9796 Likewise.
9797 (__GI_getrlimit64): Likewise.
9798 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
9799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
9800 (getrlimit): Add __getrlimit64 alias.
9801 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
9802 Likewise.
9803 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
9804 Remove variable.
9805 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
9806 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
9807
9808 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
9809
9810 * libio/fileops.c: Add missing sys/mman.h
9811 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
9812
9813 2015-02-17 Joseph Myers <joseph@codesourcery.com>
9814
9815 * manual/math.texi (Errors in Math Functions): Clarify goals
9816 regarding inexact and underflow exceptions.
9817
9818 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
9819
9820 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
9821 * sysdeps/mips/memset.S: Ditto.
9822
9823 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
9824
9825 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
9826
9827 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
9828
9829 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
9830 (__v1longjmp): Remove versioned symbol.
9831 (__v1siglongjmp): Remove alias and versioned symbol.
9832 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
9833 (__v2siglongjmp): Likewise.
9834
9835 2015-02-16 Torvald Riegel <triegel@redhat.com>
9836
9837 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
9838
9839 2015-02-16 Mike Frysinger <vapier@gentoo.org>
9840
9841 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
9842
9843 2015-02-16 Joseph Myers <joseph@codesourcery.com>
9844
9845 [BZ #17987]
9846 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
9847 zero result does not depend on the sign resulting from
9848 subtraction.
9849 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
9850 Likewise.
9851 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
9852 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
9853 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
9854 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
9855 * math/libm-test.inc (remquo_test_data): Add more tests.
9856
9857 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
9858
9859 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
9860 Problem reported by J William Piggott.
9861
9862 2015-02-16 Joseph Myers <joseph@codesourcery.com>
9863
9864 [BZ #17978]
9865 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
9866 products 4 * y and 2 * y where those would overflow.
9867 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
9868 Likewise.
9869 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
9870 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
9871 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
9872 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
9873 * math/libm-test.inc (remquo_test_data): Add more tests.
9874
9875 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
9876
9877 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
9878 [defined _COMPILING_NEWLIB].
9879 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
9880 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
9881
9882 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
9883 [!defined __mips_isa_rev || __mips_isa_rev < 6].
9884
9885 2015-02-16 Torvald Riegel <triegel@redhat.com>
9886
9887 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
9888 acquired.
9889
9890 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
9891
9892 [BZ #17792]
9893 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
9894 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
9895 HOST_STACK_END_ADDR): Likewise.
9896
9897 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
9898
9899 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
9900 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
9901 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
9902
9903 2015-02-13 Roland McGrath <roland@hack.frob.com>
9904
9905 * sysdeps/generic/c++-types.data: New file.
9906 * sysdeps/generic/ld.abilist: New file.
9907 * sysdeps/generic/libBrokenLocale.abilist: New file.
9908 * sysdeps/generic/libanl.abilist: New file.
9909 * sysdeps/generic/libc.abilist: New file.
9910 * sysdeps/generic/libcrypt.abilist: New file.
9911 * sysdeps/generic/libdl.abilist: New file.
9912 * sysdeps/generic/libm.abilist: New file.
9913 * sysdeps/generic/libpthread.abilist: New file.
9914 * sysdeps/generic/libresolv.abilist: New file.
9915 * sysdeps/generic/librt.abilist: New file.
9916
9917 2015-02-13 Joseph Myers <joseph@codesourcery.com>
9918
9919 [BZ #17569]
9920 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
9921 Compute absolute value of x as modified by fmod, not original
9922 value of x.
9923 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
9924 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
9925 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
9926 RUN_TEST_ffI_f1_mod8.
9927 (remquo_test_data): Add more tests.
9928
9929 2015-02-13 Roland McGrath <roland@hack.frob.com>
9930
9931 * sysdeps/init_array/pt-crti.S: New file.
9932
9933 2015-02-13 Joseph Myers <joseph@codesourcery.com>
9934
9935 [BZ #17967]
9936 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
9937 __builtin_fmaf instead of relying on contraction of a * b + c.
9938
9939 2015-02-12 J William Piggott <elseifthen@gmx.com>
9940
9941 [BZ #17969]
9942 * manual/time.texi: correct the zoneinfo path in the TZ Variable
9943 node.
9944
9945 2015-02-12 Joseph Myers <joseph@codesourcery.com>
9946
9947 [BZ #17964]
9948 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
9949 __builtin_fma instead of relying on contraction of a * b + c.
9950
9951 2015-02-12 Roland McGrath <roland@hack.frob.com>
9952
9953 * Makeconfig (ASFLAGS): Add -Werror=undef.
9954 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
9955 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
9956 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
9957
9958 * Makeconfig (after-link): New variable.
9959 (+link-pie, +link-pie-tests): Use it.
9960 (+link-static, +link-static-tests): Likewise.
9961 (+link, +link-tests): Likewise.
9962 * Makerules (build-module, build-module-asneeded): Likewise.
9963 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
9964 Likewise.
9965 * elf/Makefile ($(objpfx)ld.so): Likewise.
9966
9967 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
9968
9969 [BZ #17965]
9970 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
9971 both struct timeval and struct timespec.
9972
9973 2015-02-12 Joseph Myers <joseph@codesourcery.com>
9974
9975 [BZ #16560]
9976 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
9977 and redefine.
9978 (__ieee754_exp2l): Do not multiply small fractional parts by
9979 M_LN2l.
9980 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
9981 small argument.
9982 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
9983 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
9984 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
9985 * math/auto-libm-test-in: Add more tests of exp2.
9986 * math/auto-libm-test-out: Regenerated.
9987
9988 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9989
9990 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
9991 unaligned path.
9992
9993 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9994
9995 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
9996 little endian.
9997
9998 2015-02-12 Andreas Schwab <schwab@suse.de>
9999
10000 [BZ #15790]
10001 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
10002 Filter out elision flags from value returned in kind.
10003 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
10004 * nptl/tst-pthread-mutexattr.c: New file.
10005
10006 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
10007
10008 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
10009 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
10010 into gnu-gnu, and update comment to refer to abi-tags.
10011
10012 2015-02-11 Joseph Myers <joseph@codesourcery.com>
10013
10014 [BZ #15467]
10015 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
10016 (__sincos): Set errno to EDOM for infinite argument.
10017 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
10018 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
10019 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
10020 (__sincosl): Set errno to EDOM for infinite argument.
10021 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
10022 (__sincosl): Set errno to EDOM for infinite argument.
10023 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
10024 (__sincosl): Set errno to EDOM for infinite argument.
10025 * math/libm-test.inc (sincos_test_data): Test errno setting.
10026
10027 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
10028
10029 * string/strxfrm_l.c: Remove #define STRCMP.
10030 * string/strcoll_l.c: Remove #define STRLEN.
10031 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
10032 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
10033
10034 2015-02-10 Joseph Myers <joseph@codesourcery.com>
10035
10036 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
10037 * sysdeps/mips/mips32/sfp-machine.h: ... here.
10038 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
10039 * sysdeps/mips/mips64/Makefile: ... here.
10040 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
10041 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
10042 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
10043 * sysdeps/mips/mips64/sfp-machine.h: ... here.
10044 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
10045 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
10046 * sysdeps/mips/mips64/n64/Implies: Likewise.
10047
10048 2015-02-10 Roland McGrath <roland@hack.frob.com>
10049
10050 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
10051 <sys/time.h>, <string.h>, and <errno.h>.
10052 (dest_offset, dest_address, value, zero): Remove unused variables.
10053 (ldouble): Remove typedef.
10054 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
10055 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
10056 1). Fix code style.
10057 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
10058 (check): Function removed.
10059 (CHECK): New macro.
10060 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
10061 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
10062 Don't call set_sigaction_FP and remove_sigaction_FP here.
10063 (ldouble_test): Just use 'long double' as macro argument, no need for
10064 the 'ldouble' typedef.
10065 (do_test): Set up SIGFPE handler at start, using plain signal rather
10066 than sigaction. Fix code style.
10067
10068 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
10069
10070 [BZ #17949]
10071 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
10072 jump label.
10073
10074 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
10075
10076 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
10077 * sysdeps/powerpc/powerpc32/configure: Regenerated.
10078
10079 * sysdeps/powerpc/configure.ac: Remove file.
10080 * sysdeps/powerpc/configure: Likewise.
10081
10082 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
10083 [sysdep_routines]: Remove wordcopy-power6 object.
10084 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
10085 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
10086 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
10087 (__memmove_ppc32): Likewise.
10088 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
10089 file.
10090 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
10091 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
10092 Remove preprocessor.
10093
10094 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
10095 [sysdep_routines]: Remove wide chars objects.
10096 [wcsmbs]: New rule for wide char objects.
10097
10098 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10099 Remove wordcopy-power6 obejct.
10100 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
10101 Use local call for wordcopy and memcpy symbols.
10102 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
10103 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
10104 implementation for loader.
10105 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
10106
10107 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10108 Remove wordcopy-power7 object.
10109 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
10110 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
10111 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
10112 (_wordcopy_fwd_dest_aligned): Likewise.
10113 (_wordcopy_bwd_aligned): Likewise.
10114 (_wordcopy_bwd_dest_aligned): Likewise.
10115
10116 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
10117 Rewrite to call __memmove_ppc instead of include default
10118 implementation.
10119
10120 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10121 Remove wide chars objects.
10122 [wcsmbs]: New rule for wide char objects.
10123
10124 2015-02-09 Andreas Schwab <schwab@suse.de>
10125
10126 [BZ #17912]
10127 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
10128 in terms of __O_DIRECTORY.
10129
10130 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
10131
10132 * time/getdate.c: Include <stdbool.h>.
10133 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
10134 call PTR_MANGLE.
10135 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
10136 PTR_DEMANGLE.
10137
10138 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
10139
10140 Add ersatz _Static_assert on older C hosts
10141 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
10142 pre-C11 C platform that is not known to support _Static_assert.
10143
10144 2015-02-07 Richard Braun <rbraun@sceen.net>
10145
10146 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
10147 sigstate.
10148 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
10149
10150 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
10151
10152 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
10153 priority against unexistent AIO_PRIO_DELTA_MAX.
10154 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
10155 instead of int.
10156 * misc/fchflags.c (fchflags): Likewise.
10157 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
10158 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
10159 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
10160 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
10161 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
10162 Declare macros.
10163 [__USE_MISC] (chflags, fchflags): Declare functions.
10164 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
10165 EINVAL when nfds is greater than FD_SETSIZE.
10166 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
10167 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
10168 45.
10169 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
10170 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
10171 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
10172 MACH_RCV_TIMED_OUT.
10173 * hurd/hurd/signal.h (_hurd_self_sigstate,
10174 _hurd_critical_section_lock, _hurd_critical_section_unlock):
10175 Explicit casts from void *.
10176 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
10177 * abi-tags: Rename gnu-gnu os into gnu.
10178
10179 [BZ #4719]
10180 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
10181 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
10182 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
10183 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
10184 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
10185 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
10186
10187 [BZ #17944]
10188 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
10189 duplicates ADDR->sun_path with sockaddr LEN limitation.
10190 * sysdeps/mach/hurd/connect.c: Include <string.h>
10191 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
10192 * sysdeps/mach/hurd/sendmsg.c: Likewise.
10193 * sysdeps/mach/hurd/sendto.c: Likewise.
10194 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
10195 implementing it by hand.
10196
10197 2015-02-06 Roland McGrath <roland@hack.frob.com>
10198
10199 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
10200 Use sfi_breg on ldr.
10201 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
10202 Likewise.
10203
10204 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
10205 it's defined.
10206 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
10207 Test SIGSETXID only if it's defined.
10208
10209 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
10210
10211 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
10212 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
10213
10214 * nptl/tst-align2.c: Moved ...
10215 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
10216 * nptl/Makefile (tests): Remove tst-align2.
10217 * sysdeps/unix/sysv/linux/Makefile
10218 [$(subdir) = nptl] (tests): Add tst-align-clone.
10219 * nptl/tst-getpid1.c: Moved ...
10220 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
10221 * nptl/tst-getpid2.c: Moved ...
10222 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
10223 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
10224 * sysdeps/unix/sysv/linux/Makefile
10225 [$(subdir) = nptl] (tests): ... here.
10226 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
10227 * sysdeps/unix/sysv/linux/Makefile
10228 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
10229
10230 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
10231 Drop trailing \n from perror argument. Use return rather than exit.
10232
10233 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
10234 on [SA_SIGINFO].
10235 * nptl/tst-cancel21.c (do_test): Likewise.
10236 * debug/tst-backtrace6.c: Include <signal.h> first thing.
10237 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
10238 [!SA_SIGINFO]: Make it a stub test.
10239
10240 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
10241 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
10242
10243 * posix/tst-getlogin.c: Move to ...
10244 * login/tst-getlogin.c: ... here.
10245 * posix/Makefile (tests): Move tst-getlogin to ...
10246 * login/Makefile (tests): ... here.
10247
10248 * libio/tst-atime.c (do_test): Move local variables SV and E
10249 inside [ST_NOATIME] conditional.
10250
10251 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
10252
10253 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
10254
10255 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
10256 (wait_code): New function replaces macro.
10257 Call nanosleep rather than syscall.
10258
10259 * nptl/pt-system.c: Rewritten. Put everything under
10260 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
10261 Use IFUNC to redirect when possible.
10262
10263 * nptl/pt-longjmp.c: Rewritten. Put everything under
10264 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
10265 Use IFUNC to redirect when possible.
10266
10267 * nptl/pt-fork.c: Rewritten. Put everything under
10268 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
10269 Use IFUNC to redirect when possible.
10270 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
10271
10272 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
10273 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
10274 unconditionally nowadays. This included the only reference to
10275 __vdso_clock_gettime that appears outside libc proper.
10276 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
10277 Remove version set (containing only __vdso_clock_gettime).
10278 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
10279 Add attribute_hidden.
10280 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
10281 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
10282 libc_hidden_data_def.
10283 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
10284 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
10285
10286 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
10287 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
10288 setrpcent, and getrpcport to ...
10289 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
10290 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
10291 getrpcbynumber_r, and getrpcent_r to ...
10292 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
10293 * inet/getrpcbyname.c: Moved ...
10294 * sunrpc/getrpcbyname.c: ... here.
10295 * inet/getrpcbyname_r.c: Moved ...
10296 * sunrpc/getrpcbyname_r.c: ... here.
10297 * inet/getrpcbynumber.c: Moved ...
10298 * sunrpc/getrpcbynumber.c: ... here.
10299 * inet/getrpcbynumber_r.c: Moved ...
10300 * sunrpc/getrpcbynumber_r.c: ... here.
10301 * inet/getrpcent.c: Moved ...
10302 * sunrpc/getrpcent.c: ... here.
10303 * inet/getrpcent_r.c: Moved ...
10304 * sunrpc/getrpcent_r.c: ... here.
10305 * inet/Makefile (routines): Move those to ...
10306 * sunrpc/Makefile (routines): ... here.
10307 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
10308 the $(subdirs) list.
10309 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
10310 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
10311 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
10312 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
10313
10314 * elf/Makefile (routines): Include $(all-dl-routines), not just
10315 $(dl-routines).
10316 (rtld-routines): Likewise. Use = rather than :=.
10317 * sysdeps/aarch64/Makefile [$(subdir) = elf]
10318 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
10319 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
10320 * sysdeps/arm/Makefile: Likewise.
10321 * sysdeps/i386/Makefile: Likewise.
10322 * sysdeps/x86_64/Makefile: Likewise.
10323 * sysdeps/hppa/Makefile [$(subdir) = elf]
10324 (sysdep_routines, sysdep-rtld-routines): Don't add
10325 $(sysdep-dl-routines) to these.
10326 * sysdeps/ia64/Makefile: Likewise.
10327 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
10328 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
10329 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
10330 Don't add dl-static to these; sysdep-dl-routines alone is enough.
10331 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
10332 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
10333 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
10334 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
10335 * sysdeps/powerpc/Makefile [$(subdir) = elf]
10336 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
10337 these; sysdep-dl-routines alone is enough.
10338
10339 2015-02-06 Joseph Myers <joseph@codesourcery.com>
10340
10341 [BZ #17932]
10342 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
10343 where multiplication results in zero and third argument is finite
10344 and nonzero.
10345 * math/auto-libm-test-in: Add more tests of fma.
10346 * math/auto-libm-test-out: Regenerated.
10347
10348 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
10349 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
10350 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
10351 (_FP_CMP_EQ): Likewise.
10352 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
10353
10354 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
10355 extra argument CHECK_NAN. Redefine as wrapper around
10356 _FP_EXTEND_CNAN.
10357
10358 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
10359
10360 * version.h (RELEASE): Set to "stable".
10361 (VERSION): Set to "2.21"
10362 * include/features.h (__GLIBC_MINOR__): Set to 21.
10363
10364 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
10365
10366 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
10367 Paul Eggert <eggert@cs.ucla.edu>
10368
10369 [BZ #16618]
10370 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
10371 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
10372 size in bytes. Store needed elements in wpmax. Use needed size
10373 in bytes for extend_alloca.
10374
10375 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
10376
10377 * manual/install.texi: Latest tested versions are GCC 4.9.2,
10378 binutls 2.25, and texinfo 5.2.
10379 * INSTALL: Regenerate.
10380 * sysdeps/nios2/configure: Regenerate.
10381 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
10382 * manual/contrib.texi: Update.
10383 * po/be.po: Update.
10384 * po/bg.po: Update.
10385 * po/ca.po: Update.
10386 * po/cs.po: Update.
10387 * po/da.po: Update.
10388 * po/de.po: Update.
10389 * po/el.po: Update.
10390 * po/eo.po: Update.
10391 * po/es.po: Update.
10392 * po/fi.po: Update.
10393 * po/fr.po: Update.
10394 * po/gl.po: Update.
10395 * po/hr.po: Update.
10396 * po/hu.po: Update.
10397 * po/ia.po: Update.
10398 * po/id.po: Update.
10399 * po/it.po: Update.
10400 * po/ja.po: Update.
10401 * po/ko.po: Update.
10402 * po/lt.po: Update.
10403 * po/nb.po: Update.
10404 * po/nl.po: Update.
10405 * po/pl.po: Update.
10406 * po/pt_BR.po: Update.
10407 * po/ru.po: Update.
10408 * po/rw.po: Update.
10409 * po/sk.po: Update.
10410 * po/sl.po: Update.
10411 * po/sv.po: Update.
10412 * po/tr.po: Update.
10413 * po/uk.po: Update.
10414 * po/vi.po: Update.
10415 * po/zh_CN.po: Update.
10416 * po/zh_TW.po: Update.
10417
10418 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
10419 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
10420 * sysdeps/hppa/dl-irel.h: Remove #warning.
10421 * sysdeps/hppa/entry.h: Provide prototype for
10422 __canonicalize_funcptr_for_compare and cast argument.
10423 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
10424 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
10425 * sysdeps/hppa/sotruss-lib.c: New file.
10426 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
10427 (atomic_compare_and_exchange_val_acq): Use __typeof__.
10428 (atomic_compare_and_exchange_bool_acq): Likewise.
10429 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
10430 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
10431
10432 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
10433 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
10434 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
10435
10436 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
10437
10438 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
10439 called function in non-PIC case.
10440
10441 2015-01-31 David S. Miller <davem@davemloft.net>
10442
10443 * sysdeps/sparc/sparc32/bits/atomic.h
10444 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
10445 unlock not after it.
10446 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
10447 volatile register usage warnings from the compiler.
10448
10449 * sysdeps/sparc/nptl/sem_init.c: Delete.
10450 * sysdeps/sparc/nptl/sem_post.c: Delete.
10451 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
10452 * sysdeps/sparc/nptl/sem_wait.c: Delete.
10453 * sysdeps/sparc/sparc32/sem_init.c: New file.
10454 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
10455 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
10456 padding explicitly initialized.
10457 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
10458 padding for in-semaphore spinlock.
10459 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
10460 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
10461 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
10462 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
10463 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
10464 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
10465 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
10466 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
10467 version.
10468 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
10469 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
10470
10471 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
10472
10473 [BZ #17801]
10474 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10475 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
10476 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
10477 New.
10478 (index_AVX_Fast_Unaligned_Load): Likewise.
10479 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
10480 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
10481 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
10482 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
10483 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
10484 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
10485 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
10486 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
10487 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
10488
10489 2015-01-29 Andreas Schwab <schwab@suse.de>
10490
10491 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
10492
10493 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10494
10495 [BZ #17892]
10496 * nscd/nscd_stat.c (send_stats): Initialize DATA.
10497
10498 2015-01-28 Martin Sebor <msebor@redhat.com>
10499
10500 * math/README.libm-test: Clarify. Add "How to read the test output."
10501
10502 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
10503
10504 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
10505 Define to 0.
10506
10507 2015-01-28 Joseph Myers <joseph@codesourcery.com>
10508
10509 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
10510 (__HAVE_64B_ATOMICS): Define to 0.
10511
10512 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
10513
10514 [BZ #17885]
10515 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
10516 value to set as new flag.
10517
10518 [BZ #16576]
10519 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
10520 and use _ARCH_PPCSQ instead.
10521 (__ieee754_sqrt): Likewise.
10522 (__ieee754_sqrtf): Likewise.
10523 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
10524 _ARCH_PPCSQ is defined.
10525 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
10526 fsqrt instruction.
10527 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
10528 _ARCH_PPCSQ is defined.
10529 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
10530 fsqrts instruction.
10531 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
10532
10533 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10534
10535 * iconv/loop.c: Suppress array out of bound warning caused by GCC
10536 bug (GCC BZ #64739).
10537
10538 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
10539
10540 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
10541 Mark _retval as used.
10542 (lll_futex_wake_unlock): Likewise.
10543 (lll_futex_timed_wait_requeue_pi): Likewise.
10544
10545 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
10546 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
10547 register variables.
10548
10549 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
10550 libm_hidden_def.
10551
10552 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
10553 (__bswap_64): Mark as __always_inline.
10554
10555 2015-01-25 Bram <bug_rh@spam.wizbit.be>
10556
10557 [BZ #15378]
10558 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
10559 when none of the search directories exist.
10560
10561 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
10562
10563 [BZ #17869]
10564 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
10565 power8 in .machine directive.
10566
10567 [BZ #17868]
10568 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
10569 set dependency from opd value.
10570
10571 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
10572
10573 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10574 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
10575 architecture.
10576
10577 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
10578
10579 [BZ #17870]
10580 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
10581 with uint64_t.
10582 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
10583 (uint64_t) 1.
10584 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
10585 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
10586 Replace 1UL with (uint64_t) 1.
10587 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
10588 int with uint64_t.
10589
10590 2015-01-23 Roland McGrath <roland@hack.frob.com>
10591
10592 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
10593 (if_freenameindex): Likewise.
10594
10595 * resource/getrlimit64.c: Add missing libc_hidden_def.
10596
10597 2015-01-22 Joseph Myers <joseph@codesourcery.com>
10598
10599 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
10600 __label__.
10601 (_FP_FMA): Likewise.
10602 (_FP_TO_INT_ROUND): Likewise.
10603 (_FP_FROM_INT): Likewise.
10604
10605 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10606
10607 [BZ #16418]
10608 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
10609 Make code racy and cancel safe.
10610
10611 2015-01-21 Carlos O'Donell <carlos@redhat.com>
10612
10613 * sysdeps/arm/unwind-resume.h: Fix copyright year.
10614 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
10615 attribution.
10616
10617 * pwd/tst-getpw.c: Rewrite.
10618
10619 [BZ #17702]
10620 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
10621 (modules-names): Add moddummy1 and moddummy2.
10622 ($(objpfx)tst-rec-dlopen): Define.
10623 * dlfcn/moddummy1.c: New file.
10624 * dlfcn/moddummy2.c: New file.
10625 * dlfcn/tst-rec-dlopen.c: New file.
10626 * elf/dl-cache.c (_dl_load_cache_lookup):
10627 Return char*. Copy result with alloca/strcpy/strdup.
10628 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
10629 returns char*. Free cached. If not saving realname
10630 free cached.
10631 * elf/dl-open.c (dl_open_worker): Do not assert that
10632 _r_debug->r_state is RT_CONSISTENT.
10633 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
10634 returns char*.
10635
10636 2015-01-21 Torvald Riegel <triegel@redhat.com>
10637 Carlos O'Donell <carlos@redhat.com>
10638
10639 [BZ #12674]
10640 * nptl/sem_waitcommon.c: New file.
10641 * nptl/sem_wait.c: Include sem_waitcommon.c.
10642 (__sem_wait_cleanup, do_futex_wait): Remove.
10643 (__new_sem_wait): Adapt.
10644 (__new_sem_trywait): New function.
10645 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
10646 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
10647 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
10648 (sem_timedwait): Adapt.
10649 * nptl/sem_post.c (__new_sem_post): Adapt.
10650 (futex_wake): New function.
10651 (__old_sem_post): Add release MO fence.
10652 * nptl/sem_open.c (sem_open): Adapt.
10653 * nptl/sem_init.c (__new_sem_init): Adapt.
10654 (futex_private_if_supported): New function.
10655 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
10656 (__old_sem_getvalue): Add using previous code.
10657 * sysdeps/nptl/internaltypes.h: Adapt.
10658 * nptl/tst-sem13.c (do_test): Adapt.
10659 * nptl/tst-sem11.c (main): Adapt.
10660 * nptl/sem_trywait.c: Remove.
10661 * nptl/DESIGN-sem.txt: Remove.
10662 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
10663 (gen-as-const-headers): Remove structsem.sym.
10664 * nptl/structsem.sym: Remove.
10665 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
10666 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
10667 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
10668 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
10669 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
10670 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
10671 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
10672 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
10673 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
10674 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
10675 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
10676 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
10677 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
10678 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
10679 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
10680 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
10681 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
10682 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
10683 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
10684 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
10685 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
10686 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
10687
10688 2015-01-20 Carlos O'Donell <carlos@redhat.com>
10689
10690 * INSTALL: Regenerated.
10691
10692 * po/libc.pot: Regenerated.
10693
10694 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
10695 Sandra Loosemore <sandra@codesourcery.com>
10696 Andrew Jenner <andrew@codesourcery.com>
10697 Joseph Myers <joseph@codesourcery.com>
10698 Nathan Sidwell <nathan@codesourcery.com>
10699
10700 * NEWS: Mention new Nios II port.
10701 * sysdeps/nios2/Implies: New file.
10702 * sysdeps/nios2/Makefile: New file.
10703 * sysdeps/nios2/Subdirs: New file.
10704 * sysdeps/nios2/Versions: New file.
10705 * sysdeps/nios2/__longjmp.S: New file.
10706 * sysdeps/nios2/abort-instr.h: New file.
10707 * sysdeps/nios2/backtrace.c: New file.
10708 * sysdeps/nios2/bits/endian.h: New file.
10709 * sysdeps/nios2/bits/fenv.h: New file.
10710 * sysdeps/nios2/bits/link.h: New file.
10711 * sysdeps/nios2/bits/setjmp.h: New file.
10712 * sysdeps/nios2/bsd-_setjmp.S: New file.
10713 * sysdeps/nios2/bsd-setjmp.S: New file.
10714 * sysdeps/nios2/configure: New generated file.
10715 * sysdeps/nios2/configure.ac: New file.
10716 * sysdeps/nios2/crti.S: New file.
10717 * sysdeps/nios2/crtn.S: New file.
10718 * sysdeps/nios2/dl-init.c: New file.
10719 * sysdeps/nios2/dl-machine.h: New file.
10720 * sysdeps/nios2/dl-sysdep.h: New file.
10721 * sysdeps/nios2/dl-tls.h: New file.
10722 * sysdeps/nios2/dl-trampoline.S: New file.
10723 * sysdeps/nios2/gccframe.h: New file.
10724 * sysdeps/nios2/gmp-mparam.h: New file.
10725 * sysdeps/nios2/jmpbuf-offsets.h: New file.
10726 * sysdeps/nios2/jmpbuf-unwind.h: New file.
10727 * sysdeps/nios2/ldsodefs.h: New file.
10728 * sysdeps/nios2/libc-tls.c: New file.
10729 * sysdeps/nios2/libm-test-ulps: New file.
10730 * sysdeps/nios2/machine-gmon.h: New file.
10731 * sysdeps/nios2/math-tests.h: New file.
10732 * sysdeps/nios2/math_private.h: New file.
10733 * sysdeps/nios2/memusage.h: New file.
10734 * sysdeps/nios2/nptl/Makefile: New file.
10735 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
10736 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
10737 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
10738 * sysdeps/nios2/nptl/pthreaddef.h: New file.
10739 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
10740 * sysdeps/nios2/nptl/tls.h: New file.
10741 * sysdeps/nios2/preconfigure: New file.
10742 * sysdeps/nios2/s_fma.c: New file.
10743 * sysdeps/nios2/s_fmaf.c: New file.
10744 * sysdeps/nios2/setjmp.S: New file.
10745 * sysdeps/nios2/sfp-machine.h: New file.
10746 * sysdeps/nios2/sotruss-lib.c: New file.
10747 * sysdeps/nios2/stackguard-macros.h: New file.
10748 * sysdeps/nios2/stackinfo.h: New file.
10749 * sysdeps/nios2/start.S: New file.
10750 * sysdeps/nios2/sysdep.h: New file.
10751 * sysdeps/nios2/tls-macros.h: New file.
10752 * sysdeps/nios2/tst-audit.h: New file.
10753 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
10754 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
10755 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
10756 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
10757 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
10758 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
10759 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
10760 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
10761 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
10762 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
10763 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
10764 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
10765 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
10766 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
10767 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
10768 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
10769 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
10770 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
10771 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
10772 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
10773 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
10774 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
10775 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
10776 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
10777 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
10778 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
10779 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
10780 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
10781 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
10782 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
10783 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
10784 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
10785 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
10786 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
10787 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
10788 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
10789 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
10790 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
10791 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
10792 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
10793 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
10794 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
10795 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
10796 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
10797
10798 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
10799
10800 [BZ #17844]
10801 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
10802 (getutent): Use weak_alias in non SHARED case
10803 and default_symbol_version in SHARED case.
10804 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
10805 (getutent_r, pututline): Likewise.
10806 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
10807 (getutid): Likewise.
10808 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
10809 (getutid_r): Likewise.
10810 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
10811 (getutline): Likewise.
10812 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
10813 (getutline_r): Likewise.
10814 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
10815 (updwtmp): Likewise.
10816
10817 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
10818
10819 [BZ #17848]
10820 * sysdeps/s390/s390-32/memcmp.S
10821 (memcmp_g5): Rename to __memcmp_g5.
10822 * sysdeps/s390/s390-32/memcpy.S
10823 (memcpy_g5): Rename to __memcpy_g5.
10824 Jump to __memcpy_mvcle instead of memcpy_mvcle.
10825 (memcpy_mvcle) Rename to __memcpy_mvcle.
10826 * sysdeps/s390/s390-32/memset.S
10827 (memset_g5): Rename to __memset_g5.
10828 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
10829 (IFUNC_RESOLVE): Prefix ifunc-resolve function
10830 and use prefixed functions.
10831 * sysdeps/s390/s390-32/multiarch/memcmp.S
10832 (memcmp_z196): Rename to __memcmp_z196.
10833 (memcmp_z10): Rename to __memcmp_z10.
10834 (memcmp): Set alias to __memcmp_g5.
10835 (bcmp): Set alias to __memcmp_g5.
10836 * sysdeps/s390/s390-32/multiarch/memcpy.S
10837 (memcpy_z196): Rename to __memcpy_z196.
10838 Jump to __memcpy_mvcle instead of memcpy_mvcle.
10839 (memcpy_z10): Rename to __memcpy_z10.
10840 Jump to __memcpy_mvcle instead of memcpy_mvcle.
10841 (memcpy): Set alias to __memcpy_g5.
10842 * sysdeps/s390/s390-32/multiarch/memset.S
10843 (memset_z196): Rename to __memset_z196.
10844 Jump to __memset_mvcle instead of memset_mvcle.
10845 (memset_z10): Rename to __memset_z10.
10846 Jump to __memset_mvcle instead of memset_mvcle.
10847 (memset_mvcle) Rename to __memset_mvcle.
10848 (memset): Set alias to __memset_g5.
10849 * sysdeps/s390/s390-64/memcmp.S
10850 (memcmp_z900): Rename to __memcmp_z900.
10851 * sysdeps/s390/s390-64/memcpy.S
10852 (memcpy_z900): Rename to __memcpy_z900.
10853 Jump to __memcpy_mvcle instead of memcpy_mvcle.
10854 (memcpy_mvcle) Rename to __memcpy_mvcle.
10855 * sysdeps/s390/s390-64/memset.S
10856 (memset_z900): Rename to __memset_z900.
10857 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
10858 (IFUNC_RESOLVE): Prefix ifunc-resolve function
10859 and use prefixed functions.
10860 * sysdeps/s390/s390-64/multiarch/memcmp.S
10861 (memcmp_z196): Rename to __memcmp_z196.
10862 (memcmp_z10): Rename to __memcmp_z10.
10863 (memcmp): Set alias to __memcmp_z900.
10864 (bcmp): Set alias to __memcmp_z900.
10865 * sysdeps/s390/s390-64/multiarch/memcpy.S
10866 (memcpy_z196): Rename to __memcpy_z196.
10867 Jump to __memcpy_mvcle instead of memcpy_mvcle.
10868 (memcpy_z10): Rename to __memcpy_z10.
10869 Jump to __memcpy_mvcle instead of memcpy_mvcle.
10870 (memcpy): Set alias to __memcpy_z900.
10871 * sysdeps/s390/s390-64/multiarch/memset.S
10872 (memset_z196): Rename to __memset_z196.
10873 Jump to __memset_mvcle instead of memset_mvcle.
10874 (memset_z10): Rename to __memset_z10.
10875 Jump to __memset_mvcle instead of memset_mvcle.
10876 (memset_mvcle) Rename to __memset_mvcle.
10877 (memset): Set alias to __memset_z900.
10878
10879 2015-01-14 Joseph Myers <joseph@codesourcery.com>
10880
10881 [BZ #17748]
10882 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
10883 __fesetenv instead of fesetenv.
10884
10885 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
10886
10887 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
10888 macro.
10889
10890 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10891
10892 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
10893 regression on LE.
10894
10895 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
10896 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
10897 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
10898 strncmp-power8 object.
10899 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10900 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
10901 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
10902 * NEWS: Update.
10903
10904 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10905 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10906
10907 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
10908 trailing byte check.
10909
10910 2015-01-13 David S. Miller <davem@davemloft.net>
10911
10912 * include/signal.h (__sigreturn): Guard with __USE_MISC.
10913
10914 2015-01-13 Roland McGrath <roland@hack.frob.com>
10915
10916 * login/logout.c (logout): Use memset rather than bzero.
10917 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
10918 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
10919 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
10920 (_gethtbyaddr): Likewise.
10921 * locale/programs/simple-hash.c (bcopy): Macro removed.
10922
10923 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10924
10925 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10926 Add strcmp-power8 object.
10927 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10928 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
10929 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
10930 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
10931 __strcmp_power8 implementation.
10932 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
10933 * NEWS: Update.
10934
10935 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10936 Add strncpy-power8 and stpncpy-power8 objects.
10937 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10938 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
10939 implementations.
10940 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
10941 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
10942 __stpncpy_power8 implementation.
10943 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
10944 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
10945 __strncpy_power8 implementation.
10946 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
10947 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
10948 * NEWS: Update.
10949
10950 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
10951 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
10952 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
10953
10954 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
10955 strncat-power8 object.
10956 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
10957 __strcat_power8 implementation.
10958 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10959 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
10960 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
10961 optimized strcat for power8.
10962
10963 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
10964 strcpy-power8 and stpcpy-power8 objects.
10965 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10966 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
10967 implementations.
10968 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
10969 multiarch stpcpy implementation for POWER8.
10970 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
10971 multiarch strcpy implementation for POWER8.
10972 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
10973 __strcpy_power8 function.
10974 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
10975 stpcpy for POWER8.
10976 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
10977 strcpy for POWER8.
10978 * NEWS: Update.
10979
10980 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
10981
10982 [BZ #16009]
10983 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
10984 weights and rules. Use do_xfrm_cached if data fits in cache,
10985 do_xfrm otherwise. Moved former main loop to...
10986 * (do_xfrm_cached): New function.
10987 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
10988 find_idx, find_position and stack_push.
10989 * (find_idx): New function.
10990 * (find_position): Likewise.
10991 * localedata/sort-test.sh: Added test run for do_xfrm.
10992 * localedata/xfrm-test.c (main): Added command line option
10993 -nocache to run the test with strings that are too large for
10994 the STRXFRM cache.
10995
10996 2015-01-13 Torvald Riegel <triegel@redhat.com>
10997
10998 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
10999 variable to lll_futex_wake call, not the value itself.
11000
11001 2015-01-12 Joseph Myers <joseph@codesourcery.com>
11002
11003 [BZ #17803]
11004 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
11005 twom64. Adjust value to 0x1p-64L.
11006 (__scalblnl): Only return standard underflowing result for K <=
11007 -64 not K <= -63; adjust exponent for underflowing result by 64
11008 not 63.
11009 * math/libm-test.inc (scalbn_test_data): Add more tests.
11010 (scalbln_test_data): Likewise.
11011
11012 [BZ #17834]
11013 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
11014 0x1p63L.
11015 (__scalblnl): Get new exponent of adjusted subnormal value from ES
11016 not HX.
11017 * math/libm-test.inc (scalbn_test_data): Add more tests.
11018 (scalbln_test_data): Likewise.
11019
11020 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11021 Stefani Seibold <stefani@seibold.net>
11022
11023 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
11024 (sysdep_routines): Add dl-vdso here, ...
11025 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
11026 (sysdep_routines): ... not here.
11027 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
11028 fallback when vDSO is not presented.
11029 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
11030 Define with libc_hidden_proto/libc_hidden_data_def definitions.
11031 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
11032 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
11033 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
11034 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
11035 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
11036 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
11037 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
11038 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
11039 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
11040 fallback configurable symbol when vDSO is not available.
11041 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
11042 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
11043 be able to redefine fallback symbol when vDSO is not available.
11044 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
11045 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
11046
11047 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11048
11049 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
11050 (TLS_INIT_TP): Add tm_capable initialization.
11051 (TLS_DEFINE_INIT_TP): Likewise.
11052 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
11053 TCB.
11054 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
11055 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
11056 calculation.
11057 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
11058 transactoion is lock elision is built and TCB tm_capable is set.
11059 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
11060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11061 (INTERNAL_SYSCALL_NCS): Likewise.
11062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
11063 (INTERNAL_SYSCALL_NCS): Likewise.
11064 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
11065
11066 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
11067 for powerpc.
11068 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
11069 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
11070 and remove it for 32 bits case.
11071 [pthread_rwlock_t] (__rwelision): New field for lock elision.
11072 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
11073 initialization.
11074 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
11075 Disable lock elision with rdlocks if elision is not available.
11076
11077 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
11078 (sysdep_routines): Add lock elision objects.
11079 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
11080 [pthread_mutex_t] (__spins): Rework to add lock elision field.
11081 [pthread_mutex_t] (__elision): Add field.
11082 [__PTHREAD_SPINS]: Adjust to init lock elision field.
11083 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
11084 elision definitions for powerpc.
11085 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
11086 implementation of lock elision for powerpc.
11087 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
11088 implementation of timed lock elision for powerpc.
11089 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
11090 implementation of trylock with lock elision for powerpc.
11091 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
11092 implementaion of unlock for lock elision for powerpc.
11093 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
11094 automatic enable lock elision for mutexes.
11095 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
11096 transaction execution definitions for powerpc.
11097 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
11098 definitions.
11099 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
11100 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
11101 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
11102 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
11103 * NEWS: Update.
11104
11105 2015-01-09 Roland McGrath <roland@hack.frob.com>
11106
11107 * sysdeps/posix/shm-directory.c: Use <> rather than ""
11108 for #include of <shm-directory.h>.
11109
11110 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
11111
11112 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
11113 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
11114
11115 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
11116
11117 [BZ #17791]
11118 * NEWS: Mention bug fix.
11119 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
11120 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
11121 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
11122
11123 2015-01-09 Torvald Riegel <triegel@redhat.com>
11124
11125 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
11126
11127 2015-01-09 Torvald Riegel <triegel@redhat.com>
11128
11129 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
11130
11131 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
11132
11133 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
11134 pointer and cast to uintptr_t.
11135
11136 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
11137
11138 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
11139 removed.
11140 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
11141
11142 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
11143
11144 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
11145 of 0.
11146
11147 2015-01-08 Roland McGrath <roland@hack.frob.com>
11148
11149 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
11150 <nptl/pthreadP.h> instead.
11151 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
11152
11153 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
11154 already defined.
11155 [__SIGRTMIN] (init): Function removed.
11156 [__SIGRTMIN] (initialized): Variable removed.
11157 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
11158 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
11159 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
11160 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
11161 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
11162 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
11163 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
11164 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
11165 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
11166 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
11167 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
11168 * sysdeps/nptl/allocrtsig.c: New file.
11169 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
11170 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
11171 * sysdeps/generic/testrtsig.h: File removed.
11172
11173 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
11174 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
11175
11176 * nptl/nptl-init.c (pthread_functions): Conditionalize
11177 .ptr__nptl_setxid initialization on [SIGSETXID].
11178
11179 * sysdeps/nptl/sys/procfs.h: New file.
11180 * nptl_db/Makefile (headers): Add it.
11181 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
11182
11183 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
11184 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
11185 * nptl/pthread_attr_setaffinity.c: Include it.
11186 * nptl/pthread_setattr_default_np.c: Likewise.
11187 * nptl/check-cpuset.h: New file.
11188
11189 2015-01-08 Richard Henderson <rth@redhat.com>
11190
11191 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
11192 (CFLAGS-tst-execstack-prog.c): Likewise.
11193 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
11194
11195 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
11196 Sandra Loosemore <sandra@codesourcery.com>
11197 Andrew Jenner <andrew@codesourcery.com>
11198 Joseph Myers <joseph@codesourcery.com>
11199 Nathan Sidwell <nathan@codesourcery.com>
11200
11201 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
11202 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
11203 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
11204 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
11205 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
11206 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
11207 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
11208 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
11209 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
11210 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
11211 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
11212 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
11213 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
11214 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
11215 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
11216 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
11217 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
11218
11219 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11220
11221 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
11222 timespec struct member in syscall macro.
11223 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
11224 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
11225 first timeval struct member in syscall macro.
11226 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
11227
11228 2015-01-07 Joseph Myers <joseph@codesourcery.com>
11229
11230 [BZ #17748]
11231 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
11232 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
11233 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
11234 __feupdateenv and define as weak alias of __feupdateenv. Use
11235 libm_hidden_weak.
11236 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
11237 libm_hidden_def.
11238 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
11239 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
11240 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
11241 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
11242 libm_hidden_def.
11243 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
11244 __feupdateenv and define as weak alias of __feupdateenv. Use
11245 libm_hidden_weak.
11246 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
11247 libm_hidden_def.
11248 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
11249 __feupdateenv and define as weak alias of __feupdateenv. Use
11250 libm_hidden_weak.
11251 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
11252 libm_hidden_def.
11253 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
11254 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
11255 (__feupdateenv): Likewise.
11256 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
11257 __feupdateenv and define as weak alias of __feupdateenv. Use
11258 libm_hidden_weak.
11259 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
11260 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
11261 libm_hidden_def.
11262 * sysdeps/tile/math_private.h (__feupdateenv): New inline
11263 function.
11264 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
11265 libm_hidden_def.
11266 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
11267 __feupdateenv instead of feupdateenv.
11268 (default_libc_feupdateenv_test): Likewise.
11269 (libc_feresetround_ctx): Likewise.
11270
11271 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11272
11273 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
11274 prototype.
11275
11276 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
11277
11278 * posix/regcomp.c (parse_bracket_exp): Initialize type to
11279 COLL_SYM in a couple of places to avoid uninitialized variable
11280 wanings on tilegx gcc 4.8.2.
11281
11282 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
11283
11284 * sysdeps/aarch64/strcpy.S: New file.
11285 * sysdeps/aarch64/stpcpy.S: New file.
11286 * NEWS: Updated.
11287
11288 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
11289
11290 * sysdeps/aarch64/strrchr.S: New file.
11291 * NEWS: Updated.
11292
11293 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
11294
11295 [BZ #17658]
11296 * stdlib/setenv.c: Fix memory leak when setting large,
11297 duplicate string.
11298
11299 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
11300
11301 [BZ #17273]
11302 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
11303 and tabs from buffer before parsing fstab entry.
11304 * misc/tst-mntent.c (main): Add test for mount entry with
11305 trailing spaces and tabs.
11306
11307 2015-01-06 Joseph Myers <joseph@codesourcery.com>
11308
11309 [BZ #17748]
11310 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
11311 * math/fesetround.c (fesetround): Rename to __fesetround and
11312 define as weak alias of __fesetround. Use libm_hidden_weak.
11313 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
11314 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
11315 * sysdeps/arm/fesetround.c (fesetround): Likewise.
11316 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
11317 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
11318 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
11319 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
11320 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
11321 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
11322 __fesetround_inline.
11323 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
11324 __fesetround_inline instead of __fesetround.
11325 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
11326 __fesetround and define as weak alias of __fesetround. Use
11327 libm_hidden_weak. Call __fesetround_inline instead of
11328 __fesetround.
11329 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
11330 __fesetround and define as weak alias of __fesetround. Use
11331 libm_hidden_weak.
11332 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
11333 Likewise.
11334 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
11335 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
11336 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
11337 * sysdeps/tile/math_private.h (__fesetround): New inline function.
11338 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
11339 __fesetround and define as weak alias of __fesetround. Use
11340 libm_hidden_weak.
11341 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
11342 __fesetround instead of fesetround.
11343 (default_libc_feholdexcept_setround): Likewise.
11344 (libc_feholdsetround_ctx): Likewise.
11345 (libc_feholdsetround_noex_ctx): Likewise.
11346
11347 [BZ #17748]
11348 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
11349 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
11350 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
11351 and define as weak alias of __fesetenv. Use libm_hidden_weak.
11352 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
11353 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
11354 define as weak alias of __fesetenv. Use libm_hidden_weak.
11355 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
11356 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
11357 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
11358 define as weak alias of __fesetenv. Use libm_hidden_weak.
11359 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
11360 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
11361 define as weak alias of __fesetenv. Use libm_hidden_weak.
11362 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
11363 libm_hidden_def.
11364 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
11365 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
11366 Likewise.
11367 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
11368 define as weak alias of __fesetenv. Use libm_hidden_weak.
11369 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
11370 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
11371 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
11372 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
11373 and define as weak alias of __fesetenv. Use libm_hidden_weak.
11374 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
11375 __fesetenv instead of fesetenv.
11376 (libc_feresetround_noex_ctx): Likewise.
11377 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
11378 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
11379 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
11380 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
11381 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
11382 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
11383 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
11384 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
11385 (__feupdateenv): Likewise.
11386 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
11387 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
11388 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
11389 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
11390
11391 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
11392
11393 [BZ #17806]
11394 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
11395 addresses have been freed.
11396
11397 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
11398
11399 * resolv/res_init.c (__res_vinit): Improve comments about nserv
11400 and nservall.
11401
11402 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
11403
11404 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
11405 Clean up check_pf allocation pattern. addresses
11406
11407 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11408
11409 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
11410 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
11411 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
11412 * nptl/pthread_exit.c (__pthread_exit): Likewise.
11413 * nptl/pthread_join.c (pthread_join): Likewise.
11414 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
11415 * sysdeps/posix/waitid.c (__waitid): Likewise.
11416 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
11417 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
11418 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
11419 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
11420 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
11421 Likewise.
11422 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
11423 (__libc_pread64): Likewise.
11424 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
11425 (__libc_pwrite): Likewise.
11426 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
11427 (__libc_pwrite64): Likewsie.
11428 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
11429 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
11430 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
11431 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
11432 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
11433 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
11434 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
11435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
11436 Likewise.
11437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
11438 (__libc_pread64): Likewise.
11439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
11440 Likewise.
11441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
11442 (__libc_pwrite64): Likewise.
11443 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
11444 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
11445 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
11446 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
11447 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
11448 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
11449 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
11450 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
11451 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
11452 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
11453 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
11454 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
11455 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
11456 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
11457 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
11458 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
11459 Likewise.
11460
11461 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
11462
11463 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
11464 (CFLAGS-test-double.c): Likewise.
11465 (CFLAGS-test-ldouble.c): Likewise.
11466 (CPPFLAGS-test-ifloat.c): Likewise.
11467 (CPPFLAGS-test-idouble.c): Likewise.
11468 (CPPFLAGS-test-ildoubl.c): Likewise.
11469 (CFLAGS-test-test-fenv.c): Remove variable.
11470 (CFLAGS-test-misc.c): Likewise.
11471
11472 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
11473
11474 [BZ #17797]
11475 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
11476 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
11477 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
11478 CLOCKS_PER_SEC == 1000000.
11479 * time/clocktest.c (main): Replace %ld with %jd and cast to
11480 intmax_t.
11481
11482 2015-01-05 Roland McGrath <roland@hack.frob.com>
11483
11484 * sysdeps/generic/unwind-resume.h: New file.
11485 * sysdeps/gnu/unwind-resume.c: Include it.
11486 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
11487 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
11488 argument list.
11489 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
11490 global rather than static.
11491 (_Unwind_Resume): Update user.
11492 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
11493 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
11494 rather than static. Add __attribute__ ((cold)).
11495 (_Unwind_Resume, __gcc_personality_v0): Update callers.
11496 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
11497 * sysdeps/arm/arm-unwind-resume.S: New file.
11498 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
11499 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
11500 * sysdeps/arm/Makefile [$(subdir) = csu]
11501 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
11502 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
11503 Add rt-arm-unwind-resume.
11504 [$(subdir) = nptl]
11505 (libpthread-sysdep_routines, libpthread-shared-only-routines):
11506 Add pt-arm-unwind-resume.
11507 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
11508 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
11509
11510 2015-01-05 Joseph Myers <joseph@codesourcery.com>
11511
11512 [BZ #17748]
11513 * include/fenv.h (__feholdexcept): Declare. Use
11514 libm_hidden_proto.
11515 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
11516 define as weak alias of __feholdexcept. Use libm_hidden_weak.
11517 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
11518 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
11519 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
11520 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
11521 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
11522 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
11523 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
11524 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
11525 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
11526 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
11527 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
11528 (feholdexcept): Likewise.
11529 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
11530 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
11531 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
11532 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
11533 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
11534 __feholdexcept instead of feholdexcept.
11535 (default_libc_feholdexcept_setround): Likewise.
11536
11537 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
11538
11539 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
11540 to avoid using stl/str to align destination.
11541
11542 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
11543
11544 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
11545
11546 2015-01-05 Joseph Myers <joseph@codesourcery.com>
11547
11548 [BZ #17796]
11549 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
11550 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
11551 Define as weak alias not strong alias.
11552
11553 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
11554
11555 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
11556 bltzal with addiupc.
11557 (RTLD_START): Ditto.
11558
11559 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
11560
11561 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
11562 for __vdso_* functions in declarations.
11563 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
11564 definitions.
11565 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
11566 INTERNAL_VSYSCALL): Use struct return types to check for error.
11567
11568 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
11569 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
11570 function with cast from llround().
11571 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
11572 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
11573 Define.
11574
11575 2015-01-05 Joseph Myers <joseph@codesourcery.com>
11576
11577 [BZ #17793]
11578 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
11579 Define as weak alias not strong alias.
11580
11581 [BZ #17635]
11582 * ctype/ctype-c99.c: New file. isblank implementation moved from
11583 ...
11584 * ctype/ctype-extn.c: ... here.
11585 (__isblank_l): Move to ...
11586 * ctype/ctype-c99_l.c: ... here. New file.
11587 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
11588 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
11589 Remove variable.
11590 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
11591 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
11592 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
11593 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
11594 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
11595
11596 [BZ #17777]
11597 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
11598 (posix_fadvise64): Define as weak alias not strong alias.
11599 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
11600 (posix_fallocate64): Likewise.
11601 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
11602 Remove variable.
11603 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
11604 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
11605 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
11606 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
11607 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
11608
11609 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
11610
11611 [BZ #16191]
11612 * NEWS: Mention bug fix.
11613 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
11614 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
11615 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
11616 (HOST_STACK_END_ADDR): Likewise.
11617
11618 2015-01-02 Joseph Myers <joseph@codesourcery.com>
11619
11620 [BZ #17748]
11621 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
11622 * math/fegetround.c (fegetround): Rename to __fegetround and
11623 define as weak alias of __fegetround. Use libm_hidden_weak.
11624 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
11625 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
11626 * sysdeps/arm/fegetround.c (fegetround): Likewise.
11627 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
11628 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
11629 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
11630 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
11631 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
11632 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
11633 Undefine after rather than before function definition; use
11634 parentheses around function name in definition.
11635 (__fegetround): Also undefine macro after function definition.
11636 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
11637 __fegetround and define as weak alias of __fegetround. Use
11638 libm_hidden_weak. Do not undefine as macro.
11639 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
11640 Likewise.
11641 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
11642 __fegetround and define as weak alias of __fegetround. Use
11643 libm_hidden_weak.
11644 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
11645 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
11646 * sysdeps/tile/math_private.h (__fegetround): New inline function.
11647 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
11648 __fegetround and define as weak alias of __fegetround. Use
11649 libm_hidden_weak.
11650 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
11651 __fegetround instead of fegetround.
11652
11653 [BZ #17782]
11654 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
11655 Condition macro definition on [__USE_MISC].
11656
11657 [BZ #17781]
11658 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
11659 (struct sigaction): Change type of sa_flags field to int.
11660
11661 [BZ #17780]
11662 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
11663 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
11664 __glibc_reserved0.
11665
11666 * nptl/version.c (banner): Use single year in copyright notice.
11667
11668 * NEWS: Update copyright dates.
11669 * catgets/gencat.c (print_version): Likewise.
11670 * csu/version.c (banner): Likewise.
11671 * debug/catchsegv.sh: Likewise.
11672 * debug/pcprofiledump.c (print_version): Likewise.
11673 * debug/xtrace.sh (do_version): Likewise.
11674 * elf/ldconfig.c (print_version): Likewise.
11675 * elf/ldd.bash.in: Likewise.
11676 * elf/pldd.c (print_version): Likewise.
11677 * elf/sotruss.sh: Likewise.
11678 * elf/sprof.c (print_version): Likewise.
11679 * iconv/iconv_prog.c (print_version): Likewise.
11680 * iconv/iconvconfig.c (print_version): Likewise.
11681 * locale/programs/locale.c (print_version): Likewise.
11682 * locale/programs/localedef.c (print_version): Likewise.
11683 * login/programs/pt_chown.c (print_version): Likewise.
11684 * malloc/memusage.sh (do_version): Likewise.
11685 * malloc/memusagestat.c (print_version): Likewise.
11686 * malloc/mtrace.pl: Likewise.
11687 * manual/libc.texinfo: Likewise.
11688 * nptl/version.c (banner): Likewise.
11689 * nscd/nscd.c (print_version): Likewise.
11690 * nss/getent.c (print_version): Likewise.
11691 * nss/makedb.c (print_version): Likewise.
11692 * posix/getconf.c (main): Likewise.
11693 * scripts/test-installation.pl: Likewise.
11694 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
11695
11696 2015-01-02 Will Newton <will.newton@linaro.org>
11697
11698 * sysdeps/arm/armv7/configure: Removed.
11699 * sysdeps/arm/armv7/configure.ac: Likewise.
11700
11701 2015-01-02 Joseph Myers <joseph@codesourcery.com>
11702
11703 * All files with FSF copyright notices: Update copyright dates
11704 using scripts/update-copyrights.
11705 * intl/plural.c: Regenerated.
11706 * locale/programs/charmap-kw.h: Likewise.
11707 * locale/programs/locfile-kw.h: Likewise.
11708
11709 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11710
11711 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
11712
11713 2014-12-31 Joseph Myers <joseph@codesourcery.com>
11714
11715 [BZ #17748]
11716 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
11717 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
11718 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
11719 and define as weak alias of __fegetenv. Use libm_hidden_weak.
11720 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
11721 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
11722 define as weak alias of __fegetenv. Use libm_hidden_weak.
11723 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
11724 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
11725 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
11726 define as weak alias of __fegetenv. Use libm_hidden_weak.
11727 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
11728 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
11729 define as weak alias of __fegetenv. Use libm_hidden_weak.
11730 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
11731 libm_hidden_def.
11732 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
11733 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
11734 Likewise.
11735 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
11736 define as weak alias of __fegetenv. Use libm_hidden_weak.
11737 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
11738 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
11739 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
11740 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
11741 and define as weak alias of __fegetenv. Use libm_hidden_weak.
11742 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
11743 __fegetenv instead of fegetenv.
11744 (libc_feholdsetround_noex_ctx): Likewise.
11745
11746 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
11747
11748 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
11749 (Elf_MIPS_ABIFlags_v0): New structure.
11750 (EF_MIPS_FP64): Define.
11751 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
11752 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
11753 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
11754 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
11755 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
11756 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
11757 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
11758 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
11759 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
11760 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
11761 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
11762 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
11763 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
11764 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
11765 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
11766 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
11767 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
11768 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
11769 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
11770 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
11771 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
11772 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
11773 field.
11774 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
11775 EF_MIPS_FP64.
11776 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
11777 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
11778 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
11779 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
11780 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
11781 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
11782 * sysdeps/mips/tst-abi-interlink.c: Likewise.
11783 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
11784 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
11785 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
11786 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
11787 record the current FP ABI extension.
11788 (mips-mode-switch): Define to show if kernel headers support mode
11789 switching.
11790 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
11791 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
11792 supported SYSV ABI version to 3.
11793 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
11794 feature.
11795
11796 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11797 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11798
11799 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
11800 path.
11801 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
11802
11803 2014-12-31 Joseph Myers <joseph@codesourcery.com>
11804
11805 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
11806 __fegetround and redefine to call __fegetround. Remove condition
11807 on [!__NO_MATH_INLINES].
11808 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
11809 function.
11810 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
11811 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
11812 Remove macro.
11813 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
11814 instead of <fenv_libc.h>.
11815 (__llrintl): Call fegetround instead of __fegetround.
11816 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
11817 instead of <fenv_libc.h>.
11818 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
11819 (__lrintl): Call fegetround instead of __fegetround.
11820 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
11821 instead of <fenv_libc.h>.
11822 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
11823 (__rintl): Call fegetround instead of __fegetround.
11824
11825 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
11826
11827 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
11828 arrays.
11829
11830 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
11831
11832 [BZ #17775]
11833 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
11834 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
11835 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
11836
11837 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
11838
11839 * sysdeps/i386/tls-macros.h: Include <features.h>.
11840 (TLS_LE): Use non-PIC version for GCC >= 5.0.
11841 (TLS_IE): Likewise.
11842 (TLS_LD): Likewise.
11843 (TLS_GD): Likewise.
11844 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
11845 define for GCC >= 5.0.
11846
11847 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
11848
11849 * math/test-fenv.c (test_single_exception, set_single_exc,
11850 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
11851 feexcp_mask_test, feenable_test, fe_single_test): Add
11852 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
11853 case where they are not used.
11854 * math/libm-test.inc: Likewise.
11855 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
11856 unused in the absence of FP rounding/exception support.
11857 * stdio-common/tst-printf-round.c: Likewise.
11858 * stdlib/tst-strtod-round.c: Likewise.
11859 * stdlib/tst-strtod-underflow.c: Likewise.
11860
11861 2014-12-30 Joseph Myers <joseph@codesourcery.com>
11862
11863 [BZ #17723]
11864 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
11865 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
11866 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
11867 __feraiseexcept and define as weak alias of __feraiseexcept. Use
11868 libm_hidden_weak.
11869 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
11870 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
11871 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
11872 libm_hidden_def.
11873 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
11874 __feraiseexcept and define as weak alias of __feraiseexcept. Use
11875 libm_hidden_weak.
11876 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
11877 Likewise.
11878 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
11879 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
11880 __feraiseexcept and define as weak alias of __feraiseexcept. Use
11881 libm_hidden_weak.
11882 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
11883 libm_hidden_def.
11884 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
11885 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
11886 (__feraiseexcept): Likewise.
11887 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
11888 __feraiseexcept and define as weak alias of __feraiseexcept. Use
11889 libm_hidden_weak.
11890 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
11891 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
11892 libm_hidden_def.
11893 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
11894 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
11895 Use libm_hidden_def.
11896 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
11897 libm_hidden_def.
11898 (feraiseexcept): Define as weak not strong alias. Use
11899 libm_hidden_weak.
11900 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
11901 New inline function. Factored out of ...
11902 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
11903 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
11904 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
11905 feraiseexcept.
11906 * math/w_acos.c (__acos): Likewise.
11907 * math/w_asin.c (__asin): Likewise.
11908 * math/w_ilogb.c (__ilogb): Likewise.
11909 * math/w_j0.c (y0): Likewise.
11910 * math/w_j1.c (y1): Likewise.
11911 * math/w_jn.c (yn): Likewise.
11912 * math/w_log.c (__log): Likewise.
11913 * math/w_log10.c (__log10): Likewise.
11914 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
11915 * sysdeps/aarch64/fpu/math_private.h
11916 (libc_feupdateenv_test_aarch64): Likewise.
11917 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
11918 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
11919 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
11920 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
11921 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
11922 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
11923 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
11924 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
11925 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
11926 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
11927
11928 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
11929
11930 [BZ #17732]
11931 * io/test-utime.c (main): Replace %ld with %jd and cast to
11932 intmax_t.
11933 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
11934 * nptl/tst-mutex5.c: Include <stdint.h>.
11935 (do_test): Replace %ld with %jd and cast to intmax_t.
11936 * posix/tst-regex.c (run_test): Likewise.
11937 (run_test_backwards): Likewise.
11938 * rt/tst-clock.c: Include <stdint.h>.
11939 (clock_test): Replace %ld with %jd and cast to intmax_t.
11940 * rt/tst-cpuclock1.c: Include <stdint.h>.
11941 (do_test): Replace %lu with %ju and cast to uintmax_t.
11942 * rt/tst-cpuclock2.c: Include <stdint.h>.
11943 (do_test): Replace %lu with %ju and cast to uintmax_t.
11944 * rt/tst-mqueue1.c: Include <stdint.h>.
11945 (check_attrs): Replace %ld with %jd and cast to intmax_t.
11946 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
11947 intmax_t.
11948 * rt/tst-mqueue4.c (do_test): Likewise.
11949 * rt/tst-timer4.c: Include <stdint.h>.
11950 (check_ts): Replace %ld with %jd and cast to intmax_t.
11951 (do_test): Likewise.
11952 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
11953 and cast to intmax_t.
11954 * sysdeps/pthread/tst-timer.c (main): Likewise.
11955 * time/clocktest.c (main): Likewise.
11956 * time/tst-posixtz.c (do_test): Likewise.
11957 * timezone/tst-timezone.c (main): Likewise.
11958
11959 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
11960 H.J. Lu <hongjiu.lu@intel.com>
11961
11962 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
11963 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
11964 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
11965 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
11966 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
11967 version if bit_Fast_Unaligned_Load is set.
11968 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11969 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11970 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11971 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11972 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11973 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11974 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11975 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
11976 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
11977 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
11978 to 4.
11979 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
11980 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
11981 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
11982 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
11983
11984 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
11985
11986 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
11987 instead of #if to avoid a Wundef warning.
11988 * stdlib/tst-limits.c (do_test): Likewise.
11989
11990 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
11991 parallel other exception macros.
11992 (fegetenv): Convert from macro to extern inline so that it applies
11993 retroactively to inline functions already seen by the compiler.
11994 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
11995
11996 * posix/Makefile (before-compile): Use $(objpfx) for
11997 posix-conf-vars-def.h.
11998
11999 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12000
12001 * posix/getconf.c (main): Use size_t for type of I.
12002 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
12003 NSPEC.
12004
12005 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
12006 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
12007 * posix/posix-envs.def: Likewise.
12008 * sysdeps/posix/sysconf.c: Likewise.
12009 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
12010 (specs): Remove array.
12011 * scripts/gen-posix-conf-vars.awk: Support generation of specs
12012 array.
12013
12014 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
12015 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
12016 (__sysconf): Use CONF_IS_* macros.
12017
12018 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
12019 ($(objpfx)posix-conf-vars-def.h): New target.
12020 * posix/posix-conf-vars.list: New file.
12021 * posix/posix-conf-vars.h: New file.
12022 * posix/confstr.c: Include posix-conf-vars.h.
12023 (confstr): Use CONF_IS_* macros.
12024 * posix/posix-envs.def: Include posix-conf-vars.h. Use
12025 CONF_IS_* macros.
12026 * scripts/gen-posix-conf-vars.awk: New file.
12027
12028 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
12029
12030 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
12031 fegetround): Add no-op macros to avoid linknamespace issues.
12032
12033 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
12034 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
12035
12036 * sysdeps/unix/sysv/linux/tile/sysdep.h
12037 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
12038 assembly-specific section to avoid a redefinition warning.
12039
12040 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
12041 long before casting to pointer to avoid a cast warning.
12042
12043 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
12044
12045 * sysdeps/tile/tilegx/Implies: New file.
12046
12047 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
12048
12049 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
12050
12051 2014-12-23 Florian Weimer <fweimer@redhat.com>
12052
12053 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
12054
12055 2014-12-22 Joseph Myers <joseph@codesourcery.com>
12056
12057 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
12058 not define.
12059 * sysdeps/unix/sysv/linux/utimes.c: Do not include
12060 <kernel-features.h>.
12061 (__utimes) [__NR_utimes]: Make code unconditional.
12062 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
12063 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12064 (__ASSUME_UTIMES): Do not undefine.
12065 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12066 (__ASSUME_UTIMES): Likewise.
12067 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
12068 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
12069 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
12070 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
12071
12072 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
12073
12074 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
12075
12076 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
12077
12078 [BZ #17747]
12079 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
12080 alias to weak alias for j0l, y0l.
12081 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
12082 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
12083
12084 [BZ #17746]
12085 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
12086 conversion.
12087
12088 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
12089
12090 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
12091 to zero if not already defined.
12092
12093 2014-12-22 Joseph Myers <joseph@codesourcery.com>
12094
12095 [BZ #17724]
12096 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
12097 (__kernel_standard_f): Remove. Moved to k_standardf.c.
12098 (__kernel_standard_l): Remove. Moved to k_standardl.c with
12099 (char *) casts added.
12100 * sysdeps/ieee754/k_standardf.c: New file.
12101 * sysdeps/ieee754/k_standardl.c: Likewise.
12102 * math/Makefile (libm-support): Remove k_standard.
12103 (libm-calls): Add k_standard.
12104
12105 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
12106
12107 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
12108 Optimize to avoid an unnecessary FPCR read.
12109
12110 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
12111
12112 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
12113 Optimize to reduce FPCR/FPSR accesses.
12114
12115 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
12116
12117 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
12118 Call libc_fetestexcept_aarch64.
12119
12120 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
12121
12122 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
12123 Call libc_fesetround_aarch64.
12124
12125 2014-12-22 Joseph Myers <joseph@codesourcery.com>
12126
12127 [BZ #17733]
12128 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
12129 (__bind): Do not define as weak alias.
12130 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
12131 define.
12132 (__getsockname): Do not define as weak alias.
12133
12134 2014-12-22 Will Newton <will.newton@linaro.org>
12135
12136 * manual/install.texi: Document that we require bison 2.7
12137 or above.
12138 * INSTALL: Regenerate.
12139 * configure.ac: Use AC_CHECK_PROG_VER instead of
12140 AC_PATH_PROG when checking for bison and check for
12141 version 2.7 or above.
12142 * configure: Regenerate.
12143
12144 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
12145
12146 [BZ #17745]
12147 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
12148 * sysdeps/tile/ffsll.c (ffsll): To here.
12149
12150 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
12151
12152 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
12153
12154 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
12155 if not defined.
12156 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
12157 definition.
12158 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
12159 hidden ___tls_get_addr.
12160 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
12161 hidden __tls_get_addr.
12162 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
12163 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
12164 Likewise.
12165
12166 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
12167
12168 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
12169 _dl_init call.
12170
12171 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
12172
12173 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
12174 from "call _dl_init@PLT".
12175 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
12176
12177 2014-12-21 Anders Kaseorg <andersk@mit.edu>
12178
12179 * manual/search.texi: (Array Sort Function): Clarify stable sorting
12180 guarantees.
12181
12182 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
12183
12184 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
12185
12186 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
12187
12188 [BZ #17744]
12189 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
12190 strnlen.
12191
12192 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
12193
12194 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
12195 of multu on MIPSr6.
12196 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
12197 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
12198 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
12199 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
12200 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
12201
12202 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
12203
12204 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
12205 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
12206 (PTR_SUBU): Use subu for mips32r6/mips64r6.
12207 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
12208 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
12209 mips32r6/mips64r6.
12210 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
12211
12212 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
12213
12214 * string/strncat.c (STRNCAT): Simplify implementation.
12215
12216 2014-12-19 David S. Miller <davem@davemloft.net>
12217
12218 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
12219 access the quad as both a long double and as a series of 4 words.
12220
12221 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
12222 link_map->l_info array access.
12223
12224 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
12225
12226 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
12227
12228 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
12229 * math/atest-exp2.c (TIMEOUT): Likewise.
12230 * math/atest-sincos.c (TIMEOUT): Likewise.
12231
12232 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
12233
12234 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
12235 -Wno-error with -fno-builtin-lround.
12236
12237 2014-12-19 Torvald Riegel <triegel@redhat.com>
12238
12239 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
12240 Contains futex constants and functions moved over from ...
12241 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
12242 <lowlevellock-futex.h>.
12243 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
12244 (lll_timedwait_tid): Add comments and parentheses around macro
12245 arguments.
12246
12247 2014-12-19 Torvald Riegel <triegel@redhat.com>
12248
12249 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
12250 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
12251 (__lll_private_flag): Remove.
12252 (lll_futex_wait): Likewise.
12253 (lll_futex_timed_wait): Likewise.
12254 (lll_futex_wake): Likewise.
12255 (lll_futex_requeue): Likewise.
12256 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
12257 (__lll_timedwait_tid): Spell out argument names.
12258 (lll_timedwait_tid): Add comments and parentheses around macro
12259 arguments.
12260 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
12261 LLL_SHARED and LLL_PRIVATE usable from assembly code.
12262
12263 2014-12-19 Torvald Riegel <triegel@redhat.com>
12264
12265 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
12266 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
12267 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
12268 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
12269 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
12270 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
12271 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
12272 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
12273 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
12274 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
12275 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
12276 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
12277 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
12278 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
12279 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
12280 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
12281 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
12282 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
12283 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
12284
12285 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
12286
12287 * sysdeps/x86_64/x32/Makefile: New file.
12288
12289 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
12290
12291 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
12292 1L with (mp_limb_t) 1.
12293
12294 2014-12-17 Roland McGrath <roland@hack.frob.com>
12295
12296 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
12297 * nptl/libc_pthread_init.c: ... here.
12298 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
12299 * nptl/register-atfork.c: ... here.
12300
12301 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
12302 Use pthread_sigmask rather than INTERNAL_SYSCALL.
12303 Use assert_perror to check its return value.
12304 (__gai_create_helper_thread): Likewise.
12305
12306 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
12307
12308 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
12309
12310 2014-12-17 Joseph Myers <joseph@codesourcery.com>
12311
12312 [BZ #17725]
12313 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
12314 __profil_counter.
12315 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
12316 Likewise.
12317 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
12318 Likewise.
12319 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
12320 Likewise.
12321 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
12322 (profil_counter): Likewise.
12323 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
12324 (profil_counter): Likewise.
12325 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
12326 Likewise.
12327 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
12328 Likewise.
12329 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
12330 (profil_counter): Likewise.
12331 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
12332 Likewise.
12333 [!__profil_counter] (profil_counter): Define as weak alias of
12334 __profil_counter.
12335 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
12336 (profil_counter): Rename to __profil_counter.
12337 [!__profil_counter] (profil_counter): Define as weak alias of
12338 __profil_counter.
12339 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
12340 (profil_counter): Rename to __profil_counter.
12341 [!__profil_counter] (profil_counter): Define as weak alias of
12342 __profil_counter.
12343 * sysdeps/posix/profil.c: Update comment referring to
12344 profil_counter.
12345 (__profil): Use __profil_counter instead of profil_counter.
12346 * sysdeps/posix/sprofil.c (profil_counter): Rename to
12347 __profil_counter. Use __profil_counter_ushort and
12348 __profil_counter_uint in definitions.
12349 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
12350 instead of profil_counter_uint and profil_counter_ushort.
12351
12352 [BZ #17722]
12353 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
12354 define as weak alias of __inet_makeaddr.
12355 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
12356 as weak alias of __inet_addr.
12357 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
12358 as weak alias of __inet_pton. Use libc_hidden_weak.
12359 * include/arpa/inet.h (__inet_pton): Declare. Use
12360 libc_hidden_proto.
12361 (inet_makeaddr): Don't use libc_hidden_proto.
12362 (__inet_makeaddr): Declare. Use libc_hidden_proto.
12363 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
12364 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
12365 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
12366 Remove variable.
12367 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
12368 (test-xfail-POSIX/time.h/linknamespace): Likewise.
12369
12370 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
12371
12372 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
12373
12374 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
12375
12376 * stdio-common/bug-vfprintf-nargs.c (do_test):
12377 Cast value to intptr_t to avoid format warning
12378 for usage with PRIdPTR printing macro.
12379
12380 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
12381
12382 * libio/tst-widetext.c (do_test):
12383 Use format type %td instead of %Zd for ptrdiff_t
12384 in order to avoid format warning.
12385
12386 2014-12-17 Andreas Schwab <schwab@suse.de>
12387
12388 * nscd/mem.c (gc): Add size_t cast to match printf format.
12389
12390 2014-12-16 Roland McGrath <roland@hack.frob.com>
12391
12392 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
12393 (init): Apply PTR_MANGLE to pointers before storing them.
12394 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
12395 before using them.
12396
12397 2014-12-16 Joseph Myers <joseph@codesourcery.com>
12398
12399 [BZ #17719]
12400 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
12401 define as weak alias of __memrchr.
12402 (__memrchr): Do not define as strong alias of memrchr.
12403 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
12404 Remove variable.
12405 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
12406 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
12407 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
12408
12409 [BZ #17717]
12410 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
12411 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
12412 (if_indextoname): Rename to __if_indextoname and define as weak
12413 alias of __if_indextoname. Use libc_hidden_weak.
12414 (if_freenameindex): Rename to __if_freenameindex and define as
12415 weak alias of __if_freenameindex.
12416 (if_nameindex): Rename to __if_nameindex and define as weak alias
12417 of __if_nameindex.
12418 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
12419 __if_nametoindex and define as weak alias of __if_nametoindex.
12420 Use libc_hidden_weak.
12421 (if_freenameindex): Rename to __if_freenameindex and define as
12422 weak alias of __if_freenameindex.
12423 (if_nameindex): Rename to __if_nameindex and define as weak alias
12424 of __if_nameindex.
12425 (if_indextoname): Rename to __if_indextoname and define as weak
12426 alias of __if_indextoname. Use libc_hidden_weak.
12427 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
12428 __if_nametoindex and define as weak alias of __if_nametoindex.
12429 Use libc_hidden_weak.
12430 (if_freenameindex): Rename to __if_freenameindex and define as
12431 weak alias of __if_freenameindex. Use libc_hidden_weak.
12432 (if_nameindex_netlink): Use __if_freenameindex instead of
12433 if_freenameindex.
12434 (if_nameindex): Rename to __if_nameindex and define as weak alias
12435 of __if_nameindex. Use libc_hidden_weak.
12436 (if_indextoname): Rename to __if_indextoname and define as weak
12437 alias of __if_indextoname. Use libc_hidden_weak.
12438 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
12439 libc_hidden_proto.
12440 [!_ISOMAC] (__if_freenameindex): Likewise.
12441 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
12442 if_nametoindex.
12443 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
12444 variable.
12445 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
12446 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
12447 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
12448 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
12449 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
12450 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
12451 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
12452
12453 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
12454 Remove variable.
12455 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
12456 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
12457
12458 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12459
12460 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
12461 subscript above bounds'
12462
12463 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
12464 bounds.
12465
12466 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
12467
12468 * libio/tst-fopenloc.c: Use test-skeleton.c.
12469
12470 * stdlib/tst-bsearch.c: Use test-skeleton.c.
12471 (entry): Rename to ITEM.
12472 (do_test, comp): Adjust.
12473
12474 * stdio-common/tst-fseek.c: Use test-skeleton.c.
12475
12476 2014-12-16 Torvald Riegel <triegel@redhat.com>
12477
12478 * string/tester.c: Include <libc-internal.h>.
12479 (test_memset): Ignore -Wmemset-transposed-args.
12480
12481 2014-12-16 Torvald Riegel <triegel@redhat.com>
12482
12483 * misc/tst-mntent2.c (do_test): Fix warning.
12484
12485 2014-12-16 Torvald Riegel <triegel@redhat.com>
12486
12487 * elf/tst-unique4lib.cc(a): Mark as used.
12488
12489 2014-12-16 Florian Weimer <fweimer@redhat.com>
12490
12491 [BZ #17630]
12492 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
12493 names.
12494
12495 2014-12-16 Allan McRae <allan@archlinux.org>
12496
12497 * stdio-common/Makefile (tests): Re-add bug26.
12498
12499 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
12500
12501 [BZ #17657]
12502 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
12503 static array.
12504
12505 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
12506
12507 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
12508 (__lll_lock_wait): Likewise.
12509 (__lll_timedlock_wait): Likewise.
12510 (__lll_timedwait_tid): Likewise.
12511 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
12512 (__lll_robust_timedlock_wait): Likewise.
12513 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
12514 (lll_cond_trylock): Likewise.
12515 (__lll_lock): Likewise.
12516 (__lll_robust_lock): Likewise.
12517 (__lll_cond_lock): Likewise.
12518 (lll_robust_cond_lock): Likewise.
12519 (__lll_timedlock): Likewise.
12520 (__lll_robust_timedlock): Likewise.
12521 (__lll_unlock): Likewise.
12522 (__lll_robust_unlock): Likewise.
12523 (lll_wait_tid): Likewise.
12524 (lll_timedwait_tid): Likewise.
12525
12526 2014-12-15 Torvald Riegel <triegel@redhat.com>
12527
12528 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
12529
12530 2014-12-15 Torvald Riegel <triegel@redhat.com>
12531
12532 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
12533
12534 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
12535
12536 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
12537 * stdio-common/tst-sprintf.c: Likewise.
12538
12539 2014-12-15 Torvald Riegel <triegel@redhat.com>
12540
12541 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
12542
12543 2014-12-15 Jeff Law <law@redhat.com>
12544
12545 [BZ #16617]
12546 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
12547 on the heap. (CVE-2012-3406)
12548 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
12549 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
12550 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
12551
12552 2014-12-15 Will Newton <will.newton@linaro.org>
12553
12554 * manual/install.texi: Bump required version of texinfo
12555 to 4.7 from 4.5.
12556 * INSTALL: Regenerated.
12557 * configure.ac: Check for makeinfo version 4.7 and above.
12558 * configure: Regenerated.
12559
12560 2014-12-12 Roland McGrath <roland@hack.frob.com>
12561
12562 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
12563 PREFIX, string constant to insert between directory and name.
12564 * sysdeps/posix/shm_open.c: Update caller.
12565 * sysdeps/posix/shm_unlink.c: Likewise.
12566 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
12567 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
12568 (SEM_SHM_PREFIX): New macro.
12569 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
12570 [$(have-thread-library) = no].
12571 * nptl/Makefile (libpthread-routines): Add shm-directory.
12572 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
12573 * sysdeps/nptl/shm-directory.h: New file.
12574 * sysdeps/posix/shm-directory.c
12575 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
12576 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
12577 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
12578 INTERNAL_SYSCALL.
12579 (__where_is_shmfs): Function removed.
12580 (mountpoint, defaultmount, defaultdir, __namedsem_once):
12581 Variables removed.
12582 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
12583 Use SHM_GET_NAME.
12584 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
12585
12586 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
12587 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
12588 unconditional for use inside libpthread.
12589 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
12590
12591 2014-12-12 Roland McGrath <roland@hack.frob.com>
12592
12593 * nptl/pthread_getaffinity.c: New file.
12594 * nptl/pthread_setaffinity.c: New file.
12595 * nptl/pthread_getname.c: New file.
12596 * nptl/pthread_setname.c: New file.
12597
12598 * nptl/pthread_create.c (START_THREAD_DEFN)
12599 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
12600
12601 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
12602 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12603
12604 * resolv/res_send.c (send_vc): Disable warning resplen may
12605 be used uninitialized.
12606
12607 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
12608
12609 * nptl/tst-mutex6.c
12610 (ATTR_NULL): New define checks ATTR against NULL.
12611 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
12612 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
12613
12614 2014-12-11 James Lemke <jwlemke@codesourcery.com>
12615
12616 [BZ #17581]
12617 * malloc/hooks.c
12618 (mem2mem_check): Revert my previous change.
12619 (malloc_check_get_size): Revert my previous change.
12620 (mem2chunk_check): Revert my previous change.
12621
12622 2014-12-11 Roland McGrath <roland@hack.frob.com>
12623
12624 * sysdeps/posix/shm-directory.c: New file.
12625 * sysdeps/posix/shm-directory.h: New file.
12626 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
12627 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
12628 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
12629 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
12630 Transmute EPERM to EACCES.
12631 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
12632 from ...
12633 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
12634 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
12635
12636 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12637
12638 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
12639 pointer and cast to uintptr_t.
12640 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
12641 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
12642 Add cast to avoid warning.
12643 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
12644
12645 2014-12-11 Joseph Myers <joseph@codesourcery.com>
12646
12647 * nptl/semaphore.h: Move to ...
12648 * sysdeps/pthread/semaphore.h: ... here.
12649 * Makefile (installed-headers): Change nptl/semaphore.h to
12650 sysdeps/pthread/semaphore.h.
12651
12652 2014-12-11 Roland McGrath <roland@hack.frob.com>
12653
12654 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
12655 generated error format strings.
12656
12657 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
12658 -Wformat-extra-args warnings for scanf formats.
12659 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
12660 test of zero-length format (duh).
12661 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
12662 corner-case scanf format test.
12663 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
12664 generated fprintf format string.
12665 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
12666 corner-case sprintf format tests.
12667 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
12668 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
12669 -Wformat-extra-args warnings throughout.
12670 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
12671 (CFLAGS-scanf4.c): Likewise.
12672 (CFLAGS-scanf7.c): Likewise.
12673 (CFLAGS-tst-sprintf.c): Likewise.
12674 (CFLAGS-tst-printf.c): Likewise.
12675 (CFLAGS-tst-printfsz.c): Likewise.
12676
12677 2014-12-11 Joseph Myers <joseph@codesourcery.com>
12678
12679 * include/cpio.h: New file.
12680 * include/fmtmsg.h: Likewise.
12681
12682 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
12683 corresponding format argument to size_t.
12684 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
12685 arguments.
12686 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
12687 corresponding format argument to size_t.
12688 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
12689 arguments.
12690 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
12691 corresponding format argument to size_t.
12692 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
12693 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
12694 (CFLAGS-tst-mbswcs2.c): Likewise.
12695 (CFLAGS-tst-mbswcs3.c): Likewise.
12696 (CFLAGS-tst-mbswcs4.c): Likewise.
12697 (CFLAGS-tst-mbswcs5.c): Likewise.
12698 (CFLAGS-tst-trans.c): Likewise
12699
12700 2014-12-11 Roland McGrath <roland@hack.frob.com>
12701
12702 * posix/regexbug1.c (main): Use "%s" format with regerror results,
12703 rather than assuming they won't contain any '%'s.
12704
12705 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
12706
12707 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
12708 inhibit_loop_to_libcall to avoid recursive calls.
12709 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
12710 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
12711
12712 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
12713
12714 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
12715 prototype.
12716
12717 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
12718
12719 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
12720 integer value instead of boolean.
12721
12722 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
12723
12724 * malloc/malloc.c: Fix powerof2 check.
12725
12726 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
12727
12728 * locale/programs/locfile.h (maybe_swap_uint32):
12729 Remove inline and add unused attribute.
12730
12731 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
12732
12733 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
12734 Truncating assembler expression to a .long expression.
12735
12736 2014-12-11 Andreas Schwab <schwab@suse.de>
12737
12738 * elf/rtld.c (struct map_args): Constify str member.
12739 (do_preload): Constify fname argument.
12740
12741 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12742
12743 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
12744 constants definition.
12745
12746 2014-12-11 Andreas Schwab <schwab@suse.de>
12747
12748 [BZ #16657]
12749 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
12750 FORCE_ELISION instead of DO_ELISION.
12751 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
12752 Remove.
12753 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
12754 Likewise.
12755
12756 * iconvdata/gconv-modules: Remove duplicate entry.
12757
12758 2014-12-11 Will Newton <will.newton@linaro.org>
12759
12760 Merge gettext 0.19.3 into intl/.
12761
12762 This involves a number of cosmetic changes to comments
12763 and ANSI function definitions and prototypes throughout
12764 all the files. The gettext copyright header is used but
12765 with the date ranges taken from the glibc copy.
12766
12767 * NEWS: Add gettext merge to 2.21.
12768 * intl/bindtextdom.c: Switch to gettext copyright.
12769 Use ANSI definitions and prototypes.
12770 Use gl_* locking primitives rather than __libc_* ones.
12771 Use __builtin_expect rather than __glibc_likely/unlikely.
12772 * intl/dcgettext.c: Switch to gettext copyright.
12773 Use ANSI definitions and prototypes.
12774 * intl/dcigettext.c: Switch to gettext copyright.
12775 Use ANSI definitions and prototypes.
12776 (INTDIV0_RAISES_SIGFPE): New define.
12777 Use gl_* locking primitives rather than __libc_* ones.
12778 Include eval-plural.h instead of plural-eval.c.
12779 Use __builtin_expect rather than __glibc_likely/unlikely.
12780 * intl/dcngettext.c: Switch to gettext copyright.
12781 Use ANSI definitions and prototypes.
12782 * intl/dgettext.c: Likewise.
12783 * intl/dngettext.c: Likewise.
12784 * intl/plural-eval.c: Renamed to...
12785 * intl/eval-plural.h: ...this.
12786 * intl/explodename.c: Switch to gettext copyright.
12787 Use ANSI definitions and prototypes.
12788 (_nl_explode_name): Use strchr instead of __rawmemchr.
12789 * intl/finddomain.c: Switch to gettext copyright.
12790 Use ANSI definitions and prototypes.
12791 Use gl_* locking primitives rather than __libc_* ones.
12792 (_nl_find_domain): Use malloc rather than alloca for
12793 allocation of temporary locale name.
12794 * intl/gettext.c: Switch to gettext copyright.
12795 Use ANSI definitions and prototypes.
12796 * intl/gettextP.h: Switch to gettext copyright.
12797 Use ANSI definitions and prototypes.
12798 Use gl_* locking primitives rather than __libc_* ones.
12799 * intl/gmo.h: Switch to gettext copyright.
12800 (struct sysdep_string): Move struct segment_pair outside of
12801 struct definition.
12802 * intl/hash-string.c: Use ANSI definitions and prototypes.
12803 * intl/hash-string.h: Switch to gettext copyright.
12804 Use ANSI definitions and prototypes.
12805 * intl/l10nflist.c: Switch to gettext copyright.
12806 Use ANSI definitions and prototypes.
12807 (_nl_normalize_codeset): Avoid integer overflow.
12808 * intl/loadinfo.h: Switch to gettext copyright.
12809 Use ANSI definitions and prototypes.
12810 (LIBINTL_DLL_EXPORTED): New define.
12811 (PATH_SEPARATOR): New define.
12812 * intl/loadmsgcat.c: Switch to gettext copyright.
12813 * intl/localealias.c: Switch to gettext copyright.
12814 Use ANSI definitions and prototypes.
12815 (_nl_expand_alias): Use PATH_SEPARATOR.
12816 * intl/ngettext.c: Switch to gettext copyright.
12817 Use ANSI definitions and prototypes.
12818 * intl/plural-exp.c: Likewise.
12819 * intl/plural-exp.h: Switch to gettext copyright.
12820 Use ANSI definitions and prototypes.
12821 (struct expression): Move definition of enum operator outside
12822 of struct definition.
12823 * intl/plural.c: Regenerate.
12824 * intl/plural.y: Switch to gettext copyright.
12825 Use ANSI definitions and prototypes.
12826 Port to bison 3.0.
12827 * intl/textdomain.c: Switch to gettext copyright.
12828 Use ANSI definitions and prototypes.
12829 Use gl_* locking primitives rather than __libc_* ones.
12830
12831 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
12832
12833 * debug/warning-nop.c: Add used atrribute.
12834
12835 2014-12-10 Joseph Myers <joseph@codesourcery.com>
12836
12837 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
12838
12839 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
12840 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
12841 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
12842
12843 2014-12-10 Joseph Myers <joseph@codesourcery.com>
12844 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12845
12846 [BZ #17634]
12847 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
12848 Undefine after defining function. Define as weak alias of
12849 __wcschr. Use libc_hidden_weak.
12850 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
12851 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
12852 (libc_hidden_def): Also define __GI___wcschr alias.
12853 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
12854 __wcschr and define as weak alias of __wcschr.
12855 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
12856 __wcschr.
12857 [!WCSCHR] (DEFAULT_WCSCHR): Define.
12858 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
12859 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
12860 libc_hidden_weak. Do not use libc_hidden_def.
12861 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
12862 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
12863 __GI___wcschr alias.
12864 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
12865 [IS_IN (libc)] (wcschr): Define as macro expanding to
12866 __redirect_wcschr.
12867 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
12868 [IS_IN (libc)] (__wcschr_power6): Likewise.
12869 [IS_IN (libc)] (__wcschr_power7): Likewise.
12870 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
12871 instead of wcschr.
12872 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
12873 __libc_wcschr.
12874 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
12875 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
12876 __wcschr and define as weak alias of __wcschr. Use
12877 libc_hidden_builtin_def.
12878 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
12879 as weak alias of __wcschr. Use libc_hidden_weak.
12880 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
12881 wcschr.
12882 * time/era.c (_nl_init_era_entries): Likewise.
12883 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
12884 variable.
12885 (test-xfail-XPG3/time.h/linknamespace): Likewise.
12886 (test-xfail-XPG4/time.h/linknamespace): Likewise.
12887
12888 2014-12-10 Joseph Myers <joseph@codesourcery.com>
12889
12890 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
12891 format for long int variable.
12892
12893 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
12894
12895 [BZ #10672]
12896 * manual/search.texi: (Array Sort Function): Remove claim how to make
12897 qsort stable.
12898
12899 2014-12-10 Andreas Schwab <schwab@suse.de>
12900
12901 [BZ #12847]
12902 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
12903 user-controlled locks.
12904
12905 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
12906
12907 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
12908 register.
12909
12910 2014-12-10 Joseph Myers <joseph@codesourcery.com>
12911
12912 * configure.ac (--disable-werror): New configure option.
12913 (enable_werror): New AC_SUBST.
12914 * configure: Regenerated.
12915 * config.make.in (enable-werror): New variable.
12916 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
12917 -Wno-error=undef.
12918 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
12919 * manual/install.texi (Configuring and compiling): Document
12920 --disable-werror.
12921 * INSTALL: Regenerated.
12922 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
12923 (CFLAGS-tst-chk2.c): Likewise.
12924 (CFLAGS-tst-chk3.c): Likewise.
12925 (CFLAGS-tst-chk4.cc): Likewise.
12926 (CFLAGS-tst-chk5.cc): Likewise.
12927 (CFLAGS-tst-chk6.cc): Likewise.
12928 (CFLAGS-tst-lfschk1.c): Likewise.
12929 (CFLAGS-tst-lfschk2.c): Likewise.
12930 (CFLAGS-tst-lfschk3.c): Likewise.
12931 (CFLAGS-tst-lfschk4.cc): Likewise.
12932 (CFLAGS-tst-lfschk5.cc): Likewise.
12933 (CFLAGS-tst-lfschk6.cc): Likewise.
12934
12935 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
12936 (main): Disable -Wdeprecated-declarations around calls to
12937 register_printf_function.
12938
12939 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
12940 (do_test): Disable -Wdiv-by-zero around some calls to
12941 fwrite_unlocked and fread_unlocked.
12942
12943 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
12944 (DIAG_POP_NEEDS_COMMENT): Likewise.
12945 (_DIAG_STR1): Likewise.
12946 (_DIAG_STR): Likewise.
12947 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
12948 * stdio-common/bug21.c: Include <libc-internal.h>.
12949 (do_test): Disable -Wformat around call to sscanf.
12950 * stdio-common/scanf14.c: Include <libc-internal.h>.
12951 (main): Disable -Wformat around some calls to scanf functions.
12952
12953 2014-12-09 Torvald Riegel <triegel@redhat.com>
12954
12955 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
12956
12957 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12958
12959 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
12960 stack variable alignment.
12961
12962 2014-12-06 Joseph Myers <joseph@codesourcery.com>
12963
12964 [BZ #17682]
12965 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
12966 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
12967 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
12968 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
12969 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
12970 __getrlimit instead of getrlimit.
12971 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
12972 __gettimeofday instead of gettimeofday.
12973 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
12974 Likewise.
12975 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
12976 Likewise.
12977 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
12978 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
12979 Remove variable.
12980 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
12981 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
12982
12983 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12984
12985 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
12986 for wide-character tests.
12987
12988 2014-12-04 Roland McGrath <roland@hack.frob.com>
12989
12990 * io/openat64.c: #include <libc-internal.h>
12991 (__openat64): Prototypify. Use ignore_value on MODE.
12992 * io/openat.c: Likewise.
12993 * misc/reboot.c: #include <libc-internal.h>
12994 (reboot): Prototypify. Use ignore_value on HOWTO.
12995 * misc/ptrace.c: #include <libc-internal.h>
12996 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
12997
12998 2014-12-04 Joseph Myers <joseph@codesourcery.com>
12999
13000 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
13001 XPG4, UNIX98 and XOPEN2K.
13002 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
13003 Remove variable.
13004 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
13005
13006 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13007
13008 * libio/fileops.c: Use ISO C style for function definitions.
13009 * libio/iofopen.c: Likewise.
13010 * libio/wfileops.c: Likewise.
13011
13012 [BZ #17653]
13013 * libio/fileops.c (_IO_new_file_underflow): Unset cached
13014 offset on EOF.
13015 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
13016 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
13017 (fgets_func): Function pointer to fgets and fgetws.
13018 (do_ftell_test): Add test to verify ftell value after read
13019 EOF.
13020 (do_test): Set fgets_func.
13021
13022 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
13023 O_TRUNC flag for w and w+ modes.
13024 (do_rewind_test): Likewise.
13025 (do_ftell_test): Likewise.
13026 (do_write_test): Likewise.
13027
13028 [BZ #17647]
13029 * libio/fileops.c (do_ftell): Seek only when there are
13030 unflushed writes.
13031 * libio/wfileops.c (do_ftell_wide): Likewise.
13032 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
13033 test case.
13034 (do_one_test): Call it.
13035
13036 2014-12-03 Joseph Myers <joseph@codesourcery.com>
13037
13038 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
13039 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
13040 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
13041 Remove variable.
13042 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
13043 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
13044 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
13045
13046 2014-12-02 Joseph Myers <joseph@codesourcery.com>
13047
13048 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
13049 Remove variable.
13050 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
13051
13052 [BZ #17668]
13053 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
13054 as weak alias of __getifaddrs. Use libc_hidden_weak.
13055 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
13056 __freeifaddrs. Use libc_hidden_weak.
13057 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
13058 define as weak alias of __getifaddrs. Use libc_hidden_weak.
13059 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
13060 __freeifaddrs. Use libc_hidden_weak.
13061 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
13062 __getifaddrs and define as weak alias of __getifaddrs. Use
13063 libc_hidden_weak.
13064 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
13065 __freeifaddrs. Use libc_hidden_weak.
13066 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
13067 Remove variable.
13068 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
13069 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
13070
13071 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
13072
13073 [BZ #17601]
13074 * sysdeps/mips/start.S (__start): Use indirect jump to call
13075 __libc_start_main.
13076
13077 2014-12-02 Joseph Myers <joseph@codesourcery.com>
13078
13079 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
13080
13081 * nptl/tst-mutex1.c: Include <stdbool.h>.
13082 [!ATTR] (ATTR_NULL): New macro.
13083 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
13084 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
13085 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
13086
13087 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
13088 to char *.
13089
13090 [BZ #17665]
13091 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
13092 Change conditional to [__USE_MISC].
13093
13094 [BZ #17664]
13095 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
13096 fgets_unlocked.
13097 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
13098 __fgets_unlocked.
13099 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
13100 fgets_unlocked.
13101 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
13102 Remove variable.
13103 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
13104 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
13105 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
13106 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
13107 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
13108 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
13109 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
13110 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
13111 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
13112
13113 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
13114
13115 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13116
13117 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
13118 Remove strpbrk objects.
13119 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13120 (__libc_ifunc_impl_list): Remove strpbrk implementation.
13121 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
13122 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
13123 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
13124 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
13125
13126 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
13127 Remove strcspn objects.
13128 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13129 (__libc_ifunc_impl_list): Remove strcspn implementation.
13130 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
13131 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
13132 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
13133 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
13134
13135 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
13136 Remove strspn objetcs.
13137 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13138 (__libc_ifunc_impl_list): Remove strspn implementation.
13139 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
13140 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
13141 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
13142 * sysdeps/powerpc/powerpc64/strspn.S: New file.
13143
13144 2014-12-01 James Lemke <jwlemke@codesourcery.com>
13145
13146 [BZ #17581]
13147 * malloc/hooks.c
13148 (mem2mem_check): Add a terminator to the chain of checking blocks.
13149 (malloc_check_get_size): Use it here.
13150 (mem2chunk_check): Ditto.
13151
13152 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13153
13154 * sysdeps/powerpc/powerpc64/strtok.S: New file.
13155 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
13156
13157 2014-11-29 Carlos O'Donell <carlos@redhat.com>
13158
13159 * bits/ioctl-types.h: Indent preprocessor directives correctly.
13160
13161 * nptl/nptl-init.c: Include libc-internal.h.
13162 (__pthread_initialize_minimal_internal): Use ROUND_UP.
13163
13164 * elf/ldconfig.c (search_dir): Expand comment.
13165
13166 2014-11-29 Joseph Myers <joseph@codesourcery.com>
13167
13168 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
13169 variable.
13170 (linknamespace-symlist-stdlibs-tests): Likewise.
13171 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
13172 instead of $(objpfx)symlist-stdlibs.
13173 (linknamespace-libs-isoc): New variable.
13174 (linknamespace-libs): Use $(linknamespace-libs-isoc).
13175 (linknamespace-libs-ISO): New variable.
13176 (linknamespace-libs-ISO99): Likewise.
13177 (linknamespace-libs-ISO11): Likewise.
13178 (linknamespace-libs-XPG3): Likewise.
13179 (linknamespace-libs-XPG4): Likewise.
13180 (linknamespace-libs-POSIX): Likewise.
13181 (linknamespace-libs-UNIX98): Likewise.
13182 (linknamespace-libs-XOPEN2K): Likewise.
13183 (linknamespace-libs-POSIX2008): Likewise.
13184 (linknamespace-libs-XOPEN2K8): Likewise.
13185 ($(objpfx)symlist-stdlibs): Replace by
13186 $(linknamespace-symlist-stdlibs-tests). Use
13187 $(linknamespace-libs-$*) as set of libraries.
13188 ($(linknamespace-header-tests)): Update dependencies. Use
13189 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
13190 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
13191 * conform/linknamespace.pl: Remove comment about considering
13192 definitions of symbols from irrelevant libraries.
13193
13194 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
13195
13196 [BZ #13862]
13197 * elf/dl-tls.c: Include <atomic.h>.
13198 (oom): Remove #ifdef SHARED/#endif.
13199 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
13200 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
13201 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
13202 big enough.
13203 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
13204 * nptl/Makefile (tests): Add tst-stack4.
13205 (modules-names): Add tst-stack4mod.
13206 ($(objpfx)tst-stack4): New.
13207 (tst-stack4mod.sos): Likewise.
13208 ($(objpfx)tst-stack4.out): Likewise.
13209 ($(tst-stack4mod.sos)): Likewise.
13210 (clean): Likewise.
13211 * nptl/tst-stack4.c: New file.
13212 * nptl/tst-stack4mod.c: Likewise.
13213
13214 2014-11-27 J. Brown <jb999@gmx.de>
13215
13216 * sysdeps/x86/bits/string.h: Add recent CPUs.
13217
13218 2014-11-27 Joseph Myers <joseph@codesourcery.com>
13219
13220 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
13221 sigblock.
13222
13223 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
13224 feof.
13225
13226 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
13227 variable.
13228
13229 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
13230
13231 * nscd/connections.c: Include libc-internal.h because of macro
13232 usage ignore_value.
13233
13234 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13235
13236 * string/bits/string3.h (__warn_memset_zero_len): Don't
13237 declare for gcc newer than 5.0.
13238 (memset): Don't test for zero-length __LEN for gcc newer than
13239 5.0.
13240
13241 2014-11-27 Joseph Myers <joseph@codesourcery.com>
13242
13243 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
13244 size_t for %zu format.
13245
13246 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
13247 difference, not %ju.
13248
13249 2014-11-26 Joseph Myers <joseph@codesourcery.com>
13250
13251 * include/libc-internal.h (ignore_value): New macro.
13252 * nscd/connections.c (restart): Wrap calls to setuid and setgid
13253 with ignore_value.
13254
13255 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
13256 definition.
13257
13258 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
13259 pthread_cleanup_push to void *.
13260
13261 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
13262 Undefine.
13263
13264 [BZ #16619]
13265 [BZ #16740]
13266 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
13267 instead of 1L << 52.
13268
13269 * libio/bug-rewind.c (do_test): Check fwscanf return values.
13270 * libio/bug-rewind2.c (do_test): Likewise.
13271
13272 * debug/test-stpcpy_chk-ifunc.c: Remove file.
13273 * debug/test-strcpy_chk-ifunc.c: Likewise.
13274 * wcsmbs/test-wcschr-ifunc.c: Likewise.
13275 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
13276 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
13277 * wcsmbs/test-wcslen-ifunc.c: Likewise.
13278 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
13279 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
13280 * Rules [$(multi-arch) = no] (tests): Do not filter out
13281 $(tests-ifunc).
13282 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
13283 * debug/Makefile (tests-ifunc): Remove variable.
13284 (tests): Do not add $(tests-ifunc).
13285 * wcsmbs/Makefile (tests-ifunc): Remove variable.
13286 (tests): Do not add $(tests-ifunc).
13287 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
13288 [TEST_IFUNC]: Remove conditionals.
13289 * string/test-string.h (TEST_IFUNC): Remove macro.
13290 [TEST_IFUNC]: Remove conditionals.
13291
13292 * string/test-strchr.c [!WIDE] (L): New macro.
13293 [WIDE] (L): Likewise.
13294 (check1): Use CHAR instead of char. Use L on string and character
13295 constants.
13296
13297 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
13298
13299 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
13300 tests.
13301 * sysdeps/powerpc/bits/atomic.h
13302 (__arch_atomic_exchange_and_add_32_acq): Add definition.
13303 (__arch_atomic_exchange_and_add_32_rel): Likewise.
13304 (atomic_exchange_and_add_acq): Likewise.
13305 (atomic_exchange_and_add_rel): Likewise.
13306 * sysdeps/powerpc/powerpc32/bits/atomic.h
13307 (__arch_atomic_exchange_and_add_64_acq): Add definition.
13308 (__arch_atomic_exchange_and_add_64_rel): Likewise.
13309 * sysdeps/powerpc/powerpc64/bits/atomic.h
13310 (__arch_atomic_exchange_and_add_64_acq): Add definition.
13311 (__arch_atomic_exchange_and_add_64_rel): Likewise.
13312
13313 2014-11-26 Torvald Riegel <triegel@redhat.com>
13314
13315 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
13316 Change synchronization of __sched_fifo_min_prio and
13317 __sched_fifo_max_prio.
13318 * nptl/pthread_mutexattr_getprioceiling.c
13319 (pthread_mutexattr_getprioceiling): Likewise.
13320 * nptl/pthread_mutexattr_setprioceiling.c
13321 (pthread_mutexattr_setprioceiling): Likewise.
13322 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
13323 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
13324 Likewise.
13325
13326 2014-11-26 Joseph Myers <joseph@codesourcery.com>
13327
13328 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
13329 void.
13330
13331 2014-11-25 Joseph Myers <joseph@codesourcery.com>
13332
13333 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
13334 third argument const.
13335
13336 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
13337
13338 fnmatch: work around GCC compiler warning bug with uninit var
13339 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
13340 This works around a bug with x86-64 GCC 4.9.2 and earlier
13341 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
13342 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
13343 used uninitialized in this function [-Wmaybe-uninitialized]".
13344
13345 2014-11-25 Joseph Myers <joseph@codesourcery.com>
13346
13347 * posix/bug-regex31.c (main): Return RES not 0.
13348
13349 2014-11-25 Anton Blanchard <anton@samba.org>
13350
13351 * sysdeps/powerpc/bits/atomic.h
13352 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
13353
13354 2014-11-24 Sterling Augustine <saugustine@google.com>
13355
13356 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
13357
13358 2014-11-24 Ryan Cumming <etaoins@gmail.com>
13359
13360 [BZ #17608]
13361 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
13362
13363 2014-11-24 Joseph Myers <joseph@codesourcery.com>
13364
13365 [BZ #17633]
13366 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
13367 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
13368 variable.
13369 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
13370 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
13371
13372 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
13373
13374 * string/strncpy.c (strncpy): Improve performance by using memset.
13375
13376 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
13377
13378 * string/strcpy.c (strcpy):
13379 Improve performance by using strlen and memcpy.
13380
13381 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
13382
13383 * string/strcoll_l.c (get_next_seq): __always_inline.
13384 * string/strcoll_l.c (do_compare): __always_inline.
13385
13386 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
13387
13388 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
13389 defined.
13390 * include/mqueue.h: Likewise.
13391 * include/stdlib.h: Likewise.
13392
13393 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
13394 (get_null_defines): Adjust.
13395 * sunrpc/Makefile: Adjust comment.
13396 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
13397 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
13398 (CFLAGS-interp.c): Likewise.
13399 (CFLAGS-ldconfig.c): Likewise.
13400 (CPPFLAGS-.os): Likewise.
13401 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
13402 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
13403 * extra-modules.mk (extra-modules.mk): Likewise.
13404 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
13405 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
13406 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
13407 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
13408 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
13409 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
13410 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
13411 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
13412 * iconvdata/Makefile (CPPFLAGS): Likewise.
13413 (cpp-srcs-left): Add libof for all iconvdata routines.
13414 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
13415 * include/assert.h: Likewise.
13416 * include/ctype.h: Likewise.
13417 * include/errno.h: Likewise.
13418 * include/libc-symbols.h: Likewise.
13419 * include/math.h: Likewise.
13420 * include/netdb.h: Likewise.
13421 * include/resolv.h: Likewise.
13422 * include/stdio.h: Likewise.
13423 * include/stdlib.h: Likewise.
13424 * include/string.h: Likewise.
13425 * include/sys/stat.h: Likewise.
13426 * include/wctype.h: Likewise.
13427 * intl/l10nflist.c: Likewise.
13428 * libidn/idn-stub.c: Likewise.
13429 * libio/libioP.h: Likewise.
13430 * nptl/libc_multiple_threads.c: Likewise.
13431 * nptl/pthreadP.h: Likewise.
13432 * posix/regex_internal.h: Likewise.
13433 * resolv/res_hconf.c: Likewise.
13434 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
13435 * sysdeps/arm/memmove.S: Likewise.
13436 * sysdeps/arm/sysdep.h: Likewise.
13437 * sysdeps/generic/_itoa.h: Likewise.
13438 * sysdeps/generic/symbol-hacks.h: Likewise.
13439 * sysdeps/gnu/errlist.awk: Likewise.
13440 * sysdeps/gnu/errlist.c: Likewise.
13441 * sysdeps/i386/i586/memcpy.S: Likewise.
13442 * sysdeps/i386/i586/memset.S: Likewise.
13443 * sysdeps/i386/i686/memcpy.S: Likewise.
13444 * sysdeps/i386/i686/memmove.S: Likewise.
13445 * sysdeps/i386/i686/mempcpy.S: Likewise.
13446 * sysdeps/i386/i686/memset.S: Likewise.
13447 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
13448 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
13449 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
13450 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
13451 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
13452 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
13453 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
13454 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
13455 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
13456 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
13457 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
13458 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
13459 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
13460 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
13461 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
13462 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
13463 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
13464 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
13465 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
13466 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
13467 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
13468 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
13469 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
13470 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
13471 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
13472 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
13473 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
13474 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
13475 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
13476 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
13477 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
13478 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
13479 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
13480 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13481 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
13482 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
13483 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
13484 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
13485 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
13486 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
13487 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
13488 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
13489 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
13490 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
13491 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
13492 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
13493 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
13494 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
13495 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
13496 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
13497 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
13498 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
13499 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
13500 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
13501 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
13502 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
13503 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
13504 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
13505 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
13506 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
13507 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
13508 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
13509 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
13510 * sysdeps/nptl/bits/libc-lock.h: Likewise.
13511 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
13512 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
13513 * sysdeps/posix/closedir.c: Likewise.
13514 * sysdeps/posix/opendir.c: Likewise.
13515 * sysdeps/posix/readdir.c: Likewise.
13516 * sysdeps/posix/rewinddir.c: Likewise.
13517 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
13518 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
13519 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
13520 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
13521 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
13522 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
13523 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
13524 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
13525 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
13526 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
13527 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
13528 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
13529 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
13530 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
13531 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
13532 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
13533 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
13534 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
13535 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
13536 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
13537 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
13538 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
13539 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
13540 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
13541 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
13542 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
13543 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
13544 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
13545 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
13546 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
13547 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
13548 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
13549 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
13550 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
13551 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
13552 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
13553 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
13554 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
13555 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
13556 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
13557 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
13558 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
13559 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
13560 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
13561 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
13562 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
13563 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
13564 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
13565 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
13566 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
13567 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
13568 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
13569 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
13570 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
13571 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
13572 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
13573 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
13574 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
13575 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
13576 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
13577 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
13578 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
13579 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
13580 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
13581 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
13582 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
13583 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
13584 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
13585 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
13586 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
13587 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
13588 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
13589 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
13590 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
13591 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
13592 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
13593 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
13594 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
13595 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
13596 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
13597 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
13598 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
13599 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
13600 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
13601 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
13602 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
13603 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
13604 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
13605 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
13606 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
13607 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
13608 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
13609 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
13610 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
13611 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
13612 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
13613 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
13614 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
13615 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
13616 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
13617 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13618 * sysdeps/unix/alpha/sysdep.S: Likewise.
13619 * sysdeps/unix/alpha/sysdep.h: Likewise.
13620 * sysdeps/unix/make-syscalls.sh: Likewise.
13621 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
13622 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
13623 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
13624 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
13625 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
13626 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
13627 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
13628 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
13629 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
13630 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
13631 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
13632 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
13633 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
13634 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
13635 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
13636 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
13637 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
13638 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
13639 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
13640 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
13641 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
13642 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
13643 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
13644 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
13645 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
13646 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
13647 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
13648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
13649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
13650 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
13651 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
13652 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
13653 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
13654 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13655 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
13656 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
13657 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
13658 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13659 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
13660 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
13661 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
13662 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
13663 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
13664 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
13665 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
13666 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
13667 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
13668 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
13669 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
13670 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13671 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
13672 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
13673 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
13674 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
13675 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
13676 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
13677 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
13678 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13679 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
13680 * sysdeps/x86_64/memcpy.S: Likewise.
13681 * sysdeps/x86_64/memmove.c: Likewise.
13682 * sysdeps/x86_64/memset.S: Likewise.
13683 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
13684 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
13685 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
13686 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
13687 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
13688 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
13689 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
13690 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
13691 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
13692 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
13693 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
13694 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
13695 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
13696 * sysdeps/x86_64/multiarch/memset.S: Likewise.
13697 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13698 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
13699 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
13700 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
13701 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
13702 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
13703 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
13704 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
13705 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
13706 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
13707 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
13708 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
13709 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
13710 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
13711 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
13712 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
13713 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
13714 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
13715 * sysdeps/x86_64/strcmp.S: Likewise.
13716
13717 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
13718
13719 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
13720 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
13721 * elf/rtld-Rules: Likewise.
13722 * elf/setup-vdso.h: Likewise.
13723 * include/assert.h: Likewise.
13724 * include/bits/stdlib-float.h: Likewise.
13725 * include/errno.h: Likewise.
13726 * include/sys/stat.h: Likewise.
13727 * include/unistd.h: Likewise.
13728 * sysdeps/aarch64/setjmp.S: Likewise.
13729 * sysdeps/alpha/setjmp.S: Likewise.
13730 * sysdeps/arm/__longjmp.S: Likewise.
13731 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
13732 * sysdeps/arm/setjmp.S: Likewise.
13733 * sysdeps/arm/sysdep.h: Likewise.
13734 * sysdeps/generic/_itoa.h: Likewise.
13735 * sysdeps/generic/dl-sysdep.h: Likewise.
13736 * sysdeps/generic/ldsodefs.h: Likewise.
13737 * sysdeps/i386/dl-tls.h: Likewise.
13738 * sysdeps/i386/setjmp.S: Likewise.
13739 * sysdeps/m68k/setjmp.c: Likewise.
13740 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
13741 * sysdeps/mach/hurd/opendir.c: Likewise.
13742 * sysdeps/posix/getcwd.c: Likewise.
13743 * sysdeps/posix/opendir.c: Likewise.
13744 * sysdeps/posix/profil.c: Likewise.
13745 * sysdeps/powerpc/dl-procinfo.h: Likewise.
13746 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
13747 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
13748 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
13749 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
13750 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
13751 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
13752 * sysdeps/s390/dl-tls.h: Likewise.
13753 * sysdeps/s390/s390-32/setjmp.S: Likewise.
13754 * sysdeps/s390/s390-64/setjmp.S: Likewise.
13755 * sysdeps/sh/sh3/setjmp.S: Likewise.
13756 * sysdeps/sh/sh4/setjmp.S: Likewise.
13757 * sysdeps/unix/alpha/sysdep.h: Likewise.
13758 * sysdeps/unix/arm/sysdep.S: Likewise.
13759 * sysdeps/unix/i386/sysdep.S: Likewise.
13760 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
13761 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
13762 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
13763 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
13764 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
13765 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
13766 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
13767 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
13768 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
13769 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
13770 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
13771 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
13772 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
13773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
13774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13775 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
13776 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13777 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13778 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
13779 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
13780 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
13781 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
13782 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13783 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
13784 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
13785 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
13786 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13787 * sysdeps/unix/x86_64/sysdep.S: Likewise.
13788 * sysdeps/x86_64/setjmp.S: Likewise.
13789
13790 * include/math.h: Use IS_IN instead of IS_IN_libm.
13791 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
13792 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
13793 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
13794 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
13795 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
13796 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
13797 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
13798 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
13799 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13800 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
13801 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
13802 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
13803 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
13804 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
13805 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
13806 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
13807 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
13808 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
13809 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
13810 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
13811 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
13812 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
13813 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
13814 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
13815 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
13816 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
13817 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
13818 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
13819 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
13820 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
13821 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
13822 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
13823 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
13824 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
13825 Likewise.
13826 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
13827 Likewise.
13828 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
13829 Likewise.
13830 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
13831 Likewise.
13832 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
13833 Likewise.
13834 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
13835 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
13836 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
13837 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
13838 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
13839 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
13840 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
13841 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
13842 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
13843 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
13844 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
13845 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
13846 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
13847 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
13848 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
13849 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
13850 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
13851 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
13852 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
13853 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
13854 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
13855 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
13856 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
13857 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
13858 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
13859 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
13860 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
13861
13862 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
13863 * nptl/pthreadP.h: Likewise.
13864 * nptl_db/structs.def: Likewise.
13865 * sysdeps/arm/sysdep.h: Likewise.
13866 * sysdeps/nptl/bits/libc-lock.h: Likewise.
13867 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
13868 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
13869 * sysdeps/unix/alpha/sysdep.h: Likewise.
13870 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
13871 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
13872 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
13873 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
13874 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
13875 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
13876 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
13877 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
13878 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
13879 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
13880 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
13881 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
13882 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
13883 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
13884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
13885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
13886 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
13887 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
13888 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
13889 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
13890 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
13891 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
13892 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
13893 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
13894 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
13895 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
13896
13897 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
13898 * nptl/pthreadP.h: Likewise.
13899 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
13900 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
13901 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
13902 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
13903 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
13904 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
13905 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
13906 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
13907 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
13908 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
13909 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
13910 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
13911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
13912 Likewise.
13913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
13914 Likewise.
13915 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
13916 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
13917 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
13918 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
13919 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
13920 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
13921 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
13922 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
13923
13924 * dlfcn/dladdr.c: Use IS_IN.
13925 * dlfcn/dladdr1.c: Likewise.
13926 * dlfcn/dlclose.c: Likewise.
13927 * dlfcn/dlerror.c: Likewise.
13928 * dlfcn/dlinfo.c: Likewise.
13929 * dlfcn/dlmopen.c: Likewise.
13930 * dlfcn/dlopen.c: Likewise.
13931 * dlfcn/dlsym.c: Likewise.
13932 * dlfcn/dlvsym.c: Likewise.
13933
13934 * include/ifaddrs.h: Use IS_IN.
13935 * inet/check_pf.c: Likewise.
13936 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
13937 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
13938
13939 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
13940 IS_IN_ldconfig.
13941 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
13942 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
13943
13944 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
13945 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
13946 IS_IN (libc).
13947
13948 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
13949
13950 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
13951 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
13952 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
13953 * include/libc-symbols.h (IS_IN_LIB): New macro.
13954 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
13955 * include/netdb.h: Likewise.
13956 * include/stap-probe.h: Remove all uses of IN_LIB.
13957
13958 * Makeconfig (module-cppflags-real): Define MODULE_NAME
13959 instead of IN_MODULE.
13960 * include/libc-symbols.h (IN_MODULE): Define using
13961 MODULE_NAME.
13962 (PASTE_NAME, PASTE_NAME1): New macros.
13963 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
13964 of IN_LIB.
13965 (STAP_PROBE_ASM): Likewise.
13966
13967 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
13968
13969 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
13970 __mach_init in dlopened libc.
13971
13972 2014-11-22 Mike Frysinger <vapier@gentoo.org>
13973
13974 * sysdeps/arm/preconfigure.ac: Delete EABI check.
13975 * sysdeps/arm/preconfigure: Regenerate.
13976
13977 2014-11-21 Roland McGrath <roland@hack.frob.com>
13978
13979 * nptl/pthread_create.c (__pthread_create_2_1): Set
13980 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
13981 when copying values from IATTR into PD.
13982
13983 2014-11-21 Will Newton <will.newton@linaro.org>
13984 Andrew Pinski <andrew.pinski@caviumnetworks.com>
13985
13986 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
13987 Refactor inline-asm. Also add comment.
13988
13989 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
13990 ElfW macro instead of hardcoded Elf64 types.
13991 (la_aarch64_gnu_pltenter): Likewise.
13992 * sysdeps/aarch64/dl-machine.h
13993 (elf_machine_runtime_setup): Use ElfW(Addr).
13994
13995 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
13996 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
13997 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
13998 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
13999 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
14000 (R_AARCH64_TLS_DTPMOD64): Rename to ..
14001 (R_AARCH64_TLS_DTPMOD): This.
14002 (R_AARCH64_TLS_DTPREL64): Rename to ...
14003 (R_AARCH64_TLS_DTPREL): This.
14004 (R_AARCH64_TLS_TPREL64): Rename to ...
14005 (R_AARCH64_TLS_TPREL): This.
14006 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
14007 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
14008 R_AARCH64_TLS_TPREL64.
14009 (elf_machine_rela): Likewise.
14010
14011 2014-11-21 Torvald Riegel <triegel@redhat.com>
14012
14013 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
14014 by setting it to 0. 64b atomics are not supported currently.
14015
14016 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
14017
14018 [BZ #16469]
14019 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
14020 search domain names.
14021
14022 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
14023
14024 [BZ #16469]
14025 * NEWS: Update.
14026 * resolv/res_query.c (__libc_res_nquerydomain): Retain
14027 trailing dot.
14028 * posix/tst-getaddrinfo5.c: New.
14029 * posix/Makefile (tests): Add it.
14030
14031 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
14032
14033 [BZ #14498]
14034 * NEWS: Fixed.
14035 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
14036 after parsing line but before break_if_match.
14037 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
14038 if there is a protocol mismatch.
14039
14040 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
14041
14042 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
14043 because the potential race is on the user-supplied stream.
14044
14045 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
14046
14047 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
14048 string literal if not passed a buffer.
14049 * manual/job.texi (ctermid): Update reasoning, note deviation
14050 from posix, suggest mtasurace when not passed a buffer, for
14051 future non-preliminary safety notes.
14052
14053 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
14054
14055 * manual/users.texi (cuserid): Fix MT-Safety note for the case
14056 of not passing it a buffer.
14057 Reported by Peng Haitao.
14058
14059 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
14060
14061 * manual/Makefile ($(objpfx)stamp-summary): Require
14062 check-safety.sh to pass.
14063 * manual/check-safety.sh: Wish for verification that every
14064 @deftypefn and @deftypefun is followed by a @safety remark.
14065
14066 2014-11-20 Roland McGrath <roland@hack.frob.com>
14067
14068 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
14069
14070 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
14071 PTHREAD_CANCEL_ASYNCHRONOUS.
14072 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
14073 send SIGCANCEL.
14074
14075 * nptl/default-sched.h: New file.
14076 * sysdeps/unix/sysv/linux/default-sched.h: New file.
14077 * nptl/pthread_create.c: Include it.
14078 (__pthread_create_2_1): Use collect_default_sched instead of making
14079 Linux syscalls here directly.
14080
14081 2014-11-20 Torvald Riegel <triegel@redhat.com>
14082
14083 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
14084 __pthread_once): Use C11 atomics.
14085
14086 2014-11-20 Torvald Riegel <triegel@redhat.com>
14087
14088 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
14089
14090 2014-11-20 Torvald Riegel <triegel@redhat.com>
14091
14092 * include/atomic.h (__atomic_link_error, __atomic_check_size,
14093 atomic_thread_fence_acquire, atomic_thread_fence_release,
14094 atomic_thread_fence_seq_cst, atomic_load_relaxed,
14095 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
14096 atomic_compare_exchange_weak_relaxed,
14097 atomic_compare_exchange_weak_acquire,
14098 atomic_compare_exchange_weak_release,
14099 atomic_exchange_acquire, atomic_exchange_release,
14100 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
14101 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
14102 atomic_fetch_and_acquire,
14103 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
14104
14105 2014-11-20 Torvald Riegel <triegel@redhat.com>
14106
14107 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
14108 USE_ATOMIC_COMPILER_BUILTINS): Define.
14109 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
14110 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14111 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
14112 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14113 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
14114 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14115 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
14116 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14117 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
14118 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14119 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
14120 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14121 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
14122 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14123 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
14124 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14125 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
14126 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14127 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
14128 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14129 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
14130 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14131 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
14132 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14133 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
14134 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14135 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
14136 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14137 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
14138 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14139 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
14140 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14141 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
14142 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14143 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
14144 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14145 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
14146 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14147 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
14148 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14149
14150 2014-11-19 Roland McGrath <roland@hack.frob.com>
14151
14152 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
14153 the sched_priority value here. It was already checked when the user
14154 called pthread_attr_setschedparam.
14155
14156 * nptl/tst-bad-schedattr.c: New file.
14157 * nptl/Makefile (tests): Add it.
14158
14159 2014-11-19 Carlos O'Donell <carlos@redhat.com>
14160 Florian Weimer <fweimer@redhat.com>
14161 Joseph Myers <joseph@codesourcery.com>
14162 Adam Conrad <adconrad@0c3.net>
14163 Andreas Schwab <schwab@suse.de>
14164 Brooks <bmoses@google.com>
14165
14166 [BZ #17625]
14167 * wordexp-test.c (__dso_handle): Add prototype.
14168 (__register_atfork): Likewise.
14169 (__app_register_atfork): New function.
14170 (registered_forks): New global.
14171 (register_fork): New function.
14172 (test_case): Add 3 new tests for WRDE_CMDSUB.
14173 (main): Call __app_register_atfork.
14174 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
14175 fork count is non-zero fail the test.
14176 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
14177 is set.
14178 (parse_dollars): Remove check for WRDE_NOCMD.
14179 (parse_dquote): Likewise.
14180
14181 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14182
14183 * Makeconfig (built-modules): List non-library modules to be
14184 built.
14185 (module-cppflags): Include libc-modules.h for
14186 everything except shlib-versions.v.i.
14187 (CPPFLAGS): Use it.
14188 (before-compile): Add libc-modules.h.
14189 ($(common-objpfx)libc-modules.h,
14190 $(common-objpfx)libc-modules.stmp): New targets.
14191 (common-generated): Add libc-modules.h and libc-modules.stmp.
14192 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
14193 * include/libc-symbols.h: Don't include libc-modules.h.
14194 * include/libc-modules.h: Remove file.
14195 * scripts/gen-libc-modules.awk: New script to generate
14196 libc-modules.h.
14197 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
14198 Depend on libc-modules.stmp.
14199
14200 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
14201
14202 * Makeconfig (in-module): Get value of libof set for the
14203 translation unit.
14204 (CPPFLAGS): Use $(in-module).
14205 * Makerules: Don't suffix routine names for nonlib.
14206 * include/libc-modules.h: New file.
14207 * include/libc-symbols.h: Include libc-modules.h
14208 (IS_IN): New macro to replace IS_IN_* macros.
14209 * elf/Makefile: Set libof-* for each routine.
14210 * elf/rtld-Rules: Likewise.
14211 * extra-modules.mk: Likewise.
14212 * iconv/Makefile: Likewise.
14213 * iconvdata/Makefile: Likewise.
14214 * locale/Makefile: Likewise.
14215 * malloc/Makefile: Likewise.
14216 * nss/Makefile: Likewise.
14217 * sysdeps/gnu/Makefile: Likewise.
14218 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
14219 * sysdeps/unix/sysv/linux/Makefile: Likewise.
14220 * sysdeps/s390/s390-64/Makefile: Likewise.
14221 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
14222 CPPFLAGS for nscd instead of nonlib.
14223
14224 2014-11-18 Roland McGrath <roland@hack.frob.com>
14225
14226 * nptl/createthread.c: New file.
14227
14228 * nptl/createthread.c: Moved ...
14229 * sysdeps/unix/sysv/linux/createthread.c: ... here.
14230
14231 * nptl/createthread.c: Add proper top-line comment.
14232 (do_clone): Folded into ...
14233 (create_thread): ... here. Take new arguments STOPPED_START and
14234 THREAD_RAN. Always set PD->stopped_start to something here. Don't
14235 increment __nptl_threads, do event-reporting logic, do
14236 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
14237 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
14238 resource cleanup if sched_setaffinity or sched_setscheduler fails,
14239 just send SIGCANCEL.
14240 * nptl/pthread_create.c: Forward-declare create_thread before
14241 including createthread.c.
14242 (start_thread): Use new macro START_THREAD_DEFN to replace defining
14243 declaration, and new macro START_THREAD_SELF to replace argument.
14244 Remove return statement.
14245 (report_thread_creation): New function.
14246 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
14247 synchronization logic, and __nptl_nthreads increment here, around
14248 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
14249 PD->parent_cancelhandling here, before create_thread. When
14250 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
14251 __deallocate_stack, and ENOMEM translation here.
14252
14253 2014-11-18 Joseph Myers <joseph@codesourcery.com>
14254
14255 [BZ #17616]
14256 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
14257 (mptwo): Rename to __mptwo.
14258 (__inv): Use __mptwo instead of mptwo.
14259 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
14260 (mptwo): Rename to __mptwo.
14261 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
14262 of mpone and __mptwo instead of mptwo.
14263 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
14264 instead of mpone.
14265 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
14266 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
14267 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
14268 of mpone and __mptwo instead of mptwo.
14269 (__mpranred): Use __mpone instead of mpone.
14270 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
14271 variable.
14272 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
14273 (test-xfail-ISO99/math.h/linknamespace): Likewise.
14274 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
14275 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
14276 (test-xfail-ISO11/math.h/linknamespace): Likewise.
14277 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
14278 (test-xfail-XPG3/math.h/linknamespace): Likewise.
14279 (test-xfail-XPG4/math.h/linknamespace): Likewise.
14280 (test-xfail-POSIX/math.h/linknamespace): Likewise.
14281 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
14282 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
14283 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
14284 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
14285 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
14286 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
14287 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
14288 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
14289 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
14290 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
14291
14292 2014-11-18 Tom de Vries <tom@codesoucery.com>
14293
14294 * manual/signal.texi (Primitives Interrupted by Signals): In section,
14295 replace BSD Handler xref with BSD Signal Handling.
14296
14297 2014-11-17 Richard Henderson <rth@redhat.com>
14298
14299 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
14300 (_FP_PACK_RAW_2): Remove.
14301 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
14302 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
14303 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
14304 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
14305 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
14306 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
14307 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
14308 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
14309 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
14310 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
14311 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
14312 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
14313 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
14314 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
14315 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
14316 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
14317
14318 2014-11-14 Roland McGrath <roland@hack.frob.com>
14319
14320 * signal/signal.h [__USE_MISC]
14321 (struct sigvec): Remove type.
14322 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
14323 (sigvec): Remove declaration.
14324 * sysdeps/posix/sigvec.c: Moved ...
14325 * signal/sigvec.c: ... here, replacing old file.
14326 (struct sigvec): New type, copied from old signal.h definition.
14327 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
14328 (__sigvec): Convert definition to prototype.
14329 (sigvec): Replace weak_alias with compat_symbol.
14330 * signal/Versions (libc: GLIBC_2.21): New version set.
14331 * include/signal.h: Remove __sigvec declaration.
14332 * sysdeps/unix/bsd/sigvec.c: Remove file.
14333 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
14334 * manual/signal.texi (BSD Handler): Remove subsection.
14335 Move siginterrupt up to ...
14336 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
14337 (Blocking in BSD): Fold subsection into its parent.
14338 * NEWS: Mention sigvec removal.
14339
14340 2014-11-14 Joseph Myers <joseph@codesourcery.com>
14341
14342 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
14343 (DLA_FMS): Make definition conditional only on [__FMA4__].
14344 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
14345 definition.
14346
14347 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
14348 Make definition conditional only on [PROF].
14349 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
14350 definition.
14351 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
14352 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
14353
14354 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
14355 !__GNUC__].
14356 * include/signal.h (__sigpause): Move declaration above call to
14357 libc_hidden_proto.
14358 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
14359 variable.
14360 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
14361 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
14362
14363 2014-11-14 David S. Miller <davem@davemloft.net>
14364
14365 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
14366 Define before including <string/memcpy.c> and <string/mempcpy.c>.
14367
14368 2014-11-14 Joseph Myers <joseph@codesourcery.com>
14369
14370 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
14371 * configure: Regenerated.
14372 * manual/install.texi (Tools for Compilation): Document a
14373 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
14374 compiler verified to work.
14375 * INSTALL: Regenerated.
14376
14377 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
14378 redeclare with asm name.
14379 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
14380 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
14381 including <string.h>.
14382 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
14383 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
14384 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
14385 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
14386 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
14387 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
14388 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
14389
14390 2014-11-13 Joseph Myers <joseph@codesourcery.com>
14391
14392 * stdlib/strtol.c (__strtol): Use prototype definition.
14393
14394 [BZ #17594]
14395 * stdlib/strtol.c (SYM__): New macro.
14396 (SYM__1): Likewise.
14397 (__strtol): Likewise.
14398 (strtol): Rename to __strtol and define as weak alias of
14399 __strtol. Use libc_hidden_weak.
14400
14401 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
14402
14403 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
14404 Use numbered labels in inline assembly.
14405
14406 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
14407
14408 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
14409 Add setjmp LIBC_PROBE.
14410 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
14411 Likewise.
14412 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
14413 Add longjmp, longjmp_target LIBC_PROBE.
14414 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
14415 Likewise.
14416
14417 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
14418
14419 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
14420 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
14421 to get rid of unused variable warning.
14422
14423 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
14424
14425 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
14426 Check for unwind_backtrace == NULL only in SHARED case.
14427 (__backchain_backtrace): Compile only in SHARED case.
14428 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
14429 Likewise.
14430 (__backchain_backtrace): Declare as static.
14431
14432 2014-11-12 Roland McGrath <roland@hack.frob.com>
14433
14434 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
14435 (__libc_multiple_threads_ptr): Variable moved ...
14436 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
14437
14438 2014-11-12 Joseph Myers <joseph@codesourcery.com>
14439
14440 * conform/GlibcConform.pm: New file.
14441 * conform/conformtest.pl: Use GlibcConform module.
14442 * conform/linknamespace.pl: New file.
14443 * conform/list-header-symbols.pl: Likewise.
14444 * conform/Makefile (linknamespace-symlists-base): New variable.
14445 (linknamespace-symlists-tests): Likewise.
14446 (linknamespace-header-base): Likewise.
14447 (linknamespace-header-tests): Likewise.
14448 (tests-special): Add new tests.
14449 ($(linknamespace-symlists-tests)): New rule.
14450 (linknamespace-libs): New variable.
14451 ($(objpfx)symlist-stdlibs): New rule.
14452 ($(linknamespace-header-tests)): Likewise.
14453 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
14454 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
14455 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
14456 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
14457 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
14458 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
14459 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
14460 (test-xfail-ISO/math.h/linknamespace): Likewise.
14461 (test-xfail-ISO/signal.h/linknamespace): Likewise.
14462 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
14463 (test-xfail-ISO/time.h/linknamespace): Likewise.
14464 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
14465 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
14466 (test-xfail-ISO99/math.h/linknamespace): Likewise.
14467 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
14468 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
14469 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
14470 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
14471 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
14472 (test-xfail-ISO11/math.h/linknamespace): Likewise.
14473 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
14474 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
14475 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
14476 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
14477 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
14478 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
14479 (test-xfail-XPG3/math.h/linknamespace): Likewise.
14480 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
14481 (test-xfail-XPG3/search.h/linknamespace): Likewise.
14482 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
14483 (test-xfail-XPG3/time.h/linknamespace): Likewise.
14484 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
14485 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
14486 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
14487 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
14488 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
14489 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
14490 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
14491 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
14492 (test-xfail-XPG4/math.h/linknamespace): Likewise.
14493 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
14494 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
14495 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
14496 (test-xfail-XPG4/search.h/linknamespace): Likewise.
14497 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
14498 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
14499 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
14500 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
14501 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
14502 (test-xfail-XPG4/time.h/linknamespace): Likewise.
14503 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
14504 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
14505 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
14506 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
14507 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
14508 (test-xfail-POSIX/math.h/linknamespace): Likewise.
14509 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
14510 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
14511 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
14512 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
14513 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
14514 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
14515 (test-xfail-POSIX/time.h/linknamespace): Likewise.
14516 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
14517 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
14518 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
14519 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
14520 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
14521 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
14522 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
14523 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
14524 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
14525 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
14526 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
14527 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
14528 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
14529 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
14530 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
14531 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
14532 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
14533 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
14534 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
14535 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
14536 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
14537 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
14538 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
14539 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
14540 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
14541 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
14542 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
14543 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
14544 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
14545 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
14546 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
14547 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
14548 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
14549 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
14550 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
14551 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
14552 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
14553 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
14554 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
14555 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
14556 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
14557 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
14558 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
14559 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
14560 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
14561 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
14562 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
14563 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
14564 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
14565 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
14566 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
14567 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
14568 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
14569 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
14570 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
14571 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
14572 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
14573 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
14574 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
14575 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
14576 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
14577 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
14578 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
14579 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
14580 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
14581 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
14582 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
14583 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
14584 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
14585 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
14586 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
14587 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
14588 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
14589 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
14590 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
14591 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
14592 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
14593 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
14594 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
14595 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
14596 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
14597 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
14598 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
14599 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
14600 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
14601 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
14602 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
14603 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
14604 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
14605 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
14606 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
14607 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
14608 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
14609 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
14610 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
14611 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
14612 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
14613 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
14614
14615 [BZ #17589]
14616 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
14617 of fgets_unlocked.
14618
14619 [BZ #17585]
14620 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
14621 (memmem): Rename to __memmem and define as weak alias of
14622 __memmem. Use libc_hidden_weak.
14623 (__memmem): Use libc_hidden_def.
14624 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
14625 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
14626 memmem.
14627
14628 [BZ #17582]
14629 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
14630 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
14631 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
14632 and define as weak alias of __fgets_unlocked. Use
14633 libc_hidden_weak.
14634 (__fgets_unlocked): Use libc_hidden_def.
14635 * include/stdio.h (__fgets_unlocked): Declare. Use
14636 libc_hidden_proto.
14637 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
14638 __fgets_unlocked instead of fgets_unlocked.
14639 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
14640 (GET_NPROCS_CONF_PARSER): Likewise.
14641 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
14642 (GET_NPROCS_CONF_PARSER): Likewise.
14643
14644 [BZ #17574]
14645 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
14646 weak alias of __wmemset. Use libc_hidden_weak.
14647 (__wmemset): Use libc_hidden_def.
14648 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
14649 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
14650 of wmemset.
14651
14652 [BZ #17573]
14653 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
14654 with asm name __mempcpy.
14655 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
14656
14657 [BZ #17572]
14658 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
14659 and define as weak alias of __rawmemchr.
14660 (__rawmemchr): Do not define as strong alias of rawmemchr.
14661
14662 [BZ #17571]
14663 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
14664 alias of __qsort_r.
14665 (qsort): Call __qsort_r instead of qsort_r.
14666 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
14667 (__qsort_r): Declare. Call libc_hidden_proto.
14668 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
14669 instead of qsort_r.
14670 * nscd/gai.c (__qsort_r): Define to qsort_r.
14671 * posix/tst-rfc3484.c (__qsort_r): Likewise.
14672 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
14673 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
14674
14675 [BZ #17570]
14676 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
14677 define as weak alias of __malloc_info.
14678
14679 [BZ #17584]
14680 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
14681 as weak alias of __rewinddir. Don't use libc_hidden_def.
14682 (__rewinddir): Use libc_hidden_def.
14683 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
14684 as weak alias of __rewinddir. Don't use libc_hidden_def.
14685 (__rewinddir): Use libc_hidden_def.
14686 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
14687 weak alias of __rewinddir. Don't use libc_hidden_def.
14688 (__rewinddir): Use libc_hidden_def.
14689 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
14690 (__rewinddir): Use libc_hidden_proto.
14691 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
14692 rewinddir.
14693 (__getcwd): Use __rewinddir instead of rewinddir.
14694
14695 [BZ #17583]
14696 * libio/fileno.c (fileno): Rename to __fileno and define as weak
14697 alias of __fileno. Use libc_hidden_weak.
14698 (__fileno): Use libc_hidden_def.
14699 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
14700 * libio/ftello.c (ftello): Rename to __ftello and define as weak
14701 alias of __ftello.
14702 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
14703 __ftello.
14704 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
14705 (__fread_unlocked): Define as strong alias of _IO_fread. Use
14706 libc_hidden_def.
14707 (fread_unlocked): Don't use libc_hidden_ver.
14708 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
14709 and define as weak alias of __fread_unlocked. Don't use
14710 libc_hidden_def.
14711 (__fread_unlocked): Use libc_hidden_def.
14712 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
14713 (ftello): Don't use libc_hidden_proto.
14714 (__ftello): Declare. Use libc_hidden_proto.
14715 (fread_unlocked): Don't use libc_hidden_proto.
14716 (__fread_unlocked): Declare. Use libc_hidden_proto.
14717 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
14718 and __ftello instead of fileno, fread_unlocked and ftello.
14719
14720 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
14721
14722 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
14723 GOT12.
14724 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
14725 Likewise.
14726 (_dl_start_user): Likewise.
14727 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
14728
14729 2014-11-12 Carlos O'Donell <carlos@redhat.com>
14730 Siddhesh Poyarekar <siddhesh@redhat.com>
14731
14732 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
14733 Move argv and envp down instead of moving argc up.
14734 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
14735
14736 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
14737
14738 [BZ #17506]
14739 * test-skeleton.c (main): Return successful if one of
14740 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
14741 * string/tst-strcoll-overflow.c: Define expected status.
14742
14743 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
14744
14745 [BZ #17475]
14746 * locale/iso-639.def: Define Bhili and Tulu language codes.
14747
14748 2014-11-11 Alan Hayward <alan.hayward@arm.com>
14749
14750 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
14751
14752 2014-11-10 Renlin Li <Renlin.Li@arm.com>
14753
14754 [BZ #17555]
14755 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
14756
14757 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
14758
14759 * configure.ac: Updated check of minimal required version to
14760 2.22.
14761 * manual/install.texi (Tools for Compilation): Updated version
14762 number.
14763 * configure: Regenerated.
14764 * INSTALL: Likewise.
14765
14766 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
14767
14768 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
14769 __tls_get_addr.
14770
14771 2014-11-07 Joseph Myers <joseph@codesourcery.com>
14772
14773 * include/sys/wait.h (__libc_waitpid): Remove declaration.
14774 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
14775 (__waitpid): Don't define as alias. Use libc_hidden_def not
14776 libc_hidden_weak.
14777 (waitpid): Define as alias of __waitpid.
14778 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
14779 __waitpid.
14780 (__waitpid): Don't define as alias. Use libc_hidden_def not
14781 libc_hidden_weak.
14782 (waitpid): Define as alias of __waitpid.
14783 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
14784 __libc_waitpid alias.
14785 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
14786 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
14787 Likewise.
14788 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
14789 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
14790 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
14791 alias.
14792 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
14793 __waitpid.
14794 (__waitpid): Don't define as alias. Use libc_hidden_def not
14795 libc_hidden_weak.
14796 (waitpid): Define as alias of __waitpid.
14797
14798 2014-11-06 Carlos O'Donell <carlos@redhat.com>
14799
14800 * manual/llio.texi: Add comment that write safety has been
14801 fixed in Linux.
14802
14803 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
14804 (localplt-build-dso): Add elf/ld.so.
14805 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
14806 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
14807 and free for ld.so.
14808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
14809 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
14810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
14811 Likewise.
14812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
14813 Likewise.
14814 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
14815 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
14816 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
14817 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
14818 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
14819 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
14820 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
14821 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
14822 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
14823 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
14824 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
14825
14826 2014-11-05 Joseph Myers <joseph@codesourcery.com>
14827
14828 [BZ #14132]
14829 * include/libc-symbols.h (INTUSE): Remove macro.
14830 (INTDEF): Likewise.
14831 (INTVARDEF): Likewise.
14832 (_INTVARDEF): Likewise.
14833 (INTDEF2): Likewise.
14834 (INTVARDEF2): Likewise.
14835 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
14836 rtld_hidden_def instead of INTVARDEF.
14837 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
14838 (_dl_starting_up_internal): Remove declaration.
14839 (_dl_starting_up): Use rtld_hidden_proto.
14840 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
14841 declaration.
14842 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
14843 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
14844 _dl_starting_up.
14845 * elf/dl-writev.h (_dl_writev): Likewise.
14846 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
14847 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
14848 _dl_starting_up_internal.
14849
14850 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14851
14852 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
14853 test-skeleton.c.
14854
14855 2014-11-05 Will Newton <will.newton@linaro.org>
14856
14857 * benchtests/Makefile: (bench-malloc): Add malloc thread
14858 scalability benchmark.
14859 * benchtests/bench-malloc-threads.c: New file.
14860
14861 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
14862
14863 * sysdeps/aarch64/strchrnul.S: New file.
14864
14865 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14866
14867 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
14868 definition.
14869 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
14870 Likwise.
14871 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
14872 Likewise.
14873 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
14874 Likewise.
14875 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
14876 Likewise.
14877 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
14878 Likewise.
14879
14880 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
14881
14882 * catgets/test-gencat.c: Use test-skeleton.c.
14883 * catgets/tst-catgets.c: Likewise.
14884 * csu/tst-empty.c: Likewise.
14885 * elf/tst-audit2.c: Likewise.
14886 * elf/tst-global1.c: Likewise.
14887 * elf/tst-pathopt.c: Likewise.
14888 * elf/tst-piemod1.c: Likewise.
14889 * elf/tst-tls10.c: Likewise.
14890 * elf/tst-tls11.c: Likewise.
14891 * elf/tst-tls12.c: Likewise.
14892 * gnulib/tst-gcc.c: Likewise.
14893 * iconvdata/tst-e2big.c: Likewise.
14894 * iconvdata/tst-loading.c: Likewise.
14895 * iconv/tst-iconv1.c: Likewise.
14896 * iconv/tst-iconv2.c: Likewise.
14897 * inet/test-inet6_opt.c: Likewise.
14898 * inet/tst-gethnm.c: Likewise.
14899 * inet/tst-network.c: Likewise.
14900 * inet/tst-ntoa.c: Likewise.
14901 * intl/tst-codeset.c: Likewise.
14902 * intl/tst-gettext2.c: Likewise.
14903 * intl/tst-gettext3.c: Likewise.
14904 * intl/tst-ngettext.c: Likewise.
14905 * intl/tst-translit.c: Likewise.
14906 * io/test-stat.c: Likewise.
14907 * libio/test-fmemopen.c: Likewise.
14908 * libio/tst-freopen.c: Likewise.
14909 * libio/tst-sscanf.c: Likewise.
14910 * libio/tst-ungetwc1.c: Likewise.
14911 * libio/tst-ungetwc2.c: Likewise.
14912 * libio/tst-widetext.c: Likewise.
14913 * localedata/tst-ctype.c: Likewise.
14914 * localedata/tst-digits.c: Likewise.
14915 * localedata/tst-leaks.c: Likewise.
14916 * localedata/tst-mbswcs1.c: Likewise.
14917 * localedata/tst-mbswcs2.c: Likewise.
14918 * localedata/tst-mbswcs3.c: Likewise.
14919 * localedata/tst-mbswcs4.c: Likewise.
14920 * localedata/tst-mbswcs5.c: Likewise.
14921 * localedata/tst-setlocale.c: Likewise.
14922 * localedata/tst-trans.c: Likewise.
14923 * localedata/tst-wctype.c: Likewise.
14924 * localedata/tst-xlocale1.c: Likewise.
14925 * login/tst-grantpt.c: Likewise.
14926 * malloc/tst-calloc.c: Likewise.
14927 * malloc/tst-malloc.c: Likewise.
14928 * malloc/tst-mallocstate.c: Likewise.
14929 * malloc/tst-mcheck.c: Likewise.
14930 * malloc/tst-mtrace.c: Likewise.
14931 * malloc/tst-obstack.c: Likewise.
14932 * math/atest-exp2.c: Likewise.
14933 * math/atest-exp.c: Likewise.
14934 * math/atest-sincos.c: Likewise.
14935 * math/test-matherr.c: Likewise.
14936 * math/test-misc.c: Likewise.
14937 * math/test-powl.c: Likewise.
14938 * math/tst-definitions.c: Likewise.
14939 * misc/tst-dirname.c: Likewise.
14940 * misc/tst-efgcvt.c: Likewise.
14941 * misc/tst-fdset.c: Likewise.
14942 * misc/tst-hsearch.c: Likewise.
14943 * misc/tst-mntent2.c: Likewise.
14944 * nptl/tst-sem7.c: Likewise.
14945 * nptl/tst-sem8.c: Likewise.
14946 * nptl/tst-sem9.c: Likewise.
14947 * nss/test-netdb.c: Likewise.
14948 * posix/tst-fnmatch.c: Likewise.
14949 * posix/tst-getlogin.c: Likewise.
14950 * posix/tst-gnuglob.c: Likewise.
14951 * posix/tst-mmap.c: Likewise.
14952 * pwd/tst-getpw.c: Likewise.
14953 * resolv/tst-inet_ntop.c: Likewise.
14954 * rt/tst-timer.c: Likewise.
14955 * stdio-common/test-fseek.c: Likewise.
14956 * stdio-common/test-popen.c: Likewise.
14957 * stdio-common/test-vfprintf.c: Likewise.
14958 * stdio-common/tst-cookie.c: Likewise.
14959 * stdio-common/tst-fileno.c: Likewise.
14960 * stdio-common/tst-gets.c: Likewise.
14961 * stdio-common/tst-obprintf.c: Likewise.
14962 * stdio-common/tst-perror.c: Likewise.
14963 * stdio-common/tst-sprintf2.c: Likewise.
14964 * stdio-common/tst-sprintf3.c: Likewise.
14965 * stdio-common/tst-sprintf.c: Likewise.
14966 * stdio-common/tst-swprintf.c: Likewise.
14967 * stdio-common/tst-tmpnam.c: Likewise.
14968 * stdio-common/tst-unbputc.c: Likewise.
14969 * stdio-common/tst-wc-printf.c: Likewise.
14970 * stdlib/tst-environ.c: Likewise.
14971 * stdlib/tst-fmtmsg.c: Likewise.
14972 * stdlib/tst-limits.c: Likewise.
14973 * stdlib/tst-rand48-2.c: Likewise.
14974 * stdlib/tst-rand48.c: Likewise.
14975 * stdlib/tst-random2.c: Likewise.
14976 * stdlib/tst-random.c: Likewise.
14977 * stdlib/tst-strtol.c: Likewise.
14978 * stdlib/tst-strtoll.c: Likewise.
14979 * stdlib/tst-tls-atexit.c: Likewise.
14980 * stdlib/tst-xpg-basename.c: Likewise.
14981 * string/test-ffs.c: Likewise.
14982 * string/tst-bswap.c: Likewise.
14983 * string/tst-inlcall.c: Likewise.
14984 * string/tst-strtok.c: Likewise.
14985 * string/tst-strxfrm.c: Likewise.
14986 * sysdeps/x86_64/tst-audit10.c: Likewise.
14987 * sysdeps/x86_64/tst-audit3.c: Likewise.
14988 * sysdeps/x86_64/tst-audit4.c: Likewise.
14989 * sysdeps/x86_64/tst-audit5.c: Likewise.
14990 * time/tst-ftime_l.c: Likewise.
14991 * time/tst-getdate.c: Likewise.
14992 * time/tst-mktime3.c: Likewise.
14993 * time/tst-mktime.c: Likewise.
14994 * time/tst-posixtz.c: Likewise.
14995 * time/tst-strptime2.c: Likewise.
14996 * time/tst-strptime3.c: Likewise.
14997 * wcsmbs/tst-btowc.c: Likewise.
14998 * wcsmbs/tst-mbrtowc.c: Likewise.
14999 * wcsmbs/tst-mbsrtowcs.c: Likewise.
15000 * wcsmbs/tst-wchar-h.c: Likewise.
15001 * wcsmbs/tst-wcpncpy.c: Likewise.
15002 * wcsmbs/tst-wcrtomb.c: Likewise.
15003 * wcsmbs/tst-wcsnlen.c: Likewise.
15004 * wcsmbs/tst-wcstof.c: Likewise.
15005
15006 2014-11-04 Joseph Myers <joseph@codesourcery.com>
15007
15008 [BZ #14132]
15009 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
15010 INTDEF.
15011 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
15012 declaration.
15013 (_dl_mcount): Use rtld_hidden_proto.
15014 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
15015 _dl_mcount.
15016 * elf/rtld.c (_rtld_global_ro): Likewise.
15017
15018 [BZ #14132]
15019 * elf/dl-init.c (_dl_init): Don't use INTDEF.
15020 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
15021 of _dl_init_internal.
15022 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
15023 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
15024 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
15025 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
15026 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
15027 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
15028 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
15029 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
15030 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
15031 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
15032 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
15033 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
15034 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
15035 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
15036 * sysdeps/tile/dl-start.S (_start): Likewise.
15037 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
15038 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
15039
15040 [BZ #14132]
15041 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
15042 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
15043 (rtld_progname): Make macro definition unconditional.
15044 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
15045 INTDEF.
15046 (dlmopen_doit): Do not use INTUSE with _dl_argv.
15047 (dl_main): Likewise.
15048 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
15049 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
15050 instead of _dl_argv_internal.
15051 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
15052 __GI__dl_argv instead of INTUSE(_dl_argv).
15053 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
15054 __GI__dl_argv instead of _dl_argv_internal.
15055
15056 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
15057 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
15058 macro.
15059 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
15060 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
15061 New macro.
15062 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
15063 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
15064 macro.
15065 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
15066 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
15067
15068 2014-11-04 Andreas Schwab <schwab@suse.de>
15069
15070 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
15071
15072 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15073
15074 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
15075 mtvsrd instruction in binary form.
15076
15077 2014-11-03 Andreas Schwab <schwab@suse.de>
15078
15079 [BZ #17522]
15080 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
15081 for less than MB_LEN_MAX use a local buffer of that size.
15082 * libio/tst-fputws.c: New file.
15083 * libio/Makefile (tests): Add tst-fputws.
15084
15085 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
15086
15087 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
15088 the size of the fpu_fr.fpu_dregs[] array.
15089
15090 2014-11-01 Joseph Myers <joseph@codesourcery.com>
15091
15092 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
15093 (__nanosleep): Do not define as alias.
15094 (nanosleep): Define as alias of __nanosleep.
15095 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
15096 __libc_nanosleep name.
15097
15098 2014-10-31 Joseph Myers <joseph@codesourcery.com>
15099
15100 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
15101 install.texi in comment.
15102
15103 2014-10-31 Torvald Riegel <triegel@redhat.com>
15104
15105 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
15106 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
15107 ... add here and use lwsync or sync ...
15108 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
15109 ... and add here using lwsync.
15110
15111 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
15112
15113 * elf/dl-machine-reject-phdr.h: New file.
15114 * elf/dl-load.c: #include that.
15115 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
15116 if that returned true.
15117
15118 2014-10-31 Roland McGrath <roland@hack.frob.com>
15119
15120 [BZ #17496]
15121 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
15122 gen-as-const-headers chunk. Add a big scare comment after the last
15123 safe place to touch before-compile.
15124
15125 2014-10-31 Joseph Myers <joseph@codesourcery.com>
15126
15127 * manual/install.texi (Tools for Compilation): Update autoconf
15128 version requirements.
15129 * INSTALL: Regenerated.
15130
15131 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
15132 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
15133 (__libc_pselect): Likewise.
15134
15135 [BZ #14138]
15136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
15137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
15138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
15139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
15140
15141 2014-10-31 Torvald Riegel <triegel@redhat.com>
15142
15143 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
15144 correct barrier instruction.
15145 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
15146 Likewise.
15147 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
15148 Likewise.
15149
15150 2014-10-30 Roland McGrath <roland@hack.frob.com>
15151
15152 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
15153 after defining inlines. Instead, just use parens to defeat macro
15154 expansion of __isctype in its declaration.
15155
15156 2014-10-30 Joseph Myers <joseph@codesourcery.com>
15157
15158 * include/sys/uio.h (__libc_readv): Remove declaration.
15159 (__libc_writev): Likewise.
15160 * misc/readv.c (__libc_readv): Rename to __readv.
15161 (__readv): Do not define as alias.
15162 (readv): Define as alias of __readv.
15163 * misc/writev.c (__libc_writev): Rename to __writev.
15164 (__writev): Do not define as alias.
15165 (writev): Define as alias of __writev.
15166 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
15167 (__readv): Do not define as alias.
15168 (readv): Define unconditionally as alias of __readv.
15169 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
15170 (__writev): Do not define as alias.
15171 (writev): Define unconditionally as alias of __writev.
15172 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
15173 name.
15174 (writev): Do not define __libc_writev name.
15175
15176 2014-10-30 Roland McGrath <roland@hack.frob.com>
15177
15178 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
15179 (convert_charseq): New function, broken out of ...
15180 (use_from_charmap): ... here. Call it.
15181 (use_to_charmap): Use convert_charseq and free instead of duplicating
15182 its code with a variable-length stack struct.
15183
15184 2014-10-30 Joseph Myers <joseph@codesourcery.com>
15185
15186 * include/fcntl.h (__libc_creat): Remove declaration.
15187 * io/creat.c (__libc_creat): Rename to creat.
15188 (creat): Do not define as alias.
15189 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
15190 of creat instead of __libc_creat.
15191 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
15192 to creat.
15193 (creat): Do not define as alias.
15194 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
15195 __libc_creat.
15196 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
15197 __libc_creat name.
15198 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
15199 Likewise.
15200
15201 2014-10-29 Carlos O'Donell <carlos@redhat.com>
15202
15203 * manual/llio.texi: Add comments discussing why write() may be
15204 considered MT-unsafe on Linux.
15205
15206 2014-10-28 Carlos O'Donell <carlos@redhat.com>
15207
15208 * dl-load.c (local_strdup): Remove.
15209 (expand_dynamic_string_token): Use __strdup.
15210 (decompose_rpath): Likewise.
15211 (_dl_map_object): Likewise.
15212
15213 2014-10-28 Joseph Myers <joseph@codesourcery.com>
15214
15215 [BZ #14132]
15216 * sysdeps/generic/unwind-dw2-fde.c
15217 (__register_frame_info_bases_internal): Do not declare.
15218 (__register_frame_info_table_bases_internal): Likewise.
15219 (__deregister_frame_info_bases_internal): Likewise.
15220 (__register_frame_info_bases): Declare and use hidden_proto before
15221 definition. Use hidden_def instead of INTDEF.
15222 (__register_frame_info_table_bases): Likewise.
15223 (__deregister_frame_info_bases): Likewise.
15224 (__register_frame_info): Do not use INTUSE.
15225 (__register_frame): Likewise.
15226 (__register_frame_info_table): Likewise.
15227 (__register_frame_table): Likewise.
15228 (__deregister_frame_info): Likewise.
15229 (__deregister_frame): Likewise.
15230
15231 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
15232
15233 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15234 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
15235 not undefine.
15236 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
15237 Likewise.
15238 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
15239 Likewise.
15240
15241 2014-10-27 Joseph Myers <joseph@codesourcery.com>
15242
15243 [BZ #14138]
15244 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
15245 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
15246 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
15247 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
15248 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
15249 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
15250 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
15251 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
15252 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
15253 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
15254 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
15255 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
15256 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
15257 syscall.
15258 (setfsuid): Likewise.
15259 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
15260 (setfsuid): Likewise.
15261 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
15262 (setfsuid): Likewise.
15263 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
15264 Likewise.
15265 (setfsuid): Likewise.
15266 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
15267 (setfsuid): Likewise.
15268 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
15269 Likewise.
15270 (setfsuid): Likewise.
15271
15272 2014-10-27 Andreas Schwab <schwab@suse.de>
15273
15274 [BZ #17501]
15275 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
15276 check for Slow_SSE4_2 feature bit.
15277 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
15278 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
15279 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
15280 Likewise. Fix check for Fast_Unaligned_Load feature bit.
15281
15282 2014-10-24 Roland McGrath <roland@hack.frob.com>
15283
15284 * configure.ac: Validate compiler version with a empirical test of
15285 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
15286 $CC -v output.
15287 * configure: Regenerated.
15288
15289 * inet/htons.c (htons): Prototypify.
15290 * inet/htonl.c (htonl): Likewise.
15291
15292 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
15293
15294 * string/strncat.c (strncat): Improve performance by using strlen.
15295
15296 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
15297
15298 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
15299
15300 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
15301
15302 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
15303 Call libc_fetestexcept_aarch64.
15304
15305 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
15306
15307 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
15308 Call libc_feholdexcept_aarch64.
15309
15310 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
15311
15312 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
15313 Call get_rounding_mode.
15314
15315 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
15316
15317 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
15318 Simplify logic.
15319
15320 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
15321
15322 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
15323 Simplify logic.
15324
15325 2014-10-24 Joseph Myers <joseph@codesourcery.com>
15326
15327 [BZ #14138]
15328 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
15329 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
15330 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
15331 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
15332 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
15333 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
15334 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
15335 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
15336 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
15337 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
15338 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
15339 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
15340 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
15341 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
15342 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
15343 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
15344 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
15345 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
15346 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
15347 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
15348 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
15349 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
15350 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
15351 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
15352 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
15353 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
15354 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
15355 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
15356 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
15357 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
15358 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
15359 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
15360 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
15361 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
15362 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
15363 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
15364 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
15365 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
15366 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
15367 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
15368 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
15369 syscall.
15370 (geteuid): Likewise.
15371 (getgid): Likewise.
15372 (getuid): Likewise.
15373 (getresgid): Likewise.
15374 (getresuid): Likewise.
15375 (getgroups): Likewise.
15376 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
15377 (geteuid): Likewise.
15378 (getgid): Likewise.
15379 (getuid): Likewise.
15380 (getresgid): Likewise.
15381 (getresuid): Likewise.
15382 (getgroups): Likewise.
15383 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
15384 (geteuid): Likewise.
15385 (getgid): Likewise.
15386 (getuid): Likewise.
15387 (getresgid): Likewise.
15388 (getresuid): Likewise.
15389 (getgroups): Likewise.
15390 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
15391 Likewise.
15392 (geteuid): Likewise.
15393 (getgid): Likewise.
15394 (getuid): Likewise.
15395 (getresgid): Likewise.
15396 (getresuid): Likewise.
15397 (getgroups): Likewise.
15398 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
15399 (geteuid): Likewise.
15400 (getgid): Likewise.
15401 (getuid): Likewise.
15402 (getresgid): Likewise.
15403 (getresuid): Likewise.
15404 (getgroups): Likewise.
15405 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
15406 Likewise.
15407 (geteuid): Likewise.
15408 (getgid): Likewise.
15409 (getuid): Likewise.
15410 (getgroups): Likewise.
15411
15412 [BZ #14138]
15413 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
15414 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
15415 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
15416 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
15417 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
15418 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
15419 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
15420 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
15421 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
15422 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
15423 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
15424 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
15425 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
15426 __chown.
15427 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
15428 (lchown): Likewise.
15429 (fchown): Likewise.
15430 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
15431 Likewise.
15432 (lchown): Likewise.
15433 (fchown): Likewise.
15434 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
15435 (lchown): Likewise.
15436 (fchown): Likewise.
15437 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
15438 Likewise.
15439 (lchown): Likewise.
15440 (fchown): Likewise.
15441
15442 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
15443
15444 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
15445 Simplify logic.
15446
15447 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
15448
15449 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
15450 Cleanup logic.
15451
15452 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
15453
15454 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
15455 Remove unused include.
15456
15457 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
15458
15459 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
15460 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
15461 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
15462 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
15463
15464 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
15465 Helge Deller <deller@gmx.de>
15466
15467 [BZ #17508]
15468 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
15469 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
15470 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
15471
15472 2014-10-23 Joseph Myers <joseph@codesourcery.com>
15473
15474 [BZ #14132]
15475 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
15476 Remove macro definition.
15477 (__ashrdi3_v_glibc20): Likewise.
15478 (__lshrdi3_v_glibc20): Likewise.
15479 (__cmpdi2_v_glibc20): Likewise.
15480 (__ucmpdi2_v_glibc20): Likewise.
15481 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
15482 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
15483 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
15484 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
15485 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
15486 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
15487
15488 2014-10-22 Roland McGrath <roland@hack.frob.com>
15489
15490 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
15491 old GNU extension [0] syntax.
15492 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
15493 alloca rather than an array member with variable length.
15494 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
15495 * nscd/nscd.c (invalidate_db): New function, broken out of ...
15496 (parse_opt): ... here. Likewise use alloca there.
15497 Validate the -i argument before checking for rootness.
15498 (send_shutdown): New function, broken out of ...
15499 (parse_opt): ... here.
15500
15501 2014-10-22 Roland McGrath <roland@hack.frob.com>
15502
15503 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
15504 macro to get at the _rt_local_ro field.
15505 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
15506 ([PIC] case) or _dl_hwcap ([!PIC] case).
15507 * sysdeps/arm/setjmp.S: Likewise.
15508
15509 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
15510 * sysdeps/arm/configure.ac: New check to define it.
15511 * sysdeps/arm/configure: Regenerated.
15512 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
15513 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
15514 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
15515 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
15516 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
15517 Use move/movt pair instead of a load.
15518 (LDST_GLOBAL): Macro removed.
15519 (LDR_GLOBAL): New macro replaces it.
15520 (LDR_HIDDEN): New macro.
15521 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
15522 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
15523
15524 * setjmp/tst-setjmp-static.c: New file.
15525 * setjmp/Makefile (tests): Add it.
15526 (tests-static): New variable.
15527
15528 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
15529
15530 [BZ #17485]
15531 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
15532
15533 2014-10-21 Joseph Myers <joseph@codesourcery.com>
15534
15535 [BZ #14132]
15536 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
15537
15538 2014-10-21 Roland McGrath <roland@hack.frob.com>
15539
15540 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
15541
15542 2014-10-20 Roland McGrath <roland@hack.frob.com>
15543
15544 * io/fts.c (dirent_not_directory): New function.
15545 (fts_build): Call it.
15546
15547 2014-10-20 Roland McGrath <roland@hack.frob.com>
15548
15549 * nptl/version.c (__nptl_main): Use normal __write rather than
15550 INTERNAL_SYSCALL.
15551 (banner): Update copyright years.
15552
15553 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
15554 gettimeofday.
15555 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
15556 * nptl/pthread_cond_timedwait.c: Likewise.
15557 * nptl/pthread_mutex_timedlock.c: Likewise.
15558 * nptl/sem_timedwait.c: Likewise.
15559
15560 * sysdeps/nptl/bits/libc-lock.h
15561 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
15562 (__libc_lock_init_recursive): Return void, not 0.
15563 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
15564 (__libc_rwlock_init): Likewise.
15565 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
15566
15567 2014-10-20 Torvald Riegel <triegel@redhat.com>
15568
15569 [BZ #15215]
15570 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
15571 (__pthread_once_slow): ... here.
15572 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
15573 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
15574
15575 2014-10-20 Torvald Riegel <triegel@redhat.com>
15576
15577 [BZ #15215]
15578 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
15579 __PTHREAD_ONCE_FORK_GEN_INCR): New.
15580 * sysdeps/nptl/fork.c (__libc_fork): Use them.
15581 * nptl/pthread_once.c (__pthread_once): Likewise.
15582 Update comments.
15583
15584 2014-10-20 Joseph Myers <joseph@codesourcery.com>
15585
15586 [BZ #14138]
15587 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
15588 name.
15589 (writev): Use __libc_writev as strong name.
15590 * sysdeps/unix/sysv/linux/readv.c: Remove file.
15591 * sysdeps/unix/sysv/linux/writev.c: Likewise.
15592
15593 2014-10-17 Roland McGrath <roland@hack.frob.com>
15594
15595 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
15596
15597 * sysdeps/i386/nptl/tls.h
15598 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
15599 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
15600 New macros.
15601 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
15602 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
15603 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
15604 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
15605 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
15606 Call CHECK_THREAD_SYSINFO instead of doing an assert.
15607
15608 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
15609 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
15610 on [__NR_futex].
15611 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
15612 broken out of ...
15613 (__pthread_mutex_init): ... here. Call it.
15614 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
15615 Conditionalize PI cases on [__NR_futex].
15616 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
15617 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
15618 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
15619
15620 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
15621 conditional on [SIGSETXID].
15622 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
15623 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
15624 is defined. Likewise for SIGSETXID.
15625 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
15626 Conditionalize definitions on [SIGSETXID].
15627 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
15628 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
15629 unblocking on [SIGCANCEL].
15630
15631 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
15632 [__NR_set_robust_list].
15633
15634 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15635
15636 * string/strcoll_l.c (get_next_seq): Fix up formatting.
15637 (do_compare): Likewise.
15638
15639 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
15640
15641 [BZ #15884]
15642 * string/strcoll_l.c: Don't include stdio.h.
15643 (coll_seq): Remove members idxarr and rulearr.
15644 (get_next_seq_cached): Remove function.
15645 (get_next_seq): Likewise.
15646 (get_next_seq_nocache): Rename to get_next_seq.
15647 (do_compare): Remove function.
15648 (do_compare_nocache): Rename to do_compare.
15649 (STRCOLL): Remove weight and rules cache.
15650
15651 2014-10-16 Roland McGrath <roland@hack.frob.com>
15652
15653 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
15654 * sysdeps/arm/sfp-machine.h: ... to here.
15655 * sysdeps/arm/Implies: Remove arm/soft-fp.
15656
15657 2014-10-14 Joseph Myers <joseph@codesourcery.com>
15658
15659 * conform/data/sys/utsname.h-data (*_t): Allow.
15660 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
15661 [POSIX] (WEXITED): Do not expect constant.
15662 [POSIX] (WSTOPPED): Likewise.
15663 [POSIX] (WNOHANG): Likewise.
15664 [POSIX] (WNOWAIT): Likewise.
15665 [POSIX] (siginfo_t): Do not expect type or elements.
15666 [POSIX] (pid_t): Do not expect type.
15667 [POSIX] (signal.h): Do not allow header.
15668 [POSIX] (sys/resource.h): Likewise.
15669 [POSIX] (si_*): Do not allow pattern.
15670 [POSIX] (W*): Likewise.
15671 [POSIX] (P_*): Likewise.
15672 [POSIX] (BUS_*): Likewise.
15673 [POSIX] (CLD_*): Likewise.
15674 [POSIX] (FPE_*): Likewise.
15675 [POSIX] (ILL_*): Likewise.
15676 [POSIX] (POLL_*): Likewise.
15677 [POSIX] (SEGV_*): Likewise.
15678 [POSIX] (SI_*): Likewise.
15679 [POSIX] (TRAP_*): Likewise.
15680 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
15681 variable.
15682
15683 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
15684
15685 [BZ #12926]
15686 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
15687 infinite loop when __recvmsg returns 0.
15688
15689 2014-10-10 Joseph Myers <joseph@codesourcery.com>
15690
15691 * CANCEL-FCT-WAIVE: Remove file.
15692 * CANCEL-FILE-WAIVE: Likewise.
15693
15694 [BZ #14132]
15695 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
15696 instead of INTVARDEF.
15697 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
15698 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
15699 rtld_hidden_data_def instead of INTVARDEF.
15700 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
15701 * elf/dl-deps.c (expand_dst): Likewise.
15702 * elf/dl-load.c (_dl_dst_count): Likewise.
15703 (_dl_dst_substitute): Likewise.
15704 (decompose_rpath): Likewise.
15705 (_dl_init_paths): Likewise.
15706 (open_path): Likewise.
15707 (_dl_map_object): Likewise.
15708 * elf/rtld.c (dl_main): Likewise.
15709 (process_dl_audit): Likewise.
15710 (process_envvars): Likewise.
15711 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
15712 Remove declaration.
15713 (__libc_enable_secure): Use rtld_hidden_proto.
15714
15715 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
15716
15717 * elf/dl-load.c
15718 (add_path): New function broken out of _dl_rtld_di_serinfo.
15719 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
15720
15721 2014-10-09 Joseph Myers <joseph@codesourcery.com>
15722
15723 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
15724 parentheses around macro arguments.
15725 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
15726 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
15727 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
15728 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
15729 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
15730 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
15731 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
15732 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
15733 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
15734 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
15735 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
15736 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
15737 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
15738 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
15739 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
15740 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
15741 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
15742 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
15743 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
15744 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
15745 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
15746 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
15747 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
15748 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
15749 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
15750 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
15751 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
15752 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
15753 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
15754 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
15755 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
15756 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
15757 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
15758 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
15759 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
15760 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
15761 Likewise.
15762 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
15763 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
15764 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
15765 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
15766 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
15767 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
15768 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
15769 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
15770 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
15771 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
15772 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
15773 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
15774 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
15775 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
15776 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
15777 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
15778 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
15779 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
15780 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
15781 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
15782 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
15783 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
15784 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
15785 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
15786 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
15787 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
15788 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
15789 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
15790 (_FP_FRAC_SRS_1): Likewise.
15791 (_FP_FRAC_CLZ_1): Likewise.
15792 (_FP_MUL_MEAT_1_imm): Likewise.
15793 (_FP_MUL_MEAT_1_wide): Likewise.
15794 (_FP_MUL_MEAT_1_hard): Likewise.
15795 (_FP_SQRT_MEAT_1): Likewise.
15796 (_FP_FRAC_ASSEMBLE_1): Likewise.
15797 (_FP_FRAC_DISASSEMBLE_1): Likewise.
15798 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
15799 (__FP_CLZ_2): Likewise.
15800 (_FP_MUL_MEAT_2_wide): Likewise.
15801 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
15802 (_FP_MUL_MEAT_2_gmp): Likewise.
15803 (_FP_MUL_MEAT_2_120_240_double): Likewise.
15804 (_FP_SQRT_MEAT_2): Likewise.
15805 (_FP_FRAC_ASSEMBLE_2): Likewise.
15806 (_FP_FRAC_DISASSEMBLE_2): Likewise.
15807 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
15808 (_FP_FRAC_CLZ_4): Likewise.
15809 (_FP_MUL_MEAT_4_wide): Likewise.
15810 (_FP_MUL_MEAT_4_gmp): Likewise.
15811 (_FP_SQRT_MEAT_4): Likewise.
15812 (_FP_FRAC_ASSEMBLE_4): Likewise.
15813 (_FP_FRAC_DISASSEMBLE_4): Likewise.
15814 * soft-fp/op-common.h (_FP_CMP): Likewise.
15815 (_FP_CMP_EQ): Likewise.
15816 (_FP_CMP_UNORD): Likewise.
15817 (_FP_TO_INT): Likewise.
15818 (_FP_FROM_INT): Likewise.
15819 [!__FP_CLZ] (__FP_CLZ): Likewise.
15820 (_FP_DIV_HELP_imm): Likewise.
15821 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
15822 Likewise.
15823 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
15824 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
15825 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
15826 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
15827 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
15828 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
15829 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
15830 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
15831 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
15832 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
15833 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
15834 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
15835 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
15836 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
15837 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
15838 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
15839 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
15840 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
15841 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
15842 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
15843 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
15844 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
15845 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
15846 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
15847 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
15848 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
15849 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
15850 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
15851 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
15852 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
15853 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
15854 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
15855 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
15856 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
15857 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
15858 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
15859 (FP_UNPACK_RAW_SP): Likewise.
15860 (FP_PACK_RAW_S): Likewise.
15861 (FP_PACK_RAW_SP): Likewise.
15862 (FP_UNPACK_S): Likewise.
15863 (FP_UNPACK_SP): Likewise.
15864 (FP_UNPACK_SEMIRAW_S): Likewise.
15865 (FP_UNPACK_SEMIRAW_SP): Likewise.
15866 (FP_PACK_S): Likewise.
15867 (FP_PACK_SP): Likewise.
15868 (FP_PACK_SEMIRAW_S): Likewise.
15869 (FP_PACK_SEMIRAW_SP): Likewise.
15870 (_FP_SQRT_MEAT_S): Likewise.
15871 (FP_CMP_S): Likewise.
15872 (FP_CMP_EQ_S): Likewise.
15873 (FP_CMP_UNORD_S): Likewise.
15874 (FP_TO_INT_S): Likewise.
15875 (FP_FROM_INT_S): Likewise.
15876
15877 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
15878
15879 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
15880 (FP_EX_INVALID_IMZ): Likewise.
15881 (FP_EX_INVALID_IMZ_FMA): Likewise.
15882 (FP_EX_INVALID_ISI): Likewise.
15883 (FP_EX_INVALID_ZDZ): Likewise.
15884 (FP_EX_INVALID_IDI): Likewise.
15885 (FP_EX_INVALID_SQRT): Likewise.
15886 (FP_EX_INVALID_CVI): Likewise.
15887 (FP_EX_INVALID_VC): Likewise.
15888 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
15889 "invalid" exceptions.
15890 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
15891 (_FP_ADD_INTERNAL): Likewise.
15892 (_FP_MUL): Likewise.
15893 (_FP_FMA): Likewise.
15894 (_FP_DIV): Likewise.
15895 (_FP_CMP_CHECK_NAN): Likewise.
15896 (_FP_SQRT): Likewise.
15897 (_FP_TO_INT): Likewise.
15898 (FP_EXTEND): Likewise.
15899
15900 2014-10-09 Allan McRae <allan@archlinux.org>
15901
15902 * po/fr.po: Update French translation from translation project.
15903
15904 2014-10-09 Joseph Myers <joseph@codesourcery.com>
15905
15906 [BZ #14132]
15907 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
15908 of INTDEF.
15909 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
15910 (__cxa_atexit): Use libc_hidden_proto.
15911 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
15912
15913 [BZ #14132]
15914 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
15915 declaration.
15916 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
15917 [!_ISOMAC] (__iswspace_l_internal): Likewise.
15918 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
15919 [!_ISOMAC] (__iswctype_internal): Likewise.
15920 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
15921 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
15922 alias.
15923 (fcntl): Remove __fcntl_internal alias.
15924 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
15925 __connect_internal alias.
15926 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
15927 Likewise.
15928
15929 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
15930 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
15931 FP_DENORM_ZERO.
15932 (_FP_CHECK_FLUSH_ZERO): New macro.
15933 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
15934 (_FP_CMP): Likewise.
15935 (_FP_CMP_EQ): Likewise.
15936 (_FP_TO_INT): Do not set inexact for subnormal arguments if
15937 FP_DENORM_ZERO.
15938 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
15939 (FP_TRUNC): Likewise.
15940
15941 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
15942 treated as invalid conversion, not as normal exponent.
15943
15944 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
15945 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
15946 (_FP_CMP_EQ): Likewise.
15947 (_FP_CMP_UNORD): Likewise.
15948 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
15949 (FP_CMP_EQ_D): Likewise.
15950 (FP_CMP_UNORD_D): Likewise.
15951 * soft-fp/extended.h (FP_CMP_E): Likewise.
15952 (FP_CMP_EQ_E): Likewise.
15953 (FP_CMP_UNORD_E): Likewise.
15954 * soft-fp/quad.h (FP_CMP_Q): Likewise.
15955 (FP_CMP_EQ_Q): Likewise.
15956 (FP_CMP_UNORD_Q): Likewise.
15957 * soft-fp/single.h (FP_CMP_S): Likewise.
15958 (FP_CMP_EQ_S): Likewise.
15959 (FP_CMP_UNORD_S): Likewise.
15960 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
15961 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
15962 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
15963 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
15964 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
15965 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
15966 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
15967 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
15968 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
15969 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
15970 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
15971 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
15972 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
15973 to FP_CMP_Q.
15974 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
15975 FP_CMP_Q.
15976 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
15977 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
15978 FP_CMP_EQ_Q.
15979 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
15980 FP_CMP_Q.
15981 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
15982 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
15983 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
15984 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
15985 FP_CMP_EQ_Q.
15986 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
15987 FP_CMP_Q.
15988 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
15989 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
15990 FP_CMP_EQ_Q.
15991 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
15992 FP_CMP_Q.
15993 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
15994 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
15995 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
15996 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
15997 FP_CMP_EQ_Q.
15998
15999 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
16000 a subnormal result, set the underflow exception if trapping on
16001 underflow is enabled.
16002 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
16003 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
16004 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
16005 redefine to 0.
16006 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
16007 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
16008 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
16009 * soft-fp/extendxftf2.c (__extendxftf2): Use
16010 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
16011
16012 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
16013 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
16014 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
16015 FP_HANDLE_EXCEPTIONS.
16016 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
16017 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
16018 FP_HANDLE_EXCEPTIONS.
16019 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
16020 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
16021 FP_HANDLE_EXCEPTIONS.
16022 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
16023 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
16024 FP_HANDLE_EXCEPTIONS.
16025
16026 2014-10-08 Joseph Myers <joseph@codesourcery.com>
16027
16028 [BZ #14132]
16029 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
16030 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
16031 use INTUSE.
16032 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
16033 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
16034 Remove alias.
16035 (__adjtimex): Define using libc_hidden_ver.
16036 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
16037 Remove declaration.
16038 (ntp_gettime): Call __adjtimex directly.
16039 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
16040 Remove declaration.
16041 (ntp_gettimex): Call __adjtimex directly.
16042 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
16043 __adjtimex_internal alias.
16044
16045 2014-10-08 Roland McGrath <roland@hack.frob.com>
16046
16047 [BZ #17460]
16048 * nscd/nscd.c (more_help): Rewrite list of tables collection
16049 using xstrdup and asprintf.
16050
16051 * nscd/nscd_conf.c: Remove local xstrdup declaration.
16052
16053 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
16054 Roland McGrath <roland@hack.frob.com>
16055
16056 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
16057 (do_lookup_unique): ... local function 'enter' here; update callers.
16058
16059 2014-10-06 Joseph Myers <joseph@codesourcery.com>
16060
16061 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
16062 compat_symbol calls on [SHARED].
16063 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
16064 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
16065 Remove.
16066 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
16067 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
16068 (oldsetrlimit): Remove.
16069 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
16070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
16071 (lchown): New syscall entry.
16072 (oldsetrlimit): Remove.
16073 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
16074 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
16075 (oldsetrlimit): Remove.
16076 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
16077
16078 [BZ #14138]
16079 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
16080 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
16081 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
16082 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
16083 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
16084 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
16085 (fchown): Likewise.
16086 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
16087 (fchown): Likewise.
16088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
16089 Likewise.
16090
16091 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16092
16093 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
16094 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
16095 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
16096 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
16097 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
16098 Likewise.
16099 (__old_sem_post): Likewise.
16100
16101 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
16102
16103 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
16104 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
16105 HAVE_CLOCK_GETTIME_VSYSCALL macros.
16106 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
16107 Use INLINE_VSYSCALL macro.
16108 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
16109 __vdso_clock_gettime.
16110 * sysdeps/unix/sysv/linux/tile/init-first.c
16111 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
16112 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
16113 __vdso_clock_gettime.
16114
16115 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
16116 to set up frame more cleanly.
16117
16118 * sysdeps/tile/memcmp.c: New file.
16119
16120 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
16121
16122 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
16123 * sysdeps/tile/tilegx/strcasestr.c: New file.
16124 * sysdeps/tile/tilegx/strnlen.c: New file.
16125 * sysdeps/tile/tilegx/strstr.c: New file.
16126
16127 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
16128
16129 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
16130
16131 * nptl/tst-setuid3.c: Write errors to stdout.
16132
16133 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
16134
16135 * elf/dl-deps.c
16136 (preload): New functions broken out of _dl_map_object_deps.
16137 (_dl_map_object_deps): Remove a nested function. Update call sites.
16138
16139 2014-10-01 Joseph Myers <joseph@codesourcery.com>
16140
16141 [BZ #14138]
16142 * sysdeps/unix/sysv/linux/execve.c: Remove file.
16143 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
16144
16145 2014-10-01 Steve Ellcey <sellcey@mips.com>
16146
16147 * sysdeps/mips/strcmp.S: New.
16148
16149 2014-09-30 Joseph Myers <joseph@codesourcery.com>
16150
16151 [BZ #14138]
16152 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
16153 (linkat): Likewise.
16154 (mkdirat): Likewise.
16155 (readlinkat): Likewise.
16156 (renameat): Likewise.
16157 (symlinkat): Likewise.
16158 (unlinkat): Likewise.
16159 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
16160 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
16161 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
16162 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
16163 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
16164 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
16165 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
16166
16167 2014-09-30 Will Newton <will.newton@linaro.org>
16168
16169 * math/math.h: Define long double math functions if
16170 _LIBC_TEST is defined.
16171 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
16172
16173 * localedata/Makefile: Move assignment to tests-special
16174 into an ifdef testing run-built-tests.
16175 * timezone/Makefile: Likewise.
16176
16177 2014-09-29 Joseph Myers <joseph@codesourcery.com>
16178
16179 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
16180 with $(BASH) not $(SHELL).
16181
16182 2014-09-29 Carlos O'Donell <carlos@redhat.com>
16183 Matthew LeGendre <legendre1@llnl.gov>
16184
16185 [BZ #17411]
16186 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
16187 l_reloc_result.
16188
16189 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
16190
16191 * stdio-common/printf_fp.c
16192 (hack_digit): New function, broken out of ...
16193 (__printf_fp): ... local function here. Update call sites.
16194 hack_digit now takes an additional parameter that is a pointer
16195 to a struct of the referenced locals. Those locals moved inside
16196 the struct and references updated.
16197
16198 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
16199
16200 * aclocal.m4: Require autoconf 2.69.
16201 * configure: Regenerated.
16202 * sysdeps/aarch64/configure: Likewise.
16203 * sysdeps/alpha/configure: Likewise.
16204 * sysdeps/arm/armv7/configure: Likewise.
16205 * sysdeps/arm/configure: Likewise.
16206 * sysdeps/ia64/configure: Likewise.
16207 * sysdeps/mach/configure: Likewise.
16208 * sysdeps/mips/configure: Likewise.
16209 * sysdeps/s390/configure: Likewise.
16210 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
16211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
16212
16213 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
16214 file.
16215 * sysdeps/ia64/configure.ac: Likewise.
16216
16217 2014-09-26 Joseph Myers <joseph@codesourcery.com>
16218
16219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
16220 specify symbol version for ld.so. Do not include entry for
16221 libpthread.
16222 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
16223 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
16224 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
16225
16226 [BZ #14171]
16227 * Makeconfig [$(build-shared) = yes]
16228 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
16229 makefiles.
16230 [$(build-shared) = yes && $(soversions.mk-done) = t]
16231 ($(common-objpfx)gnu/lib-names.h): Remove rule.
16232 [$(build-shared) = yes && $(soversions.mk-done) = t]
16233 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
16234 to Makerules.
16235 [$(build-shared) = yes && $(soversions.mk-done) = t]
16236 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
16237 here.
16238 [$(build-shared) = yes && $(soversions.mk-done) = t]
16239 (common-generated): Don't append gnu/lib-names.h and
16240 gnu/lib-names.stmp here.
16241 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
16242 (lib-names-h-abi): New variable.
16243 [$(build-shared) = yes && $(soversions.mk-done) = t]
16244 (lib-names-stmp-abi): Likewise.
16245 [$(build-shared) = yes && $(soversions.mk-done) = t &&
16246 abi-variants] (before-compile): Append
16247 $(common-objpfx)$(lib-names-h-abi).
16248 [$(build-shared) = yes && $(soversions.mk-done) = t &&
16249 abi-variants] (common-generated): Append gnu/lib-names.h.
16250 [$(build-shared) = yes && $(soversions.mk-done) = t &&
16251 abi-variants] (install-others-nosubdir): Depend on
16252 $(inst_includedir)/$(lib-names-h-abi).
16253 [$(build-shared) = yes && $(soversions.mk-done) = t &&
16254 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
16255 [$(build-shared) = yes && $(soversions.mk-done) = t]
16256 ($(common-objpfx)$(lib-names-h-abi)): New rule.
16257 [$(build-shared) = yes && $(soversions.mk-done) = t]
16258 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
16259 [$(build-shared) = yes && $(soversions.mk-done) = t]
16260 (common-generated): Append $(lib-names-h-abi) and
16261 $(lib-names-stmp-abi).
16262 * scripts/lib-names.awk: Do not handle multi being set.
16263 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
16264 Remove variable.
16265 (abi-lp64_be-ld-soname): Likewise.
16266 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
16267 Likewise.
16268 (abi-hard-ld-soname): Likewise.
16269 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
16270 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
16271 Remove variable.
16272 (abi-o32_hard-ld-soname): Likewise.
16273 (abi-o32_soft_2008-ld-soname): Likewise.
16274 (abi-o32_hard_2008-ld-soname): Likewise.
16275 (abi-n32_soft-ld-soname): Likewise.
16276 (abi-n32_hard-ld-soname): Likewise.
16277 (abi-n32_soft_2008-ld-soname): Likewise.
16278 (abi-n32_hard_2008-ld-soname): Likewise.
16279 (abi-n64_soft-ld-soname): Likewise.
16280 (abi-n64_hard-ld-soname): Likewise.
16281 (abi-n64_soft_2008-ld-soname): Likewise.
16282 (abi-n64_hard_2008-ld-soname): Likewise.
16283 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
16284 Likewise.
16285 (abi-64-v2-ld-soname): Likewise.
16286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
16287 ld.so entries.
16288 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
16289 variable.
16290 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
16291 entry.
16292 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
16293 variable.
16294 (abi-64-ld-soname): Likewise.
16295 (abi-x32-ld-soname): Likewise.
16296 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
16297 entry.
16298 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
16299
16300 2014-09-23 Joseph Myers <joseph@codesourcery.com>
16301
16302 [BZ #14138]
16303 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
16304 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
16305 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
16306 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
16307 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
16308 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
16309 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
16310 syscall entry for GLIBC_2.2 symbol version.
16311 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
16312 Likewise.
16313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
16314 (setrlimit): Likewise.
16315 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
16316 Likewise.
16317
16318 2014-09-23 Will Newton <will.newton@linaro.org>
16319
16320 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
16321 _LINUX_ARM_SYSDEP_H include guard too.
16322 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
16323 define.
16324
16325 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
16326
16327 * sysdeps/unix/sysv/linux/eventfd.c:
16328 Make first argument unsigned.
16329 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
16330 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
16331
16332 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
16333
16334 * socket/recvmmsg.c (recvmmsg): Drop const argument.
16335 * socket/sys/socket.h: Likewise
16336 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
16337
16338 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16339
16340 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
16341
16342 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
16343
16344 * time/tst-ftime.c: New test.
16345 * time/Makefile (tests): Add tst-ftime.
16346
16347 2014-09-17 Joseph Myers <joseph@codesourcery.com>
16348
16349 * soft-fp/extended.h: Fix comment formatting.
16350 * soft-fp/op-1.h: Likewise.
16351 * soft-fp/op-2.h: Likewise.
16352 * soft-fp/op-4.h: Likewise.
16353 * soft-fp/op-8.h: Likewise.
16354 * soft-fp/op-common.h: Likewise.
16355 * soft-fp/soft-fp.h: Likewise.
16356
16357 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
16358
16359 2014-09-16 Joseph Myers <joseph@codesourcery.com>
16360
16361 [BZ #6652]
16362 * Makeconfig (soversions-default-setname): Remove variable.
16363 ($(common-objpfx)soversions.i): Don't pass default_setname to
16364 soversions.awk.
16365 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
16366 oldest_abi to abi-versions.awk.
16367 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
16368 * config.make.in (oldest-abi): Remove variable.
16369 * configure.ac (--enable-oldest-abi): Remove configure option.
16370 * configure: Regenerated.
16371 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
16372 text.
16373 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
16374 * scripts/soversions.awk: Do not handle default_setname variable.
16375 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
16376 variable.
16377 * sysdeps/mach/hurd/configure: Regenerated.
16378 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
16379 variable.
16380 * sysdeps/unix/sysv/linux/configure: Regenerated.
16381
16382 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16383
16384 * elf/Makefile (CFLAGS-interp.c): Remove.
16385 ($(elf-objpfx)runtime-linker.h): Generate header with linker
16386 path string.
16387 * elf/interp.c: Include generated runtime-linker.h
16388
16389 * Makerules (lib%.so): Don't include $(+interp) in
16390 prerequisites.
16391 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
16392 * dlfcn/eval.c: Remove file.
16393
16394 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
16395 macros.
16396
16397 [BZ #17266]
16398 * misc/sys/cdefs.h: Define __extern_always_inline for clang
16399 4.2 and newer.
16400
16401 [BZ #17370]
16402 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
16403
16404 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16405 Jakub Jelinek <jakub@redhat.com>
16406
16407 [BZ #17266]
16408 * libio/stdio.h: Check definition of __fortify_function
16409 instead of __extern_always_inline to include bits/stdio2.h.
16410 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
16411 check if __extern_always_inline is defined.
16412 [__USE_MISC || __USE_XOPEN]: Likewise.
16413 [__USE_ISOC99] Likewise.
16414 * misc/sys/cdefs.h (__fortify_function): Define only if
16415 __extern_always_inline is defined.
16416 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
16417 __extern_always_inline and __extern_inline only for g++-4.3
16418 and newer or a compatible gcc.
16419
16420 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
16421
16422 [BZ #17371]
16423 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
16424 last change to handle zero prefix length.
16425
16426 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16427
16428 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
16429 _SC_REGEX_VERSION.
16430
16431 * posix/getconf.c (vars): Add _POSIX_IPV6 and
16432 _POSIX_RAW_SOCKETS.
16433
16434 2014-09-13 Allan McRae <allan@archlinux.org>
16435
16436 * po/ru.po: Update Russian translation from translation project.
16437
16438 2014-09-12 Roland McGrath <roland@hack.frob.com>
16439
16440 * locale/programs/locale.c (show_locale_vars): Inline local function
16441 into its sole call site. Clean up some style nits.
16442 (print_item): New function, broken out of ...
16443 (show_info): ... local function here. Clean up style nits.
16444
16445 * locale/programs/ld-ctype.c (set_one_default): New function, broken
16446 out of ...
16447 (set_class_defaults): ... local function set_default here.
16448 Define set_default as a macro locally to pass constant parameters.
16449 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
16450 rather than a shared local.
16451
16452 * stdlib/rpmatch.c (try): New function, broken out of ...
16453 (rpmatch): ... local function here. Also, prototypify definition.
16454
16455 2014-09-12 Joseph Myers <joseph@codesourcery.com>
16456
16457 * scripts/soversions.awk: Do not handle configuration names.
16458 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
16459 vendor and os variables to soversions.awk.
16460 * configure.ac: Do not modify gnu-* host_os.
16461 * configure: Regenerated
16462 * shlib-versions: Remove first column with configuration names.
16463 * nptl/shlib-versions: Likewise.
16464 * nptl_db/shlib-versions: Likewise.
16465 * sysdeps/hppa/shlib-versions: Likewise.
16466 * sysdeps/m68k/shlib-versions: Likewise.
16467 * sysdeps/mach/hurd/shlib-versions: Likewise.
16468 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
16469 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
16470 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
16471 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
16472 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
16473 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
16474 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
16475 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
16476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
16477 Likewise.
16478 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
16479 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
16480 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
16481 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
16482 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
16483 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
16484 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
16485 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
16486
16487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
16488 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
16489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
16490 Regenerated.
16491 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
16492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
16493 Condition symbol version definitions on [HAVE_ELFV2_ABI].
16494
16495 * shlib-versions: Remove OS-specific entries. Moved to files in
16496 sysdeps.
16497 * sysdeps/mach/hurd/shlib-versions: New file.
16498 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
16499
16500 * nptl/shlib-versions: Remove architecture-specific entries.
16501 Moved to files in sysdeps.
16502 * shlib-versions: Likewise.
16503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
16504 file.
16505 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
16506 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
16507 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
16508 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
16509
16510 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
16511 (UDP_NO_CHECK6_RX): Likewise.
16512
16513 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
16514
16515 * sysdeps/posix/sysconf.c (__sysconf): Spell
16516 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
16517
16518 2014-08-12 Florian Weimer <fweimer@redhat.com>
16519
16520 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
16521 loading.
16522 * iconv/Versions (__gconv_transliterate): Export for use from
16523 gconv modules.
16524 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
16525 (struct __gconv_trans_data, __gconv_trans_fct,
16526 __gconv_trans_context_fct, __gconv_trans_query_fct,
16527 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
16528 definitions.
16529 (struct __gconv_step_data): Remove __trans member.
16530 (__gconv_transliterate): Declaration moved from gconv_int.h. No
16531 longer hidden. Remove unused trans_data argument.
16532 * iconv/gconv_int.h (struct trans_struct): Remove definition.
16533 (__gconv_translit_find): Remove declaration.
16534 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
16535 prototype.
16536 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
16537 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
16538 trans_data argument. Add hidden definition.
16539 (__gconv_translit_find): Remove.
16540 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
16541 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
16542 * iconv/skeleton.c: Remove transliteration initialization.
16543 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
16544 __gconv_step_data initialization.
16545 * libio/iofwide.c (__libio_translit_): Remove.
16546 (_IO_fwide): Adjust struct __gconv_step_data initialization.
16547 * wcsmbs/btowc.c (__btowc): Likewise.
16548 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
16549 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
16550 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
16551 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
16552 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
16553 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
16554 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
16555 * wcsmbs/wctob.c (wctob): Likewise.
16556
16557 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
16558
16559 [BZ #16194]
16560 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
16561 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
16562 register usage.
16563 * sysdeps/x86/Makefile: Adjust.
16564
16565 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
16566 Roland McGrath <roland@hack.frob.com>
16567
16568 * locale/weight.h: Add include guard.
16569 (findidx): Make static rather than auto; take new parameters
16570 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
16571 * locale/weightwc.h: Likewise.
16572 * posix/fnmatch_loop.c
16573 (FCT): Change type of EXTRA from int32_t to wint_t.
16574 Don't include either header inside the function.
16575 Call FINDIDX rather than findidx, and pass new arguments.
16576 #undef FINDIDX at the end of the file.
16577 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
16578 FINDIDX before including fnmatch_loop.c for the non-wide version.
16579 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
16580 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
16581 for the wide version.
16582 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
16583 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
16584 Pass new arguments to findidx.
16585 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
16586 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
16587 Don't #include it inside the function. Pass new arguments to findidx.
16588 * posix/regex_internal.h
16589 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
16590 (re_string_elem_size_at): Don't #include it inside the function.
16591 Pass new arguments to findidx.
16592 * string/strcoll_l.c: #include WEIGHT_H at top level.
16593 (get_next_seq): Don't #include it inside the function.
16594 Pass new arguments to findidx.
16595 (get_next_seq_nocache): Likewise.
16596 * string/strxfrm_l.c: #include WEIGHT_H at top level.
16597 (STRXFRM): Don't #include it inside the function.
16598 Pass new arguments to findidx.
16599
16600 2014-09-11 Florian Weimer <fweimer@redhat.com>
16601
16602 [BZ #17344]
16603 * malloc/malloc.c (unlink): Turn asserts into a call to
16604 malloc_printerr.
16605
16606 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
16607
16608 [BZ #17370]
16609 * libio/wfileops (do_ftell_wide): Free OUT.
16610
16611 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
16612
16613 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
16614
16615 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16616
16617 [BZ #17363]
16618 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
16619 group if the current group is empty.
16620
16621 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16622
16623 * benchtests/bench-memset.c (test_main): Add more test from size
16624 from 32 to 512 bytes.
16625 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
16626 Add POWER8 memset object.
16627 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16628 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
16629 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
16630 implementation.
16631 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
16632 Likewise.
16633 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
16634 multiarch POWER8 memset optimization.
16635 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
16636 POWER8 memset optimization.
16637
16638 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
16639 Remove bzero multiarch objects.
16640 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
16641 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
16642 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
16643 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
16644 Remove define.
16645 [__bzero]: Redefine to specific name.
16646 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
16647 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
16648 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
16649 define.
16650 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
16651 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
16652
16653 2014-09-10 Florian Weimer <fweimer@redhat.com>
16654
16655 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
16656 warnings into errors.
16657
16658 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
16659 __cxa_thread_atexit_impl prototype.
16660
16661 2014-09-09 Steve Ellcey <sellcey@mips.com>
16662
16663 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
16664 Fix capitalization of error message.
16665
16666 2014-09-09 Steve Ellcey <sellcey@mips.com>
16667
16668 * sysdeps/mips/preconfigure: Modify ABI tests.
16669
16670 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
16671
16672 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
16673
16674 2014-09-07 Roland McGrath <roland@hack.frob.com>
16675 Carlos O'Donell <carlos@systemhalted.org>
16676
16677 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
16678 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
16679 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
16680 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
16681 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
16682 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
16683 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
16684 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
16685 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
16686 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
16687 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
16688 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
16689 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
16690 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
16691 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
16692 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
16693 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
16694 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
16695 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
16696 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
16697 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
16698 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
16699 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
16700 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
16701 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
16702 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
16703 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
16704 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
16705 Deconditionalize the code that was previously under [RESET_PID].
16706 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
16707 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
16708 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
16709 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
16710 include sysdep.h.
16711
16712 2014-09-08 Allan McRae <allan@archlinux.org>
16713
16714 * version.h (RELEASE): Set to "development".
16715 (VERSION): Set to "2.20.90"
16716
16717 2014-09-07 Allan McRae <allan@archlinux.org
16718
16719 * version.h (RELEASE): Set to "stable".
16720 (VERSION): Set to "2.20"
16721 * include/features.h (__GLIBC_MINOR__): Set to 20.
16722
16723 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
16724 Liebler.
16725
16726 * po/ko.po: Update Korean translation from translation project.
16727
16728 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
16729
16730 [BZ #17354]
16731 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
16732 macro for handling signed relocations.
16733
16734 2014-09-03 Florian Weimer <fweimer@redhat.com>
16735
16736 [BZ #17325]
16737 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
16738 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
16739 assert.
16740 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
16741 * iconvdata/ibm935.c (BODY): Likewise.
16742 * iconvdata/ibm937.c (BODY): Likewise.
16743 * iconvdata/ibm939.c (BODY): Likewise.
16744 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
16745 assert.
16746 * iconvdata/Makefile (iconv-test.out): Pass module list to test
16747 script.
16748 * iconvdata/run-iconv-test.sh: New test loop for checking for
16749 decoder crashers.
16750
16751 2014-09-02 Khem Raj <raj.khem@gmail.com>
16752
16753 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
16754 libm_hidden_ver.
16755
16756 2014-09-01 Allan McRae <allan@archlinux.org>
16757
16758 * po/eo.po: Update Esperanto translation from translation project.
16759
16760 * po/ca.po: Update Catalan translation from translation project.
16761
16762 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
16763
16764 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
16765 __proc_dostop call.
16766
16767 2014-08-27 Mark Wielaard <mjw@redhat.com>
16768
16769 [BZ #17319]
16770 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
16771 to call set_thread_area instead of hand written asm.
16772 (__NR_set_thread_area): Removed define.
16773 (TLS_FLAG_WRITABLE): Likewise.
16774 (__ASSUME_SET_THREAD_AREA): Remove check.
16775 (TLS_EBX_ARG): Remove define.
16776 (TLS_LOAD_EBX): Likewise.
16777
16778 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
16779
16780 Simplify atomicity of socket creation in bind.
16781
16782 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
16783 looking up the name after linking the file.
16784
16785 2014-08-27 Allan McRae <allan@archlinux.org>
16786
16787 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
16788
16789 2014-08-26 Florian Weimer <fweimer@redhat.com>
16790
16791 [BZ #17187]
16792 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
16793 trans_compare, open_translit, __gconv_translit_find):
16794 Remove module loading code.
16795
16796 2014-08-26 Allan McRae <allan@archlinux.org>
16797
16798 * po/vi.po: Update Vietnamese translation from translation project.
16799
16800 * po/uk.po: Update Ukrainian translation from translation project.
16801
16802 * po/fr.po: Update French translation from translation project.
16803
16804 * po/ru.po: Update Russian translation from translation project.
16805
16806 * po/pl.po: Update Polish translation from translation project.
16807
16808 * po/cs.po: Update Czech translation from translation project.
16809
16810 * po/de.po: Update German translation from translation project.
16811
16812 * po/bg.po: Update Bulgarian translation from translation project.
16813
16814 * po/sv.po: Update Sweedish translation from translation project.
16815
16816 * po/nl.po: Update Dutch translation from translation project.
16817
16818 * po/es.po: Update Spanish translation from translation project.
16819
16820 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16821
16822 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
16823
16824 * catgets/Makefile (CPPFLAGS-gencat): Remove.
16825 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
16826 (CPPFLAGS-iconvconfig): Likewise.
16827 * timezone/Makefile (CPPFLAGS-zic): Likewise.
16828
16829 * include/libc-symbols.h: Remove unnecessary check for
16830 NOT_IN_libc.
16831 * nptl/pthreadP.h: Likewise.
16832 * sysdeps/aarch64/setjmp.S: Likewise.
16833 * sysdeps/alpha/setjmp.S: Likewise.
16834 * sysdeps/arm/sysdep.h: Likewise.
16835 * sysdeps/i386/setjmp.S: Likewise.
16836 * sysdeps/m68k/setjmp.c: Likewise.
16837 * sysdeps/posix/getcwd.c: Likewise.
16838 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
16839 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
16840 * sysdeps/s390/s390-32/setjmp.S: Likewise.
16841 * sysdeps/s390/s390-64/setjmp.S: Likewise.
16842 * sysdeps/sh/sh3/setjmp.S: Likewise.
16843 * sysdeps/sh/sh4/setjmp.S: Likewise.
16844 * sysdeps/unix/alpha/sysdep.h: Likewise.
16845 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
16846 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
16847 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
16848 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
16849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
16850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
16851 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
16852 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
16853 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
16854 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
16855 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16856 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
16857 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
16858 * sysdeps/x86_64/setjmp.S: Likewise.
16859
16860 2014-08-13 Joseph Myers <joseph@codesourcery.com>
16861
16862 [BZ #17263]
16863 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
16864 <stdint.h>.
16865 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
16866 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
16867
16868 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
16869
16870 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
16871
16872 [BZ #17262]
16873 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
16874 and __x86_64__ when disabling x87 inline functions.
16875
16876 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
16877
16878 [BZ #17259]
16879 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
16880 asm statement with __cpuid_count.
16881
16882 2014-08-12 Mike Frysinger <vapier@gentoo.org>
16883
16884 * configure.ac: Change __ehdr_start code to dereference the struct.
16885 Run readelf on the output to look for relocations.
16886 * configure: Regenerated.
16887
16888 2014-08-12 Joseph Myers <joseph@codesourcery.com>
16889
16890 [BZ #17261]
16891 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
16892 value to 0.
16893 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
16894
16895 2014-08-12 Roland McGrath <roland@hack.frob.com>
16896
16897 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
16898
16899 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
16900
16901 [BZ #16892]
16902 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
16903 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
16904
16905 2014-08-12 Sean Anderson <seanga2@gmail.com>
16906
16907 * malloc/malloc.c: Fix typo in comment.
16908
16909 2014-08-09 Allan McRae <allan@archlinux.org>
16910
16911 * Regenerate libc.po.
16912
16913 2014-08-08 Mike Frysinger <vapier@gentoo.org>
16914
16915 * intl/tst-gettext2.sh: Check every lang file for creation.
16916
16917 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
16918
16919 * sysdeps/aarch64/fpu/math_private.h
16920 (libc_feholdsetround_noex_aarch64_ctx): New function.
16921
16922 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
16923
16924 * sysdeps/arm/armv6/strcpy.S (strcpy):
16925 Fix performance issue in misaligned cases.
16926
16927 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16928
16929 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
16930 Move definition from termios.h.
16931 (struct termio): Likewise.
16932 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
16933 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
16934 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
16935 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
16936 Likewise.
16937 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
16938 Move definition to ioctl-types.h
16939 (struct termio): Likewise.
16940 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
16941 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
16942 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
16943 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
16944 Likewise.
16945
16946 2014-08-05 Richard Henderson <rth@redhat.com>
16947
16948 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
16949 exceptions.
16950 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
16951 Add fraiseexcpt.
16952 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
16953 Use __feraiseexcept.
16954 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
16955 Protect libm symbols with IS_IN_libm.
16956
16957 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
16958
16959 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
16960
16961 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
16962
16963 2014-08-04 Will Newton <will.newton@linaro.org>
16964
16965 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
16966 file.
16967
16968 2014-08-04 Mike Frysinger <vapier@gentoo.org>
16969
16970 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
16971 variants for each function.
16972
16973 2014-08-04 Roland McGrath <roland@hack.frob.com>
16974
16975 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
16976 appended ...
16977 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
16978 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
16979 appended ...
16980 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
16981 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
16982 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
16983 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
16984 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
16985 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
16986 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
16987 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
16988 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
16989 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
16990 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
16991 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
16992 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
16993 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
16994 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
16995 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
16996 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
16997 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
16998 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
16999 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
17000 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
17001 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
17002 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
17003 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
17004 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
17005 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
17006 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
17007 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
17008 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
17009 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
17010 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
17011 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
17012 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
17013 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
17014 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
17015 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
17016 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
17017 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
17018 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
17019 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
17020 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
17021 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
17022 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
17023 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
17024 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
17025 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
17026 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
17027 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
17028 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
17029 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
17030 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
17031 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
17032 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
17033 Update #include.
17034 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
17035 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
17036
17037 2014-08-04 Roland McGrath <roland@hack.frob.com>
17038
17039 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
17040 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
17041 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
17042 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
17043 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
17044 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
17045
17046 2014-08-04 Roland McGrath <roland@hack.frob.com>
17047
17048 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
17049 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
17050 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17051 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
17052
17053 2014-08-04 Roland McGrath <roland@hack.frob.com>
17054
17055 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
17056 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
17057 (__libc_vfork): Define function under this name.
17058 (__vfork): Define as an alias.
17059 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
17060 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
17061
17062 2014-08-04 Roland McGrath <roland@hack.frob.com>
17063
17064 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
17065 that was previously under [RESET_PID].
17066 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
17067
17068 2014-08-04 Andreas Schwab <schwab@suse.de>
17069
17070 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
17071
17072 2014-08-03 Mike Frysinger <vapier@gentoo.org>
17073
17074 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
17075 (main): Likewise.
17076
17077 2014-08-01 Roland McGrath <roland@hack.frob.com>
17078
17079 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
17080
17081 2014-08-01 Richard Henderon <rth@redhat.com>
17082
17083 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
17084 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
17085 typo in exact zero test.
17086 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17087 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17088 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17089
17090 2014-08-01 Roland McGrath <roland@hack.frob.com>
17091
17092 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
17093 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
17094 * sysdeps/arm/sysdep.h: ... here.
17095 [!__ASSEMBLER__]: Include <stdint.h>.
17096
17097 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
17098
17099 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
17100 (HAVE_WCTYPE_H): Likewise.
17101 (HAVE_ISWCTYPE): Likewise.
17102 (ENABLE_NLS): Likewise.
17103 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
17104 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
17105
17106 * posix/regex_internal.c: Check if DEBUG is defined and is
17107 set.
17108
17109 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
17110 (HAVE_MBSRTOWCS): Likewise.
17111 * posix/fnmatch.c: Include string.h unconditionally.
17112
17113 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
17114
17115 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
17116 reversal.
17117
17118 2014-07-31 Roland McGrath <roland@hack.frob.com>
17119
17120 * sysdeps/generic/safe-fatal.h: New file.
17121 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
17122 * nptl/forward.c: Include it.
17123 (__pthread_unwind): Use __safe_fatal as default action, rather
17124 than a bogus use of INTERNAL_SYSCALL that could never work.
17125
17126 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
17127 * configure.ac (libc_cv_builtin_trap): New test.
17128 * configure: Regenerated.
17129 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
17130 (ABORT_INSTRUCTION): Define using __builtin_trap.
17131
17132 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
17133 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
17134 * sysdeps/nptl/nptl-signals.h: New file.
17135 * nptl/pthreadP.h: Include <nptl-signals.h>.
17136
17137 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
17138
17139 * sysdeps/s390/s390-64/utf16-utf32-z9.c
17140 (ONE_DIRECTION): Define.
17141 * sysdeps/s390/s390-64/utf8-utf16-z9.c
17142 (ONE_DIRECTION): Define.
17143 * sysdeps/s390/s390-64/utf8-utf32-z9.c
17144 (ONE_DIRECTION): Define.
17145
17146 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
17147
17148 * sysdeps/s390/Makefile: Delete file.
17149 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
17150 * sysdeps/s390/__longjmp.c: Delete file.
17151 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
17152 Remove fields __flags and __reserved.
17153 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
17154 and add versioning.
17155 * sysdeps/s390/rtld-__longjmp.c: Delete file.
17156 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
17157 * sysdeps/s390/rtld-setjmp.S: Likewise.
17158 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
17159 * sysdeps/s390/s390-32/__longjmp.c: ... here.
17160 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
17161 * sysdeps/s390/s390-32/setjmp.S: ... here.
17162 Add versioning.
17163 (__sigsetjmp): Remove setting __flags field.
17164 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
17165 * sysdeps/s390/s390-64/__longjmp.c: ... here.
17166 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
17167 * sysdeps/s390/s390-64/setjmp.S: ... here.
17168 Add versioning.
17169 (__sigsetjmp): Remove setting __flags field.
17170 * sysdeps/s390/setjmp.S: Delete file.
17171 * sysdeps/s390/sigjmp.c: Likewise.
17172 * sysdeps/s390/v1-longjmp.c: Likewise.
17173 * sysdeps/s390/v1-setjmp.h: Likewise.
17174 * sysdeps/s390/v1-sigjmp.c: Likewise.
17175 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
17176 Remove v1-longjmp_chk.
17177 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
17178 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
17179 Include debug/longjmp_chk.c and add versioning.
17180 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
17181 Include nptl/pt-longjmp.c and add versioning.
17182 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
17183 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
17184 Include __longjmp.c.
17185 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
17186 Move to ...
17187 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
17188 (__getcontext): Remove setting __flags field.
17189 Add versioning.
17190 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
17191 Don't restore upper high grps.
17192 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
17193 Likewise.
17194 (__swapcontext): Remove setting uc_flags field.
17195 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
17196 Delete file.
17197 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
17198 Include __longjmp.c.
17199 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
17200 Move to ...
17201 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
17202 (__getcontext): Remove setting __flags field.
17203 Add versioning.
17204 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
17205 (__swapcontext): Remove setting uc_flags field.
17206 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
17207 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
17208 Remove fields uc_high_gprs and __reserved.
17209 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
17210 New file with reverted content.
17211 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
17212 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
17213 Regenerated.
17214 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
17215 Regenerated.
17216
17217 2014-07-31 Andreas Schwab <schwab@suse.de>
17218
17219 * config.h.in (HAVE_IFUNC): Define to 0.
17220 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
17221 definedness.
17222
17223 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
17224
17225 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17226 memmove-avx-unaligned, memcpy-avx-unaligned and
17227 mempcpy-avx-unaligned.
17228 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17229 Add tests for AVX memcpy functions.
17230 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
17231 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
17232 memcpy_chk.
17233 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
17234 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
17235 memmove_chk.
17236 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
17237 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
17238 mempcpy_chk.
17239 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
17240 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
17241 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
17242
17243 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17244
17245 [BZ #17213]
17246 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
17247 powerpc64le.
17248
17249 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
17250
17251 [BZ #16839]
17252 * manual/llio.texi: Add section about open file description locks.
17253 * manual/examples/ofdlocks.c: Example of open file description
17254 lock usage.
17255 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
17256 F_OFD_SETLK, and F_OFD_SETLKW.
17257
17258 2014-07-23 Allan McRae <allan@archlinux.org>
17259
17260 * po/es.po: Update Spanish translation from translation project.
17261
17262 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
17263
17264 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
17265
17266 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
17267
17268 [BZ #17078]
17269 * sysdeps/arm/dl-machine.h (elf_machine_rela)
17270 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
17271 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
17272
17273 2014-07-17 Joseph Myers <joseph@codesourcery.com>
17274
17275 [BZ #17088]
17276 * math/fesetenv.c (__fesetenv)
17277 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
17278 * math/feupdateenv.c (__feupdateenv)
17279 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
17280
17281 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
17282 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
17283 (__ASSUME_SOCKETCALL): Do not define.
17284
17285 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
17286 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
17287 (__ASSUME_SOCKETCALL): Do not define.
17288 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
17289 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
17290 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
17291 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
17292 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17293 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
17294 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17295 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17296
17297 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
17298 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
17299 (__ASSUME_SOCKETCALL): Do not define.
17300 (__ASSUME_IPC64): Define unconditionally.
17301 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
17302 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
17303 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
17304 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17305 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
17306 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17307 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
17308 Likewise.
17309
17310 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
17311 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
17312 (__ASSUME_SOCKETCALL): Do not define.
17313 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
17314 (__ASSUME_FUTEX_LOCK_PI): Likewise.
17315 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
17316 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
17317 (__ASSUME_REQUEUE_PI): Define unconditionally.
17318 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
17319 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
17320 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17321 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
17322 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17323 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17324
17325 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
17326 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
17327 (__ASSUME_SOCKETCALL): Do not define.
17328 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
17329 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17330 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17331 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
17332 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17333 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17334
17335 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
17336 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
17337 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
17338 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
17339 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17340 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
17341 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17342 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
17343 (__ASSUME_GETCPU_SYSCALL): Likewise.
17344
17345 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
17346 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
17347 cases for individual architectures.
17348 * sysdeps/gnu/configure: Regenerated.
17349 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
17350 LIBC_SLIBDIR_RTLDDIR.
17351 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
17352 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
17353 LIBC_SLIBDIR_RTLDDIR.
17354 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
17355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
17356 LIBC_SLIBDIR_RTLDDIR.
17357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
17358 Regenerated.
17359 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
17360 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
17361 file.
17362 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
17363 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
17364 file.
17365 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
17366 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
17367 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
17368 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
17369
17370 * sysdeps/aarch64/shlib-versions: Move to ...
17371 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
17372 * sysdeps/alpha/shlib-versions: Move to ...
17373 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
17374 * sysdeps/arm/shlib-versions: Move to ...
17375 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
17376 * sysdeps/hppa/shlib-versions: Move all contents except for
17377 libgcc_s entry to ...
17378 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
17379 entry from ...
17380 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
17381 * sysdeps/ia64/shlib-versions: Move to ...
17382 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
17383 entry from ...
17384 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
17385 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
17386 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
17387 * sysdeps/microblaze/shlib-versions: Move to ...
17388 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
17389 * sysdeps/mips/shlib-versions: Move to ...
17390 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
17391 entry from ...
17392 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
17393 * sysdeps/tile/shlib-versions: Move to ...
17394 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
17395 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
17396 from ...
17397 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
17398 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
17399 entry from ...
17400 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
17401
17402 2014-07-17 Will Newton <will.newton@linaro.org>
17403
17404 * sysdeps/arm/bits/atomic.h
17405 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
17406 (__arch_compare_and_exchange_bool_16_int): Likewise.
17407 (__arch_compare_and_exchange_bool_64_int): Likewise.
17408
17409 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
17410 into an #else block.
17411
17412 2014-07-16 Roland McGrath <roland@hack.frob.com>
17413
17414 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
17415 just Linux configurations. Test empirically that the compiler sets
17416 __ARM_EABI__, rather than using the tuple to decide.
17417 * sysdeps/arm/preconfigure: Regenerated.
17418 * sysdeps/unix/sysv/linux/arm/configure: File removed.
17419 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
17420 contents appended ...
17421 * sysdeps/arm/configure.ac: ... here.
17422 * sysdeps/arm/configure: Regenerated.
17423
17424 2014-07-15 Roland McGrath <roland@hack.frob.com>
17425
17426 * nptl/pthread_kill.c: New file.
17427 * nptl/pthread_sigmask.c: New file.
17428 * nptl/pthread_sigqueue.c: New file.
17429
17430 * sysdeps/nptl/lowlevellock.h: New file.
17431 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
17432 * sysdeps/nptl/lowlevellock-futex.h: New file.
17433
17434 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
17435 Remove dead declarations.
17436
17437 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
17438
17439 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
17440 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
17441 config-cflags-avx2.
17442 * sysdeps/x86_64/configure.ac: Likewise.
17443 * sysdeps/i386/configure: Regenerated.
17444 * sysdeps/x86_64/configure: Likewise.
17445 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17446 memset-avx2 only if config-cflags-avx2 is yes.
17447 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17448 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
17449 defined.
17450 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
17451 only if HAVE_AVX2_SUPPORT is defined.
17452 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17453
17454 2014-07-14 Alan Modra <amodra@gmail.com>
17455
17456 [BZ #17153]
17457 * elf/elf.h (DT_PPC64_NUM): Correct value.
17458 * NEWS: Add to fixed bug list.
17459
17460 2014-07-13 Jim Meyering <meyering@fb.com>
17461
17462 [BZ 17150]
17463 regex: don't deref NULL upon heap allocation failure
17464 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
17465 failure in one more place.
17466 To trigger the segfault, configure grep -with-included-regex,
17467 build it, and run these commands:
17468 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
17469
17470 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
17471
17472 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
17473
17474 2014-07-11 Richard Henderson <rth@redhat.com>
17475
17476 * sysdeps/aarch64/libm-test-ulps: Update.
17477
17478 2014-07-10 Florian Weimer <fweimer@redhat.com>
17479
17480 [BZ #17135]
17481 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
17482 * nptl/allocatestack.c (__nptl_setxid_error): New function.
17483 (__nptl_setxid): Initialize error member. Call
17484 __nptl_setxid_error.
17485 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
17486 * nptl/descr.h (struct xid_command): Add error member.
17487 * nptl/tst-setuid3.c: New file.
17488 * nptl/Makefile (tests): Add it.
17489
17490 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17491
17492 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
17493 New define.
17494 (__lll_trylock): Use __lll_base_trylock.
17495 (__lll_cond_trylock): Likewise.
17496
17497 2014-07-10 Roland McGrath <roland@hack.frob.com>
17498
17499 * nptl/pthread_create.c (start_thread): Use atomic_or and
17500 lll_futex_wake directly rather than lll_robust_dead.
17501 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
17502 (lll_robust_dead): Macro removed.
17503 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
17504 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
17505 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
17506 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
17507 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
17508 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
17509 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
17510 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
17511 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
17512 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
17513 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
17514 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
17515 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
17516 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
17517 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
17518
17519 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
17520 Use atomic_compare_and_exchange_val_acq directly rather than
17521 lll_robust_trylock.
17522 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
17523 (__lll_robust_trylock, lll_robust_trylock): Removed.
17524 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
17525 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
17526 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
17527 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
17528 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
17529 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
17530 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
17531 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
17532 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
17533 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
17534 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
17535 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
17536 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
17537 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
17538
17539 2014-07-02 Florian Weimer <fweimer@redhat.com>
17540
17541 * manual/locale.texi (Locale Names): New section documenting
17542 locale name syntax. Adjust menu and node chaining accordingly.
17543 (Choosing Locale): Reference Locale Names, Locale Categories.
17544 Mention setting LC_ALL=C. Reflect that name syntax is now
17545 documented.
17546 (Locale Categories): New section title. Reference Locale Names.
17547 LC_ALL is an environment variable, but not a category.
17548 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
17549 description, now in Locale Name. Reference that section. Locale
17550 name syntax is now documented.
17551
17552 2014-07-02 Florian Weimer <fweimer@redhat.com>
17553
17554 [BZ #17137]
17555 * locale/findlocale.c (name_present, valid_locale_name): New
17556 functions.
17557 (_nl_find_locale): Use the loc_name variable to store name
17558 candidates. Call name_present and valid_locale_name to check and
17559 validate locale names. Return an error if the locale is invalid.
17560
17561 2014-07-02 Florian Weimer <fweimer@redhat.com>
17562
17563 * locale/setlocale.c (setlocale): Use strdup for allocating
17564 composite name copy.
17565
17566 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17567
17568 Sync up with gnulib.
17569 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
17570 [!_LIBC && ENABLE_NLS]: Include gettext.h.
17571 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
17572 and _GL_ARG_NONNULL.
17573 [USE_UNLOCKED_IO]: Include unlocked-io.h.
17574 [!_LIBC]: Include code for Windows and Cygwin.
17575 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
17576 Include prototype for int strerror_r.
17577 [!_LIBC] (is_open): New function.
17578 (flush_stdout): New function.
17579 (print_errno_message): Use it.
17580 (error): Likewise.
17581 (error_at_line): Likewise.
17582 (error_tail) Add function attribute macros. Use
17583 __builtin_expect.
17584
17585 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
17586
17587 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
17588
17589 * io/ftw.c: Include sys/param.h unconditionally.
17590
17591 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
17592
17593 [BZ #17125]
17594 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
17595 libc_freeres_ptr.
17596 (freecache): New function to free CACHE on exit.
17597
17598 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
17599 initialization.
17600
17601 2014-07-09 David S. Miller <davem@davemloft.net>
17602
17603 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17604
17605 * sysdeps/sparc/nptl/internaltypes.h: Delete.
17606 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
17607 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
17608 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
17609 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
17610 * sysdeps/sparc/nptl/sem_init.c: Likewise.
17611 * sysdeps/sparc/nptl/sem_post.c: Likewise.
17612 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
17613 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
17614 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
17615 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
17616 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
17617 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
17618
17619 2014-07-09 Andreas Schwab <schwab@suse.de>
17620
17621 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
17622 output.
17623 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
17624 (do_test): Likewise.
17625
17626 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
17627
17628 2014-07-09 Will Newton <will.newton@linaro.org>
17629
17630 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
17631 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
17632 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
17633 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
17634 * sysdeps/hppa/start.S (_start): Likewise.
17635
17636 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
17637
17638 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
17639
17640 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
17641 defined.
17642
17643 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
17644
17645 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
17646 after checking that it is non-NULL.
17647
17648 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
17649
17650 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17651
17652 * sysdeps/powerpc/memmove.c: Remove file.
17653 * sysdeps/powerpc/powerpc32/power4/memcopy.h
17654 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
17655 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
17656 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
17657 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
17658 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
17659 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
17660 string memmove instead of removed powerpc one.
17661
17662 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
17663 [weak_alias]: Fix compiler warning due trailing data.
17664 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
17665 [weak_alias]: Likewise.
17666 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
17667 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
17668
17669 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17670 (__libc_ifunc_impl_list): Add memmove functions.
17671
17672 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
17673
17674 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
17675 Remove code.
17676 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
17677 Likewise
17678 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
17679 Likewise
17680 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
17681 Likewise
17682 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
17683 Likewise
17684 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
17685 Likewise
17686 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
17687 Likewise
17688 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
17689 Likewise
17690 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
17691 Likewise
17692 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
17693 Likewise
17694 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
17695 Likewise
17696 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
17697 Likewise
17698 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
17699 Likewise
17700 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
17701 Likewise
17702 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
17703 Likewise
17704 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
17705 Likewise
17706 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
17707 Likewise
17708
17709 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17710
17711 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
17712 to avoid alignment traps in non-cacheable memory.
17713 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
17714
17715 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
17716 multiarch objects.
17717 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
17718 file: multiarch power7 memmove.
17719 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
17720 multiarch default memmove.
17721 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
17722 multiarch memove for powerpc32/power4.
17723
17724 * string/bcopy.c: Use full path to include memmove.c.
17725 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
17726 multiarch objects.
17727 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
17728 bcopy for powerpc64.
17729 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
17730 bcopy for powerpc64.
17731 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
17732 and memmove implementations.
17733 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
17734 optimized multiarch memmove for POWER7/powerpc64.
17735 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
17736 default multiarch memmove for powerpc64.
17737 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
17738 multiarch for powerpc64.
17739 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
17740 for POWER7/powerpc64.
17741 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
17742 memmove for POWER7/powerpc64.
17743
17744 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
17745 glibc default one.
17746
17747 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
17748 __ELF_NATIVE_CLASS equal to 64.
17749
17750 2014-07-07 Roland McGrath <roland@hack.frob.com>
17751
17752 * sysdeps/nptl/lowlevellock.h: File removed.
17753
17754 * NEWS: NPTL is no longer an add-on!
17755 * nptl/internaltypes.h: Moved ...
17756 * sysdeps/nptl/internaltypes.h: ... here.
17757 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
17758 * sysdeps/nptl/fork.c: Likewise.
17759 * sysdeps/nptl/gai_misc.h: Likewise.
17760 * sysdeps/nptl/librt-cancellation.c: Likewise.
17761 * sysdeps/nptl/jmp-unwind.c: Likewise.
17762 * sysdeps/nptl/setxid.h: Likewise.
17763 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
17764 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
17765 * sysdeps/unix/sysv/linux/arm/Implies: New file.
17766 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
17767 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
17768 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
17769 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
17770 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
17771 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
17772 * sysdeps/unix/sysv/linux/mips/Implies: New file.
17773 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
17774 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
17775 * sysdeps/unix/sysv/linux/sh/Implies: New file.
17776 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
17777 * sysdeps/unix/sysv/linux/tile/Implies: New file.
17778 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
17779 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
17780 * nptl/Makeconfig: Moved ...
17781 * sysdeps/nptl/Makeconfig: ... here.
17782 * nptl/configure: File removed.
17783 * nptl/ANNOUNCE: File removed.
17784 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
17785 * sysdeps/unix/sysv/linux/configure: Regenerated.
17786
17787 * nptl/Makefile (routines): Add libc_pthread_init,
17788 libc_multiple_threads, register-atfork and unregister-atfork.
17789 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
17790 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
17791 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
17792 pthread-pi-defines.sym, structsem.sym.
17793 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
17794 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
17795 [$(subdir) = nptl] (tests): Add tst-setgetname.
17796 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
17797 * sysdeps/unix/sysv/linux/sigaction.c: Just include
17798 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
17799 [!LIBC_SIGACTION]: Remove aliases.
17800 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
17801 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
17802 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
17803 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
17804 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
17805 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
17806 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
17807 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
17808 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
17809 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
17810 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
17811 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
17812 __libc_allocate_rtsig_private.
17813 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
17814 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
17815 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
17816 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
17817 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
17818 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
17819 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
17820 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
17821 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
17822 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
17823 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
17824 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
17825 * nptl/internaltypes.h: ... here.
17826 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
17827 * sysdeps/nptl/jmp-unwind.c: ... here.
17828 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
17829 * nptl/libc-lowlevellock.c: ... here.
17830 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
17831 * nptl/libc_multiple_threads.c: ... here.
17832 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
17833 * nptl/libc_pthread_init.c: ... here.
17834 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
17835 * nptl/lowlevelbarrier.sym: ... here.
17836 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
17837 * nptl/lowlevelcond.sym: ... here.
17838 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
17839 * nptl/lowlevellock.c: ... here.
17840 * nptl/lowlevellock.h: Moved ...
17841 * sysdeps/nptl/lowlevellock.h: ... here.
17842 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
17843 * nptl/lowlevelrobustlock.c: ... here.
17844 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
17845 * nptl/lowlevelrobustlock.sym: ... here.
17846 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
17847 * nptl/lowlevelrwlock.sym: ... here.
17848 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
17849 * nptl/pt-fork.c: ... here.
17850 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
17851 * nptl/pthread-pi-defines.sym: ... here.
17852 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
17853 * nptl/pthread_attr_getaffinity.c: ... here.
17854 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
17855 * nptl/pthread_attr_setaffinity.c: ... here.
17856 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
17857 * nptl/pthread_mutex_cond_lock.c: ... here.
17858 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
17859 Update #include.
17860 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
17861 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
17862 * nptl/pthread_once.c: ... here, replacing old file.
17863 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
17864 * nptl/pthread_yield.c: ... here.
17865 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
17866 * nptl/register-atfork.c: ... here.
17867 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
17868 * nptl/sem_post.c: ... here.
17869 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
17870 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
17871 * nptl/sem_timedwait.c: ... here.
17872 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
17873 * nptl/sem_trywait.c: ... here.
17874 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
17875 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
17876 * nptl/sem_wait.c: ... here.
17877 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
17878 * nptl/structsem.sym: ... here.
17879 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
17880 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
17881 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
17882 * nptl/unregister-atfork.c: ... here.
17883 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
17884 * nptl/unwindbuf.sym: ... here.
17885 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
17886 * sysdeps/nptl/fork.c: ... here.
17887 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
17888 * sysdeps/nptl/fork.h: ... here.
17889 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
17890 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
17891 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
17892 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
17893 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
17894 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
17895 * sysdeps/unix/sysv/linux/getpid.c: ... here.
17896 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
17897 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
17898 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
17899 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
17900 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
17901 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
17902 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
17903 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
17904 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
17905 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
17906 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
17907 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
17908 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
17909 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
17910 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
17911 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
17912 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
17913 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
17914 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
17915 * sysdeps/unix/sysv/linux/raise.c: ... here.
17916 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
17917 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
17918 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
17919 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
17920 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
17921 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
17922 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
17923 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
17924 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
17925 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
17926 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
17927 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
17928 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
17929 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
17930 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
17931
17932 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17933
17934 * sysdeps/generic/memcopy.h: Add comment for
17935 MEMCPY_OK_FOR_FWD_MEMMOVE.
17936
17937 2014-07-04 Will Newton <will.newton@linaro.org>
17938
17939 * string/memchr.c: Merge from gnulib.
17940 [_LIBC]: Remove conditionals.
17941 (__ptr_t): Remove define.
17942 (LONG_MAX_32_BITS): Likewise.
17943 (LONG_MAX): Likewise.
17944 (MEMCHR): Use ANSI prototype and optimize algorithm.
17945
17946 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
17947
17948 2014-07-03 Roland McGrath <roland@hack.frob.com>
17949
17950 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
17951 (lll_futex_timed_wait_bitset): Fix syscall argument count.
17952
17953 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
17954 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
17955 in a bare environment with no <stdlib.h> installed.
17956 * sysdeps/nptl/configure: Regenerated.
17957
17958 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
17959
17960 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
17961 AC_EGREP_CPP for kernel header checks, so they only succeed if
17962 including <linux/version.h> actually works right.
17963 * sysdeps/unix/sysv/linux/configure: Regenerated.
17964
17965 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
17966 value so it's not diagnosed as unused.
17967
17968 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
17969 thing) with "ifeq ($(subdir),rt)".
17970
17971 2014-07-03 Richard Henderson <rth@redhat.com>
17972
17973 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
17974 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
17975 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
17976
17977 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
17978 (math_force_eval): New.
17979
17980 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
17981 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
17982
17983 * sysdeps/alpha/fpu/s_round.c: Remove file.
17984 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
17985
17986 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
17987 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
17988 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
17989 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
17990 (_dl_start, print_statistics): Likewise.
17991 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
17992 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
17993
17994 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
17995 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
17996 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
17997 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
17998 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
17999 (HP_SMALL_TIMING_AVAIL): Define.
18000 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
18001 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
18002 (HP_SMALL_TIMING_AVAIL): Define.
18003 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
18004 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
18005
18006 * sysdeps/aarch64/hp-timing.h: New file.
18007
18008 * sysdeps/generic/hp-timing.h: Remove dead comment.
18009 * sysdeps/generic/hp-timing-common.h: New file.
18010 * sysdeps/alpha/hp-timing.h: Include it.
18011 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
18012 * sysdeps/i386/i686/hp-timing.h: Likewise.
18013 * sysdeps/ia64/hp-timing.h: Likewise.
18014 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
18015 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
18016 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
18017 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
18018 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
18019 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
18020 (hp_timing_t): New.
18021
18022 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
18023 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
18024 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
18025 * elf/rtld.c (_dl_start_final): Likewise.
18026 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
18027 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
18028 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
18029 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
18030 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
18031 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
18032 (HP_TIMING_DIFF_INIT): Remove.
18033 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
18034 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
18035 (HP_TIMING_DIFF_INIT): Remove.
18036 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
18037 * sysdeps/i386/i686/hp-timing.c: Remove file.
18038 * sysdeps/x86_64/hp-timing.c: Remove file.
18039 * sysdeps/ia64/hp-timing.c: Remove file.
18040 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
18041 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
18042 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
18043 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
18044
18045 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
18046 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
18047 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
18048 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
18049 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
18050 (HP_TIMING_ACCUM): Remove.
18051 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
18052 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
18053 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
18054
18055 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
18056 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
18057 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
18058 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
18059 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
18060 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
18061 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
18062 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
18063
18064 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
18065
18066 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
18067
18068 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
18069
18070 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
18071
18072 Sync up with gettext.
18073 * intl/loadmsgcat.c: Define O_BINARY if not defined.
18074 [_MSC_VER]: Include malloc.h
18075 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
18076 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
18077 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
18078 TEMP_FAILURE_RETRY. Cast return of alloca.
18079 [!_LIBC] Call gl_rwlock_init.
18080 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
18081
18082 2014-07-02 Roland McGrath <roland@hack.frob.com>
18083
18084 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
18085 before checking its value.
18086
18087 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
18088
18089 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
18090
18091 * debug/memcpy_chk.c: Don't include pagecopy.h.
18092 * debug/mempcpy_chk.c: Likewise.
18093 * string/memcpy.c: Likewise.
18094 * string/memmove.c: Likewise.
18095 * sysdeps/powerpc/memmove.c: Likewise.
18096 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
18097 definition of PAGE_COPY_FWD_MAYBE here...
18098 * sysdeps/generic/pagecopy.h: ... from here.
18099 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
18100
18101 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
18102 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18103
18104 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
18105 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
18106 optimizations.
18107 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18108 (__libc_ifunc_impl_list): Likewise.
18109 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
18110 multiarch strcat for PPC64.
18111 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
18112 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
18113
18114 2014-07-02 Roland McGrath <roland@hack.frob.com>
18115
18116 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
18117
18118 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
18119
18120 * intl/loadmsgcat.c: Remove declaration of
18121 get_sysdep_segment_value.
18122 (get_sysdep_segment_value): Use ISO C style.
18123 (_nl_load_domain): Use ISO C style. Get rid of redundant
18124 semicolon. Fix typo and formatting in comment.
18125 (_nl_unload_domain): Use ISO C style.
18126
18127 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
18128
18129 2014-07-02 Will Newton <will.newton@linaro.org>
18130
18131 * malloc/obstack.c: Merge from gnulib master.
18132 [HAVE_CONFIG_H]: Remove conditional code.
18133 [!_LIBC]: Include config.h.
18134 [!ELIDE_CODE]: Don't include inttypes.h, include
18135 stdint.h unconditionally.
18136 (print_and_abort): Mark as _Noreturn.
18137 (_obstack_allocated_p): Mark as __attribute_pure__.
18138 (obstack_free): Rename to __obstack_free.
18139 [!__attribute__]: Remove conditional code.
18140 * malloc/obstack.h: Merge from gnulib master.
18141 [__cplusplus]: Move conditional down.
18142 [!__attribute_pure__]: Define __attribute_pure__ here
18143 if it is not already defined.
18144 (_obstack_memory_used): Mark as __attribute_pure__.
18145 [!__obstack_free]: Define as obstack_free.
18146 [__GNUC__]: Remove check for ancient NeXT gcc.
18147
18148 2014-07-02 Will Newton <will.newton@linaro.org>
18149 Paul Eggert <eggert@cs.ucla.edu>
18150
18151 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
18152
18153 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
18154
18155 * resolv/gethnamaddr.c: Add comment warning that the file is
18156 not maintained.
18157
18158 2014-07-01 Carlos O'Donell <carlos@redhat.com>
18159
18160 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
18161 entries.
18162
18163 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
18164 entry for aio_cancel and aio_cancel64.
18165 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
18166 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
18167 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
18168 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
18169 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
18170 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
18171 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
18172 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
18173 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
18174 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
18175 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
18176 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
18177 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
18178
18179 2014-07-01 Roland McGrath <roland@hack.frob.com>
18180
18181 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
18182 * nptl/pthread_mutex_lock.c: Likewise.
18183 * nptl/pthread_mutex_timedlock.c: Likewise.
18184 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
18185
18186 2014-07-01 Richard henderson <rth@redhat.com>
18187
18188 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
18189 (__isnan, __isnanl): Remove.
18190 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
18191
18192 * sysdeps/alpha/fpu/libm-test-ulps: Update.
18193
18194 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
18195
18196 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18197
18198 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
18199
18200 * resolv/nss_dns/dns-host.c (getanswer_r)
18201 [MULTI_PTRS_ARE_ALIASES]: Remove code.
18202
18203 2014-07-01 Joseph Myers <joseph@codesourcery.com>
18204
18205 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18206 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
18207 undefine.
18208 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
18209 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
18210
18211 2014-07-01 Roland McGrath <roland@hack.frob.com>
18212
18213 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
18214 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
18215
18216 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
18217 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
18218
18219 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
18220 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
18221 ... here.
18222 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
18223 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
18224
18225 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
18226 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
18227 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
18228 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
18229
18230 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
18231 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
18232 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
18233 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
18234 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
18235 Moved ...
18236 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
18237 ... here.
18238 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
18239 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
18240 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
18241 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
18242 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
18243 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
18244 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
18245 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
18246 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
18247 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
18248 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
18249 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
18250 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
18251 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
18252 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
18253 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
18254 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
18255 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
18256 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
18257 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
18258 ... here.
18259 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
18260 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
18261 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
18262 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
18263 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
18264 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
18265 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
18266 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
18267
18268 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
18269
18270 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
18271 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
18272 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
18273 Add sysdep.
18274
18275 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18276
18277 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18278
18279 2014-06-30 Joseph Myers <joseph@codesourcery.com>
18280
18281 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
18282 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18283
18284 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
18285
18286 * sysdeps/arm/libm-test-ulps: Regenerated.
18287
18288 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
18289 Roland McGrath <roland@hack.frob.com>
18290
18291 * test-skeleton.c (signal_handler): Kill the whole process group
18292 before killing the child individually.
18293 (main): Report any failure on `setpgid'.
18294
18295 2014-06-30 Roland McGrath <roland@hack.frob.com>
18296
18297 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
18298 from _TLS_H to _ARM_NPTL_TLS_H.
18299 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
18300 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
18301
18302 2014-06-30 Joseph Myers <joseph@codesourcery.com>
18303
18304 [BZ #16539]
18305 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
18306 (__expm1l): Return argument unchanged when small but not
18307 subnormal.
18308
18309 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
18310 include macro name.
18311 (_FP_UNPACK_RAW_1_P): Likewise.
18312 (_FP_PACK_RAW_1): Likewise.
18313 (_FP_PACK_RAW_1_P): Likewise.
18314 (_FP_MUL_MEAT_1_wide): Likewise.
18315 (_FP_MUL_MEAT_DW_1_hard): Likewise.
18316 (_FP_MUL_MEAT_1_hard): Likewise.
18317 (_FP_DIV_MEAT_1_imm): Likewise.
18318 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
18319 (_FP_DIV_MEAT_1_udiv): Likewise.
18320 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
18321 (_FP_UNPACK_RAW_2): Likewise.
18322 (_FP_UNPACK_RAW_2_P): Likewise.
18323 (_FP_PACK_RAW_2): Likewise.
18324 (_FP_PACK_RAW_2_P): Likewise.
18325 (_FP_MUL_MEAT_DW_2_wide): Likewise.
18326 (_FP_MUL_MEAT_2_wide): Likewise.
18327 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
18328 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
18329 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
18330 (_FP_MUL_MEAT_2_gmp): Likewise.
18331 (_FP_DIV_MEAT_2_udiv): Likewise.
18332 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
18333 (_FP_FRAC_SRL_4): Likewise.
18334 (_FP_FRAC_SRST_4): Likewise.
18335 (_FP_FRAC_SRS_4): Likewise.
18336 (_FP_UNPACK_RAW_4): Likewise.
18337 (_FP_UNPACK_RAW_4_P): Likewise.
18338 (_FP_PACK_RAW_4): Likewise.
18339 (_FP_PACK_RAW_4_P): Likewise.
18340 (_FP_MUL_MEAT_DW_4_wide): Likewise.
18341 (_FP_MUL_MEAT_4_wide): Likewise.
18342 (_FP_MUL_MEAT_4_gmp): Likewise.
18343 (umul_ppppmnnn): Likewise.
18344 (_FP_DIV_MEAT_4_udiv): Likewise.
18345 (__FP_FRAC_ADD_4): Likewise.
18346 (__FP_FRAC_SUB_3): Likewise.
18347 (__FP_FRAC_SUB_4): Likewise.
18348 (__FP_FRAC_DEC_3): Likewise.
18349 (__FP_FRAC_DEC_4): Likewise.
18350 (__FP_FRAC_ADDI_4): Likewise.
18351 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
18352 (_FP_FRAC_SRL_8): Likewise.
18353 (_FP_FRAC_SRS_8): Likewise.
18354
18355 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
18356 include macro name.
18357 (FP_UNPACK_RAW_EP): Likewise.
18358 (FP_PACK_RAW_E): Likewise.
18359 (FP_PACK_RAW_EP): Likewise.
18360 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
18361 (_FP_ISSIGNAN): Likewise.
18362 (_FP_ADD_INTERNAL): Likewise.
18363 (_FP_FMA): Likewise.
18364 (_FP_CMP): Likewise.
18365 (_FP_SQRT): Likewise.
18366 (_FP_TO_INT): Likewise.
18367 (_FP_FROM_INT): Likewise.
18368 (FP_EXTEND): Likewise.
18369 (_FP_DIV_MEAT_N_loop): Likewise.
18370
18371 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
18372
18373 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
18374 throughout.
18375
18376 2014-06-29 Joseph Myers <joseph@codesourcery.com>
18377
18378 [BZ #17097]
18379 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
18380 result with correct sign in case of exponents that produce
18381 overflow except for X very close to 1.
18382
18383 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
18384
18385 mktime: merge #if/#ifdef usage from glibc
18386 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
18387 as that works with both Glibc's and Gnulib's style.
18388 See thread starting at Siddhesh Poyarekar's bug report at:
18389 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
18390
18391 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18392
18393 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
18394 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
18395 * sysdeps/tile/tilegx/memmove.c: Remove file.
18396
18397 2014-06-27 Joseph Myers <joseph@codesourcery.com>
18398
18399 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
18400 abi-name definition.
18401 * scripts/soversions.awk: Do not handle or generate ABI lines.
18402 * shlib-versions: Remove ABI entries.
18403 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
18404 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
18405
18406 2014-06-27 Roland McGrath <roland@hack.frob.com>
18407
18408 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
18409 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
18410 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
18411 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
18412 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
18413 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
18414 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
18415 Moved ...
18416 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
18417 ... here.
18418 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
18419 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
18420 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
18421 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
18422 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
18423 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
18424 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
18425 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
18426 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
18427 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
18428 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
18429 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
18430 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
18431 Moved ...
18432 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
18433 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
18434 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
18435 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
18436 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
18437 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
18438 Moved ...
18439 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
18440 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
18441 Moved ...
18442 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
18443 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
18444 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
18445 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
18446 Moved ...
18447 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
18448 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
18449 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
18450 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
18451 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
18452 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
18453 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
18454 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
18455 Moved ...
18456 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
18457 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
18458 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
18459 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
18460 Moved ...
18461 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
18462 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
18463 Moved ...
18464 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
18465 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
18466 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
18467 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
18468 Moved ...
18469 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
18470 ... here.
18471 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
18472 Identical file removed.
18473 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
18474 Moved ...
18475 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
18476 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
18477 Identical file removed.
18478 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
18479 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
18480 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
18481 Moved ...
18482 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
18483 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
18484 Identical file removed.
18485 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
18486 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
18487 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
18488 Identical file removed.
18489 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
18490 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
18491 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
18492 Identical file removed.
18493 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
18494 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
18495 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
18496 Identical file removed.
18497 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
18498 Moved ...
18499 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
18500 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
18501 Identical file removed.
18502 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
18503 Moved ...
18504 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
18505 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
18506 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
18507 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
18508 Identical file removed.
18509 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
18510 Moved ...
18511 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
18512 ... here.
18513 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
18514 Identical file removed.
18515 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
18516 Moved ...
18517 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
18518 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
18519 Identical file removed.
18520 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
18521 Moved ...
18522 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
18523 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
18524 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
18525 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
18526 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
18527 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
18528 Moved ...
18529 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
18530 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
18531 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
18532
18533 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
18534 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
18535 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
18536 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
18537 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
18538
18539 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
18540
18541 [BZ #17092]
18542 * nscd/nscd.c (monitor_child): Return exit status of child
18543 instead of return value from wait syscall.
18544
18545 2014-06-27 Joseph Myers <joseph@codesourcery.com>
18546
18547 * configure.ac (libc_commonpagesize): Remove variable.
18548 (libc_relro_required): Likewise.
18549 (libc_cv_z_relro): Remove configure test.
18550 * configure: Regenerated.
18551 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
18552 variable.
18553 (libc_relro_required): Likewise.
18554 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
18555 (libc_relro_required): Likewise.
18556 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
18557 (libc_relro_required): Likewise.
18558 * sysdeps/arm/preconfigure: Regenerated.
18559 * sysdeps/ia64/preconfigure: Remove file.
18560 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
18561 variable.
18562 (libc_relro_required): Likewise.
18563
18564 [BZ #16561]
18565 [BZ #16562]
18566 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
18567 (__ieee754_yn): Set FE_TONEAREST mode internally and then
18568 recompute overflowing results in original rounding mode.
18569 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
18570 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
18571 recompute overflowing results in original rounding mode.
18572 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
18573 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
18574 recompute overflowing results in original rounding mode.
18575 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
18576 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
18577 recompute overflowing results in original rounding mode.
18578 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
18579 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
18580 recompute overflowing results in original rounding mode.
18581 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
18582 (libc_feholdsetround_ctx): New macro.
18583 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
18584 * sysdeps/i386/fpu/libm-test-ulps: Update.
18585 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
18586
18587 2014-06-26 Joseph Myers <joseph@codesourcery.com>
18588
18589 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
18590 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
18591 corresponding .cpsetup call.
18592
18593 2014-06-26 Roland McGrath <roland@hack.frob.com>
18594
18595 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
18596 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
18597 * sysdeps/arm/Makefile [$(subdir) = csu]
18598 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
18599 (static-only-routines): Add aeabi_read_tp here.
18600 (shared-only-routines): Add libc-aeabi_read_tp here.
18601 (CFLAGS-libc-start.c): Add -fexceptions here.
18602 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
18603 (sysdep_routines, static-only-routines, shared-only-routines):
18604 Don't add to these here.
18605 (CFLAGS-libc-start.c): Likewise.
18606
18607 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
18608 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
18609 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
18610 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
18611 * sysdeps/arm/Makefile [$(subdir) = rt]
18612 (librt-sysdep_routines, librt-shared-only-routines):
18613 Append rt-aeabi_unwind_cpp_pr1 here.
18614 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
18615 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
18616 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
18617 (libpthread-sysdep_routines, libpthread-shared-only-routines):
18618 Append nptl-aeabi_unwind_cpp_pr1 here.
18619 (tests): Filter out tst-cleanupx4 here.
18620 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
18621 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
18622 Don't do those here.
18623
18624 2014-06-26 Joseph Myers <joseph@codesourcery.com>
18625
18626 * scripts/list-sources.sh: Do not handle ports specially.
18627
18628 2014-06-26 Roland McGrath <roland@hack.frob.com>
18629
18630 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
18631 * sysdeps/arm/feupdateenv.c: Likewise.
18632
18633 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
18634
18635 2014-06-26 Joseph Myers <joseph@codesourcery.com>
18636
18637 * manual/texinfo.tex: Update to version 2014-05-05.10 with
18638 trailing whitespace removed.
18639 * scripts/config.guess: Update to version 2014-03-23.
18640 * scripts/config.sub: Update to version 2014-05-01
18641 * scripts/install-sh: Update to version 2013-12-25.23.
18642 * scripts/move-if-change: Update from gnulib.
18643
18644 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18645
18646 * debug/memmove_chk.c: Remove pagecopy.h include.
18647
18648 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
18649
18650 * time/mktime.c (leapyear): Remove inline keyword. The code is now
18651 identical to gnulib mktime.
18652
18653 2014-06-26 Joseph Myers <joseph@codesourcery.com>
18654
18655 * configure.ac: Do not test for machine being rs6000. Do not test
18656 for powerpc*-*soft.
18657 * configure: Regenerated.
18658
18659 [BZ #11505]
18660 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
18661 test.
18662 * configure: Regenerated.
18663 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
18664 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
18665 Remove configure test.
18666 * sysdeps/arm/configure: Regenerated.
18667 * sysdeps/nptl/configure.ac: Do not check
18668 libc_cv_asm_cfi_directives.
18669 * sysdeps/nptl/configure: Regenerated.
18670 * sysdeps/x86_64/nptl/configure.ac: Remove file.
18671 * sysdeps/x86_64/nptl/configure: Remove generated file.
18672 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
18673 unconditional.
18674 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
18675
18676 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18677
18678 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
18679 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
18680 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
18681 it is defined.
18682
18683 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
18684 instead of whether it is defined.
18685 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
18686 * sysdeps/hppa/dl-machine.h: Likewise.
18687 * sysdeps/ia64/dl-machine.h: Likewise.
18688 * sysdeps/m68k/dl-machine.h: Likewise.
18689 * sysdeps/microblaze/dl-machine.h: Likewise.
18690 * sysdeps/mips/dl-machine.: Likewise.
18691 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
18692 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
18693 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
18694 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
18695 * sysdeps/sh/dl-machine.h: Likewise.
18696 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
18697 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
18698 * sysdeps/tile/dl-machine.h: Likewise.
18699 * sysdeps/x86_64/dl-machine.h: Likewise.
18700
18701 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
18702 code.
18703 (verify_persistent_db): Likewise.
18704
18705 2014-06-26 Roland McGrath <roland@hack.frob.com>
18706
18707 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
18708 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
18709 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
18710 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
18711 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
18712 Moved ...
18713 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
18714 ... here.
18715 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
18716 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
18717 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
18718 Identical file removed.
18719 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
18720 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
18721 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
18722 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
18723 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
18724 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
18725 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
18726 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
18727 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
18728 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
18729 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18730 Moved ...
18731 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
18732 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
18733 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
18734 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
18735 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
18736 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
18737 Moved ...
18738 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
18739 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
18740 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
18741 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
18742 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
18743 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
18744 Identical file removed.
18745 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
18746 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
18747 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
18748 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
18749 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
18750 Moved ...
18751 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
18752 ... here.
18753 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
18754 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
18755 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
18756 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
18757 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
18758 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
18759 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
18760 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
18761 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
18762 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
18763 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18764 Moved ...
18765 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
18766 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
18767 Moved ...
18768 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
18769 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
18770 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
18771 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
18772 Moved ...
18773 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
18774 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
18775 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
18776
18777 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
18778 folded into ...
18779 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
18780 * sysdeps/unix/sysv/linux/s390/Versions
18781 (libpthread: GLIBC_2.19): New version set.
18782 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
18783 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
18784 (librt: GLIBC_2.3.3): New version set.
18785 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
18786 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
18787 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
18788 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
18789 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
18790 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
18791 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
18792 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
18793 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
18794 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
18795 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
18796 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
18797 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
18798 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
18799 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
18800 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
18801 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
18802 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
18803 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
18804 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
18805 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
18806 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
18807 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
18808 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
18809 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
18810 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
18811 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
18812 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
18813 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
18814 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
18815 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
18816 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
18817 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
18818 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
18819 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
18820 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
18821 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
18822 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
18823 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
18824 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
18825 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
18826 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
18827 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
18828 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
18829 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
18830
18831 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
18832 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
18833 (__libc_vfork): Define the function under this name.
18834 [!NOT_IN_libc] (__vfork): Make this an alias.
18835 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
18836 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
18837 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
18838 (__libc_vfork): Define the function under this name.
18839 [!NOT_IN_libc] (__vfork): Make this an alias.
18840 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
18841 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
18842 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
18843 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
18844 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
18845 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
18846
18847 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
18848 code that was previously under [RESET_PID].
18849 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
18850 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
18851 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
18852
18853 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
18854 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
18855 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
18856 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
18857 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
18858 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
18859 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
18860 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
18861 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
18862 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
18863 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
18864 Moved ...
18865 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
18866 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
18867 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
18868 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
18869 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
18870 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
18871 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
18872 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
18873 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
18874 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
18875 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
18876 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
18877 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
18878 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
18879 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
18880 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
18881 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
18882 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
18883 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
18884 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
18885 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
18886 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
18887 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
18888 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
18889 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
18890 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
18891 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
18892 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
18893 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
18894
18895 2014-06-25 Roland McGrath <roland@hack.frob.com>
18896
18897 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
18898 that was previously under [RESET_PID].
18899 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
18900
18901 2014-06-25 Joseph Myers <joseph@codesourcery.com>
18902
18903 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
18904 not undefine and redefine.
18905 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
18906 [O_CLOEXEC]: Make code unconditional.
18907 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
18908 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
18909 <kernel-features.h>.
18910 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
18911 conditional variable definition.
18912 (shm_open) [O_CLOEXEC]: Make code unconditional.
18913 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
18914 code.
18915
18916 * configure.ac (USE_REGPARMS): Don't define here.
18917 * configure: Regenerated.
18918 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
18919 * sysdeps/i386/configure: Regenerated.
18920
18921 * nptl/createthread.c: Don't include kernel-features.h.
18922 * nptl/pthread_cancel.c: Likewise.
18923 * nptl/pthread_condattr_setclock.c: Likewise.
18924 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
18925 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
18926 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
18927 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
18928 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
18929 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
18930 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
18931 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
18932 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
18933 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
18934 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
18935 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
18936 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
18937 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
18938 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
18939 * nscd/gai.c: Likewise.
18940 * nss/nss_db/db-open.c: Likewise.
18941 * sysdeps/generic/ldsodefs.h: Likewise.
18942 * sysdeps/sh/nptl/tls.h: Likewise.
18943 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
18944 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
18945 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
18946 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
18947 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
18948 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
18949 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
18950 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
18951 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
18952 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
18953 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
18954 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
18955 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
18956 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
18957 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
18958 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
18959 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
18960 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
18961 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
18962 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
18963 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
18964 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
18965 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
18966 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
18967 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
18968 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
18969 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
18970 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
18971 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
18972 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
18973 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
18974 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
18975 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
18976 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
18977 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
18978 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
18979 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
18980 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
18981 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
18982 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
18983 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
18984 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
18985 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
18986 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
18987 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
18988 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
18989 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
18990 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
18991 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
18992 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
18993 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
18994 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
18995 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
18996 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
18997 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
18998 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
18999 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
19000 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
19001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
19002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
19003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
19004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
19005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
19006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
19007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
19008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
19009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
19010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
19011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
19012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
19013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
19014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
19015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
19016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
19017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
19018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
19019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
19020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
19021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
19022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
19023 * sysdeps/unix/sysv/linux/pread.c: Likewise.
19024 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
19025 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
19026 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
19027 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
19028 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
19029 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
19030 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
19031 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
19032 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
19033 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
19034 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
19035 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
19036 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
19037 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
19038 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
19039 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
19040 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
19041 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
19042 * sysdeps/unix/sysv/linux/system.c: Likewise.
19043 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
19044 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
19045 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
19046 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
19047 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
19048 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
19049 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
19050
19051 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
19052 * configure: Regenerated.
19053 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
19054
19055 * configure.ac (base_machine): Do not set specially for particular
19056 machines here.
19057 * configure: Regenerated.
19058 * sysdeps/powerpc/preconfigure: Move machine and base_machine
19059 settings from configure.ac.
19060 * sysdeps/i386/preconfigure: New file.
19061 * sysdeps/s390/preconfigure: Likewise.
19062 * sysdeps/sh/preconfigure: Likewise.
19063 * sysdeps/sparc/preconfigure: Likewise.
19064
19065 2014-06-25 Roland McGrath <roland@hack.frob.com>
19066
19067 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
19068 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
19069 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
19070 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
19071 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
19072 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
19073 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
19074 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
19075 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
19076 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
19077 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
19078 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
19079 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
19080 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
19081 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
19082 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
19083 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
19084 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
19085 * sysdeps/sparc/sparc64/Makefile: ... appended here.
19086
19087 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
19088 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
19089 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
19090 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
19091 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
19092 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
19093 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
19094 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
19095 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
19096 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
19097 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
19098 * sysdeps/sparc/sparc32/sem_post.c: ... here.
19099 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
19100 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
19101 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
19102 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
19103 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
19104 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
19105 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
19106 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
19107 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
19108 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
19109 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
19110 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
19111 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
19112 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
19113 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
19114 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
19115 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
19116 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
19117 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
19118 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
19119 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
19120 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
19121 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
19122 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
19123 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
19124 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
19125
19126 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
19127 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
19128 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
19129 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
19130 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
19131 Moved ...
19132 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
19133 ... here.
19134 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
19135 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
19136 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
19137 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
19138 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
19139 Moved ...
19140 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
19141 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
19142 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
19143 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
19144 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
19145 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
19146 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
19147 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
19148 Moved ...
19149 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
19150 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
19151 Moved ...
19152 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
19153 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
19154 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
19155 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
19156 Moved ...
19157 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
19158 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
19159 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
19160 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
19161 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
19162 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
19163 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
19164 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
19165 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
19166 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
19167 Moved ...
19168 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
19169 ... here.
19170 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
19171 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
19172 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
19173 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
19174 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
19175 Moved ...
19176 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
19177 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
19178 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
19179 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
19180 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
19181 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
19182 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
19183 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
19184 Moved ...
19185 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
19186 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
19187 Moved ...
19188 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
19189 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
19190 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
19191 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
19192 Moved ...
19193 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
19194 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
19195 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
19196 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
19197 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
19198
19199 2014-06-25 Joseph Myers <joseph@codesourcery.com>
19200
19201 * timezone/checktab.awk: Update from tzcode 2014e.
19202 * timezone/private.h: Likewise.
19203 * timezone/tzfile.h: Likewise.
19204 * timezone/zdump.c: Likewise.
19205 * timezone/zic.c: Likewise.
19206
19207 * sysdeps/unix/sysv/linux/kernel-features.h
19208 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
19209 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
19210 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
19211 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
19212 Remove conditional code.
19213
19214 2014-06-25 Will Newton <will.newton@linaro.org>
19215
19216 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
19217 (_dl_arm_cap_flags): Add HWCAP2 values.
19218 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
19219 (_DL_HWCAP_COUNT): Increase to 37.
19220 (_DL_HWCAP_LAST): New define.
19221 (_DL_HWCAP2_LAST): New define.
19222 (_dl_procinfo): Add support for printing
19223 AT_HWCAP2 entries.
19224 (_dl_string_hwcap): Use _dl_hwcap_string.
19225
19226 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19227
19228 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19229
19230 2014-06-25 Joseph Myers <joseph@codesourcery.com>
19231
19232 * README: Do not mention ports directory.
19233
19234 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
19235 Remove macro.
19236 * sysdeps/unix/sysv/linux/futimes.c: Do not include
19237 <kernel-features.h>.
19238 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
19239 conditional variable definition.
19240 (__futimes): Update comment.
19241 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
19242 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
19243
19244 [BZ #16560]
19245 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
19246 arguments close to 0.
19247 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
19248 Likewise.
19249 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
19250 Likewise.
19251 * math/auto-libm-test-in: Add more tests of exp10.
19252 * math/auto-libm-test-out: Regenerated.
19253 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19254
19255 * sysdeps/unix/sysv/linux/kernel-features.h
19256 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
19257 * sysdeps/unix/sysv/linux/readv.c: Do not include
19258 <kernel-features.h>.
19259 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
19260 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
19261 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
19262 unconditional.
19263 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
19264 conditional code.
19265 * sysdeps/unix/sysv/linux/writev.c: Do not include
19266 <kernel-features.h>.
19267 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
19268 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
19269 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
19270 unconditional.
19271 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
19272 conditional code.
19273
19274 2014-06-25 Will Newton <will.newton@linaro.org>
19275
19276 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
19277 comment changes throughout the file. Remove checks
19278 for HAVE_*_H definitions that are not required.
19279 (__gen_tempname): Call abort if an unknown kind value is
19280 passed.
19281
19282 2014-06-25 Andreas Schwab <schwab@suse.de>
19283
19284 [BZ #17086]
19285 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
19286 scalbln, scalblnf, scalblnl in libc.
19287
19288 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19289
19290 [BZ #17086]
19291 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
19292 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
19293 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
19294
19295 2014-06-24 Roland McGrath <roland@hack.frob.com>
19296
19297 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
19298 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
19299 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
19300 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
19301 Update #include.
19302 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
19303 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
19304 Update #include.
19305 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
19306 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
19307 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
19308 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
19309 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
19310 * sysdeps/x86/bits/pthreadtypes.h: ... here.
19311 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
19312 * sysdeps/x86/bits/semaphore.h: ... here.
19313 * sysdeps/x86/nptl/elide.h: Moved ...
19314 * sysdeps/x86/elide.h: ... here.
19315 * sysdeps/x86_64/nptl/Implies: File removed.
19316 * sysdeps/i386/nptl/Implies: File removed.
19317
19318 2014-06-24 Joseph Myers <joseph@codesourcery.com>
19319
19320 [BZ #16539]
19321 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
19322 return the argument for normal arguments with exponent below -64.
19323 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
19324 Likewise.
19325 * math/auto-libm-test-in: Add another test of expm1.
19326 * math/auto-libm-test-out: Regenerated.
19327
19328 [BZ #16287]
19329 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
19330 calling __erfcl for arguments at least 16.
19331 * math/auto-libm-test-in: Add more tests of erf.
19332 * math/auto-libm-test-out: Regenerated.
19333
19334 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
19335 individual architectures.
19336 * sysdeps/unix/sysv/linux/configure: Regenerated.
19337 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
19338 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
19339 * sysdeps/unix/sysv/linux/powerpc/configure.ac
19340 (ldd_rewrite_script): Define variable.
19341 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
19342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
19343 file.
19344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
19345 generated file.
19346 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
19347 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
19348 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
19349 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
19350 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
19351 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
19352 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
19353 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
19354
19355 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
19356
19357 [BZ #17084]
19358 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
19359 Rename member __data.d to __data.__elision_data.
19360
19361 2014-06-24 Wilco <wdijkstr@arm.com>
19362
19363 * NEWS: Add 16918 to fixed bug list.
19364
19365 2014-06-24 Wilco <wdijkstr@arm.com>
19366
19367 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
19368
19369 2014-06-24 Wilco <wdijkstr@arm.com>
19370
19371 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
19372 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
19373 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
19374 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
19375 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
19376 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
19377 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
19378 Use _FPU_MASK_RM.
19379
19380 2014-06-24 Wilco <wdijkstr@arm.com>
19381
19382 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
19383
19384 2014-06-24 Wilco <wdijkstr@arm.com>
19385
19386 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
19387 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
19388 * sysdeps/arm/fesetround.c (fesetround): Remove space.
19389 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
19390
19391 2014-06-24 Wilco <wdijkstr@arm.com>
19392
19393 [BZ #16918]
19394 * sysdeps/arm/feupdateenv.c (feupdateenv):
19395 Rewrite to reduce FPSCR accesses and fix return value.
19396
19397 2014-06-24 Wilco <wdijkstr@arm.com>
19398
19399 * sysdeps/arm/fclrexcpt.c (feclearexcept):
19400 Optimize to avoid unnecessary FPSCR writes.
19401 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
19402 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
19403 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
19404 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
19405
19406 2014-06-24 Wilco <wdijkstr@arm.com>
19407
19408 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
19409 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
19410 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
19411 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
19412 Call libc_fetestexcept_vfp.
19413 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
19414 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
19415 __SOFTFP__ ifdef so that they can be built for softfp.
19416
19417 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
19418
19419 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
19420 argument type signed char.
19421
19422 * Makerules (check-abi): Dump diff of symlist if the test
19423 fails.
19424
19425 2014-06-23 Roland McGrath <roland@hack.frob.com>
19426
19427 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
19428 using abort.
19429
19430 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
19431 Remove unused variable ST.
19432
19433 2014-06-23 Joseph Myers <joseph@codesourcery.com>
19434
19435 [BZ #16354]
19436 [BZ #17061]
19437 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
19438 small arguments before calling __expm1.
19439 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
19440 small arguments before calling __expm1f.
19441 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
19442 small arguments before calling __expm1l.
19443 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
19444 Likewise.
19445 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
19446 * math/auto-libm-test-in: Add more cosh tests. Do not allow
19447 spurious underflow for some cosh tests.
19448 * math/auto-libm-test-out: Regenerated.
19449 * sysdeps/i386/fpu/libm-test-ulps: Update.
19450
19451 [BZ #17050]
19452 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
19453 (__ieee754_y1): Set errno if return value overflows.
19454 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
19455 (__ieee754_y1f): Set errno if return value overflows.
19456 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
19457 (__ieee754_y1l): Set errno if return value overflows.
19458 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
19459 (__ieee754_y1l): Set errno if return value overflows.
19460 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
19461 * math/auto-libm-test-out: Regenerated.
19462
19463 * math/gen-auto-libm-tests.c: Document use of
19464 ignore-zero-inf-sign.
19465 (input_flag_type): Add value flag_ignore_zero_inf_sign.
19466 (input_flags): Add ignore-zero-inf-sign.
19467 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
19468 * math/gen-libm-test.pl (generate_testfile): Handle
19469 ignore-zero-inf-sign.
19470 * math/auto-libm-test-in: Mark some cpow tests with
19471 ignore-zero-inf-sign and some with xfail-rounding.
19472 * math/auto-libm-test-out: Regenerated.
19473 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
19474 * sysdeps/i386/fpu/libm-test-ulps: Update.
19475 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19476
19477 [BZ #16315]
19478 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
19479 overflowing or underflowing operations take place with sign of
19480 result.
19481 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
19482 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
19483 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
19484 (__ieee754_pow): Recompute overflowing and underflowing results in
19485 original rounding mode.
19486 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
19487 (__powl_helper): Allow negative argument X and scale negated value
19488 as needed. Avoid passing value outside [-1, 1] to f2xm1.
19489 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
19490 overflowing or underflowing operations take place with sign of
19491 result.
19492 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
19493 Include <math.h>.
19494 * math/auto-libm-test-in: Add more tests of pow.
19495 * math/auto-libm-test-out: Regenerated.
19496 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
19497 (pow_tonearest_test_data): Remove.
19498 (pow_test_tonearest): Likewise.
19499 (pow_towardzero_test_data): Likewise.
19500 (pow_test_towardzero): Likewise.
19501 (pow_downward_test_data): Likewise.
19502 (pow_test_downward): Likewise.
19503 (pow_upward_test_data): Likewise.
19504 (pow_test_upward): Likewise.
19505 (main): Don't call removed functions.
19506 * sysdeps/i386/fpu/libm-test-ulps: Update.
19507 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19508
19509 2014-06-23 Roland McGrath <roland@hack.frob.com>
19510
19511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
19512 Moved ...
19513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
19514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19515 Moved ...
19516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
19517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
19518 Moved ...
19519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
19520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
19521 Moved ...
19522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
19523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
19524 File removed.
19525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
19526 File removed.
19527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
19528 File removed.
19529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
19530 File removed.
19531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
19532 File removed.
19533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
19534 File removed.
19535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
19536 File removed.
19537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
19538 File removed.
19539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
19540 File removed.
19541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
19542 File removed.
19543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
19544 File removed.
19545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
19546 File removed.
19547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
19548 Moved ...
19549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
19550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
19551 Moved ...
19552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
19553 ... here.
19554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
19555 Moved ...
19556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
19557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
19558 Moved ...
19559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
19560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
19561 Moved ...
19562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
19563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
19564 Moved ...
19565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
19566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
19567 Moved ...
19568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
19569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
19570 Moved ...
19571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
19572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
19573 Moved ...
19574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
19575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
19576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
19577 ... here.
19578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
19579 Moved ...
19580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
19581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
19582 Moved ...
19583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
19584 ... here.
19585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
19586 Moved ...
19587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
19588 ... here.
19589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
19590 Moved ...
19591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
19592 ... here.
19593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
19594 Moved ...
19595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
19596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
19597 Moved ...
19598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
19599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
19600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
19601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
19602 Moved ...
19603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
19604 ... here.
19605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
19606 Moved ...
19607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
19608 ... here.
19609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
19610 Moved ...
19611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
19612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
19613 Moved ...
19614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
19615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
19616 Moved ...
19617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
19618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19619 Moved ...
19620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
19621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
19622 Moved ...
19623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
19624 ... here.
19625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
19626 Moved ...
19627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
19628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
19629 Moved ...
19630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
19631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
19632 Moved ...
19633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
19634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
19635 Moved ...
19636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
19637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
19638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
19639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
19640 Moved ...
19641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
19642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
19643 Moved ...
19644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
19645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
19646 Moved ...
19647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
19648 ... here.
19649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19650 Moved ...
19651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
19652 ... here.
19653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
19654 Moved ...
19655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
19656 ... here.
19657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
19658 Moved ...
19659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
19660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
19661 Moved ...
19662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
19663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
19664 Moved ...
19665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
19666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
19667 Moved ...
19668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
19669 ... here.
19670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
19671 Moved ...
19672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
19673 ... here.
19674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
19675 Moved ...
19676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
19677 ... here.
19678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
19679 Moved ...
19680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
19681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
19682 Moved ...
19683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
19684
19685 2014-06-23 Will Newton <will.newton@linaro.org>
19686 Wilco <wdijkstr@arm.com>
19687
19688 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
19689 implementation. Include get-rounding-mode.h.
19690 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
19691 [!libc_feholdsetround_noex_ctx]: Define
19692 libc_feholdsetround_noex_ctx.
19693 [!libc_feholdsetround_noexf_ctx]: Define
19694 libc_feholdsetround_noexf_ctx.
19695 [!libc_feholdsetround_noexl_ctx]: Define
19696 libc_feholdsetround_noexl_ctx.
19697 (libc_feholdsetround_ctx): New function.
19698 (libc_feresetround_ctx): New function.
19699 (libc_feholdsetround_noex_ctx): New function.
19700 (libc_feresetround_noex_ctx): New function.
19701
19702 2014-06-23 Roland McGrath <roland@hack.frob.com>
19703
19704 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
19705 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
19706 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
19707 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
19708 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
19709 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
19710
19711 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
19712 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
19713 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
19714 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
19715 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
19716 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
19717 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
19718 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
19719 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
19720 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
19721 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
19722 Moved ...
19723 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
19724 ... here.
19725 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
19726 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
19727 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
19728 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
19729 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
19730 Moved ...
19731 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
19732 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
19733 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
19734 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
19735 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
19736 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
19737 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
19738 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
19739 Moved ...
19740 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
19741 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
19742 Moved ...
19743 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
19744 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
19745 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
19746 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
19747 Moved ...
19748 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
19749 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
19750 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
19751 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
19752 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
19753 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
19754 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
19755 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
19756 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
19757 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
19758 Moved ...
19759 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
19760 ... here.
19761 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
19762 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
19763 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
19764 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
19765 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
19766 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
19767 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
19768 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
19769 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
19770 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
19771 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
19772 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
19773 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
19774 Moved ...
19775 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
19776 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
19777 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
19778 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
19779 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
19780 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
19781 Moved ...
19782 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
19783 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
19784 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
19785 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
19786 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
19787
19788 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
19789 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
19790 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
19791 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
19792 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
19793 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
19794 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
19795 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
19796 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
19797 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
19798 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
19799 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
19800 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
19801 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
19802 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
19803 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
19804 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
19805 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
19806 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
19807 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
19808 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
19809 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
19810 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
19811 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
19812 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
19813 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
19814 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
19815 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
19816
19817 2014-06-23 Joseph Myers <joseph@codesourcery.com>
19818
19819 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
19820 (FALLOC_FL_COLLAPSE_RANGE): New macro.
19821 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
19822 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
19823 (IPV6_PMTUDISC_INTERFACE): Likewise.
19824 (IPV6_PMTUDISC_OMIT): Likewise.
19825
19826 2014-06-23 Andreas Schwab <schwab@suse.de>
19827
19828 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
19829 Remove unused errout label.
19830
19831 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19832
19833 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
19834 macro: hardware supports Vector Crypto instructions.
19835
19836 2014-06-23 Will Newton <will.newton@linaro.org>
19837
19838 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
19839 rather than __builtin_expect.
19840
19841 * elf/dl-lookup.c (undefined_msg): Remove variable.
19842 (_dl_lookup_symbol_x): Replace undefined_msg with string
19843 literal.
19844
19845 * elf/dl-lookup.c (do_lookup_unique): New function.
19846 (do_lookup_x): Move STB_GNU_UNIQUE handling code
19847 to a separate function.
19848
19849 2014-06-23 Andreas Schwab <schwab@suse.de>
19850
19851 [BZ #17079]
19852 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
19853 before reading the next line.
19854
19855 2014-06-23 Will Newton <will.newton@linaro.org>
19856
19857 * test-skeleton.c (signal_handler): Use printf and %m
19858 rather than perror. Use printf rather than fprintf to
19859 stderr. Use puts rather than fputs to stderr.
19860 (main): Likewise.
19861
19862 2014-06-22 Ludovic Courtès <ludo@gnu.org>
19863
19864 * nscd/nscd.c (thread_info_t): Remove typedef.
19865 (thread_info): Remove variable.
19866
19867 2014-06-21 Allan McRae <allan@archlinux.org>
19868
19869 * NEWS: Mention CVE-2014-4043.
19870
19871 2014-06-20 Roland McGrath <roland@hack.frob.com>
19872
19873 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
19874 * nptl/smp.h: ... here.
19875
19876 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
19877
19878 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
19879 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
19880 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
19881 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
19882
19883 * nptl/allocatestack.c: Include <stack-aliasing.h>.
19884 * nptl/stack-aliasing.h: New file.
19885 * sysdeps/i386/i686/stack-aliasing.h: New file.
19886 * sysdeps/i386/i686/nptl/Makefile: File removed.
19887 * sysdeps/x86_64/stack-aliasing.h: New file.
19888 * sysdeps/x86_64/nptl/Makefile
19889 (CFLAGS-pthread_create.c): Variable removed.
19890
19891 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
19892 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
19893 old file.
19894 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
19895 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
19896 old file.
19897
19898 2014-06-21 Joseph Myers <joseph@codesourcery.com>
19899
19900 * sysdeps/unix/sysv/linux/arm/kernel-features.h
19901 (__ASSUME_SIGFRAME_V2): Remove macro.
19902 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
19903 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
19904 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
19905 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
19906 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
19907 Declare as function. Remove conditional macro definitions.
19908 (__default_rt_sa_restorer): Likewise.
19909 (__default_sa_restorer_v1): Remove declaration.
19910 (__default_sa_restorer_v2): Likewise.
19911 (__default_rt_sa_restorer_v1): Likewise.
19912 (__default_rt_sa_restorer_v2): Likewise.
19913 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
19914 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
19915 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
19916
19917 2014-06-20 Roland McGrath <roland@hack.frob.com>
19918
19919 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
19920 (libpthread-routines): Add sysdep.
19921 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
19922 * sysdeps/unix/sysv/linux/sparc/Versions
19923 (libpthread: GLIBC_2.3.3): New version set.
19924 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
19925 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
19926 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
19927 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
19928 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
19929 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
19930 Moved ...
19931 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
19932 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
19933 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
19934 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
19935 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
19936 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
19937 * sysdeps/sparc/nptl/sem_init.c: ... here.
19938 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
19939 * sysdeps/sparc/nptl/sem_post.c: ... here.
19940 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
19941 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
19942 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
19943 * sysdeps/sparc/nptl/sem_wait.c: ... here.
19944 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
19945 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
19946 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
19947 (libpthread-routines): Add cpu_relax.
19948 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
19949 File removed.
19950 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
19951 (librt: GLIBC_2.3.3): New version set.
19952 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
19953 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
19954 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
19955 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
19956 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
19957 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
19958 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
19959 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
19960 Moved ...
19961 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
19962 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
19963 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
19964 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
19965 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
19966 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
19967 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
19968 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
19969 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
19970 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
19971 Moved ...
19972 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
19973 Update #include.
19974 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
19975 Moved ...
19976 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
19977 Update #include.
19978 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
19979 Moved ...
19980 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
19981 Update #include.
19982 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
19983 Moved ...
19984 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
19985 Update #include.
19986 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
19987 Moved ...
19988 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
19989 Update #include.
19990 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
19991 Moved ...
19992 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
19993 Update #include.
19994 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
19995 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
19996 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
19997 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
19998 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
19999 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
20000 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
20001 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
20002 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
20003 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
20004 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
20005 Moved ...
20006 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
20007 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
20008 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
20009 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
20010 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
20011
20012 2014-06-20 Joseph Myers <joseph@codesourcery.com>
20013
20014 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
20015 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
20016 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
20017 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
20018 * nscd/nscd.c: Likewise.
20019 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
20020 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
20021 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
20022 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
20023
20024 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
20025 <kernel-features.h>.
20026 (init_mq_netlink): Remove conditional have_sock_cloexec
20027 definitions. Remove code conditional on have_sock_cloexec < 0.
20028 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
20029 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
20030 * sysdeps/unix/sysv/linux/opensock.c: Do not include
20031 <kernel-features.h>.
20032 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
20033 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
20034
20035 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
20036
20037 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20038 Add tests for memset_chk and memset.
20039
20040 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
20041 with AVX2_Usable.
20042
20043 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
20044
20045 [BZ #16046]
20046 * elf/tst-dl-iter-static.c: New file.
20047 * elf/Makefile (tests-static): Add tst-dl-iter-static.
20048
20049 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
20050 error.
20051
20052 2014-06-20 Joseph Myers <joseph@codesourcery.com>
20053
20054 * sysdeps/unix/sysv/linux/kernel-features.h
20055 (__ASSUME_F_GETOWN_EX): Remove macro.
20056 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
20057 <kernel-features.h>.
20058 (miss_F_GETOWN_EX): Remove variable or macro.
20059 (do_fcntl): Do not check miss_F_GETOWN_EX.
20060 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
20061
20062 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
20063 Remove macro.
20064 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
20065 [!__ASSUME_AT_RANDOM]: Remove conditional code.
20066 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
20067
20068 * sysdeps/unix/sysv/linux/kernel-features.h
20069 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
20070 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
20071 [ADJ_OFFSET_SS_READ]: Make code unconditional.
20072 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
20073
20074 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
20075
20076 [BZ #17075]
20077 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
20078 Fix calculation of the symbol's value.
20079 * sysdeps/arm/tst-armtlsdescloc.c: New file.
20080 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
20081 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
20082 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
20083 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
20084 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
20085 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
20086 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
20087 (modules-names): Add `tst-armtlsdescmod',
20088 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
20089 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
20090 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
20091 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
20092 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
20093 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
20094 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
20095 ($(objpfx)tst-armtlsdescloc): New dependency.
20096 ($(objpfx)tst-armtlsdescextnow): Likewise.
20097 ($(objpfx)tst-armtlsdescextlazy): Likewise.
20098 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
20099 TLS scheme support.
20100 * sysdeps/arm/configure: Regenerate.
20101
20102 2014-06-20 Joseph Myers <joseph@codesourcery.com>
20103
20104 * include/fcntl.h (__atfct_seterrno): Remove prototype.
20105 (__atfct_seterrno_2): Likewise.
20106 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
20107 <kernel-features.h>.
20108 (__ASSUME_ATFCTS): Do not undefine and redefine.
20109 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
20110 (__have_atfcts): Remove conditional definition.
20111 (__fxstatat([__NR_fstatat64]: Make code unconditional.
20112 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
20113 unreachable if [__ASSUME_ATFCTS].
20114 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
20115 not undefine and redefine.
20116 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
20117 <kernel-features.h>.
20118 (faccessat) [__NR_faccessat]: Make code unconditional.
20119 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
20120 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
20121 <kernel-features.h>.
20122 (fchmodat) [__NR_fchmodat]: Make code unconditional.
20123 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
20124 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
20125 <kernel-features.h>.
20126 (fchownat) [__NR_fchownat]: Make code unconditional.
20127 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
20128 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
20129 <kernel-features.h>.
20130 (futimesat) [__NR_futimesat]: Make code unconditional.
20131 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
20132 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
20133 <kernel-features.h>.
20134 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
20135 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
20136 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
20137 <kernel-features.h>.
20138 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
20139 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
20140 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
20141 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
20142 <kernel-features.h>.
20143 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
20144 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
20145 * sysdeps/unix/sysv/linux/linkat.c: Do not include
20146 <kernel-features.h>.
20147 (linkat) [__NR_linkat]: Make code unconditional.
20148 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
20149 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
20150 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
20151 <kernel-features.h>.
20152 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
20153 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
20154 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
20155 <kernel-features.h>.
20156 (mkdirat) [__NR_mkdirat]: Make code unconditional.
20157 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
20158 * sysdeps/unix/sysv/linux/openat.c: Do not include
20159 <kernel-features.h>.
20160 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
20161 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
20162 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
20163 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
20164 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
20165 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
20166 <kernel-features.h>.
20167 (readlinkat) [__NR_readlinkat]: Make code unconditional.
20168 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
20169 result of INLINE_SYSCALL directly, not via int variable.
20170 * sysdeps/unix/sysv/linux/renameat.c: Do not include
20171 <kernel-features.h>.
20172 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
20173 (renameat) [__NR_renameat]: Make code unconditional.
20174 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
20175 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
20176 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
20177 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
20178 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
20179 (__ASSUME_ATFCTS): Do not undefine and redefine.
20180 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
20181 <kernel-features.h>.
20182 (symlinkat) [__NR_symlinkat]: Make code unconditional.
20183 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
20184 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
20185 <kernel-features.h>.
20186 (unlinkat) [__NR_unlinkat]: Make code unconditional.
20187 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
20188 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
20189 (__ASSUME_ATFCTS): Do not undefine and redefine.
20190 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
20191 <kernel-features.h>.
20192 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
20193 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
20194 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
20195 <kernel-features.h>.
20196 (__xmknodat) [__NR_mknodat]: Make code unconditional.
20197 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
20198
20199 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
20200
20201 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
20202
20203 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
20204
20205 [BZ #17069]
20206 * posix/regcomp.c (parse_reg_exp): Deallocate partially
20207 constructed tree before returning error.
20208 * posix/bug-regexp36.c: Expand test case.
20209
20210 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
20211
20212 [BZ #6803]
20213 * math/libm-test.inc (scalbln_test_date):
20214 Add errno expectations.
20215 * math/w_scalblnf.c: New File.
20216 Add wrapper which checks for setting errno to ERANGE.
20217 Add weak_alias for corresponding scalbln function.
20218 * math/w_scalbln.c: Likewise.
20219 * math/w_scalblnl.c: Likewise.
20220 * math/Makefile (libm-calls): Add w_scalbln.
20221 * sysdeps/ieee754/flt-32/s_scalblnf.c:
20222 Remove weak_alias for corresponding scalbln function.
20223 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
20224 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
20225 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
20226 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
20227 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
20228 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
20229 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
20230 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
20231 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
20232 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
20233 Remove long_double_symbol for scalblnl function in libm, libc.
20234 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
20235 Add wrapper which checks for setting errno to ERANGE.
20236 Add long_double_symbol for scalblnl function in libm, libc.
20237 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
20238 Remove long_double_symbol for scalblnl in libm.
20239 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
20240 Add wrapper which checks for setting errno to ERANGE.
20241 Add long_double_symbol for scalblnl function in libm.
20242 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
20243 Do not use wrapper because of own implementation.
20244
20245 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
20246
20247 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
20248 3 bytes for __pad1 for x32.
20249 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
20250
20251 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
20252 H.J. Lu <hongjiu.lu@intel.com>
20253
20254 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
20255 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
20256 * sysdeps/x86_64/multiarch/memset.S: Likewise.
20257 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
20258 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
20259
20260 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
20261
20262 [BZ #17069]
20263 * posix/regcomp.c (parse_expression): Deallocate partially
20264 constructed tree before returning error.
20265 * posix/Makefile.c (tests): Add bug-regex36.
20266 (generated): Add bug-regex36.mtrace.
20267 (tests-special): Add $(objpfx)bug-regex36-mem.out
20268 (bug-regex36-ENV): New variable.
20269 ($(objpfx)bug-regex36-mem.out): New rule.
20270 * posix/bug-regex36.c: New file.
20271
20272 2014-06-19 Will Newton <will.newton@linaro.org>
20273
20274 * malloc/malloc.c (systrim): If extra is zero then return
20275 early.
20276
20277 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20278
20279 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
20280
20281 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
20282
20283 * sysdeps/aarch64/strchr.S: New file.
20284
20285 2014-06-18 Joseph Myers <joseph@codesourcery.com>
20286
20287 [BZ #17022]
20288 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
20289 from arguments -2 or below.
20290 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
20291 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
20292
20293 2014-06-18 Andreas Schwab <schwab@suse.de>
20294
20295 [BZ #17062]
20296 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
20297 of a bracket expr not to run off the end of the string.
20298 * posix/Makefile (tests): Add tst-fnmatch3.
20299 * posix/tst-fnmatch3.c: New file.
20300
20301 2014-06-18 Joseph Myers <joseph@codesourcery.com>
20302
20303 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
20304 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
20305 [$(cross-compiling) = no]: Likewise.
20306 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
20307 [$(cross-compiling) = no]: Likewise.
20308
20309 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20310
20311 [BZ #17031]
20312 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
20313 double, adjusted for any remainder from the high double.
20314 * math/libm-test.inc (nearbyint): Add tests.
20315 (rint): Likewise.
20316
20317 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20318
20319 * nptl/sysdeps/powerpc/Makefile: Moved ...
20320 * sysdeps/powerpc/nptl/Makefile: ... here.
20321 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
20322 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
20323 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
20324 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
20325 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
20326 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
20327 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
20328 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
20329 * nptl/sysdeps/powerpc/tls.h: Moved ...
20330 * sysdeps/powerpc/nptl/tls.h: ... here.
20331
20332 2014-06-16 Joseph Myers <joseph@codesourcery.com>
20333
20334 [BZ #16681]
20335 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
20336 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
20337 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
20338 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
20339 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
20340 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
20341 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
20342 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
20343 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
20344
20345 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
20346
20347 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
20348
20349 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
20350
20351 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
20352 defined operator.
20353
20354 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
20355 $TIMEOUTFACTOR.
20356
20357 2014-06-16 Florian Weimer <fweimer@redhat.com>
20358
20359 [BZ #17058]
20360 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
20361 non-executed part of the test.
20362
20363 2014-06-16 Andreas Schwab <schwab@suse.de>
20364
20365 * string/bits/string2.h (strdup, strndup): Update feature guard.
20366
20367 2014-06-14 David S. Miller <davem@davemloft.net>
20368
20369 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20370
20371 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
20372
20373 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
20374 that was previously under [RESET_PID].
20375 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
20376
20377 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
20378 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
20379 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
20380 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
20381 (__libc_vfork): New strong alias.
20382 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
20383
20384 2014-06-14 Andi Kleen <ak@linux.intel.com>
20385
20386 * sysdeps/generic/elide.h: New file.
20387
20388 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
20389
20390 * Makefile (installed-headers): Adjust path of pthread.h header.
20391
20392 2014-06-13 Roland McGrath <roland@hack.frob.com>
20393
20394 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
20395 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
20396 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
20397 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
20398
20399 * nptl/sysdeps/s390/Makefile: Moved ...
20400 * sysdeps/s390/nptl/Makefile: ... here.
20401 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
20402 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
20403 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
20404 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
20405 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
20406 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
20407 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
20408 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
20409 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
20410 * sysdeps/s390/nptl/pthreaddef.h: ... here.
20411 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
20412 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
20413 * nptl/sysdeps/s390/tls.h: Moved ...
20414 * sysdeps/s390/nptl/tls.h: ... here.
20415
20416 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
20417 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
20418
20419 2014-06-13 David S. Miller <davem@davemloft.net>
20420
20421 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
20422 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
20423 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
20424 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
20425 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
20426 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
20427 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
20428 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
20429 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
20430 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
20431 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
20432 Remove RESET_PID cpp guards.
20433 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
20434 Remove RESET_PID cpp guards.
20435 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
20436
20437 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
20438
20439 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
20440 __sp to uintptr_t.
20441
20442 2014-06-13 Andi Kleen <ak@linux.intel.com>
20443
20444 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
20445 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
20446 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
20447 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
20448 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
20449 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
20450 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
20451 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
20452 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
20453 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
20454 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
20455 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
20456 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
20457 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
20458 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
20459 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
20460 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
20461 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
20462 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
20463 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
20464
20465 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
20466 (pthread_rwlock_rdlock): Add elision.
20467 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
20468 (pthread_rwlock_wrlock): Add elision.
20469 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
20470 (pthread_rwlock_trywrlock): Add elision.
20471 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
20472 (pthread_rwlock_tryrdlock): Add elision.
20473 * nptl/pthread_rwlock_unlock.c: Include elide.h.
20474 (pthread_rwlock_tryrdlock): Add elision unlock.
20475 * nptl/sysdeps/pthread/pthread.h:
20476 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
20477 (PTHREAD_RWLOCK_INITIALIZER,
20478 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
20479 Handle new elision field.
20480 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
20481 * sysdeps/arm/nptl/bits/pthreadtypes.h
20482 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20483 * sysdeps/sh/nptl/bits/pthreadtypes.h
20484 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20485 * sysdeps/tile/nptl/bits/pthreadtypes.h
20486 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20487 * sysdeps/a/nptl/bits/pthreadtypes.h
20488 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20489 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
20490 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20491 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
20492 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20493 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
20494 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20495 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
20496 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20497 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
20498 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20499 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
20500 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20501 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
20502 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20503 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
20504 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20505 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
20506 (elision_init): Set try_xbegin to zero when no RTM.
20507 * sysdeps/x86/nptl/bits/pthreadtypes.h
20508 (pthread_rwlock_t): Change __pad1 to __rwelision.
20509 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20510
20511 2014-06-13 Andi Kleen <ak@linux.intel.com>
20512
20513 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
20514 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
20515 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
20516 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
20517
20518 2014-06-13 Meador Inge <meadori@codesourcery.com>
20519
20520 [BZ #16996]
20521 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
20522 that the cached result has been set before returning it.
20523
20524 2014-06-12 Roland McGrath <roland@hack.frob.com>
20525
20526 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
20527 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
20528 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
20529 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
20530 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
20531 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
20532
20533 * nptl/sysdeps/sparc/Makefile: Moved ...
20534 * sysdeps/sparc/nptl/Makefile: ... here.
20535 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
20536 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
20537 * nptl/sysdeps/sparc/tls.h: Moved ...
20538 * sysdeps/sparc/nptl/tls.h: ... here.
20539 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
20540 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
20541 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
20542 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
20543 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
20544 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
20545 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
20546 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
20547 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
20548 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
20549 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
20550 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
20551 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
20552 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
20553 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
20554 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
20555 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
20556 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
20557 Update #include.
20558 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
20559 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
20560 Update #include.
20561 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
20562 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
20563 Update #include.
20564 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
20565 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
20566 Update #include.
20567
20568 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
20569
20570 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
20571 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
20572
20573 * sysdeps/pthread/posix-timer.h: Include <list.h>.
20574 (struct list_links): Type removed.
20575 (struct thread_node, struct timer_node): Replace struct list_links
20576 with struct list_head.
20577 (list_unlink_ip): Likewise.
20578 * sysdeps/pthread/timer_routines.c
20579 (timer_free_list, thread_free_list, thread_active_list): Likewise.
20580 (list_append, list_insbefore): Likewise.
20581 (list_init): Function removed.
20582 (thread_init, init_module): Use INIT_LIST_HEAD instead.
20583 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
20584 * sysdeps/pthread/Makefile: ... here, new file.
20585
20586 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
20587 * sysdeps/nptl/Implies: ... here.
20588 * sysdeps/unix/sysv/linux/Implies: Add nptl.
20589 * nptl/sysdeps/pthread/list.h: Moved ...
20590 * include/list.h: ... here.
20591 * nptl/sysdeps/pthread/createthread.c: Moved ...
20592 * nptl/createthread.c: ... here.
20593 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
20594 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
20595 * nptl/pt-longjmp.c: ... here.
20596 * nptl/sysdeps/pthread/Makefile: Moved ...
20597 * sysdeps/nptl/Makefile: ... here.
20598 * nptl/sysdeps/pthread/Subdirs: Moved ...
20599 * sysdeps/nptl/Subdirs: ... here.
20600 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
20601 * sysdeps/nptl/aio_misc.h: ... here.
20602 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
20603 * sysdeps/nptl/bits/libc-lock.h: ... here.
20604 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
20605 * sysdeps/nptl/bits/libc-lockP.h: ... here.
20606 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
20607 * sysdeps/nptl/bits/stdio-lock.h: ... here.
20608 * nptl/sysdeps/pthread/configure: Moved ...
20609 * sysdeps/nptl/configure: ... here.
20610 * nptl/sysdeps/pthread/configure.ac: Moved ...
20611 * sysdeps/nptl/configure.ac: ... here.
20612 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
20613 * sysdeps/nptl/gai_misc.h: ... here.
20614 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
20615 * sysdeps/nptl/librt-cancellation.c: ... here.
20616 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
20617 * sysdeps/nptl/malloc-machine.h: ... here.
20618 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
20619 * sysdeps/nptl/pthread-functions.h: ... here.
20620 * nptl/sysdeps/pthread/pthread.h: Moved ...
20621 * sysdeps/nptl/pthread.h: ... here.
20622 * nptl/sysdeps/pthread/setxid.h: Moved ...
20623 * sysdeps/nptl/setxid.h: ... here.
20624 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
20625 * sysdeps/nptl/sigfillset.c: ... here.
20626 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
20627 * sysdeps/nptl/tcb-offsets.h: ... here.
20628 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
20629 * sysdeps/nptl/tst-mqueue8x.c: ... here.
20630 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
20631 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
20632 * nptl/sysdeps/pthread/allocalim.h: Moved ...
20633 * sysdeps/pthread/allocalim.h: ... here.
20634 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
20635 * sysdeps/pthread/bits/sigthread.h: ... here.
20636 * nptl/sysdeps/pthread/flockfile.c: Moved ...
20637 * sysdeps/pthread/flockfile.c: ... here.
20638 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
20639 * sysdeps/pthread/ftrylockfile.c: ... here.
20640 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
20641 * sysdeps/pthread/funlockfile.c: ... here.
20642 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
20643 * sysdeps/pthread/posix-timer.h: ... here.
20644 * nptl/sysdeps/pthread/timer_create.c: Moved ...
20645 * sysdeps/pthread/timer_create.c: ... here.
20646 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
20647 * sysdeps/pthread/timer_delete.c: ... here.
20648 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
20649 * sysdeps/pthread/timer_getoverr.c: ... here.
20650 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
20651 * sysdeps/pthread/timer_gettime.c: ... here.
20652 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
20653 * sysdeps/pthread/timer_routines.c: ... here.
20654 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
20655 * sysdeps/pthread/timer_settime.c: ... here.
20656 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
20657 * sysdeps/pthread/tst-timer.c: ... here.
20658 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
20659 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
20660
20661 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
20662 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
20663
20664 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
20665 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
20666 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
20667 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
20668 Update #include target.
20669 * nptl/sysdeps/i386/i686/Makefile: Moved ...
20670 * sysdeps/i386/i686/nptl/Makefile: ... here.
20671 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
20672 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
20673 Update #include target.
20674 * nptl/sysdeps/i386/i686/tls.h: Moved ...
20675 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
20676 * nptl/sysdeps/i386/Makefile: Moved ...
20677 * sysdeps/i386/nptl/Makefile: ... here.
20678 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
20679 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
20680 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
20681 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
20682 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
20683 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
20684 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
20685 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
20686 * sysdeps/i386/nptl/pthreaddef.h: ... here.
20687 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
20688 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
20689 * nptl/sysdeps/i386/tls.h: Moved ...
20690 * sysdeps/i386/nptl/tls.h: ... here.
20691
20692 * sysdeps/sh/Makefile [$(subdir) = csu]
20693 (gen-as-const-headers): Add tcb-offsets.sym.
20694 * nptl/sysdeps/sh/Makefile: File removed.
20695 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
20696 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
20697 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
20698 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
20699 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
20700 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
20701 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
20702 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
20703 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
20704 * sysdeps/sh/nptl/pthreaddef.h: ... here.
20705 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
20706 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
20707 * nptl/sysdeps/sh/tls.h: Moved ...
20708 * sysdeps/sh/nptl/tls.h: ... here.
20709 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
20710 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
20711 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
20712 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
20713 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
20714 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
20715 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
20716 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
20717 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
20718 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
20719 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
20720 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
20721 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
20722 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
20723 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
20724 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
20725 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
20726 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
20727 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
20728 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
20729 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
20730 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
20731 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
20732 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
20733 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
20734 Moved ...
20735 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
20736 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
20737 Moved ...
20738 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
20739 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
20740 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
20741 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
20742 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
20743 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
20744 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
20745 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
20746 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
20747 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
20748 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
20749 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
20750 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
20751 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
20752 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
20753 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
20754 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
20755 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
20756 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
20757
20758 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
20759
20760 * posix/spawn_faction_addopen.c: Include string.h.
20761
20762 2014-06-11 Roland McGrath <roland@hack.frob.com>
20763
20764 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
20765 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
20766 * nptl/sysdeps/x86_64/Makefile: Moved ...
20767 * sysdeps/x86_64/nptl/Makefile: ... here.
20768 * nptl/sysdeps/x86_64/configure: Moved ...
20769 * sysdeps/x86_64/nptl/configure: ... here.
20770 * nptl/sysdeps/x86_64/configure.ac: Moved ...
20771 * sysdeps/x86_64/nptl/configure.ac: ... here.
20772 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
20773 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
20774 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
20775 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
20776 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
20777 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
20778 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
20779 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
20780 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
20781 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
20782 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
20783 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
20784 * nptl/sysdeps/x86_64/tls.h: Moved ...
20785 * sysdeps/x86_64/nptl/tls.h: ... here.
20786 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
20787 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
20788 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
20789 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
20790
20791 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
20792
20793 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20794
20795 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20796
20797 2014-06-11 Joseph Myers <joseph@codesourcery.com>
20798
20799 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
20800 type.
20801 [POSIX] (off_t): Likewise.
20802 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
20803 [POSIX] (S_ISBLK): Require macro.
20804 [POSIX] (S_ISCHR): Likewise.
20805 [POSIX] (S_ISDIR): Likewise.
20806 [POSIX] (S_ISFIFO): Likewise.
20807 [POSIX] (S_ISREG): Likewise.
20808 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
20809 optional-macro.
20810 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
20811 type.
20812 [POSIX] (time_t): Likewise.
20813 [POSIX] (timer_t): Likewise.
20814
20815 2014-06-11 Florian Weimer <fweimer@redhat.com>
20816
20817 [BZ #17048]
20818 * posix/spawn_int.h (struct __spawn_action): Make the path string
20819 non-const to support deallocation.
20820 * posix/spawn_faction_addopen.c
20821 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
20822 * posix/spawn_faction_destroy.c
20823 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
20824 path in all spawn_do_open actions.
20825 * posix/tst-spawn.c (do_test): Exercise the copy operation in
20826 posix_spawn_file_actions_addopen.
20827
20828 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
20829
20830 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
20831 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
20832 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
20833 conditional code always true.
20834 (__libc_vfork): New alias.
20835
20836 2014-06-11 Roland McGrath <roland@hack.frob.com>
20837
20838 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
20839 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
20840
20841 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
20842
20843 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
20844 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
20845
20846 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
20847 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
20848
20849 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
20850 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
20851
20852 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
20853
20854 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
20855 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
20856 multiarch strcmp for PPC64.
20857 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
20858 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
20859 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
20860 multiarch optimizations.
20861 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20862 (__libc_ifunc_impl_list): Likewise.
20863
20864 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20865
20866 * benchtests/scripts/validate_benchout.py: New script.
20867 * benchtests/Makefile (bench-func): Call it.
20868 * benchtests/scripts/benchout.schema.json: New file.
20869
20870 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
20871
20872 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
20873 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
20874 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
20875 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
20876 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
20877 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
20878 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
20879 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
20880 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
20881 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
20882 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
20883 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
20884 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
20885 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
20886 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
20887 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
20888 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
20889 Moved ...
20890 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
20891 ... here.
20892 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
20893 Moved ...
20894 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
20895 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
20896 Moved ...
20897 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
20898 ... here.
20899 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
20900 Moved ...
20901 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
20902 ... here.
20903 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
20904 Moved ...
20905 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
20906 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
20907 Moved ...
20908 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
20909 ... here.
20910 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
20911 Moved ...
20912 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
20913 ... here.
20914 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
20915 Moved ...
20916 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
20917 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
20918 Moved ...
20919 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
20920 ... here.
20921 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
20922 Moved ...
20923 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
20924 ... here.
20925 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
20926 Moved ...
20927 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
20928 ... here.
20929 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
20930 Moved ...
20931 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
20932 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
20933 Moved ...
20934 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
20935 ... here.
20936 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
20937 Moved ...
20938 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
20939 ... here.
20940 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
20941 Moved ...
20942 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
20943 ... here.
20944 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
20945 Moved ...
20946 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
20947 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
20948 Moved ...
20949 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
20950 ... here.
20951 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
20952 Moved ...
20953 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
20954 ... here.
20955 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
20956 Moved ...
20957 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
20958 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
20959 Moved ...
20960 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
20961 ... here.
20962 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
20963 Moved ...
20964 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
20965 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
20966 Moved ...
20967 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
20968 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
20969 Moved ...
20970 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
20971 ... here.
20972 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
20973 Moved ...
20974 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
20975 ... here.
20976 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
20977 Moved ...
20978 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
20979 ... here.
20980 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
20981 Moved ...
20982 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
20983 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
20984 Moved ...
20985 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
20986 ... here.
20987 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
20988 Moved ...
20989 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
20990 ... here.
20991 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
20992 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
20993 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
20994 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
20995 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
20996 Moved ...
20997 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
20998 ... here.
20999 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
21000 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
21001 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
21002 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
21003 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
21004 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
21005 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
21006 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
21007 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
21008 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
21009 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
21010 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
21011 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
21012 Moved ...
21013 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
21014 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
21015 Moved ...
21016 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
21017 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
21018 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
21019 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
21020 Moved ...
21021 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
21022 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
21023 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
21024 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
21025 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
21026 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
21027 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
21028
21029 2014-06-10 Wilco <wdijkstr@arm.com>
21030
21031 * math/test-fenv-return.c: New file.
21032 * math/Makefile: Add new test test-fenv-return.
21033
21034 2014-06-10 Joseph Myers <joseph@codesourcery.com>
21035
21036 [BZ #17042]
21037 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
21038 when x - 1 is zero.
21039 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
21040 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
21041 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
21042 0.0L for an argument of 1.0L.
21043 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
21044 Likewise.
21045 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
21046 value when x - 1 is zero.
21047 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
21048 * sysdeps/i386/fpu/libm-test-ulps: Update.
21049 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21050
21051 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
21052
21053 [BZ #15119]
21054 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
21055
21056 2014-06-09 Roland McGrath <roland@hack.frob.com>
21057
21058 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
21059 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
21060
21061 2014-06-09 Roland McGrath <roland@hack.frob.com>
21062
21063 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
21064 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
21065
21066 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
21067 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
21068
21069 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
21070 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
21071
21072 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
21073 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
21074
21075 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
21076 if not already defined.
21077 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
21078 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
21079 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
21080 (TLS_INIT_TP): Use it.
21081 (TLS_DEFINE_INIT_TP): New macro.
21082 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
21083
21084 2014-06-09 Joseph Myers <joseph@codesourcery.com>
21085
21086 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
21087 constant.
21088 [POSIX] (IXANY): Likewise.
21089 [POSIX] (OLCUC): Likewise.
21090 [POSIX || POSIX2008] (CBAUD): Do not allow.
21091 [POSIX || POSIX2008] (DEFECHO): Likewise.
21092 [POSIX || POSIX2008] (ECHOCTL): Likewise.
21093 [POSIX || POSIX2008] (ECHOKE): Likewise.
21094 [POSIX || POSIX2008] (ECHOPRT): Likewise.
21095 [POSIX || POSIX2008] (EXTA): Likewise.
21096 [POSIX || POSIX2008] (EXTB): Likewise.
21097 [POSIX || POSIX2008] (FLUSHO): Likewise.
21098 [POSIX || POSIX2008] (LOBLK): Likewise.
21099 [POSIX || POSIX2008] (PENDIN): Likewise.
21100 [POSIX || POSIX2008] (SWTCH): Likewise.
21101 [POSIX || POSIX2008] (VDISCARD): Likewise.
21102 [POSIX || POSIX2008] (VDSUSP): Likewise.
21103 [POSIX || POSIX2008] (VLNEXT): Likewise.
21104 [POSIX || POSIX2008] (VREPRINT): Likewise.
21105 [POSIX || POSIX2008] (VSTATUS): Likewise.
21106 [POSIX || POSIX2008] (VWERASE): Likewise.
21107 (B*): Change to B[0123456789]*.
21108 * conform/data/time.h-data [POSIX || UNIX98]
21109 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
21110 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
21111 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
21112 [POSIX] (tm_*): Do not allow.
21113
21114 2014-06-07 Joseph Myers <joseph@codesourcery.com>
21115
21116 * Makefile (install): Don't set LANGUAGE.
21117 * Makefile.in (install): Likewise.
21118 * assert/Makefile (test-assert-ENV): Remove variable.
21119 (test-assert-perr-ENV): Likewise.
21120 * elf/Makefile (neededtest4-ENV): Likewise.
21121 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
21122 [$(cross-compiling) = no]: Don't set LANGUAGE.
21123 * io/ftwtest-sh (LANG): Remove variable.
21124 * libio/Makefile (tst-widetext-ENV): Likewise.
21125 * manual/install.texi (Running make install): Don't refer to
21126 environment settings for make install.
21127 * INSTALL: Regenerated.
21128 * nptl/tst-tls6.sh: Don't set LANG.
21129 * posix/globtest.sh (LANG): Remove variable.
21130 * string/Makefile (tester-ENV): Likewise.
21131 (inl-tester-ENV): Likewise.
21132 (noinl-tester-ENV): Likewise.
21133 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
21134 [$(cross-compiling) = no]: Don't set LANGUAGE.
21135 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
21136 without explicit environment settings.
21137
21138 2014-06-06 Roland McGrath <roland@hack.frob.com>
21139
21140 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
21141 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
21142 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
21143 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
21144
21145 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
21146
21147 * crypt/crypt-private.h [DOS]: Add some includes taken from the
21148 other files in the crypt directory.
21149 * crypt/crypt.c: Remove duplicate includes.
21150 * crypt/crypt-entry.c: Likewise.
21151 * crypt/crypt_util.c: Likewise.
21152
21153 2014-06-06 Joseph Myers <joseph@codesourcery.com>
21154
21155 * Makeconfig (run-program-env): New variable.
21156 (run-program-prefix-before-env): Likewise.
21157 (run-program-prefix-after-env): Likewise.
21158 (run-program-prefix): Define in terms of new variables.
21159 (built-program-cmd-before-env): New variable.
21160 (built-program-cmd-after-env): Likewise.
21161 (built-program-cmd): Define in terms of new variables.
21162 (test-program-prefix-before-env): New variable.
21163 (test-program-prefix-after-env): Likewise.
21164 (test-program-prefix): Define in terms of new variables.
21165 (test-program-cmd-before-env): New variable.
21166 (test-program-cmd-after-env): Likewise.
21167 (test-program-cmd): Define in terms of new variables.
21168 * Rules (make-test-out): Use $(run-program-env).
21169 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
21170 (help): Do not mention environment variables. Mention
21171 --timeoutfactor option.
21172 (timeoutfactor): New variable.
21173 (blacklist_exports): Remove function.
21174 (exports): Remove variable.
21175 (command): Do not include ${exports}.
21176 * manual/install.texi (Configuring and compiling): Do not mention
21177 test wrappers preserving environment variables. Mention that last
21178 assignment to a variable must take precedence.
21179 * INSTALL: Regenerated.
21180 * benchtests/Makefile (run-bench): Use $(run-program-env).
21181 * catgets/Makefile ($(objpfx)test1.cat): Use
21182 $(built-program-cmd-before-env), $(run-program-env) and
21183 $(built-program-cmd-after-env).
21184 ($(objpfx)test2.cat): Do not specify environment variables
21185 explicitly.
21186 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
21187 $(run-program-env) and $(built-program-cmd-after-env).
21188 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
21189 $(run-program-env) and $(test-program-cmd-after-env).
21190 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
21191 explicitly.
21192 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
21193 run_program_env and test_program_cmd_after_env arguments.
21194 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
21195 * elf/tst-pathopt.sh: Use run_program_env argument.
21196 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
21197 $(test-wrapper-env) and $(run-program-env).
21198 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
21199 run_program_env arguments.
21200 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
21201 * intl/Makefile ($(objpfx)tst-gettext.out): Use
21202 $(test-program-prefix-before-env), $(run-program-env) and
21203 $(test-program-prefix-after-env).
21204 ($(objpfx)tst-gettext2.out): Likewise.
21205 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
21206 run_program_env and test_program_prefix_after_env arguments.
21207 * intl/tst-gettext2.sh: Likewise.
21208 * intl/tst-gettext4.sh: Do not set environment variables
21209 explicitly.
21210 * intl/tst-gettext6.sh: Likewise.
21211 * intl/tst-translit.sh: Likewise.
21212 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
21213 $(test-program-prefix-before-env), $(run-program-env) and
21214 $(test-program-prefix-after-env).
21215 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
21216 run_program_env and test_program_prefix_after_env arguments.
21217 * math/Makefile (run-regen-ulps): Use $(run-program-env).
21218 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
21219 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
21220 explicitly with each use of ${test_wrapper_env}.
21221 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
21222 $(test-program-prefix-before-env), $(run-program-env) and
21223 $(test-program-prefix-after-env).
21224 * posix/tst-getconf.sh: Do not set environment variables
21225 explicitly.
21226 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
21227 run_program_env and test_program_prefix_after_env arguments.
21228 * stdio-common/tst-printf.sh: Do not set environment variables
21229 explicitly.
21230 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
21231 $(test-program-prefix-before-env), $(run-program-env) and
21232 $(test-program-prefix-after-env).
21233 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
21234 run_program_env and test_program_prefix_after_env arguments.
21235 Split $test calls into $test_pre and $test.
21236 * timezone/Makefile (build-testdata): Use
21237 $(built-program-cmd-before-env), $(run-program-env) and
21238 $(built-program-cmd-after-env).
21239
21240 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21241
21242 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
21243 strlen for non SHARED builds.
21244
21245 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
21246
21247 * nptl/allocatestack.c (check_list): Inlined function...
21248 (__reclaim_stacks): ... here.
21249
21250 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
21251
21252 [BZ #15698]
21253 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
21254 memory overrun.
21255
21256 2014-06-05 Joseph Myers <joseph@codesourcery.com>
21257
21258 * Rules (make-test-out): Include
21259 LOCPATH=$(common-objpfx)localedata in default environment.
21260 * debug/Makefile (tst-chk1-ENV): Remove variable.
21261 (tst-chk2-ENV): Likewise.
21262 (tst-chk3-ENV): Likewise.
21263 (tst-chk4-ENV): Likewise.
21264 (tst-chk5-ENV): Likewise.
21265 (tst-chk6-ENV): Likewise.
21266 (tst-lfschk1-ENV): Likewise.
21267 (tst-lfschk2-ENV): Likewise.
21268 (tst-lfschk3-ENV): Likewise.
21269 (tst-lfschk4-ENV): Likewise.
21270 (tst-lfschk5-ENV): Likewise.
21271 (tst-lfschk6-ENV): Likewise.
21272 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
21273 (tst-iconv7-ENV): Likewise.
21274 * intl/Makefile (LOCPATH-ENV): Likewise.
21275 (tst-codeset-ENV): Likewise.
21276 (tst-gettext3-ENV): Likewise.
21277 (tst-gettext5-ENV): Likewise.
21278 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
21279 (tst-fopenloc-ENV): Likewise.
21280 (tst-fgetws-ENV): Remove variable.
21281 (tst-ungetwc1-ENV): Likewise.
21282 (tst-ungetwc2-ENV): Likewise.
21283 (bug-ungetwc2-ENV): Likewise.
21284 (tst-swscanf-ENV): Likewise.
21285 (bug-ftell-ENV): Likewise.
21286 (tst-fgetwc-ENV): Likewise.
21287 (tst-fseek-ENV): Likewise.
21288 (tst-ftell-partial-wide-ENV): Likewise.
21289 (tst-ftell-active-handler-ENV): Likewise.
21290 (tst-ftell-append-ENV): Likewise.
21291 * posix/Makefile (tst-fnmatch-ENV): Likewise.
21292 (tst-regexloc-ENV): Likewise.
21293 (bug-regex1-ENV): Likewise.
21294 (tst-regex-ENV): Likewise.
21295 (tst-regex2-ENV): Likewise.
21296 (bug-regex5-ENV): Likewise.
21297 (bug-regex6-ENV): Likewise.
21298 (bug-regex17-ENV): Likewise.
21299 (bug-regex18-ENV): Likewise.
21300 (bug-regex19-ENV): Likewise.
21301 (bug-regex20-ENV): Likewise.
21302 (bug-regex22-ENV): Likewise.
21303 (bug-regex23-ENV): Likewise.
21304 (bug-regex25-ENV): Likewise.
21305 (bug-regex26-ENV): Likewise.
21306 (bug-regex30-ENV): Likewise.
21307 (bug-regex32-ENV): Likewise.
21308 (bug-regex33-ENV): Likewise.
21309 (bug-regex34-ENV): Likewise.
21310 (bug-regex35-ENV): Likewise.
21311 (tst-rxspencer-ENV): Likewise.
21312 (tst-rxspencer-no-utf8-ENV): Likewise.
21313 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
21314 (tst-sscanf-ENV): Likewise.
21315 (tst-swprintf-ENV): Likewise.
21316 (tst-swscanf-ENV): Likewise.
21317 (test-vfprintf-ENV): Likewise.
21318 (scanf13-ENV): Likewise.
21319 (bug14-ENV): Likewise.
21320 (tst-grouping-ENV): Likewise.
21321 * stdlib/Makefile (tst-strtod-ENV): Likewise.
21322 (tst-strtod3-ENV): Likewise.
21323 (tst-strtod4-ENV): Likewise.
21324 (tst-strtod5-ENV): Likewise.
21325 (testmb2-ENV): Likewise./
21326 * string/Makefile (tst-strxfrm-ENV): Likewise.
21327 (tst-strxfrm2-ENV): Likewise.
21328 (bug-strcoll1-ENV): Likewise.
21329 (test-strcasecmp-ENV): Likewise.
21330 (test-strncasecmp-ENV): Likewise.
21331 * time/Makefile (tst-strptime-ENV): Likewise.
21332 (tst-ftime_l-ENV): Likewise.
21333 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
21334 (tst-mbrtowc-ENV): Likewise.
21335 (tst-wcrtomb-ENV): Likewise.
21336 (tst-mbrtowc2-ENV): Likewise.
21337 (tst-c16c32-1-ENV): Likewise.
21338 (tst-mbsnrtowcs-ENV): Likewise.
21339
21340 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
21341
21342 * manual/resource.texi (How to get information about the memory
21343 subsystem?): Fix typo.
21344 Reported by Peon de la Parra Ivan <peon@keba.com>
21345
21346 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
21347
21348 [BZ #16882]
21349 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
21350 (pthread_spin_lock): Branch out of spin loop to proper location.
21351 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
21352 (pthread_spin_lock): Likewise.
21353
21354 * nptl/tst-spin4.c: New test.
21355 * nptl/Makefile (tests): Add tst-spin4.
21356
21357 2014-06-03 Andreas Schwab <schwab@suse.de>
21358
21359 [BZ #15946]
21360 * resolv/res_send.c (send_dg): Reload file descriptor after
21361 calling reopen.
21362
21363 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
21364
21365 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
21366
21367 2014-06-03 Richard Henderson <rth@redhat.com>
21368
21369 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
21370 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
21371 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
21372 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
21373 in the SAVE_PID block.
21374 (__libc_vfork): New alias.
21375 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
21376
21377 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
21378 child in registers, not on the stack. Remove RESET_PID conditionals.
21379 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
21380
21381 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
21382
21383 * sysdeps/aarch64/libm-test-ulps: Regenerate.
21384
21385 2014-06-03 Wilco <wdijkstr@arm.com>
21386
21387 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
21388 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
21389 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
21390 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
21391 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
21392 Likewise.
21393
21394 2014-06-03 Wilco <wdijkstr@arm.com>
21395
21396 * sysdeps/aarch64/fpu/math_private.h
21397 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
21398 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
21399 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
21400 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
21401 Fix declarations.
21402
21403 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
21404
21405 * crypt/crypt-private.h: Include ufc-crypt.h.
21406 (__b64_from_24bit): Declare extern.
21407 * crypt/crypt_util.c(__b64_from_24bit): New function.
21408 (b64t): New static const variable.
21409 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
21410 (b64t): Remove variable.
21411 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
21412 * crypt/sha256-crypt.c: Include crypt-private.h.
21413 (b64t): Remove variable.
21414 (__sha256_crypt_r): Remove b64_from_24bit and replace
21415 with __b64_from_24bit.
21416 * crypt/sha512-crypt.c: Likewise.
21417
21418 2014-06-02 Roland McGrath <roland@hack.frob.com>
21419
21420 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
21421 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
21422 Label the code __libc_vfork rather than __vfork.
21423 [!NOT_IN_libc] (vfork): Define as weak alias.
21424 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
21425 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
21426 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
21427
21428 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
21429
21430 * malloc/malloc.c (malloc_info): Fix format specifier for
21431 n_mmaps.
21432
21433 2014-06-02 Wilco <wdijkstr@arm.com>
21434
21435 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
21436 FPCR write.
21437
21438 2014-06-02 Wilco <wdijkstr@arm.com>
21439
21440 [BZ #17009]
21441 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
21442 Rewrite to reduce FPCR/FPSR accesses.
21443
21444 2014-06-01 David S. Miller <davem@davemloft.net>
21445
21446 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21447
21448 2014-05-31 David S. Miller <davem@davemloft.net>
21449
21450 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
21451 to occur in round to nearest mode when |x| >= 2.0
21452
21453 2014-05-30 Richard Henderson <rth@twiddle.net>
21454
21455 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
21456 (PSEUDO_RET_NOERRNO): Remove.
21457 (ret): Don't redefine.
21458 (ret_NOERRNO): Define in terms of ret.
21459 (ret_ERRVAL): Likewise.
21460
21461 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
21462 use of PSEUDO_RET; perform the error check directly.
21463
21464 2014-05-30 Marko Myllynen <myllynen@redhat.com>
21465
21466 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
21467 with __int128_t.
21468
21469 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21470
21471 * malloc/malloc (malloc_info): Fix formatting.
21472
21473 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21474 Roland McGrath <roland@hack.frob.com>
21475
21476 * malloc/malloc (malloc_info): Also print mmapped statistics.
21477
21478 2014-05-30 Roland McGrath <roland@hack.frob.com>
21479
21480 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
21481 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
21482
21483 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
21484
21485 * malloc/malloc.c (malloc_info): Inline mi_arena.
21486
21487 2014-05-29 Richard Henderson <rth@twiddle.net>
21488
21489 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
21490 Remove comma before expanding ASM_ARGS_##nr.
21491 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
21492 Make _x0 a strict output; make _x8 a strict input; adjust expansion
21493 of ASM_ARGS_##nr.
21494 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
21495 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
21496 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
21497 (ASM_ARGS_1): Add leading comma.
21498
21499 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
21500 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
21501 to __errno_location.
21502 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
21503 Remove the expected plt for __errno_location.
21504
21505 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
21506 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
21507 call to __read_tp.
21508
21509 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
21510 Always allocate 64 bytes of stack frame. Use ldp/stp to create
21511 it and break it down.
21512 (DOCARGS_0, DOCARGS_1): Do nothing.
21513 (DOCARGS_2): Update to store into the new stack frame.
21514 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
21515 (UNDOCARGS_1): Update to restore from the new stack frame.
21516 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
21517 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
21518
21519 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
21520 (SINGLE_THREAD_P): New parameter for result regno.
21521 (PSEUDO): Update to match; use cbz instead of beq.
21522
21523 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
21524 Use ENTRY to define the _nocancel entry point. Share the syscall
21525 and syscall error check paths with the cancel path.
21526 (PSEUDO_END): New.
21527
21528 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
21529 whitespace; tabs before and after asm mnemonics.
21530
21531 2014-05-29 Eric Wong <normalperson@yhbt.net>
21532
21533 [BZ #15132]
21534 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21535 Call fstat64 or stat64 internally, depending on arguments passed.
21536 Replace stat buffer argument with file descriptor argument.
21537 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
21538 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
21539 Pass fd to __internal_statvfs instead of calling fstat64.
21540 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
21541 Pass fd to __internal_statvfs64 instead of calling fstat64.
21542 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
21543 Pass -1 to __internal_statvfs instead of calling stat64.
21544 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
21545 Pass -1 to __internal_statvfs64 instead of calling stat64.
21546
21547 2014-05-28 Roland McGrath <roland@hack.frob.com>
21548
21549 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
21550 that was previously under [RESET_PID].
21551 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
21552
21553 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
21554 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
21555
21556 2014-05-27 Roland McGrath <roland@hack.frob.com>
21557
21558 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
21559
21560 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
21561 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
21562
21563 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
21564
21565 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
21566
21567 2014-05-27 Andreas Schwab <schwab@suse.de>
21568
21569 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
21570 TLS_INIT_TP macro.
21571 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
21572 * elf/rtld.c (init_tls, dl_main): Likewise.
21573 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
21574 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
21575 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
21576 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
21577 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
21578 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
21579 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
21580 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
21581 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
21582 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
21583 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
21584 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
21585 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
21586 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
21587 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
21588 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
21589 * sysdeps/generic/tls.h: Update description.
21590
21591 2014-05-27 Will Newton <will.newton@linaro.org>
21592
21593 [BZ #16990]
21594 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
21595 and restore r2 rather than just restoring.
21596
21597 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21598
21599 [BZ #16724]
21600 * libio/tst-ftell-append.c: New test case.
21601 * libio/Makefile (tests): Add test case.
21602 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
21603 append mode.
21604 * libio/wfileops.c (do_ftell_wide): Likewise.
21605
21606 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21607
21608 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21609
21610 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
21611 ...
21612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
21613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
21614 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
21615 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
21616 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
21617 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
21618 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
21619 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
21620 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
21621 Moved ...
21622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
21623 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
21624 Moved ...
21625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
21626 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
21627 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
21628 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
21629 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
21630 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
21631 ...
21632 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
21633 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
21634 Moved ...
21635 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
21636 here.
21637 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
21638 ...
21639 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
21640 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
21641 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
21642
21643 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
21644 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
21645 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
21646 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
21647
21648 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
21649 merge into ...
21650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
21651 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
21652 ...
21653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
21654 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
21655 ...
21656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
21657 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
21658 Moved ...
21659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
21660 here.
21661 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
21662 Moved ...
21663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
21664 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
21665 Moved ...
21666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
21667
21668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
21669 conditional [RESET_PID].
21670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
21671 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
21672 removed.
21673 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
21674 removed.
21675
21676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
21677 <tcb-offsets.h>.
21678 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
21679 (__libc_vfork): New strong alias.
21680 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
21681 removed.
21682 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
21683 Removed.
21684
21685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
21686 <tcb-offsets.h>.
21687 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
21688 (__libc_vfork): New strong alias.
21689 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
21690 removed.
21691 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
21692 removed.
21693
21694 2014-05-26 Carlos O'Donell <carlos@redhat.com>
21695
21696 * malloc/malloc.c (mi_arena): New function.
21697 (malloc_info): Remove nested function mi_arena. Call non-nosted
21698 function mi_arena.
21699
21700 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21701
21702 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
21703 by insrwi.
21704 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
21705 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
21706 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
21707 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
21708 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
21709 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
21710 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
21711
21712 2014-05-26 Andreas Schwab <schwab@suse.de>
21713
21714 [BZ #16984]
21715 * locale/programs/repertoire.c (repertoire_read): Add slash
21716 between I18NPATH element and file name.
21717 * locale/programs/locfile.c (locfile_read): Likewise.
21718
21719 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
21720
21721 * nptl/pthread_mutexattr_settype.c
21722 (__pthread_mutexattr_settype):
21723 Disable lock elision for PTHREAD_MUTEX_NORMAL.
21724
21725 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
21726
21727 * nptl/tst-mutex5 (do_test):
21728 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
21729
21730 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21731
21732 * benchtests/README: Document 'init' directive.
21733 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
21734 BENCH_INIT.
21735 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
21736 (parse_file): Recognize 'init' directive.
21737
21738 2014-05-26 Kyle McMartin <kyle@redhat.com>
21739
21740 [BZ #16796]
21741 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
21742 alignment of struct pthread.
21743
21744 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21745
21746 [BZ #16878]
21747 * nscd/netgroupcache.c (addgetnetgrentX): Look for
21748 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
21749 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
21750 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
21751
21752 2014-05-25 Richard Henderson <rth@twiddle.net>
21753
21754 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
21755 (SINGLE_THREAD_P_PIC): Remove.
21756 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
21757 (SINGLE_THREAD_P_PIC): Remove.
21758
21759 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
21760 branch to syscall error ...
21761 (PSEUDO): ... here.
21762 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
21763 from __local_syscall_error to .Lsyscall_error.
21764 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
21765 (SYSCALL_ERROR): Update label name.
21766
21767 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
21768 Do not use DOARGS/UNDOARGS.
21769 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
21770 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
21771 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
21772 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
21773 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
21774
21775 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
21776 block comment.
21777
21778 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
21779 define if !NOT_IN_libc.
21780 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
21781 define with non-default symbol versions.
21782
21783 2014-05-23 Richard Henderson <rth@twiddle.net>
21784
21785 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
21786 (vfork, __vfork): Define via compat_symbol.
21787
21788 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
21789 [!HAVE_IFUNC] (vfork_compat): Remove.
21790 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
21791
21792 2014-05-23 Joseph Myers <joseph@codesourcery.com>
21793
21794 [BZ #16978]
21795 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
21796 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
21797 variable.
21798
21799 2014-05-23 Richard Henderson <rth@twiddle.net>
21800
21801 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
21802 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
21803 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
21804 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
21805
21806 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
21807 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
21808 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
21809 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
21810 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
21811 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
21812 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
21813 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
21814 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
21815 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
21816 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
21817 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
21818 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
21819 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
21820 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
21821 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
21822 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
21823 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
21824 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
21825 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
21826 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
21827 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
21828 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
21829 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
21830 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
21831 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
21832 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
21833 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
21834 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
21835 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
21836 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
21837 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
21838 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
21839 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
21840 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
21841 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
21842 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
21843 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
21844 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
21845 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
21846 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
21847 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
21848 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
21849 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
21850 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
21851 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
21852 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
21853 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
21854 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
21855 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
21856 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
21857 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
21858 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
21859 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
21860 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
21861 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
21862
21863 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
21864 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
21865 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
21866 before exiting on error.
21867 (__libc_vfork): New strong alias.
21868 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
21869 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
21870
21871 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
21872 that was previously under [RESET_PID].
21873 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
21874
21875 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
21876
21877 2014-05-23 Joseph Myers <joseph@codesourcery.com>
21878
21879 [BZ #16977]
21880 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
21881 value when x - 1 is zero.
21882 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
21883 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
21884 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
21885 0.0L for an argument of 1.0L.
21886 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
21887 Likewise.
21888 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
21889 value when x - 1 is zero.
21890 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
21891 * sysdeps/i386/fpu/libm-test-ulps: Update.
21892 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21893
21894 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
21895
21896 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
21897 alphasort and versionsort.
21898
21899 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21900
21901 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
21902 macro.
21903 [copysignf]: Likewise.
21904
21905 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
21906
21907 * crypt/md5-crypt.c: Fix formatting.
21908
21909 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
21910
21911 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
21912 (b64_from_24bit): New function.
21913
21914 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21915
21916 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
21917 libc_hidden_builtin_def to ifunc.
21918 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
21919 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
21920
21921 2014-05-21 Roland McGrath <roland@hack.frob.com>
21922
21923 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
21924 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
21925
21926 2014-05-21 Joseph Myers <joseph@codesourcery.com>
21927
21928 * nscd/Depend (linuxthreads): Remove.
21929 (nptl): Add.
21930 * resolv/Depend (linuxthreads): Remove.
21931 * rt/Depend (linuxthreads): Remove.
21932
21933 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
21934 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
21935 $(common-objpfx)elf/.
21936 (link-libc-before-gnulib): Likewise.
21937 (elfobjdir): Remove variable.
21938 * Makefile (install): Use $(elf-objpfx) instead of
21939 $(common-objpfx)elf/.
21940 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
21941 $(elfobjdir)/.
21942 (link-libc-deps): Likewise.
21943 ($(common-objpfx)libc.so): Likewise.
21944 ($(common-objpfx)linkobj/libc.so): Likewise.
21945 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
21946 instead of $(common-objpfx)elf/.
21947 (symbolic-link-list): Likewise.
21948 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
21949 [$(cross-compiling) = no]: Likewise.
21950 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
21951 $(elfobjdir)/.
21952 (static-gnulib-arch): Likewise.
21953 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
21954 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
21955 $(common-objpfx)elf/.
21956
21957 2014-05-21 Richard Henderson <rth@redhat.com>
21958
21959 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
21960 (SINGLE_THREAD_P): Use the correct width load. Fold
21961 into the ldr offset.
21962
21963 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
21964 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
21965
21966 2014-05-20 Joseph Myers <joseph@codesourcery.com>
21967
21968 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
21969 (libgcc_s_resume): Use __attribute_used__.
21970 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
21971 Likewise.
21972
21973 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21974
21975 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
21976 optimization when used with float constants.
21977
21978 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21979
21980 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
21981
21982 [BZ #16915]
21983 * locale/nl_langinfo_l.c: Make direct reference to every
21984 _nl_current_CATEGORY symbol.
21985 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
21986 (tests-static): Add tst-langinfo-static.
21987 (tests-special): Add tst-langinfo-static.out.
21988 ($(objpfx)tst-langinfo.out): Redirect output.
21989 ($(objpfx)tst-langinfo-static.out): New.
21990 * localedata/tst-langinfo.sh: Send output to stdout.
21991 * localedata/tst-langinfo-static.c: New file.
21992
21993 [BZ #16965]
21994 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
21995 when the shift amount is modulo the limb size.
21996
21997 2014-05-20 Richard Henderson <rth@redhat.com>
21998
21999 [BZ #16967]
22000 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
22001 Change type of sa_flags from unsigned int to int.
22002
22003 [BZ #16966]
22004 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
22005
22006 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
22007
22008 2014-05-20 Will Newton <will.newton@linaro.org>
22009
22010 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
22011 Test the return value of the system call in the nocancel case.
22012
22013 2014-05-20 Will Newton <will.newton@linaro.org>
22014 Yvan Roux <yvan.roux@linaro.org>
22015
22016 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
22017 #include of asm/ptrace.h.
22018 (PTRACE_GET_THREAD_AREA): Remove #undef.
22019 (PTRACE_GETHBPREGS): Likewise.
22020 (PTRACE_SETHBPREGS): Likewise.
22021 (struct user_regs_struct): New structure.
22022 (struct user_fpsimd_struct): New structure.
22023 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
22024 #include of asm/ptrace.h and second #include of sys/user.h.
22025 (PTRACE_GET_THREAD_AREA): Remove #undef.
22026 (PTRACE_GETHBPREGS): Likewise.
22027 (PTRACE_SETHBPREGS): Likewise.
22028 (ELF_NGREG): Use new struct user_regs_struct.
22029 (elf_fpregset_t): Use new struct user_fpsimd_struct.
22030
22031 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22032
22033 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
22034 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
22035
22036 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
22037
22038 [BZ #16958]
22039 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
22040 membar to avoid block loads/stores to overlap previous stores.
22041
22042 2014-05-17 Richard Henderson <rth@redhat.com>
22043
22044 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
22045 Create the __##syscall_name##_nocancel entry point.
22046 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
22047 Remove; let the sysdep-cancel.h code create it.
22048
22049 2014-05-17 David S. Miller <davem@davemloft.net>
22050
22051 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
22052 Protect with __USE_GNU.
22053 (TIOCSET_TEMPT): Likewise.
22054 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
22055 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
22056 these are already provided in bits/ioctl-types.h
22057
22058 2014-05-16 Roland McGrath <roland@hack.frob.com>
22059
22060 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
22061 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
22062
22063 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
22064 Use wait4 regardless of [__NR_waitpid].
22065
22066 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
22067
22068 PR libgcc/60166
22069 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
22070 (_FP_NANSIGN_Q): Set the quiet bit.
22071
22072 2014-05-16 Joseph Myers <joseph@codesourcery.com>
22073
22074 * benchtests/Makefile
22075 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
22076 not $(common-objpfx)math/libm.so.
22077 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
22078 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
22079 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
22080 $(common-objpfx)dlfcn/libdl.so.
22081 ($(objpfx)tst-audit8): Depend on $(libm), not
22082 $(common-objpfx)math/libm.so.
22083 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
22084 not $(common-objpfx)dlfcn/libdl.so.
22085 * math/Makefile
22086 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
22087 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
22088 [$(build-shared) = yes].
22089 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
22090 $(common-objpfx)nptl/libpthread.so.
22091 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
22092 $(common-objpfx)math/libm.so$(libm.so-version) or
22093 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
22094 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
22095 $(common-objpfx)dlfcn/libdl.so.
22096 * setjmp/Makefile (link-libm): Remove variable.
22097 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
22098 * stdio-common/Makefile (link-libm): Remove variable.
22099 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
22100 * stdlib/Makefile (link-libm): Remove variable.
22101 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
22102 ($(objpfx)tst-strtod-round): Likewise.
22103 ($(objpfx)tst-tininess): Likewise.
22104 ($(objpfx)tst-strtod-underflow): Likewise.
22105 ($(objpfx)tst-strtod6): Likewise.
22106 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
22107 $(libdl), not $(common-objpfx)nptl/libpthread.so and
22108 $(common-objpfx)dlfcn/libdl.so.
22109
22110 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22111
22112 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
22113 BSD terminal modes definitions.
22114
22115 2014-05-16 Roland McGrath <roland@hack.frob.com>
22116
22117 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
22118 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
22119
22120 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
22121 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
22122 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
22123 Don't do #include_next.
22124 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
22125 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
22126 Don't do #include_next.
22127 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
22128 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
22129 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
22130 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
22131
22132 2014-05-16 Allan McRae <allan@archlinux.org>
22133
22134 * po/sv.po: Update Swedish translation from translation project.
22135
22136 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
22137 in sed expression.
22138
22139 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
22140
22141 [BZ #16917]
22142 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
22143 errno if the TIOCGPTN ioctl fails with an error different than
22144 EINVAL.
22145 * login/tst-ptsname.c: New file.
22146 * login/Makefile (tests): Add tst-ptsname.
22147
22148 [BZ #16943]
22149 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
22150 and prlimit64.
22151
22152 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22153
22154 [BZ #16849]
22155 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
22156 herrno to return EAI_AGAIN.
22157
22158 2014-05-14 Roland McGrath <roland@hack.frob.com>
22159
22160 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
22161 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
22162 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
22163 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
22164 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
22165 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
22166 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
22167 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
22168 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
22169 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
22170 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
22171 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
22172 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
22173 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
22174 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
22175 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
22176 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
22177 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
22178 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
22179 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
22180 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
22181 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
22182 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
22183 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
22184 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
22185 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
22186 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
22187 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
22188 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
22189 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
22190 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
22191 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
22192 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
22193 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
22194 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
22195 Moved ...
22196 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
22197 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
22198 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
22199 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
22200 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
22201 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
22202 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
22203 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
22204 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
22205 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
22206 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
22207 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
22208 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
22209 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
22210 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
22211 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
22212 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
22213 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
22214 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
22215 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
22216 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
22217 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
22218 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
22219 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
22220 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
22221 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
22222 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
22223 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
22224 Moved ...
22225 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
22226 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
22227 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
22228 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
22229 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
22230 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
22231 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
22232 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
22233 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
22234 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
22235 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
22236 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
22237 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
22238 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
22239 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
22240 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
22241 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
22242 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
22243 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
22244 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
22245 Moved ...
22246 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
22247 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
22248 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
22249
22250 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
22251 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
22252 (libpthread-sysdep_routines): Add elision-related stuff here instead.
22253 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
22254 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
22255 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
22256 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
22257 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
22258 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
22259 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
22260 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
22261 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
22262 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
22263 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
22264 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
22265 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
22266 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
22267 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
22268 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
22269 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
22270 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
22271 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
22272 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
22273 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
22274 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
22275 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
22276 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
22277 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
22278 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
22279 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
22280 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
22281
22282 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
22283 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
22284
22285 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
22286 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
22287 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
22288 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
22289 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
22290 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
22291 Moved ...
22292 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
22293 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
22294 Moved ...
22295 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
22296 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
22297 Moved ...
22298 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
22299 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
22300 Moved ...
22301 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
22302 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
22303 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
22304 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
22305 Moved ...
22306 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
22307 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
22308 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
22309 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
22310 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
22311 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
22312 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
22313 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
22314 Moved ...
22315 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
22316 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
22317 Moved ...
22318 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
22319 ... here.
22320 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
22321 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
22322 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
22323 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
22324 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
22325 Moved ...
22326 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
22327 ... here.
22328 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
22329 Moved ...
22330 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
22331 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
22332 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
22333 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
22334 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
22335 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
22336 Moved ...
22337 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
22338 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
22339 Moved ...
22340 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
22341 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
22342 Moved ...
22343 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
22344 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
22345 Moved ...
22346 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
22347 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
22348 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
22349 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
22350 Moved ...
22351 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
22352 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
22353 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
22354 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
22355 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
22356 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
22357 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
22358 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
22359 Moved ...
22360 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
22361 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
22362 Moved ...
22363 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
22364 ... here.
22365 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
22366 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
22367 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
22368 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
22369 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
22370 Moved ...
22371 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
22372 ... here.
22373 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
22374 Moved ...
22375 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
22376 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
22377 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
22378 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
22379 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
22380 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
22381 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
22382 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
22383 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
22384 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
22385 Moved ...
22386 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
22387 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
22388 Moved ...
22389 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
22390 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
22391 Moved ...
22392 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
22393 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
22394 Moved ...
22395 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
22396 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
22397 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
22398 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
22399 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
22400 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
22401 Moved ...
22402 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
22403 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
22404 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
22405 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
22406 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
22407 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
22408 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
22409 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
22410 Moved ...
22411 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
22412 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
22413 Moved ...
22414 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
22415 ... here.
22416 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
22417 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
22418 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
22419 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
22420 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
22421 Moved ...
22422 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
22423 ... here.
22424 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
22425 Moved ...
22426 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
22427 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
22428 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
22429 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
22430 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
22431 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
22432 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
22433 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
22434 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
22435 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
22436 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
22437
22438 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
22439 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
22440
22441 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
22442 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
22443
22444 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
22445 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
22446 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
22447 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
22448 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
22449 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
22450 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
22451 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
22452 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
22453 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
22454 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
22455 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
22456 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
22457 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
22458 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
22459 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
22460 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
22461 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
22462 Moved ...
22463 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
22464 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
22465 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
22466 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
22467 Moved ...
22468 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
22469 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
22470 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
22471 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
22472 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
22473 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
22474 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
22475 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
22476 Moved ...
22477 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
22478 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
22479 Moved ...
22480 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
22481 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
22482 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
22483 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
22484 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
22485 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
22486 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
22487 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
22488 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
22489 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
22490 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
22491 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
22492 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
22493 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
22494 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
22495 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
22496 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
22497
22498 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
22499 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
22500 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
22501 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
22502 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
22503
22504 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
22505 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
22506 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
22507 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
22508 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
22509 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
22510 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
22511 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
22512 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
22513 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
22514
22515 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
22516 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
22517
22518 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
22519 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
22520 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
22521 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
22522 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
22523 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
22524 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
22525 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
22526 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
22527 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
22528 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
22529 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
22530 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
22531 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
22532 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
22533 Update #include.
22534 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
22535 Likewise.
22536 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
22537 Likewise.
22538 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
22539 Likewise.
22540 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
22541 Likewise.
22542 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
22543 Likewise.
22544 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
22545 Likewise.
22546 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
22547 Likewise.
22548 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
22549 Likewise.
22550 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
22551 Likewise.
22552 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
22553 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
22554 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
22555 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
22556 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
22557 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
22558 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
22559 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
22560 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
22561 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
22562 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
22563 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
22564 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
22565 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
22566 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
22567
22568 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
22569 that was previously under [RESET_PID].
22570 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
22571 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
22572 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
22573
22574 * sysdeps/i386/nptl/Implies: New file.
22575 * sysdeps/x86_64/nptl/Implies: New file.
22576 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
22577 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
22578 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
22579 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
22580
22581 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
22582 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
22583 (__libc_vfork): New strong alias.
22584 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
22585 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
22586
22587 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
22588 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
22589 (__libc_vfork): New strong alias.
22590 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
22591 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
22592
22593 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
22594 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
22595 (__libc_vfork): New strong alias.
22596 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
22597 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
22598 * nptl/pt-vfork.c: New file.
22599 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
22600 (libpthread: GLIBC_2.20): New version set (empty).
22601
22602 2014-05-14 Will Newton <will.newton@linaro.org>
22603
22604 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
22605 rather than #if.
22606
22607 2014-05-14 Joseph Myers <joseph@codesourcery.com>
22608
22609 [BZ #16564]
22610 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
22611 arguments with exponent 65 or above.
22612 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
22613 arguments 0x1p113L or above.
22614 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
22615 to arguments 0x1p107L or above.
22616 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
22617 positive arguments with exponent 65 or above.
22618 * math/auto-libm-test-in: Add more tests of log1p.
22619 * math/auto-libm-test-out: Regenerated.
22620
22621 [BZ #16928]
22622 * math/s_cacos.c (__cacos): Ensure zero real part of result from
22623 non-finite arguments is +0.
22624 * math/s_cacosf.c (__cacosf): Likewise.
22625 * math/s_cacosl.c (__cacosl): Likewise.
22626 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
22627 * sysdeps/i386/fpu/libm-test-ulps: Update.
22628 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22629
22630 [BZ #16927]
22631 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
22632 value.
22633 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
22634 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
22635 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
22636 for explicit high bit of mantissa when testing for argument equal
22637 to 1.
22638 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
22639 * sysdeps/i386/fpu/libm-test-ulps: Update.
22640 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22641
22642 [BZ #16516]
22643 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
22644 (__erf): Scale by 16 instead of 8 in potentially underflowing
22645 case. Ensure exception if result actually underflows.
22646 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
22647 (__erff): Scale by 16 instead of 8 in potentially underflowing
22648 case. Ensure exception if result actually underflows.
22649 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
22650 (efx8): Remove variable.
22651 (__erfl): Scale by 16 instead of 8 in potentially underflowing
22652 case. Ensure exception if result actually underflows.
22653 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
22654 (efx8): Remove variable.
22655 (__erfl): Scale by 16 instead of 8 in potentially underflowing
22656 case. Ensure exception if result actually underflows.
22657 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
22658 (efx8): Remove variable.
22659 (__erfl): Scale by 16 instead of 8 in potentially underflowing
22660 case. Ensure exception if result actually underflows.
22661 * math/auto-libm-test-in: Add more tests of erf.
22662 * math/auto-libm-test-out: Regenerated.
22663
22664 2014-05-14 Andreas Schwab <schwab@suse.de>
22665
22666 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
22667 Remove code conditionalized on USE___THREAD.
22668
22669 * config.h.in (HAVE_PT_CHOWN): Define as 0.
22670 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
22671 not definedness.
22672
22673 2014-05-14 Joseph Myers <joseph@codesourcery.com>
22674
22675 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
22676 Define unconditionally.
22677 (__ASSUME_O_CLOEXEC): Likewise.
22678 (__ASSUME_SOCK_CLOEXEC): Likewise.
22679 (__ASSUME_IN_NONBLOCK): Likewise.
22680 (__ASSUME_PIPE2): Likewise.
22681 (__ASSUME_EVENTFD2): Likewise.
22682 (__ASSUME_SIGNALFD4): Likewise.
22683 (__ASSUME_DUP3): Likewise.
22684 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22685 (__ASSUME_DUP3): Do not define.
22686 (__ASSUME_EVENTFD2): Likewise.
22687 (__ASSUME_IN_NONBLOCK): Likewise.
22688 (__ASSUME_O_CLOEXEC): Likewise.
22689 (__ASSUME_PIPE2): Likewise.
22690 (__ASSUME_SIGNALFD4): Likewise.
22691 (__ASSUME_SOCK_CLOEXEC): Likewise.
22692 (__ASSUME_UTIMES): Undefine.
22693 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22694 (__ASSUME_UTIMES): Do not define.
22695 (__ASSUME_O_CLOEXEC): Likewise.
22696 (__ASSUME_SOCK_CLOEXEC): Likewise.
22697 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
22698 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
22699 0x020621].
22700 (__ASSUME_PIPE2): Likewise.
22701 (__ASSUME_EVENTFD2): Likewise.
22702 (__ASSUME_SIGNALFD4): Likewise.
22703 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
22704 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
22705 Do not define.
22706 (__ASSUME_EVENTFD2): Likewise.
22707 (__ASSUME_SIGNALFD4): Likewise.
22708 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
22709 (__ASSUME_32BITUIDS): Likewise.
22710 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
22711 (__ASSUME_IPC64): Likewise.
22712 (__ASSUME_ST_INO_64_BIT): Likewise.
22713 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
22714 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
22715 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22716 (__ASSUME_UTIMES): Do not define.
22717 (__ASSUME_PSELECT): Likewise.
22718 (__ASSUME_PPOLL): Likewise.
22719 (__ASSUME_O_CLOEXEC): Likewise.
22720 (__ASSUME_SOCK_CLOEXEC): Likewise.
22721 (__ASSUME_IN_NONBLOCK): Likewise.
22722 (__ASSUME_PIPE2): Likewise.
22723 (__ASSUME_EVENTFD2): Likewise.
22724 (__ASSUME_SIGNALFD4): Likewise.
22725 (__ASSUME_DUP3): Likewise.
22726 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
22727 (__ASSUME_UTIMES): Likewise.
22728 (__ASSUME_O_CLOEXEC): Likewise.
22729 (__ASSUME_SOCK_CLOEXEC): Likewise.
22730 (__ASSUME_IN_NONBLOCK): Likewise.
22731 (__ASSUME_PIPE2): Likewise.
22732 (__ASSUME_EVENTFD2): Likewise.
22733 (__ASSUME_SIGNALFD4): Likewise.
22734 (__ASSUME_DUP3): Likewise.
22735 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22736 (__ASSUME_UTIMES): Likewise.
22737 (__ASSUME_O_CLOEXEC): Likewise.
22738 (__ASSUME_SOCK_CLOEXEC): Likewise.
22739 (__ASSUME_IN_NONBLOCK): Likewise.
22740 (__ASSUME_PIPE2): Likewise.
22741 (__ASSUME_EVENTFD2): Likewise.
22742 (__ASSUME_SIGNALFD4): Likewise.
22743 (__ASSUME_DUP3): Likewise.
22744 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
22745 Likewise.
22746 (__ASSUME_UTIMES): Likewise.
22747 (__ASSUME_EVENTFD2): Likewise.
22748 (__ASSUME_SIGNALFD4): Likewise.
22749 * sysdeps/unix/sysv/linux/tile/kernel-features.h
22750 (__ASSUME_O_CLOEXEC): Likewise.
22751 (__ASSUME_SOCK_CLOEXEC): Likewise.
22752 (__ASSUME_IN_NONBLOCK): Likewise.
22753 (__ASSUME_PIPE2): Likewise.
22754 (__ASSUME_EVENTFD2): Likewise.
22755 (__ASSUME_SIGNALFD4): Likewise.
22756 (__ASSUME_DUP3): Likewise.
22757 (__ASSUME_UTIMES): Undefine.
22758
22759 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
22760 feclearexcept. Remove symbol versioning code.
22761 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
22762 symbol versioning code.
22763 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
22764 symbol versioning code.
22765 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
22766 feupdateenv. Remove symbol versioning code.
22767 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
22768 fegetexceptflag. Remove symbol versioning code.
22769 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
22770 fesetexceptflag. Remove symbol versioning code.
22771 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
22772 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
22773 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
22774 (__posix_fadvise64_l32): Remove prototype.
22775 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
22776 code.
22777
22778 2014-05-13 Roland McGrath <roland@hack.frob.com>
22779
22780 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
22781 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
22782 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
22783 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
22784
22785 2014-05-13 Sami Kerola <kerolasa@iki.fi>
22786
22787 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
22788 current working directory
22789
22790 2014-05-13 Roland McGrath <roland@hack.frob.com>
22791
22792 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
22793 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
22794 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
22795 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
22796 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
22797 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
22798 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
22799 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
22800 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
22801 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
22802 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
22803 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
22804 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
22805 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
22806 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
22807 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
22808 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
22809 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
22810 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
22811 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
22812 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
22813 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
22814 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
22815 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
22816 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
22817 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
22818 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
22819 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
22820 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
22821 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
22822 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
22823 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
22824 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
22825 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
22826 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
22827 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
22828 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
22829 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
22830 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
22831 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
22832 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
22833 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
22834
22835 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
22836 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
22837
22838 * sysdeps/unix/sysv/linux/arm/Makefile
22839 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
22840 Add rt-aeabi_unwind_cpp_pr1.
22841 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
22842 Add nptl-aeabi_unwind_cpp_pr1.
22843 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
22844 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
22845 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
22846 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
22847 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
22848 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
22849
22850 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
22851 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
22852 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
22853 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
22854
22855 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
22856 Deconditionalize the code that was previously under [RESET_PID].
22857 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
22858
22859 * sysdeps/generic/exit-thread.h: New file.
22860 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
22861 * include/unistd.h (__exit_thread): Remove declaration.
22862 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
22863 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
22864 * csu/libc-start.c: Include <exit-thread.h>.
22865 (LIBC_START_MAIN): Pass no argument to __exit_thread.
22866 * nptl/pthread_create.c: Include <exit-thread.h>.
22867 (start_thread): Call __exit_thread in place of __exit_thread_inline.
22868 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
22869 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
22870 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
22871 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
22872 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
22873 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
22874 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
22875 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
22876 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
22877 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
22878 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
22879 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
22880 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
22881 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
22882 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
22883 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
22884
22885 2014-05-13 Andreas Schwab <schwab@suse.de>
22886
22887 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
22888
22889 2014-05-12 Joseph Myers <joseph@codesourcery.com>
22890
22891 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
22892 (__ASSUME_UTIMES): Do not condition on kernel version.
22893 (__ASSUME_PSELECT): Define unconditionally.
22894 (__ASSUME_PPOLL): Likewise.
22895 (__ASSUME_ATFCTS): Likewise.
22896 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
22897 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
22898 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
22899 (__ASSUME_UTIMENSAT): Define unconditionally.
22900 (__ASSUME_PRIVATE_FUTEX): Likewise.
22901 (__ASSUME_FALLOCATE): Likewise.
22902 (__ASSUME_O_CLOEXEC): Likewise.
22903 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
22904 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
22905 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
22906 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
22907 (__ASSUME_IN_NONBLOCK): Likewise.
22908 (__ASSUME_PIPE2): Likewise.
22909 (__ASSUME_EVENTFD2): Likewise.
22910 (__ASSUME_SIGNALFD4): Likewise.
22911 (__ASSUME_DUP3): Likewise.
22912 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
22913 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
22914 (__ASSUME_AT_RANDOM): Likewise.
22915 (__ASSUME_PREADV): Likewise.
22916 (__ASSUME_PWRITEV): Likewise.
22917 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
22918 (__ASSUME_F_GETOWN_EX): Define unconditionally.
22919 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
22920 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
22921 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
22922 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22923 (__ASSUME_O_CLOEXEC): Define unconditionally.
22924 (__ASSUME_PSELECT): Do not undefine conditionally.
22925 (__ASSUME_PPOLL): Likewise.
22926 (__ASSUME_ATFCTS): Likewise.
22927 (__ASSUME_SET_ROBUST_LIST): Likewise.
22928 (__ASSUME_UTIMENSAT): Likewise.
22929 (__ASSUME_FDATASYNC): Define unconditionally.
22930 * sysdeps/unix/sysv/linux/arm/kernel-features.h
22931 (__ASSUME_SIGFRAME_V2): Likewise.
22932 )__ASSUME_EVENTFD2): Likewise.
22933 (__ASSUME_SIGNALFD4): Likewise.
22934 (__ASSUME_PSELECT): Do not undefine conditionally.
22935 (__ASSUME_PPOLL): Likewise.
22936 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22937 (__ASSUME_PSELECT): Define unconditionally.
22938 (__ASSUME_PPOLL): Likewise.
22939 (__ASSUME_O_CLOEXEC): Likewise.
22940 (__ASSUME_SOCK_CLOEXEC): Likewise.
22941 (__ASSUME_IN_NONBLOCK): Likewise.
22942 (__ASSUME_PIPE2): Likewise.
22943 (__ASSUME_EVENTFD2): Likewise.
22944 (__ASSUME_SIGNALFD4): Likewise.
22945 (__ASSUME_DUP3): Likewise.
22946 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
22947 (__ASSUME_O_CLOEXEC): Likewise.
22948 (__ASSUME_SOCK_CLOEXEC): Likewise.
22949 (__ASSUME_IN_NONBLOCK): Likewise.
22950 (__ASSUME_PIPE2): Likewise.
22951 (__ASSUME_EVENTFD2): Likewise.
22952 (__ASSUME_SIGNALFD4): Likewise.
22953 (__ASSUME_DUP3): Likewise.
22954 * sysdeps/unix/sysv/linux/mips/kernel-features.h
22955 (__ASSUME_EVENTFD2): Likewise.
22956 (__ASSUME_SIGNALFD4): Likewise.
22957 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
22958
22959 2014-05-12 Andreas Schwab <schwab@suse.de>
22960
22961 [BZ #16932]
22962 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
22963 (_nss_nis_gethostbyname4_r): Return error if item length is larger
22964 than maximum RPC packet size.
22965 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
22966 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
22967 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
22968 (_nss_nis_getservbyport_r): Likewise.
22969
22970 2014-05-12 Will Newton <will.newton@linaro.org>
22971
22972 * malloc/Makefile (tests): Add tst-mallopt.
22973 * malloc/tst-mallopt.c: New file.
22974
22975 2014-05-09 Roland McGrath <roland@hack.frob.com>
22976
22977 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
22978 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
22979
22980 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22981
22982 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
22983 (tst-tlsmod6.so): Likewise.
22984
22985 2014-05-09 Roland McGrath <roland@hack.frob.com>
22986
22987 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
22988
22989 2014-05-09 Joseph Myers <joseph@codesourcery.com>
22990
22991 [BZ #16064]
22992 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
22993 and <dl-procinfo.h>.
22994 (__fegetenv): Save SSE state in envp->__eip if supported.
22995 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
22996 envp->__eip if supported.
22997 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
22998 and <dl-procinfo.h>.
22999 (__fesetenv): Always set __eip, __cs_selector, __opcode,
23000 __data_offset and __data_selector in environment to 0. Set SSE
23001 state if supported.
23002 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
23003 test-fenv-sse.
23004 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
23005 -mfpmath=sse.
23006 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
23007
23008 2014-05-09 Will Newton <will.newton@linaro.org>
23009
23010 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
23011 and libc_relro_required for ARM.
23012 * sysdeps/arm/preconfigure: Regenerate.
23013
23014 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
23015 Stefan Liebler <stli@linux.vnet.ibm.com>
23016
23017 * config.make.in (enable-lock-elision): New Makefile variable.
23018 * configure.ac: Likewise.
23019 * configure: Regenerate.
23020 * sysdeps/s390/configure.ac:
23021 Add check for gcc transactions support.
23022 * sysdeps/s390/configure: Regenerate.
23023 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
23024 Build elision files if enabled.
23025 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
23026 Add lock elision support for s390.
23027 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
23028 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
23029 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
23030 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
23031 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
23032 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
23033 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
23034 Likewise.
23035 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
23036 Likewise.
23037 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
23038 Likewise.
23039 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
23040 Likewise.
23041 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
23042 (__lll_timedlock_elision, __lll_lock_elision)
23043 (__lll_unlock_elision, __lll_trylock_elision)
23044 (lll_timedlock_elision, lll_lock_elision)
23045 (lll_unlock_elision, lll_trylock_elision): Add.
23046 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
23047 (pthread_mutex_t): Add lock elision support for s390.
23048
23049 2014-05-14 Wilco <wdijkstr@arm.com>
23050
23051 * sysdeps/arm/fclrexcpt.c: Cleanup.
23052 * sysdeps/arm/fedisblxcpt.c: Cleanup.
23053 * sysdeps/arm/feenablxcpt.c: Cleanup.
23054 * sysdeps/arm/fegetenv.c: Cleanup.
23055 * sysdeps/arm/fegetexcept.c: Cleanup.
23056 * sysdeps/arm/fegetround.c: Cleanup.
23057 * sysdeps/arm/feholdexcpt.c: Cleanup.
23058 * sysdeps/arm/fesetenv.c: Cleanup.
23059 * sysdeps/arm/fesetround.c: Cleanup.
23060 * sysdeps/arm/feupdateenv.c: Cleanup.
23061 * sysdeps/arm/fgetexcptflg.c: Cleanup.
23062 * sysdeps/arm/fraiseexcpt.c: Cleanup.
23063 * sysdeps/arm/fsetexcptflg.c: Cleanup.
23064 * sysdeps/arm/ftestexcept.c: Cleanup.
23065 * sysdeps/arm/get-rounding-mode.h: Cleanup.
23066 * sysdeps/arm/setfpucw.c: Cleanup.
23067
23068 2014-05-09 Will Newton <will.newton@linaro.org>
23069
23070 * sysdeps/arm/armv7/strcmp.S: New file.
23071 * NEWS: Mention addition of ARMv7 optimized strcmp.
23072
23073 2014-05-08 Roland McGrath <roland@hack.frob.com>
23074
23075 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
23076 look for %.ac rather than %.in.
23077
23078 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
23079 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
23080 * sysdeps/mach/hurd/configure: Regenerated.
23081 * sysdeps/unix/sysv/linux/configure: Regenerated.
23082
23083 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
23084
23085 2014-05-07 Steve Ellcey <sellcey@mips.com>
23086
23087 [BZ# 16922]
23088 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
23089 (LONG_SUB): Ditto.
23090 (PTR_SUB): Ditto.
23091
23092 2014-05-07 Andreas Schwab <schwab@suse.de>
23093
23094 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
23095 when skipping over non-matching result from nscd.
23096
23097 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
23098
23099 [BZ #16876]
23100 * nptl/sockperf.c (client): Check socket return value.
23101
23102 [BZ #16877]
23103 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
23104 nscd security class.
23105
23106 2014-05-06 Roland McGrath <roland@hack.frob.com>
23107
23108 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
23109 * sysdeps/arm/unwind.h: ... here.
23110
23111 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
23112
23113 [BZ# 16916]
23114 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
23115 Define.
23116
23117 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
23118
23119 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
23120 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
23121 multiarch strncpy for PPC64.
23122 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
23123 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
23124 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
23125 multiarch optimizations.
23126 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
23127 (__libc_ifunc_impl_list): Likewise.
23128 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
23129 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
23130 multiarch stpncpy for PPC64.
23131 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
23132 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
23133
23134 2014-05-06 Andreas Schwab <schwab@suse.de>
23135
23136 [BZ #16912]
23137 * gmon/mcount.c (_MCOUNT_DECL): Use
23138 atomic_compare_and_exchange_bool_acq instead of
23139 catomic_compare_and_exchange_bool_acq.
23140
23141 2014-05-05 Roland McGrath <roland@hack.frob.com>
23142
23143 * elf/Makefile (others, install-bin): Remove pldd.
23144 (pldd-modules): Variable removed.
23145 ($(objpfx)pldd): Target removed.
23146 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
23147 (others, install-bin): Append pldd here.
23148 ($(objpfx)pldd): New target.
23149
23150 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
23151 to 0, so the first #if test emitted later doesn't see it undefined.
23152 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
23153 * sysdeps/gnu/errlist.c: Regenerated.
23154
23155 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23156
23157 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
23158 [libc_hidden_builtin_def]: Define to empty value.
23159 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
23160 [libc_hidden_builtin_def]: Likewise.
23161 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
23162 [libc_hidden_builtin_def]: Likewise.
23163 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
23164 [libc_hidden_builtin_def]: Likewise.
23165 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
23166 __redirect_memcpy and define ifunc as default hidden symbol.
23167 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
23168 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
23169
23170 2014-05-04 Adam Conrad <adconrad@0c3.net>
23171
23172 * locale/iso-4217.def: Reintroduce XDR currency.
23173
23174 2014-05-04 Allan McRae <allan@archlinux.org>
23175
23176 * po/eo.po: Update Esperanto translation from translation project.
23177
23178 2014-05-02 Carlos O'Donell <carlos@redhat.com>
23179
23180 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
23181 and FEATURE_INDEX_MAX to 1.
23182 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
23183
23184 2014-05-01 Steve Ellcey <sellcey@mips.com>
23185
23186 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
23187 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
23188 * iconvdata/big5.c (ONE_DIRECTION): Define.
23189 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
23190 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
23191 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
23192 * iconvdata/cp932.c (ONE_DIRECTION): Define.
23193 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
23194 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
23195 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
23196 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
23197 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
23198 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
23199 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
23200 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
23201 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
23202 * iconvdata/gbk.c (ONE_DIRECTION): Define.
23203 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
23204 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
23205 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
23206 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
23207 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
23208 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
23209 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
23210 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
23211 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
23212 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
23213 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
23214 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
23215 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
23216 * iconvdata/iso646.c (ONE_DIRECTION): Define.
23217 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
23218 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
23219 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
23220 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
23221 * iconvdata/johab.c (ONE_DIRECTION): Define.
23222 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
23223 * iconvdata/sjis.c (ONE_DIRECTION): Define.
23224 * iconvdata/t.61.c (ONE_DIRECTION): Define.
23225 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
23226 * iconvdata/tscii.c (ONE_DIRECTION): Define.
23227 * iconvdata/uhc.c (ONE_DIRECTION): Define.
23228 * iconvdata/unicode.c (ONE_DIRECTION): Define.
23229 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
23230 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
23231 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
23232
23233 2014-05-01 Roland McGrath <roland@hack.frob.com>
23234
23235 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
23236 (_IO_JUMPS_OFFSET): Define to 0.
23237
23238 * nptl/sysdeps/pthread/bits/libc-lock.h
23239 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
23240 (__libc_lock_define_initialized_recursive): Always define using
23241 initializer. Modern compilers treat uninitialized (implicit zero) and
23242 explicit zero initializers the same (i.e. put the datum in bss).
23243
23244 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
23245
23246 * nscd/nscd-client.h: Include <string.h>.
23247
23248 2014-05-01 David S. Miller <davem@davemloft.net>
23249
23250 [BZ #16885]
23251 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
23252 multiple zero bytes exist at the end of a string.
23253 Reported by Aurelien Jarno <aurelien@aurel32.net>
23254
23255 * string/test-strcmp.c (check): Add explicit test for situations where
23256 there are multiple zero bytes after the first.
23257
23258 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
23259
23260 [BZ #16890]
23261 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
23262 when compiling wprintf.
23263 * stdio-common/tstdiomisc.c (t3): New function.
23264 (main): Call it.
23265
23266 2014-05-01 Steve Ellcey <sellcey@mips.com>
23267
23268 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
23269 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
23270 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
23271 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
23272
23273 2014-05-01 Steve Ellcey <sellcey@mips.com>
23274
23275 * stdlib/longlong.h: Updated from GCC.
23276
23277 2014-05-01 Will Newton <will.newton@linaro.org>
23278 Bernard Ogden <bernie.ogden@linaro.org>
23279
23280 * NEWS: Update fixed bug list.
23281
23282 [BZ #15119]
23283 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
23284
23285 2014-04-30 David S. Miller <davem@davemloft.net>
23286
23287 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
23288 (libc_feholdexcept_setround_sparc_ctx): New function.
23289 (libc_fesetenv_sparc_ctx): Likewise.
23290 (libc_feupdateenv_sparc_ctx): Likewise.
23291 (libc_feholdsetround_sparc_ctx): Likewise.
23292 (libc_feholdexcept_setround_ctx): Define.
23293 (libc_feholdexcept_setroundf_ctx): Likewise.
23294 (libc_feholdexcept_setroundl_ctx): Likewise.
23295 (libc_fesetenv_ctx): Likewise.
23296 (libc_fesetenvf_ctx): Likewise.
23297 (libc_fesetenvl_ctx): Likewise.
23298 (libc_feupdateenv_ctx): Likewise.
23299 (libc_feupdateenvf_ctx): Likewise.
23300 (libc_feupdateenvl_ctx): Likewise.
23301 (libc_feresetround_ctx): Likewise.
23302 (libc_feresetroundf_ctx): Likewise.
23303 (libc_feresetroundl_ctx): Likewise.
23304 (libc_feholdsetround_ctx): Likewise.
23305 (libc_feholdsetroundf_ctx): Likewise.
23306 (libc_feholdsetroundl_ctx): Likewise.
23307
23308 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
23309 with __USE_GNU instead of XOPEN cpp guards.
23310
23311 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
23312 0.
23313
23314 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
23315 with XOPEN cpp guards.
23316
23317 2014-04-30 Julian Brown <julian@codesourcery.com>
23318
23319 [BZ #16888]
23320 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
23321 handling.
23322
23323 2014-04-30 Joseph Myers <joseph@codesourcery.com>
23324
23325 [BZ #9894]
23326 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
23327 Change to 2.6.32.
23328 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
23329 * sysdeps/unix/sysv/linux/configure: Regenerated.
23330 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
23331 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
23332 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
23333 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
23334 * README: Update reference to required Linux kernel version.
23335 * manual/install.texi (Linux): Update reference to required Linux
23336 kernel headers version.
23337 * INSTALL: Regenerated.
23338
23339 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
23340 header inclusion.
23341 [POSIX] (limits.h): Likewise.
23342 [POSIX] (math.h): Likewise.
23343 [POSIX] (sys/wait.h): Likewise.
23344 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
23345 function.
23346 [POSIX] (stddef.h): Do not allow header inclusion.
23347
23348 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23349
23350 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
23351
23352 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
23353
23354 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
23355 Return immediately after lll_futex_wake.
23356
23357 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
23358
23359 [BZ #16791]
23360 * nscd/nscd-client.h (datahead_init_common): Initialize entire
23361 structure.
23362 (datahead_init_pos): Call datahead_init_common early.
23363 (datahead_init_neg): Likewise.
23364
23365 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
23366 datahead_init_neg): New functions.
23367 * nscd/aicache.c (addhstaiX): Use them.
23368 * nscd/grpcache.c (cache_addgr): Likewise.
23369 * nscd/hstcache.c (cache_addhst): Likewise.
23370 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23371 * nscd/netgroupcache.c (do_notfound): Likewise.
23372 (addgetnetgrentX): Likewise.
23373 (addinnetgrX): Likewise.
23374 * nscd/pwdcache.c (cache_addpw): Likewise.
23375 * nscd/servicescache.c (cache_addserv): Likewise.
23376
23377 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
23378 Atsushi Onoe <atsushi@onoe.org>
23379
23380 [BZ #14308]
23381 [BZ #12994]
23382 [BZ #13651]
23383 * resolv/res_query.c (__libc_res_nsearch): Return if at least
23384 one response is valid.
23385 * resolv/res_send.c (send_dg): Check for validity of other
23386 response if the current response is a referral.
23387
23388 2014-04-29 Steve Ellcey <sellcey@mips.com>
23389
23390 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
23391
23392 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
23393
23394 [BZ #16823]
23395 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
23396 Always divide by positive zero when computing -Inf result.
23397 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
23398 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
23399
23400 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23401
23402 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
23403 FPSCR if value do not change.
23404 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
23405 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
23406 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
23407 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
23408 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
23409 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
23410 function.
23411
23412 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
23413
23414 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
23415 * sysdeps/unix/sysv/linux/hppa: Move directory from
23416 ports/systeps/unix/sysv/linux/hppa.
23417 * README: Update listing for hppa-*-linux-gnu.
23418
23419 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
23420
23421 [BZ #16754]
23422 * manual/stdio.texi (Hook functions): Fix types of stream hook
23423 functions.
23424 [BZ #16854]
23425 * socket/sys/socket.h: Fix typo in comment.
23426
23427 2014-04-28 Wilco <wdijkstr@arm.com>
23428
23429 * sysdeps/arm/fenv_private.h: New file.
23430 * sysdeps/arm/math_private.h: New file.
23431 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
23432
23433 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
23434
23435 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
23436 with __int128_t.
23437 (La_x86_64_retval): Likewise.
23438
23439 2014-04-24 Ian Bolton <ian.bolton@arm.com>
23440
23441 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
23442 fpsr if value didn't change.
23443 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
23444 to fpcr if value didn't change.
23445 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
23446 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
23447 fpsr or fpcr if value didn't change.
23448 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
23449 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
23450 fpcr if value didn't change.
23451 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
23452 to fpsr if value didn't change.
23453
23454 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
23455
23456 * nptl/tst-sem3.c: Use test-skeleton.c
23457 (main): Rename to do_test. Use return instead of
23458 exit.
23459 * nptl/tst-sem4.c: Use test-skeleton.c
23460 (main): Rename to do_test.
23461
23462 2014-04-22 David S. Miller <davem@davemloft.net>
23463
23464 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
23465 (struct sigaction): New struct member __glibc_reserved0, change
23466 type of sa_flags to int.
23467
23468 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
23469
23470 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
23471 (COUNT_LEADING_ZEROS_0): Define for AArch64.
23472
23473 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
23474
23475 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
23476 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
23477
23478 2014-04-22 Will Newton <will.newton@linaro.org>
23479 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
23480
23481 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
23482 (__longjmp): Add longjmp and longjmp_target SystemTap
23483 probes.
23484 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
23485 (__sigsetjmp): Add setjmp SystemTap probe.
23486
23487 2014-04-17 Carlos O'Donell <carlos@redhat.com>
23488
23489 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
23490 match manual order.
23491
23492 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23493
23494 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
23495
23496 * sysdeps/powerpc/fpu/fenv_private.h
23497 (libc_feholdexcept_setroundl_ctx): Define to
23498 libc_feholdexcept_setround_ppc_ctx.
23499 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
23500 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
23501 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
23502 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
23503
23504 2014-04-17 Ian Bolton <ian.bolton@arm.com>
23505
23506 * sysdeps/aarch64/math-tests.h: New file.
23507
23508 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
23509
23510 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
23511 New.
23512 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23513 Check and set bit_AVX2_Usable.
23514 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
23515 macro.
23516 (bit_AVX2): Likewise.
23517 (index_AVX2_Usable): Likewise.
23518 (CPUID_AVX2): Likewise.
23519 (HAS_AVX2): Likewise.
23520
23521 2014-04-17 Will Newton <will.newton@linaro.org>
23522
23523 * manual/setjmp.texi (System V contexts): Add note that
23524 calling setcontext on a context created by a call to a
23525 signal handler is undefined. Update text to note that
23526 setcontext from a signal handler is possible but not
23527 recommended.
23528
23529 [BZ #16629]
23530 * stdlib/tst-setcontext.c: Include signal.h.
23531 (main): Check that the signal stack before and
23532 after swapcontext is the same.
23533
23534 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
23535 Re-implement to restore registers in user code and avoid
23536 rt_sigreturn system call.
23537
23538 2014-04-17 Wilco <wdijkstr@arm.com>
23539
23540 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
23541 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
23542 * math/test-fenv.c: Skip exception trap tests on targets which only
23543 support non-stop mode.
23544
23545 2014-04-17 Ian Bolton <ian.bolton@arm.com>
23546 Wilco Dijkstra <wilco.dijkstra@arm.com>
23547
23548 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
23549 (libc_feholdsetround_aarch64_ctx)
23550 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
23551 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
23552 (libc_feresetround_ctx, libc_feresetroundf_ctx)
23553 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
23554 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
23555 (libc_feresetround_noexl_ctx): Define.
23556
23557 2014-04-16 Richard Henderson <rth@redhat.com>
23558
23559 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
23560
23561 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
23562 unwind tables.
23563
23564 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
23565 const from the non-libc, non-ldso copy.
23566
23567 * sysdeps/alpha/libm-test-ulps: Regenerate.
23568
23569 2014-04-16 Ian Bolton <ian.bolton@arm.com>
23570 Wilco Dijkstra <wilco.dijkstra@arm.com>
23571
23572 * sysdeps/aarch64/fpu/math_private.h: New file.
23573
23574 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
23575
23576 * sysdeps/aarch64/libm-test-ulps: Regenerate.
23577
23578 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
23579
23580 [BZ #16275]
23581 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
23582 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
23583 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
23584 Intel MPX bound registers before _dl_profile_fixup.
23585 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
23586 registers after _dl_profile_fixup. Save and restore bound
23587 registers bnd0/bnd1 when calling _dl_call_pltexit.
23588 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
23589 (LR_BND_OFFSET): Likewise.
23590 (LRV_BND0_OFFSET): Likewise.
23591 (LRV_BND1_OFFSET): Likewise.
23592
23593 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
23594
23595 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
23596 to...
23597 * sysdeps/mach/hurd/i386/tls.h: ... here.
23598 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
23599 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
23600 fields.
23601
23602 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
23603
23604 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
23605
23606 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
23607
23608 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
23609
23610 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
23611
23612 [BZ #14770]
23613 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
23614 * sysdeps/s390/configure: Regenerate.
23615
23616 [BZ #16824]
23617 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
23618 Set round-to-nearest internally to reduce error accumulation.
23619
23620 2014-04-16 Alan Modra <amodra@gmail.com>
23621
23622 [BZ #16740]
23623 [BZ #16619]
23624 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
23625 * math/libm-test.inc (frexp_test_data): Add tests.
23626 * NEWS: Update fixed bug list.
23627
23628 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23629
23630 * benchtests/Makefile: Depend on libraries in build directory.
23631 (bench-math): Separate out math tests.
23632 (bench-pthread): Separate out pthread tests.
23633 (bench): Include math and pthread tests.
23634
23635 2014-04-14 Carlos O'Donell <carlos@redhat.com>
23636
23637 [BZ #16831]
23638 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
23639 _dl_debug_initialize.
23640
23641 * configure.ac: Remove SELinux header check.
23642 * configure: Regenerate.
23643 * nscd/selinux.c (perms): Array of const char* to permission names.
23644 (nscd_request_avc_has_perm): Call security_deny_unknown to find
23645 default policy. Call string_to_security_class and string_to_av_perm to
23646 translate strings. Enforce default policy and call avs_has_perm with
23647 results of translated strings.
23648
23649 2014-04-13 David S. Miller <davem@davemloft.net>
23650
23651 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23652
23653 2014-04-12 Allan McRae <allan@archlinux.org>
23654
23655 [BZ #16838]
23656 * manual/string.texi (Collation Functions): Fix qsort argument
23657 order in example.
23658 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
23659
23660 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
23661
23662 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
23663 Make the test a no-op if there are no exceptions defined.
23664
23665 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
23666
23667 * elf/Makefile (tests): make tst-dlopen-aout conditional on
23668 enable-hardcoded-path-in-tests
23669
23670 2014-04-11 Will Newton <will.newton@linaro.org>
23671
23672 * benchtests/Makefile (extra-objs): Add json-lib.o.
23673 (bench-func): Tidy up JSON output.
23674 * benchtests/bench-skeleton.c: Include json-lib.h.
23675 (main): Use JSON library functions to do output of
23676 benchmark results.
23677 * benchtests/bench-timing-type.c (main): Output the
23678 timing type simply, leaving formatting to the user.
23679 * benchtests/json-lib.c: New file.
23680 * benchtests/json-lib.h: Likewise.
23681
23682 2014-04-11 Torvald Riegel <triegel@redhat.com>
23683
23684 [BZ #15215]
23685 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
23686 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
23687 memory barriers. Add comments.
23688 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
23689 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
23690 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
23691 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
23692 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
23693 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
23694
23695 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
23696
23697 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
23698 * sysdeps/s390/s390-64/configure.ac: ... this ...
23699 * sysdeps/s390/configure.ac: ... to here.
23700 * sysdeps/s390/s390-32/configure: Delete file.
23701 * sysdeps/s390/s390-64/configure: Delete file.
23702 * sysdeps/s390/configure: Regenerate.
23703
23704 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
23705
23706 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
23707
23708 2014-04-11 Will Newton <will.newton@linaro.org>
23709
23710 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
23711 to zero if it is not defined elsewhere. (mtrim): Test
23712 the value of MALLOC_DEBUG with #if rather than #ifdef.
23713
23714 2014-04-10 Torvald Riegel <triegel@redhat.com>
23715
23716 * benchtests/pthread_once-inputs: New file.
23717 * benchtests/pthread_once-source.c: New file.
23718 * benchtests/README: Update documentation.
23719
23720 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
23721 H.J. Lu <hongjiu.lu@intel.com>
23722
23723 [BZ #16275]
23724 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
23725 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
23726 * sysdeps/x86_64/configure: Regenerated.
23727 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
23728 macro.
23729 (REGISTER_SAVE_RAX): Likewise.
23730 (REGISTER_SAVE_RCX): Likewise.
23731 (REGISTER_SAVE_RDX): Likewise.
23732 (REGISTER_SAVE_RSI): Likewise.
23733 (REGISTER_SAVE_RDI): Likewise.
23734 (REGISTER_SAVE_R8): Likewise.
23735 (REGISTER_SAVE_R9): Likewise.
23736 (REGISTER_SAVE_BND0): Likewise.
23737 (REGISTER_SAVE_BND1): Likewise.
23738 (REGISTER_SAVE_BND2): Likewise.
23739 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
23740 bound registers when calling _dl_fixup.
23741
23742 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23743
23744 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
23745 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
23746 of its definition.
23747 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
23748 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
23749 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
23750 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
23751 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
23752 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
23753 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
23754
23755 2014-04-09 Peter Brett <peter@peter-b.co.uk>
23756
23757 [BZ #15514]
23758 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
23759 pathconf(_PC_NAME_MAX).
23760
23761 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23762
23763 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
23764 Remove macro usage.
23765 (__PTHREAD_SPINS): Move definition to ...
23766 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
23767 (__PTHREAD_SPINS): ... here.
23768 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
23769 (__PTHREAD_SPIN): Likewise.
23770 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
23771 (__PTHREAD_SPIN): Likewise.
23772 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
23773 (__PTHREAD_SPIN): Likewise.
23774 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
23775 (__PTHREAD_SPIN): Likewise.
23776 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
23777 (__PTHREAD_SPIN): Likewise.
23778 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
23779 (__PTHREAD_SPIN): Likewise.
23780 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
23781 (__PTHREAD_SPIN): Likewise.
23782 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
23783 (__PTHREAD_SPIN): Likewise.
23784 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
23785 (__PTHREAD_SPIN): Likewise.
23786 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
23787 (__PTHREAD_SPIN): Likewise.
23788 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
23789 (__PTHREAD_SPIN): Likewise.
23790 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
23791 (__PTHREAD_SPIN): Likewise.
23792
23793 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
23794 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
23795 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
23796 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
23797 imply folder.
23798 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
23799 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
23800 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
23801 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
23802 correct imply path.
23803 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
23804 strlen symbol for non multi-arch builds.
23805 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
23806 missing hidden_def and weak_alias.
23807
23808 2014-04-08 Carlos O'Donell <carlos@redhat.com>
23809
23810 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
23811
23812 2014-04-07 Will Newton <will.newton@linaro.org>
23813
23814 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
23815 and contents. [!_LIBC] Remove #ifndef and contents.
23816 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
23817 * string/memccpy.c (__memccpy): Use ANSI prototype.
23818 * string/memfrob.c (memfrob): Likewise.
23819 * string/strcoll.c (STRCOLL): Likewise.
23820 * string/strlen.c (strlen): Likewise.
23821 * string/strtok.c (STRTOK): Likewise.
23822 * string/strcat.c: Remove unused #include of memcopy.h.
23823 (strcat): Use ANSI prototype.
23824 * string/strchr.c: Remove unused #include of memcopy.h.
23825 (strchr): Use ANSI prototype.
23826 * string/strcmp.c: Remove unused #include of memcopy.h.
23827 (strcmp): Use ANSI prototype.
23828 * string/strcpy.c: Remove unused #include of memcopy.h.
23829 (strcpy): Use ANSI prototype.
23830
23831 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23832
23833 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
23834 * config.make.in (config-extra-cppflags): Set it from
23835 libc_extra_cppflags.
23836 * configure.ac (libc_extra_cflags): Make it accumulate over
23837 configure fragments.
23838 (libc_extra_cppflags): New flag.
23839 * configure. Regenerate.
23840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
23841 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
23842 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
23843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
23844
23845 [BZ #16815]
23846 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
23847 result for FE_DOWNWARD rounding mode.
23848 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
23849 Likewise.
23850 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23851
23852 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
23853
23854 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
23855 in function argument name.
23856
23857 2014-04-03 David Svoboda <svoboda@cert.org>
23858
23859 [BZ #5666]
23860 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
23861 explicitly.
23862
23863 2014-04-03 Roland McGrath <roland@hack.frob.com>
23864
23865 * elf/dl-unmap-segments.h: New file.
23866 * sysdeps/generic/ldsodefs.h
23867 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
23868 * elf/dl-close.c: Include <dl-unmap-segments.h>.
23869 * elf/dl-fptr.c: Likewise.
23870 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
23871 * sysdeps/aarch64/tlsdesc.c: Likewise.
23872 * sysdeps/arm/tlsdesc.c: Likewise.
23873 * sysdeps/i386/tlsdesc.c: Likewise.
23874 * sysdeps/tile/dl-runtime.c: Likewise.
23875 * sysdeps/x86_64/tlsdesc.c: Likewise.
23876 * elf/dl-load.h: New file.
23877 * elf/dl-load.c: Include it.
23878 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
23879 Macros moved to dl-load.h.
23880 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
23881 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
23882 Use _dl_unmap_segments in place of __munmap.
23883 Break out segment-mapping loop into ...
23884 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
23885
23886 2014-04-03 Will Newton <will.newton@linaro.org>
23887
23888 * elf/dl-lookup.c (do_lookup_x): Remove comment
23889 referring to nested function and move variable
23890 declarations down to before first use.
23891
23892 2014-04-02 Joseph Myers <joseph@codesourcery.com>
23893
23894 [BZ #16799]
23895 [BZ #16800]
23896 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
23897 with 0 numerator.
23898 * math/s_catanf.c (__catanf): Likewise.
23899 * math/s_catanh.c (__catanh): Likewise.
23900 * math/s_catanhf.c (__catanhf): Likewise.
23901 * math/s_catanhl.c (__catanhl): Likewise.
23902 * math/s_catanl.c (__catanl): Likewise.
23903 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
23904 by positive zero when computing -Inf result.
23905 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
23906 (catanh_test): Likewise.
23907 * sysdeps/i386/fpu/libm-test-ulps: Update.
23908 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23909
23910 [BZ #16789]
23911 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
23912 instead of using underflowing value in computing result.
23913 * math/s_clog10.c (__clog10): Likewise.
23914 * math/s_clog10f.c (__clog10f): Likewise.
23915 * math/s_clog10l.c (__clog10l): Likewise.
23916 * math/s_clogf.c (__clogf): Likewise.
23917 * math/s_clogl.c (__clogl): Likewise.
23918 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
23919 (clog10_test): Likewise.
23920 * sysdeps/i386/fpu/libm-test-ulps: Update.
23921 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23922
23923 2014-04-02 Alan Modra <amodra@gmail.com>
23924
23925 [BZ #16739]
23926 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
23927 output when value is near a power of two. Use int64_t for lx and
23928 remove casts. Use decimal rather than hex exponent constants.
23929 Don't use long double multiplication when double will suffice.
23930 * math/libm-test.inc (nextafter_test_data): Add tests.
23931 * NEWS: Add 16739 and 16786 to bug list.
23932
23933 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
23934
23935 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
23936
23937 2014-04-01 Will Newton <will.newton@linaro.org>
23938
23939 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
23940 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
23941
23942 2014-04-01 Florian Weimer <fweimer@redhat.com>
23943
23944 [BZ #13347]
23945 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
23946 * nptl/tst-setuid2.c: New file.
23947 * nptl/Makefile (xtests): Add tst-setuid2.
23948
23949 2014-04-01 Alan Modra <amodra@gmail.com>
23950
23951 [BZ #16786]
23952 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
23953
23954 2014-03-31 Joseph Myers <joseph@codesourcery.com>
23955
23956 [BZ #6803]
23957 [BZ #6804]
23958 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
23959 set errno as appropriate.
23960 * math/w_scalbf.c (__scalbf): Likewise.
23961 * math/w_scalbl.c (__scalbl): Likewise.
23962 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
23963 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
23964 * math/libm-test.inc (scalb_test_data): Add errno expectations.
23965 Add more NaN tests.
23966
23967 [BZ #16349]
23968 * math/w_atan2.c: Include <errno.h>.
23969 (__atan2): Set errno for result underflowing to zero.
23970 * math/w_atan2f.c: Include <errno.h>.
23971 (__atan2f): Set errno for result underflowing to zero.
23972 * math/w_atan2l.c: Include <errno.h>.
23973 (__atan2l): Set errno for result underflowing to zero.
23974 * math/auto-libm-test-in: Don't allow missing errno for some atan2
23975 tests.
23976 * math/auto-libm-test-out: Regenerated.
23977
23978 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23979
23980 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
23981 Encode instruction correctly in little endian.
23982 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
23983 Likewise.
23984 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
23985 Likewise.
23986 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
23987 Likewise.
23988 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
23989 Likewise.
23990
23991 2014-03-31 Joseph Myers <joseph@codesourcery.com>
23992
23993 [BZ #9894]
23994 * sysdeps/unix/sysv/linux/kernel-features.h
23995 [__sparc__ && !__arch64__ && !__sparc_v9__]
23996 (__ASSUME_SET_ROBUST_LIST): Do not define.
23997 [__sparc__ && !__arch64__ && !__sparc_v9__]
23998 (__ASSUME_FUTEX_LOCK_PI): Likewise.
23999 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
24000 Likewise.
24001 * sysdeps/unix/sysv/linux/arm/kernel-features.h
24002 (__ASSUME_FUTEX_LOCK_PI): Undefine.
24003 (__ASSUME_REQUEUE_PI): Likewise.
24004 (__ASSUME_SET_ROBUST_LIST): Likewise.
24005 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
24006 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
24007 Undefine.
24008 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24009 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
24010 Likewise.
24011 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
24012 Likewise.
24013 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
24014 Likewise.
24015 * sysdeps/unix/sysv/linux/mips/kernel-features.h
24016 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
24017 Undefine.
24018 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
24019 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
24020 Likewise.
24021
24022 [BZ #16648]
24023 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24024 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
24025 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
24026
24027 2014-03-31 Will Newton <will.newton@linaro.org>
24028
24029 * benchtests/Makefile (bench): Add ffs and ffsll to list
24030 of tests.
24031 * benchtests/ffs-inputs: New file.
24032 * benchtests/ffsll-inputs: Likewise.
24033
24034 2014-03-29 Joseph Myers <joseph@codesourcery.com>
24035
24036 [BZ #16770]
24037 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
24038 too large before casting to int.
24039 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
24040 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
24041 * math/libm-test.inc (scalb_test_data): Add more tests.
24042
24043 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24044
24045 * benchtests/Makefile (DETAILED_OPT): New make option.
24046 (bench-func): Run benchmark program with -d if DETAILED_OPT is
24047 set.
24048 * benchtests/bench-skeleton.c: Include stdbool.h.
24049 (main): Store and print timings per input.
24050 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
24051 member to each argument value.
24052 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
24053 (_print_arg_data): Initialize per-input timing to 0.
24054
24055 * benchtests/Makefile (timing-type): New binary.
24056 (bench-clean): Also remove bench-timing-type.
24057 (bench): New target for timing-type.
24058 (bench-func): Print output in JSON format.
24059 * benchtests/bench-skeleton.c (main): Print output in JSON
24060 format.
24061 * benchtests/bench-timing-type.c: New file.
24062 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
24063 (TIMING_PRINT_STATS): Remove.
24064 * benchtests/scripts/bench.py (_print_arg_data): Store variant
24065 name separately.
24066
24067 * benchtests/bench-modf.c: Remove.
24068 * benchtests/modf-inputs: New inputs file.
24069
24070 2014-03-28 Joseph Myers <joseph@codesourcery.com>
24071
24072 [BZ #16362]
24073 * math/s_clog10.c (M_PI_LOG10E): New macro.
24074 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
24075 imaginary parts are 0.
24076 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
24077 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
24078 imaginary parts are 0.
24079 * math/s_clog10l.c (M_PI_LOG10El): New macro.
24080 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
24081 imaginary parts are 0.
24082 * math/libm-test.inc (clog10_test_data): Update expected results
24083 for when real and imaginary parts are 0.
24084
24085 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
24086
24087 * elf/dl-load.c: Finish conversion of __builtin_expect into
24088 __glibc_{un}likely.
24089
24090 2014-03-27 Joseph Myers <joseph@codesourcery.com>
24091
24092 [BZ #16348]
24093 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
24094 1+x for argument with exponent below -67.
24095 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
24096 Likewise.
24097 * math/auto-libm-test-in: Add more tests of exp.
24098 * math/auto-libm-test-out: Regenerated.
24099
24100 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
24101
24102 [BZ #16759]
24103 * inet/getnetgrent_r.c (get_nonempty_val): New function.
24104 (nscd_getnetgrent): Use it.
24105
24106 [BZ #16760]
24107 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
24108 of stpcpy.
24109
24110 2014-03-27 Andi Kleen <ak@linux.intel.com>
24111
24112 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
24113 (lll_robust_lock, lll_cond_lock, lll_timedlock)
24114 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
24115 (lll_robust_unlock): Remove out of line section. Use cfi
24116 intrinsics.
24117 (LLL_STUB_UNWIND_INFO*): Remove.
24118 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
24119 (lll_robust_lock, lll_cond_lock, lll_timedlock)
24120 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
24121 (lll_robust_unlock): Remove out of line section. Use cfi
24122 intrinsics.
24123 (LLL_STUB_UNWIND_INFO*): Remove.
24124
24125 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
24126
24127 [BZ #16758]
24128 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
24129 blank values.
24130
24131 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
24132
24133 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
24134
24135 2014-03-26 Joseph Myers <joseph@codesourcery.com>
24136
24137 [BZ #16198]
24138 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
24139 fnstenv.
24140 * math/test-fenv-preserve.c: New file.
24141 * math/Makefile (tests): Add test-fenv-preserve.
24142
24143 2014-03-26 Will Newton <will.newton@linaro.org>
24144
24145 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
24146
24147 2014-03-25 Roland McGrath <roland@hack.frob.com>
24148
24149 * scripts/versionlist.awk: Partition the version sets and emit all
24150 GLIBC_* (sorted) before all others (sorted).
24151
24152 2014-03-25 Joseph Myers <joseph@codesourcery.com>
24153
24154 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
24155 GLIBC_2.2.5 version.
24156
24157 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24158
24159 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
24160 calls.
24161
24162 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
24163 previous change.
24164
24165 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24166
24167 2014-03-25 Andreas Schwab <schwab@suse.de>
24168
24169 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
24170 label to be used after in6ailist is initialized.
24171
24172 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24173
24174 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
24175 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
24176
24177 2014-03-25 Joseph Myers <joseph@codesourcery.com>
24178
24179 [BZ #16357]
24180 [BZ #16599]
24181 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
24182 min_plus_half.
24183 (fp_formats): Update initializers.
24184 (init_fp_formats): Initialize new field.
24185 (output_for_one_input_case): Allow underflow for results up to
24186 min_plus_half.
24187 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
24188 * math/auto-libm-test-in: Don't mark some underflows from asin and
24189 atanh as spurious.
24190 * math/auto-libm-test-out: Regenerated.
24191 * sysdeps/i386/fpu/libm-test-ulps: Update.
24192 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24193
24194 2014-03-25 Andreas Schwab <schwab@suse.de>
24195
24196 * libio/Makefile (tst-ftell-partial-wide-ENV)
24197 (tst-ftell-active-handler-ENV): Define.
24198
24199 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
24200
24201 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
24202
24203 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
24204
24205 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
24206
24207 2014-03-24 Joseph Myers <joseph@codesourcery.com>
24208
24209 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
24210 * sysdeps/x86_64/fpu/multiarch/e_exp.c
24211 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
24212
24213 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
24214
24215 [BZ #16634]
24216 * elf/dl-load.c (open_verify): Add mode parameter.
24217 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
24218 (open_path): Change from boolean 'secure' to complete flag 'mode'
24219 (_dl_map_object): Adjust.
24220 * elf/Makefile (tests): Add tst-dlopen-aout.
24221 * elf/tst-dlopen-aout.c: New test.
24222
24223 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
24224
24225 [BZ #16714]
24226 * sysdeps/unix/sysv/linux/s390/bits/stat.h
24227 (struct stat): Rename member pad0 to __glibc_reserved0.
24228
24229 [BZ #16712]
24230 * sysdeps/s390/s390-32/bits/wordsize.h
24231 (__WORDSIZE32_SIZE_ULONG): New define.
24232 * sysdeps/s390/s390-64/bits/wordsize.h
24233 (__WORDSIZE32_SIZE_ULONG): Likewise.
24234 * sysdeps/generic/stdint.h (SIZE_MAX):
24235 Define as UL if __WORDSIZE32_SIZE_ULONG.
24236
24237 [BZ #16713]
24238 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
24239 (__glibc_reserved0): New variable.
24240 (sa_flags): Change type to int.
24241
24242 * posix/Makefile (before-compile): Use += before-compile instead
24243 of a :=.
24244
24245 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
24246 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
24247
24248 2014-03-20 Andreas Schwab <schwab@suse.de>
24249
24250 [BZ #16743]
24251 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
24252 non-matching result from nscd.
24253
24254 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
24255
24256 * scripts/bench.py: Moved to ...
24257 * benchtests/scripts/bench.py: ... here.
24258 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
24259
24260 2014-03-24 Andreas Schwab <schwab@suse.de>
24261
24262 [BZ #16002]
24263 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
24264 alloca_account and account alloca use for struct in6ailist.
24265
24266 2014-03-24 Joseph Myers <joseph@codesourcery.com>
24267
24268 [BZ #16284]
24269 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
24270 rounding mode to recompute results that overflow to infinity or
24271 underflow to zero.
24272 * math/auto-libm-test-in: Don't mark tests as expected to fail for
24273 bug 16284.
24274 * math/auto-libm-test-out: Regenerated.
24275 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
24276 (ccosh_test): Likewise.
24277 (csin_test_data): Use plus_oflow.
24278 (csin_test): Use ALL_RM_TEST.
24279 (csinh_test_data): Use plus_oflow.
24280 (csinh_test): Use ALL_RM_TEST.
24281 * sysdeps/i386/fpu/libm-test-ulps: Update.
24282 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24283
24284 2014-03-21 Joseph Myers <joseph@codesourcery.com>
24285
24286 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
24287 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
24288 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
24289
24290 [BZ #16731]
24291 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
24292 when x - 1 is zero.
24293 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
24294 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
24295 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
24296 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
24297 argument is 1.
24298 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
24299 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
24300 zero.
24301 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
24302 * sysdeps/i386/fpu/libm-test-ulps: Update.
24303 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24304
24305 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24306
24307 * scripts/bench.pl: Remove file.
24308 * scripts/bench.py: New benchmark script.
24309 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
24310 * benchtests/README: Mention python dependency.
24311 * scripts/pylintrc: New file.
24312 * scripts/pylint: New file.
24313
24314 * bits/mathdef.h: Use #ifdef instead of #if.
24315 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
24316 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
24317 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
24318 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
24319 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
24320 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
24321
24322 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24323 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
24324
24325 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
24326 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
24327 and strpbrk-ppc64 objects.
24328 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24329 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
24330 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
24331 multiarch strpbrk for POWER7.
24332 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
24333 multiarch strpbrk for PPC64.
24334 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
24335 ifunc selector.
24336 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
24337 strpbrk for POWER7.
24338
24339 2014-03-20 Joseph Myers <joseph@codesourcery.com>
24340
24341 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
24342 (atan_test): Likewise.
24343 (atanh_test_data): Use NO_TEST_INLINE for two tests.
24344 (atanh_test): Use ALL_RM_TEST.
24345 (atan2_test_data): Likewise.
24346 (cabs_test): Likewise.
24347 (cacosh_test): Likewise.
24348 (carg_test): Likewise.
24349 (casin_test): Likewise.
24350 (casinh_test): Likewise.
24351 (cbrt_test): Likewise.
24352 (csqrt_test): Likewise.
24353 (erf_test): Likewise.
24354 (erfc_test): Likewise.
24355 (pow10_test): Likewise.
24356 (exp2_test): Likewise.
24357 (hypot_test): Likewise.
24358 (j0_test): Likewise.
24359 (j1_test): Likewise.
24360 (lgamma_test): Likewise.
24361 (gamma_test): Likewise.
24362 (sincos_test): Likewise.
24363 (tanh_test): Likewise.
24364 (y0_test): Likewise.
24365 (y1_test): Likewise.
24366 * sysdeps/i386/fpu/libm-test-ulps: Update.
24367 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24368
24369 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24370
24371 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
24372 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
24373 and strcspn-ppc64 objects.
24374 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24375 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
24376 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
24377 multiarch strcspn for POWER7.
24378 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
24379 multiarch strcspn for PPC64.
24380 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
24381 ifunc selector.
24382 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
24383 strcspn for POWER7.
24384
24385 2014-03-20 Joseph Myers <joseph@codesourcery.com>
24386
24387 * math/gen-libm-test.pl (generate_testfile): Expect only function
24388 name as argument to AUTO_TESTS_* and pass results for all rounding
24389 modes to parse_args.
24390 (parse_auto_input): Separate inputs of automatic tests from
24391 outputs before storing in %auto_tests.
24392 * math/libm-test.inc (acos_test_data): Update call to
24393 AUTO_TESTS_f_f.
24394 (acos_test): Use ALL_RM_TEST.
24395 (acos_tonearest_test_data): Remove.
24396 (acos_test_tonearest): Likewise.
24397 (acos_towardzero_test_data): Likewise.
24398 (acos_test_towardzero): Likewise.
24399 (acos_downward_test_data): Likewise.
24400 (acos_test_downward): Likewise.
24401 (acos_upward_test_data): Likewise.
24402 (acos_test_upward): Likewise.
24403 (acosh_test_data): Update call to AUTO_TESTS_f_f.
24404 (asin_test_data): Likewise.
24405 (asin_test): Use ALL_RM_TEST.
24406 (asin_tonearest_test_data): Remove.
24407 (asin_test_tonearest): Likewise.
24408 (asin_towardzero_test_data): Likewise.
24409 (asin_test_towardzero): Likewise.
24410 (asin_downward_test_data): Likewise.
24411 (asin_test_downward): Likewise.
24412 (asin_upward_test_data): Likewise.
24413 (asin_test_upward): Likewise.
24414 (asinh_test_data): Update call to AUTO_TESTS_f_f.
24415 (atan_test_data): Likewise.
24416 (atanh_test_data): Likewise.
24417 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
24418 (cabs_test_data): Update call to AUTO_TESTS_c_f.
24419 (carg_test_data): Likewise.
24420 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
24421 (ccos_test_data): Update call to AUTO_TESTS_c_c.
24422 (ccosh_test_data): Likewise.
24423 (cexp_test_data): Likewise.
24424 (clog_test_data): Likewise.
24425 (clog10_test_data): Likewise.
24426 (cos_test_data): Update call to AUTO_TESTS_f_f.
24427 (cos_test): Use ALL_RM_TEST.
24428 (cos_tonearest_test_data): Remove.
24429 (cos_test_tonearest): Likewise.
24430 (cos_towardzero_test_data): Likewise.
24431 (cos_test_towardzero): Likewise.
24432 (cos_downward_test_data): Likewise.
24433 (cos_test_downward): Likewise.
24434 (cos_upward_test_data): Likewise.
24435 (cos_test_upward): Likewise.
24436 (cosh_test_data): Update call to AUTO_TESTS_f_f.
24437 (cosh_test): Use ALL_RM_TEST.
24438 (cosh_tonearest_test_data): Remove.
24439 (cosh_test_tonearest): Likewise.
24440 (cosh_towardzero_test_data): Likewise.
24441 (cosh_test_towardzero): Likewise.
24442 (cosh_downward_test_data): Likewise.
24443 (cosh_test_downward): Likewise.
24444 (cosh_upward_test_data): Likewise.
24445 (cosh_test_upward): Likewise.
24446 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
24447 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
24448 (ctan_test_data): Likewise.
24449 (ctan_test): Use ALL_RM_TEST.
24450 (ctan_tonearest_test_data): Remove.
24451 (ctan_test_tonearest): Likewise.
24452 (ctan_towardzero_test_data): Likewise.
24453 (ctan_test_towardzero): Likewise.
24454 (ctan_downward_test_data): Likewise.
24455 (ctan_test_downward): Likewise.
24456 (ctan_upward_test_data): Likewise.
24457 (ctan_test_upward): Likewise.
24458 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
24459 (ctanh_test): Use ALL_RM_TEST.
24460 (ctanh_tonearest_test_data): Remove.
24461 (ctanh_test_tonearest): Likewise.
24462 (ctanh_towardzero_test_data): Likewise.
24463 (ctanh_test_towardzero): Likewise.
24464 (ctanh_downward_test_data): Likewise.
24465 (ctanh_test_downward): Likewise.
24466 (ctanh_upward_test_data): Likewise.
24467 (ctanh_test_upward): Likewise.
24468 (erf_test_data): Update call to AUTO_TESTS_f_f.
24469 (erfc_test_data): Likewise.
24470 (exp_test_data): Likewise.
24471 (exp_test): Use ALL_RM_TEST.
24472 (exp_tonearest_test_data): Remove.
24473 (exp_test_tonearest): Likewise.
24474 (exp_towardzero_test_data): Likewise.
24475 (exp_test_towardzero): Likewise.
24476 (exp_downward_test_data): Likewise.
24477 (exp_test_downward): Likewise.
24478 (exp_upward_test_data): Likewise.
24479 (exp_test_upward): Likewise.
24480 (exp10_test_data): Update call to AUTO_TESTS_f_f.
24481 (exp10_test): Use ALL_RM_TEST.
24482 (exp10_tonearest_test_data): Remove.
24483 (exp10_test_tonearest): Likewise.
24484 (exp10_towardzero_test_data): Likewise.
24485 (exp10_test_towardzero): Likewise.
24486 (exp10_downward_test_data): Likewise.
24487 (exp10_test_downward): Likewise.
24488 (exp10_upward_test_data): Likewise.
24489 (exp10_test_upward): Likewise.
24490 (exp2_test_data): Update call to AUTO_TESTS_f_f.
24491 (expm1_test_data): Likewise.
24492 (expm1_test): Use ALL_RM_TEST.
24493 (expm1_tonearest_test_data): Remove.
24494 (expm1_test_tonearest): Likewise.
24495 (expm1_towardzero_test_data): Likewise.
24496 (expm1_test_towardzero): Likewise.
24497 (expm1_downward_test_data): Likewise.
24498 (expm1_test_downward): Likewise.
24499 (expm1_upward_test_data): Likewise.
24500 (expm1_test_upward): Likewise.
24501 (fma_test_data): Update call to AUTO_TESTS_fff_f.
24502 (fma_test): Use ALL_RM_TEST.
24503 (fma_towardzero_test_data): Remove.
24504 (fma_test_towardzero): Likewise.
24505 (fma_downward_test_data): Likewise.
24506 (fma_test_downward): Likewise.
24507 (fma_upward_test_data): Likewise.
24508 (fma_test_upward): Likewise.
24509 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
24510 (j0_test_data): Update call to AUTO_TESTS_f_f.
24511 (j1_test_data): Likewise.
24512 (jn_test_data): Update call to AUTO_TESTS_if_f.
24513 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
24514 (log_test_data): Update call to AUTO_TESTS_f_f.
24515 (log10_test_data): Likewise.
24516 (log1p_test_data): Likewise.
24517 (log2_test_data): Likewise.
24518 (pow_test_data): Update call to AUTO_TESTS_ff_f.
24519 (pow_tonearest_test_data): Likewise.
24520 (sin_test_data): Update call to AUTO_TESTS_f_f.
24521 (sin_test): Use ALL_RM_TEST.
24522 (sin_tonearest_test_data): Remove.
24523 (sin_test_tonearest): Likewise.
24524 (sin_towardzero_test_data): Likewise.
24525 (sin_test_towardzero): Likewise.
24526 (sin_downward_test_data): Likewise.
24527 (sin_test_downward): Likewise.
24528 (sin_upward_test_data): Likewise.
24529 (sin_test_upward): Likewise.
24530 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
24531 (sinh_test_data): Update call to AUTO_TESTS_f_f.
24532 (sinh_test): Use ALL_RM_TEST.
24533 (sinh_tonearest_test_data): Remove.
24534 (sinh_test_tonearest): Likewise.
24535 (sinh_towardzero_test_data): Likewise.
24536 (sinh_test_towardzero): Likewise.
24537 (sinh_downward_test_data): Likewise.
24538 (sinh_test_downward): Likewise.
24539 (sinh_upward_test_data): Likewise.
24540 (sinh_test_upward): Likewise.
24541 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
24542 (sqrt_test): Use ALL_RM_TEST.
24543 (sqrt_tonearest_test_data): Remove.
24544 (sqrt_test_tonearest): Likewise.
24545 (sqrt_towardzero_test_data): Likewise.
24546 (sqrt_test_towardzero): Likewise.
24547 (sqrt_downward_test_data): Likewise.
24548 (sqrt_test_downward): Likewise.
24549 (sqrt_upward_test_data): Likewise.
24550 (sqrt_test_upward): Likewise.
24551 (tan_test_data): Update call to AUTO_TESTS_f_f.
24552 (tan_test): Use ALL_RM_TEST.
24553 (tan_tonearest_test_data): Remove.
24554 (tan_test_tonearest): Likewise.
24555 (tan_towardzero_test_data): Likewise.
24556 (tan_test_towardzero): Likewise.
24557 (tan_downward_test_data): Likewise.
24558 (tan_test_downward): Likewise.
24559 (tan_upward_test_data): Likewise.
24560 (tan_test_upward): Likewise.
24561 (tanh_test_data): Update call to AUTO_TESTS_f_f.
24562 (tgamma_test_data): Likewise.
24563 (y0_test_data): Likewise.
24564 (y1_test_data): Likewise.
24565 (yn_test_data): Update call to AUTO_TESTS_if_f.
24566 (main): Do not call removed functions.
24567
24568 2014-03-19 Joseph Myers <joseph@codesourcery.com>
24569
24570 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
24571 (ldexp_test_data): Remove.
24572 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
24573 scalbn_test_data.
24574 (scalb_test): Use ALL_RM_TEST.
24575
24576 2014-03-19 Andreas Schwab <schwab@suse.de>
24577
24578 * nscd/nscd.service: Also invalidate netgroup cache on reload.
24579
24580 2014-03-19 Joseph Myers <joseph@codesourcery.com>
24581
24582 [BZ #16649]
24583 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24584 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
24585 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
24586 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24587 (__ASSUME_PREADV): Undefine.
24588 (__ASSUME_PWRITEV): Likewise.
24589
24590 2014-03-18 Roland McGrath <roland@hack.frob.com>
24591
24592 * bits/mman-linux.h: Add comment about non-Linux use.
24593 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
24594 bits/mman-linux.h resting place.
24595
24596 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
24597 * bits/mman-linux.h: ... here.
24598
24599 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24600
24601 * conform/conformtest.pl: Add standard definition when calling C
24602 preprocessor on data files.
24603 (checknamespace): Remove unused variable.
24604
24605 2014-03-18 Joseph Myers <joseph@codesourcery.com>
24606
24607 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
24608 minus_oflow, plus_uflow and minus_uflow in expected results.
24609 * math/libm-test.inc (scalbn_test_data): Add more tests of
24610 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
24611 minus_uflow.
24612 (scalbn_test): Use ALL_RM_TEST.
24613 (scalbln_test_data): Add more tests of negative arguments. Use
24614 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
24615 (scalbln_test): Use ALL_RM_TEST.
24616
24617 2014-03-18 Roland McGrath <roland@hack.frob.com>
24618
24619 * scripts/abilist.awk: Ignore symbols marked with .hidden.
24620
24621 2014-03-18 Will Newton <will.newton@linaro.org>
24622
24623 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
24624 inaccurate comment.
24625
24626 2014-03-18 Joseph Myers <joseph@codesourcery.com>
24627
24628 * Makerules [!subdir] (check-abi): Exit with error status if a
24629 test failed.
24630
24631 2014-03-17 Joseph Myers <joseph@codesourcery.com>
24632
24633 * math/libm-test.inc (nearbyint_test_data): Include all tests used
24634 for rint. Include results for all rounding modes.
24635 (nearbyint_test): Use ALL_RM_TEST.
24636 (rint_test_data): Include all tests used for nearbyint.
24637
24638 2014-03-17 Will Newton <will.newton@linaro.org>
24639
24640 * nptl/sysdeps/pthread/pthread.h: Revert previous
24641 change.
24642
24643 * sysdeps/generic/ldsodefs.h: Revert previous
24644 change.
24645
24646 * libio/genops.c: Revert previous change.
24647 * libio/libioP.h: Likewise.
24648 * stdio-common/vfprintf.c: Likewise.
24649
24650 * sysdeps/generic/math_private.h: Revert previous
24651 change.
24652
24653 * sysdeps/generic/math_private.h: Check whether
24654 HAVE_RM_CTX is defined with #ifdef rather
24655 than #if.
24656
24657 * argp/argp-fmtstream.h: Check whether
24658 __STRICT_ANSI__ is defined with #ifdef rather
24659 than #if.
24660 * argp/argp.h: Likewise.
24661
24662 * libio/genops.c: Check whether
24663 _IO_JUMPS_OFFSET is defined with #ifdef rather
24664 than #if.
24665 * libio/libioP.h: Likewise.
24666 * stdio-common/vfprintf.c: Likewise.
24667
24668 * sysdeps/generic/ldsodefs.h: Check whether
24669 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
24670 than #if.
24671
24672 * nptl/sysdeps/pthread/pthread.h: Check
24673 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
24674 its value.
24675
24676 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
24677
24678 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
24679 setting O_APPEND.
24680 * libio/tst-ftell-active-handler.c (do_append_test): Add a
24681 test case.
24682
24683 [BZ #16680]
24684 * libio/fileops.c (_IO_file_open): Seek to end of file but
24685 don't cache the offset.
24686 (get_file_offset): Remove function.
24687 (do_ftell): Use cached offset when available.
24688 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
24689 don't cache the offset.
24690 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
24691 case.
24692 (do_one_test): Call it.
24693 (do_ftell_test): Fix up expected old offset for a+ mode.
24694 * libio/wfileops.c (do_ftell_wide): Used cached offset when
24695 available.
24696
24697 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
24698 up test status with function return status.
24699 (do_write_test): Likewise.
24700 (do_append_test): Likewise.
24701
24702 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
24703 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
24704 Remove.
24705
24706 2014-03-17 Joseph Myers <joseph@codesourcery.com>
24707
24708 * math/gen-libm-test.pl (parse_args): Handle results specified for
24709 each rounding mode separately.
24710 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
24711 tests and results from lrint_tonearest_test_data,
24712 lrint_towardzero_test_data, lrint_downward_test_data and
24713 lrint_upward_test_data.
24714 (lrint_test): Use ALL_RM_TEST.
24715 (lrint_tonearest_test_data): Remove.
24716 (lrint_test_tonearest): Likewise.
24717 (lrint_towardzero_test_data): Likewise.
24718 (lrint_test_towardzero): Likewise.
24719 (lrint_downward_test_data): Likewise.
24720 (lrint_test_downward): Likewise.
24721 (lrint_upward_test_data): Likewise.
24722 (lrint_test_upward): Likewise.
24723 (llrint_test_data): Merge in per-rounding-mode tests and results
24724 from llrint_tonearest_test_data, llrint_towardzero_test_data,
24725 llrint_downward_test_data and llrint_upward_test_data.
24726 (llrint_test): Use ALL_RM_TEST.
24727 (llrint_tonearest_test_data): Remove.
24728 (llrint_test_tonearest): Likewise.
24729 (llrint_towardzero_test_data): Likewise.
24730 (llrint_test_towardzero): Likewise.
24731 (llrint_downward_test_data): Likewise.
24732 (llrint_test_downward): Likewise.
24733 (llrint_upward_test_data): Likewise.
24734 (llrint_test_upward): Likewise.
24735 (rint_test_data): Merge in per-rounding-mode tests and results
24736 from rint_tonearest_test_data, rint_towardzero_test_data,
24737 rint_downward_test_data and rint_upward_test_data. Add
24738 per-rounding-mode results for tests not in those arrays.
24739 (rint_test): Use ALL_RM_TEST.
24740 (rint_tonearest_test_data): Remove.
24741 (rint_test_tonearest): Likewise.
24742 (rint_towardzero_test_data): Likewise.
24743 (rint_test_towardzero): Likewise.
24744 (rint_downward_test_data): Likewise.
24745 (rint_test_downward): Likewise.
24746 (rint_upward_test_data): Likewise.
24747 (rint_test_upward): Likewise.
24748 (main): Don't call removed functions.
24749
24750 2014-03-14 Roland McGrath <roland@hack.frob.com>
24751
24752 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
24753 "Compiled on ..." crapola. It is anti-useful.
24754
24755 2014-03-14 Joseph Myers <joseph@codesourcery.com>
24756
24757 * scripts/evaluate-test.sh: Handle fourth argument to determine
24758 whether test run should stop on failure.
24759 * Makeconfig (stop-on-test-failure): New variable.
24760 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
24761 $(stop-on-test-failure).
24762 * Makefile (tests): Give a summary of results from testing and
24763 exit with failure status if they include an ERROR or FAIL.
24764 (xtests): Likewise.
24765 * manual/install.texi (Configuring and compiling): Mention
24766 stop-on-test-failure=y.
24767 * INSTALL: Regenerated.
24768
24769 2014-03-14 Roland McGrath <roland@hack.frob.com>
24770
24771 * scripts/versionlist.awk: New file.
24772 * Makerules [$(build-shared) = yes]
24773 (postclean-generated): Add Versions.def, not Versions.def.v and
24774 Versions.def.v.i.
24775 ($(common-objpfx)Versions.def.v.i): Target removed.
24776 ($(common-objpfx)Versions.def): New target.
24777 ($(common-objpfx)Versions.all): Depend on that rather that
24778 $(common-objpfx)Versions.def.v.
24779 * Versions.def: File removed.
24780
24781 * Makeconfig (+gccwarn): Add -Wundef.
24782 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
24783 a dl-sysdep.h breaking its contract.
24784 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
24785 * include/stackinfo.h: New file.
24786 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
24787 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
24788 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
24789 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
24790 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
24791 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
24792 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
24793 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
24794 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
24795 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
24796 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
24797 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
24798 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
24799 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
24800 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
24801
24802 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24803
24804 [BZ #16707]
24805 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
24806 implementation.
24807 * math/libm-test.inc (round_test_data): Add more tests.
24808
24809 [BZ #16706]
24810 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
24811 implementation.
24812 * math/libm-test.inc (nearbyint_test_data): Add more tests.
24813
24814 [BZ #16701]
24815 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
24816 implementation.
24817 * math/libm-test.inc (ceil_test_data): Add more tests.
24818
24819 * math/libm-test.inc (trunc_test_data): Add more tests related to
24820 BZ#16414.
24821
24822 2014-03-14 Roland McGrath <roland@hack.frob.com>
24823
24824 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
24825 with #if rather than #ifdef.
24826 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
24827
24828 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
24829
24830 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
24831 first. Disable AVX-512 GCC support if assembler doesn't support
24832 it.
24833 * sysdeps/x86_64/configure: Regenerated.
24834
24835 2014-03-13 Carlos O'Donell <carlos@redhat.com>
24836
24837 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
24838 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
24839 (__old_pthread_attr_setstack): Likewise.
24840 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
24841 [!_STACK_GROWS_DOWN]: Likewise.
24842
24843 2014-03-13 Mike Frysinger <vapier@gentoo.org>
24844
24845 * config.make.in (have-bash2): Delete.
24846 * configure.ac (libc_cv_have_bash2): Delete.
24847 * configure: Regenerate.
24848 * elf/Makefile (common-ldd-rewrite): Rename to ...
24849 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
24850 (sh-ldd-rewrite): Delete.
24851 (bash-ldd-rewrite): Delete.
24852 (have-bash2): Delete checks.
24853 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
24854 ldd-rewrite.
24855
24856 * config.make.in (have-ksh): Delete.
24857 (KSH): Delete.
24858 * configure.ac (libc_cv_have_ksh): Delete.
24859 * configure: Regenerate.
24860
24861 * elf/Makefile: Delete $(have-ksh) check.
24862 ($(objpfx)sotruss): Change KSH to BASH.
24863 * elf/sotruss.ksh: Rename to ...
24864 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
24865 function style to match POSIX. Drop ksh vim mode setting.
24866
24867 * manual/time.texi (Specifying the Time Zone with TZ): Change
24868 Tuesday to Thursday.
24869
24870 * debug/tst-longjmp_chk2.c: Update header comment.
24871 (stackoverflow_handler): Add comment. Call assert on pass value.
24872
24873 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
24874
24875 [BZ #16194]
24876 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
24877 (HAVE_AVX512_ASM_SUPPORT): Likewise.
24878 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
24879 (La_x86_64_vector): Add zmm.
24880 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
24881 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
24882 ($(objpfx)tst-audit10): New target.
24883 ($(objpfx)tst-audit10.out): Likewise.
24884 (tst-audit10-ENV): New.
24885 (AVX512-CFLAGS): Likewise.
24886 (CFLAGS-tst-audit10.c): Likewise.
24887 (CFLAGS-tst-auditmod10a.c): Likewise.
24888 (CFLAGS-tst-auditmod10b.c): Likewise.
24889 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
24890 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
24891 * sysdeps/x86_64/configure: Regenerated.
24892 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
24893 AVX-512 zmm register support.
24894 (_dl_x86_64_save_sse): Likewise.
24895 (_dl_x86_64_restore_sse): Likewise.
24896 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
24897 size vector registers.
24898 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
24899 (ZMM_SIZE): Likewise.
24900 * sysdeps/x86_64/tst-audit10.c: New file.
24901 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
24902 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
24903
24904 2014-03-13 Roland McGrath <roland@hack.frob.com>
24905
24906 * configure.ac (HAVE_EHDR_START): New check.
24907 * configure: Regenerated.
24908 * config.h.in (HAVE_EHDR_START): New #undef.
24909 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
24910 assuming the lowest-addressed segment maps the start of the file.
24911
24912 2014-03-13 Joseph Myers <joseph@codesourcery.com>
24913
24914 * INSTALL: Regenerated.
24915
24916 2014-03-13 Will Newton <will.newton@linaro.org>
24917
24918 * manual/setjmp.texi (System V contexts): Improve
24919 clarity and grammar of documentation.
24920
24921 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
24922
24923 [BZ #16381]
24924 * elf/Makefile (tests): Add tst-pie2.
24925 (tests-pie): Add tst-pie2.
24926 * elf/tst-pie2.c: New file.
24927 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
24928 for ET_EXEC.
24929 * elf/rtld.c (map_doit): Load executable as lt_executable.
24930 (dl_main): Likewise.
24931
24932 2014-03-12 Joseph Myers <joseph@codesourcery.com>
24933
24934 [BZ #16642]
24935 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24936 (__ASSUME_PSELECT): Undefine.
24937
24938 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24939
24940 [BZ #16689]
24941 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
24942 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
24943 static build.
24944 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
24945 selector for static builds.
24946
24947 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
24948
24949 [BZ #16695]
24950 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
24951 key in the buffer.
24952
24953 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24954
24955 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
24956 IFUNC selector for static builds.
24957
24958 2014-03-11 Joseph Myers <joseph@codesourcery.com>
24959
24960 * sysdeps/mips/math_private.h [__mips_hard_float]
24961 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
24962 libc_feresetround_mips_ctx.
24963 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
24964 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
24965 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
24966
24967 [BZ #16677]
24968 * math/s_nextafter.c (__nextafter): Do not return value from
24969 overflowing computation.
24970 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
24971 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
24972 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
24973 Likewise.
24974 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
24975 Likewise.
24976 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
24977 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
24978
24979 2014-03-11 Roland McGrath <roland@hack.frob.com>
24980
24981 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
24982 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
24983 Move sfi_sp use from the load-multiple (that no longer sets sp) to
24984 the new mov targetting sp.
24985
24986 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24987
24988 [BZ #16683]
24989 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
24990 Define it for static builds as well.
24991 (NO_BZERO_IMPL): Likewise.
24992
24993 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
24994
24995 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
24996 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
24997 multiarch strspn for PPC64.
24998 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
24999 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
25000 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
25001 (__libc_ifunc_impl_list): Likewise.
25002 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
25003 multiarch optimizations
25004 * string/strspn.c (strspn): Using macro to redefine symbol name.
25005
25006 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
25007 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25008
25009 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
25010 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
25011 multiarch strncat for PPC64.
25012 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
25013 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
25014 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
25015 (__libc_ifunc_impl_list): Likewise.
25016 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
25017 multiarch optimizations
25018
25019 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
25020
25021 [BZ #16639]
25022 * nscd/nscd.service: Make service type forking.
25023
25024 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25025
25026 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
25027 sign in non default rounding modes.
25028 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
25029
25030 2014-03-08 Joseph Myers <joseph@codesourcery.com>
25031
25032 * math/libm-test.inc (ALL_RM_TEST): New macro.
25033 (ceil_test): Use ALL_RM_TEST.
25034 (cimag_test): Likewise.
25035 (conj_test): Likewise.
25036 (copysign_test): Likewise.
25037 (cproj_test): Likewise.
25038 (creal_test): Likewise.
25039 (fabs_test): Likewise.
25040 (floor_test): Likewise.
25041 (fmax_test): Likewise.
25042 (fmin_test): Likewise.
25043 (fmod_test): Likewise.
25044 (fpclassify_test): Likewise.
25045 (frexp_test): Likewise.
25046 (ilogb_test): Likewise.
25047 (isfinite_test): Likewise.
25048 (finite_test): Likewise.
25049 (isgreater_test): Likewise.
25050 (isgreaterequal_test): Likewise.
25051 (isinf_test): Likewise.
25052 (isless_test): Likewise.
25053 (islessequal_test): Likewise.
25054 (islessgreater_test): Likewise.
25055 (isnan_test): Likewise.
25056 (isnormal_test): Likewise.
25057 (issignaling_test): Likewise.
25058 (isunordered_test): Likewise.
25059 (logb_test): Likewise.
25060 (logb_downward_test_data): Remove.
25061 (logb_test_downward): Likewise.
25062 (lround_test): Use ALL_RM_TEST.
25063 (llround_test): Likewise.
25064 (modf_test): Likewise.
25065 (nexttoward_test): Likewise.
25066 (remainder_test): Likewise.
25067 (drem_test): Likewise.
25068 (remainder_tonearest_test_data): Likewise.
25069 (remainder_test_tonearest): Likewise.
25070 (drem_test_tonearest): Likewise.
25071 (remainder_towardzero_test_data): Likewise.
25072 (remainder_test_towardzero): Likewise.
25073 (drem_test_towardzero): Likewise.
25074 (remainder_downward_test_data): Likewise.
25075 (remainder_test_downward): Likewise.
25076 (drem_test_downward): Likewise.
25077 (remainder_upward_test_data): Likewise.
25078 (remainder_test_upward): Likewise.
25079 (drem_test_upward): Likewise.
25080 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
25081 (round_test): Use ALL_RM_TEST.
25082 (signbit_test): Likewise.
25083 (trunc_test): Likewise.
25084 (significand_test): Likewise.
25085 (main): Don't call removed functions.
25086
25087 2014-03-07 Joseph Myers <joseph@codesourcery.com>
25088
25089 [BZ #16674]
25090 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
25091 || __USE_XOPEN2K8].
25092 (ILL_ILLOPN): Likewise.
25093 (ILL_ILLADR): Likewise.
25094 (ILL_ILLTRP): Likewise.
25095 (ILL_PRVOPC): Likewise.
25096 (ILL_PRVREG): Likewise.
25097 (ILL_COPROC): Likewise.
25098 (ILL_BADSTK): Likewise.
25099 (FPE_INTDIV): Likewise.
25100 (FPE_INTOVF): Likewise.
25101 (FPE_FLTDIV): Likewise.
25102 (FPE_FLTOVF): Likewise.
25103 (FPE_FLTUND): Likewise.
25104 (FPE_FLTRES): Likewise.
25105 (FPE_FLTINV): Likewise.
25106 (FPE_FLTSUB): Likewise.
25107 (SEGV_MAPERR): Likewise.
25108 (SEGV_ACCERR): Likewise.
25109 (BUS_ADRALN): Likewise.
25110 (BUS_ADRERR): Likewise.
25111 (BUS_OBJERR): Likewise.
25112 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
25113 (TRAP_TRACE): Likewise.
25114 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
25115 __USE_XOPEN2K8].
25116 (CLD_KILLED): Likewise.
25117 (CLD_DUMPED): Likewise.
25118 (CLD_TRAPPED): Likewise.
25119 (CLD_STOPPED): Likewise.
25120 (CLD_CONTINUED): Likewise.
25121 (POLL_IN): Likewise.
25122 (POLL_OUT): Likewise.
25123 (POLL_MSG): Likewise.
25124 (POLL_ERR): Likewise.
25125 (POLL_PRI): Likewise.
25126 (POLL_HUP): Likewise.
25127 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
25128 Likewise.
25129 (ILL_ILLOPN): Likewise.
25130 (ILL_ILLADR): Likewise.
25131 (ILL_ILLTRP): Likewise.
25132 (ILL_PRVOPC): Likewise.
25133 (ILL_PRVREG): Likewise.
25134 (ILL_COPROC): Likewise.
25135 (ILL_BADSTK): Likewise.
25136 (FPE_INTDIV): Likewise.
25137 (FPE_INTOVF): Likewise.
25138 (FPE_FLTDIV): Likewise.
25139 (FPE_FLTOVF): Likewise.
25140 (FPE_FLTUND): Likewise.
25141 (FPE_FLTRES): Likewise.
25142 (FPE_FLTINV): Likewise.
25143 (FPE_FLTSUB): Likewise.
25144 (SEGV_MAPERR): Likewise.
25145 (SEGV_ACCERR): Likewise.
25146 (BUS_ADRALN): Likewise.
25147 (BUS_ADRERR): Likewise.
25148 (BUS_OBJERR): Likewise.
25149 (BUS_MCEERR_AR): Likewise.
25150 (BUS_MCEERR_AO): Likewise.
25151 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
25152 (TRAP_TRACE): Likewise.
25153 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
25154 __USE_XOPEN2K8].
25155 (CLD_KILLED): Likewise.
25156 (CLD_DUMPED): Likewise.
25157 (CLD_TRAPPED): Likewise.
25158 (CLD_STOPPED): Likewise.
25159 (CLD_CONTINUED): Likewise.
25160 (POLL_IN): Likewise.
25161 (POLL_OUT): Likewise.
25162 (POLL_MSG): Likewise.
25163 (POLL_ERR): Likewise.
25164 (POLL_PRI): Likewise.
25165 (POLL_HUP): Likewise.
25166 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
25167 (ILL_ILLOPN): Likewise.
25168 (ILL_ILLADR): Likewise.
25169 (ILL_ILLTRP): Likewise.
25170 (ILL_PRVOPC): Likewise.
25171 (ILL_PRVREG): Likewise.
25172 (ILL_COPROC): Likewise.
25173 (ILL_BADSTK): Likewise.
25174 (FPE_INTDIV): Likewise.
25175 (FPE_INTOVF): Likewise.
25176 (FPE_FLTDIV): Likewise.
25177 (FPE_FLTOVF): Likewise.
25178 (FPE_FLTUND): Likewise.
25179 (FPE_FLTRES): Likewise.
25180 (FPE_FLTINV): Likewise.
25181 (FPE_FLTSUB): Likewise.
25182 (SEGV_MAPERR): Likewise.
25183 (SEGV_ACCERR): Likewise.
25184 (BUS_ADRALN): Likewise.
25185 (BUS_ADRERR): Likewise.
25186 (BUS_OBJERR): Likewise.
25187 (BUS_MCEERR_AR): Likewise.
25188 (BUS_MCEERR_AO): Likewise.
25189 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
25190 (TRAP_TRACE): Likewise.
25191 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
25192 __USE_XOPEN2K8].
25193 (CLD_KILLED): Likewise.
25194 (CLD_DUMPED): Likewise.
25195 (CLD_TRAPPED): Likewise.
25196 (CLD_STOPPED): Likewise.
25197 (CLD_CONTINUED): Likewise.
25198 (POLL_IN): Likewise.
25199 (POLL_OUT): Likewise.
25200 (POLL_MSG): Likewise.
25201 (POLL_ERR): Likewise.
25202 (POLL_PRI): Likewise.
25203 (POLL_HUP): Likewise.
25204 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
25205 Likewise.
25206 (ILL_ILLOPN): Likewise.
25207 (ILL_ILLADR): Likewise.
25208 (ILL_ILLTRP): Likewise.
25209 (ILL_PRVOPC): Likewise.
25210 (ILL_PRVREG): Likewise.
25211 (ILL_COPROC): Likewise.
25212 (ILL_BADSTK): Likewise.
25213 (ILL_BADIADDR): Likewise.
25214 (ILL_BREAK): Likewise.
25215 (FPE_INTDIV): Likewise.
25216 (FPE_INTOVF): Likewise.
25217 (FPE_FLTDIV): Likewise.
25218 (FPE_FLTOVF): Likewise.
25219 (FPE_FLTUND): Likewise.
25220 (FPE_FLTRES): Likewise.
25221 (FPE_FLTINV): Likewise.
25222 (FPE_FLTSUB): Likewise.
25223 (FPE_DECOVF): Likewise.
25224 (FPE_DECDIV): Likewise.
25225 (FPE_DECERR): Likewise.
25226 (FPE_INVASC): Likewise.
25227 (FPE_INVDEC): Likewise.
25228 (SEGV_MAPERR): Likewise.
25229 (SEGV_ACCERR): Likewise.
25230 (SEGV_PSTKOVF): Likewise.
25231 (BUS_ADRALN): Likewise.
25232 (BUS_ADRERR): Likewise.
25233 (BUS_OBJERR): Likewise.
25234 (BUS_MCEERR_AR): Likewise.
25235 (BUS_MCEERR_AO): Likewise.
25236 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
25237 (TRAP_TRACE): Likewise.
25238 (TRAP_BRANCH): Likewise.
25239 (TRAP_HWBKPT): Likewise.
25240 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
25241 __USE_XOPEN2K8].
25242 (CLD_KILLED): Likewise.
25243 (CLD_DUMPED): Likewise.
25244 (CLD_TRAPPED): Likewise.
25245 (CLD_STOPPED): Likewise.
25246 (CLD_CONTINUED): Likewise.
25247 (POLL_IN): Likewise.
25248 (POLL_OUT): Likewise.
25249 (POLL_MSG): Likewise.
25250 (POLL_ERR): Likewise.
25251 (POLL_PRI): Likewise.
25252 (POLL_HUP): Likewise.
25253 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
25254 (ILL_ILLOPN): Likewise.
25255 (ILL_ILLADR): Likewise.
25256 (ILL_ILLTRP): Likewise.
25257 (ILL_PRVOPC): Likewise.
25258 (ILL_PRVREG): Likewise.
25259 (ILL_COPROC): Likewise.
25260 (ILL_BADSTK): Likewise.
25261 (FPE_INTDIV): Likewise.
25262 (FPE_INTOVF): Likewise.
25263 (FPE_FLTDIV): Likewise.
25264 (FPE_FLTOVF): Likewise.
25265 (FPE_FLTUND): Likewise.
25266 (FPE_FLTRES): Likewise.
25267 (FPE_FLTINV): Likewise.
25268 (FPE_FLTSUB): Likewise.
25269 (SEGV_MAPERR): Likewise.
25270 (SEGV_ACCERR): Likewise.
25271 (BUS_ADRALN): Likewise.
25272 (BUS_ADRERR): Likewise.
25273 (BUS_OBJERR): Likewise.
25274 (BUS_MCEERR_AR): Likewise.
25275 (BUS_MCEERR_AO): Likewise.
25276 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
25277 (TRAP_TRACE): Likewise.
25278 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
25279 __USE_XOPEN2K8].
25280 (CLD_KILLED): Likewise.
25281 (CLD_DUMPED): Likewise.
25282 (CLD_TRAPPED): Likewise.
25283 (CLD_STOPPED): Likewise.
25284 (CLD_CONTINUED): Likewise.
25285 (POLL_IN): Likewise.
25286 (POLL_OUT): Likewise.
25287 (POLL_MSG): Likewise.
25288 (POLL_ERR): Likewise.
25289 (POLL_PRI): Likewise.
25290 (POLL_HUP): Likewise.
25291 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
25292 (ILL_ILLOPN): Likewise.
25293 (ILL_ILLADR): Likewise.
25294 (ILL_ILLTRP): Likewise.
25295 (ILL_PRVOPC): Likewise.
25296 (ILL_PRVREG): Likewise.
25297 (ILL_COPROC): Likewise.
25298 (ILL_BADSTK): Likewise.
25299 (FPE_INTDIV): Likewise.
25300 (FPE_INTOVF): Likewise.
25301 (FPE_FLTDIV): Likewise.
25302 (FPE_FLTOVF): Likewise.
25303 (FPE_FLTUND): Likewise.
25304 (FPE_FLTRES): Likewise.
25305 (FPE_FLTINV): Likewise.
25306 (FPE_FLTSUB): Likewise.
25307 (SEGV_MAPERR): Likewise.
25308 (SEGV_ACCERR): Likewise.
25309 (BUS_ADRALN): Likewise.
25310 (BUS_ADRERR): Likewise.
25311 (BUS_OBJERR): Likewise.
25312 (BUS_MCEERR_AR): Likewise.
25313 (BUS_MCEERR_AO): Likewise.
25314 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
25315 (TRAP_TRACE): Likewise.
25316 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
25317 __USE_XOPEN2K8].
25318 (CLD_KILLED): Likewise.
25319 (CLD_DUMPED): Likewise.
25320 (CLD_TRAPPED): Likewise.
25321 (CLD_STOPPED): Likewise.
25322 (CLD_CONTINUED): Likewise.
25323 (POLL_IN): Likewise.
25324 (POLL_OUT): Likewise.
25325 (POLL_MSG): Likewise.
25326 (POLL_ERR): Likewise.
25327 (POLL_PRI): Likewise.
25328 (POLL_HUP): Likewise.
25329 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
25330 (ILL_ILLOPN): Likewise.
25331 (ILL_ILLADR): Likewise.
25332 (ILL_ILLTRP): Likewise.
25333 (ILL_PRVOPC): Likewise.
25334 (ILL_PRVREG): Likewise.
25335 (ILL_COPROC): Likewise.
25336 (ILL_BADSTK): Likewise.
25337 (FPE_INTDIV): Likewise.
25338 (FPE_INTOVF): Likewise.
25339 (FPE_FLTDIV): Likewise.
25340 (FPE_FLTOVF): Likewise.
25341 (FPE_FLTUND): Likewise.
25342 (FPE_FLTRES): Likewise.
25343 (FPE_FLTINV): Likewise.
25344 (FPE_FLTSUB): Likewise.
25345 (SEGV_MAPERR): Likewise.
25346 (SEGV_ACCERR): Likewise.
25347 (BUS_ADRALN): Likewise.
25348 (BUS_ADRERR): Likewise.
25349 (BUS_OBJERR): Likewise.
25350 (BUS_MCEERR_AR): Likewise.
25351 (BUS_MCEERR_AO): Likewise.
25352 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
25353 (TRAP_TRACE): Likewise.
25354 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
25355 __USE_XOPEN2K8].
25356 (CLD_KILLED): Likewise.
25357 (CLD_DUMPED): Likewise.
25358 (CLD_TRAPPED): Likewise.
25359 (CLD_STOPPED): Likewise.
25360 (CLD_CONTINUED): Likewise.
25361 (POLL_IN): Likewise.
25362 (POLL_OUT): Likewise.
25363 (POLL_MSG): Likewise.
25364 (POLL_ERR): Likewise.
25365 (POLL_PRI): Likewise.
25366 (POLL_HUP): Likewise.
25367 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
25368 (ILL_ILLOPN): Likewise.
25369 (ILL_ILLADR): Likewise.
25370 (ILL_ILLTRP): Likewise.
25371 (ILL_PRVOPC): Likewise.
25372 (ILL_PRVREG): Likewise.
25373 (ILL_COPROC): Likewise.
25374 (ILL_BADSTK): Likewise.
25375 (ILL_DBLFLT): Likewise.
25376 (ILL_HARDWALL): Likewise.
25377 (FPE_INTDIV): Likewise.
25378 (FPE_INTOVF): Likewise.
25379 (FPE_FLTDIV): Likewise.
25380 (FPE_FLTOVF): Likewise.
25381 (FPE_FLTUND): Likewise.
25382 (FPE_FLTRES): Likewise.
25383 (FPE_FLTINV): Likewise.
25384 (FPE_FLTSUB): Likewise.
25385 (SEGV_MAPERR): Likewise.
25386 (SEGV_ACCERR): Likewise.
25387 (BUS_ADRALN): Likewise.
25388 (BUS_ADRERR): Likewise.
25389 (BUS_OBJERR): Likewise.
25390 (BUS_MCEERR_AR): Likewise.
25391 (BUS_MCEERR_AO): Likewise.
25392 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
25393 (TRAP_TRACE): Likewise.
25394 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
25395 __USE_XOPEN2K8].
25396 (CLD_KILLED): Likewise.
25397 (CLD_DUMPED): Likewise.
25398 (CLD_TRAPPED): Likewise.
25399 (CLD_STOPPED): Likewise.
25400 (CLD_CONTINUED): Likewise.
25401 (POLL_IN): Likewise.
25402 (POLL_OUT): Likewise.
25403 (POLL_MSG): Likewise.
25404 (POLL_ERR): Likewise.
25405 (POLL_PRI): Likewise.
25406 (POLL_HUP): Likewise.
25407 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
25408 (ILL_ILLOPN): Likewise.
25409 (ILL_ILLADR): Likewise.
25410 (ILL_ILLTRP): Likewise.
25411 (ILL_PRVOPC): Likewise.
25412 (ILL_PRVREG): Likewise.
25413 (ILL_COPROC): Likewise.
25414 (ILL_BADSTK): Likewise.
25415 (FPE_INTDIV): Likewise.
25416 (FPE_INTOVF): Likewise.
25417 (FPE_FLTDIV): Likewise.
25418 (FPE_FLTOVF): Likewise.
25419 (FPE_FLTUND): Likewise.
25420 (FPE_FLTRES): Likewise.
25421 (FPE_FLTINV): Likewise.
25422 (FPE_FLTSUB): Likewise.
25423 (SEGV_MAPERR): Likewise.
25424 (SEGV_ACCERR): Likewise.
25425 (BUS_ADRALN): Likewise.
25426 (BUS_ADRERR): Likewise.
25427 (BUS_OBJERR): Likewise.
25428 (BUS_MCEERR_AR): Likewise.
25429 (BUS_MCEERR_AO): Likewise.
25430 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
25431 (TRAP_TRACE): Likewise.
25432 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
25433 __USE_XOPEN2K8].
25434 (CLD_KILLED): Likewise.
25435 (CLD_DUMPED): Likewise.
25436 (CLD_TRAPPED): Likewise.
25437 (CLD_STOPPED): Likewise.
25438 (CLD_CONTINUED): Likewise.
25439 (POLL_IN): Likewise.
25440 (POLL_OUT): Likewise.
25441 (POLL_MSG): Likewise.
25442 (POLL_ERR): Likewise.
25443 (POLL_PRI): Likewise.
25444 (POLL_HUP): Likewise.
25445 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
25446 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
25447
25448 [BZ #16670]
25449 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
25450 before #include of <time.h>.
25451 [!__USE_XOPEN2K] (__need_timespec): Likewise.
25452 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
25453 (test-xfail-UNIX98/sched.h/conform): Likewise.
25454
25455 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
25456
25457 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
25458 error absence of trapping exception support.
25459 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
25460
25461 2014-03-07 Joseph Myers <joseph@codesourcery.com>
25462
25463 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
25464 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
25465 * timezone/Makefile (testdata): Move definition above include of
25466 Rules.
25467 (test-zones): New variable.
25468 (tests-special): Add zone files.
25469 (build-testdata): Use $(evaluate-test).
25470
25471 * elf/Makefile (tests-special): Rename tests to end with .out.
25472 ($(objpfx)noload-mem): Likewise.
25473 ($(objpfx)tst-leaks1-mem): Likewise.
25474 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
25475 * iconv/Makefile (xtests-special): Change test-iconvconfig to
25476 $(objpfx)test-iconvconfig.out.
25477 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
25478 set -e inside subshell and redirect output to file.
25479 * iconvdata/Makefile (generated): Rename tests to end with .out.
25480 Correct type.
25481 (tests-special): Rename tests to end with .out.
25482 ($(objpfx)mtrace-tst-loading): Likewise.
25483 * intl/Makefile (generated): Likewise.
25484 (tests-special): Likewise.
25485 ($(objpfx)mtrace-tst-gettext): Likewise.
25486 * misc/Makefile (generated): Likewise.
25487 (tests-special): Likewise.
25488 ($(objpfx)tst-error1-mem): Likewise.
25489 * nptl/Makefile (tests-special): Likewise.
25490 ($(objpfx)tst-stack3-mem): Likewise.
25491 (generated): Likewise.
25492 * posix/Makefile (generated): Likewise.
25493 (tests-special): Likewise.
25494 (xtests-special): Likewise.
25495 ($(objpfx)tst-fnmatch-mem): Likewise.
25496 ($(objpfx)bug-regex2-mem): Likewise.
25497 ($(objpfx)bug-regex14-mem): Likewise.
25498 ($(objpfx)bug-regex21-mem): Likewise.
25499 ($(objpfx)bug-regex31-mem): Likewise.
25500 ($(objpfx)tst-vfork3-mem): Likewise.
25501 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
25502 ($(objpfx)tst-pcre-mem): Likewise.
25503 ($(objpfx)tst-boost-mem): Likewise.
25504 ($(objpfx)bug-ga2-mem): Likewise.
25505 ($(objpfx)bug-glob2-mem): Likewise.
25506 * resolv/Makefile (generate): Likewise.
25507 (tests-special): Likewise.
25508 (xtests-special): Likewise.
25509 (generated): Likewise.
25510 ($(objpfx)mtrace-tst-leaks): Likewise.
25511 ($(objpfx)mtrace-tst-leaks2): Likewise.
25512
25513 * scripts/merge-test-results.sh: New file.
25514 * Makefile (tests-special-notdir): New variable.
25515 (tests): Run merge-test-results.sh.
25516 (xtests): Likewise.
25517 * Rules (tests-special-notdir): New variable.
25518 (xtests-special-notdir): Likewise.
25519 (tests): Run merge-test-results.sh
25520 (xtests): Likewise.
25521
25522 * Makeconfig (test-xfail-name): New variable.
25523 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
25524 compute variable name for expected failures.
25525 * conform/Makefile (conformtest-headers-data): New variable.
25526 (conformtest-standards): Likewise.
25527 (conformtest-headers-ISO): Likewise.
25528 (conformtest-headers-ISO99): Likewise.
25529 (conformtest-headers-ISO11): Likewise.
25530 (conformtest-headers-POSIX): Likewise.
25531 (conformtest-headers-XPG3): Likewise.
25532 (conformtest-headers-XPG4): Likewise.
25533 (conformtest-headers-UNIX98): Likewise.
25534 (conformtest-headers-XOPEN2K): Likewise.
25535 (conformtest-headers-POSIX2008): Likewise.
25536 (conformtest-headers-XOPEN2K8): Likewise.
25537 (conformtest-header-list-base): Likewise.
25538 (conformtest-header-list-tests): Likewise.
25539 (conformtest-header-base): Likewise.
25540 (conformtest-header-tests): Likewise.
25541 (tests-special): Add $(conformtest-header-list-tests). If
25542 [$(fast-check) && !$(cross-compiling)], add
25543 $(conformtest-header-tests) instead of
25544 $(objpfx)run-conformtest.out.
25545 (generated): Add $(conformtest-header-list-base). If
25546 [$(fast-check) && !$(cross-compiling)], add
25547 $(conformtest-header-base). Remove previous setting.
25548 ($(conformtest-header-list-tests)): New target.
25549 (test-xfail-run-conformtest): Remove variable.
25550 ($(objpfx)run-conformtest.out): Remove target.
25551 (test-xfail-ISO11/complex.h/conform): New variable.
25552 (test-xfail-ISO11/stdalign.h/conform): Likewise.
25553 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
25554 (test-xfail-XPG3/varargs.h/conform): Likewise.
25555 (test-xfail-XPG4/varargs.h/conform): Likewise.
25556 (test-xfail-UNIX98/varargs.h/conform): Likewise.
25557 (test-xfail-XPG4/ndbm.h/conform): Likewise.
25558 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
25559 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
25560 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
25561 (test-xfail-XPG3/fcntl.h/conform): Likewise.
25562 (test-xfail-XPG3/ftw.h/conform): Likewise.
25563 (test-xfail-XPG3/grp.h/conform): Likewise.
25564 (test-xfail-XPG3/langinfo.h/conform): Likewise.
25565 (test-xfail-XPG3/limits.h/conform): Likewise.
25566 (test-xfail-XPG3/pwd.h/conform): Likewise.
25567 (test-xfail-XPG3/search.h/conform): Likewise.
25568 (test-xfail-XPG3/signal.h/conform): Likewise.
25569 (test-xfail-XPG3/stdio.h/conform): Likewise.
25570 (test-xfail-XPG3/stdlib.h/conform): Likewise.
25571 (test-xfail-XPG3/string.h/conform): Likewise.
25572 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
25573 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
25574 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
25575 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
25576 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
25577 (test-xfail-XPG3/sys/types.h/conform): Likewise.
25578 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
25579 (test-xfail-XPG3/termios.h/conform): Likewise.
25580 (test-xfail-XPG3/time.h/conform): Likewise.
25581 (test-xfail-XPG3/unistd.h/conform): Likewise.
25582 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
25583 (test-xfail-XPG4/fcntl.h/conform): Likewise.
25584 (test-xfail-XPG4/langinfo.h/conform): Likewise.
25585 (test-xfail-XPG4/netdb.h/conform): Likewise.
25586 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
25587 (test-xfail-XPG4/signal.h/conform): Likewise.
25588 (test-xfail-XPG4/stdio.h/conform): Likewise.
25589 (test-xfail-XPG4/stdlib.h/conform): Likewise.
25590 (test-xfail-XPG4/stropts.h/conform): Likewise.
25591 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
25592 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
25593 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
25594 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
25595 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
25596 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
25597 (test-xfail-XPG4/sys/time.h/conform): Likewise.
25598 (test-xfail-XPG4/sys/types.h/conform): Likewise.
25599 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
25600 (test-xfail-XPG4/termios.h/conform): Likewise.
25601 (test-xfail-XPG4/ucontext.h/conform): Likewise.
25602 (test-xfail-XPG4/unistd.h/conform): Likewise.
25603 (test-xfail-XPG4/utmpx.h/conform): Likewise.
25604 (test-xfail-POSIX/sched.h/conform): Likewise.
25605 (test-xfail-POSIX/signal.h/conform): Likewise.
25606 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
25607 (test-xfail-POSIX/tar.h/conform): Likewise.
25608 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
25609 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
25610 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
25611 (test-xfail-UNIX98/netdb.h/conform): Likewise.
25612 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
25613 (test-xfail-UNIX98/sched.h/conform): Likewise.
25614 (test-xfail-UNIX98/signal.h/conform): Likewise.
25615 (test-xfail-UNIX98/stdio.h/conform): Likewise.
25616 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
25617 (test-xfail-UNIX98/stropts.h/conform): Likewise.
25618 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
25619 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
25620 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
25621 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
25622 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
25623 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
25624 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
25625 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
25626 (test-xfail-UNIX98/unistd.h/conform): Likewise.
25627 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
25628 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
25629 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
25630 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
25631 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
25632 (test-xfail-XOPEN2K/math.h/conform): Likewise.
25633 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
25634 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
25635 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
25636 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
25637 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
25638 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
25639 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
25640 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
25641 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
25642 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
25643 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
25644 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
25645 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
25646 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
25647 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
25648 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
25649 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
25650 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
25651 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
25652 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
25653 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
25654 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
25655 (test-xfail-POSIX2008/signal.h/conform): Likewise.
25656 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
25657 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
25658 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
25659 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
25660 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
25661 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
25662 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
25663 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
25664 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
25665 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
25666 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
25667 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
25668 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
25669 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
25670 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
25671 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
25672 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
25673 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
25674 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
25675 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
25676 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
25677 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
25678 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
25679 (conformtest-cc-flags): Likewise.
25680 ($(conformtest-header-tests): New target.
25681 * conform/check-header-lists.sh: New file.
25682 * conform/run-conformtest.sh: Remove.
25683
25684 * conform/conformtest.pl: Allow ' and \ in values given for
25685 constants.
25686 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
25687 inclusion.
25688 [POSIX] (sys/types.h): Likewise.
25689 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
25690 inclusion.
25691 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
25692 inclusion.
25693 * conform/data/signal.h-data (SIGIO): Remove expectation.
25694 [XPG3] (SIGBUS): Do not expect.
25695 [POSIX || XPG3] (SIGPOLL): Likewise.
25696 [POSIX || XPG3] (SIGPROF): Likewise.
25697 [POSIX || XPG3] (SIGSYS): Likewise.
25698 [XPG3] (SIGTRAP): Likewise.
25699 [POSIX || XPG3] (SIGURG): Likewise.
25700 [POSIX || XPG3] (SIGVTALRM): Likewise.
25701 [POSIX || XPG3] (SIGXCPU): Likewise.
25702 [POSIX || XPG3] (SIGXFSZ): Likewise.
25703 [POSIX] (SA_SIGINFO): Expect.
25704 [XPG3] (siginfo_t): Do not expect type or contents.
25705 [POSIX] (si_pid): Do not expect element.
25706 [POSIX] (si_uid): Likewise.
25707 [POSIX] (si_addr): Likewise.
25708 [POSIX] (si_status): Likewise.
25709 [POSIX] (si_band): Likewise.
25710 [XPG4] (si_value): Likewise.
25711 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
25712 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
25713 [POSIX || XPG3] (ILL_ILLADR): Likewise.
25714 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
25715 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
25716 [POSIX || XPG3] (ILL_PRVREG): Likewise.
25717 [POSIX || XPG3] (ILL_COPROC): Likewise.
25718 [POSIX || XPG3] (ILL_BADSTK): Likewise.
25719 [POSIX || XPG3] (FPE_INTDIV): Likewise.
25720 [POSIX || XPG3] (FPE_INTOVF): Likewise.
25721 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
25722 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
25723 [POSIX || XPG3] (FPE_FLTUND): Likewise.
25724 [POSIX || XPG3] (FPE_FLTRES): Likewise.
25725 [POSIX || XPG3] (FPE_FLTINV): Likewise.
25726 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
25727 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
25728 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
25729 [POSIX || XPG3] (BUS_ADRALN): Likewise.
25730 [POSIX || XPG3] (BUS_ADRERR): Likewise.
25731 [POSIX || XPG3] (BUS_OBJERR): Likewise.
25732 [POSIX || XPG3] (CLD_EXITED): Likewise.
25733 [POSIX || XPG3] (CLD_KILLED): Likewise.
25734 [POSIX || XPG3] (CLD_DUMPED): Likewise.
25735 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
25736 [POSIX || XPG3] (CLD_STOPPED): Likewise.
25737 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
25738 [POSIX || XPG3] (POLL_IN): Likewise.
25739 [POSIX || XPG3] (POLL_OUT): Likewise.
25740 [POSIX || XPG3] (POLL_MSG): Likewise.
25741 [POSIX || XPG3] (POLL_ERR): Likewise.
25742 [POSIX || XPG3] (POLL_PRI): Likewise.
25743 [POSIX || XPG3] (POLL_HUP): Likewise.
25744 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
25745 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
25746 (SIG*): Do not allow.
25747 [XPG3] (si_*): Likewise.
25748 [XPG3] (SI_*): Likewise.
25749 [XPG3 || XPG4] (sigev_*): Likewise.
25750 [XPG3 || XPG4] (SIGEV_*): Likewise.
25751 [XPG3 || XPG4] (sival_*): Likewise.
25752 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
25753 [POSIX || XPG3] (BUS_*): Likewise.
25754 [POSIX || XPG3] (CLD_*): Likewise.
25755 [POSIX || XPG3] (FPE_*): Likewise.
25756 [POSIX || XPG3] (ILL_*): Likewise.
25757 [POSIX || XPG3] (POLL_*): Likewise.
25758 [POSIX || XPG3] (SEGV_*): Likewise.
25759 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
25760 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
25761 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
25762 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
25763 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
25764 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
25765 Specify type and value.
25766 (TVERSLEN): Likewise.
25767 (REGTYPE): Likewise.
25768 (AREGTYPE): Likewise.
25769 (LNKTYPE): Likewise.
25770 (SYMTYPE): Likewise.
25771 (CHRTYPE): Likewise.
25772 (BLKTYPE): Likewise.
25773 (DIRTYPE): Likewise.
25774 (FIFOTYPE): Likewise.
25775 (CONTTYPE): Likewise.
25776 (TSUID): Likewise.
25777 (TSGID): Likewise.
25778 (TSVTX): Likewise.
25779 (TUREAD): Likewise.
25780 (TUWRITE): Likewise.
25781 (TUEXEC): Likewise.
25782 (TGREAD): Likewise.
25783 (TGWRITE): Likewise.
25784 (TGEXEC): Likewise.
25785 (TOREAD): Likewise.
25786 (TOWRITE): Likewise.
25787 (TOEXEC): Likewise.
25788 [POSIX] (TSVTX): Expect constant.
25789
25790 2014-03-06 Joseph Myers <joseph@codesourcery.com>
25791
25792 * Makefile (tests): Change dependencies to ....
25793 (tests-special): ... additions to this variable.
25794 (tests): Depend on $(tests-special).
25795 * Makerules (check-abi-list): New variable.
25796 (check-abi): Depend on $(check-abi-list).
25797 [$(subdir) = elf] (tests-special): Add
25798 $(objpfx)check-abi-libc.out.
25799 [$(build-shared) = yes && subdir] (tests-special): Add
25800 $(check-abi-list).
25801 [$(build-shared) = yes && subdir] (tests): Do not depend on
25802 check-abi.
25803 * Rules (tests): Depend on $(tests-special).
25804 (xtests): Depend on $(xtests-special).
25805 * catgets/Makefile (tests): Change dependencies to ....
25806 (tests-special): ... additions to this variable.
25807 * conform/Makefile (tests): Change dependencies to ....
25808 (tests-special): ... additions to this variable.
25809 * elf/Makefile (tests): Change dependencies to ....
25810 (tests-special): ... additions to this variable.
25811 * grp/Makefile (tests): Change dependencies to ....
25812 (tests-special): ... additions to this variable.
25813 * iconv/Makefile (xtests): Change dependencies to ....
25814 (xtests-special): ... additions to this variable.
25815 * iconvdata/Makefile (tests): Change dependencies to ....
25816 (tests-special): ... additions to this variable.
25817 * intl/Makefile (tests): Change dependencies to ....
25818 (tests-special): ... additions to this variable. Also add
25819 $(objpfx)tst-gettext.out.
25820 * io/Makefile (tests): Change dependencies to ....
25821 (tests-special): ... additions to this variable.
25822 * libio/Makefile (tests): Change dependencies to ....
25823 (tests-special): ... additions to this variable.
25824 * malloc/Makefile (tests): Change dependencies to ....
25825 (tests-special): ... additions to this variable.
25826 * misc/Makefile (tests): Change dependencies to ....
25827 (tests-special): ... additions to this variable.
25828 * nptl/Makefile (tests): Change dependencies to ....
25829 (tests-special): ... additions to this variable.
25830 * nptl_db/Makefile (tests): Change dependencies to ....
25831 (tests-special): ... additions to this variable.
25832 * posix/Makefile (tests): Change dependencies to ....
25833 (tests-special): ... additions to this variable.
25834 (xtests): Change dependencies to ....
25835 (xtests-special): ... additions to this variable.
25836 * resolv/Makefile (tests): Change dependencies to ....
25837 (tests-special): ... additions to this variable.
25838 (xtests): Change dependencies to ....
25839 (xtests-special): ... additions to this variable.
25840 * stdio-common/Makefile (tests): Change dependencies to ....
25841 (tests-special): ... additions to this variable.
25842 (do-tst-unbputc): Remove target.
25843 (do-tst-printf): Likewise.
25844 * stdlib/Makefile (tests): Change dependencies to ....
25845 (tests-special): ... additions to this variable.
25846 * string/Makefile (tests): Change dependencies to ....
25847 (tests-special): ... additions to this variable.
25848 * sysdeps/x86/Makefile (tests): Change dependencies to ....
25849 (tests-special): ... additions to this variable.
25850
25851 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
25852 whole file.
25853 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
25854 whole file.
25855 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
25856 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
25857
25858 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
25859 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
25860 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
25861 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
25862 * conform/data/libgen.h-data [XPG3]: Likewise.
25863 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
25864 * conform/data/ndbm.h-data [XPG3]: Likewise.
25865 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
25866 * conform/data/netdb.h-data [XPG3]: Likewise.
25867 * conform/data/netinet/in.h-data [XPG3]: Likewise.
25868 * conform/data/poll.h-data [XPG3]: Likewise.
25869 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
25870 * conform/data/strings.h-data [XPG3]: Likewise.
25871 * conform/data/stropts.h-data [XPG3]: Likewise.
25872 * conform/data/sys/mman.h-data [XPG3]: Likewise.
25873 * conform/data/sys/resource.h-data [XPG3]: Likewise.
25874 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
25875 Likewise.
25876 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
25877 * conform/data/sys/time.h-data [XPG3]: Likewise.
25878 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
25879 * conform/data/sys/uio.h-data [XPG3]: Likewise.
25880 * conform/data/sys/un.h-data [XPG3]: Likewise.
25881 * conform/data/syslog.h-data [XPG3]: Likewise.
25882 * conform/data/ucontext.h-data [XPG3]: Likewise.
25883 * conform/data/utmpx.h-data [XPG3]: Likewise.
25884 * conform/data/varargs.h-data [UNIX98]: Enable file.
25885
25886 * manual/Makefile (INSTALL_INFO): Remove variable setting.
25887
25888 * math/libm-test.inc (struct test_f_f_data): Move expected results
25889 into structure for each rounding mode.
25890 (struct test_ff_f_data): Likewise.
25891 (struct test_ff_f_data_nexttoward): Likewise.
25892 (struct test_fi_f_data): Likewise.
25893 (struct test_fl_f_data): Likewise.
25894 (struct test_if_f_data): Likewise.
25895 (struct test_fff_f_data): Likewise.
25896 (struct test_c_f_data): Likewise.
25897 (struct test_f_f1_data): Likewise.
25898 (struct test_fF_f1_data): Likewise.
25899 (struct test_ffI_f1_data): Likewise.
25900 (struct test_c_c_data): Likewise.
25901 (struct test_cc_c_data): Likewise.
25902 (struct test_f_i_data): Likewise.
25903 (struct test_ff_i_data): Likewise.
25904 (struct test_f_l_data): Likewise.
25905 (struct test_f_L_data): Likewise.
25906 (struct test_fFF_11_data): Likewise.
25907 (RM_): New macro.
25908 (RM_FE_DOWNWARD): Likewise.
25909 (RM_FE_TONEAREST): Likewise.
25910 (RM_FE_TOWARDZERO): Likewise.
25911 (RM_FE_UPWARD): Likewise.
25912 (RUN_TEST_LOOP_f_f): Update references to expected results.
25913 (RUN_TEST_LOOP_2_f): Likewise.
25914 (RUN_TEST_LOOP_fff_f): Likewise.
25915 (RUN_TEST_LOOP_c_f): Likewise.
25916 (RUN_TEST_LOOP_f_f1): Likewise.
25917 (RUN_TEST_LOOP_fF_f1): Likewise.
25918 (RUN_TEST_LOOP_fI_f1): Likewise.
25919 (RUN_TEST_LOOP_ffI_f1): Likewise.
25920 (RUN_TEST_LOOP_c_c): Likewise.
25921 (RUN_TEST_LOOP_cc_c): Likewise.
25922 (RUN_TEST_LOOP_f_i): Likewise.
25923 (RUN_TEST_LOOP_f_i_tg): Likewise.
25924 (RUN_TEST_LOOP_ff_i_tg): Likewise.
25925 (RUN_TEST_LOOP_f_b): Likewise.
25926 (RUN_TEST_LOOP_f_b_tg): Likewise.
25927 (RUN_TEST_LOOP_f_l): Likewise.
25928 (RUN_TEST_LOOP_f_L): Likewise.
25929 (RUN_TEST_LOOP_fFF_11): Likewise.
25930 * math/gen-libm-test.pl (parse_args): Output four copies of
25931 expected results for each test.
25932
25933 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
25934 (__ASSUME_UTIMES): Remove.
25935 * sysdeps/unix/sysv/linux/tile/kernel-features.h
25936 (__ASSUME_UTIMES): Likewise.
25937
25938 * math/gen-auto-libm-tests.c: Update comment on output format.
25939 (output_for_one_input_case): Generate before-rounding and
25940 after-rounding information as conditions on output flags not
25941 floating-point format.
25942 * math/auto-libm-test-out: Regenerated.
25943 * math/gen-libm-test.pl (cond_value): New function.
25944 (or_cond_value): Use cond_value.
25945 (generate_testfile): Handle conditional exceptions.
25946
25947 2014-03-05 Joseph Myers <joseph@codesourcery.com>
25948
25949 * math/libm-test.inc (max_valid_error): New variable.
25950 (init_max_error): Take new argument specifying whether function
25951 results are exactly determined. Set max_valid_error and bound
25952 other variables for errors based on this argument.
25953 (set_max_error): Do not record results above max_valid_error.
25954 (check_float_internal): Only accept errors of up to 0.5ulps if
25955 also at most max_valid_error.
25956 (START): Take new argument EXACT and pass it to init_max_error.
25957 (acos_test): Update call to START.
25958 (acos_test_tonearest): Likewise.
25959 (acos_test_towardzero): Likewise.
25960 (acos_test_downward): Likewise.
25961 (acos_test_upward): Likewise.
25962 (acosh_test): Likewise.
25963 (asin_test): Likewise.
25964 (asin_test_tonearest): Likewise.
25965 (asin_test_towardzero): Likewise.
25966 (asin_test_downward): Likewise.
25967 (asin_test_upward): Likewise.
25968 (asinh_test): Likewise.
25969 (atan_test): Likewise.
25970 (atanh_test): Likewise.
25971 (atan2_test): Likewise.
25972 (cabs_test): Likewise.
25973 (cacos_test): Likewise.
25974 (cacosh_test): Likewise.
25975 (carg_test): Likewise.
25976 (casin_test): Likewise.
25977 (casinh_test): Likewise.
25978 (catan_test): Likewise.
25979 (catanh_test): Likewise.
25980 (cbrt_test): Likewise.
25981 (ccos_test): Likewise.
25982 (ccosh_test): Likewise.
25983 (ceil_test): Likewise.
25984 (cexp_test): Likewise.
25985 (cimag_test): Likewise.
25986 (clog_test): Likewise.
25987 (clog10_test): Likewise.
25988 (conj_test): Likewise.
25989 (copysign_test): Likewise.
25990 (cos_test): Likewise.
25991 (cos_test_tonearest): Likewise.
25992 (cos_test_towardzero): Likewise.
25993 (cos_test_downward): Likewise.
25994 (cos_test_upward): Likewise.
25995 (cosh_test): Likewise.
25996 (cosh_test_tonearest): Likewise.
25997 (cosh_test_towardzero): Likewise.
25998 (cosh_test_downward): Likewise.
25999 (cosh_test_upward): Likewise.
26000 (cpow_test): Likewise.
26001 (cproj_test): Likewise.
26002 (creal_test): Likewise.
26003 (csin_test): Likewise.
26004 (csinh_test): Likewise.
26005 (csqrt_test): Likewise.
26006 (ctan_test): Likewise.
26007 (ctan_test_tonearest): Likewise.
26008 (ctan_test_towardzero): Likewise.
26009 (ctan_test_downward): Likewise.
26010 (ctan_test_upward): Likewise.
26011 (ctanh_test): Likewise.
26012 (ctanh_test_tonearest): Likewise.
26013 (ctanh_test_towardzero): Likewise.
26014 (ctanh_test_downward): Likewise.
26015 (ctanh_test_upward): Likewise.
26016 (erf_test): Likewise.
26017 (erfc_test): Likewise.
26018 (exp_test): Likewise.
26019 (exp_test_tonearest): Likewise.
26020 (exp_test_towardzero): Likewise.
26021 (exp_test_downward): Likewise.
26022 (exp_test_upward): Likewise.
26023 (exp10_test): Likewise.
26024 (exp10_test_tonearest): Likewise.
26025 (exp10_test_towardzero): Likewise.
26026 (exp10_test_downward): Likewise.
26027 (exp10_test_upward): Likewise.
26028 (pow10_test): Likewise.
26029 (exp2_test): Likewise.
26030 (expm1_test): Likewise.
26031 (expm1_test_tonearest): Likewise.
26032 (expm1_test_towardzero): Likewise.
26033 (expm1_test_downward): Likewise.
26034 (expm1_test_upward): Likewise.
26035 (fabs_test): Likewise.
26036 (fdim_test): Likewise.
26037 (floor_test): Likewise.
26038 (fma_test): Likewise.
26039 (fma_test_towardzero): Likewise.
26040 (fma_test_downward): Likewise.
26041 (fma_test_upward): Likewise.
26042 (fmax_test): Likewise.
26043 (fmin_test): Likewise.
26044 (fmod_test): Likewise.
26045 (fpclassify_test): Likewise.
26046 (frexp_test): Likewise.
26047 (hypot_test): Likewise.
26048 (ilogb_test): Likewise.
26049 (isfinite_test): Likewise.
26050 (finite_test): Likewise.
26051 (isgreater_test): Likewise.
26052 (isgreaterequal_test): Likewise.
26053 (isinf_test): Likewise.
26054 (isless_test): Likewise.
26055 (islessequal_test): Likewise.
26056 (islessgreater_test): Likewise.
26057 (isnan_test): Likewise.
26058 (isnormal_test): Likewise.
26059 (issignaling_test): Likewise.
26060 (isunordered_test): Likewise.
26061 (j0_test): Likewise.
26062 (j1_test): Likewise.
26063 (jn_test): Likewise.
26064 (ldexp_test): Likewise.
26065 (lgamma_test): Likewise.
26066 (gamma_test): Likewise.
26067 (lrint_test): Likewise.
26068 (lrint_test_tonearest): Likewise.
26069 (lrint_test_towardzero): Likewise.
26070 (lrint_test_downward): Likewise.
26071 (lrint_test_upward): Likewise.
26072 (llrint_test): Likewise.
26073 (llrint_test_tonearest): Likewise.
26074 (llrint_test_towardzero): Likewise.
26075 (llrint_test_downward): Likewise.
26076 (llrint_test_upward): Likewise.
26077 (log_test): Likewise.
26078 (log10_test): Likewise.
26079 (log1p_test): Likewise.
26080 (log2_test): Likewise.
26081 (logb_test): Likewise.
26082 (logb_test_downward): Likewise.
26083 (lround_test): Likewise.
26084 (llround_test): Likewise.
26085 (modf_test): Likewise.
26086 (nearbyint_test): Likewise.
26087 (nextafter_test): Likewise.
26088 (nexttoward_test): Likewise.
26089 (pow_test): Likewise.
26090 (pow_test_tonearest): Likewise.
26091 (pow_test_towardzero): Likewise.
26092 (pow_test_downward): Likewise.
26093 (pow_test_upward): Likewise.
26094 (remainder_test): Likewise.
26095 (drem_test): Likewise.
26096 (remainder_test_tonearest): Likewise.
26097 (drem_test_tonearest): Likewise.
26098 (remainder_test_towardzero): Likewise.
26099 (drem_test_towardzero): Likewise.
26100 (remainder_test_downward): Likewise.
26101 (drem_test_downward): Likewise.
26102 (remainder_test_upward): Likewise.
26103 (drem_test_upward): Likewise.
26104 (remquo_test): Likewise.
26105 (rint_test): Likewise.
26106 (rint_test_tonearest): Likewise.
26107 (rint_test_towardzero): Likewise.
26108 (rint_test_downward): Likewise.
26109 (rint_test_upward): Likewise.
26110 (round_test): Likewise.
26111 (scalb_test): Likewise.
26112 (scalbn_test): Likewise.
26113 (scalbln_test): Likewise.
26114 (signbit_test): Likewise.
26115 (sin_test): Likewise.
26116 (sin_test_tonearest): Likewise.
26117 (sin_test_towardzero): Likewise.
26118 (sin_test_downward): Likewise.
26119 (sin_test_upward): Likewise.
26120 (sincos_test): Likewise.
26121 (sinh_test): Likewise.
26122 (sinh_test_tonearest): Likewise.
26123 (sinh_test_towardzero): Likewise.
26124 (sinh_test_downward): Likewise.
26125 (sinh_test_upward): Likewise.
26126 (sqrt_test): Likewise.
26127 (sqrt_test_tonearest): Likewise.
26128 (sqrt_test_towardzero): Likewise.
26129 (sqrt_test_downward): Likewise.
26130 (sqrt_test_upward): Likewise.
26131 (tan_test): Likewise.
26132 (tan_test_tonearest): Likewise.
26133 (tan_test_towardzero): Likewise.
26134 (tan_test_downward): Likewise.
26135 (tan_test_upward): Likewise.
26136 (tanh_test): Likewise.
26137 (tgamma_test): Likewise.
26138 (trunc_test): Likewise.
26139 (y0_test): Likewise.
26140 (y1_test): Likewise.
26141 (yn_test): Likewise.
26142 (significand_test): Likewise.
26143
26144 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
26145 individual tests in comment.
26146 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
26147 (prev_max_error): New variable.
26148 (prev_real_max_error): Likewise.
26149 (prev_imag_max_error): Likewise.
26150 (compare_ulp_data): Don't refer to test names in comment.
26151 (find_test_ulps): Remove function.
26152 (find_function_ulps): Likewise.
26153 (find_complex_function_ulps): Likewise.
26154 (init_max_error): Take function name as argument. Look up ulps
26155 for that function.
26156 (print_ulps): Remove function.
26157 (print_max_error): Use prev_max_error instead of calling
26158 find_function_ulps.
26159 (print_complex_max_error): Use prev_real_max_error and
26160 prev_imag_max_error instead of calling find_complex_function_ulps.
26161 (check_float_internal): Take max_ulp parameter instead of calling
26162 find_test_ulps. Don't call print_ulps.
26163 (check_float): Update call to check_float_internal.
26164 (check_complex): Update calls to check_float_internal.
26165 (START): Pass argument to init_max_error.
26166 * math/gen-libm-test.pl (%results): Don't include "kind"
26167 information.
26168 (parse_ulps): Don't handle ulps of individual tests.
26169 (print_ulps_file): Likewise.
26170 (output_ulps): Likewise.
26171 * math/README.libm-test: Update.
26172 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
26173 individual tests.
26174 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
26175 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
26176 * sysdeps/arm/libm-test-ulps: Likewise.
26177 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
26178 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
26179 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
26180 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
26181 * sysdeps/microblaze/libm-test-ulps: Likewise.
26182 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
26183 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
26184 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26185 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
26186 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
26187 * sysdeps/sh/libm-test-ulps: Likewise.
26188 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
26189 * sysdeps/tile/libm-test-ulps: Likewise.
26190 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26191
26192 2014-03-04 Joseph Myers <joseph@codesourcery.com>
26193
26194 * math/libm-test.inc (print_complex_max_error): Check separately
26195 whether real and imaginary errors are within allowed range and
26196 pass 0 to print_complex_function_ulps instead of value within
26197 allowed range.
26198
26199 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26200
26201 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
26202 formatting.
26203 (get_handles_fopen): Likewise.
26204 (do_write_test): Likewise.
26205
26206 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
26207
26208 * libio/fileops.c (do_ftell): Use cached offset when
26209 available.
26210 * libio/iofwide.c (do_ftell_wide): Likewise.
26211 * libio/iofdopen.c (_IO_new_fdopen): Don't use
26212 _IO_file_attach.
26213 * libio/wfileops.c (_IO_fwide): Don't cache offset.
26214
26215 [BZ #16532]
26216 * libio/libioP.h (get_file_offset): New function.
26217 * libio/fileops.c (get_file_offset): Likewise.
26218 (do_ftell): Likewise.
26219 (_IO_new_file_seekoff): Split out ftell logic.
26220 * libio/wfileops.c (do_ftell_wide): Likewise.
26221 (_IO_wfile_seekoff): Split out ftell logic.
26222 * libio/tst-ftell-active-handler.c: New test case.
26223 * libio/Makefile (tests): Add it.
26224
26225 2014-03-03 Roland McGrath <roland@hack.frob.com>
26226
26227 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
26228 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
26229
26230 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
26231
26232 [BZ #16639]
26233 * nscd/connections.c (nscd_init): Call do_exit.
26234 (start_threads): Call do_exit and notify_parent.
26235 (begin_drop_privileges): Call do_exit.
26236 (finish_drop_privileges): Likewise.
26237 * nscd/selinux.c (preserve_capabilities): Likewise.
26238 (install_real_capabilities): Likewise.
26239 (nscd_selinux_enabled): Likewise.
26240 (avc_create_thread): Likewise.
26241 (avc_alloc_lock): Likewise.
26242 (nscd_avc_init): Likewise.
26243 * nscd/nscd.c (parent_fd): New static variable.
26244 (main): Create a pipe between parent and child processes.
26245 Skip closing parent_fd.
26246 (monitor_child): New function.
26247 (do_exit): Likewise.
26248 (notify_parent): Likewise.
26249 * nscd/nscd.h (notify_parent): Likewise.
26250 (do_exit): Likewise.
26251
26252 2014-03-03 Carlos O'Donell <carlos@redhat.com>
26253
26254 * malloc/malloc.c (__libc_calloc): Revert last change.
26255
26256 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26257
26258 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26259
26260 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26261
26262 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
26263 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
26264 implementation.
26265 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
26266 (__libc_ifunc_impl_list): Likewise.
26267 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
26268 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
26269 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
26270 * string/strrchr.c: Define STRRCHR.
26271
26272 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
26273
26274 * benchtest/bench-strtok.c (simple_strtok): Delete.
26275 (strtok_string): Use as benchmark.
26276 * string/strtok (STRTOK): New macro.
26277
26278 2014-02-28 Carlos O'Donell <carlos@redhat.com>
26279
26280 * manual/threads.texi: Add header and standard comments to all
26281 functions.
26282
26283 * elf/dl-lookup.c (check_match): New function.
26284 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
26285 (do_lookup_x): Remove nested function check_match. Use non-nested
26286 function check_match.
26287
26288 2014-02-28 Roland McGrath <roland@hack.frob.com>
26289
26290 * csu/Makefile (generated, before-compile): Use += rather than =.
26291 * catgets/Makefile (generated, generated-dirs): Likewise.
26292 * debug/Makefile (generated): Likewise.
26293 * dlfcn/Makefile (generated): Likewise.
26294 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
26295 * iconvdata/Makefile (before-compile, generated): Likewise.
26296 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
26297 * libio/Makefile (generated): Likewise.
26298 * malloc/Makefile (generated): Likewise.
26299 * manual/Makefile (generated, generated-dirs): Likewise.
26300 * misc/Makefile (generated): Likewise.
26301 * posix/Makefile (generated): Likewise.
26302 * resolv/Makefile (generated): Likewise.
26303 * sunrpc/Makefile (generated, generated-dirs): Likewise.
26304 * timezone/Makefile (generated, generated-dirs): Likewise.
26305
26306 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
26307
26308 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26309
26310 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
26311 power8 implementation.
26312 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
26313 file: POWER8 llround ifunc implementation.
26314 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
26315 (__lllround): Add POWER8 implementation.
26316 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
26317 POWER8 llround implementation.
26318
26319 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
26320 power8 implementation.
26321 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
26322 file: POWER8 llrint ifunc implementation.
26323 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
26324 Add POWER8 implementation.
26325 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
26326 POWER8 llrint implementation.
26327
26328 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
26329 power8 implementation.
26330 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
26331 file: POWER8 finite ifunc implementation.
26332 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
26333 Add POWER8 implementation.
26334 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
26335 Likewise.
26336 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
26337 POWER8 finite implementation.
26338 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
26339
26340 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
26341 power8 implementation.
26342 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
26343 file: POWER8 isinf ifunc implementation.
26344 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
26345 POWER8 implementation.
26346 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
26347 Likewise.
26348 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
26349 isinf implementation.
26350 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
26351
26352 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
26353 (INIT_ARCH): Add hwcap2 initialization.
26354 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
26355 power8 implementation.
26356 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
26357 file: POWER8 isnan ifunc implementation.
26358 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
26359 POWER8 implementation.
26360 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
26361 Likewise.
26362 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
26363 isnan implementation.
26364 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
26365
26366 2014-02-27 Joey Ye <joey.ye@arm.com>
26367
26368 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
26369 (_FP_NANFRAC_Q): Set to zero.
26370
26371 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
26372
26373 [BZ #16623]
26374 * math/auto-libm-test-in: New test inputs.
26375 * math/auto-libm-test-out: Regenerate.
26376 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
26377 and DA.
26378 (__cos): Likewise.
26379 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
26380
26381 2014-02-27 Joseph Myers <joseph@codesourcery.com>
26382
26383 * scripts/evaluate-test.sh: Take new argument indicating whether
26384 failure is expected.
26385 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
26386 indicating whether failure is expected.
26387 * conform/Makefile (test-xfail-run-conformtest): New variable.
26388 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
26389 level.
26390 * posix/Makefile (test-xfail-annexc): New variable.
26391 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
26392
26393 2014-02-26 Joseph Myers <joseph@codesourcery.com>
26394
26395 * argp/Makefile: Include Makeconfig immediately after defining
26396 subdir.
26397 * assert/Makefile: Likewise.
26398 * benchtests/Makefile: Likewise.
26399 * catgets/Makefile: Likewise.
26400 * conform/Makefile: Likewise.
26401 * crypt/Makefile: Likewise.
26402 * csu/Makefile: Likewise.
26403 (all): Remove target.
26404 * ctype/Makefile: Include Makeconfig immediately after defining
26405 subdir.
26406 * debug/Makefile: Likewise.
26407 * dirent/Makefile: Likewise.
26408 * dlfcn/Makefile: Likewise.
26409 * gmon/Makefile: Likewise.
26410 * gnulib/Makefile: Likewise.
26411 * grp/Makefile: Likewise.
26412 * gshadow/Makefile: Likewise.
26413 * hesiod/Makefile: Likewise.
26414 * hurd/Makefile: Likewise.
26415 (all): Remove target.
26416 * iconvdata/Makefile: Include Makeconfig immediately after
26417 defining subdir.
26418 * inet/Makefile: Likewise.
26419 * intl/Makefile: Likewise.
26420 * io/Makefile: Likewise.
26421 * libio/Makefile: Likewise.
26422 (all): Remove target.
26423 * locale/Makefile: Include Makeconfig immediately after defining
26424 subdir.
26425 * login/Makefile: Likewise.
26426 * mach/Makefile: Likewise.
26427 (all): Remove target.
26428 * malloc/Makefile: Include Makeconfig immediately after defining
26429 subdir.
26430 (all): Remove target.
26431 * manual/Makefile: Include Makeconfig immediately after defining
26432 subdir.
26433 * math/Makefile: Likewise.
26434 * misc/Makefile: Likewise.
26435 * nis/Makefile: Likewise.
26436 * nss/Makefile: Likewise.
26437 * po/Makefile: Likewise.
26438 (all): Remove target.
26439 * posix/Makefile: Include Makeconfig immediately after defining
26440 subdir.
26441 * pwd/Makefile: Likewise.
26442 * resolv/Makefile: Likewise.
26443 * resource/Makefile: Likewise.
26444 * rt/Makefile: Likewise.
26445 * setjmp/Makefile: Likewise.
26446 * shadow/Makefile: Likewise.
26447 * signal/Makefile: Likewise.
26448 * socket/Makefile: Likewise.
26449 * soft-fp/Makefile: Likewise.
26450 * stdio-common/Makefile: Likewise.
26451 * stdlib/Makefile: Likewise.
26452 * streams/Makefile: Likewise.
26453 * string/Makefile: Likewise.
26454 * sunrpc/Makefile: Likewise.
26455 (all): Remove target.
26456 * sysvipc/Makefile: Include Makeconfig immediately after defining
26457 subdir.
26458 * termios/Makefile: Likewise.
26459 * time/Makefile: Likewise.
26460 * timezone/Makefile: Likewise.
26461 (all): Remove target.
26462 * wcsmbs/Makefile: Include Makeconfig immediately after defining
26463 subdir.
26464 * wctype/Makefile: Likewise.
26465
26466 2014-02-26 Steve Ellcey <sellcey@mips.com>
26467
26468 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
26469 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
26470 (libc_feholdexcept_setround_mips): Ditto.
26471 (libc_feholdsetround): New.
26472 (libc_feholdsetroundf): New.
26473 (libc_feholdsetroundl): New.
26474 (libc_feupdateenv_test_mips): New.
26475 (libc_feupdateenv_test): New.
26476 (libc_feupdateenv_testf): New.
26477 (libc_feupdateenv_testl): New.
26478 (libc_feresetround): New.
26479 (libc_feresetroundf): New.
26480 (libc_feresetroundl): New.
26481 (libc_fetestexcept_mips): New.
26482 (libc_fetestexcept): New.
26483 (libc_fetestexceptf): New.
26484 (libc_fetestexceptl): New.
26485 (HAVE_RM_CTX): New.
26486 (libc_feholdexcept_setround_mips_ctx): New.
26487 (libc_feholdexcept_setround_ctx): New.
26488 (libc_feholdexcept_setroundf_ctx): New.
26489 (libc_feholdexcept_setroundl_ctx): New.
26490 (libc_fesetenv_mips_ctx): New.
26491 (libc_fesetenv_ctx): New.
26492 (libc_fesetenv_ctxf): New.
26493 (libc_fesetenv_ctxl): New.
26494 (libc_feupdateenv_mips_ctx): New.
26495 (libc_feupdateenv_ctx): New.
26496 (libc_feupdateenvf_ctx): New.
26497 (libc_feupdateenvl_ctx): New.
26498 (libc_feholdsetround_mips_ctx): New.
26499 (libc_feholdsetround_ctx): New.
26500 (libc_feholdsetroundf_ctx): New.
26501 (libc_feholdsetroundl_ctx): New.
26502 (libc_feresetround_mips_ctx): New.
26503 (libc_feresetround_ctx): New.
26504 (libc_feresetroundf_ctx): New.
26505 (libc_feresetroundl_ctx): New.
26506
26507 2014-02-26 Carlos O'Donell <carlos@redhat.com>
26508
26509 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
26510
26511 * manual/ipc.texi: New file.
26512 * manual/Makefile (chapters): Add ipc.
26513 * manual/job.texi: Add "Inter-Process Communication" to next.
26514 * manual/process.texi: Add "Inter-Process Communication" to prev.
26515
26516 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26517
26518 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26519
26520 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
26521
26522 * malloc/malloc.c (__libc_calloc): Simplify implementation.
26523
26524 * manual/arith.texi: Fix spaces after sentences.
26525 * manual/charset.texi: Likewise.
26526 * manual/errno.texi: Likewise.
26527 * manual/install.texi: Likewise.
26528 * manual/llio.texi: Likewise.
26529 * manual/locale.texi: Likewise.
26530 * manual/maint.texi: Likewise.
26531 * manual/math.texi: Likewise.
26532 * manual/memory.texi: Likewise.
26533 * manual/message.texi: Likewise.
26534 * manual/probes.texi: Likewise.
26535 * manual/resource.texi: Likewise.
26536 * manual/signal.texi: Likewise.
26537 * manual/socket.texi: Likewise.
26538 * manual/stdio.texi: Likewise.
26539 * manual/string.texi: Likewise.
26540 * manual/time.texi: Likewise.
26541 * manual/users.texi: Likewise.
26542
26543 2014-02-25 Carlos O'Donell <carlos@redhat.com>
26544
26545 [BZ #16632]
26546 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
26547 _DEFAULT_SOURCE is defined.
26548
26549 2014-02-25 Ulrich Drepper <drepper@gmail.com>
26550 Carlos O'Donell <carlos@redhat.com>
26551
26552 [BZ #16613]
26553 * elf/dl-tls.c (_dl_count_modids): New function.
26554 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
26555 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
26556 audit library and increment generation counter.
26557 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
26558 * elf/tst-audit9.c: New file.
26559 * elf/tst-auditmod9a.c: New file.
26560 * elf/tst-auditmod9b.c: New file.
26561 * elf/Makefile: Add rules to build and run tst-audit9.
26562
26563 2014-02-25 Florian Weimer <fweimer@redhat.com>
26564
26565 [BZ #15347]
26566 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
26567
26568 2014-02-25 Will Newton <will.newton@linaro.org>
26569
26570 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
26571 (__longjmp): Restore sp and lr before restoring callee
26572 saved registers. Add longjmp and longjmp_target
26573 SystemTap probe point.
26574 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
26575 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
26576 Define to zero to match jmpbuf layout.
26577 * sysdeps/arm/setjmp.S: Include stap-probe.h.
26578 (__sigsetjmp): Save sp and lr before saving callee
26579 saved registers. Add setjmp SystemTap probe point.
26580
26581 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
26582
26583 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
26584
26585 2014-02-24 Andreas Schwab <schwab@suse.de>
26586
26587 [BZ #15804]
26588 * elf/pldd.c (wait_for_ptrace_stop): New function.
26589 (main): Call it after attaching.
26590
26591 2014-02-22 Roland McGrath <roland@hack.frob.com>
26592
26593 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
26594 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
26595 Versions files is now verboten.
26596 * hurd/Versions (libc: GLIBC_2.0):
26597 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
26598 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
26599 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
26600 * mach/Versions: Likewise.
26601
26602 * csu/Versions: Remove unused %include.
26603 * resolv/Versions: Likewise.
26604
26605 2014-02-21 Joseph Myers <joseph@codesourcery.com>
26606
26607 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
26608 ($(objpfx)check-local-headers.out): Likewise.
26609 ($(objpfx)begin-end-check.out): Likewise.
26610 * Makerules (check-abi-%.out): Likewise.
26611 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
26612 ($(objpfx)test2.cat): Likewise.
26613 ($(objpfx)de/libc.cat): Likewise.
26614 ($(objpfx)test-gencat.out): Likewise.
26615 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
26616 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
26617 ($(objpfx)noload-mem): Likewise.
26618 ($(objpfx)tst-pathopt.out): Likewise.
26619 ($(objpfx)tst-rtld-load-self.out): Likewise.
26620 ($(objpfx)tst-array1-cmp.out): Likewise.
26621 ($(objpfx)tst-array1-static-cmp.out): Likewise.
26622 ($(objpfx)tst-array2-cmp.out): Likewise.
26623 ($(objpfx)tst-array3-cmp.out): Likewise.
26624 ($(objpfx)tst-array4-cmp.out): Likewise.
26625 ($(objpfx)tst-array5-cmp.out): Likewise.
26626 ($(objpfx)tst-array5-static-cmp.out): Likewise.
26627 ($(objpfx)check-textrel.out): Likewise.
26628 ($(objpfx)check-execstack.out): Likewise.
26629 ($(objpfx)check-localplt.out): Likewise.
26630 ($(objpfx)order2-cmp.out): Likewise.
26631 ($(objpfx)tst-leaks1-mem): Likewise.
26632 ($(objpfx)tst-leaks1-static-mem): Likewise.
26633 ($(objpfx)tst-initorder-cmp.out): Likewise.
26634 ($(objpfx)tst-initorder2-cmp.out): Likewise.
26635 ($(objpfx)tst-unused-dep.out): Likewise.
26636 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
26637 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
26638 * iconv/Makefile (test-iconvconfig): Likewise.
26639 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
26640 ($(objpfx)iconv-test.out): Likewise.
26641 ($(objpfx)tst-tables.out): Likewise.
26642 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
26643 ($(objpfx)tst-gettext.out): Likewise.
26644 ($(objpfx)tst-translit.out): Likewise.
26645 ($(objpfx)tst-gettext2.out): Likewise.
26646 ($(objpfx)tst-gettext4.out): Likewise.
26647 ($(objpfx)tst-gettext6.out): Likewise.
26648 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
26649 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
26650 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
26651 ($(objpfx)tst-fopenloc-mem.out): Likewise.
26652 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
26653 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
26654 * posix/Makefile ($(objpfx)globtest.out): Likewise.
26655 ($(objpfx)wordexp-tst.out): Likewise.
26656 ($(objpfx)annexc.out): Likewise.
26657 ($(objpfx)tst-fnmatch-mem): Likewise.
26658 ($(objpfx)bug-regex2-mem): Likewise.
26659 ($(objpfx)bug-regex14-mem): Likewise.
26660 ($(objpfx)bug-regex21-mem): Likewise.
26661 ($(objpfx)bug-regex31-mem): Likewise.
26662 ($(objpfx)tst-vfork3-mem): Likewise.
26663 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
26664 ($(objpfx)tst-pcre-mem): Likewise.
26665 ($(objpfx)tst-boost-mem): Likewise.
26666 ($(objpfx)tst-getconf.out): Likewise.
26667 ($(objpfx)bug-ga2-mem): Likewise.
26668 ($(objpfx)bug-glob2-mem): Likewise.
26669 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
26670 ($(objpfx)mtrace-tst-leaks2): Likewise.
26671 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
26672 ($(objpfx)tst-printf.out): Likewise.
26673 ($(objpfx)tst-setvbuf1.out): Likewise.
26674 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
26675 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
26676 ($(objpfx)tst-fmtmsg.out): Likewise.
26677 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
26678 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
26679
26680 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
26681 * bits/sigaction.h [__USE_MISC]: Likewise.
26682 * bits/waitstatus.h: Update #endif comments.
26683 * ctype/ctype.h: Likewise.
26684 * dirent/dirent.h: Likewise.
26685 [__USE_MISC]: Remove redundant conditionals.
26686 * grp/grp.h: Update #endif comments.
26687 [__USE_GNU]: Remove redundant conditionals.
26688 [__USE_MISC]: Likewise.
26689 * inet/netinet/in.h [__USE_GNU]: Likewise.
26690 * io/sys/stat.h [__USE_MISC]: Likewise.
26691 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
26692 * libio/bits/stdio.h: Update #endif comments.
26693 [__USE_MISC]: Remove redundant conditionals.
26694 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
26695 * libio/stdio.h: Update #endif comments.
26696 [__USE_MISC]: Remove redundant conditionals.
26697 * math/bits/math-finite.h [__USE_MISC]: Likewise.
26698 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
26699 * math/math.h: Update #else and #endif comments.
26700 [__USE_MISC]: Remove redundant conditionals.
26701 * misc/sys/uio.h: Update #endif comments.
26702 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
26703 * posix/glob.h [__USE_MISC]: Likewise.
26704 * posix/sys/types.h: Update #endif comments.
26705 [__USE_MISC]: Remove redundant conditionals.
26706 * posix/sys/wait.h: Update #endif comments.
26707 [__USE_MISC]: Remove redundant conditionals.
26708 * posix/unistd.h: Update #endif comments.
26709 [__USE_MISC]: Remove redundant conditionals.
26710 * pwd/pwd.h [__USE_GNU]: Likewise.
26711 [__USE_MISC]: Likewise.
26712 * resolv/netdb.h [__USE_GNU]: Likewise.
26713 * signal/signal.h: Update #endif comments.
26714 [__USE_MISC]: Remove redundant conditionals.
26715 * stdlib/stdlib.h: Update #else and #endif comments.
26716 [__USE_MISC]: Remove redundant conditionals.
26717 [__USE_GNU]: Likewise.
26718 * string/bits/string2.h [__USE_MISC]: Likewise.
26719 * string/string.h: Update #endif comments.
26720 [__USE_MISC]: Remove redundant conditionals.
26721 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
26722 Likewise.
26723 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
26724 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
26725 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
26726 Likewise.
26727 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
26728 Likewise.
26729 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
26730 comments.
26731 [__USE_MISC]: Remove redundant conditionals.
26732 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
26733 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
26734 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
26735 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
26736 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
26737 Likewise.
26738 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
26739 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
26740 Likewise.
26741 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
26742 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
26743 Likewise.
26744 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
26745 Likewise.
26746 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
26747 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
26748 Likewise.
26749 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
26750 Likewise.
26751 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
26752 * sysdeps/x86/bits/string.h: Update #endif comments.
26753 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
26754 conditionals.
26755 * time/sys/time.h: Update #endif comments.
26756 * time/time.h: Likewise.
26757 [__USE_MISC]: Remove redundant conditionals.
26758
26759 2014-02-21 Yury Gribov <y.gribov@samsung.com>
26760
26761 [BZ #16600]
26762 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
26763
26764 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
26765
26766 * Versions.def (librt): Add GLIBC_2.17.
26767
26768 2014-02-21 Adam Conrad <adconrad@0c3.net>
26769
26770 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
26771 synonym for _SYS_AUXV_H to allow direct inclusion.
26772 * sysdeps/sparc/bits/hwcap.h: Likewise.
26773 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
26774 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
26775 * sysdeps/sparc/sysdep.h: Likewise.
26776
26777 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26778
26779 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
26780
26781 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26782
26783 * benchtests/bench-strrchr.c: Print length instead of position.
26784
26785 2014-02-20 Joseph Myers <joseph@codesourcery.com>
26786
26787 [BZ #16611]
26788 * sysdeps/unix/sysv/linux/kernel-features.h
26789 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
26790 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
26791 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
26792 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
26793 Likewise.
26794 [__i386__ || __powerpc__ || __sh__ || __sparc__]
26795 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
26796 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
26797 (__ASSUME_SENDMMSG): Define instead of using previous
26798 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
26799 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
26800 (__ASSUME_SENDMMSG_SYSCALL): Define.
26801 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
26802 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
26803 Likewise.
26804 * sysdeps/unix/sysv/linux/arm/kernel-features.h
26805 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
26806 Likewise.
26807 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
26808 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
26809 Likewise.
26810 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
26811 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
26812 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
26813 [__ASSUME_SENDMMSG]: Change conditionals to
26814 [__ASSUME_SENDMMSG_SOCKETCALL].
26815 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
26816 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
26817 Define.
26818 * sysdeps/unix/sysv/linux/mips/kernel-features.h
26819 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
26820 Likewise.
26821 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
26822 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
26823 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
26824 [!__ASSUME_SENDMMSG]: Change conditional to
26825 [!__ASSUME_SENDMMSG_SOCKETCALL].
26826 * sysdeps/unix/sysv/linux/tile/kernel-features.h
26827 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
26828 Define.
26829
26830 [BZ #16610]
26831 * sysdeps/unix/sysv/linux/kernel-features.h
26832 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
26833 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
26834 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
26835 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
26836 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
26837 [__i386__ || __sparc__]
26838 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
26839 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
26840 (__ASSUME_RECVMMSG): Define instead of using previous
26841 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
26842 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
26843 (__ASSUME_RECVMMSG_SYSCALL): Define.
26844 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
26845 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
26846 Likewise.
26847 * sysdeps/unix/sysv/linux/arm/kernel-features.h
26848 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
26849 Likewise.
26850 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
26851 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
26852 Likewise.
26853 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
26854 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
26855 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
26856 [__ASSUME_RECVMMSG]: Change condition to
26857 [__ASSUME_RECVMMSG_SOCKETCALL].
26858 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
26859 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
26860 Define.
26861 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
26862 * sysdeps/unix/sysv/linux/mips/kernel-features.h
26863 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
26864 Likewise.
26865 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
26866 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
26867 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
26868 [!__ASSUME_RECVMMSG]: Change condition to
26869 [!__ASSUME_RECVMMSG_SOCKETCALL].
26870 * sysdeps/unix/sysv/linux/tile/kernel-features.h
26871 (__ASSUME_RECVMMSG_SYSCALL): Define.
26872
26873 [BZ #16609]
26874 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
26875 __powerpc__ || __s390__ || __sh__ || __sparc__]
26876 (__ASSUME_SOCKETCALL): Define.
26877 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
26878 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
26879 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
26880 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
26881 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
26882 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
26883 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
26884 (__ASSUME_ACCEPT4): Define instead of using previous
26885 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
26886 __powerpc__ || __sparc__ || __s390__)] condition.
26887 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
26888 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
26889 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
26890 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
26891 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
26892 [!__ASSUME_ACCEPT4]: Change condition to
26893 [!__ASSUME_ACCEPT4_SOCKETCALL].
26894 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
26895 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
26896 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
26897 * sysdeps/unix/sysv/linux/arm/kernel-features.h
26898 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
26899 __ASSUME_ACCEPT4_SYSCALL.
26900 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
26901 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
26902 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
26903 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
26904 __ASSUME_ACCEPT4_SYSCALL.
26905 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
26906 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
26907 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
26908 [__ASSUME_ACCEPT4]: Change condition to
26909 [__ASSUME_ACCEPT4_SOCKETCALL].
26910 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
26911 (__ASSUME_SOCKETCALL): Define.
26912 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
26913 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
26914 (__ASSUME_SOCKETCALL): Define.
26915 (__ASSUME_ACCEPT4): Remove.
26916 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
26917 Define.
26918 * sysdeps/unix/sysv/linux/mips/kernel-features.h
26919 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
26920 Likewise.
26921 * sysdeps/unix/sysv/linux/tile/kernel-features.h
26922 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
26923
26924 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
26925 macro.
26926 (HWCAP_ARM_LPAE): Likewise.
26927 (HWCAP_ARM_EVTSTRM): Likewise.
26928 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
26929 Add vpfd32, lpae and evtstrm.
26930 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
26931 Increase to 22.
26932
26933 2014-02-19 Joseph Myers <joseph@codesourcery.com>
26934
26935 * math/auto-libm-test-in: Add tests of clog10.
26936 * math/auto-libm-test-out: Regenerated.
26937 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
26938 * sysdeps/i386/fpu/libm-test-ulps: Update.
26939 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26940
26941 2014-02-18 Andreas Schwab <schwab@suse.de>
26942
26943 [BZ #16574]
26944 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
26945 Store non-zero if the second buffer was newly allocated.
26946 (send_dg): Likewise.
26947 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
26948 to send_vc and send_dg.
26949 (res_nsend): Pass NULL for ansp2_malloced.
26950 * resolv/res_query.c (__libc_res_nquery): Add parameter
26951 answerp2_malloced and pass it down to __libc_res_nsend.
26952 (res_nquery): Pass additional NULL to __libc_res_nquery.
26953 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
26954 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
26955 second answer buffer if answerp2_malloced was set.
26956 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
26957 (__libc_res_nquerydomain): Add parameter
26958 answerp2_malloced and pass it down to __libc_res_nquery.
26959 (res_nquerydomain): Pass additional NULL to
26960 __libc_res_nquerydomain.
26961 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
26962 additional NULL to __libc_res_nsend and __libc_res_nquery.
26963 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
26964 additional NULL to __libc_res_nsearch.
26965 (_nss_dns_gethostbyname4_r): Revert last change. Use new
26966 parameter of __libc_res_nsearch to check for separately allocated
26967 second buffer.
26968 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
26969 __libc_res_nquery.
26970 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
26971 additional NULL to __libc_res_nquery.
26972 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
26973 __libc_res_nsearch.
26974 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
26975 * include/resolv.h: Update prototypes of __libc_res_nquery,
26976 __libc_res_nsearch, __libc_res_nsend.
26977
26978 2014-02-18 Joseph Myers <joseph@codesourcery.com>
26979
26980 * math/auto-libm-test-in: Add tests of fma.
26981 * math/auto-libm-test-out: Regenerated.
26982 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
26983 (fma_towardzero_test_data): Likewise.
26984 (fma_downward_test_data): Likewise.
26985 (fma_upward_test_data): Likewise.
26986 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
26987 mpc_mode.
26988 (rounding_modes): Add values for new field.
26989 (func_calc_method): Add value mpfr_fff_f.
26990 (func_calc_desc): Add mpfr_fff_f union field.
26991 (test_function): Add field exact_args.
26992 (FUNC): Add macro argument EXACT_ARGS.
26993 (FUNC_mpfr_f_f): Update call to FUNC.
26994 (FUNC_mpfr_f_f): Likewise.
26995 (FUNC_mpfr_ff_f): Likewise.
26996 (FUNC_mpfr_if_f): Likewise.
26997 (FUNC_mpc_c_f): Likewise.
26998 (FUNC_mpc_c_c): Likewise.
26999 (test_functions): Add fma. Update calls to FUNC.
27000 (handle_input_arg): Add argument exact_args.
27001 (add_test): Update call to handle_input_arg.
27002 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
27003 (output_for_one_input_case): Update call to calc_generic_results.
27004 Recalculate exact zero results in each rounding mode.
27005
27006 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
27007 non-negative before setting low bit.
27008 * math/auto-libm-test-in: Mark one asin test possibly having
27009 spurious underflow.
27010 * math/auto-libm-test-out: Regenerated.
27011 * sysdeps/i386/fpu/libm-test-ulps: Update.
27012 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27013
27014 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
27015
27016 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
27017 * sysdeps/unix/sysv/linux/microblaze: Move directory from
27018 ports/sysdeps/unix/sysv/linux/microblaze.
27019 * README: Add missing listing for microblaze*-*-linux-gnu.
27020
27021 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
27022
27023 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
27024 duplicate code
27025
27026 2014-02-16 Mike Frysinger <vapier@gentoo.org>
27027
27028 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
27029 * sysdeps/unix/sysv/linux/ia64: Move directory from
27030 ports/sysdeps/unix/sysv/linux/ia64.
27031 * README: Update listing for ia64-*-linux-gnu.
27032
27033 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
27034 Joseph Myers <joseph@codesourcery.com>
27035
27036 * Makeconfig (test-name): New variable.
27037 (evaluate-test): Likewise.
27038 * Makerules (do-test-clean): Remove .test-result files.
27039 (common-mostlyclean): Likewise.
27040 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
27041 * scripts/evaluate-test.sh: New file.
27042
27043 2014-02-14 Joseph Myers <joseph@codesourcery.com>
27044
27045 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
27046 separate $(objpfx)tst-fopenloc-cmp.out and
27047 $(objpfx)tst-fopenloc-mem.out targets.
27048 (tests): Update dependencies.
27049 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
27050 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
27051 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
27052 (tst-rxspencer-no-utf8-ARGS): New variable.
27053 (tst-rxspencer-no-utf8-ENV): Likewise.
27054 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
27055 instead of $(objpfx)tst-rxspencer-mem.
27056 ($(objpfx)tst-rxspencer-mem): Change target to
27057 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
27058 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
27059 * posix/tst-rxspencer-no-utf8.c: New file.
27060
27061 * elf/Makefile ($(objpfx)order.out): Remove rule.
27062 [$(run-built-tests) = yes] (tests): Depend on
27063 $(objpfx)order-cmp.out.
27064 ($(objpfx)order-cmp.out): New rule.
27065 [$(run-built-tests) = yes] (tests): Depend on
27066 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
27067 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
27068 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
27069 $(objpfx)tst-array5-static-cmp.out.
27070 ($(objpfx)tst-array1.out): Remove rule.
27071 ($(objpfx)tst-array1-cmp.out): New rule.
27072 ($(objpfx)tst-array1-static.out): Remove rule.
27073 ($(objpfx)tst-array1-static-cmp.out): New rule.
27074 ($(objpfx)tst-array2.out): Remove rule.
27075 ($(objpfx)tst-array2-cmp.out): New rule.
27076 ($(objpfx)tst-array3.out): Remove rule.
27077 ($(objpfx)tst-array3-cmp.out): New rule.
27078 ($(objpfx)tst-array4.out): Remove rule.
27079 ($(objpfx)tst-array4-cmp.out): New rule.
27080 ($(objpfx)tst-array5.out): Remove rule.
27081 ($(objpfx)tst-array5-cmp.out): New rule.
27082 ($(objpfx)tst-array5-static.out): Remove rule.
27083 ($(objpfx)tst-array5-static-cmp.out): New rule.
27084 [$(run-built-tests) = yes] (tests): Depend on
27085 $(objpfx)order2-cmp.out.
27086 ($(objpfx)order2.out): Remove rule.
27087 ($(objpfx)order2-cmp.out): New rule.
27088 ($(objpfx)tst-initorder.out): Remove rule.
27089 [$(run-built-tests) = yes] (tests): Depend on
27090 $(objpfx)tst-initorder-cmp.out.
27091 ($(objpfx)tst-initorder-cmp.out): New rule.
27092 ($(objpfx)tst-initorder2.out): Remove rule.
27093 [$(run-built-tests) = yes] (tests): Depend on
27094 $(objpfx)tst-initorder2-cmp.out.
27095 ($(objpfx)tst-initorder2-cmp.out): New rule.
27096 [$(run-built-tests) = yes] (tests): Depend on
27097 $(objpfx)tst-unused-dep-cmp.out.
27098 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
27099 ($(objpfx)tst-unused-dep-cmp.out): New rule.
27100 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
27101 on $(objpfx)tst-setvbuf1-cmp.out.
27102 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
27103 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
27104 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
27105 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
27106 ($(objpfx)tst-svc.out): Remove rule.
27107 ($(objpfx)tst-svc-cmp.out): New rule.
27108
27109 2014-02-13 Joseph Myers <joseph@codesourcery.com>
27110
27111 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
27112 * ctype/ctype.h [__USE_MISC]: Likewise.
27113 * dirent/dirent.h [__USE_MISC]: Likewise.
27114 * grp/grp.h [__USE_MISC]: Likewise.
27115 * io/fcntl.h [__USE_MISC]: Likewise.
27116 * io/sys/stat.h [__USE_MISC]: Likewise.
27117 * libio/stdio.h [__USE_MISC]: Likewise.
27118 * posix/unistd.h [__USE_MISC]: Likewise.
27119 * pwd/pwd.h [__USE_MISC]: Likewise.
27120 * stdlib.h [__USE_MISC]: Likewise.
27121 * string/bits/string2.h [__USE_MISC]: Likewise.
27122 * string/string.h [__USE_MISC]: Likewise.
27123 * time/time.h [__USE_MISC]: Likewise.
27124
27125 2014-02-13 Andreas Schwab <schwab@suse.de>
27126
27127 [BZ #16574]
27128 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
27129 second answer buffer if it was separately allocated.
27130
27131 2014-02-12 Joseph Myers <joseph@codesourcery.com>
27132
27133 * sysdeps/mips/math-tests.h: Include <features.h>.
27134 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
27135 (ROUNDING_TESTS_long_double): Do not define.
27136 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
27137 (EXCEPTION_TESTS_long_double): Likewise.
27138 * sysdeps/mips/mips64/libm-test-ulps: Update.
27139
27140 * include/features.h (__USE_BSD): Remove macro definitions.
27141 (__USE_SVID): Likewise.
27142 (_BSD_SOURCE): Likewise.
27143 (_SVID_SOURCE): Likewise.
27144 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
27145 from definition of _DEFAULT_SOURCE.
27146 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
27147 [_DEFAULT_SOURCE].
27148 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
27149 * bits/mman.h [__USE_BSD]: Likewise.
27150 * bits/termios.h [__USE_BSD]: Likewise.
27151 * bits/waitstatus.h [__USE_BSD]: Likewise.
27152 * ctype/ctype.h [__USE_SVID]: Likewise.
27153 * dirent/dirent.h [__USE_BSD]: Likewise.
27154 * grp/grp.h [__USE_SVID]: Likewise.
27155 [__USE_BSD]: Likewise.
27156 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
27157 * io/fcntl.h [__USE_BSD]: Likewise.
27158 * io/ftw.h [__USE_BSD]: Likewise.
27159 * io/sys/stat.h [__USE_BSD]: Likewise.
27160 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
27161 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
27162 * libio/stdio.h [__USE_SVID]: Likewise.
27163 [__USE_BSD]: Likewise.
27164 * math/math.h [__USE_SVID]: Likewise.
27165 [__USE_BSD]: Likewise.
27166 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
27167 * misc/bits/syslog.h [__USE_BSD]: Likewise.
27168 * misc/search.h [__USE_SVID]: Likewise.
27169 * misc/sys/mman.h [__USE_BSD]: Likewise.
27170 * misc/sys/syslog.h [__USE_BSD]: Likewise.
27171 * misc/sys/uio.h [__USE_BSD]: Likewise.
27172 * posix/bits/unistd.h [__USE_BSD]: Likewise.
27173 * posix/glob.h [__USE_BSD]: Likewise.
27174 * posix/regex.h [__USE_BSD]: Likewise.
27175 * posix/sys/types.h [__USE_BSD]: Likewise.
27176 [__USE_SVID]: Likewise.
27177 * posix/sys/utsname.h [__USE_SVID]: Likewise.
27178 * posix/sys/wait.h [__USE_BSD]: Likewise.
27179 [__USE_SVID]: Likewise.
27180 * posix/unistd.h [__USE_BSD]: Likewise.
27181 [__USE_SVID]: Likewise.
27182 * pwd/pwd.h [__USE_SVID]: Likewise.
27183 * resolv/netdb.h [__USE_BSD]: Likewise.
27184 * setjmp/setjmp.h [__USE_BSD]: Likewise.
27185 * signal/signal.h [__USE_BSD]: Likewise.
27186 [__USE_SVID]: Likewise.
27187 * socket/sys/socket.h [__USE_BSD]: Likewise.
27188 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
27189 * stdlib/stdlib.h [__USE_BSD]: Likewise.
27190 [__USE_SVID]: Likewise.
27191 * string/bits/string2.h [__USE_BSD]: Likewise.
27192 [__USE_SVID]: Likewise.
27193 * string/bits/string3.h [__USE_BSD]: Likewise.
27194 * string/endian.h [__USE_BSD]: Likewise.
27195 * string/string.h [__USE_SVID]: Likewise.
27196 [__USE_BSD]: Likewise.
27197 * string/strings.h [__USE_BSD]: Likewise.
27198 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
27199 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
27200 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
27201 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
27202 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
27203 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
27204 Likewise.
27205 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
27206 Likewise.
27207 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
27208 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
27209 Likewise.
27210 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
27211 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
27212 Likewise.
27213 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
27214 Likewise.
27215 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
27216 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
27217 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
27218 Likewise.
27219 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
27220 Likewise.
27221 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
27222 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
27223 * termios/termios.h [__USE_BSD]: Likewise.
27224 * time/sys/time.h [__USE_BSD]: Likewise.
27225 * time/time.h [__USE_BSD]: Likewise.
27226 [__USE_SVID]: Likewise.
27227
27228 * Makefile (subdir_targets): Remove subdir_lint.out.
27229
27230 * stdio-common/Makefile (do-tst-unbputc): Remove target.
27231 (do-tst-printf): Likewise.
27232 (tests): Depend directly on $(objpfx)tst-unbputc.out and
27233 $(objpfx)tst-printf.out.
27234
27235 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
27236
27237 * Makerules (check-abi-%): Change target to
27238 $(objpfx)check-abi-%.out.
27239 (check-abi target): Update dependencies.
27240 (check-abi-pattern variable): Redirect output of diff to $@.
27241 (check-abi variable): Likewise.
27242 * elf/Makefile (check-abi): Update dependencies.
27243
27244 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
27245 unused.
27246 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
27247 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
27248 subnormal range.
27249 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
27250 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
27251 value has largest subnormal exponent.
27252 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
27253 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
27254 * sysdeps/aarch64/soft-fp/sfp-machine.h
27255 (_FP_TININESS_AFTER_ROUNDING): New macro.
27256 * sysdeps/alpha/soft-fp/sfp-machine.h
27257 (_FP_TININESS_AFTER_ROUNDING): Likewise.
27258 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
27259 Likewise.
27260 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
27261 (_FP_TININESS_AFTER_ROUNDING): Likewise.
27262 * sysdeps/mips/soft-fp/sfp-machine.h
27263 (_FP_TININESS_AFTER_ROUNDING): Likewise.
27264 * sysdeps/powerpc/soft-fp/sfp-machine.h
27265 (_FP_TININESS_AFTER_ROUNDING): Likewise.
27266 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
27267 Likewise.
27268 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
27269 (_FP_TININESS_AFTER_ROUNDING): Likewise.
27270 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
27271 (_FP_TININESS_AFTER_ROUNDING): Likewise.
27272 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
27273 Likewise.
27274
27275 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
27276
27277 [BZ #16545]
27278 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
27279 model 1.
27280
27281 2014-02-12 Richard Henderson <rth@redhat.com>
27282
27283 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
27284 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
27285 * sysdeps/unix/sysv/linux/alpha: Move directory from
27286 ports/sysdeps/unix/sysv/linux/alpha.
27287 * README: Update listing for alpha-*-linux-gnu.
27288
27289 2014-02-11 Joseph Myers <joseph@codesourcery.com>
27290
27291 * include/features.h: Update comment documenting feature test
27292 macros.
27293 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
27294 _DEFAULT_SOURCE.
27295 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
27296 (_SVID_SOURCE): Likewise.
27297 (_DEFAULT_SOURCE): Update description of default features.
27298 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
27299 with _GNU_SOURCE.
27300 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
27301 (S_ISVTX): Likewise.
27302 * manual/math.texi (Mathematical Constants): Likewise.
27303 * manual/signal.texi (Interrupted Primitives): Likewise.
27304 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
27305 * math/test-matherr.c (_SVID_SOURCE): Do not define.
27306 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
27307 Don't refer to _SVID_SOURCE in warning text.
27308
27309 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27310
27311 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
27312 already defined.
27313 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
27314 * sysdeps/mips/dl-lookup.c: Remove.
27315 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
27316
27317 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
27318
27319 [BZ #16447]
27320 * math/auto-libm-test-in: Add testcase for expl.
27321 * math/auto-libm-test-out: Regenerate.
27322 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
27323 calculation of unsafe.
27324 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
27325
27326 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
27327
27328 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
27329 * sysdeps/unix/sysv/linux/aarch64: Move directory from
27330 ports/sysdeps/unix/sysv/linux/aarch64.
27331 * README: Update listing for aarch64*-*-linux-gnu.
27332
27333 2014-02-11 Will Newton <will.newton@linaro.org>
27334
27335 * manual/probes.texi (Mathematical Function Probes): Use
27336 "triggered" instead of "hit".
27337
27338 * manual/probes.texi (Internal Probes): Add documentation
27339 of setjmp, longjmp and longjmp_target probes.
27340
27341 * include/stap-probe.h: Add comment about probe argument
27342 format.
27343
27344 * malloc/mtrace.c (attribute_hidden): Remove unused macro
27345 definition. (tr_where, tr_freehook, tr_mallochook,
27346 tr_reallochook, tr_memalignhook): Use ANSI protoype.
27347
27348 2014-02-11 David S. Miller <davem@davemloft.net>
27349
27350 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
27351 processing int_tests.
27352
27353 2014-02-10 Joseph Myers <joseph@codesourcery.com>
27354
27355 * sysdeps/mips: Move directory from ports/sysdeps/mips.
27356 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
27357 * sysdeps/unix/sysv/linux/mips: Move directory from
27358 ports/sysdeps/unix/sysv/linux/mips.
27359 * README: Update listing for mips-*-linux-gnu and
27360 mips64-*-linux-gnu.
27361
27362 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
27363
27364 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
27365 * sysdeps/unix/sysv/linux/m68k: Move directory from
27366 ports/sysdeps/unix/sysv/linux/m68k.
27367 * README: Update listing for m68k-*-linux-gnu.
27368
27369 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
27370
27371 * sysdeps/tile: Move directory from ports/sysdeps/tile.
27372 * sysdeps/unix/sysv/linux/generic: Move directory from
27373 ports/sysdeps/unix/sysv/linux/generic.
27374 * sysdeps/unix/sysv/linux/tile: Move directory from
27375 ports/sysdeps/unix/sysv/linux/tile.
27376 * README: Update listing for tile*-*-linux-gnu.
27377
27378 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
27379
27380 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
27381 __builtin_expect.
27382 * benchtests/bench-memmem.c (simple_memmem): Likewise.
27383 * catgets/open_catalog.c (__open_catalog): Likewise.
27384 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
27385 * debug/confstr_chk.c: Likewise.
27386 * debug/fread_chk.c (__fread_chk): Likewise.
27387 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
27388 * debug/getgroups_chk.c: Likewise.
27389 * debug/mbsnrtowcs_chk.c: Likewise.
27390 * debug/mbsrtowcs_chk.c: Likewise.
27391 * debug/mbstowcs_chk.c: Likewise.
27392 * debug/memcpy_chk.c: Likewise.
27393 * debug/memmove_chk.c: Likewise.
27394 * debug/mempcpy_chk.c: Likewise.
27395 * debug/memset_chk.c: Likewise.
27396 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
27397 * debug/strcat_chk.c (__strcat_chk): Likewise.
27398 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
27399 * debug/strncat_chk.c (__strncat_chk): Likewise.
27400 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
27401 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
27402 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
27403 * debug/wcpncpy_chk.c: Likewise.
27404 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
27405 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
27406 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
27407 * debug/wcsncpy_chk.c: Likewise.
27408 * debug/wcsnrtombs_chk.c: Likewise.
27409 * debug/wcsrtombs_chk.c: Likewise.
27410 * debug/wcstombs_chk.c: Likewise.
27411 * debug/wmemcpy_chk.c: Likewise.
27412 * debug/wmemmove_chk.c: Likewise.
27413 * debug/wmempcpy_chk.c: Likewise.
27414 * debug/wmemset_chk.c: Likewise.
27415 * dirent/scandirat.c (SCANDIRAT): Likewise.
27416 * dlfcn/dladdr1.c (dladdr1): Likewise.
27417 * dlfcn/dladdr.c (dladdr): Likewise.
27418 * dlfcn/dlclose.c (dlclose_doit): Likewise.
27419 * dlfcn/dlerror.c (__dlerror): Likewise.
27420 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
27421 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
27422 * dlfcn/dlopen.c (dlopen_doit): Likewise.
27423 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
27424 * dlfcn/dlsym.c (dlsym_doit): Likewise.
27425 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
27426 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
27427 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
27428 Likewise.
27429 * elf/dl-conflict.c: Likewise.
27430 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
27431 * elf/dl-dst.h: Likewise.
27432 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
27433 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
27434 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
27435 * elf/dl-init.c (call_init, _dl_init): Likewise.
27436 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
27437 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
27438 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
27439 Likewise.
27440 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
27441 Likewise.
27442 * elf/dl-minimal.c (__libc_memalign): Likewise.
27443 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
27444 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
27445 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
27446 * elf/dl-sym.c (do_sym): Likewise.
27447 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
27448 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
27449 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
27450 * elf/dl-writev.h (_dl_writev): Likewise.
27451 * elf/ldconfig.c (search_dir): Likewise.
27452 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
27453 (dl_main): Likewise.
27454 * elf/setup-vdso.h (setup_vdso): Likewise.
27455 * grp/compat-initgroups.c (compat_call): Likewise.
27456 * grp/fgetgrent.c (fgetgrent): Likewise.
27457 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
27458 * grp/putgrent.c (putgrent): Likewise.
27459 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
27460 Likewise.
27461 * hurd/hurdinit.c: Likewise.
27462 * iconvdata/8bit-gap.c (struct): Likewise.
27463 * iconvdata/ansi_x3.110.c : Likewise.
27464 * iconvdata/big5.c : Likewise.
27465 * iconvdata/big5hkscs.c : Likewise.
27466 * iconvdata/cp1255.c: Likewise.
27467 * iconvdata/cp1258.c : Likewise.
27468 * iconvdata/cp932.c : Likewise.
27469 * iconvdata/euc-cn.c: Likewise.
27470 * iconvdata/euc-jisx0213.c : Likewise.
27471 * iconvdata/euc-jp.c: Likewise.
27472 * iconvdata/euc-jp-ms.c : Likewise.
27473 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
27474 * iconvdata/gb18030.c : Likewise.
27475 * iconvdata/gbbig5.c (const): Likewise.
27476 * iconvdata/gbgbk.c: Likewise.
27477 * iconvdata/gbk.c : Likewise.
27478 * iconvdata/ibm1364.c : Likewise.
27479 * iconvdata/ibm930.c : Likewise.
27480 * iconvdata/ibm932.c: Likewise.
27481 * iconvdata/ibm933.c : Likewise.
27482 * iconvdata/ibm935.c : Likewise.
27483 * iconvdata/ibm937.c : Likewise.
27484 * iconvdata/ibm939.c : Likewise.
27485 * iconvdata/ibm943.c: Likewise.
27486 * iconvdata/iso_11548-1.c: Likewise.
27487 * iconvdata/iso-2022-cn.c : Likewise.
27488 * iconvdata/iso-2022-cn-ext.c : Likewise.
27489 * iconvdata/iso-2022-jp-3.c: Likewise.
27490 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
27491 * iconvdata/iso-2022-kr.c : Likewise.
27492 * iconvdata/iso646.c (gconv_end): Likewise.
27493 * iconvdata/iso_6937-2.c : Likewise.
27494 * iconvdata/iso_6937.c : Likewise.
27495 * iconvdata/iso8859-1.c: Likewise.
27496 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
27497 * iconvdata/shift_jisx0213.c : Likewise.
27498 * iconvdata/sjis.c : Likewise.
27499 * iconvdata/t.61.c : Likewise.
27500 * iconvdata/tcvn5712-1.c : Likewise.
27501 * iconvdata/tscii.c: Likewise.
27502 * iconvdata/uhc.c : Likewise.
27503 * iconvdata/unicode.c (gconv_end): Likewise.
27504 * iconvdata/utf-16.c (gconv_end): Likewise.
27505 * iconvdata/utf-32.c (gconv_end): Likewise.
27506 * iconvdata/utf-7.c (base64): Likewise.
27507 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
27508 * iconv/gconv_close.c (__gconv_close): Likewise.
27509 * iconv/gconv_open.c (__gconv_open): Likewise.
27510 * iconv/gconv_simple.c (internal_ucs4_loop_single)
27511 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
27512 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
27513 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
27514 (ucs4le_internal_loop_single): Likewise.
27515 * iconv/iconv.c (iconv): Likewise.
27516 * iconv/iconv_close.c: Likewise.
27517 * iconv/loop.c (SINGLE): Likewise.
27518 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
27519 * include/atomic.h: Likewise.
27520 * inet/inet6_option.c (option_alloc): Likewise.
27521 * intl/bindtextdom.c (set_binding_values): Likewise.
27522 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
27523 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
27524 * intl/localealias.c (read_alias_file): Likewise.
27525 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
27526 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
27527 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
27528 * libio/fmemopen.c (fmemopen): Likewise.
27529 * libio/iofgets.c (_IO_fgets): Likewise.
27530 * libio/iofgets_u.c (fgets_unlocked): Likewise.
27531 * libio/iofgetws.c (fgetws): Likewise.
27532 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
27533 * libio/iogetdelim.c (_IO_getdelim): Likewise.
27534 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
27535 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
27536 * locale/findlocale.c (_nl_find_locale): Likewise.
27537 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
27538 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
27539 Likewise.
27540 * locale/setlocale.c (setlocale): Likewise.
27541 * login/programs/pt_chown.c (main): Likewise.
27542 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
27543 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
27544 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
27545 (mmap, mmap64, mremap, munmap): Likewise.
27546 * math/e_exp2l.c: Likewise.
27547 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
27548 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
27549 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
27550 * math/s_catan.c (__catan): Likewise.
27551 * math/s_catanf.c (__catanf): Likewise.
27552 * math/s_catanh.c (__catanh): Likewise.
27553 * math/s_catanhf.c (__catanhf): Likewise.
27554 * math/s_catanhl.c (__catanhl): Likewise.
27555 * math/s_catanl.c (__catanl): Likewise.
27556 * math/s_ccosh.c (__ccosh): Likewise.
27557 * math/s_ccoshf.c (__ccoshf): Likewise.
27558 * math/s_ccoshl.c (__ccoshl): Likewise.
27559 * math/s_cexp.c (__cexp): Likewise.
27560 * math/s_cexpf.c (__cexpf): Likewise.
27561 * math/s_cexpl.c (__cexpl): Likewise.
27562 * math/s_clog10.c (__clog10): Likewise.
27563 * math/s_clog10f.c (__clog10f): Likewise.
27564 * math/s_clog10l.c (__clog10l): Likewise.
27565 * math/s_clog.c (__clog): Likewise.
27566 * math/s_clogf.c (__clogf): Likewise.
27567 * math/s_clogl.c (__clogl): Likewise.
27568 * math/s_csin.c (__csin): Likewise.
27569 * math/s_csinf.c (__csinf): Likewise.
27570 * math/s_csinh.c (__csinh): Likewise.
27571 * math/s_csinhf.c (__csinhf): Likewise.
27572 * math/s_csinhl.c (__csinhl): Likewise.
27573 * math/s_csinl.c (__csinl): Likewise.
27574 * math/s_csqrt.c (__csqrt): Likewise.
27575 * math/s_csqrtf.c (__csqrtf): Likewise.
27576 * math/s_csqrtl.c (__csqrtl): Likewise.
27577 * math/s_ctan.c (__ctan): Likewise.
27578 * math/s_ctanf.c (__ctanf): Likewise.
27579 * math/s_ctanh.c (__ctanh): Likewise.
27580 * math/s_ctanhf.c (__ctanhf): Likewise.
27581 * math/s_ctanhl.c (__ctanhl): Likewise.
27582 * math/s_ctanl.c (__ctanl): Likewise.
27583 * math/w_pow.c: Likewise.
27584 * math/w_powf.c: Likewise.
27585 * math/w_powl.c: Likewise.
27586 * math/w_scalb.c (sysv_scalb): Likewise.
27587 * math/w_scalbf.c (sysv_scalbf): Likewise.
27588 * math/w_scalbl.c (sysv_scalbl): Likewise.
27589 * misc/error.c (error_tail): Likewise.
27590 * misc/pselect.c (__pselect): Likewise.
27591 * nis/nis_callback.c (__nis_create_callback): Likewise.
27592 * nis/nis_call.c (__nisfind_server): Likewise.
27593 * nis/nis_creategroup.c (nis_creategroup): Likewise.
27594 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
27595 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
27596 * nis/nis_getservlist.c (nis_getservlist): Likewise.
27597 * nis/nis_lookup.c (nis_lookup): Likewise.
27598 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
27599 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
27600 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
27601 * nis/nis_xdr.c (xdr_endpoint): Likewise.
27602 * nis/nss_compat/compat-grp.c (getgrent_next_file)
27603 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
27604 * nis/nss_compat/compat-initgroups.c (add_group)
27605 (internal_getgrent_r): Likewise.
27606 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
27607 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
27608 * nis/nss_compat/compat-spwd.c (getspent_next_file)
27609 (internal_getspnam_r): Likewise.
27610 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
27611 (_nss_nis_getaliasbyname_r): Likewise.
27612 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
27613 (_nss_nis_getntohost_r): Likewise.
27614 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
27615 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
27616 (_nss_nis_getgrgid_r): Likewise.
27617 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
27618 (internal_nis_gethostent_r, internal_gethostbyname2_r)
27619 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
27620 (_nss_nis_gethostbyname4_r): Likewise.
27621 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
27622 (initgroups_netid): Likewise.
27623 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
27624 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
27625 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
27626 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
27627 (_nss_nis_getprotobynumber_r): Likewise.
27628 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
27629 (_nss_nis_getsecretkey): Likewise.
27630 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
27631 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
27632 (_nss_nis_getpwuid_r): Likewise.
27633 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
27634 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
27635 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
27636 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
27637 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
27638 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
27639 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
27640 Likewise.
27641 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
27642 (_nss_nisplus_getntohost_r): Likewise.
27643 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
27644 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
27645 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
27646 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
27647 Likewise.
27648 * nis/nss_nisplus/nisplus-initgroups.c
27649 (_nss_nisplus_initgroups_dyn): Likewise.
27650 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
27651 (_nss_nisplus_getnetbyaddr_r): Likewise.
27652 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
27653 (_nss_nisplus_getprotobynumber_r): Likewise.
27654 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
27655 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
27656 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
27657 Likewise.
27658 * nis/nss_nisplus/nisplus-service.c
27659 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
27660 (_nss_nisplus_getservbyport_r): Likewise.
27661 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
27662 (_nss_nisplus_getspnam_r): Likewise.
27663 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
27664 Likewise.
27665 * nscd/aicache.c (addhstaiX): Likewise.
27666 * nscd/cache.c (cache_search, prune_cache): Likewise.
27667 * nscd/connections.c (register_traced_file, send_ro_fd)
27668 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
27669 (main_loop_epoll): Likewise.
27670 * nscd/grpcache.c (addgrbyX): Likewise.
27671 * nscd/hstcache.c (addhstbyX): Likewise.
27672 * nscd/initgrcache.c (addinitgroupsX): Likewise.
27673 * nscd/mem.c (gc, mempool_alloc): Likewise.
27674 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
27675 (addinnetgrX): Likewise.
27676 * nscd/nscd-client.h (__nscd_acquire_maplock)
27677 (__nscd_drop_map_ref): Likewise.
27678 * nscd/nscd_getai.c (__nscd_getai): Likewise.
27679 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
27680 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
27681 Likewise.
27682 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
27683 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
27684 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
27685 (__nscd_get_map_ref): Likewise.
27686 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
27687 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
27688 Likewise.
27689 * nscd/pwdcache.c (addpwbyX): Likewise.
27690 * nscd/selinux.c (preserve_capabilities): Likewise.
27691 * nscd/servicescache.c (addservbyX): Likewise.
27692 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
27693 * posix/fnmatch.c (fnmatch): Likewise.
27694 * posix/getopt.c (_getopt_internal_r): Likewise.
27695 * posix/glob.c (glob, glob_in_dir): Likewise.
27696 * posix/wordexp.c (exec_comm_child): Likewise.
27697 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
27698 (getanswer_r, gaih_getanswer_slice): Likewise.
27699 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
27700 * resolv/res_init.c: Likewise.
27701 * resolv/res_mkquery.c (res_nmkquery): Likewise.
27702 * resolv/res_query.c (__libc_res_nquery): Likewise.
27703 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
27704 Likewise.
27705 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
27706 * stdio-common/perror.c (perror): Likewise.
27707 * stdio-common/printf_fp.c (___printf_fp): Likewise.
27708 * stdio-common/tmpnam.c (tmpnam): Likewise.
27709 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
27710 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
27711 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
27712 Likewise.
27713 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
27714 * stdlib/putenv.c (putenv): Likewise.
27715 * stdlib/setenv.c (__add_to_environ): Likewise.
27716 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
27717 * stdlib/strtol_l.c (INTERNAL): Likewise.
27718 * string/memmem.c (memmem): Likewise.
27719 * string/strerror.c (strerror): Likewise.
27720 * string/strnlen.c (__strnlen): Likewise.
27721 * string/test-memmem.c (simple_memmem): Likewise.
27722 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
27723 * sunrpc/pm_getport.c (__get_socket): Likewise.
27724 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
27725 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
27726 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
27727 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
27728 Likewise.
27729 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
27730 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
27731 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
27732 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
27733 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
27734 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
27735 Likewise.
27736 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
27737 Likewise.
27738 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
27739 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
27740 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
27741 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
27742 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
27743 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
27744 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
27745 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
27746 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
27747 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
27748 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
27749 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
27750 Likewise.
27751 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
27752 Likewise.
27753 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
27754 Likewise.
27755 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
27756 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
27757 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
27758 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
27759 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
27760 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
27761 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
27762 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
27763 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
27764 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
27765 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
27766 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27767 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
27768 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
27769 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27770 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
27771 Likewise.
27772 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
27773 Likewise.
27774 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
27775 Likewise.
27776 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
27777 Likewise.
27778 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27779 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27780 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
27781 Likewise.
27782 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
27783 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
27784 * sysdeps/posix/opendir.c (__opendirat): Likewise.
27785 * sysdeps/posix/sleep.c: Likewise.
27786 * sysdeps/posix/tempname.c: Likewise.
27787 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
27788 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
27789 Likewise.
27790 * sysdeps/powerpc/powerpc32/dl-machine.h
27791 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
27792 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
27793 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
27794 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
27795 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
27796 Likewise.
27797 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
27798 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
27799 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
27800 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
27801 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
27802 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
27803 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
27804 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
27805 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
27806 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
27807 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
27808 (elf_machine_lazy_rel): Likewise.
27809 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
27810 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
27811 (elf_machine_lazy_rel): Likewise.
27812 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
27813 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
27814 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
27815 * sysdeps/unix/grantpt.c (grantpt): Likewise.
27816 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
27817 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
27818 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
27819 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
27820 Likewise.
27821 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
27822 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
27823 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
27824 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
27825 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
27826 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
27827 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
27828 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
27829 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
27830 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
27831 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
27832 Likewise.
27833 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
27834 (__posix_fallocate64_l64): Likewise.
27835 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
27836 (posix_fallocate): Likewise.
27837 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
27838 Likewise.
27839 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27840 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
27841 (getifaddrs_internal): Likewise.
27842 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
27843 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
27844 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
27845 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
27846 * sysdeps/unix/sysv/linux/posix_fallocate64.c
27847 (__posix_fallocate64_l64): Likewise.
27848 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
27849 Likewise.
27850 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
27851 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
27852 (__get_clockfreq): Likewise.
27853 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
27854 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
27855 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
27856 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27857 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27858 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
27859 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
27860 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
27861 Likewise.
27862 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
27863 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
27864 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
27865 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
27866 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
27867 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
27868 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
27869 Likewise.
27870 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
27871 (posix_fallocate): Likewise.
27872 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27873 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
27874 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
27875 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
27876 (elf_machine_rela, elf_machine_rela_relative)
27877 (elf_machine_lazy_rel): Likewise.
27878 * time/asctime.c (asctime_internal): Likewise.
27879 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
27880 * time/tzset.c (__tzset_parse_tz): Likewise.
27881 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
27882 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
27883 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
27884 * wcsmbs/wcsmbsload.h: Likewise.
27885
27886 [BZ #15894]
27887 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
27888
27889 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
27890 (arena_get2): Remove THREAD_STATS conditionals.
27891 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
27892 (__malloc_stats, int): Likewise.
27893
27894 2014-02-08 Mike Frysinger <vapier@gentoo.org>
27895
27896 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
27897 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
27898
27899 * manual/setjmp.texi: Fix typos/grammar errors.
27900
27901 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
27902 Only return early when n is <= 0. Delete unused return statement.
27903
27904 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
27905 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
27906 * debug/tst-longjmp_chk3.c: New file.
27907
27908 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
27909 (test_main): Replace code with set_fortify_handler call.
27910 * debug/test-strcpy_chk.c: Likewise.
27911 * debug/tst-chk1.c: Likewise.
27912 * debug/tst-longjmp_chk.c: Likewise.
27913 * test-skeleton.c: Include fcntl.h & paths.h
27914 (set_fortify_handler): Define.
27915
27916 * debug/tst-longjmp_chk.c: Add header comment and include
27917 ../test-skeleton.c.
27918 (do_test): Mark static.
27919 (TEST_FUNCTION): Define.
27920
27921 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
27922 (IP_PMTUDISC_INTERFACE): Likewise.
27923 (IP_MULTICAST_IF): Likewise.
27924 (IP_MULTICAST_TTL): Likewise.
27925 (IP_MULTICAST_LOOP): Likewise.
27926 (IP_ADD_MEMBERSHIP): Likewise.
27927 (IP_DROP_MEMBERSHIP): Likewise.
27928 (IP_UNBLOCK_SOURCE): Likewise.
27929 (IP_BLOCK_SOURCE): Likewise.
27930 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
27931 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
27932 (IP_MSFILTER): Likewise.
27933 (MCAST_JOIN_GROUP): Likewise.
27934 (MCAST_BLOCK_SOURCE): Likewise.
27935 (MCAST_UNBLOCK_SOURCE): Likewise.
27936 (MCAST_LEAVE_GROUP): Likewise.
27937 (MCAST_JOIN_SOURCE_GROUP): Likewise.
27938 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
27939 (MCAST_MSFILTER): Likewise.
27940 (IP_MULTICAST_ALL): Likewise.
27941 (IP_UNICAST_IF): Likewise.
27942
27943 * timezone/Makefile: Delete $(have-ksh) check.
27944 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
27945 * timezone/tzselect.ksh: Add +x mode bits.
27946
27947 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
27948 (ANON_INODE_FS_MAGIC): Likewise.
27949 (BDEVFS_MAGIC): Likewise.
27950 (BINFMTFS_MAGIC): Likewise.
27951 (BTRFS_TEST_MAGIC): Likewise.
27952 (CRAMFS_MAGIC_WEND): Likewise.
27953 (DEBUGFS_MAGIC): Likewise.
27954 (ECRYPTFS_SUPER_MAGIC): Likewise.
27955 (EXT3_SUPER_MAGIC): Likewise.
27956 (EXT4_SUPER_MAGIC): Likewise.
27957 (FUTEXFS_SUPER_MAGIC): Likewise.
27958 (HOSTFS_SUPER_MAGIC): Likewise.
27959 (HUGETLBFS_MAGIC): Likewise.
27960 (MINIX3_SUPER_MAGIC): Likewise.
27961 (MTD_INODE_FS_MAGIC): Likewise.
27962 (NILFS_SUPER_MAGIC): Likewise.
27963 (OPENPROM_SUPER_MAGIC): Likewise.
27964 (PIPEFS_MAGIC): Likewise.
27965 (PSTOREFS_MAGIC): Likewise.
27966 (QNX6_SUPER_MAGIC): Likewise.
27967 (RAMFS_MAGIC): Likewise.
27968 (REISERFS_SUPER_MAGIC_STRING): Likewise.
27969 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
27970 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
27971 (SECURITYFS_MAGIC): Likewise.
27972 (SELINUX_MAGIC): Likewise.
27973 (SMACK_MAGIC): Likewise.
27974 (SOCKFS_MAGIC): Likewise.
27975 (SQUASHFS_MAGIC): Likewise.
27976 (STACK_END_MAGIC): Likewise.
27977 (TMPFS_MAGIC): Likewise.
27978 (USBDEVICE_SUPER_MAGIC): Likewise.
27979 (V9FS_MAGIC): Likewise.
27980 (XENFS_SUPER_MAGIC): Likewise.
27981 (CRAMFS_MAGIC): Fix typo in comment.
27982 (EXT2_SUPER_MAGIC): Update comment.
27983 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
27984
27985 2014-02-08 Joseph Myers <joseph@codesourcery.com>
27986
27987 * sysdeps/arm: Move directory from ports/sysdeps/arm.
27988 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
27989 * sysdeps/unix/sysv/linux/arm: Move directory from
27990 ports/sysdeps/unix/sysv/linux/arm.
27991 * README: Update listing for arm-*-linux-gnueabi.
27992
27993 * README: Remove mention of am33.
27994
27995 2014-02-07 Roland McGrath <roland@hack.frob.com>
27996
27997 * bits/sigset.h (__sigemptyset): Use a statement expression rather
27998 than the comma operator, to avoid "rhs of comma has no effect"
27999 compiler warnings.
28000 (__sigfillset, __sigandset, __sigorset): Likewise.
28001 * include/signal.h (__sigemptyset): Likewise.
28002 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
28003
28004 2014-02-07 Allan McRae <allan@archlinux.org>
28005
28006 * version.h (RELEASE): Set to "development".
28007 (VERSION): Set to "2.19.90"
28008 * NEWS: Add 2.20 section.
28009
28010 2014-02-06 Carlos O'Donell <carlos@redhat.com>
28011
28012 [BZ #16529]
28013 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
28014
28015 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
28016
28017 * manual/contrib.texi: Update entry for Carlos O'Donell,
28018 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
28019
28020 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
28021
28022 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
28023
28024 * sysdeps/unix/sysv/linux/kernel-features.h
28025 [__LINUX_KERNEL_VERSION >= 0x020621]
28026 (__ASSUME_PROC_PID_TASK_COMM): Define.
28027
28028 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
28029
28030 [BZ #16398]
28031 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
28032 conversion when destination buffer does not have enough space.
28033 * libio/tst-ftell-partial-wide.c: New test case.
28034 * libio/Makefile (tests): Add tst-ftell-partial-wide.
28035
28036 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
28037 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
28038 Leonard and Allan McRae.
28039
28040 2014-02-04 David S. Miller <davem@davemloft.net>
28041
28042 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
28043 32-bit.
28044
28045 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28046
28047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
28048 New file
28049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
28050 New file
28051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
28052 New file.
28053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
28054 New file.
28055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
28056 New file.
28057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
28058 New file.
28059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
28060 New file.
28061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
28062 New file.
28063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
28064 New file.
28065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
28066 New file.
28067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
28068 New file.
28069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
28070 New file.
28071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
28072 New file.
28073
28074 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28075
28076 * nptl/shlib-versions: Change powerpc*le start to 2.17.
28077 * shlib-versions: Likewise.
28078
28079 2014-02-04 Roland McGrath <roland@hack.frob.com>
28080 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28081
28082 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
28083 (abilist-pattern): New variable, set to %-le.abilist.
28084
28085 * Makerules (abilist-pattern): New variable.
28086 (vpath): Use $(abilist-pattern) in place of %.abilist.
28087 (check-abi-% pattern rule): Likewise.
28088 (check-abi, update-abi): Likewise.
28089
28090 2014-02-04 Eric Wong <normalperson@yhbt.net>
28091
28092 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28093
28094 2014-02-03 Carlos O'Donell <carlos@redhat.com>
28095
28096 * manual/startup.texi: Add next, previous, and top entries for
28097 the `Program Arguments' and `Environment Variables' nodes.
28098
28099 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
28100
28101 * manual/macros.texi: Add comments before MTASC-safety macros.
28102
28103 * manual/users.texi: Document MTASC-safety properties.
28104
28105 * manual/threads.texi (pthread_key_create, pthread_key_delete)
28106 (pthread_getspecific, pthread_setspecific): Format with
28107 @deftypefun, and add @safety note.
28108 * manual/signal.texi: Move comments that analyze the above
28109 functions to their home place.
28110
28111 2014-02-03 Allan McRae <allan@archlinux.org>
28112
28113 * po/sl.po: Update Slovenian translation from translation project.
28114
28115 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
28116
28117 * manual/time.texi (timegm): Add missing blank after @c.
28118 Reported by Joseph Myers <joseph@codesourcery.com>.
28119
28120 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
28121
28122 * manual/check-safety.sh: New.
28123 * manual/Makefile ($(objpfx)stamp-summary): Run it.
28124
28125 * manual/terminal.texi: Document MTASC-safety properties.
28126
28127 * manual/filesys.texi: Document MTASC-safety properties.
28128
28129 * manual/errno.texi: Document MTASC-safety properties.
28130
28131 * manual/intro.texi: Document safety identifiers and
28132 conditionals.
28133
28134 * manual/string.texi (wcstok): Fix prototype.
28135 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
28136
28137 * manual/time.texi: Document MTASC-safety properties.
28138
28139 * manual/string.texi: Document MTASC-safety properties.
28140
28141 * manual/threads.texi: Document MTASC-safety properties.
28142
28143 * manual/stdio.texi: Document MTASC-safety properties.
28144
28145 * manual/syslog.texi: Document MTASC-safety properties.
28146
28147 * manual/sysinfo.texi: Document MTASC-safety properties.
28148
28149 * manual/startup.texi: Document MTASC-safety properties.
28150
28151 * manual/socket.texi: Document MTASC-safety properties.
28152
28153 * manual/signal.texi: Document MTASC-safety properties.
28154
28155 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
28156
28157 * manual/setjmp.texi: Document MTASC-safety properties.
28158
28159 * manual/search.texi: Document MTASC-safety properties.
28160
28161 * manual/resource.texi: Document MTASC-safety properties.
28162
28163 * manual/process.texi: Document MTASC-safety properties.
28164
28165 * manual/platform.texi: Document MTASC-safety properties.
28166
28167 * manual/pipe.texi: Document MTASC-safety properties.
28168
28169 * manual/pattern.texi: Document MTASC-safety properties.
28170
28171 * manual/message.texi: Document MTASC-safety properties.
28172
28173 [BZ #12751]
28174 * manual/memory.texi: Document MTASC-safety properties.
28175
28176 * manual/math.texi: Document MTASC-safety properties.
28177
28178 * manual/locale.texi: Document MTASC-safety properties.
28179
28180 * manual/llio.texi: Document MTASC-safety properties.
28181
28182 * manual/libdl.texi: New.
28183
28184 * manual/lang.texi: Document MTASC-safety properties.
28185
28186 * manual/job.texi: Document MTASC-safety properties.
28187
28188 * manual/getopt.texi: Document MTASC-safety properties.
28189
28190 * manual/ctype.texi: Document MTASC-safety properties.
28191
28192 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
28193
28194 [BZ #16046]
28195 * csu/libc-tls.c (static_map): Remove variable.
28196 (__libc_setup_tls): Use main executable's link map for TLS data.
28197 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
28198 casing for LM_ID_BASE and GL(dl_nns).
28199 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
28200 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
28201 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
28202 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
28203 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
28204 member.
28205 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
28206 l_phnum members.
28207
28208 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
28209
28210 * manual/debug.texi: Document MTASC-safety properties.
28211
28212 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
28213
28214 [BZ #16510]
28215 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
28216 of __x86_64__ when disabling x87 inline functions.
28217
28218 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
28219
28220 * manual/charset.texi: Document MTASC-safety properties.
28221
28222 * manual/crypt.texi: Document MTASC-safety properties.
28223
28224 * manual/conf.texi: Document MTASC-safety properties.
28225
28226 * manual/arith.texi: Document MTASC-safety properties.
28227
28228 * manual/argp.texi: Document MTASC-safety properties.
28229
28230 * manual/macros.texi: Introduce macros to document multi
28231 thread, asynchronous signal and asynchronous cancellation
28232 safety properties.
28233 * manual/intro.texi: Introduce the properties themselves.
28234
28235 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28236
28237 * sysdeps/sh/sh4/Makefile: New file.
28238
28239 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
28240
28241 * math/gen-libm-test.pl ($srcdir): New variable.
28242 ($auto_input): Use it.
28243
28244 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
28245
28246 [BZ #16506]
28247 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
28248 access beyond array bounds when parsing netgroups file.
28249
28250 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
28251 the old buffer before realloc.
28252
28253 2014-01-27 Allan McRae <allan@archlinux.org>
28254
28255 * po/fr.po: Update French translation from translation project.
28256
28257 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28258
28259 * sysdeps/sh/libm-test-ulps: Regenerate.
28260
28261 2014-01-24 David S. Miller <davem@davemloft.net>
28262
28263 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
28264
28265 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28266
28267 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
28268 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
28269
28270 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
28271
28272 [BZ #16474]
28273 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
28274 string pointers after reallocation.
28275
28276 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28277
28278 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
28279 __SH4A__ instead of __SH_FPU_ANY__.
28280
28281 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28282
28283 * sysdeps/sh/fpu_control.h: New file.
28284 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
28285 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
28286 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
28287 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
28288 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
28289 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
28290 * sysdeps/sh/sys/ucontext.h: Remove.
28291 * sysdeps/sh/sys: Remove directory.
28292
28293 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28294
28295 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
28296 s390/sys/ucontext.h.
28297 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
28298 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
28299
28300 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
28301
28302 [BZ #15605]
28303 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
28304
28305 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28306
28307 [BZ#16431]
28308 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
28309 Adjust the vDSO correctly for internal calls.
28310 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
28311
28312 2014-01-20 Allan McRae <allan@archlinux.org>
28313
28314 * po/ca.po: Update Catalan translation from translation project.
28315
28316 2014-01-16 Mike Frysinger <vapier@gentoo.org>
28317
28318 * sysdeps/s390/sotruss-lib.c: New file.
28319
28320 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28321
28322 [BZ#16430]
28323 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
28324 (__GI___gettimeofday): Alias for a different internal symbol to avoid
28325 local calls issues by not having a PLT stub required for IFUNC calls.
28326 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
28327
28328 2014-01-16 Joseph Myers <joseph@codesourcery.com>
28329
28330 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
28331 * math/test-fpucw-static.c: Likewise.
28332
28333 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
28334
28335 [BZ #16453]
28336 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
28337
28338 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28339
28340 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
28341 implementation for powerpc.
28342
28343 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
28344
28345 [BZ #14782]
28346 * sysdeps/posix/system.c (__libc_system): Do not enable
28347 asynchronous cancellation.
28348
28349 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28350
28351 [BZ #16427]
28352 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
28353 handling only for numbers special also in the IEEE case.
28354
28355 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28356
28357 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
28358
28359 2014-01-11 Allan McRae <allan@archlinux.org>
28360
28361 * po/bg.po: Update Bulgarian translation from translation project.
28362
28363 * po/de.po: Update German translation from translation project.
28364
28365 2014-01-10 Roland McGrath <roland@hack.frob.com>
28366
28367 * sysdeps/generic/gcc-compat.h: New file.
28368
28369 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
28370
28371 * benchtests/asin-inputs: Correct slow inputs.
28372 * benchtests/acos-inputs: Likewise.
28373
28374 2014-01-10 Allan McRae <allan@archlinux.org>
28375
28376 * po:sv.po: Update Swedish translation from translation project.
28377
28378 * po/vi.po: Update Vietnamese translation from translation project.
28379
28380 * po/eo.po: Update Esperanto translation from translation project.
28381
28382 * po/cs.po: Update Czech translation from translation project.
28383
28384 * po/nl.po: Update Dutch translation from translation project.
28385
28386 * po/pl.po: Update Polish translation from translation project.
28387
28388 * po/ru.po: Update Russian translation from translation project.
28389
28390 * po/uk.po: Update Ukrainian translation from translation project.
28391
28392 2014-01-08 Brooks Moses <bmoses@google.com>
28393
28394 * elf/dl-load.c: Fix comment typo.
28395
28396 2014-01-08 Carlos O'Donell <carlos@redhat.com>
28397
28398 * po/header.pot: Rename to...
28399 * po/pot.header: ... this.
28400 * po/Makefile: Use pot.header.
28401
28402 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
28403 Maxim Kuvyrkov <maxim@kugelworks.com>
28404
28405 [BZ #16394]
28406 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
28407 SRC and DEST against LEN.
28408
28409 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28410
28411 [BZ #16414]
28412 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
28413 implementation.
28414 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
28415
28416 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28417
28418 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28419
28420 2014-01-08 Joseph Myers <joseph@codesourcery.com>
28421
28422 [BZ #16408]
28423 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
28424 for large positive arguments.
28425
28426 2014-01-07 Joseph Myers <joseph@codesourcery.com>
28427
28428 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
28429
28430 * math/auto-libm-test-in: Mark various tests with
28431 xfail-rounding:ldbl-128ibm.
28432 * math/auto-libm-test-out: Regenerated.
28433
28434 [BZ #16407]
28435 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
28436 Increase overflow threshold.
28437
28438 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
28439
28440 [BZ #14286]
28441 * stdio-common/vfprintf.c: Check for integer overflow.
28442
28443 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28444
28445 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
28446 the first argument and return value of __tls_get_addr_internal.
28447
28448 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28449
28450 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
28451 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
28452
28453 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28454
28455 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
28456 * sysdeps/s390/rtld-global-offsets.sym: New file.
28457 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
28458 GLIBC_2.19 symbol.
28459 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
28460 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
28461 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
28462 ... this.
28463 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
28464 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
28465 ... this.
28466 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
28467 Regenerate.
28468 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
28469 Regenerate.
28470 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
28471 halfs of GPRs for high_gprs contexts.
28472 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
28473 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
28474 field.
28475 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
28476 uc_flags field.
28477 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
28478 64 bit versions:
28479 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
28480 for high GPRs (uc_high_gprs) and for future extensions
28481 (__reserved).
28482 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
28483 for future extensions (__reserved).
28484 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
28485 64 bit versions:
28486 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
28487 SC_HIGHGPRS offset definition.
28488 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
28489 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
28490
28491 * Versions.def: Add GLIBC_2.19 for libpthread.
28492 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
28493 siglongjmp for libpthread with GLIBC_2.19 symver.
28494 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
28495 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
28496 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
28497 * sysdeps/s390/__longjmp.c: New file.
28498 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
28499 * sysdeps/s390/longjmp.c: New file.
28500 * sysdeps/s390/setjmp.S: New file.
28501 * sysdeps/s390/sigjmp.S: New file.
28502 * sysdeps/s390/v1-longjmp.c: New file.
28503 * sysdeps/s390/v1-setjmp.h: New file.
28504 * sysdeps/s390/v1-sigjmp.c: New file.
28505 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
28506 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
28507 GLIBC_2.19 version.
28508 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
28509 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
28510 versioned symbols for ____longjmp_chk.
28511 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
28512 Likewise.
28513 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
28514 Regenerate.
28515 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
28516 Regenerate.
28517 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
28518 Regenerate.
28519 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
28520 Regenerate.
28521 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
28522 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
28523 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
28524 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
28525 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
28526 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
28527 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
28528 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
28529 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
28530 * sysdeps/s390/rtld-__longjmp.c: New file.
28531 * sysdeps/s390/rtld-setjmp.S: New file.
28532
28533 2014-01-06 Joseph Myers <joseph@codesourcery.com>
28534
28535 [BZ #16400]
28536 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
28537 Return -__logl (x) for small positive arguments without evaluating
28538 a polynomial.
28539
28540 2014-01-06 Mike Frysinger <vapier@gentoo.org>
28541
28542 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
28543 Rename to ...
28544 (__ptrace_peeksiginfo_args): ... this.
28545 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28546 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28547 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28548
28549 2014-01-06 Allan McRae <allan@archlinux.org>
28550
28551 * inet/netinet/in.h: Fix typo in comment.
28552
28553 2014-01-05 Andreas Jaeger <aj@suse.de>
28554
28555 * sysdeps/i386/fpu/libm-test-ulps: Update.
28556
28557 2014-01-05 Allan McRae <allan@archlinux.org>
28558
28559 * po/libc.pot: Regenerated.
28560
28561 * malloc/memusagestat.c: Fix gettext call formatting.
28562
28563 2014-01-04 Sami Kerola <kerolasa@iki.fi>
28564
28565 * nscd/nscd.c: Improve usage() output.
28566
28567 2014-01-04 Mike Frysinger <vapier@gentoo.org>
28568
28569 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
28570 * sysdeps/unix/sysv/linux/configure: Regenerated.
28571 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
28572 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
28573
28574 2014-01-03 Joseph Myers <joseph@codesourcery.com>
28575
28576 [BZ #16390]
28577 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
28578 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
28579
28580 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28581
28582 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
28583 extra tokens at end of #undef directive.
28584 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
28585 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
28586 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
28587
28588 2014-01-03 Joseph Myers <joseph@codesourcery.com>
28589
28590 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
28591
28592 * math/auto-libm-test-in: Mark various tests with
28593 xfail-rounding:ldbl-128ibm.
28594 * math/auto-libm-test-out: Regenerated.
28595
28596 2014-01-02 Joseph Myers <joseph@codesourcery.com>
28597
28598 [BZ #16386]
28599 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
28600 numbers with subnormal high part when calculating exponent.
28601
28602 [BZ #16385]
28603 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
28604 fabs.
28605
28606 [BZ #16384]
28607 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
28608 M_LN2l.
28609 (__ieee754_acoshl): Use __log1pl not __log1p.
28610
28611 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
28612
28613 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
28614 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
28615 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
28616 (grow_heap, heap_trim, _int_new_arena, get_free_list)
28617 (reused_arena, arena_get2): Convert to GNU style.
28618 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
28619 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
28620 (memalign_check, __malloc_set_state): Likewise.
28621 * malloc/mallocbug.c (main): Likewise.
28622 * malloc/malloc.c (__malloc_assert, malloc_init_state)
28623 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
28624 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
28625 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
28626 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
28627 (__posix_memalign, malloc_info): Likewise.
28628 * malloc/malloc.h: Likewise.
28629 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
28630 (mallochook, memalignhook, reallochook, mabort): Likewise.
28631 * malloc/mcheck.h: Likewise.
28632 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
28633 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
28634 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
28635 * malloc/morecore.c (__default_morecore): Likewise.
28636 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
28637 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
28638 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
28639 (print_and_abort): Likewise.
28640 * malloc/obstack.h: Likewise.
28641 * malloc/set-freeres.c (__libc_freeres): Likewise.
28642 * malloc/tst-mallocstate.c (main): Likewise.
28643 * malloc/tst-mtrace.c (main): Likewise.
28644 * malloc/tst-realloc.c (do_test): Likewise.
28645
28646 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
28647
28648 [BZ #16366]
28649 * nscd/netgroupcache.c (do_notfound): New function.
28650 (addgetnetgrentX): Use it.
28651
28652 [BZ # 16365]
28653 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
28654 NSS_STATUS_NOTFOUND.
28655
28656 2014-01-01 Joseph Myers <joseph@codesourcery.com>
28657
28658 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
28659 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28660
28661 2014-01-01 Allan McRae <allan@archlinux.org>
28662
28663 * scripts/update-copyrights: Update configure input file suffix.
28664
28665 * NEWS: Update copyright year.
28666 * catgets/gencat.c: Likewise.
28667 * csu/version.c: Likewise.
28668 * debug/catchsegv.sh: Likewise.
28669 * debug/pcprofiledump.c: Likewise.
28670 * debug/xtrace.sh: Likewise.
28671 * elf/ldconfig.c: Likewise.
28672 * elf/ldd.bash.in: Likewise.
28673 * elf/pldd.c: Likewise.
28674 * elf/sotruss.ksh: Likewise.
28675 * elf/sprof.c: Likewise.
28676 * iconv/iconv_prog.c: Likewise.
28677 * iconv/iconvconfig.c: Likewise.
28678 * locale/programs/locale.c: Likewise.
28679 * locale/programs/localedef.c: Likewise.
28680 * login/programs/pt_chown.c: Likewise.
28681 * malloc/memusage.sh: Likewise.
28682 * malloc/memusagestat.c: Likewise.
28683 * malloc/mtrace.pl: Likewise.
28684 * manual/libc.texinfo: Likewise.
28685 * nscd/nscd.c: Likewise.
28686 * nss/getent.c: Likewise.
28687 * nss/makedb.c: Likewise.
28688 * posix/getconf.c: Likewise.
28689 * scripts/test-installation.pl: Likewise.
28690
28691 * All files with FSF copyright notices: Update copyright dates
28692 using scripts/update-copyrights.
28693 * intl/plural.c: Regenerated.
28694 * locale/programs/charmap-kw.h: Likewise.
28695 * locale/programs/locfile-kw.h: Likewise.
28696
28697 2013-12-31 Mike Frysinger <vapier@gentoo.org>
28698
28699 * sysdeps/unix/sysv/linux/configure: Regenerated.
28700 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
28701 the linux/fanotify.h header.
28702 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
28703 HAVE_LINUX_FANOTIFY_H is defined.
28704
28705 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
28706
28707 * benchtests/cos-inputs: New inputs.
28708 * benchtests/sin-inputs: Likewise.
28709
28710 * benchtests/atan-inputs: New inputs. Fix name of multiple
28711 precision fallback inputs.
28712
28713 * benchtests/atanh-inputs: New inputs.
28714 * benchtests/tanh-inputs: Likewise.
28715
28716 * benchtests/acosh-inputs: New inputs.
28717 * benchtests/asinh-inputs: Likewise.
28718
28719 * benchtests/cosh-inputs: New inputs.
28720 * benchtests/sinh-inputs: Likewise.
28721
28722 * benchtests/acos-inputs: Add more inputs.
28723 * benchtests/asin-inputs: Likewise.
28724
28725 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
28726
28727 [BZ #16375]
28728 * manual/arith.texi: Fix spelling.
28729 * manual/charset.texi: Likewise.
28730 * manual/errno.texi: Likewise.
28731 * manual/filesys.texi: Likewise.
28732 * manual/lang.texi: Likewise.
28733 * manual/llio.texi: Likewise.
28734 * manual/locale.texi: Likewise.
28735 * manual/message.texi: Likewise.
28736 * manual/resource.texi: Likewise.
28737 * manual/search.texi: Likewise.
28738 * manual/setjmp.texi: Likewise.
28739 * manual/stdio.texi: Likewise.
28740 * manual/string.texi: Likewise.
28741 * manual/sysinfo.texi: Likewise.
28742 * manual/time.texi: Likewise.
28743
28744 2013-12-27 Carlos O'Donell <carlos@redhat.com>
28745
28746 * po/sl.po: New file.
28747
28748 2013-12-27 Mike Frysinger <vapier@gentoo.org>
28749
28750 * .gitignore: Add core/.gdbinit/.gdb_history.
28751
28752 2013-12-27 Allan McRae <allan@archlinux.org>
28753
28754 [BZ #16369]
28755 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
28756 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
28757
28758 2013-12-24 Brooks Moses <bmoses@google.com>
28759
28760 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
28761 all compilers that claim C++98 compliance, not just GCC.
28762 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
28763 Likewise.
28764
28765 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
28766
28767 * NEWS: Restore accidentally deleted bug-fix entries.
28768
28769 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
28770 Ondřej Bílka <neleai@seznam.cz>
28771
28772 [BZ #15073]
28773 * malloc/malloc.c (_int_free): Perform sanity check only if we
28774 have_lock.
28775
28776 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
28777
28778 [BZ #12986]
28779 * manual/stdio.texi (String Input Conversions): Clarify that character
28780 classes are not supported.
28781
28782 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28783
28784 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28785
28786 2013-12-22 Joseph Myers <joseph@codesourcery.com>
28787
28788 [BZ #16337]
28789 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
28790 Calculate results for small negative arguments directly rather
28791 than using reflection formula with special underflow handling.
28792
28793 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
28794 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
28795 sysdeps/unix/bsd/bsd4.4/syscalls.list.
28796 (fchflags): Likewise.
28797 (revoke): Likewise.
28798 (setlogin): Likewise.
28799 (sigaltstack): Likewise.
28800 (wait4): Likewise.
28801 (sigblock): Remove.
28802 (sigsetmask): Likewise.
28803 (wait3): Likewise.
28804 (waitpid): Likewise.
28805 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
28806 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
28807 file.
28808 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
28809 * sysdeps/unix/bsd/Makefile: ... here.
28810 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
28811 * sysdeps/unix/bsd/Versions: ... here.
28812 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
28813 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
28814 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
28815 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
28816 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
28817 * sysdeps/unix/bsd/sigblock.c: ... here.
28818 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
28819 * sysdeps/unix/bsd/sigsetmask.c: ... here.
28820 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
28821 * sysdeps/unix/bsd/sigvec.c: ... here.
28822 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
28823 * sysdeps/unix/bsd/tcdrain.c: ... here.
28824 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
28825 * sysdeps/unix/bsd/tcgetattr.c: ... here.
28826 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
28827 * sysdeps/unix/bsd/tcsetattr.c: ... here.
28828 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
28829 * sysdeps/unix/bsd/wait.c: ... here.
28830 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
28831 * sysdeps/unix/bsd/wait3.c: ... here.
28832 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
28833 * sysdeps/unix/bsd/waitpid.c: ... here.
28834
28835 2013-12-21 Joseph Myers <joseph@codesourcery.com>
28836
28837 [BZ #16356]
28838 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
28839 round-to-nearest for [!USE_AS_EXPM1L].
28840 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
28841 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
28842 more tests of exp and exp10. Expect some exp10 tests to miss
28843 exceptions or fail in directed rounding modes.
28844 * math/auto-libm-test-out: Regenerated.
28845 * math/libm-test.inc (exp10_tonearest_test_data): New array.
28846 (exp10_test_tonearest): New function.
28847 (exp10_towardzero_test_data): New array.
28848 (exp10_test_towardzero): New function.
28849 (exp10_downward_test_data): New array.
28850 (exp10_test_downward): New function.
28851 (exp10_upward_test_data): New array.
28852 (exp10_test_upward): New function.
28853 (main): Call the new functions.
28854 * sysdeps/i386/fpu/libm-test-ulps: Update.
28855 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28856
28857 2013-12-20 Joseph Myers <joseph@codesourcery.com>
28858
28859 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
28860 asinh, atan, atan2, atanh, cbrt, cos and cosh.
28861 * math/auto-libm-test-out: Regenerated.
28862 * math/libm-test.inc (acosh_test_data): Add more tests.
28863 (atanh_test_data): Likewise.
28864 (ceil_test_data): Likewise.
28865 (copysign_test_data): Likewise.
28866 * sysdeps/i386/fpu/libm-test-ulps: Update.
28867 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28868
28869 * timezone/checktab.awk: Update from tzcode 2013i.
28870 * timezone/private.h: Likewise.
28871 * timezone/scheck.c: Likewise.
28872 * timezone/tzfile.h: Likewise.
28873 * timezone/tzselect.ksh: Likewise.
28874 * timezone/zdump.c: Likewise.
28875 * timezone/zic.c: Likewise.
28876
28877 * math/auto-libm-test-in: Add tests of cpow.
28878 * math/auto-libm-test-out: Regenerated.
28879 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
28880 * math/gen-auto-libm-tests.c (func_calc_method): Add value
28881 mpc_cc_c.
28882 (func_calc_desc): Add mpc_cc_c union field.
28883 (test_functions): Add cpow.
28884 (special_fill_2pi): New function.
28885 (special_real_inputs): Add 2pi.
28886 (calc_generic_results): Handle mpc_cc_c.
28887 * sysdeps/i386/fpu/libm-test-ulps: Update.
28888 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28889
28890 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
28891 csqrt, ctan and ctanh.
28892 * math/auto-libm-test-out: Regenerated.
28893 * math/libm-test.inc (TEST_COND_x86_64): New macro.
28894 (TEST_COND_x86): Likewise.
28895 (ccos_test_data): Use AUTO_TESTS_c_c.
28896 (ccosh_test_data): Likewise.
28897 (cexp_test_data): Likewise.
28898 (clog_test_data): Likewise.
28899 (csqrt_test_data): Likewise.
28900 (ctan_test_data): Likewise.
28901 (ctan_tonearest_test_data): Likewise.
28902 (ctan_towardzero_test_data): Likewise.
28903 (ctan_downward_test_data): Likewise.
28904 (ctan_upward_test_data): Likewise.
28905 (ctanh_test_data): Likewise.
28906 (ctanh_tonearest_test_data): Likewise.
28907 (ctanh_towardzero_test_data): Likewise.
28908 (ctanh_downward_test_data): Likewise.
28909 (ctanh_upward_test_data): Likewise.
28910 * math/gen-auto-libm-tests.c (func_calc_method): Add value
28911 mpc_c_c.
28912 (func_calc_desc): Add mpc_c_c union field.
28913 (FUNC_mpc_c_c): New macro.
28914 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
28915 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
28916 ctanh.
28917 (special_fill_min_subnorm_p120): New function.
28918 (special_real_inputs): Add min_subnorm_p120.
28919 (calc_generic_results): Handle mpc_c_c.
28920 * sysdeps/i386/fpu/libm-test-ulps: Update.
28921 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28922
28923 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
28924
28925 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
28926 (do_sin_slow): New functions.
28927 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
28928 (cslow2, csloww1, csloww2): Use the new functions.
28929
28930 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
28931 Use M to change sign of result instead of X. Assume X is
28932 positive.
28933 (csloww1): Likewise.
28934 (__sin): Adjust.
28935 (__cos): Adjust.
28936
28937 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
28938 arguments A and DA.
28939 (__sin): Adjust.
28940 (__cos): Likewise.
28941
28942 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
28943 (__cos): Likewise.
28944 (sloww1): Don't adjust sign of DX.
28945 (csloww1): Likewise.
28946 (sloww2): Use X directly and don't adjust sign of DX.
28947 (csloww2): Likewise.
28948
28949 2013-12-19 Joseph Myers <joseph@codesourcery.com>
28950
28951 * math/auto-libm-test-in: Add tests of cabs and carg.
28952 * math/auto-libm-test-out: Regenerated.
28953 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
28954 (carg_test_data): Likewise.
28955 * math/gen-auto-libm-tests.c (func_calc_method): Add value
28956 mpc_c_f.
28957 (func_calc_desc): Add mpc_c_f union field.
28958 (test_functions): Add cabs and carg.
28959 (calc_generic_results): Handle mpc_c_f.
28960
28961 * sysdeps/powerpc/powerpc32/libgcc-compat.S
28962 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
28963 as a macro and a compat symbol.
28964 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
28965 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
28966 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
28967 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
28968 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
28969 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
28970 not use .hidden.
28971 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
28972 Likewise.
28973 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
28974 Likewise.
28975 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
28976 Likewise.
28977 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
28978 Likewise.
28979 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
28980 Likewise.
28981 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
28982 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
28983 from GLIBC_2.3.2.
28984
28985 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28986
28987 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28988
28989 2013-12-19 Joseph Myers <joseph@codesourcery.com>
28990
28991 * manual/texinfo.tex: Update to version 2013-11-26.10 with
28992 trailing whitespace removed.
28993 * scripts/config.guess: Update to version 2013-11-29.
28994 * scripts/config.sub: Update to version 2013-10-01.
28995
28996 * math/auto-libm-test-in: Add tests of sincos.
28997 * math/auto-libm-test-out: Regenerated.
28998 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
28999 * math/gen-auto-libm-tests.c (func_calc_method): Add value
29000 mpfr_f_11.
29001 (func_calc_desc): Add mpfr_f_11 union field.
29002 (test_functions): Add sincos.
29003 (calc_generic_results): Handle mpfr_f_11.
29004 * sysdeps/i386/fpu/libm-test-ulps: Update.
29005 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29006
29007 2013-12-19 Andreas Schwab <schwab@suse.de>
29008
29009 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
29010 CALL_MCOUNT.
29011 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
29012 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
29013 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
29014
29015 2013-12-19 Joseph Myers <joseph@codesourcery.com>
29016
29017 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
29018 * sysdeps/i386/fpu/libm-test-ulps: Update.
29019 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29020
29021 [BZ #16293]
29022 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
29023 round-to-nearest mode when using frndint.
29024 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
29025 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
29026 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
29027 Likewise.
29028 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
29029 sinh test to fail.
29030 * math/auto-libm-test-out: Regenerated.
29031 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
29032 (TEST_COND_x86): Likewise.
29033 (expm1_tonearest_test_data): New array.
29034 (expm1_test_tonearest): New function.
29035 (expm1_towardzero_test_data): New array.
29036 (expm1_test_towardzero): New function.
29037 (expm1_downward_test_data): New array.
29038 (expm1_test_downward): New function.
29039 (expm1_upward_test_data): New array.
29040 (expm1_test_upward): New function.
29041 (main): Run the new test functions.
29042 * sysdeps/i386/fpu/libm-test-ulps: Update.
29043 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29044
29045 * include/features.h: Update comment documenting feature test
29046 macros. Mention _DEFAULT_SOURCE in comment.
29047 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
29048 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
29049 _BSD_SOURCE and _SVID_SOURCE.
29050 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
29051 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
29052 !_SVID_SOURCE]: Likewise.
29053 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
29054 (__USE_POSIX_IMPLICITLY): Define.
29055 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
29056 (_POSIX_SOURCE): Undefine and redefine.
29057 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
29058 (_POSIX_C_SOURCE): Likewise.
29059 * manual/creature.texi (_DEFAULT_SOURCE): Document.
29060 (Feature Test Macros): Update documentation of default features.
29061
29062 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29063
29064 * benchtests/Makefile: Add bench-strtok.
29065 * benchtests/bench-strtok.c: New file: strtok benchtest.
29066
29067 2013-12-19 Allan McRae <allan@archlinux.org>
29068
29069 * manual/install.texi: Suppress menu for plain text output.
29070 * INSTALL: Regenerated.
29071
29072 2013-12-18 Brooks Moses <bmoses@google.com>
29073
29074 [BZ #15846]
29075 * misc/getauxval.c: Include errno.h.
29076 (__getauxval): Set errno to ENOENT if the requested type is not
29077 found.
29078 * misc/sys/auxv.h (getauxval): Document that it may set errno;
29079 don't declare with __attribute_const__.
29080 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
29081 * manual/startup.texi: Document that getauxval sets errno.
29082
29083 2013-12-18 Joseph Myers <joseph@codesourcery.com>
29084
29085 * math/auto-libm-test-in: Add tests of jn and yn.
29086 * math/auto-libm-test-out: Regenerated.
29087 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
29088 (yn_test_data): Likewise.
29089 * math/gen-auto-libm-tests.c (func_calc_method): Add value
29090 mpfr_if_f.
29091 (func_calc_desc): Add mpfr_if_f union field.
29092 (FUNC_mpfr_if_f): New macro.
29093 (test_functions): Add jn and yn.
29094 (calc_generic_results): Assert type of second input for
29095 mpfr_ff_f. Handle mpfr_if_f.
29096 (output_for_one_input_case): Disable all checking for arguments
29097 fitting floating-point types in case of an integer argument.
29098 * sysdeps/i386/fpu/libm-test-ulps: Update.
29099 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29100
29101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
29102 Don't expect fegetround reference in libm.so.
29103
29104 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29105
29106 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
29107 $(config-cflags-nofma).
29108
29109 2013-12-18 Joseph Myers <joseph@codesourcery.com>
29110
29111 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
29112 * math/auto-libm-test-out: Regenerated.
29113
29114 [BZ #16338]
29115 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
29116 to determine exponent and adjust argument to have exponent of -1.
29117 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
29118 log2.
29119 * math/auto-libm-test-out: Regenerated.
29120 * sysdeps/i386/fpu/libm-test-ulps: Update.
29121 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29122
29123 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
29124
29125 * manual/probes.texi: Remove cases when per-thread arenas are
29126 disabled.
29127
29128 2013-12-18 Andreas Schwab <schwab@suse.de>
29129
29130 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
29131 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
29132 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
29133 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
29134 * sysdeps/i386/i686/multiarch/Makefile: Update.
29135 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
29136
29137 2013-12-17 Joseph Myers <joseph@codesourcery.com>
29138
29139 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
29140 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
29141
29142 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
29143
29144 [BZ #15968]
29145 Support TZ transition times < 00:00:00.
29146 This is needed for version-3 tz-format files; it supports time
29147 stamps past 2037 for America/Godthab (the only entry in the tz
29148 database for which this change is relevant).
29149 * manual/time.texi (TZ Variable): Document transition times
29150 from -167:59:59 through -00:00:01.
29151 * time/tzset.c (tz_rule): Time of day is now signed.
29152 (__tzset_parse_tz): Parse negative time of day.
29153
29154 Document TZ transition times >= 25:00:00.
29155 * manual/time.texi (TZ Variable): Document transition times from
29156 25:00:00 through 167:59:59. These are already supported, and this
29157 support will help with version-3 tz-format files.
29158
29159 * manual/time.texi (TZ Variable): Modernize North America example
29160 to reflect current (i.e., 2007-and-later) daylight saving rules.
29161
29162 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
29163
29164 2013-12-17 Joseph Myers <joseph@codesourcery.com>
29165
29166 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
29167 * sysdeps/unix/bsd/bits/stat.h: Likewise.
29168 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
29169 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
29170 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
29171 * sysdeps/unix/bsd/bsdstat.h: Likewise.
29172 * sysdeps/unix/bsd/clock.c: Likewise.
29173 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
29174 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
29175 * sysdeps/unix/bsd/init-posix.c: Likewise.
29176 * sysdeps/unix/bsd/poll.c: Likewise.
29177 * sysdeps/unix/bsd/ptsname.c: Likewise.
29178 * sysdeps/unix/bsd/seekdir.c: Likewise.
29179 * sysdeps/unix/bsd/setegid.c: Likewise.
29180 * sysdeps/unix/bsd/seteuid.c: Likewise.
29181 * sysdeps/unix/bsd/setgid.c: Likewise.
29182 * sysdeps/unix/bsd/setrgid.c: Likewise.
29183 * sysdeps/unix/bsd/setruid.c: Likewise.
29184 * sysdeps/unix/bsd/setsid.c: Likewise.
29185 * sysdeps/unix/bsd/setuid.c: Likewise.
29186 * sysdeps/unix/bsd/sigaction.c: Likewise.
29187 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
29188 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
29189 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
29190 * sysdeps/unix/bsd/telldir.c: Likewise.
29191 * sysdeps/unix/bsd/times.c: Likewise.
29192 * sysdeps/unix/bsd/usleep.c: Likewise.
29193
29194 * misc/Makefile (install-lib): Remove libbsd-compat.a.
29195 ($(objpfx)libbsd-compat.a): Remove rule.
29196
29197 * include/features.h (__FAVOR_BSD): Do not define.
29198 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
29199 features conflicting with POSIX.
29200 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
29201 (_BSD_SOURCE): Remove description of not being a subset of other
29202 feature test macros.
29203 * manual/job.texi (getpgrp): Do not document BSD version.
29204 (getpgid): Do not document by reference to BSD getpgrp.
29205 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
29206 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
29207 * signal/signal.h [__FAVOR_BSD]: Likewise.
29208 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
29209 instead of making contents conditional on [__FAVOR_BSD].
29210 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
29211
29212 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29213
29214 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29215
29216 2013-12-17 Joseph Myers <joseph@codesourcery.com>
29217
29218 [BZ #16314]
29219 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
29220 values below 2**-450, not 2**-500.
29221 * math/auto-libm-test-in: Don't allow spurious underflow from
29222 hypot.
29223 * math/auto-libm-test-out: Regenerated.
29224
29225 [BZ #16316]
29226 [BZ #16330]
29227 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
29228 values of ha and hb and sort them after adjusting subnormal
29229 arguments.
29230 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
29231 Likewise.
29232 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
29233 values of ea and eb and sort them after adjusting subnormal
29234 arguments.
29235 * math/auto-libm-test-in: Do not expect some hypot tests of
29236 subnormals to fail. Add more hypot tests.
29237 * math/auto-libm-test-out: Regenerated.
29238
29239 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29240
29241 [BZ #13304]
29242 * sysdeps/sh/s_fma.c: New file.
29243 * sysdeps/sh/s_fmaf.c: New file.
29244 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
29245 version.
29246 * sysdeps/sh/Implies: Add sh/soft-fp.
29247
29248 2013-12-16 Roland McGrath <roland@hack.frob.com>
29249
29250 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
29251 level of indirection to members `objname', `errstring', `malloced'.
29252 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
29253 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
29254 it as the __longjmp argument (just pass 1 instead).
29255 (_dl_catch_error): Initialize C with argument pointers and address of
29256 volatile local ERRCODE rather than copying values out of C at return.
29257
29258 2013-12-16 Joseph Myers <joseph@codesourcery.com>
29259
29260 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
29261 * math/auto-libm-test-out: Regenerated.
29262 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
29263 (hypot_test_data): Likewise.
29264 (pow_test_data): Likewise.
29265 (pow_tonearest_test_data): Likewise.
29266 * math/gen-auto-libm-tests.c (func_calc_method): Add value
29267 mpfr_ff_f.
29268 (func_calc_desc): Add mpfr_ff_f union field.
29269 (FUNC_mpfr_ff_f): New macro.
29270 (test_functions): Add atan2, hypot and pow.
29271 (special_fill_min): New function.
29272 (special_fill_minus_min): Likewise.
29273 (special_fill_min_subnorm): Likewise.
29274 (special_fill_minus_min_subnorm): Likewise.
29275 (special_real_inputs): Add min, -min, min_subnorm and
29276 -min_subnorm.
29277 (calc_generic_results): Handle mpfr_ff_f.
29278 * sysdeps/i386/fpu/libm-test-ulps: Update.
29279 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29280
29281 2013-12-16 Will Newton <will.newton@linaro.org>
29282
29283 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
29284 (Aligned Memory Blocks): Add documentation for aligned_alloc
29285 and suggest it as an alternative to posix_memalign.
29286 (Hooks for Malloc): Document __memalign_hook is also called
29287 for aligned_alloc. (Summary of Malloc): Add summary for
29288 aligned alloc. Document __memalign_hook is also called
29289 for aligned_alloc.
29290
29291 2013-12-16 Will Newton <will.newton@linaro.org>
29292
29293 * manual/memory.texi (Malloc Examples): Clarify default
29294 alignment documentation. Suggest posix_memalign rather
29295 than memalign or valloc.
29296 (Aligned Memory Blocks): Remove suggestion to use memalign
29297 or valloc. Remove obsolete comment about BSD.
29298 Document memalign errno values and mark the function obsolete.
29299 Document posix_memalign returned error codes. Mark valloc
29300 as obsolete. (Hooks for Malloc): __memalign_hook is also
29301 called for posix_memalign and valloc.
29302 (Summary of Malloc): Add posix_memalign to function summary.
29303 __memalign_hook is also called for posix_memalign and valloc.
29304
29305 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
29306
29307 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
29308 TAYLOR_SIN.
29309 (__sin): Adjust.
29310 (__cos): Likewise.
29311 (sloww): Use mynumber union. Expand ternary operator into
29312 if-else statements.
29313 (cslow): use mynumber union.
29314
29315 2013-12-16 Allan McRae <allan@archlinux.org>
29316
29317 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
29318 * configure: Regenerated.
29319
29320 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
29321
29322 [BZ #14120]
29323 * configure.ac: Added --enable-maintainer-mode. Check for
29324 autoconf when enabled.
29325 * configure: Regenerated.
29326
29327 * nscd/nscd.service: New file.
29328 * nscd/nscd.tmpfiles: New file.
29329
29330 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
29331
29332 [BZ #12100]
29333 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
29334 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
29335 * sysdeps/x86_64/multiarch/strstr.c: ... here.
29336 (strstr): Add __strstr_sse2_unaligned ifunc.
29337 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
29338 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
29339 (strcasestr): Remove __strcasestr_sse42 ifunc.
29340 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
29341 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
29342 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
29343
29344 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29345
29346 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
29347 * sysdeps/sh/bits/fenv.h: ... here.
29348 * sysdeps/sh/sh4/fpu/bits: Remove directory.
29349
29350 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29351
29352 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
29353
29354 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
29355 hypotf multiarch implementations.
29356 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
29357 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
29358 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
29359 multiarch hypot for PPC64.
29360 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
29361 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
29362 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
29363 multiarch hypotf for PPC64.
29364
29365 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
29366 modff multiarch implementations.
29367 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
29368 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
29369 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
29370 multiarch modf for PPC64.
29371 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
29372 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
29373 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
29374 multiarch modff for PPC64.
29375
29376 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
29377 and logl multiarch implementations.
29378 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
29379 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
29380 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
29381 multiarch logb for PPC64.
29382 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
29383 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
29384 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
29385 multiarch logb for PPC64.
29386 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
29387 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
29388 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
29389 multiarch logb for PPC64.
29390
29391 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
29392 isinff multiarch implementation.
29393 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
29394 file.
29395 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
29396 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
29397 multiarch isinf for PPC64.
29398 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
29399 file.
29400 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
29401 multiarch isinff for PPC64.
29402
29403 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
29404 finitef multiarch implementation.
29405 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
29406 file.
29407 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
29408 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
29409 multiarch finite for PPC64.
29410 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
29411 file.
29412 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
29413 multiarch finitef for PPC64.
29414
29415 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
29416 lrint multiarch implementation.
29417 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
29418 file.
29419 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
29420 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
29421 multiarch llrint for PPC64.
29422 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
29423 multiarch lrint for PPC64.
29424
29425 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
29426 copysignf multiarch implementation.
29427 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
29428 file.
29429 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
29430 file.
29431 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
29432 multiarch copysign for PPC64.
29433 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
29434 multiarch copysignf for PPC64.
29435
29436 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
29437 multiarch implementation.
29438 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
29439 file.
29440 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
29441 file.
29442 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
29443 file.
29444 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
29445 file.
29446 multiarch llround for PPC64.
29447 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
29448 multiarch trunc for PPC64.
29449 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
29450 multiarch truncf for PPC64.
29451
29452 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
29453 multiarch implementation.
29454 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
29455 file.
29456 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
29457 file.
29458 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
29459 file.
29460 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
29461 file.
29462 multiarch llround for PPC64.
29463 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
29464 multiarch round for PPC64.
29465 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
29466 multiarch roundf for PPC64.
29467
29468 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
29469 multiarch implementation.
29470 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
29471 file.
29472 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
29473 file.
29474 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
29475 file.
29476 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
29477 file.
29478 multiarch llround for PPC64.
29479 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
29480 multiarch floor for PPC64.
29481 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
29482 multiarch floorf for PPC64.
29483
29484 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
29485 multiarch implementation.
29486 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
29487 file.
29488 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
29489 file.
29490 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
29491 file.
29492 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
29493 file.
29494 multiarch llround for PPC64.
29495 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
29496 multiarch ceil for PPC64.
29497 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
29498 multiarch ceilf for PPC64.
29499
29500 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
29501 multiarch implementation.
29502 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
29503 file.
29504 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
29505 file.
29506 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
29507 file.
29508 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
29509 multiarch llround for PPC64.
29510 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
29511 multiarch lround for PPC64.
29512
29513 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
29514 multiarch implementation.
29515 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
29516 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
29517 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
29518 file.
29519 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
29520 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
29521 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
29522 multiarch isnan for PPC64.
29523 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
29524 multiarch isnanf for PPC64.
29525
29526 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
29527 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
29528 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
29529 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
29530 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
29531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
29532
29533 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
29534 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
29535 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
29536 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
29537
29538 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
29539 multiarch implementations.
29540 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29541 (__libc_ifunc_impl_list): Likewise.
29542 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
29543 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
29544 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
29545 multiarch stpcpy for PPC64.
29546
29547 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
29548 multiarch implementations.
29549 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29550 (__libc_ifunc_impl_list): Likewise.
29551 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
29552 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
29553 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
29554 multiarch strcpy for PPC64.
29555
29556 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
29557 redefine function name.
29558 (_wordcopy_fwd_dest_aligned): Likewise.
29559 (_wordcopy_bwd_aligned): Likewise.
29560 (_wordcopy_bwd_dest_aligned): Likewise.
29561 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
29562 multiarch implementations.
29563 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29564 (__libc_ifunc_impl_list): Likewise.
29565 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
29566 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
29567 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
29568 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
29569 multiarch wcscpy for PPC64.
29570
29571 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
29572 multiarch implementations.
29573 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29574 (__libc_ifunc_impl_list): Likewise.
29575 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
29576 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
29577 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
29578 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
29579 multiarch wcscpy for PPC64.
29580
29581 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
29582 multiarch implementations.
29583 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29584 (__libc_ifunc_impl_list): Likewise.
29585 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
29586 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
29587 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
29588 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
29589 multiarch wcsrchr for PPC64.
29590
29591 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
29592 multiarch implementations.
29593 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29594 (__libc_ifunc_impl_list): Likewise.
29595 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
29596 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
29597 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
29598 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
29599 multiarch wcschr for PPC64.
29600
29601 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
29602 multiarch implementations.
29603 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29604 (__libc_ifunc_impl_list): Likewise.
29605 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
29606 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
29607 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
29608 multiarch strchrnul for PPC64.
29609
29610 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
29611 implementations.
29612 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29613 (__libc_ifunc_impl_list): Likewise.
29614 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
29615 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
29616 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
29617 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
29618 strchr for PPC64.
29619
29620 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
29621 implementations.
29622 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29623 (__libc_ifunc_impl_list): Likewise.
29624 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
29625 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
29626 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
29627 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
29628 strncmp for PPC64.
29629
29630 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
29631 multiarch implementations.
29632 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29633 (__libc_ifunc_impl_list): Likewise.
29634 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
29635 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
29636 strncasecmp for PPC64.
29637 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
29638 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
29639 multiarch strncasecmp_l for PPC64.
29640
29641 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
29642 multiarch implementations.
29643 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
29644 (__libc_ifunc_impl_list): Likewise.
29645 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
29646 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
29647 multiarch strcasecmp for PPC64.
29648 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
29649 file.
29650 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
29651 multiarch strcasecmp_l for PPC64.
29652
29653 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
29654 implementations.
29655 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29656 (__libc_ifunc_impl_list): Likewise.
29657 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
29658 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
29659 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
29660 strnlen for PPC64.
29661
29662 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
29663 implementations.
29664 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29665 (__libc_ifunc_impl_list): Likewise.
29666 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
29667 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
29668 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
29669 strlen for PPC64.
29670
29671 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
29672 implementations.
29673 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29674 (__libc_ifunc_impl_list): Likewise.
29675 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
29676 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
29677 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
29678 rawmemrchr for PPC64.
29679
29680 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
29681 implementation.
29682 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29683 (__libc_ifunc_impl_list): Likewise.
29684 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
29685 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
29686 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
29687 memrchr for PPC64.
29688
29689 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
29690 implementation.
29691 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29692 (__libc_ifunc_impl_list): Likewise.
29693 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
29694 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
29695 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
29696 memchr for PPC64.
29697
29698 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
29699 implementation.
29700 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29701 (__libc_ifunc_impl_list): Likewise.
29702 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
29703 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
29704 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
29705 mempcpy for PPC64.
29706
29707 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
29708 avoid cretion of __bzero symbol.
29709 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
29710 Likewise.
29711 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
29712 Likewise.
29713 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
29714 Likewise.
29715 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
29716 multiarch implementations.
29717 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29718 (__libc_ifunc_impl_list): Likewise.
29719 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
29720 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
29721 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
29722 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
29723 bzero for PPC32.
29724 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
29725 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
29726 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
29727 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
29728 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
29729 memset for PPC64.
29730 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
29731
29732 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
29733 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
29734 implementations.
29735 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29736 (__libc_ifunc_impl_list): Likewise.
29737 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
29738 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
29739 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
29740 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
29741 memcmp for PPC64.
29742
29743 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
29744 multiarch for POWER/PPC64.
29745 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
29746 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
29747 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
29748 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
29749 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
29750 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
29751 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
29752 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
29753 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
29754 memcpy for PPC64.
29755
29756 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
29757 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
29758 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
29759 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
29760 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
29761 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
29762 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
29763 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
29764 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
29765 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
29766 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
29767 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
29768 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
29769 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
29770 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
29771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
29772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
29773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
29774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
29775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
29776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
29777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
29778
29779 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29780
29781 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
29782
29783 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
29784
29785 * benchtests/Makefile (bench): Add exp2 and log2.
29786 (LDLIBS-bench-exp2): Add -lm.
29787 (LDLIBS-bench-log2): Likewise.
29788 * benchtests/exp2-inputs: New inputs file.
29789 * benchtests/log2-inputs: New inputs file.
29790 * benchtests/log-inputs: Add new inputs.
29791 * benchtests/tan-inputs: Likewise.
29792
29793 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
29794
29795 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
29796 definition...
29797 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
29798 (csloww2): ... from here.
29799
29800 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
29801 instead of structures.
29802 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
29803 (POLYNOMIAL): Likewise.
29804 (TAYLOR_SLOW): Likewise.
29805 (__sin): Likewise.
29806 (__cos): Likewise.
29807 (slow1): Likewise.
29808 (slow2): Likewise.
29809 (sloww): Likewise.
29810 (sloww1); Likewise.
29811 (sloww2): Likewise.
29812 (bsloww1): Likewise.
29813 (bsloww2): Likewise.
29814 (cslow2): Likewise.
29815 (csloww): Likewise.
29816 (csloww1): Likewise.
29817 (csloww2): Likewise.
29818
29819 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
29820
29821 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
29822 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
29823 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
29824 * malloc/hooks.c (realloc_check): Likewise.
29825
29826 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
29827 * malloc/arena.c: Remove PER_THREAD conditional.
29828 [!PER_THREAD]: Remove code.
29829 (ptmalloc_unlock_all2): Likewise.
29830 (ptmalloc_init): Likewise.
29831 (_int_new_arena): Likewise.
29832 (arena_get2): Likewise.
29833 * malloc/hooks.c (__malloc_get_state): Likewise.
29834 (__malloc_set_state): Likewise.
29835 * malloc/malloc.c: Likewise.
29836 (struct malloc_state): Likewise.
29837 (struct malloc_par): Likewise.
29838 (__libc_realloc): Likewise.
29839 (__libc_mallopt): Likewise.
29840
29841 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29842
29843 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
29844
29845 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
29846
29847 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
29848 macro to a function. Check for zero perturb_byte.
29849 (_int_malloc, _int_free): Remove zero perturb_byte checks.
29850
29851 * malloc/malloc.c: (force_reg): Remove.
29852 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
29853 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
29854 force_reg by atomic_forced_read.
29855 * malloc/arena.c (ptmalloc_init): Likewise.
29856 * malloc/hooks.c (top_check): Likewise.
29857
29858 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29859
29860 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29861
29862 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
29863
29864 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29865
29866 2013-12-08 Joseph Myers <joseph@codesourcery.com>
29867
29868 * math/auto-libm-test-in: Add tests of lgamma.
29869 * math/auto-libm-test-out: Regenerated.
29870 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
29871 (M_LOG_2_SQRT_PIl): Likewise.
29872 (lgamma_test_data): Use AUTO_TESTS_f_f1.
29873 * math/gen-auto-libm-tests.c (func_calc_method): Add value
29874 mpfr_f_f1.
29875 (func_calc_desc): Add mpfr_f_f1 union field.
29876 (ARGS1): New macro.
29877 (ARGS2): Likewise.
29878 (ARGS3): Likewise.
29879 (ARGS4): Likewise.
29880 (RET1): Likewise.
29881 (RET2): Likewise.
29882 (CALC): Likewise.
29883 (FUNC): Likewise.
29884 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
29885 (test_functions): Add lgamma.
29886 (calc_generic_results): Handle mpfr_f_f1.
29887 * sysdeps/i386/fpu/libm-test-ulps: Update.
29888 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29889
29890 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29891
29892 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
29893 __mpn_add_n for PowerPC64/POWER7.
29894 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
29895 __mpn_sub_n for PowerPC64/POWER7.
29896
29897 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
29898 __mpn_addmul_1 for PowerPC64.
29899 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
29900 __mpn_submul_1 for PowerPC64.
29901 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
29902 for PowerPC64.
29903 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
29904 for PowerPC64.
29905
29906 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
29907
29908 [BZ #15089]
29909 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
29910
29911 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29912
29913 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
29914
29915 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
29916 add multiarch folders.
29917 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
29918 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
29919 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
29920 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
29921 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
29922 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
29923 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
29924 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
29925 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
29926 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
29927 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
29928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
29929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
29930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
29931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
29932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
29933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
29934
29935 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
29936 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
29937 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
29938 New file.
29939 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
29940 New file.
29941 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
29942 multiarch __ieee754_hypot for PowerPC32.
29943 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
29944 New file.
29945 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
29946 New file.
29947 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
29948 multiarch __ieee754_hypotf for PowerPC32.
29949
29950 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
29951 long_double_symbol only if __logbl is defined.
29952 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
29953 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
29954 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
29955 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
29956 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
29957 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
29958 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
29959 path for implementation.
29960 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
29961 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
29962 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
29963 logb, and logbl multiarch implementations for PowerPC32.
29964 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
29965 file.
29966 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
29967 file.
29968 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
29969 multiarch logb for PowerPC32.
29970 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
29971 file.
29972 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
29973 file.
29974 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
29975 multiarch logbf for PowerPC32.
29976 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
29977 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
29978 file.
29979 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
29980 multiarch logbl implementation for PowerPC32.
29981
29982 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
29983 and modff multiarch implementations.
29984 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
29985 New file.
29986 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
29987 New file.
29988 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
29989 multiarch modf for PowerPC32.
29990 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
29991 New file.
29992 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
29993 New file.
29994 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
29995 multiarch modff for PowerPC32.
29996
29997 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
29998 and lrintf multiarch implementations.
29999 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
30000 New file.
30001 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
30002 New file.
30003 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
30004 multiarch lrint for PowerPC32.
30005 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
30006 file: multiarch lrintf for PowerPC32.
30007
30008 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
30009 and lroundf multiarch implementations.
30010 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
30011 New file.
30012 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
30013 New file.
30014 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
30015 New file.
30016 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
30017 multiarch lround for PowerPC32.
30018 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
30019 file: multiarch lroundf for PowerPC32.
30020
30021 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
30022 copysign and copysignf multiarch implementations.
30023 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
30024 New file.
30025 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
30026 New file.
30027 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
30028 file: multiarch copysign for PowerPC32.
30029 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
30030 file: multiarch copysignf for PowerPC32.
30031
30032 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
30033 and truncf multiarch implementations.
30034 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
30035 New file.
30036 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
30037 file.
30038 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
30039 multiarch trunc for PowerPC32.
30040 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
30041 New file.
30042 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
30043 New file.
30044 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
30045 multiarch truncf for PowerPC32.
30046
30047 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
30048 and roundf multiarch implementations.
30049 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
30050 New file.
30051 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
30052 file.
30053 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
30054 multiarch round for PowerPC32.
30055 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
30056 New file.
30057 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
30058 New file.
30059 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
30060 multiarch roundf for PowerPC32.
30061
30062 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
30063 and floorf multiarch implementations.
30064 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
30065 New file.
30066 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
30067 file.
30068 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
30069 multiarch floor for PowerPC32.
30070 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
30071 New file.
30072 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
30073 New file.
30074 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
30075 multiarch floorf for PowerPC32.
30076
30077 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
30078 and ceilf multiarch implementations.
30079 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
30080 New file.
30081 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
30082 file.
30083 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
30084 multiarch ceil for PowerPC32.
30085 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
30086 New file.
30087 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
30088 file.
30089 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
30090 multiarch ceilf for PowerPC32.
30091
30092 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
30093 is defined.
30094 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
30095 FINITEF is defined.
30096 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
30097 and finitef multiarch implementations.
30098 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
30099 New file.
30100 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
30101 file.
30102 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
30103 multiarch finite for PowerPC32.
30104 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
30105 New file.
30106 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
30107 file: multiarch finitef for PowerPC32.
30108
30109 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
30110 and isinff multiarch implementations.
30111 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
30112 file.
30113 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
30114 file.
30115 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
30116 multiarch isinf for PowerPC32.
30117 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
30118 New file.
30119 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
30120 multiarch isinff for PowerPC32.
30121
30122 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
30123 alias when __isnan is defined.
30124 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
30125 and isnanf multiarch implementations.
30126 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
30127 file.
30128 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
30129 file.
30130 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
30131 file.
30132 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
30133 file.
30134 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
30135 multiarch isnan for PowerPC32.
30136 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
30137 New file.
30138 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
30139 New file.
30140 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
30141 multiarch isnanf for PowerPC32.
30142
30143 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
30144 and sqrtf multiarch implementations.
30145 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
30146 file.
30147 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
30148 file.
30149 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
30150 multiarch sqrt for PowerPC32.
30151 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
30152 file.
30153 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
30154 file.
30155 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
30156 multiarch sqrtf for PowerPC32.
30157
30158 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
30159 and llroundf multiarch implementations.
30160 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
30161 New file.
30162 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
30163 New file.
30164 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
30165 New file.
30166 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
30167 file: multiarch llround for PowerPC32.
30168 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
30169 file: multiarch llroundf for PowerPC32.
30170
30171 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
30172 multiarch PowerPC32 fpu implementations.
30173 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
30174 New file.
30175 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
30176 New file.
30177 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
30178 multiarch llrint for PowerPC32.
30179 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
30180 New file.
30181 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
30182 New file.
30183 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
30184 file.
30185
30186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
30187
30188 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
30189 file.
30190 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
30191 file.
30192 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
30193 file.
30194 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
30195 multiarch wordcopy for PPC32.
30196 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
30197 wordcopy objects.
30198 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30199 (__libc_ifunc_impl_list): Likewise.
30200 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
30201 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
30202 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
30203 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
30204 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
30205 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
30206
30207 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
30208 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
30209 file.
30210 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
30211 file.
30212 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
30213 file.
30214 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
30215 multiarch wcscpy for PPC32.
30216 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
30217 multiarch objects.
30218 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30219 (__libc_ifunc_impl_list): Likewise.
30220 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
30221 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
30222 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
30223 sysdeps/powerpc/power6/wcscpy.c.
30224
30225 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
30226 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
30227 file.
30228 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
30229 file.
30230 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
30231 file.
30232 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
30233 multiarch wcsrchr for PPC32.
30234 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
30235 multiarch objects.
30236 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30237 (__libc_ifunc_impl_list): Likewise.
30238 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
30239 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
30240 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
30241 sysdeps/powerpc/power6/wcsrchr.c.
30242
30243 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
30244 file.
30245 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
30246 file.
30247 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
30248 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
30249 multiarch wcschr for PPc32.
30250 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
30251 multiarch objects.
30252 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30253 (__libc_ifunc_impl_list): Likewise.
30254 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
30255 * sysdeps/powerpc/power6/wcschr.c: ... to here.
30256 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
30257 sysdeps/powerpc/power6/wcschr.c.
30258
30259 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
30260 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
30261 file.
30262 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
30263 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
30264 file: multiarch strchr for PPC32.
30265 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
30266 multiarch objects.
30267 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30268 (__libc_ifunc_impl_list): Likewise.
30269
30270 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
30271 name.
30272 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
30273 file.
30274 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
30275 file.
30276 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
30277 multiarch strchrnul for PPC32.
30278 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
30279 multiarch objects.
30280 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30281 (__libc_ifunc_impl_list): Likewise.
30282
30283 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
30284 file.
30285 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
30286 multiarch strncasecmp for PPC32.
30287 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
30288 file.
30289 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
30290 multiarch strncasecmp_l for PPC32.
30291 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
30292 strncasecmp multiarch objects.
30293 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30294 (__libc_ifunc_impl_list): Likewise.
30295
30296 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
30297 file.
30298 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
30299 multiarch strncasecmp for PPC32.
30300 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
30301 New file.
30302 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
30303 multiarch strcasecmp_l for PPC32.
30304 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
30305 multiarch objects.
30306 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30307 (__libc_ifunc_impl_list): Likewise.
30308
30309 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
30310 file.
30311 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
30312 file.
30313 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
30314 multiarch strncmp for PPC32.
30315 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
30316 multiarch objects.
30317 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30318 (__libc_ifunc_impl_list): Likewise.
30319
30320 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
30321 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
30322 file.
30323 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
30324 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
30325 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
30326 multiarch objects.
30327 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30328 (__libc_ifunc_impl_list): Likewise.
30329
30330 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
30331 file.
30332 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
30333 file.
30334 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
30335 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
30336 multiarch objects.
30337 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30338 (__libc_ifunc_impl_list): Likewise.
30339
30340 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
30341 file.
30342 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
30343 file.
30344 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
30345 multiarch rawmemchr for PPC32.
30346 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
30347 multiarch objects.
30348 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30349 (__libc_ifunc_impl_list): Likewise.
30350
30351 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
30352 file.
30353 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
30354 file.
30355 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
30356 file: memrchr multiarch for PPC32.
30357 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
30358 multiarch objects.
30359 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30360 (__libc_ifunc_impl_list): Likewise.
30361
30362 * string/memchr.c (__memchr): Using macro to redefine symbol name.
30363 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
30364 file.
30365 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
30366 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
30367 multiarch memchr for PPC32.
30368 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
30369 multiarch objects.
30370 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
30371 (__libc_ifunc_impl_list): Likewise.
30372
30373 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
30374 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
30375 file.
30376 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
30377 file.
30378 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
30379 file: multiarch mempcpy for PPC32.
30380 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
30381 multiarch objects.
30382 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
30383 (__libc_ifunc_impl_list): Likewise.
30384
30385 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
30386 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
30387 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
30388 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
30389 multiarch bzero for PPC32.
30390 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
30391 file.
30392 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
30393 file.
30394 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
30395 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
30396 file: multiarch memset for PPC32.
30397 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
30398 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
30399 memset multiarch objects.
30400 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
30401 (__libc_ifunc_impl_list): Likewise.
30402
30403 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
30404 file.
30405 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
30406 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
30407 memcmp for PPC32.
30408 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
30409 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
30410 multiarch objects.
30411 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
30412 (__libc_ifunc_impl_list): Likewise.
30413
30414 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
30415 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
30416 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
30417 file.
30418 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
30419 file.
30420 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
30421 file.
30422 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
30423 multiarch memcpy for PPC32.
30424 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
30425 multiarch objects.
30426 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
30427 (__libc_ifunc_impl_list): Likewise.
30428
30429 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
30430 support multiarch for POWER/PPC32.
30431 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
30432 Likewise.
30433 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
30434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
30435 Implies file to make multiarch folder appers before the fpu and
30436 default folder for power4 configuration.
30437
30438 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
30439
30440 * scripts/bench.pl: Append volatile keyword to type.
30441
30442 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30443
30444 * sysdeps/sh/sotruss-lib.c: New file.
30445 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
30446
30447 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30448
30449 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30450
30451 2013-12-05 Joseph Myers <joseph@codesourcery.com>
30452
30453 [BZ #6810]
30454 * math/w_tgamma.c: Include <errno.h>.
30455 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
30456 * math/w_tgammaf.c: Include <errno.h>.
30457 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
30458 * math/w_tgammal.c: Include <errno.h>.
30459 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
30460 * math/auto-libm-test-in: Do not allow missing errno on tgamma
30461 underflow. Add more tgamma tests.
30462 * math/auto-libm-test-out: Regenerated.
30463 * sysdeps/i386/fpu/libm-test-ulps: Update.
30464 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30465
30466 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
30467 sin, sinh, tan, tanh, tgamma, y0 and y1.
30468 * math/auto-libm-test-out: Regenerated.
30469 * math/libm-test.inc (TEST_COND_x86_64): New macro.
30470 (TEST_COND_x86): Likewise.
30471 (M_E2l): Remove macro.
30472 (M_E3l): Likewise.
30473 (M_2_SQRT_PIl): Likewise.
30474 (M_SQRT_PIl): Likewise.
30475 (M_1_DIV_El): Likewise.
30476 (log_test_data): Use AUTO_TESTS_f_f.
30477 (log10_test_data): Likewise.
30478 (log1p_test_data): Likewise.
30479 (log2_test_data): Likewise.
30480 (sin_test_data): Likewise.
30481 (sin_tonearest_test_data): Likewise.
30482 (sin_towardzero_test_data): Likewise.
30483 (sin_downward_test_data): Likewise.
30484 (sin_upward_test_data): Likewise.
30485 (sinh_test_data): Likewise.
30486 (sinh_tonearest_test_data): Likewise.
30487 (sinh_towardzero_test_data): Likewise.
30488 (sinh_downward_test_data): Likewise.
30489 (sinh_upward_test_data): Likewise.
30490 (tan_test_data): Likewise.
30491 (tan_tonearest_test_data): Likewise.
30492 (tan_towardzero_test_data): Likewise.
30493 (tan_downward_test_data): Likewise.
30494 (tan_upward_test_data): Likewise.
30495 (tanh_test_data): Likewise.
30496 (tgamma_test_data): Likewise.
30497 (y0_test_data): Likewise.
30498 (y1_test_data): Likewise.
30499 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
30500 (special_real_inputs): Add pi/4.
30501 * sysdeps/i386/fpu/libm-test-ulps: Update.
30502 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30503
30504 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30505
30506 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
30507 "longjmp_target" static probes.
30508 (__longjmp): Rename to __longjmp_symbol.
30509 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
30510 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
30511 on which longjmp to generate.
30512 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
30513 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
30514 probe.
30515 (__sigsetjmp): Rename to __sigsetjmp_symbol.
30516 (__sigjmp_save): Rename to __sigjmp_save_symbol.
30517 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
30518 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
30519 and __sigjmp_save_symbol based on which sigsetjmp to generated.
30520 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
30521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
30522 __longjmp_symbol based on which __longjmp to generate.
30523 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
30524 probe.
30525 (setjmp): Rename to setjmp_symbol.
30526 (__sigsetjmp): Rename to __sigsetjmp_symbol.
30527 (_setjmp): Rename to _setjmp_symbol.
30528 (__sigsetjmp): Rename to __sigsetjmp_symbol.
30529 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
30530 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
30531 which setjmp to generate.
30532 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
30533 "longjmp_target" static probes.
30534
30535 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
30536
30537 * benchtests/README: Add note about output arguments.
30538 * benchtests/bench-sincos.c: Remove file.
30539 * benchtests/sincos-inputs: New file.
30540 * scripts/bench.pl: Identify output arguments and define
30541 static variables for them.
30542
30543 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
30544
30545 [BZ #15941]
30546 * Makefile (INSTALL): Add install-plain.texi as the primary
30547 dependency.
30548 * manual/install-plain.texi: New file.
30549 * manual/install.texi: Include node directive only for
30550 non-plaintext output.
30551
30552 2013-12-04 Joseph Myers <joseph@codesourcery.com>
30553
30554 * stdlib/longlong.h: Update from GCC.
30555
30556 [BZ #6807]
30557 [BZ #15901]
30558 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
30559 * math/w_j0f.c (y0f): Likewise.
30560 * math/w_j0l.c (__y0l): Likewise.
30561 * math/w_j1.c (y1): Likewise.
30562 * math/w_j1f.c (y1f): Likewise.
30563 * math/w_j1l.c (__y1l): Likewise
30564 * math/w_jn.c (yn): Likewise.
30565 * math/w_jnf.c (ynf): Likewise.
30566 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
30567 Bessel function pole errors in _POSIX_ mode. Use NAN as return
30568 value for Bessel function domain errors outside _SVID_ mode.
30569 Adjust sign of return value for yn (negative integer, 0).
30570 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
30571 by zero in return for negative x and set sign appropriately for
30572 negative n.
30573 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
30574 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
30575 * math/libm-test.inc (y0_test_data): Add more tests and adjust
30576 expectations in error cases.
30577 (y1_test_data): Likewise.
30578 (yn_test_data): Likewise.
30579 * sysdeps/i386/fpu/libm-test-ulps: Update.
30580 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30581
30582 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
30583
30584 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
30585 "64" to "64-v1". Add "64-v2".
30586 (abi-64-options): Rename to ...
30587 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
30588 (abi-64-condition): Rename to ...
30589 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
30590 (abi-64-ld-soname): Rename to ...
30591 (abi-64-v1-ld-soname): ... this.
30592 (abi-64-v2-options): Define.
30593 (abi-64-v2-condition): Likewise.
30594 (abi-64-v2-ld-soname): Likewise.
30595 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
30596 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
30597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
30598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
30599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
30600
30601 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
30602 Alan Modra <amodra@gmail.com>
30603
30604 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
30605 New versions for use with the ELFv2 ABI.
30606 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
30607 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
30608 declaration.
30609 (struct La_ppc64v2_retval): Likewise.
30610 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
30611 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
30612 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
30613 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
30614 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
30615 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
30616 Do not save or restore CR.
30617 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
30618 (_dl_profile_resolve): Do no save or restore CR. Support extended
30619 return values for ELFv2 ABI. Fix location of FPR return registers.
30620 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
30621 updated values for _CALL_ELF == 2.
30622 (La_regs, La_retval, int_retval): Likewise.
30623
30624 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
30625
30626 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
30627 (FRAME_MIN_SIZE_PARM): Likewise.
30628 (FRAME_BACKCHAIN): Likewise.
30629 (FRAME_CR_SAVE): Likewise.
30630 (FRAME_LR_SAVE): Likewise.
30631 (FRAME_TOC_SAVE): Likewise.
30632 (FRAME_PARM_SAVE): Likewise.
30633 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
30634 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
30635 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
30636 (call_mcount_parm_offset): New macro.
30637 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
30638 (PROF): Use symbolic stack frame offsets.
30639 (TAIL_CALL_SYSCALL_ERROR): Likewise.
30640 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
30641 Redefine in terms of FRAME_MIN_SIZE.
30642 (_dl_runtime_resolve): Use symbolic stack frame offsets.
30643 (_dl_profile_resolve): Likewise. Update comment.
30644 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
30645 symbols stack frame offsets.
30646 (__sigsetjmp): Likewise.
30647 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
30648 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
30649 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
30650 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
30651
30652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
30653 (FRAME_BACKCHAIN): Remove.
30654 (FRAME_CR_SAVE): Likewise.
30655 (FRAME_LR_SAVE): Likewise.
30656 (FRAME_COMPILER_DW): Likewise.
30657 (FRAME_LINKER_DW): Likewise.
30658 (FRAME_TOC_SAVE): Likewise.
30659 (FRAME_PARM_SAVE): Likewise.
30660 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
30661 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
30662 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
30663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
30664 (CHECK_SP): Use symbolic stack frame offsets.
30665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
30666 zone" instead of caller's parameter save area for temp storage.
30667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
30668 Likewise. Also, use symbolic stack frame offsets.
30669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
30670 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
30671 our own stack frame instead of the caller's.
30672 (__socket): Use symbolic stack frame offsets.
30673
30674 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
30675 Alan Modra <amodra@gmail.com>
30676
30677 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
30678 Define.
30679 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
30680 (PPC64_LOCAL_ENTRY_OFFSET): Define.
30681 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
30682 New function.
30683 (elf_machine_fixup_plt): Call it.
30684 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
30685 reloc arguments.
30686 (elf_machine_rela): Update call to elf_machine_plt_conflict.
30687 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
30688 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
30689 r2 before calling target.
30690
30691 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
30692 Alan Modra <amodra@gmail.com>
30693
30694 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
30695 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
30696 versions of macros to support ELFv2 ABI.
30697 (LOCALENTRY): New macro.
30698 (ENTRY, EALIGN): Use it.
30699 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
30700 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
30701 fall through into ENTRY entry point.
30702 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
30703 Only define if _CALL_ELF != 2.
30704
30705 (elf_machine_matches_host): Verify ABI version matches.
30706 (RTLD_START): Use LOCALENTRY.
30707 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
30708 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
30709 (PLT_ENTRY_WORDS): New macro.
30710 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
30711 (elf_machine_runtime_setup): Support ELFv2 ABI.
30712 (elf_machine_fixup_plt): Likewise.
30713 (elf_machine_plt_conflict): Likewise.
30714 (resolve_ifunc): Likewise.
30715 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
30716 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
30717 Likewise.
30718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
30719 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
30720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
30721 (makecontext): Support ELFv2 ABI.
30722 * elf/elf.h (EF_PPC64_ABI): Define.
30723
30724 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
30725
30726 * sysdeps/powerpc/powerpc64/sysdep.h
30727 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
30728 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
30729 (ENTRY) [ASSEMBLER]: ... but instead here ...
30730 (EALIGN) [ASSEMBLER]: ... and here.
30731 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
30732 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
30733 (ENTRY_2) [!ASSEMBLER]: Use it.
30734 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
30735 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
30736 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
30737 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
30738 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
30739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
30740 Use PPC64_LOAD_FUNCPTR.
30741
30742 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
30743
30744 2013-12-04 Alan Modra <amodra@gmail.com>
30745
30746 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
30747 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
30748 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
30749 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
30750
30751 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
30752 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
30753 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
30754 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
30755 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
30756 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
30757
30758 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
30759
30760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
30761 (__makecontext): Fix incorrect CFI when backtracing out of
30762 context created via makecontext.
30763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
30764 (__setcontext): Fix incorrect CFI during switch to new context.
30765 (__novec_setcontext): Likewise.
30766
30767 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
30768
30769 [BZ #4772]
30770 * time/strptime_l.c (__strptime_internal): Allow modifiers
30771 in strptime.
30772 * time/tst-strptime.c (day_tests): Add testcase.
30773
30774 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
30775
30776 * scripts/bench.pl: Skip over blank lines.
30777
30778 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
30779
30780 [BZ #926]
30781 * manual/time.texi (Calendar Time): Clarify what timezone functions
30782 use.
30783
30784 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30785
30786 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30787
30788 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
30789
30790 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
30791 implementation.
30792 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
30793 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
30794 * debug/memset_chk.c (__memset_chk): Likewise.
30795 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
30796 * debug/strncpy_chk.c: Likewise.
30797
30798 2013-12-03 Joseph Myers <joseph@codesourcery.com>
30799
30800 [BZ #15268]
30801 [BZ #15425]
30802 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
30803 (__ieee754_exp): For possibly underflowing results, check size of
30804 result and force underflow exception if required.
30805 * math/auto-libm-test-in: Add more tests of exp.
30806 * math/auto-libm-test-out: Regenerated.
30807 * sysdeps/i386/fpu/libm-test-ulps: Update.
30808 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30809
30810 [BZ #16283]
30811 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
30812 * math/w_exp2f.c (__exp2f): Likewise.
30813 * math/w_exp2l.c (__exp2l): Likewise.
30814 * math/auto-libm-test-in: Do not allow missing errno on exp2
30815 underflow.
30816 * math/auto-libm-test-out: Regenerated.
30817
30818 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
30819
30820 [BZ #16274]
30821 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
30822 handle filename validation.
30823 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
30824 (do_open): Delete.
30825
30826 2013-12-03 Joseph Myers <joseph@codesourcery.com>
30827
30828 [BZ #6786]
30829 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
30830 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
30831 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
30832 <float.h>.
30833 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
30834 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
30835 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
30836 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
30837 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
30838 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
30839 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
30840 * math/auto-libm-test-in: Don't allow missing errno from erfc.
30841 Add more erfc tests.
30842 * math/auto-libm-test-out: Regenerated.
30843 * sysdeps/i386/fpu/libm-test-ulps: Update.
30844 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30845
30846 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
30847 exp2, expm1, j0 and j1.
30848 * math/auto-libm-test-out: Regenerated.
30849 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
30850 (erfc_test_data): Likewise.
30851 (exp_test_data): Likewise.
30852 (exp_tonearest_test_data): Likewise.
30853 (exp_towardzero_test_data): Likewise.
30854 (exp_downward_test_data): Likewise.
30855 (exp_upward_test_data): Likewise.
30856 (exp10_test_data): Likewise.
30857 (exp2_test_data): Likewise.
30858 (expm1_test_data): Likewise.
30859 (j0_test_data): Likewise.
30860 (j1_test_data): Likewise.
30861 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
30862 (input_flag_type): Add flag_xfail_rounding.
30863 (input_flags): Add xfail-rounding.
30864 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
30865 (output_for_one_input_case): Handle flag_xfail_rounding.
30866 * sysdeps/i386/fpu/libm-test-ulps: Update.
30867 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30868
30869 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
30870
30871 [BZ #16289]
30872 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
30873 division by 0.
30874
30875 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
30876
30877 [BZ #16195]
30878 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
30879 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
30880 (STAP_PROBE0): New macro.
30881 (STAP_PROBE1): Likewise.
30882 (STAP_PROBE2): Likewise.
30883 (STAP_PROBE3): Likewise.
30884 (STAP_PROBE4): Likewise.
30885
30886 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
30887
30888 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
30889
30890 2013-12-02 Steve Ellcey <sellcey@mips.com>
30891
30892 * benchtests/Makefile (bench): Add sqrt.
30893 (LDLIBS-bench-sqrt): New.
30894 * benchtests/sqrt-input: New.
30895
30896 2013-12-02 Pavel Simerda <psimerda@redhat.com>
30897
30898 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
30899 (GAIH_EAI): Likewise.
30900 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
30901 (gaih_inet): Likewise.
30902 (getaddrinfo): Don't use GAIH_EAI.
30903
30904 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
30905 (struct gaih): Remove definition.
30906
30907 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
30908
30909 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
30910 Use HERRNOP directly.
30911
30912 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30913
30914 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30915
30916 2013-11-30 Joseph Myers <joseph@codesourcery.com>
30917
30918 * math/gen-auto-libm-tests.c (test_functions): Add more
30919 single-argument functions.
30920 (special_fill_pi_2): New function.
30921 (special_fill_minus_pi_2): Likewise.
30922 (special_fill_pi_6): Likewise.
30923 (special_fill_minus_pi_6): Likewise.
30924 (special_fill_pi_3): Likewise.
30925 (special_fill_2pi_3): Likewise.
30926 (special_fill_e): Likewise.
30927 (special_fill_1_e): Likewise.
30928 (special_fill_e_minus_1): Likewise.
30929 (special_real_inputs): Add more special inputs.
30930 (output_for_one_input_case): Do not require ERANGE on underflow to
30931 zero if round-to-nearest result does not underflow to zero, unless
30932 exact results required.
30933 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
30934 atan, atanh, cbrt, cos and cosh.
30935 * math/auto-libm-test-out: Regenerated.
30936 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
30937 (acos_tonearest_test_data): Likewise.
30938 (acos_towardzero_test_data): Likewise.
30939 (acos_downward_test_data): Likewise.
30940 (acos_upward_test_data): Likewise.
30941 (acosh_test_data): Likewise.
30942 (asin_test_data): Likewise.
30943 (asin_tonearest_test_data): Likewise.
30944 (asin_towardzero_test_data): Likewise.
30945 (asin_upward_test_data): Likewise.
30946 (asinh_test_data): Likewise.
30947 (atan_test_data): Likewise.
30948 (atanh_test_data): Likewise.
30949 (cbrt_test_data): Likewise.
30950 (cos_test_data): Likewise.
30951 (cos_tonearest_test_data): Likewise.
30952 (cos_towardzero_test_data): Likewise.
30953 (cos_downward_test_data): Likewise.
30954 (cos_upward_test_data): Likewise.
30955 (cosh_test_data): Likewise.
30956 (cosh_tonearest_test_data): Likewise.
30957 (cosh_towardzero_test_data): Likewise.
30958 (cosh_downward_test_data): Likewise.
30959 (cosh_upward_test_data): Likewise.
30960 * sysdeps/i386/fpu/libm-test-ulps: Update.
30961 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30962
30963 2013-11-29 Joseph Myers <joseph@codesourcery.com>
30964
30965 [BZ #6787]
30966 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
30967 * math/w_exp10f.c (__exp10f): Likewise.
30968 * math/w_exp10l.c (__exp10l): Likewise.
30969 * math/libm-test.inc (exp10_test_data): Add more tests and expect
30970 errno settings in existing tests.
30971
30972 [BZ #14032]
30973 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
30974 precision control set to double precision.
30975 * sysdeps/i386/fpu/w_sqrt.c: New file.
30976 * math/auto-libm-test-in: Add more tests.
30977 * math/auto-libm-test-out: Update.
30978
30979 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
30980 (sqrt_test_tonearest): New function.
30981 (sqrt_towardzero_test_data): New variable.
30982 (sqrt_test_towardzero): New function.
30983 (sqrt_downward_test_data): New variable.
30984 (sqrt_test_downward): New function.
30985 (sqrt_upward_test_data): New variable.
30986 (sqrt_test_upward): New function.
30987 (main): Call the new functions.
30988
30989 * math/gen-auto-libm-tests.c: New file.
30990 * math/auto-libm-test-in: Likewise.
30991 * math/auto-libm-test-out: New generated file.
30992 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
30993 variables.
30994 (%beautify): Add generated representations of zero.
30995 (top level): Set $auto_input and call parse_auto_input.
30996 (beautify): Remove trailing "f" from hex float constants.
30997 (parse_args): Handle XFAIL_TEST.
30998 (convert_condition): New function.
30999 (or_value): Likewise.
31000 (or_cond_value): Likewise.
31001 (generate_testfile): Handle AUTO_TESTS_* lines.
31002 (parse_auto_input): New function.
31003 * math/libm-test.inc (XFAIL_TEST): New macro.
31004 (ERRNO_UNCHANGED): Update value.
31005 (ERRNO_EDOM): Likewise.
31006 (ERRNO_ERANGE): Likewise.
31007 (IGNORE_RESULT): Likewise.
31008 (TEST_COND_flt_32): New macro.
31009 (TEST_COND_dbl_64): Likewise.
31010 (TEST_COND_ldbl_96_intel): Likewise.
31011 (TEST_COND_ldbl_96_m68k): Likewise.
31012 (TEST_COND_ldbl_128): Likewise.
31013 (TEST_COND_ldbl_128ibm): Likewise.
31014 (TEST_COND_long32): Likewise.
31015 (TEST_COND_long64): Likewise.
31016 (TEST_COND_before_rounding): Likewise.
31017 (TEST_COND_after_rounding): Likewise.
31018 (enable_test): Handle XFAIL_TEST flag.
31019 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
31020 with finite results.
31021 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
31022 auto-libm-test-out.
31023
31024 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
31025 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31026
31027 [BZ #16214]
31028 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
31029 __tls_get_addr_internal instead of __tls_get_offset in order to
31030 avoid GOT pointer dependency. Make rtld export
31031 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
31032 __tls_get_addr since we are a __tls_get_offset platform.
31033 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
31034 GOT pointer being set up before.
31035 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
31036
31037 2013-11-28 Joseph Myers <joseph@codesourcery.com>
31038
31039 * manual/math.texi (Errors in Math Functions): Document accuracy
31040 goals.
31041
31042 [BZ #15004]
31043 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
31044 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
31045 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
31046 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
31047 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
31048 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
31049 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
31050 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
31051 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
31052 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
31053 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
31054 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
31055 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
31056 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
31057 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
31058 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
31059
31060 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
31061 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
31062 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
31063 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
31064 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
31065 Likewise.
31066 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
31067 Likewise.
31068 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
31069 Likewise.
31070 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
31071 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
31072 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
31073 atomic-feupdateenv and flt-rounds.
31074 * sysdeps/powerpc/nofpu/Versions (libc): Add
31075 __atomic_feholdexcept, __atomic_feclearexcept,
31076 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
31077 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
31078 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
31079 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
31080 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
31081 here.
31082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
31083 Update.
31084
31085 * manual/arith.texi (FP Exceptions): Document that exceptions may
31086 not be raised when matherr is used.
31087 (Math Error Reporting): Document overflow in directed rounding
31088 modes. Document that errno may not be set when finite values are
31089 returned on overflow. Document intent to set errno on underflow
31090 only for underflow to zero.
31091
31092 [BZ #16271]
31093 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
31094 round-to-nearest then adjust result for other rounding modes.
31095 * include/fenv.h (fegetround): Use libm_hidden_proto.
31096 * math/fegetround.c (fegetround): Use libm_hidden_def.
31097 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
31098 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
31099 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
31100 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
31101 Likewise.
31102 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
31103 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
31104 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
31105 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
31106
31107 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31108
31109 [BZ #16077]
31110 * nss/Versions (libnss_files): Add
31111 _nss_files_gethostbyname3_r.
31112 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
31113 New function.
31114 (HOST_DB_LOOKUP): Remove macro.
31115 (_nss_files_gethostbyname_r): Implement function without the
31116 HOST_DB_LOOKUP macro.
31117 (_nss_files_gethostbyname2_r): Likewise.
31118
31119 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
31120
31121 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
31122
31123 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
31124
31125 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
31126 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
31127 warning.
31128
31129 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31130
31131 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
31132 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
31133 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
31134 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
31135 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
31136 __fe_nomask_env_priv and attribute_hidden.
31137 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
31138 (libc_feupdateenv_test_ppc): Likewise.
31139 (libc_feresetround_ppc): Likewise.
31140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
31141 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
31142 compat_symbol macro.
31143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
31144 (__fe_nomask_env): Likewise.
31145 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
31146
31147 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
31148
31149 * string/Makefile: Remove ifunc tests.
31150 * string/test-string.h: Define TEST_IFUNC.
31151 * string/test-bcopy-ifunc.c: Remove.
31152 * string/test-bzero-ifunc.c: Likewise.
31153 * string/test-memccpy-ifunc.c: Likewise.
31154 * string/test-memchr-ifunc.c: Likewise.
31155 * string/test-memcmp-ifunc.c: Likewise.
31156 * string/test-memcpy-ifunc.c: Likewise.
31157 * string/test-memmem-ifunc.c: Likewise.
31158 * string/test-memmove-ifunc.c: Likewise.
31159 * string/test-mempcpy-ifunc.c: Likewise.
31160 * string/test-memrchr-ifunc.c: Likewise.
31161 * string/test-memset-ifunc.c: Likewise.
31162 * string/test-rawmemchr-ifunc.c: Likewise.
31163 * string/test-stpcpy-ifunc.c: Likewise.
31164 * string/test-stpncpy-ifunc.c: Likewise.
31165 * string/test-strcasecmp-ifunc.c: Likewise.
31166 * string/test-strcasestr-ifunc.c: Likewise.
31167 * string/test-strcat-ifunc.c: Likewise.
31168 * string/test-strchr-ifunc.c: Likewise.
31169 * string/test-strchrnul-ifunc.c: Likewise.
31170 * string/test-strcmp-ifunc.c: Likewise.
31171 * string/test-strcpy-ifunc.c: Likewise.
31172 * string/test-strcspn-ifunc.c: Likewise.
31173 * string/test-strlen-ifunc.c: Likewise.
31174 * string/test-strncasecmp-ifunc.c: Likewise.
31175 * string/test-strncat-ifunc.c: Likewise.
31176 * string/test-strncmp-ifunc.c: Likewise.
31177 * string/test-strncpy-ifunc.c: Likewise.
31178 * string/test-strnlen-ifunc.c: Likewise.
31179 * string/test-strpbrk-ifunc.c: Likewise.
31180 * string/test-strrchr-ifunc.c: Likewise.
31181 * string/test-strspn-ifunc.c: Likewise.
31182 * string/test-strstr-ifunc.c: Likewise.
31183
31184 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
31185
31186 * benchtests/Makefile: Remove ifunc tests.
31187 * benchtests/bench-string.h: Define TEST_IFUNC.
31188 * benchtests/bench-bcopy-ifunc.c: Remove.
31189 * benchtests/bench-bzero-ifunc.c: Likewise.
31190 * benchtests/bench-memccpy-ifunc.c: Likewise.
31191 * benchtests/bench-memchr-ifunc.c: Likewise.
31192 * benchtests/bench-memcmp-ifunc.c: Likewise.
31193 * benchtests/bench-memcpy-ifunc.c: Likewise.
31194 * benchtests/bench-memmem-ifunc.c: Likewise.
31195 * benchtests/bench-memmove-ifunc.c: Likewise.
31196 * benchtests/bench-mempcpy-ifunc.c: Likewise.
31197 * benchtests/bench-memrchr-ifunc.c: Likewise.
31198 * benchtests/bench-memset-ifunc.c: Likewise.
31199 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
31200 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
31201 * benchtests/bench-stpcpy-ifunc.c: Likewise.
31202 * benchtests/bench-stpncpy-ifunc.c: Likewise.
31203 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
31204 * benchtests/bench-strcasestr-ifunc.c: Likewise.
31205 * benchtests/bench-strcat-ifunc.c: Likewise.
31206 * benchtests/bench-strchr-ifunc.c: Likewise.
31207 * benchtests/bench-strchrnul-ifunc.c: Likewise.
31208 * benchtests/bench-strcmp-ifunc.c: Likewise.
31209 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
31210 * benchtests/bench-strcpy-ifunc.c: Likewise.
31211 * benchtests/bench-strcspn-ifunc.c: Likewise.
31212 * benchtests/bench-strlen-ifunc.c: Likewise.
31213 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
31214 * benchtests/bench-strncat-ifunc.c: Likewise.
31215 * benchtests/bench-strncmp-ifunc.c: Likewise.
31216 * benchtests/bench-strncpy-ifunc.c: Likewise.
31217 * benchtests/bench-strnlen-ifunc.c: Likewise.
31218 * benchtests/bench-strpbrk-ifunc.c: Likewise.
31219 * benchtests/bench-strrchr-ifunc.c: Likewise.
31220 * benchtests/bench-strsep-ifunc.c: Likewise.
31221 * benchtests/bench-strspn-ifunc.c: Likewise.
31222 * benchtests/bench-strstr-ifunc.c: Likewise.
31223
31224 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
31225
31226 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
31227
31228 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
31229
31230 * resolv/netdb.h: Use __glibc_reserved instead __unused.
31231 * rt/aio.h: Likewise.
31232 * sysdeps/gnu/bits/utmp.h: Likewise.
31233 * sysdeps/gnu/bits/utmpx.h: Likewise.
31234 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
31235 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
31236 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
31237 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
31238 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
31239 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
31240 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
31241 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
31242 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
31243 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
31244 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
31245 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
31246 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
31247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
31248 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
31249 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
31250 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
31251 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
31252 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
31253 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
31254 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
31255 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
31256 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
31257 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
31258 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
31259 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31260 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
31261 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
31262 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
31263 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
31264 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
31265 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
31266 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
31267 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
31268 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
31269 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
31270 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
31271 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
31272 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
31273 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
31274 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
31275 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
31276
31277 2013-11-25 Carlos O'Donell <carlos@redhat.com>
31278
31279 [BZ #16245]
31280 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
31281 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
31282
31283 2013-11-25 Joseph Myers <joseph@codesourcery.com>
31284
31285 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
31286 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
31287 Likewise.
31288
31289 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31290
31291 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
31292 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
31293 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
31294 (__fesetround): Remove define.
31295 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
31296 rounding and exceptions handling.
31297 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
31298 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
31299 (__fe_nomask_env): Likewise.
31300 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
31301 __fegetround instead of fegetround.
31302 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
31303 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
31304
31305 2013-11-21 Roland McGrath <roland@hack.frob.com>
31306
31307 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
31308 it's there.
31309
31310 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
31311
31312 2013-11-21 Meador Inge <meadori@codesourcery.com>
31313
31314 [BZ #11157]
31315 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
31316 (encrypt_r): Likewise.
31317 * malloc/obstack.h (obstack_free): Likewise.
31318 * posix/unistd.h (encrypt): Likewise.
31319
31320 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
31321
31322 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
31323 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
31324 DL_CALL_DT_FINI() that call the functions directly.
31325 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
31326 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
31327 * elf/dl-fini.c: Likewise.
31328
31329 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
31330
31331 * malloc/hooks.c (memalign_check): Add alignment rounding.
31332 * malloc/malloc.c (_mid_memalign): New function.
31333 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
31334 Implement by calling _mid_memalign.
31335 * manual/probes.texi (Memory Allocation Probes): Remove
31336 memory_valloc_retry and memory_pvalloc_retry.
31337
31338 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
31339
31340 * locale/programs/locarchive.c (open_archive): Add const
31341 qualifier to ARCHIVEFNAME and copy default fname to
31342 DEFAULT_FNAME.
31343
31344 [BZ #15601]
31345 * libio/tst-widetext.input: Rename Oriya to Odia.
31346 * locale/iso-639.def: Likewise.
31347
31348 * manual/probes.texi (Mathematical Function Probes): Add
31349 documentation for sin, cos, asin and acos probes.
31350 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
31351 (__sin32): Add slowasin probe.
31352 (__cos32): Add slowacos probe.
31353 (__mpsin): Add slowsin probe.
31354 (__mpcos): Add slowcos probe.
31355
31356 2013-11-19 Joseph Myers <joseph@codesourcery.com>
31357
31358 [BZ #15483]
31359 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
31360 thread-local __sim_exceptions_thread and global
31361 __sim_exceptions_global.
31362 (__sim_disabled_exceptions): Change to thread-local
31363 __sim_disabled_exceptions_thread and global
31364 __sim_disabled_exceptions_global.
31365 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
31366 and global __sim_round_mode_global.
31367 (__simulate_exceptions): Use thread-local floating-point state and
31368 set global state from it as needed.
31369 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
31370 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
31371 __sim_round_mode_thread.
31372 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
31373 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
31374 and global __sim_exceptions_global.
31375 (__sim_disabled_exceptions): Change to thread-local
31376 __sim_disabled_exceptions_thread and global
31377 __sim_disabled_exceptions_global.
31378 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
31379 and global __sim_round_mode_global.
31380 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
31381 (SIM_SET_GLOBAL): Likewise.
31382 * sysdeps/powerpc/soft-fp/sfp-machine.h
31383 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
31384 __sim_round_mode_thread.
31385 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
31386 __sim_disabled_exceptions_thread.
31387 (__sim_exceptions): Change to __sim_exceptions_thread.
31388 (__sim_disabled_exceptions): Change to
31389 __sim_disabled_exceptions_thread.
31390 (__sim_round_mode): Change to __sim_round_mode_thread.
31391 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
31392 thread-local floating-point state and set global state from it as
31393 needed.
31394 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
31395 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
31396 (__sim_disabled_exceptions): Remove extern declaration.
31397 (feenableexcept): Use thread-local floating-point state and set
31398 global state from it as needed.
31399 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
31400 extern declaration.
31401 (__sim_disabled_exceptions): Likewise.
31402 (__sim_round_mode): Likewise.
31403 (__fegetenv): Use thread-local floating-point state.
31404 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
31405 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
31406 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
31407 floating-point state and set global state from it as needed.
31408 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
31409 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
31410 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
31411 Likewise.
31412 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
31413 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
31414 Likewise.
31415 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
31416 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
31417 Use __sim_round_mode_thread.
31418 * math/test-fenv-tls.c: New file.
31419 * math/Makefile (tests): Add test-fenv-tls.
31420 ($(objpfx)test-fenv-tls): Depend on
31421 $(common-objpfx)nptl/libpthread.so.
31422
31423 2013-11-19 Andreas Schwab <schwab@suse.de>
31424
31425 * locale/programs/locale.c (show_info): Decode wordarray elements.
31426 * locale/categories.def (LC_MONETARY): Add element for
31427 _NL_MONETARY_CRNCYSTR.
31428 * locale/C-monetary.c (conversion_rate): New variable.
31429 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
31430 element.
31431
31432 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
31433
31434 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
31435 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
31436
31437 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
31438
31439 * elf/Makefile (tst-auxv): New test.
31440 * elf/tst-auxv.c: New
31441 * elf/rtld.c (dl_main): Adjust AT_EXECFN
31442
31443 2013-11-18 Joseph Myers <joseph@codesourcery.com>
31444
31445 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
31446 (hidden_proto): Caller changed.
31447 (hidden_tls_proto): New macro.
31448 (libc_hidden_tls_proto): Likewise.
31449 (rtld_hidden_tls_proto): Likewise.
31450 (libm_hidden_tls_proto): Likewise.
31451 (libresolv_hidden_tls_proto): Likewise.
31452 (librt_hidden_tls_proto): Likewise.
31453 (libdl_hidden_tls_proto): Likewise.
31454 (libnss_files_hidden_tls_proto): Likewise.
31455 (libnsl_hidden_tls_proto): Likewise.
31456 (libnss_nisplus_hidden_tls_proto): Likewise.
31457 (libutil_hidden_tls_proto): Likewise.
31458
31459 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
31460
31461 [BZ #10253]
31462 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
31463 (decompose_rpath): Defer expansion to fillin_rpath.
31464 (_dl_init_paths): Pass linkmap to fillin_rpath.
31465
31466 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
31467
31468 * benchtests/Makefile: Add strsep.
31469 * benchtests/bench-strsep.c: New file: strsep benchtest.
31470 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
31471
31472 2013-11-18 Andreas Schwab <schwab@suse.de>
31473
31474 * locale/programs/locale.c (show_info) [case byte]: Check for
31475 '\377' instead of '\177'.
31476 * locale/C-monetary.c (not_available): Always use "\377".
31477 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
31478 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
31479 detect unavailable sign_posn locale elements.
31480 * locale/localeconv.c (__localeconv): For grouping and
31481 mon_grouping handle "\177" and "\377" like no grouping.
31482 (INT_ELEM): New macro. Use it to set all numeric members.
31483 * locale/programs/ld-monetary.c (monetary_read)
31484 <tok_mon_grouping>: Normalize single -1 to the empty string.
31485 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
31486 Likewise.
31487
31488 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
31489
31490 [BZ #16055]
31491 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
31492 when we match (nil).
31493 * stdio-common/tst-sscanf.c (struct test): Add testcase.
31494
31495 2013-11-16 Joseph Myers <joseph@codesourcery.com>
31496
31497 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
31498 (NO_TEST_INLINE): Update value.
31499 (ERRNO_UNCHANGED): Likewise.
31500 (ERRNO_EDOM): Likewise.
31501 (ERRNO_ERANGE): Likewise.
31502 (IGNORE_RESULT): Likewise.
31503 (check_float_internal): Check signs of NaN results if
31504 TEST_NAN_SIGN used.
31505 (check_complex): Pass TEST_NAN_SIGN flag through to second
31506 check_float_internal call.
31507 (copysign_test_data): Add tests with quiet NaNs as second
31508 argument. Use TEST_NAN_SIGN.
31509 (fabs_test_data): Add test of negative quiet NaN argument. Use
31510 TEST_NAN_SIGN.
31511 (signbit_test_data): Add tests of quiet NaN argument.
31512 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
31513
31514 * math/gen-libm-test.pl (show_exceptions): Take extra argument
31515 $ignore_result.
31516 (parse_args): Handle function results specified as IGNORE.
31517 * math/libm-test.inc (IGNORE_RESULT): New macro.
31518 (check_float_internal): Do not check numerical result if flag
31519 IGNORE_RESULT set.
31520 (check_complex): Pass through IGNORE_RESULT to second
31521 check_float_internal call.
31522 (check_int): Do not check numerical result if flag IGNORE_RESULT
31523 set.
31524 (check_long): Likewise.
31525 (check_bool): Likewise.
31526 (check_longlong): Likewise.
31527 (lrint_test_data): Add tests of infinite and NaN arguments.
31528 (lrint_tonearest_test_data): Likewise.
31529 (lrint_towardzero_test_data): Likewise.
31530 (lrint_downward_test_data): Likewise.
31531 (lrint_upward_test_data): Likewise.
31532 (llrint_test_data): Likewise.
31533 (llrint_tonearest_test_data): Likewise.
31534 (llrint_towardzero_test_data): Likewise.
31535 (llrint_downward_test_data): Likewise.
31536 (llrint_upward_test_data): Likewise.
31537 (lround_test_data): Likewise.
31538 (llround_test_data): Likewise.
31539
31540 * math/libm-test.inc (NO_TEST_INLINE): New macro.
31541 (ERRNO_UNCHANGED): Update value.
31542 (ERRNO_EDOM): Likewise.
31543 (ERRNO_ERANGE): Likewise.
31544 (NO_TEST_INLINE_FLOAT): New macro.
31545 (NO_TEST_INLINE_DOUBLE): Likewise.
31546 (enable_test): New function.
31547 (RUN_TEST_f_f): Check enable_test before running test.
31548 (RUN_TEST_2_f): Likewise.
31549 (RUN_TEST_fff_f): Likewise.
31550 (RUN_TEST_c_f): Likewise.
31551 (RUN_TEST_f_f1): Likewise.
31552 (RUN_TEST_fF_f1): Likewise.
31553 (RUN_TEST_fI_f1): Likewise.
31554 (RUN_TEST_ffI_f1): Likewise.
31555 (RUN_TEST_c_c): Likewise.
31556 (RUN_TEST_cc_c): Likewise.
31557 (RUN_TEST_f_i): Likewise.
31558 (RUN_TEST_f_i_tg): Likewise.
31559 (RUN_TEST_ff_i_tg): Likewise.
31560 (RUN_TEST_f_b): Likewise.
31561 (RUN_TEST_f_b_tg): Likewise.
31562 (RUN_TEST_f_l): Likewise.
31563 (RUN_TEST_f_L): Likewise.
31564 (RUN_TEST_fFF_11): Likewise.
31565 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
31566 conditionals.
31567 (cosh_test_data): Likewise.
31568 (exp_test_data): Likewise.
31569 (expm1_test_data): Likewise.
31570 (hypot_test_data): Likewise.
31571 (pow_test_data): Likewise.
31572 (sinh_test_data): Likewise.
31573 (tanh_test_data): Likewise.
31574 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
31575 flags argument.
31576
31577 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
31578 tests with quiet NaN input and output.
31579 (acosh_test_data): Likewise.
31580 (asin_test_data): Likewise.
31581 (asinh_test_data): Likewise.
31582 (atan_test_data): Likewise.
31583 (atanh_test_data): Likewise.
31584 (atan2_test_data): Likewise.
31585 (cbrt_test_data): Likewise.
31586 (cos_test_data): Likewise.
31587 (cosh_test_data): Likewise.
31588 (erf_test_data): Likewise.
31589 (erfc_test_data): Likewise.
31590 (exp_test_data): Likewise.
31591 (exp10_test_data): Likewise.
31592 (exp2_test_data): Likewise.
31593 (expm1_test_data): Likewise.
31594 (hypot_test_data): Likewise.
31595 (j0_test_data): Likewise.
31596 (j1_test_data): Likewise.
31597 (jn_test_data): Likewise.
31598 (lgamma_test_data): Likewise.
31599 (log_test_data): Likewise.
31600 (log10_test_data): Likewise.
31601 (log1p_test_data): Likewise.
31602 (log2_test_data): Likewise.
31603 (pow_test_data): Likewise.
31604 (scalb_test_data): Likewise.
31605 (sin_test_data): Likewise.
31606 (sincos_test_data): Likewise.
31607 (sinh_test_data): Likewise.
31608 (tan_test_data): Likewise.
31609 (tanh_test_data): Likewise.
31610 (tgamma_test_data): Likewise.
31611 (y0_test_data): Likewise.
31612 (y1_test_data): Likewise.
31613 (yn_test_data): Likewise.
31614
31615 [BZ #16167]
31616 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
31617 argument being NaN and avoid computations with second argument in
31618 that case.
31619 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
31620 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
31621 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
31622
31623 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
31624
31625 * locale/iso-639.def: Add Chitwani Tharu (the).
31626
31627 2013-11-14 Andreas Schwab <schwab@suse.de>
31628
31629 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
31630 word instead of empty string.
31631
31632 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31633
31634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
31635 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
31636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
31637 (__fe_nomask_env): Likewise.
31638
31639 2013-11-13 Steve Ellcey <sellcey@mips.com>
31640
31641 * benchtests/bench-timing.h: Include time.h.
31642
31643 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
31644
31645 [BZ #15997]
31646 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
31647 to 3.4.0 for x32.
31648 * sysdeps/unix/sysv/linux/configure: Regenerated.
31649
31650 2013-11-13 Joseph Myers <joseph@codesourcery.com>
31651
31652 [BZ #16151]
31653 * stdlib/strtod_l.c (round_and_return): Do not consider
31654 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
31655 exponent one less than half the least subnormal exponent.
31656 * stdlib/test-strtod-round-data: Add more tests.
31657 * stdlib/tst-strtod-round.c (tests): Regenerated.
31658
31659 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31660
31661 [BZ #14143]
31662 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
31663 (__fe_mask_env): Likewise.
31664 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
31665 libm_hidden_proto and add function prototype.
31666 (__fe_mask_env): Add function prototype.
31667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
31668 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
31669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
31670 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
31671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
31672 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
31673
31674 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31675
31676 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
31677 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
31678
31679 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31680
31681 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
31682 of htab_find_slot().
31683
31684 2013-11-11 David S. Miller <davem@davemloft.net>
31685
31686 [BZ #16150]
31687 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
31688 symbol in the non-vis3 case in static builds.
31689 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
31690 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
31691 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
31692 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
31693
31694 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
31695
31696 [BZ #387]
31697 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
31698 it is empty.
31699
31700 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31701
31702 * benchtests/Makefile: Add bench-strtod.
31703 * benchtests/bench-strtod.c: New file: strtod benchtest
31704
31705 2013-11-11 Andreas Schwab <schwab@suse.de>
31706
31707 [BZ #16153]
31708 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
31709 terminating NUL in key length.
31710
31711 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31712
31713 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
31714 Add artificial ODP entry for vDSO symbol for PPC64.
31715 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
31716 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
31717
31718 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
31719
31720 [BZ #15374]
31721 * nss/getent.c (services_keys): Recognize services starting with digit.
31722
31723 2013-11-06 David S. Miller <davem@davemloft.net>
31724
31725 [BZ #15985]
31726 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
31727 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
31728
31729 2013-11-06 Will Newton <will.newton@linaro.org>
31730
31731 * manual/memory.texi (Malloc Examples): Remove register
31732 keyword from examples.
31733
31734 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
31735
31736 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
31737
31738 2013-11-04 Joseph Myers <joseph@codesourcery.com>
31739
31740 [BZ #6981]
31741 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
31742 depending on [__GCC_IEC_559 > 0].
31743 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
31744 depending on [__GCC_IEC_559_COMPLEX > 0].
31745
31746 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
31747
31748 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
31749 to iso-639.def.
31750
31751 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
31752
31753 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
31754
31755 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
31756
31757 [BZ #16112]
31758 * malloc/malloc (malloc_info): Do not handle first bin as
31759 special case.
31760
31761 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
31762
31763 * locale/iso-639.def: Add Central Nahuatl (nhn).
31764
31765 2013-11-01 Bruno Haible <bruno@clisp.org>
31766
31767 [BZ #7003]
31768 * manual/math.texi (BSD Random): Specify range upper bound as
31769 in POSIX.
31770
31771 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
31772
31773 * locale/iso-639.def: Add Meadow Mari (mhr).
31774
31775 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
31776
31777 [BZ #14752], [BZ #15763]
31778 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
31779 Validate name.
31780 * rt/tst_shm.c: Add test for escaping directory.
31781
31782 2013-10-31 Andreas Schwab <schwab@suse.de>
31783
31784 [BZ #15917]
31785 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
31786 followed by 'x' as part of digit sequence.
31787 * stdio-common/tst-sscanf.c (double_tests2): New tests.
31788
31789 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
31790
31791 [BZ #16037]
31792 * configure.ac: allow GNU Make 4.0 and greater.
31793 * configure: Regenerated.
31794
31795 2013-10-30 Will Newton <will.newton@linaro.org>
31796
31797 [BZ #16038]
31798 * malloc/hooks.c (memalign_check): Limit alignment to the
31799 maximum representable power of two.
31800 * malloc/malloc.c (__libc_memalign): Likewise.
31801 * malloc/tst-memalign.c (do_test): Add test for very
31802 large alignment values.
31803 * malloc/tst-posix_memalign.c (do_test): Likewise.
31804
31805 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
31806
31807 [BZ #11087]
31808 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
31809 (munmap_chunk): Likewise.
31810 (mremap_chunk): Likewise.
31811
31812 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
31813
31814 [BZ #15799]
31815 * stdlib/div.c (div): Remove obsolete code.
31816 * stdlib/ldiv.c (ldiv): Likewise.
31817 * stdlib/lldiv.c (lldiv): Likewise.
31818
31819 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
31820
31821 [BZ #16071]
31822 * nss/nss_files/files-XXX.c (get_contents_ret): New
31823 enumerator.
31824 (get_contents): New function.
31825 (internal_getent): Use it. Expand size of LINEBUFLEN.
31826
31827 2013-10-30 Mike Frysinger <vapier@gentoo.org>
31828
31829 * configure.in: Moved to ...
31830 * configure.ac: ... here. Change reference to configure.in
31831 to configure.ac.
31832 * sysdeps/arm/preconfigure.ac: ... here.
31833 configure.in to configure.ac.
31834 * sysdeps/gnu/configure.in: Moved to ...
31835 * sysdeps/gnu/configure.ac: ... here.
31836 * sysdeps/i386/configure.in: Moved to ...
31837 * sysdeps/i386/configure.ac: ... here.
31838 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
31839 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
31840 * sysdeps/mach/configure.in: Moved to ...
31841 * sysdeps/mach/configure.ac: ... here.
31842 * sysdeps/mach/hurd/configure.in: Moved to ...
31843 * sysdeps/mach/hurd/configure.ac: ... here.
31844 * sysdeps/powerpc/configure.in: Moved to ...
31845 * sysdeps/powerpc/configure.ac: ... here.
31846 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
31847 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
31848 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
31849 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
31850 * sysdeps/s390/s390-32/configure.in: Moved to ...
31851 * sysdeps/s390/s390-32/configure.ac: ... here.
31852 * sysdeps/s390/s390-64/configure.in: Moved to ...
31853 * sysdeps/s390/s390-64/configure.ac: ... here.
31854 * sysdeps/sh/configure.in: Moved to ...
31855 * sysdeps/sh/configure.ac: ... here.
31856 * sysdeps/sparc/configure.in: Moved to ...
31857 * sysdeps/sparc/configure.ac: ... here.
31858 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
31859 * sysdeps/unix/sysv/linux/configure.ac: ... here.
31860 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
31861 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
31862 * sysdeps/x86_64/configure.in: Moved to ...
31863 * sysdeps/x86_64/configure.ac: ... here.
31864 * sysdeps/x86_64/preconfigure.in: Moved to ...
31865 * sysdeps/x86_64/preconfigure.ac: ... here.
31866 * aclocal.m4: Change reference to configure.in to configure.ac.
31867 * config.h.in: Likewise.
31868 * manual/install.texi: Likewise.
31869 * manual/maint.texi: Likewise.
31870 * Makefile: Likewise.
31871 * malloc/Makefile: Likewise.
31872 * nscd/Makefile: Likewise.
31873 * Makeconfig: Change reference to configure.in and
31874 preconfigure.in to configure.ac and preconfigure.ac
31875 respectively.
31876 * INSTALL: Regenerated.
31877 * configure: Likewise.
31878 * sysdeps/gnu/configure: Likewise.
31879 * sysdeps/i386/configure: Likewise.
31880 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
31881 * sysdeps/mach/configure: Likewise.
31882 * sysdeps/mach/hurd/configure: Likewise.
31883 * sysdeps/powerpc/configure: Likewise.
31884 * sysdeps/powerpc/powerpc32/configure: Likewise.
31885 * sysdeps/powerpc/powerpc64/configure: Likewise.
31886 * sysdeps/s390/s390-32/configure: Likewise.
31887 * sysdeps/s390/s390-64/configure: Likewise.
31888 * sysdeps/sh/configure: Likewise.
31889 * sysdeps/sparc/configure: Likewise.
31890 * sysdeps/unix/sysv/linux/configure: Likewise.
31891 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
31892 * sysdeps/x86_64/configure: Likewise.
31893 * sysdeps/x86_64/preconfigure: Likewise.
31894
31895 2013-10-29 Andreas Schwab <schwab@suse.de>
31896
31897 * stdio-common/Makefile (tst-swscanf-ENV): Define.
31898
31899 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31900
31901 * benchtests/pow-inputs: Add new inputs.
31902
31903 * benchtests/exp-inputs: Add new inputs.
31904
31905 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
31906 conditional check for return value.
31907 (__cos32): Likewise.
31908
31909 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31910
31911 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
31912 to provide a boost for large inputs with word alignment.
31913 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
31914 implementation based on optimized PPC64 strcpy.
31915 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
31916 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
31917 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
31918 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
31919
31920 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
31921
31922 [BZ #2801]
31923 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
31924
31925 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
31926
31927 [BZ #14876]
31928 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
31929 * time/tst-strptime.c (day_tests): Add testcase.
31930
31931 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
31932
31933 [BZ #14029]
31934 * manual/pattern.texi: Acknowledge that fnmatch can fail.
31935
31936 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
31937
31938 [BZ #16074]
31939 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
31940 MAP_FAILED on error.
31941
31942 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31943
31944 [BZ #16072]
31945 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
31946 heap for large requests.
31947
31948 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
31949
31950 [BZ #9954]
31951 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
31952 result if the result has no associated interface.
31953 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
31954 interface for all 127.X.Y.Z addresses.
31955
31956 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
31957
31958 * locale/iso-639.def: Add Ligurian (lij)
31959
31960 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
31961
31962 [BZ #15825]
31963 * sunrpc/rpc_main.c: Document rpcgen -5.
31964
31965 2013-10-19 Michael Stahl <mstahl@redhat.com>
31966
31967 * elf/rtld.c (do_preload): Print the reason why preloading failed.
31968
31969 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
31970
31971 [BZ #10278]
31972 * posix/glob.c: Match only directories when trailing slash is present.
31973 * posix/tst-gnuglob.c (my_opendir): Do not open files.
31974 (main): Add testcase.
31975
31976 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
31977
31978 [BZ #15670]
31979 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
31980
31981 2013-10-18 Carlos O'Donell <carlos@redhat.com>
31982
31983 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
31984 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
31985 AUTH_DES and cindex for FIPS 140-2.
31986 (DES Encryption): Add cindex FIPS 46-3.
31987
31988 * locale/locarchive.h (struct locarhandle): Add fname.
31989 * locale/programs/localedef.c (main): Pass ARGV[remaining]
31990 if an optional argument was specified to --list-archive,
31991 otherwise NULL.
31992 * locale/programs/locarchive.c (show_archive_content): Take new
31993 argument fname and pass it via ah.fname to open_archive.
31994 * locale/programs/localedef.h: Update decl.
31995 (open_archive): If AH->fname is non-null, open that file
31996 rather than the default file name, and don't ignore ENOENT.
31997 (create_archive): Set AH.fname to NULL.
31998 (delete_locales_from_archive): Likewise.
31999 (add_locales_to_archive): Likewise.
32000 * locale/programs/locfile.c (write_all_categories): Likewise.
32001
32002 2013-10-18 Joseph Myers <joseph@codesourcery.com>
32003 Aldy Hernandez <aldyh@redhat.com>
32004
32005 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
32006 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
32007 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
32008 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
32009 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
32010 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
32011 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
32012 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
32013 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
32014 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
32015 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
32016 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
32017 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
32018 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
32019 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
32020 Likewise.
32021 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
32022 Likewise.
32023 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
32024 Likewise.
32025 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
32026 Likewise.
32027 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
32028 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
32029 Likewise.
32030 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
32031 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
32032 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
32033 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
32034 Likewise.
32035 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
32036 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
32037 * sysdeps/powerpc/preconfigure: Likewise.
32038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
32039 Likewise.
32040 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
32041 Replace contents of file by #include of <fenv_libc.h>.
32042 * sysdeps/powerpc/soft-fp/sfp-machine.h
32043 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
32044 and <sys/prctl.h>.
32045 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
32046 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
32047 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
32048 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
32049 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
32050 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
32051 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
32052 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
32053 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
32054 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
32055 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
32056 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
32057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
32058 Allow copysignl PLT reference to be missing.
32059
32060 2013-10-18 Richard Sandiford <richard@codesourcery.com>
32061 Joseph Myers <joseph@codesourcery.com
32062
32063 [BZ #15948]
32064 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
32065 single character.
32066 (add_to_tablewc): Assert sequence of wide characters is nonempty.
32067
32068 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
32069
32070 * elf/tst-tls-dlinfo.c: Don't include tls.h.
32071 * elf/tst-tls1.c: Likewise.
32072 * elf/tst-tls10.h: Likewise.
32073 * elf/tst-tls14.c: Likewise.
32074 * elf/tst-tls2.c: Likewise.
32075 * elf/tst-tls3.c: Likewise.
32076 * elf/tst-tls4.c: Likewise.
32077 * elf/tst-tls5.c: Likewise.
32078 * elf/tst-tls6.c: Likewise.
32079 * elf/tst-tls7.c: Likewise.
32080 * elf/tst-tls8.c: Likewise.
32081 * elf/tst-tls9.c: Likewise.
32082 * elf/tst-tlsmod1.c: Likewise.
32083 * elf/tst-tlsmod13.c: Likewise.
32084 * elf/tst-tlsmod13a.c: Likewise.
32085 * elf/tst-tlsmod14a.c: Likewise.
32086 * elf/tst-tlsmod16a.c: Likewise.
32087 * elf/tst-tlsmod16b.c: Likewise.
32088 * elf/tst-tlsmod2.c: Likewise.
32089 * elf/tst-tlsmod3.c: Likewise.
32090 * elf/tst-tlsmod4.c: Likewise.
32091 * elf/tst-tlsmod5.c: Likewise.
32092 * elf/tst-tlsmod6.c: Likewise.
32093
32094 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
32095
32096 [BZ #12486]
32097 * malloc/malloc.c: remove checks for statistics.
32098
32099 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
32100
32101 [BZ #15277]
32102 * inet/inet_net.c (inet_network): Detect additional invalid strings.
32103 * inet/tst-network.c: Add testcase.
32104
32105 2013-10-17 Andreas Schwab <schwab@suse.de>
32106
32107 [BZ #15218]
32108 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
32109 to determine canonical name.
32110
32111 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
32112
32113 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
32114 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
32115 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32116 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
32117 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32118 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
32119 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
32120 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
32121 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
32122 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
32123 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
32124 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32125 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
32126 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
32127 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
32128 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
32129 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32130 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
32131 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
32132 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
32133 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32134 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32135 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
32136 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
32137 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
32138 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
32139 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
32140 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
32141 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
32142 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
32143 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
32144 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32145 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
32146 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
32147 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
32148 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
32149 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
32150 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
32151 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
32152 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32153 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
32154 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
32155 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
32156 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
32157 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
32158 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
32159 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
32160 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
32161 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
32162 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
32163 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
32164 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
32165 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
32166 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
32167 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32168 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
32169 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32170 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
32171
32172 2013-10-17 Joseph Myers <joseph@codesourcery.com>
32173
32174 [BZ #16041]
32175 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
32176 make result into a quiet NaN.
32177
32178 2013-10-16 Joseph Myers <joseph@codesourcery.com>
32179
32180 * soft-fp/adddf3.c: Fix horizontal whitespace.
32181 * soft-fp/addsf3.c: Likewise.
32182 * soft-fp/addtf3.c: Likewise.
32183 * soft-fp/divdf3.c: Likewise.
32184 * soft-fp/divsf3.c: Likewise.
32185 * soft-fp/divtf3.c: Likewise.
32186 * soft-fp/double.h: Likewise.
32187 * soft-fp/eqdf2.c: Likewise.
32188 * soft-fp/eqsf2.c: Likewise.
32189 * soft-fp/eqtf2.c: Likewise.
32190 * soft-fp/extenddftf2.c: Likewise.
32191 * soft-fp/extended.h: Likewise.
32192 * soft-fp/extendsfdf2.c: Likewise.
32193 * soft-fp/extendsftf2.c: Likewise.
32194 * soft-fp/extendxftf2.c: Likewise.
32195 * soft-fp/fixdfdi.c: Likewise.
32196 * soft-fp/fixdfsi.c: Likewise.
32197 * soft-fp/fixdfti.c: Likewise.
32198 * soft-fp/fixsfdi.c: Likewise.
32199 * soft-fp/fixsfsi.c: Likewise.
32200 * soft-fp/fixsfti.c: Likewise.
32201 * soft-fp/fixtfdi.c: Likewise.
32202 * soft-fp/fixtfsi.c: Likewise.
32203 * soft-fp/fixtfti.c: Likewise.
32204 * soft-fp/fixunsdfdi.c: Likewise.
32205 * soft-fp/fixunsdfsi.c: Likewise.
32206 * soft-fp/fixunsdfti.c: Likewise.
32207 * soft-fp/fixunssfdi.c: Likewise.
32208 * soft-fp/fixunssfsi.c: Likewise.
32209 * soft-fp/fixunssfti.c: Likewise.
32210 * soft-fp/fixunstfdi.c: Likewise.
32211 * soft-fp/fixunstfsi.c: Likewise.
32212 * soft-fp/fixunstfti.c: Likewise.
32213 * soft-fp/floatdidf.c: Likewise.
32214 * soft-fp/floatdisf.c: Likewise.
32215 * soft-fp/floatditf.c: Likewise.
32216 * soft-fp/floatsidf.c: Likewise.
32217 * soft-fp/floatsisf.c: Likewise.
32218 * soft-fp/floatsitf.c: Likewise.
32219 * soft-fp/floattidf.c: Likewise.
32220 * soft-fp/floattisf.c: Likewise.
32221 * soft-fp/floattitf.c: Likewise.
32222 * soft-fp/floatundidf.c: Likewise.
32223 * soft-fp/floatundisf.c: Likewise.
32224 * soft-fp/floatunditf.c: Likewise.
32225 * soft-fp/floatunsidf.c: Likewise.
32226 * soft-fp/floatunsisf.c: Likewise.
32227 * soft-fp/floatunsitf.c: Likewise.
32228 * soft-fp/floatuntidf.c: Likewise.
32229 * soft-fp/floatuntisf.c: Likewise.
32230 * soft-fp/floatuntitf.c: Likewise.
32231 * soft-fp/fmadf4.c: Likewise.
32232 * soft-fp/fmasf4.c: Likewise.
32233 * soft-fp/fmatf4.c: Likewise.
32234 * soft-fp/gedf2.c: Likewise.
32235 * soft-fp/gesf2.c: Likewise.
32236 * soft-fp/getf2.c: Likewise.
32237 * soft-fp/ledf2.c: Likewise.
32238 * soft-fp/lesf2.c: Likewise.
32239 * soft-fp/letf2.c: Likewise.
32240 * soft-fp/muldf3.c: Likewise.
32241 * soft-fp/mulsf3.c: Likewise.
32242 * soft-fp/multf3.c: Likewise.
32243 * soft-fp/negdf2.c: Likewise.
32244 * soft-fp/negsf2.c: Likewise.
32245 * soft-fp/negtf2.c: Likewise.
32246 * soft-fp/op-1.h: Likewise.
32247 * soft-fp/op-2.h: Likewise.
32248 * soft-fp/op-4.h: Likewise.
32249 * soft-fp/op-8.h: Likewise.
32250 * soft-fp/op-common.h: Likewise.
32251 * soft-fp/quad.h: Likewise.
32252 * soft-fp/single.h: Likewise.
32253 * soft-fp/soft-fp.h: Likewise.
32254 * soft-fp/sqrtdf2.c: Likewise.
32255 * soft-fp/sqrtsf2.c: Likewise.
32256 * soft-fp/sqrttf2.c: Likewise.
32257 * soft-fp/subdf3.c: Likewise.
32258 * soft-fp/subsf3.c: Likewise.
32259 * soft-fp/subtf3.c: Likewise.
32260 * soft-fp/truncdfsf2.c: Likewise.
32261 * soft-fp/trunctfdf2.c: Likewise.
32262 * soft-fp/trunctfsf2.c: Likewise.
32263 * soft-fp/trunctfxf2.c: Likewise.
32264 * soft-fp/unorddf2.c: Likewise.
32265 * soft-fp/unordsf2.c: Likewise.
32266 * soft-fp/unordtf2.c: Likewise.
32267
32268 2013-10-15 Joseph Myers <joseph@codesourcery.com>
32269
32270 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
32271 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
32272
32273 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
32274
32275 * elf/dl-libc.c: Clear initfini list after freeing.
32276
32277 2013-10-14 Joseph Myers <joseph@codesourcery.com>
32278
32279 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
32280 * soft-fp/addsf3.c: Likewise.
32281 * soft-fp/addtf3.c: Likewise.
32282 * soft-fp/divdf3.c: Likewise.
32283 * soft-fp/divsf3.c: Likewise.
32284 * soft-fp/divtf3.c: Likewise.
32285 * soft-fp/double.h: Likewise.
32286 * soft-fp/eqdf2.c: Likewise.
32287 * soft-fp/eqsf2.c: Likewise.
32288 * soft-fp/eqtf2.c: Likewise.
32289 * soft-fp/extenddftf2.c: Likewise.
32290 * soft-fp/extended.h: Likewise.
32291 * soft-fp/extendsfdf2.c: Likewise.
32292 * soft-fp/extendsftf2.c: Likewise.
32293 * soft-fp/extendxftf2.c: Likewise.
32294 * soft-fp/fixdfdi.c: Likewise.
32295 * soft-fp/fixdfsi.c: Likewise.
32296 * soft-fp/fixdfti.c: Likewise.
32297 * soft-fp/fixsfdi.c: Likewise.
32298 * soft-fp/fixsfsi.c: Likewise.
32299 * soft-fp/fixsfti.c: Likewise.
32300 * soft-fp/fixtfdi.c: Likewise.
32301 * soft-fp/fixtfsi.c: Likewise.
32302 * soft-fp/fixtfti.c: Likewise.
32303 * soft-fp/fixunsdfdi.c: Likewise.
32304 * soft-fp/fixunsdfsi.c: Likewise.
32305 * soft-fp/fixunsdfti.c: Likewise.
32306 * soft-fp/fixunssfdi.c: Likewise.
32307 * soft-fp/fixunssfsi.c: Likewise.
32308 * soft-fp/fixunssfti.c: Likewise.
32309 * soft-fp/fixunstfdi.c: Likewise.
32310 * soft-fp/fixunstfsi.c: Likewise.
32311 * soft-fp/fixunstfti.c: Likewise.
32312 * soft-fp/floatdidf.c: Likewise.
32313 * soft-fp/floatdisf.c: Likewise.
32314 * soft-fp/floatditf.c: Likewise.
32315 * soft-fp/floatsidf.c: Likewise.
32316 * soft-fp/floatsisf.c: Likewise.
32317 * soft-fp/floatsitf.c: Likewise.
32318 * soft-fp/floattidf.c: Likewise.
32319 * soft-fp/floattisf.c: Likewise.
32320 * soft-fp/floattitf.c: Likewise.
32321 * soft-fp/floatundidf.c: Likewise.
32322 * soft-fp/floatundisf.c: Likewise.
32323 * soft-fp/floatunsidf.c: Likewise.
32324 * soft-fp/floatunsisf.c: Likewise.
32325 * soft-fp/floatuntidf.c: Likewise.
32326 * soft-fp/floatuntisf.c: Likewise.
32327 * soft-fp/floatuntitf.c: Likewise.
32328 * soft-fp/fmadf4.c: Likewise.
32329 * soft-fp/fmasf4.c: Likewise.
32330 * soft-fp/fmatf4.c: Likewise.
32331 * soft-fp/gedf2.c: Likewise.
32332 * soft-fp/gesf2.c: Likewise.
32333 * soft-fp/getf2.c: Likewise.
32334 * soft-fp/ledf2.c: Likewise.
32335 * soft-fp/lesf2.c: Likewise.
32336 * soft-fp/letf2.c: Likewise.
32337 * soft-fp/muldf3.c: Likewise.
32338 * soft-fp/mulsf3.c: Likewise.
32339 * soft-fp/multf3.c: Likewise.
32340 * soft-fp/negdf2.c: Likewise.
32341 * soft-fp/negsf2.c: Likewise.
32342 * soft-fp/negtf2.c: Likewise.
32343 * soft-fp/op-1.h: Likewise.
32344 * soft-fp/op-2.h: Likewise.
32345 * soft-fp/op-4.h: Likewise.
32346 * soft-fp/op-8.h: Likewise.
32347 * soft-fp/op-common.h: Likewise.
32348 * soft-fp/quad.h: Likewise.
32349 * soft-fp/single.h: Likewise.
32350 * soft-fp/soft-fp.h: Likewise.
32351 * soft-fp/sqrtdf2.c: Likewise.
32352 * soft-fp/sqrtsf2.c: Likewise.
32353 * soft-fp/sqrttf2.c: Likewise.
32354 * soft-fp/subdf3.c: Likewise.
32355 * soft-fp/subsf3.c: Likewise.
32356 * soft-fp/subtf3.c: Likewise.
32357 * soft-fp/truncdfsf2.c: Likewise.
32358 * soft-fp/trunctfdf2.c: Likewise.
32359 * soft-fp/trunctfsf2.c: Likewise.
32360 * soft-fp/trunctfxf2.c: Likewise.
32361 * soft-fp/unorddf2.c: Likewise.
32362 * soft-fp/unordsf2.c: Likewise.
32363 * soft-fp/unordtf2.c: Likewise.
32364
32365 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
32366
32367 [BZ #15672]
32368 * misc/error.c (error_tail): Fix possible buffer overflow.
32369
32370 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
32371
32372 [BZ #13028]
32373 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
32374 address.
32375
32376 2013-10-14 P. J. McDermott <pj@pehjota.net>
32377
32378 [BZ #832]
32379 * elf/ldd.bash.in (try_trace): New function. Delete previous code
32380 testing pipefail option.
32381
32382 2013-10-12 Joseph Myers <joseph@codesourcery.com>
32383
32384 * soft-fp/double.h: Indent preprocessor directives inside #if.
32385 * soft-fp/extended.h: Likewise.
32386 * soft-fp/op-2.h: Likewise.
32387 * soft-fp/op-4.h: Likewise.
32388 * soft-fp/op-common.h: Likewise.
32389 * soft-fp/quad.h: Likewise.
32390 * soft-fp/single.h: Likewise.
32391 * soft-fp/soft-fp.h: Likewise.
32392
32393 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
32394
32395 * iconv/iconv_prog.c: Fix typos.
32396 * stdio-common/psiginfo-data.h: Likewise.
32397
32398 2013-10-12 Reuben Thomas <rrt@sc3d.org>
32399
32400 [BZ #15764]
32401 * locale/setlocale.c: Fix typo.
32402
32403 2013-10-12 Joseph Myers <joseph@codesourcery.com>
32404
32405 [BZ #16036]
32406 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
32407 signaling NaN arguments.
32408 * soft-fp/unordsf2.c (__unordsf2): Likewise.
32409 * soft-fp/unordtf2.c (__unordtf2): Likewise.
32410
32411 [BZ #14910]
32412 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
32413 unordered operands.
32414 * soft-fp/gesf2.c (__gesf2): Likewise.
32415 * soft-fp/getf2.c (__getf2): Likewise.
32416 * soft-fp/ledf2.c (__ledf2): Likewise.
32417 * soft-fp/lesf2.c (__lesf2): Likewise.
32418 * soft-fp/letf2.c (__letf2): Likewise.
32419
32420 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
32421 * soft-fp/eqsf2.c (__eqsf2): Likewise.
32422 * soft-fp/eqtf2.c (__eqtf2): Likewise.
32423 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
32424 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
32425 * soft-fp/fixdfti.c (__fixdfti): Likewise.
32426 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
32427 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
32428 * soft-fp/fixsfti.c (__fixsfti): Likewise.
32429 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
32430 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
32431 * soft-fp/fixtfti.c (__fixtfti): Likewise.
32432 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
32433 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
32434 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
32435 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
32436 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
32437 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
32438 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
32439 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
32440 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
32441 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
32442 * soft-fp/floatdisf.c (__floatdisf): Likewise.
32443 * soft-fp/floatsisf.c (__floatsisf): Likewise.
32444 * soft-fp/floattidf.c (__floattidf): Likewise.
32445 * soft-fp/floattisf.c (__floattisf): Likewise.
32446 * soft-fp/floattitf.c (__floattitf): Likewise.
32447 * soft-fp/floatundidf.c (__floatundidf): Likewise.
32448 * soft-fp/floatundisf.c (__floatundisf): Likewise.
32449 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
32450 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
32451 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
32452 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
32453 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
32454 * soft-fp/gesf2.c (__gesf2): Likewise.
32455 * soft-fp/getf2.c (__getf2): Likewise.
32456 * soft-fp/ledf2.c (__ledf2): Likewise.
32457 * soft-fp/lesf2.c (__lesf2): Likewise.
32458 * soft-fp/letf2.c (__letf2): Likewise.
32459
32460 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
32461 Undefine and redefine.
32462 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
32463 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
32464 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
32465 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
32466 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
32467 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
32468 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
32469 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
32470 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
32471 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
32472 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
32473 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
32474 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
32475 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
32476 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
32477
32478 [BZ #16032]
32479 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
32480 without decrementing exponent if mantissa >= that for the
32481 denominator, not >.
32482 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
32483 denominator, not >. Decrement exponent in < case instead of
32484 incrementing in >= case.
32485 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
32486 without decrementing exponent if mantissa >= that for the
32487 denominator, not >.
32488
32489 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
32490 computing saturated result for unsigned overflow.
32491
32492 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
32493 Jeff Law <law@redhat.com>
32494
32495 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
32496 (atan2Mp): Add systemtap probe marker.
32497 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
32498 (__ieee754_log): Add systemtap probe marker.
32499 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
32500 (atanMp): Add systemtap probe marker.
32501 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
32502 (tanMp): Add systemtap probe marker.
32503 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
32504 (__slowexp): Add systemtap probe marker.
32505 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
32506 (__slowpow): Add systemtap probe marker.
32507 * manual/probes.texi: Document probes.
32508
32509 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
32510
32511 [BZ #15362]
32512 * libio/fileops.c (_IO_new_file_write): Return count of bytes
32513 written.
32514 (_IO_new_file_xsputn): Don't return EOF if nothing has been
32515 written.
32516 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
32517 written to buffer but not flushed.
32518 * libio/iofwrite_u.c: Likewise.
32519 * libio/iopadn.c: Return bytes returned even if EOF was
32520 encountered.
32521 * libio/iowpadn.c: Likewise.
32522 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
32523 if _IO_padn does not write the whole buffer.
32524 [!COMPILE_WPRINTF] (PAD): Likewise.
32525
32526 2013-10-10 David S. Miller <davem@davemloft.net>
32527
32528 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
32529 directory block.
32530
32531 2013-10-10 Joseph Myers <joseph@codesourcery.com>
32532
32533 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
32534 instead of FSF address.
32535 * soft-fp/fixdfti.c: Likewise.
32536 * soft-fp/fixsfti.c: Likewise.
32537 * soft-fp/fixtfti.c: Likewise.
32538 * soft-fp/fixunsdfti.c: Likewise.
32539 * soft-fp/fixunssfti.c: Likewise.
32540 * soft-fp/fixunstfti.c: Likewise.
32541 * soft-fp/floattidf.c: Likewise.
32542 * soft-fp/floattisf.c: Likewise.
32543 * soft-fp/floattitf.c: Likewise.
32544 * soft-fp/floatuntidf.c: Likewise.
32545 * soft-fp/floatuntisf.c: Likewise.
32546 * soft-fp/floatuntitf.c: Likewise.
32547 * soft-fp/trunctfxf2.c: Likewise.
32548
32549 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
32550 * soft-fp/fixdfti.c: Likewise.
32551 * soft-fp/fixsfti.c: Likewise.
32552 * soft-fp/fixtfti.c: Likewise.
32553 * soft-fp/fixunsdfti.c: Likewise.
32554 * soft-fp/fixunssfti.c: Likewise.
32555 * soft-fp/fixunstfti.c: Likewise.
32556 * soft-fp/floattidf.c: Likewise.
32557 * soft-fp/floattisf.c: Likewise.
32558 * soft-fp/floattitf.c: Likewise.
32559 * soft-fp/floatuntidf.c: Likewise.
32560 * soft-fp/floatuntisf.c: Likewise.
32561 * soft-fp/floatuntitf.c: Likewise.
32562 * soft-fp/trunctfxf2.c: Likewise.
32563
32564 2013-10-10 David S. Miller <davem@davemloft.net>
32565
32566 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32567
32568 2013-10-10 Joseph Myers <joseph@codsourcery.com>
32569
32570 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
32571 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
32572 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
32573 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
32574 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
32575 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
32576 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
32577
32578 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
32579 for NaNs before doing comparisons on argument.
32580 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
32581 Likewise.
32582
32583 2013-10-10 Will Newton <will.newton@linaro.org>
32584
32585 * malloc/hooks.c (memalign_check): Ensure the value of bytes
32586 passed to _int_memalign does not overflow.
32587
32588 2013-10-10 Torvald Riegel <triegel@redhat.com>
32589
32590 * scripts/bench.pl: Add include-sources directive.
32591 * benchtests/README: Update documentation.
32592
32593 2013-10-10 Joseph Myers <joseph@codesourcery.com>
32594
32595 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
32596 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
32597 instead of FP_INIT_ROUNDMODE.
32598 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
32599 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
32600
32601 [BZ #16034]
32602 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
32603 copy class of input value.
32604 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
32605 not handle exceptions.
32606 * soft-fp/negsf2.c (__negsf2): Likewise.
32607 * soft-fp/negtf2.c (__negtf2): Likewise.
32608 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
32609
32610 2013-10-09 Joseph Myers <joseph@codesourcery.com>
32611
32612 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
32613 semicolon. From Linux kernel.
32614
32615 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
32616
32617 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
32618
32619 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
32620
32621 [BZ #156]
32622 * manual/socket.texi: Added statement about buffer
32623 for gethostbyname2_r.
32624
32625 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
32626
32627 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
32628 Use .p2align directive instead, throughout.
32629 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
32630 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
32631 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
32632 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
32633 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
32634 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
32635 * sysdeps/x86_64/strchr.S: Likewise.
32636 * sysdeps/x86_64/strrchr.S: Likewise.
32637
32638 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
32639
32640 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
32641
32642 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
32643
32644 * sysdeps/generic/math_private.h (__mpsin1): Remove
32645 declaration.
32646 (__mpcos1): Likewise.
32647 (__mpsin): New argument __range_reduce.
32648 (__mpcos): Likewise.
32649 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32650 (slow): Use __mpsin and __mpcos.
32651 (slow1): Likewise.
32652 (slow2): Likewise.
32653 (sloww): Likewise.
32654 (sloww1): Likewise.
32655 (sloww2): Likewise.
32656 (bsloww): Likewise.
32657 (bsloww1): Likewise.
32658 (bsloww2): Likewise.
32659 (cslow2): Likewise.
32660 (csloww): Likewise.
32661 (csloww1): Likewise.
32662 (csloww2): Likewise.
32663 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
32664 range_reduce. Merge in __mpsin1.
32665 (__mpcos): Likewise.
32666 (__mpsin1): Remove.
32667 (__mpcos1): Likewise.
32668
32669 2013-10-07 Joseph Myers <joseph@codesourcery.com>
32670
32671 * locale/loadlocale.c (_nl_intern_locale_data): Use
32672 LOCFILE_ALIGNED_P.
32673 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
32674 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
32675 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
32676 obstack data is appropriately aligned.
32677 (obstack_int32_grow_fast): Likewise.
32678 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
32679 * locale/programs/locfile.c (add_locale_uint32): Likewise.
32680 (add_locale_uint32_array): Likewise.
32681
32682 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
32683
32684 * benchtests/Makefile: Remove ARGLIST and RET variables.
32685 ($(objpfx)bench-%.c): Pass only function name to the script.
32686 * benchtests/README: Update documentation.
32687 * benchtests/acos-inputs: Add new directives.
32688 * benchtests/acosh-inputs: Likewise.
32689 * benchtests/asin-inputs: Likewise.
32690 * benchtests/asinh-inputs: Likewise.
32691 * benchtests/atan-inputs: Likewise.
32692 * benchtests/atanh-inputs: Likewise.
32693 * benchtests/cos-inputs: Likewise.
32694 * benchtests/cosh-inputs: Likewise.
32695 * benchtests/exp-inputs: Likewise.
32696 * benchtests/log-inputs: Likewise.
32697 * benchtests/pow-inputs: Likewise.
32698 * benchtests/rint-inputs: Likewise.
32699 * benchtests/sin-inputs: Likewise.
32700 * benchtests/sinh-inputs: Likewise.
32701 * benchtests/tan-inputs: Likewise.
32702 * benchtests/tanh-inputs: Likewise.
32703 * scripts/bench.pl: Add support for new directives.
32704
32705 2013-10-07 Alan Modra <amodra@gmail.com>
32706
32707 * README: Fix careless merge.
32708
32709 2013-10-05 Alan Modra <amodra@gmail.com>
32710
32711 * NEWS: Mention powerpc64le support and bugs fixed.
32712 * README: Both big-endian and little-endian powerpc64 supported.
32713
32714 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
32715
32716 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
32717 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
32718 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
32719 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
32720
32721 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
32722
32723 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
32724 match prototype.
32725
32726 2013-10-04 Joseph Myers <joseph@codesourcery.com>
32727
32728 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
32729 Move -mhard-float appending from
32730 ports/sysdeps/powerpc/powerpc32/Makefile.
32731 [$(with-fp) = yes] (ASFLAGS): Likewise.
32732 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
32733 * sysdeps/powerpc/nofpu: Move directory from
32734 ports/sysdeps/powerpc/nofpu.
32735 * sysdeps/powerpc/soft-fp: Move directory from
32736 ports/sysdeps/powerpc/soft-fp.
32737 * sysdeps/powerpc/powerpc32/405: Move directory from
32738 ports/sysdeps/powerpc/powerpc32/405.
32739 * sysdeps/powerpc/powerpc32/440: Move directory from
32740 ports/sysdeps/powerpc/powerpc32/440.
32741 * sysdeps/powerpc/powerpc32/464: Move directory from
32742 ports/sysdeps/powerpc/powerpc32/464.
32743 * sysdeps/powerpc/powerpc32/476: Move directory from
32744 ports/sysdeps/powerpc/powerpc32/476.
32745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
32746 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
32747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
32748 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
32749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
32750 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
32751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
32752 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
32753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
32754 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
32755 * README: Update for powerpc-*-linux-gnu software floating point
32756 support in libc.
32757
32758 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
32759 case to powerpc/powerpc32*.
32760 * sysdeps/unix/sysv/linux/configure: Regenerated.
32761
32762 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
32763 (_FPU_MASK_OM): Define as 0x04.
32764 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
32765 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
32766 0x00c10080.
32767 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
32768 0x0000003c.
32769 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
32770
32771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
32772 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
32773 getcontext_e500.
32774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
32775 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
32776 setcontext_e500.
32777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
32778 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
32779 and setcontext_e500.
32780
32781 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
32782
32783 * locale/iso-3166.def: Update iso-1366.def and related occurrences
32784
32785 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
32786
32787 * manual/threads.texi (Default Thread Attributes): Fix typo.
32788
32789 2013-10-04 Will Newton <will.newton@linaro.org>
32790
32791 * malloc/Makefile: Add tst-memalign.
32792 * malloc/tst-memalign.c: New file.
32793
32794 * malloc/tst-posix_memalign.c: Add comments.
32795 (do_test): Add comments and call free on all potentially
32796 allocated pointers. Add space after cast.
32797
32798 * malloc/tst-pvalloc.c: Add comments.
32799 (do_test): Add comments and call free on all potentially
32800 allocated pointers. Remove duplicate check for NULL pointer.
32801 Add space after cast.
32802
32803 * malloc/tst-valloc.c: Add comments.
32804 (do_test): Add comments and call free on all potentially
32805 allocated pointers. Remove duplicate check for NULL pointer.
32806 Add space after cast.
32807
32808 2013-10-04 Alan Modra <amodra@gmail.com>
32809
32810 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
32811 Use stdint types in rather than __attribute__((mode())).
32812 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
32813
32814 2013-10-04 Alan Modra <amodra@gmail.com>
32815
32816 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
32817 Correct handling of unaligned relocs for little-endian.
32818 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
32819
32820 2013-10-04 Alan Modra <amodra@gmail.com>
32821
32822 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
32823 * configure: Regenerate.
32824 * nptl/shlib-versions: Powerpc*le starts at 2.18.
32825 * shlib-versions: Likewise.
32826
32827 2013-10-04 Alan Modra <amodra@gmail.com>
32828
32829 * string/tester.c (test_memrchr): Increment reported test cycle.
32830
32831 2013-10-04 Alan Modra <amodra@gmail.com>
32832
32833 * string/test-memcpy.c (do_one_test): When reporting errors, print
32834 string address and don't overrun end of string.
32835
32836 2013-10-04 Alan Modra <amodra@gmail.com>
32837
32838 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
32839 insrdi. Make better use of reg selection to speed exit slightly.
32840 Schedule entry path a little better. Remove useless "are we done"
32841 checks on entry to main loop. Handle wrapping around zero address.
32842 Correct main loop count. Handle single left-over word from main
32843 loop inline rather than by using loop_small. Remove extra word
32844 case in loop_small caused by wrong loop count. Add little-endian
32845 support.
32846 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
32847 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
32848 cache hint.
32849 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
32850 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
32851 support. Avoid rlwimi.
32852 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
32853
32854 2013-10-04 Alan Modra <amodra@gmail.com>
32855
32856 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
32857 insrdi. Formatting.
32858 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
32859 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
32860 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
32861 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
32862 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
32863 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
32864
32865 2013-10-04 Alan Modra <amodra@gmail.com>
32866
32867 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
32868 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
32869 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
32870 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
32871 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
32872 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
32873 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
32874 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
32875 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
32876 use of regs. Use power7 mtocrf. Tidy function tails.
32877
32878 2013-10-04 Alan Modra <amodra@gmail.com>
32879
32880 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
32881 Formatting. Consistently use rXXX register defines or rN defines.
32882 Use early exit labels that avoid restoring unused non-volatile regs.
32883 Make cr field use more consistent with rWORDn compares. Rename
32884 regs used as shift registers for unaligned loop, using rN defines
32885 for short lifetime/multiple use regs.
32886 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
32887 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
32888 addi 1,1,64 to pop stack frame. Simplify return value code.
32889 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
32890
32891 2013-10-04 Alan Modra <amodra@gmail.com>
32892
32893 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
32894 support. Correct typos, formatting. Optimize tail. Use insrdi
32895 rather than rlwimi.
32896 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
32897 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
32898 little-endian support. Correct typos.
32899 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
32900 rather than rlwimi.
32901 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
32902 in loop and entry code to keep "and." results.
32903 (strchr): Add little-endian support. Comment. Move cntlzd
32904 earlier in tail.
32905 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
32906
32907 2013-10-04 Alan Modra <amodra@gmail.com>
32908
32909 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
32910 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
32911 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
32912 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
32913
32914 2013-10-04 Alan Modra <amodra@gmail.com>
32915
32916 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
32917 (rTMP): Define as r11.
32918 (strcmp): Add little-endian support. Optimise tail.
32919 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
32920 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
32921 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
32922 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
32923 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
32924 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
32925 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
32926
32927 2013-10-04 Alan Modra <amodra@gmail.com>
32928
32929 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
32930 little-endian support. Remove unnecessary "are we done" tests.
32931 Handle "s" wrapping around zero and extremely large "size".
32932 Correct main loop count. Handle single left-over word from main
32933 loop inline rather than by using small_loop. Correct comments.
32934 Delete "zero" tail, use "end_max" instead.
32935 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
32936
32937 2013-10-04 Alan Modra <amodra@gmail.com>
32938
32939 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
32940 support. Don't branch over align.
32941 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
32942 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
32943 support. Rearrange tmp reg use to suit. Comment.
32944 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
32945
32946 2013-10-04 Alan Modra <amodra@gmail.com>
32947
32948 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
32949
32950 2013-10-04 Alan Modra <amodra@gmail.com>
32951
32952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
32953 conditional form of branch and link when obtaining pc.
32954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
32955
32956 2013-10-04 Alan Modra <amodra@gmail.com>
32957
32958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
32959 HIWORD/LOWORD.
32960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
32961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
32962
32963 2013-10-04 Alan Modra <amodra@gmail.com>
32964
32965 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
32966 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
32967 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
32968 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
32969 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
32970 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
32971 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
32972 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
32973 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
32974 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
32975
32976 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
32977 Alistair Popple <alistair@ozlabs.au.ibm.com>
32978 Alan Modra <amodra@gmail.com>
32979
32980 [BZ #15723]
32981 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
32982 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
32983 _dl_hwcap access for little-endian.
32984 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
32985 destroy vmx regs when saving unaligned.
32986 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
32987 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
32988 destroy vmx regs when saving unaligned.
32989
32990 2013-10-04 Alan Modra <amodra@gmail.com>
32991
32992 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
32993 Don't use a union to pack hi/low value.
32994
32995 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
32996
32997 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
32998 for little-endian.
32999 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
33000 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
33001 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
33002 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
33003 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
33004
33005 2013-10-04 Alan Modra <amodra@gmail.com>
33006
33007 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
33008 constants to usual value for .cst8 section, and remove redundant
33009 high address load.
33010 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
33011 constant for 0x1p52. Load little-endian words of double from
33012 correct stack offsets.
33013
33014 2013-10-04 Alan Modra <amodra@gmail.com>
33015
33016 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
33017 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
33018 words of double from correct stack offsets.
33019 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
33020 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
33021 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
33022 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
33023 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
33024 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
33025 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
33026 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
33027 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
33028 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
33029 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
33030 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
33031 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
33032 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
33033 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
33034 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
33035 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
33036
33037 2013-10-04 Alan Modra <amodra@gmail.com>
33038
33039 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
33040 64-bit int/double union.
33041 (_FPU_SETCW): Likewise.
33042 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
33043 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
33044
33045 2013-10-04 Alan Modra <amodra@gmail.com>
33046
33047 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
33048 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
33049
33050 2013-10-04 Alan Modra <amodra@gmail.com>
33051
33052 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
33053 use vector int constants.
33054 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
33055
33056 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
33057
33058 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
33059 array with long long.
33060 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
33061 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
33062 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
33063 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
33064 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
33065 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
33066 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
33067 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
33068 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
33069 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
33070 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
33071 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
33072 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
33073
33074 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
33075
33076 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
33077 (__signbit): Likewise. Correct for little-endian.
33078 (__signbitl): Call __signbit.
33079 (lrint): Correct for little-endian.
33080 (lrintf): Call lrint.
33081
33082 2013-10-04 Alan Modra <amodra@gmail.com>
33083
33084 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
33085 union 32-bit int array member with 64-bit int array.
33086 (t515, tm256): Double rather than long double.
33087 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
33088
33089 2013-10-04 Alan Modra <amodra@gmail.com>
33090
33091 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
33092 Delete.
33093 (IEEE854_LONG_DOUBLE_BIAS): Delete.
33094 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
33095 version of math_ldbl.h.
33096
33097 2013-10-04 Alan Modra <amodra@gmail.com>
33098
33099 [BZ #15734], [BZ #15735]
33100 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
33101 all uses of ieee875 long double macros and unions. Simplify test
33102 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
33103 ldbl_extract_mantissa value for ix,iy exponents. Properly
33104 normalize after ldbl_extract_mantissa, and don't add hidden bit
33105 already handled. Don't treat low word of ieee854 mantissa like
33106 low word of IBM long double and mask off bit when testing for
33107 zero.
33108 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
33109 all uses of ieee875 long double macros and unions. Simplify tests
33110 for 0.0L and inf. Correct double adjustment of k. Delete dead code
33111 adjusting ha,hb. Simplify code setting kld. Delete two600 and
33112 two1022, instead use their values. Recognise that tests for large
33113 "a" and small "b" are mutually exclusive. Rename vars. Comment.
33114 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
33115 Rewrite all uses of ieee875 long double macros and unions. Simplify
33116 test for 0.0L and nan. Correct negation.
33117 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
33118 ieee875 long double macros and unions. Correct output for large
33119 magnitude x. Correct absolute value calculation.
33120 (__erfcl): Likewise.
33121 * math/libm-test.inc: Add tests for errors discovered in IBM long
33122 double versions of fmodl, remainderl, erfl and erfcl.
33123
33124 2013-10-04 Alan Modra <amodra@gmail.com>
33125
33126 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
33127 all uses of ieee854 long double macros and unions. Simplify tests
33128 for long doubles that are fully specified by the high double.
33129 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
33130 Likewise.
33131 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
33132 Remove dead code too.
33133 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
33134 (__ieee754_ynl): Likewise.
33135 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
33136 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
33137 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
33138 Remove dead code too.
33139 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
33140 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
33141 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
33142 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
33143 Simplify.
33144 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
33145 Simplify.
33146 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
33147 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
33148 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
33149 Comment on variable precision.
33150 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
33151 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
33152 Likewise.
33153 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
33154 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
33155 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
33156 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
33157 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
33158
33159 2013-10-04 Alan Modra <amodra@gmail.com>
33160
33161 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
33162 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
33163 all uses of ieee854 long double macros and unions.
33164 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
33165 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
33166 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
33167 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
33168 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
33169 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
33170 Likewise.
33171 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
33172 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
33173 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
33174 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
33175 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
33176 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
33177 Simplify sign and nan test too.
33178 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
33179 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
33180 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
33181 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
33182 Likewise.
33183 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
33184 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
33185 Likewise.
33186 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33187 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
33188 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
33189 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
33190 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
33191 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
33192
33193 2013-10-04 Alan Modra <amodra@gmail.com>
33194
33195 * stdio-common/printf_size.c (__printf_size): Don't use
33196 union ieee854_long_double in fpnum union.
33197 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
33198 signbit macro to retrieve sign from long double.
33199 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
33200 retrieve sign from long double.
33201 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
33202 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
33203 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
33204 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
33205 * math/test-misc.c (main): Don't use union ieee854_long_double.
33206
33207 2013-10-04 Alan Modra <amodra@gmail.com>
33208
33209 [BZ #15680]
33210 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
33211 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
33212 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
33213 calculation. Remove unnecessary test for denormal exponent.
33214 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
33215 Correct handling of denormals. Avoid undefined shift behaviour.
33216 Correct normalisation of low mantissa when low double is denormal.
33217 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
33218 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
33219 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
33220 Correct normalisation of low mantissa. Test for overflow of high
33221 mantissa and normalise.
33222 (ldbl_nearbyint): Use more readable constant for two52.
33223 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
33224 (__mpn_construct_long_double): Fix test for overflow of high
33225 mantissa and correct normalisation. Avoid undefined shift.
33226
33227 2013-10-04 Alan Modra <amodra@gmail.com>
33228
33229 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
33230 (union ibm_extended_long_double): Define as an array of ieee754_double.
33231 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
33232 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
33233 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
33234 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
33235 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
33236 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
33237 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
33238 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
33239 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
33240 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
33241 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
33242
33243 2013-10-03 Joseph Myers <joseph@codesourcery.com>
33244
33245 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
33246 page size instead of calling getpagesize.
33247
33248 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
33249 (LOCFILE_ALIGN_MASK): Likewise.
33250 (LOCFILE_ALIGN_UP): Likewise.
33251 (LOCFILE_ALIGNED_P): Likewise.
33252 * locale/programs/ld-collate.c (collate_output): Use the new
33253 macros instead of __alignof__ (int32_t).
33254 * locale/weight.h (findidx): Likewise.
33255
33256 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
33257
33258 [BZ #431]
33259 * manual/string.texi: Fix strncat and wcsncat.
33260
33261 2013-10-03 Brooks Moses <bmoses@google.com>
33262
33263 [BZ #15915]
33264 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
33265 * Makerules: ...here, and adjust associated comments.
33266
33267 2013-10-02 Will Newton <will.newton@linaro.org>
33268
33269 * malloc/Makefile: Add tst-pvalloc.
33270 * malloc/tst-pvalloc.c: New file.
33271
33272 2013-10-02 Will Newton <will.newton@linaro.org>
33273
33274 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
33275 improve test coverage.
33276
33277 2013-10-02 Will Newton <will.newton@linaro.org>
33278
33279 * malloc/Makefile: Add tst-posix_memalign.
33280 * malloc/tst-posix_memalign.c: New file.
33281
33282 2013-10-01 Eric Blake <eblake@redhat.com>
33283
33284 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
33285 Use __THROWNL rather than __THROW on static functions.
33286
33287 2013-09-30 Petr Machata <pmachata@redhat.com>
33288
33289 * elf/elf.h (R_AARCH64_ABS16): New macro.
33290 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
33291 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
33292 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
33293 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
33294 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
33295 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
33296 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
33297 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
33298 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
33299 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
33300 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
33301 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
33302 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
33303 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
33304 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
33305 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
33306 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
33307 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
33308 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
33309 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
33310 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
33311 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
33312 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
33313 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
33314 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
33315 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
33316 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
33317 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
33318 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
33319 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
33320 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
33321 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
33322 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
33323 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
33324 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
33325 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
33326 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
33327 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
33328 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
33329 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
33330 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
33331 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
33332 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
33333 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
33334 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
33335 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
33336 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
33337 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
33338 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
33339 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
33340 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
33341 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
33342 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
33343 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
33344 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
33345 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
33346 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
33347 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
33348 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
33349 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
33350 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
33351 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
33352 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
33353 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
33354 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
33355 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
33356 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
33357 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
33358 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
33359 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
33360 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
33361 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
33362 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
33363 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
33364 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
33365 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
33366 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
33367 (R_AARCH64_TLSDESC_LDR): Likewise.
33368 (R_AARCH64_TLSDESC_ADD): Likewise.
33369 (R_AARCH64_TLSDESC_CALL): Likewise.
33370
33371 2013-09-30 Andreas Schwab <schwab@suse.de>
33372
33373 [BZ #15048]
33374 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
33375 the nss database lookup.
33376 * nscd/initgrcache.c (addinitgroupsX): Likewise.
33377 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
33378
33379 2013-09-28 Mike Frysinger <vapier@gentoo.org>
33380
33381 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
33382
33383 2013-09-28 P. J. McDermott <pj@pehjota.net>
33384
33385 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
33386 ${Bash-specific parameter/pattern/string} parameter expansion.
33387 * sysdeps/unix/make-syscalls.sh: Likewise.
33388
33389 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33390
33391 * sysdeps/sh/stackguard-macros.h: New file.
33392
33393 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
33394
33395 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
33396 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
33397 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
33398 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
33399 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
33400 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
33401
33402 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33403
33404 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
33405 Fix thread ID register.
33406
33407 2013-09-25 Joseph Myers <joseph@codesourcery.com>
33408
33409 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
33410 [POSIX || UNIX98]: Require rather than permitting all symbols from
33411 <time.h>.
33412 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
33413 element of struct sched_param.
33414 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
33415 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
33416 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
33417 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
33418 constant.
33419
33420 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
33421
33422 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
33423 argument calculation.
33424
33425 2013-09-24 Joseph Myers <joseph@codesourcery.com>
33426
33427 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
33428 Expect macro.
33429 [POSIX] (pthread_attr_t): Do not require type.
33430 [POSIX] (pthread_cond_t): Likewise.
33431 [POSIX] (pthread_condattr_t): Likewise.
33432 [POSIX] (pthread_key_t): Likewise.
33433 [POSIX] (pthread_mutex_t): Likewise.
33434 [POSIX] (pthread_mutexattr_t): Likewise.
33435 [POSIX] (pthread_once_t): Likewise.
33436 [POSIX] (pthread_t): Likewise.
33437 [POSIX-based standards] (pthread_atfork): Expect function.
33438
33439 2013-09-24 Joseph Myers <joseph@codesourcery.com>
33440 Richard Sandiford <richard@codesourcery.com>
33441
33442 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
33443 (swap_endianness_p): New extern variable.
33444 (set_big_endian): New inline function.
33445 (maybe_swap_uint32): Likewise.
33446 (maybe_swap_uint32_array): Likewise.
33447 (maybe_swap_uint32_obstack): Likewise.
33448 * locale/programs/locfile.c: Include <stdbool.h>.
33449 (swap_endianness_p): New variable.
33450 (add_locale_uint32): Call maybe_swap_uint32.
33451 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
33452 (write_locale_data): Call maybe_swap_uint32_array.
33453 * locale/programs/ld-collate.c (obstack_int32_grow): Call
33454 maybe_swap_uint32.
33455 (obstack_int32_grow_fast): Likewise.
33456 (output_weightwc): Call maybe_swap_uint32_obstack.
33457 (collate_output): Likewise.
33458 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
33459 (OPT_LITTLE_ENDIAN): Likewise.
33460 (options): Add --little-endian and --big-endian options.
33461 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
33462 * locale/programs/locarchive.c: Include "locfile.h".
33463 (GET): New macro.
33464 (SET): Likewise.
33465 (INC): Likewise.
33466 (create_archive): Use the new macros to access fields of
33467 structures directly mapped from or written to locale archives.
33468 (oldlocrecentcmp): Likewise.
33469 (enlarge_archive): Likewise.
33470 (insert_name): Likewise.
33471 (add_alias): Likewise.
33472 (add_locale): Likewise.
33473 (delete_locales_from_archive): Likewise.
33474 (show_archive_content): Likewise.
33475 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
33476 locale data.
33477
33478 2013-09-24 Roland McGrath <roland@hack.frob.com>
33479
33480 * manual/freemanuals.texi: Updated from (newly) canonical copy at
33481 http://www.gnu.org/doc/freemanuals.texi.
33482 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
33483
33484 2013-09-24 Will Newton <will.newton@linaro.org>
33485
33486 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
33487 macro.
33488
33489 2013-09-23 Joseph Myers <joseph@codesourcery.com>
33490
33491 * locale/hashval.h (compute_hashval): Interpret bytes of key as
33492 unsigned char.
33493
33494 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
33495
33496 * manual/threads.texi (POSIX Threads): Fix a typo.
33497
33498 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
33499
33500 [BZ #14547]
33501 * string/tst-strcoll-overflow.c: New test case.
33502 * string/Makefile (xtests): Add tst-strcoll-overflow.
33503 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
33504 cache if string sizes may cause integer overflow.
33505
33506 [BZ #14547]
33507 * string/strcoll_l.c (coll_seq): New members rule, idx,
33508 save_idx and back_us.
33509 (get_next_seq_nocache): New function.
33510 (do_compare_nocache): New function.
33511 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
33512 when malloc fails.
33513
33514 2013-09-23 Carlos O'Donell <carlos@redhat.com>
33515
33516 [BZ #15754]
33517 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
33518 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
33519 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
33520
33521 [BZ #15754]
33522 * elf/Makefile (tests): Add tst-ptrguard1.
33523 (tests-static): Add tst-ptrguard1-static.
33524 (tst-ptrguard1-ARGS): Define.
33525 (tst-ptrguard1-static-ARGS): Define.
33526 * elf/tst-ptrguard1.c: New file.
33527 * elf/tst-ptrguard1-static.c: New file.
33528 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
33529 * sysdeps/i386/stackguard-macros.h: Likewise.
33530 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
33531 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
33532 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
33533 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
33534 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
33535 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
33536
33537 2013-09-23 Hector Marco <hecmargi@upv.es>
33538 Ismael Ripoll <iripoll@disca.upv.es>
33539 Carlos O'Donell <carlos@redhat.com>
33540
33541 [BZ #15754]
33542 * sysdeps/generic/stackguard-macros.h: Define
33543 __pointer_chk_guard_local and POINTER_CHK_GUARD.
33544 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
33545 Define __pointer_chk_guard_local.
33546 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
33547 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
33548
33549 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
33550
33551 [BZ #15859]
33552 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
33553
33554 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
33555
33556 * include/string.h (__ffs): Declare as hidden.
33557 * string/ffs.c (__ffs): Define as hidden.
33558 * sysdeps/i386/ffs.c (__ffs): Likewise.
33559 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
33560 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
33561 * sysdeps/s390/ffs.c (__ffs): Likewise.
33562 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
33563
33564 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
33565
33566 * NEWS: Mention malloc probes.
33567
33568 * malloc/arena.c (new_heap): New memory_heap_new probe.
33569 (grow_heap): New memory_heap_more probe.
33570 (shrink_heap): New memory_heap_less probe.
33571 (heap_trim): New memory_heap_free probe.
33572 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
33573 (systrim): New memory_sbrk_less probe.
33574 * manual/probes.texi: Document them.
33575
33576 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
33577 * manual/probes.texi: Document it.
33578
33579 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
33580 (__libc_realloc): Add memory_realloc_retry probe.
33581 (__libc_memalign): Add memory_memalign_retry probe.
33582 (__libc_valloc): Add memory_valloc_retry probe.
33583 (__libc_pvalloc): Add memory_pvalloc_retry probe.
33584 (__libc_calloc): Add memory_calloc_retry probe.
33585 * manual/probes.texi: Document them.
33586
33587 * malloc/arena.c (get_free_list): Add probe
33588 memory_arena_reuse_free_list.
33589 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
33590 and memory_arena_reuse.
33591 (arena_get2) [!PER_THREAD]: Likewise.
33592 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
33593 memory_arena_reuse_realloc.
33594 * manual/probes.texi: Document them.
33595
33596 * malloc/malloc.c (__libc_free): Add
33597 memory_mallopt_free_dyn_thresholds probe.
33598 (__libc_mallopt): Add multiple memory_mallopt probes.
33599 * manual/probes.texi: Document them.
33600
33601 * malloc/malloc.c: Include stap-probe.h.
33602 (__libc_mallopt): Add memory_mallopt probe.
33603 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
33604 * manual/probes.texi: New.
33605 * manual/Makefile (chapters): Add probes.
33606 * manual/threads.texi: Set next node.
33607
33608 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
33609
33610 [BZ #15963, #13985]
33611 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
33612 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
33613 Add `Chinese' to `nan' entry name.
33614
33615 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
33616
33617 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
33618 (POLYNOMIAL): Likewise.
33619 (TAYLOR_SINCOS): Likewise.
33620 (TAYLOR_SLOW): Likewise.
33621 (__sin): Use TAYLOR_SINCOS.
33622 (__cos): Likewise.
33623 (slow): Use TAYLOR_SLOW.
33624 (sloww): Likewise.
33625 (bsloww): Likewise.
33626 (csloww): Likewise.
33627
33628 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33629
33630 * stdlib/strtod_l.c: Fix buffer overrun.
33631
33632 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
33633
33634 * benchtests/Makefile (bench): Add sincos.
33635 * benchtests/bench-sincos.c: New file.
33636
33637 * math/libm-test.inc (cos_test_data): New test inputs.
33638 (sin_test_data): Likewise.
33639
33640 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
33641 macro.
33642 (__sin): Use it.
33643 (__cos): Likewise.
33644 (slow1): Likewise.
33645 (slow2): Likewise.
33646 (sloww1): Likewise.
33647 (sloww2): Likewise.
33648 (bsloww1): Likewise.
33649 (bsloww2): Likewise.
33650 (cslow2): Likewise.
33651 (csloww1): Likewise.
33652 (csloww2): Likewise.
33653
33654 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
33655 function.
33656 (__sin): Use it.
33657 (__cos): Likewise.
33658
33659 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
33660 gotos.
33661 (__cos): Likewise.
33662
33663 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
33664
33665 * config.h.in (HAVE_MIPS_NAN2008): New macro.
33666 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
33667 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
33668 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
33669 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
33670 * elf/cache.c (print_entry): Handle the new cache flags.
33671
33672 2013-09-18 Joseph Myers <joseph@codesourcery.com>
33673 Aldy Hernandez <aldyh@redhat.com>
33674
33675 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
33676 Change condition to [_SOFT_FLOAT].
33677 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
33678 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
33679 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
33680 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
33681 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
33682 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
33683 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
33684 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
33685 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
33686 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
33687 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
33688 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
33689 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
33690 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
33691 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
33692 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
33693 declaration.
33694
33695 2013-09-18 Joseph Myers <joseph@codesourcery.com>
33696
33697 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
33698 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
33699 (__longjmp): Use LOAD_GP to load saved GPRs.
33700 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
33701 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
33702 (__sigsetjmp): Use SAVE_GP to save GPRs.
33703
33704 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
33705 Do not append -msoft-float.
33706 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
33707
33708 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
33709
33710 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
33711
33712 2013-09-17 Joseph Myers <joseph@codesourcery.com>
33713
33714 [BZ #15966]
33715 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
33716 (_FPU_GETCW): Use initial "__" on variable and field names but not
33717 on macro parameter name.
33718 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
33719 parentheses around reference to macro parameter.
33720
33721 2013-09-13 Richard Sandiford <richard@codesourcery.com>
33722
33723 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
33724 prototype.
33725 (ctype_startup): Use uint32_t in cast and sizeof for
33726 ctype->charnames.
33727
33728 2013-09-11 Jia Liu <proljc@gmail.com>
33729
33730 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
33731 __daddr_t_defined.
33732 [__FreeBSD__]: Likewise.
33733
33734 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
33735
33736 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
33737 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
33738 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
33739 (strchr): Remove __strchr_sse42 ifunc selection.
33740 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
33741 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
33742
33743 2013-09-11 Will Newton <will.newton@linaro.org>
33744
33745 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
33746 parameter to RES. Remove hardcoded 1000 value.
33747 * benchtests/bench-skeleton.c (main): Pass RES parameter
33748 to TIMING_INIT and multiply result by 1000.
33749
33750 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33751
33752 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33753
33754 2013-09-11 Andreas Schwab <schwab@suse.de>
33755
33756 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
33757 if not defined.
33758 (O_TMPFILE) [__USE_GNU]: Define.
33759 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
33760 Define.
33761
33762 2013-09-11 Will Newton <will.newton@linaro.org>
33763
33764 [BZ #15857]
33765 * malloc/malloc.c (__libc_memalign): Check the value of bytes
33766 does not overflow.
33767
33768 2013-09-11 Will Newton <will.newton@linaro.org>
33769
33770 [BZ #15856]
33771 * malloc/malloc.c (__libc_valloc): Check the value of bytes
33772 does not overflow.
33773
33774 2013-09-11 Will Newton <will.newton@linaro.org>
33775
33776 [BZ #15855]
33777 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
33778 does not overflow.
33779
33780 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
33781
33782 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
33783 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33784 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
33785 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
33786 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
33787
33788 2013-09-10 Allan McRae <allan@archlinux.org>
33789
33790 [BZ #15748]
33791 * manual/arith.texi (Parsing of Floats): Clarify
33792 cross-reference.
33793
33794 [BZ #15849]
33795 * manual/install.texi (Running make install): Mention
33796 --enable-pt-chown.
33797 * INSTALL: Regenerated.
33798
33799 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
33800
33801 * csu/init-first.c (_init): Remove the !SHARED condition around
33802 FPU control word initialization.
33803 * elf/dl-support.c (_dl_fpu_control): New variable.
33804 (_dl_aux_init) <AT_FPUCW>: Initialize it.
33805 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
33806 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
33807 * math/test-fpucw-static.c: New file.
33808 * math/test-fpucw-ieee.c: New file.
33809 * math/test-fpucw-ieee-static.c: New file.
33810 * math/Makefile (tests): Add `test-fpucw-ieee' and
33811 `$(tests-static)'.
33812 (tests-static): New variable.
33813 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
33814 dependency to...
33815 [($(build-shared),yes)]
33816 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
33817 ... this.
33818 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
33819 New dependency.
33820
33821 2013-09-09 Allan McRae <allan@archlinux.org>
33822
33823 [BZ #15939]
33824 * manual/string.texi (Collation Functions): Fix typo in
33825 strcoll example.
33826 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
33827
33828 [BZ #15893]
33829 * stdlib/isomac.c (get_null_defines): Fix memory leak.
33830
33831 [BZ #15892]
33832 * libio/memstream.c (open_memstream): Fix memory leak.
33833 * libio/wmemstream.c (open_wmemstream): Likewise.
33834
33835 [BZ #15895]
33836 * nscd/netgroupcache.c: Fix nesting of ifdefs.
33837
33838 2013-09-09 Will Newton <will.newton@linaro.org>
33839
33840 * malloc/Makefile: Add tst-realloc to tests.
33841 * malloc/tst-realloc.c: New file.
33842
33843 2013-09-09 Allan McRae <allan@archlinux.org>
33844
33845 [BZ #15844]
33846 * COPYING: Update from GNU website to fix FSF address.
33847 * COPYING.LIB: Likewise.
33848
33849 2013-09-06 David S. Miller <davem@davemloft.net>
33850
33851 * po/zh_TW.po: Update Chinese (traditional) translation from
33852 translation project.
33853
33854 2013-09-06 Richard Sandiford <richard@codesourcery.com>
33855 Joseph Myers <joseph@codesourcery.com>
33856
33857 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
33858 "localeinfo.h".
33859 (obstack_chunk_alloc): New macro.
33860 (obstack_chunk_free): Likewise.
33861 (record_offset): New function.
33862 (init_locale_data): Likewise.
33863 (align_locale_data): Likewise.
33864 (add_locale_empty): Likewise.
33865 (add_locale_raw_data): Likewise.
33866 (add_locale_raw_obstack): Likewise.
33867 (add_locale_string): Likewise.
33868 (add_locale_wstring): Likewise.
33869 (add_locale_uint32): Likewise.
33870 (add_locale_uint32_array): Likewise.
33871 (add_locale_char): Likewise.
33872 (start_locale_structure): Likewise.
33873 (end_locale_structure): Likewise.
33874 (start_locale_prelude): Likewise.
33875 (end_locale_prelude): Likewise.
33876 (write_locale_data): Take locale_file structure rather than an
33877 iovec.
33878 * locale/programs/locfile.h: Include "obstack.h".
33879 (struct locale_file): Change to store locale file contents instead
33880 of header.
33881 (init_locale_data): New prototype.
33882 (align_locale_data): Likewise.
33883 (add_locale_empty): Likewise.
33884 (add_locale_raw_data): Likewise.
33885 (add_locale_raw_obstack): Likewise.
33886 (add_locale_string): Likewise.
33887 (add_locale_wstring): Likewise.
33888 (add_locale_uint32): Likewise.
33889 (add_locale_uint32_array): Likewise.
33890 (add_locale_char): Likewise.
33891 (start_locale_structure): Likewise.
33892 (end_locale_structure): Likewise.
33893 (start_locale_prelude): Likewise.
33894 (end_locale_prelude): Likewise.
33895 (write_locale_data): Update prototype.
33896 * locale/programs/3level.h (struct TABLE): Remove result field.
33897 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
33898 Use new locale_file interface.
33899 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
33900 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
33901 * locale/programs/ld-address.c (address_output): Use new
33902 locale_file interface.
33903 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
33904 NO_ADD_LOCALE.
33905 (collate_finish): Don't call collseq_table_finalize.
33906 (collate_output): Use new locale_file interface.
33907 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
33908 in file.
33909 (NO_FINALIZE): Change to NO_ADD_LOCALE.
33910 (TABLE): Move defines earlier in file.
33911 (ELEMENT): Likewise.
33912 (DEFAULT): Likewise.
33913 (wctrans_table_add): Move macro and inline function earlier in
33914 file.
33915 (struct wctype_table): Move type earlier in file.
33916 (add_locale_wctype_table): New static prototype.
33917 (struct locale_ctype_t): Use logical types instead of struct iovec
33918 pointers for members.
33919 (ctype_output): Use new locale_file interface.
33920 (wctype_table_finalize): Change to add_locale_wctype_table. Use
33921 new locale_file interface.
33922 (allocate_arrays): Update for use of new locale_file interface.
33923 * locale/programs/ld-identification.c (identification_output): Use
33924 new locale_file interface.
33925 * locale/programs/ld-measurement.c (measurement_output): Likewise.
33926 * locale/programs/ld-messages.c (messages_output): Likewise.
33927 * locale/programs/ld-monetary.c (monetary_output): Likewise.
33928 * locale/programs/ld-name.c (name_output): Likewise.
33929 * locale/programs/ld-numeric.c (numeric_output): Likewise.
33930 * locale/programs/ld-paper.c (paper_output): Likewise.
33931 * locale/programs/ld-telephone.c (telephone_output): Likewise.
33932 * locale/programs/ld-time.c (time_output): Likewise.
33933
33934 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33935
33936 * benchtests/Makefile: Add memrchr benchmark.
33937 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
33938 benchmark as memrchr.
33939 * benchtests/bench-memrchr-ifunc.c: New file.
33940 * benchtests/bench-memrchr.c: New file.
33941
33942 2013-09-06 Will Newton <will.newton@linaro.org>
33943
33944 * benchtests/Makefile (string-bench): Add memcpy.
33945
33946 2013-09-05 Carlos O'Donell <carlos@redhat.com>
33947 Cong Wang <amwang@redhat.com>
33948
33949 [BZ #15850]
33950 * sysdeps/unix/sysv/linux/bits/in.h
33951 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
33952 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
33953 before __USE_KERNEL_IPV6_DEFS uses.
33954 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
33955 IPPROTO_BEETPH.
33956 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
33957 sockaddr_in6, or ipv6_mreq.
33958
33959 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33960
33961 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
33962 memory access for final bytes in some large inputs.
33963 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
33964
33965 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33966
33967 * string/test-memrchr.c: New file.
33968 * string/test-memrchr-ifunc.c: New file.
33969 * string/Makefile: Add new memrchr testcase.
33970
33971 2013-09-05 Mike Frysinger <vapier@gentoo.org>
33972
33973 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
33974 fanotify_init returns EPERM.
33975
33976 2013-09-04 Joseph Myers <joseph@codesourcery.com>
33977
33978 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
33979 errors.
33980 (top level): Treat second token from macro or constant entries for
33981 allowed headers as allowed.
33982 * include/complex.h: Condition internal declarations on
33983 [!_ISOMAC].
33984 * include/fenv.h: Condition include of <stdbool.h> and internal
33985 declarations on [!_ISOMAC].
33986
33987 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
33988
33989 [BZ #15923]
33990 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
33991
33992 2013-09-04 Joseph Myers <joseph@codesourcery.com>
33993
33994 * configure.in (--enable-versioning): Remove configure option.
33995 (libc_cv_asm_symver_directive): Remove configure test.
33996 (libc_cv_ld_version_script_option): Likewise.
33997 (VERSIONING): Remove variable and AC_SUBST.
33998 (DO_VERSIONING): Remove AC_DEFINE.
33999 * configure: Regenerated.
34000 * config.h.in (DO_VERSIONING): Remove macro.
34001 * Makerules [$(versioning) = yes]: Change conditionals to
34002 [$(build-shared) = yes].
34003 * config.make.in (versioning): Remove variable.
34004 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
34005 [$(build-shared) = yes].
34006 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
34007 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
34008 * elf/Makefile [$(versioning) = yes]: Change conditionals to
34009 [$(build-shared) = yes].
34010 * extra-lib.mk [$(versioning) = yes]: Likewise.
34011 * hurd/Makefile [$(versioning) = yes]: Likewise.
34012 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
34013 [SHARED].
34014 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
34015 [SHARED].
34016 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
34017 [SHARED && !NO_HIDDEN].
34018 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
34019 [SHARED].
34020 [SHARED && DO_VERSIONING]: Likewise..
34021 * libio/Makefile [$(versioning) = yes]: Change conditionals to
34022 [$(build-shared) = yes].
34023 * manual/install.texi (--disable-versioning): Remove
34024 documentation.
34025 * INSTALL: Regenerated.
34026 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
34027 to [SHARED].
34028 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
34029 [$(build-shared) = yes].
34030 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
34031 * sysdeps/i386/i686/multiarch/strstr-c.c
34032 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
34033 [SHARED && !NO_HIDDEN].
34034 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
34035 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
34036 * sysdeps/powerpc/powerpc32/dl-machine.c
34037 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
34038 * sysdeps/powerpc/powerpc32/sysdep.h
34039 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
34040 to [SHARED && PIC && !NO_HIDDEN].
34041 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
34042 conditional to [SHARED].
34043
34044 2013-09-04 Will Newton <will.newton@linaro.org>
34045
34046 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
34047 * benchtests/bench-string.h: Include bench-timing.h instead
34048 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
34049 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
34050 call to HP_TIMING_DIFF_INIT.
34051 * benchtests/bench-memccpy.c: Use bench-timing.h macros
34052 instead of hp-timing.h macros.
34053 * benchtests/bench-memchr.c: Likewise.
34054 * benchtests/bench-memcmp.c: Likewise.
34055 * benchtests/bench-memcpy.c: Likewise.
34056 * benchtests/bench-memmem.c: Likewise.
34057 * benchtests/bench-memmove.c: Likewise.
34058 * benchtests/bench-memset.c: Likewise.
34059 * benchtests/bench-rawmemchr.c: Likewise.
34060 * benchtests/bench-strcasecmp.c: Likewise.
34061 * benchtests/bench-strcasestr.c: Likewise.
34062 * benchtests/bench-strcat.c: Likewise.
34063 * benchtests/bench-strchr.c: Likewise.
34064 * benchtests/bench-strcmp.c: Likewise.
34065 * benchtests/bench-strcpy.c: Likewise.
34066 * benchtests/bench-strcpy_chk.c: Likewise.
34067 * benchtests/bench-strlen.c: Likewise.
34068 * benchtests/bench-strncasecmp.c: Likewise.
34069 * benchtests/bench-strncat.c: Likewise.
34070 * benchtests/bench-strncmp.c: Likewise.
34071 * benchtests/bench-strncpy.c: Likewise.
34072 * benchtests/bench-strnlen.c: Likewise.
34073 * benchtests/bench-strpbrk.c: Likewise.
34074 * benchtests/bench-strrchr.c: Likewise.
34075 * benchtests/bench-strspn.c: Likewise.
34076 * benchtests/bench-strstr.c: Likewise.
34077
34078 2013-09-04 Will Newton <will.newton@linaro.org>
34079
34080 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
34081
34082 2013-09-03 Joseph Myers <joseph@codesourcery.com>
34083
34084 [BZ #15427]
34085 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
34086 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
34087 * math/libm-test.inc (lgamma_test_data): Add more tests.
34088 * sysdeps/i386/fpu/libm-test-ulps: Update.
34089 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34090
34091 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
34092
34093 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
34094 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
34095 Add ifunc.
34096 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
34097 Add strcmp-sse2-unaligned
34098 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
34099
34100 2013-09-02 Mike Frysinger <vapier@gentoo.org>
34101
34102 * Versions.def (libc): Add GLIBC_2.19.
34103
34104 2013-09-02 Mike Frysinger <vapier@gentoo.org>
34105
34106 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
34107 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
34108
34109 2013-09-02 Joseph Myers <joseph@codesourcery.com>
34110
34111 [BZ #14155]
34112 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
34113 intermediate calculations in recurrence.
34114 (__ieee754_ynf): Likewise.
34115 * math/libm-test.inc (jn_test_data): Do not allow spurious
34116 underflow exception. Add more tests.
34117 (yn_test_data): Add more tests.
34118 * sysdeps/i386/fpu/libm-test-ulps: Update.
34119 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34120
34121 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
34122
34123 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
34124
34125 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
34126
34127 * csu/init-first.c: Fix then/than typos.
34128 * locale/programs/ld-collate.c: Likewise.
34129 * locale/programs/linereader.h: Likewise.
34130 * manual/charset.texi: Likewise.
34131 * manual/filesys.texi: Likewise.
34132 * manual/stdio.texi: Likewise.
34133 * manual/string.texi: Likewise.
34134 * stdlib/fmtmsg.c: Likewise.
34135 * sysdeps/i386/stpncpy.S: Likewise.
34136 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
34137 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
34138 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
34139 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
34140
34141 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
34142
34143 * elf/dl-open.c: Fix typos.
34144 * iconvdata/gbbig5.c: Likewise.
34145 * iconvdata/iso-2022-jp.c: Likewise.
34146 * iconv/gconv_int.h: Likewise.
34147 * iconv/loop.c: Likewise.
34148 * nis/rpcsvc/nis.h: Likewise.
34149 * resolv/ns_name.c: Likewise.
34150 * stdio-common/vfscanf.c: Likewise.
34151 * streams/stropts.h: Likewise.
34152 * sunrpc/rpc_thread.c: Likewise.
34153 * sysdeps/i386/strpbrk.S: Likewise.
34154 * sysdeps/ieee754/k_standard.c: Likewise.
34155 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
34156 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
34157 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
34158 * sysdeps/mach/hurd/profil.c: Likewise.
34159 * sysdeps/s390/dl-procinfo.h: Likewise.
34160 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
34161 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
34162 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
34163 * sysdeps/x86_64/dl-trampoline.S: Likewise.
34164 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
34165
34166 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
34167
34168 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
34169 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
34170
34171 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
34172
34173 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
34174 aix specific files.
34175 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
34176 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
34177 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
34178 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
34179 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
34180 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
34181 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
34182 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
34183
34184 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
34185 Roland McGrath <roland@hack.frob.com>
34186
34187 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
34188 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
34189
34190 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
34191
34192 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
34193 __executable_start symbol instead of _start.
34194
34195 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
34196
34197 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
34198 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
34199 Move macros to...
34200 * sysdeps/gnu/ldsodefs.h: ... this new file.
34201
34202 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
34203 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
34204 instead of ELFOSABI_LINUX.
34205
34206 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
34207 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
34208 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
34209 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
34210 Likewise.
34211 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
34212 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
34213 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
34214 Likewise.
34215 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
34216 (ibm_extended_long_double): Add ieee_nan member.
34217 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
34218 (do_test): New function.
34219
34220 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
34221 TEST_TRUNC.
34222 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
34223 functions, renamed from truncdfsf_test, trunctfsf_test,
34224 trunctfdf_test.
34225 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
34226 functions.
34227 (do_test): Run all these.
34228
34229 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
34230
34231 * argp/argp-help.c: Fix typos.
34232 * argp/argp-parse.c: Likewise.
34233 * debug/backtracesyms.c: Likewise.
34234 * elf/elf.h: Likewise.
34235 * malloc/malloc.c: Likewise.
34236 * nis/nis_print.c: Likewise.
34237 * resolv/res_comp.c: Likewise.
34238 * stdlib/stdlib.h: Likewise.
34239 * sunrpc/clnt_tcp.c: Likewise.
34240 * sunrpc/clnt_udp.c: Likewise.
34241 * sunrpc/clnt_unix.c: Likewise.
34242 * sysdeps/unix/bsd/ptsname.c: Likewise.
34243 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
34244 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
34245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
34246 Likewise.
34247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
34248 Likewise.
34249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
34250 Likewise.
34251 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
34252
34253 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34254
34255 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
34256 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
34257
34258 2013-08-27 Mike Frysinger <vapier@gentoo.org>
34259
34260 [BZ #15897]
34261 * dlfcn/Makefile (tests): Add bug-dl-leaf.
34262 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
34263 ($(objpfx)bug-dl-leaf): New rule.
34264 ($(objpfx)bug-dl-leaf.so): Likewise.
34265 ($(objpfx)bug-dl-leaf.out): Likewise.
34266 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
34267 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
34268 * dlfcn/bug-dl-leaf.c: New test.
34269 * dlfcn/bug-dl-leaf-lib.c: Likewise.
34270 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
34271 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
34272 (dlclose): Likewise.
34273 (dlmopen): Likewise.
34274
34275 2013-08-27 Roland McGrath <roland@hack.frob.com>
34276
34277 * include/netdb.h [!_ISOMAC]:
34278 Don't include <tls.h>.
34279 (h_errno, __libc_h_errno): Move declaration and macros out of
34280 [_LIBC_REENTRANT].
34281
34282 * include/resolv.h [_RESOLV_H_]:
34283 Don't include <tls.h>.
34284 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
34285 * resolv/res_libc.c: Don't include <tls.h>.
34286 (_res): Use __attribute__ ((nocommon)) in place of
34287 __attribute__ ((section (".bss"))).
34288
34289 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
34290 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
34291
34292 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
34293
34294 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
34295 only under [SIOCGIFCONF && SIOCGIFNETMASK].
34296
34297 * resolv/res_mkquery.c: Include <sys/time.h>.
34298
34299 * inet/ifreq.c: Moved to ...
34300 * sysdeps/unix/ifreq.c: ... here.
34301 * inet/ifreq.c: New file, true stub version.
34302
34303 * socket/sa_len.c: New file.
34304 * socket/Makefile (aux): Add it.
34305 * sysdeps/unix/sysv/linux/Makefile
34306 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
34307 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
34308 and #include <socket/sa_len.c>.
34309 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
34310 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
34311
34312 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
34313 * bits/socket.h: ... here.
34314
34315 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
34316 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
34317 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
34318
34319 2013-08-27 Andreas Schwab <schwab@suse.de>
34320
34321 [BZ #15736]
34322 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
34323 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
34324 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
34325 * string/test-strcasecmp.c (test_main): Run tests in several
34326 locales.
34327 * string/test-strncasecmp.c (test_main): Likewise.
34328
34329 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
34330 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
34331 to __strcasecmp_nonascii and __strncasecmp_nonascii.
34332 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
34333 (__strncasecmp_ssse3) [PIC]: Likewise.
34334
34335 2013-08-26 Roland McGrath <roland@hack.frob.com>
34336
34337 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
34338
34339 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
34340 instead of explicitly declaring xdecrypt.
34341 * nis/nss_nis/nis-publickey.c: Likewise.
34342
34343 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
34344
34345 [BZ #15890]
34346 * nscd/aicache.c: Include res_hconf.h.
34347 (addhstaiX): Initialize res_hconf.
34348
34349 2013-08-26 Andreas Schwab <schwab@suse.de>
34350
34351 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
34352 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
34353
34354 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
34355
34356 * nscd/aicache.c (addhstaiX): Fix indentation.
34357
34358 2013-08-25 Mike Frysinger <vapier@gentoo.org>
34359
34360 * configure.ac: Quote $build_pt_chown test.
34361 * configure: Regenerated.
34362
34363 2013-08-23 Joseph Myers <joseph@codesourcery.com>
34364
34365 [BZ #15532]
34366 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
34367 * math/s_cexpf.c (__cexpf): Likewise.
34368 * math/s_cexpl.c (__cexpl): Likewise.
34369 * math/libm-test.inc (cexp_test_data): Correct expected return
34370 value for NaN + i0. Add another test.
34371
34372 2013-08-22 David S. Miller <davem@davemloft.net>
34373
34374 * po/ca.po: Update Catalan translation from translation project.
34375 * po/uk.po: Add Ukrainian translations from translation project.
34376
34377 2013-08-21 Joseph Myers <joseph@codesourcery.com>
34378
34379 [BZ #15797]
34380 * math/s_fdim.c (__fdim): Check for infinite arguments if result
34381 is infinite, not alongside NaN test.
34382 * math/s_fdimf.c (__fdimf): Likewise.
34383 * math/s_fdiml.c (__fdiml): Likewise.
34384 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
34385 errno is unchanged.
34386
34387 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
34388
34389 * argp/argp-help.c: Fix typos.
34390 * crypt/speeds.c: Likewise.
34391 * csu/check_fds.c: Likewise.
34392 * elf/dl-load.c: Likewise.
34393 * elf/dl-open.c: Likewise.
34394 * elf/reldep3.c: Likewise.
34395 * elf/reldep.c: Likewise.
34396 * elf/sprof.c: Likewise.
34397 * iconv/iconv_charmap.c: Likewise.
34398 * iconv/skeleton.c: Likewise.
34399 * iconv/strtab.c: Likewise.
34400 * io/lockf64.c: Likewise.
34401 * libio/libioP.h: Likewise.
34402 * resolv/gai_notify.c: Likewise.
34403 * resolv/ns_name.c: Likewise.
34404 * resolv/ns_samedomain.c: Likewise.
34405 * resolv/res_send.c: Likewise.
34406 * stdlib/random.c: Likewise.
34407 * sunrpc/rpc/xdr.h: Likewise.
34408 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
34409 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
34410 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
34411 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
34412 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
34413 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
34414 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
34415 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
34416 * sysdeps/mach/hurd/check_fds.c: Likewise.
34417 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
34418 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
34419 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
34420 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
34421 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
34422 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
34423 * sysdeps/pthread/aio_notify.c: Likewise.
34424 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
34425 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
34426 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
34427 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
34428 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
34429
34430 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34431
34432 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
34433 version if bit_Slow_SSE4_2 is set.
34434 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
34435 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
34436
34437 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34438
34439 [BZ #15867]
34440 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
34441 trampoline stack frame information.
34442 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
34443 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
34444 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
34445 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
34446 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
34447 * sysdeps/unix/sysv/linux/powerpc/init-first.c
34448 (_libc_vdso_platform_setup): Initialize the signal trampolines.
34449 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
34450 sa_flags value.
34451 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
34452 interrupting a syscall and set with option SA_SIGINFO.
34453
34454 2013-08-20 Joseph Myers <joseph@codesourcery.com>
34455
34456 [BZ #15531]
34457 * math/s_cproj.c (__cproj): Only return an infinity if one part of
34458 argument is infinite.
34459 * math/s_cprojf.c (__cprojf): Likewise.
34460 * math/s_cprojl.c (__cprojl): Likewise.
34461 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
34462 * math/libm-test.inc (cproj_test_data): Add more tests.
34463
34464 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
34465
34466 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
34467 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
34468 size. Use __ffs to determine corresponding shift.
34469
34470 2013-08-20 Joseph Myers <joseph@codesourcery.com>
34471 Roland McGrath <roland@hack.frob.com>
34472
34473 * Makefile (INSTALL): Remove trailing blank lines from output of
34474 makeinfo.
34475
34476 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34477
34478 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
34479 Align 32 bit compat elf_greg to 8 bytes.
34480
34481 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
34482
34483 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
34484
34485 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
34486
34487 * string/strcoll_l.c (coll_seq): New structure.
34488 (get_next_seq_cached): New function.
34489 (get_next_seq): New function.
34490 (do_compare): New function.
34491 (STRCOLL): Use GNU style definition. Simplify implementation
34492 by using get_next_seq, get_next_seq_cached and do_compare.
34493
34494 2013-08-16 Florian Weimer <fweimer@redhat.com>
34495
34496 [BZ #14699]
34497 CVE-2013-4237
34498 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
34499 member.
34500 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
34501 member.
34502 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
34503 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
34504 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
34505 conditional.
34506 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
34507 GETDENTS_64BIT_ALIGNED.
34508 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
34509 * manual/filesys.texi (Reading/Closing Directory): Document
34510 ENAMETOOLONG return value of readdir_r. Recommend readdir more
34511 strongly.
34512 * manual/conf.texi (Limits for Files): Add portability note to
34513 NAME_MAX, PATH_MAX.
34514 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
34515
34516 2013-08-13 Andreas Schwab <schwab@suse.de>
34517
34518 [BZ #15749]
34519 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
34520 of fabs.
34521 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
34522 LDBL_MAX_EXP >= 16384]: Add tests for it.
34523
34524 2013-08-12 David S. Miller <davem@davemloft.net>
34525
34526 * version.h (RELEASE): Set to "development".
34527 (VERSION): Set to "2.18.90".
34528 * NEWS: Add 2.19 section.
34529
34530 2013-08-03 David S. Miller <davem@davemloft.net>
34531
34532 * po/ko.po: Update Korean translation from translation project.
34533
34534 2013-08-01 David S. Miller <davem@davemloft.net>
34535
34536 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
34537 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
34538 Bilka.
34539
34540 2013-07-30 David S. Miller <davem@davemloft.net>
34541
34542 * po/fr.po: Update French translation from translation project.
34543
34544 2013-07-28 David S. Miller <davem@davemloft.net>
34545
34546 * po/cs.po: Update Czech translation from translation project.
34547
34548 * po/sv.po: Update Swedish translation from translation project.
34549
34550 2013-07-27 David S. Miller <davem@davemloft.net>
34551
34552 * po/eo.po: Update Esperanto translation from translation project.
34553
34554 * po/vi.po: Update Vietnamese translation from translation project.
34555
34556 * po/de.po: Update German translation from translation project.
34557
34558 2013-07-26 David S. Miller <davem@davemloft.net>
34559
34560 * po/bg.po: Update Bulgarian translation from translation project.
34561
34562 * po/nl.po: Update Dutch translation from translation project.
34563 * po/pl.po: Update Polish translation from translation project.
34564 * po/ru.po: Update Russian translation from translation project.
34565
34566 2013-07-24 David S. Miller <davem@davemloft.net>
34567
34568 * po/libc.pot: Update.
34569
34570 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34571
34572 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
34573 variable page size.
34574 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
34575 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
34576 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
34577
34578 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34579
34580 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
34581
34582 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
34583 Andreas Schwab <schwab@suse.de>
34584 Roland McGrath <roland@hack.frob.com>
34585 Joseph Myers <joseph@codesourcery.com>
34586 Carlos O'Donell <carlos@redhat.com>
34587
34588 [BZ #15755]
34589 * config.h.in: Define HAVE_PT_CHOWN.
34590 * config.make.in (build-pt-chown): New variable.
34591 * configure.in (--enable-pt_chown): New configure option.
34592 * configure: Regenerate.
34593 * login/Makefile: Include Makeconfig. Build pt_chown only if
34594 build-pt-chown is enabled.
34595 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
34596 pt_chown to fix pty ownership.
34597 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
34598 CLOSE_ALL_FDS.
34599 * manual/install.texi (Configuring and compiling): Mention
34600 --enable-pt_chown. Add @findex for grantpt.
34601 * INSTALL: Regenerate.
34602
34603 2013-07-20 David S. Miller <davem@davemloft.net>
34604
34605 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
34606 difference between 32-bit and 64-bit.
34607
34608 2013-07-15 Carlos O'Donell <carlos@redhat.com>
34609
34610 [BZ #15711]
34611 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
34612 Avoid system header dependency with -ffreestanding.
34613 ($(objpfx)bits/syscall%d): Likewise.
34614
34615 2013-07-13 David S. Miller <davem@davemloft.net>
34616
34617 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
34618 underflows from atanl/atan2l due to bug 15319.
34619 (casinh_test_data): Likewise.
34620
34621 2013-07-07 David S. Miller <davem@davemloft.net>
34622
34623 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
34624
34625 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
34626
34627 * sysdeps/i386/fpu/libm-test-ulps: Update.
34628 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34629
34630 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
34631
34632 * configure.in (--enable-lock-elision): Fix message text.
34633 * INSTALL: Regenerate.
34634 * configure: Regenerate.
34635
34636 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34637
34638 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34639
34640 2013-07-03 Andreas Jaeger <aj@suse.de>
34641
34642 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
34643 define.
34644 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
34645 (ptrace_peeksiginfo_args): Add.
34646 (__ptrace_peeksiginfo_flags): Add.
34647 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34648 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34649 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34650
34651 2013-07-03 Allan McRae <allan@archlinux.org>
34652
34653 * sysdeps/i386/fpu/libm-test-ulps: Update.
34654
34655 2013-07-02 David S. Miller <davem@davemloft.net>
34656
34657 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34658
34659 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
34660
34661 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34662
34663 2013-07-02 Joseph Myers <joseph@codesourcery.com>
34664
34665 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
34666 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34667
34668 2013-07-02 Andi Kleen <ak@linux.intel.com>
34669
34670 * config.h.in (ENABLE_LOCK_ELISION): Add.
34671 * configure.in (--enable-lock-elision): Add option.
34672 * manual/install.texi: Document --enable lock elision.
34673 * configure: Regenerate
34674 * INSTALL: Regenerate.
34675
34676 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
34677
34678 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
34679 SSE4.2 strcasecmp for libc.a.
34680 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
34681
34682 2013-07-02 Joseph Myers <joseph@codesourcery.com>
34683
34684 [BZ #13304]
34685 * soft-fp/op-common.h (_FP_FMA): New macro.
34686 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
34687 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
34688 (_FP_MUL_MEAT_1_imm): ... here.
34689 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
34690 (_FP_MUL_MEAT_1_wide): ... here.
34691 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
34692 (_FP_MUL_MEAT_1_hard): ... here.
34693 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
34694 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
34695 (_FP_MUL_MEAT_2_wide): ... here.
34696 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
34697 (_FP_MUL_MEAT_2_wide_3mul): ... here.
34698 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
34699 (_FP_MUL_MEAT_2_gmp): ... here.
34700 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
34701 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
34702 (_FP_MUL_MEAT_4_wide): ... here.
34703 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
34704 (_FP_MUL_MEAT_4_gmp): ... here.
34705 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
34706 (_FP_WFRACBITS_DW_S): Likewise.
34707 (_FP_WFRACXBITS_DW_S): Likewise.
34708 (_FP_HIGHBIT_DW_S): Likewise.
34709 (FP_FMA_S): Likewise.
34710 (_FP_FRAC_HIGH_DW_S): Likewise.
34711 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
34712 (_FP_WFRACBITS_DW_D): Likewise.
34713 (_FP_WFRACXBITS_DW_D): Likewise.
34714 (_FP_HIGHBIT_DW_D): Likewise.
34715 (FP_FMA_D): Likewise.
34716 (_FP_FRAC_HIGH_DW_D): Likewise.
34717 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
34718 (_FP_WFRACBITS_DW_E): Likewise.
34719 (_FP_WFRACXBITS_DW_E): Likewise.
34720 (_FP_HIGHBIT_DW_E): Likewise.
34721 (FP_FMA_E): Likewise.
34722 (_FP_FRAC_HIGH_DW_E): Likewise.
34723 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
34724 (_FP_WFRACBITS_DW_Q): Likewise.
34725 (_FP_WFRACXBITS_DW_Q): Likewise.
34726 (_FP_HIGHBIT_DW_Q): Likewise.
34727 (FP_FMA_Q): Likewise.
34728 (_FP_FRAC_HIGH_DW_Q): Likewise.
34729 * soft-fp/fmasf4.c: New file.
34730 * soft-fp/fmadf4.c: Likewise.
34731 * soft-fp/fmatf4.c: Likewise.
34732
34733 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34734
34735 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
34736 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
34737 Silvermont.
34738 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
34739 macro.
34740 (index_Slow_SSE4_2): Likewise.
34741 (index_Prefer_PMINUB_for_stringop): Likewise.
34742 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
34743 bit_Slow_SSE4_2 is set.
34744 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
34745 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
34746
34747 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
34748
34749 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
34750 rtld_global._dl_hwcap2.
34751 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
34752 POWER8.
34753 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
34754 POWER8 feature descriptions defined in _dl_hwcap2.
34755 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
34756 string handling for POWER8 feature bits.
34757 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
34758 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
34759 _dl_powerpc_cap_flags.
34760 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
34761 * sysdeps/powerpc/rtld-global-offsets.sym
34762 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
34763 _dl_hwcap2 in the rtld_global_ro structure.
34764
34765 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
34766
34767 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
34768 hardware capabilities in support of AT_HWCAP2.
34769 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
34770 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
34771 GLRO(dl_hwcap2).
34772 (_dl_show_auxv): Add support for calling _dl_procinfo to display
34773 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
34774 explicitly the unknown a_type display mechanism is used.
34775 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
34776 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
34777 struct member.
34778 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
34779 to macro prototype for AT_HWCAP2 support.
34780 * sysdeps/i386/dl-procinfo.h: Likewise.
34781 * sysdeps/s390/dl-procinfo.h: Likewise.
34782 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
34783 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
34784 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
34785 return -1 for unknown a_type display fallback.
34786 * sysdeps/sparc/dl-procinfo.h: Likewise.
34787 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
34788 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
34789
34790 2013-06-28 Joseph Myers <joseph@codesourcery.com>
34791
34792 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
34793 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
34794
34795 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
34796
34797 [BZ #12492]
34798 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
34799 mprotect making __stack_prot writable.
34800
34801 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
34802 Joseph Myers <joseph@codesourcery.com>
34803
34804 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
34805 as being properly aligned.
34806
34807 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
34808
34809 * dlfcn/modstatic5.c: New file.
34810 * dlfcn/tststatic5.c: New file.
34811 * dlfcn/Makefile (tests): Add tststatic5.
34812 (tests-static): Likewise.
34813 (modules-names): Add modstatic5.
34814 (tststatic5-ENV): New variable.
34815 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
34816
34817 [BZ #15022]
34818 * elf/dl-support.c (_dl_main_map): New variable.
34819 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
34820 (_dl_nns, _dl_load_adds): Set to 1.
34821 (_dl_initial_searchlist): Refer to _dl_main_map.
34822 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
34823 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
34824 call to _dl_get_origin.
34825 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
34826 around call_map.
34827 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
34828 * dlfcn/modstatic3.c: New file.
34829 * dlfcn/tststatic3.c: New file.
34830 * dlfcn/tststatic4.c: New file.
34831 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
34832 (tests-static): Likewise.
34833 (modules-names): Add modstatic3.
34834 (tststatic3-ENV, tststatic4-ENV): New variables.
34835 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
34836 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
34837
34838 2013-06-26 Joseph Myers <joseph@codesourcery.com>
34839
34840 * configure.in (CC): Require GCC version 4.4 or later.
34841 * configure: Regenerated.
34842 * manual/install.texi (Tools for Compilation): Update GCC version
34843 requirement.
34844 * INSTALL: Regenerated.
34845
34846 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34847
34848 [BZ #15674]
34849 * string/test-memcmp.c (check2): New.
34850 (main): Call check2.
34851
34852 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
34853
34854 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
34855
34856 [BZ #15022]
34857 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
34858 over to...
34859 (dl_open_worker) [!SHARED]: ... here.
34860
34861 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
34862
34863 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
34864
34865 2013-06-25 Richard Henderson <rth@redhat.com>
34866
34867 * locale/programs/locarchive.c: Include <libc-internal.h>
34868
34869 2013-06-25 Joseph Myers <joseph@codesourcery.com>
34870
34871 * manual/texinfo.tex: Update to version 2013-06-21.17, with
34872 trailing whitespace removed.
34873
34874 2013-06-24 Mike Frysinger <vapier@gentoo.org>
34875
34876 [BZ #10283]
34877 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
34878 * locale/programs/locarchive.c: Include libc-mmap.h.
34879 (prepare_address_space): Take two new outputs (the mmap base and len).
34880 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
34881 values.
34882 (create_archive): Declare new mmap base and len values for
34883 prepare_address_space, and store the result in ah.
34884 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
34885 (enlarge_archive): If ah->mmap_base is not NULL, use that and
34886 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
34887 Declare new mmap base and len values for
34888 prepare_address_space, and store the result in new_ah.
34889 (open_archive): Declare new mmap base and len values for
34890 prepare_address_space, and store the result in ah.
34891 (close_archive): If ah->mmap_base is not NULL, use that and
34892 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
34893 * sysdeps/generic/libc-mmap.h: New file.
34894
34895 2013-06-24 Mike Frysinger <vapier@gentoo.org>
34896
34897 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
34898 (ALIGN_UP): Likewise.
34899 (PTR_ALIGN_DOWN): Likewise.
34900 (PTR_ALIGN_UP): Likewise.
34901
34902 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
34903
34904 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
34905 entry mapped to PPC_PLATFORM_POWER8.
34906 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
34907 POWER8.
34908 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
34909 (_dl_string_platform): Add case for exporting platform position for
34910 POWER8.
34911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
34912 search path to sysdeps/powerpc/powerpc32/power8 directory.
34913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
34914 search path to sysdeps/powerpc/powerpc64/power8 directory.
34915 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
34916 power7 directories.
34917 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
34918 power7 directories.
34919
34920 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
34921
34922 * INSTALL: Regenerate.
34923
34924 * nscd/connections.c (nscd_init): Fix comment.
34925
34926 2013-06-22 Joseph Myers <joseph@codesourcery.com>
34927
34928 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
34929
34930 [BZ #15667]
34931 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
34932 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
34933
34934 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
34935
34936 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
34937 DL_DST_REQ_STATIC.
34938 (DL_DST_REQ_STATIC): Remove macro.
34939
34940 2013-06-21 Joseph Myers <joseph@codesourcery.com>
34941
34942 [BZ #7006]
34943 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
34944 with a shift of 0 bits.
34945
34946 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
34947
34948 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
34949 $(tststatic-ENV).
34950
34951 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
34952
34953 [BZ #15655]
34954 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
34955
34956 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34957
34958 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
34959 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
34960 accepts -fno-tree-loop-distribute-patterns.
34961 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
34962 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
34963 recursive call.
34964 * string/memset.c (memset): Likewise.
34965 * string/test-memmove.c (simple_memmove): Disable loop transformation
34966 to library calls.
34967 * string/test-memset.c (simple_memset): Likewise.
34968 * benchtests/bench-memmove.c (simple_memmove): Likewise.
34969 * benchtests/bench-memset.c (simple_memset): Likewise.
34970 * configure: Regenerated.
34971
34972 2013-06-20 Joseph Myers <joseph@codesourcery.com>
34973
34974 * math/test-misc.c (main): Ignore fesetround failure when failures
34975 of subsequent rounding tests would be ignored.
34976
34977 [BZ #15654]
34978 * math/fedisblxcpt.c (fedisableexcept): Return 0.
34979 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
34980 * math/fegetenv.c (__fegetenv): Return 0.
34981 * math/fegetexcept.c (fegetexcept): Return 0.
34982 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
34983 FE_TONEAREST.
34984 * math/feholdexcpt.c (feholdexcept): Return 0.
34985 * math/fesetenv.c (__fesetenv): Return 0.
34986 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
34987 argument FE_TONEAREST.
34988 * math/feupdateenv.c (__feupdateenv): Return 0.
34989 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
34990
34991 2013-06-18 Roland McGrath <roland@hack.frob.com>
34992
34993 * elf/rtld-Rules (rtld-compile-command.S): New variable.
34994 (rtld-compile-command.s, rtld-compile-command.c): New variables.
34995 ($(objpfx)rtld-%.os rules): Use them.
34996
34997 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34998
34999 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
35000 fields.
35001
35002 2013-06-17 Roland McGrath <roland@hack.frob.com>
35003
35004 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
35005 length of target pattern, then descending length of dependency pattern.
35006 * configure.in (AWK): Require gawk 3.1.2 or newer.
35007 * manual/install.texi (Tools for Compilation): Say that we do.
35008 * configure: Regenerated.
35009
35010 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
35011 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
35012 * scripts/sysd-rules.awk: ... this new script.
35013 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
35014 than a glob-style pattern.
35015
35016 2013-06-17 Joseph Myers <joseph@codesourcery.com>
35017
35018 * math/test-misc.c (main): Do not treat incorrectly rounded
35019 conversions as failure unless ROUNDING_TESTS passes.
35020
35021 2013-06-15 Joseph Myers <joseph@codesourcery.com>
35022
35023 [BZ #15631]
35024 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
35025 restore exception state around main square root computation, then
35026 check for inexactness explicitly.
35027
35028 * math/libm-test.inc (fma_test_data): Add another test.
35029
35030 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
35031
35032 * manual/threads.texi (Non-POSIX Extensions): New document
35033 node. Document pthread_getattr_default_np and
35034 pthread_setattr_default_np.
35035
35036 * Versions.def (libpthread): Add GLIBC_2.18.
35037 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
35038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
35039 Likewise.
35040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
35041 Likewise.
35042 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
35043 Likewise.
35044 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
35045 Likewise.
35046 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
35047 Likewise.
35048 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
35049 Likewise.
35050 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
35051 Likewise.
35052 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
35053 Likewise.
35054 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
35055 Likewise.
35056
35057 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35058
35059 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35060 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
35061
35062 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
35063 H.J. Lu <hjl.tools@gmail.com>
35064
35065 [BZ #15627]
35066 * sysdeps/x86_64/rtld-memset.c: Remove file.
35067 * sysdeps/x86_64/rtld-memset.S: New file.
35068
35069 2013-06-14 Joseph Myers <joseph@codesourcery.com>
35070
35071 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
35072 (test_in_one_mode): Take arguments for whether the rounding mode
35073 is supported for each floating-point type.
35074 (do_test): Pass new arguments to test_in_one_mode using
35075 ROUNDING_TESTS.
35076
35077 2013-06-13 Roland McGrath <roland@hack.frob.com>
35078
35079 * posix/tst-waitid.c (do_test): Distinguish different instances of
35080 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
35081 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
35082 before entering the kernel for waitpid.
35083
35084 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
35085
35086 * NEWS: Fix note on clock function precision. Text by Roland
35087 McGrath.
35088
35089 2013-06-13 Roland McGrath <roland@hack.frob.com>
35090
35091 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
35092 it into place only when and if the sanity check passes.
35093
35094 2013-06-13 Joseph Myers <joseph@codesourcery.com>
35095
35096 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
35097 output for whether conversion result is exact. Take argument
35098 indicating whether type is IBM long double.
35099 (round_for_all): Change need_exact field to ibm_ld.
35100 * stdlib/tst-strtod-round.c (struct exactness): New type.
35101 (struct test): Change bool ld_ok field to struct exactness exact.
35102 (TEST): Update all definitions for change to field.
35103 (tests): Regenerate array contents.
35104 (test_in_one_mode): Take pointer to new field instead of old ld_ok
35105 field value. Check for IBM long double here.
35106 (do_test): Update calls to test_in_one_mode.
35107
35108 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
35109
35110 [BZ #12515]
35111 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
35112 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
35113
35114 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35115
35116 [BZ #15605]
35117 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
35118 generated by the compiler on loop optimizations.
35119 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
35120 general definitions.
35121
35122 2013-06-12 Joseph Myers <joseph@codesourcery.com>
35123
35124 * math/bug-nextafter.c: Include <math-tests.h>.
35125 (main): Only test for exceptions if EXCEPTION_TESTS is true for
35126 the relevant type.
35127 * math/bug-nexttoward.c: Include <math-tests.h>.
35128 (main): Only test for exceptions if EXCEPTION_TESTS is true for
35129 the relevant type.
35130 * math/test-misc.c: Include <math-tests.h>.
35131 (main): Only test for exceptions if EXCEPTION_TESTS is true for
35132 the relevant type.
35133
35134 2013-06-12 Andreas Jaeger <aj@suse.de>
35135
35136 * po/ia.po: Update Interlingua translation from translation
35137 project.
35138
35139 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
35140
35141 * include/fenv.h: Include stdbool.h.
35142 (struct rm_ctx): New structure.
35143 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
35144 Define macro.
35145 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
35146 (SET_RESTORE_ROUNDF): Likewise.
35147 (SET_RESTORE_ROUNDL): Likewise.
35148 (SET_RESTORE_ROUND_NOEX): Likewise.
35149 (SET_RESTORE_ROUND_NOEXF): Likewise.
35150 (SET_RESTORE_ROUND_NOEXL): Likewise.
35151 (SET_RESTORE_ROUND_53BIT): Likewise.
35152 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
35153 (libc_feresetround_noexf_ctx): Likewise.
35154 (libc_feresetround_noexl_ctx): Likewise.
35155 (libc_feholdsetround_53bit_ctx): Likewise.
35156 (libc_feresetround_53bit_ctx): Likewise.
35157 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
35158 (libc_feholdexcept_setround_sse_ctx): New function.
35159 (libc_fesetenv_sse_ctx): Likewise.
35160 (libc_feupdateenv_sse_ctx): Likewise.
35161 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
35162 (libc_feholdexcept_setround_387_ctx): Likewise.
35163 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
35164 (libc_feholdsetround_387_prec_ctx): Likewise.
35165 (libc_feholdsetround_387_ctx): Likewise.
35166 (libc_feholdsetround_387_53bit_ctx): Likewise.
35167 (libc_feholdsetround_sse_ctx): Likewise.
35168 (libc_feresetround_sse_ctx): Likewise.
35169 (libc_feresetround_387_ctx): Likewise.
35170 (libc_feupdateenv_387_ctx): Likewise.
35171 (libc_feholdexcept_setroundf_ctx): Define macro.
35172 (libc_fesetenvf_ctx): Likewise.
35173 (libc_feupdateenvf_ctx): Likewise.
35174 (libc_feholdsetroundf_ctx): Likewise.
35175 (libc_feresetroundf_ctx): Likewise.
35176 (libc_feholdexcept_setround_ctx): Likewise.
35177 (libc_fesetenv_ctx): Likewise.
35178 (libc_feupdateenv_ctx): Likewise.
35179 (libc_feholdsetround_ctx): Likewise.
35180 (libc_feresetround_ctx): Likewise.
35181 (libc_feholdexcept_setroundl_ctx): Likewise.
35182 (libc_feupdateenvl_ctx): Likewise.
35183 (libc_feholdsetroundl_ctx): Likewise.
35184 (libc_feresetroundl_ctx): Likewise.
35185 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
35186 (libc_feresetround_53bit_ctx): Likewise.
35187
35188 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
35189
35190 * locale/iso-639.def: Convert to UTF-8.
35191
35192 2013-06-11 Joseph Myers <joseph@codesourcery.com>
35193
35194 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
35195 (EXCEPTION_TESTS_double): Likewise.
35196 (EXCEPTION_TESTS_long_double): Likewise.
35197 (EXCEPTION_TESTS): Likewise.
35198 * math/libm-test.inc (test_exceptions): Only test exceptions if
35199 EXCEPTION_TESTS (FLOAT).
35200
35201 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
35202
35203 * benchtests/Makefile (string-bench): Add strcpy_chk and
35204 stpcpy_chk.
35205 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
35206 * benchtests/bench-stpcpy_chk.c: New file.
35207 * benchtests/bench-strcpy_chk-ifunc.c: New file.
35208 * benchtests/bench-strcpy_chk.c: New file.
35209 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
35210 code.
35211 (do_test): Likewise.
35212
35213 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
35214
35215 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
35216 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
35217 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
35218 with tabs where appropriate.
35219 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
35220 dl-procinfo.h.
35221 [PPC_PLATFORM_PPC440]: Likewise.
35222 [PPC_PLATFORM_PPC464]: Likewise.
35223 [PPC_PLATFORM_PPC476]: Likewise.
35224 (_dl_string_platform): Add support for detecting ppc405, ppc440,
35225 ppc464, and ppc476 platform strings merging from ports/
35226 dl-procinfo.h.
35227
35228 2013-06-11 Andreas Schwab <schwab@suse.de>
35229
35230 [BZ #14991]
35231 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
35232 (from_ucs4_idx): Regenerate.
35233 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
35234 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
35235 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
35236 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
35237 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
35238 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
35239 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
35240 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
35241 from FROM_LOOP and TO_LOOP specific macros.
35242 (BODY): Handle combining characters.
35243 * iconvdata/BIG5HKSCS.irreversible: Update.
35244 * iconvdata/BIG5HKSCS.precomposed: New file.
35245 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
35246 characters.
35247 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
35248
35249 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
35250
35251 * include/sys/time.h: Fix indentation and add copyright header.
35252
35253 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
35254 (do_test): Likewise.
35255 * string/test-memchr.c (do_one_test): Likewise.
35256 (do_test): Likewise.
35257 * string/test-memcmp.c (do_one_test): Likewise.
35258 (do_test): Likewise.
35259 * string/test-memcpy.c (do_one_test): Likewise.
35260 (do_test): Likewise.
35261 * string/test-memmem.c (do_one_test): Likewise.
35262 (do_test): Likewise.
35263 (do_random_tests): Likewise.
35264 * string/test-memmove.c (do_one_test): Likewise.
35265 (do_test): Likewise.
35266 * string/test-memset.c (do_one_test): Likewise.
35267 (do_test): Likewise.
35268 * string/test-rawmemchr.c (do_one_test): Likewise.
35269 (do_test): Likewise.
35270 * string/test-strcasecmp.c (do_one_test): Likewise.
35271 (do_test): Likewise.
35272 * string/test-strcasestr.c (do_one_test): Likewise.
35273 (do_test): Likewise.
35274 * string/test-strcat.c (do_one_test): Likewise.
35275 (do_test): Likewise.
35276 * string/test-strchr.c (do_one_test): Likewise.
35277 (do_test): Likewise.
35278 * string/test-strcmp.c (do_one_test): Likewise.
35279 (do_test): Likewise.
35280 * string/test-strcpy.c (do_one_test): Likewise.
35281 (do_test): Likewise.
35282 * string/test-string.h: Likewise.
35283 (test_init): Likewise.
35284 * string/test-strlen.c (do_one_test): Likewise.
35285 (do_test): Likewise.
35286 * string/test-strncasecmp.c (do_one_test): Likewise.
35287 (do_test): Likewise.
35288 * string/test-strncat.c (do_one_test): Likewise.
35289 (do_test): Likewise.
35290 * string/test-strncmp.c (do_one_test): Likewise.
35291 (do_test_limit): Likewise.
35292 (do_test): Likewise.
35293 * string/test-strncpy.c (do_one_test): Likewise.
35294 (do_test): Likewise.
35295 * string/test-strnlen.c (do_one_test): Likewise.
35296 (do_test): Likewise.
35297 * string/test-strpbrk.c (do_one_test): Likewise.
35298 (do_test): Likewise.
35299 * string/test-strrchr.c (do_one_test): Likewise.
35300 (do_test): Likewise.
35301 * string/test-strspn.c (do_one_test): Likewise.
35302 (do_test): Likewise.
35303 * string/test-strstr.c (do_one_test): Likewise.
35304 (do_test): Likewise.
35305
35306 * benchtests/Makefile (string-bench): Add string benchmarks.
35307 * benchtests/bench-bcopy-ifunc.c: New file.
35308 * benchtests/bench-bcopy.c: New file.
35309 * benchtests/bench-bzero-ifunc.c: New file.
35310 * benchtests/bench-bzero.c: New file.
35311 * benchtests/bench-memccpy-ifunc.c: New file.
35312 * benchtests/bench-memccpy.c: New file.
35313 * benchtests/bench-memchr-ifunc.c: New file.
35314 * benchtests/bench-memchr.c: New file.
35315 * benchtests/bench-memcmp-ifunc.c: New file.
35316 * benchtests/bench-memcmp.c: New file.
35317 * benchtests/bench-memmem-ifunc.c: New file.
35318 * benchtests/bench-memmem.c: New file.
35319 * benchtests/bench-memmove-ifunc.c: New file.
35320 * benchtests/bench-memmove.c: New file.
35321 * benchtests/bench-mempcpy-ifunc.c: New file.
35322 * benchtests/bench-mempcpy.c: New file.
35323 * benchtests/bench-memset-ifunc.c: New file.
35324 * benchtests/bench-memset.c: New file.
35325 * benchtests/bench-rawmemchr-ifunc.c: New file.
35326 * benchtests/bench-rawmemchr.c: New file.
35327 * benchtests/bench-stpcpy-ifunc.c: New file.
35328 * benchtests/bench-stpcpy.c: New file.
35329 * benchtests/bench-stpncpy-ifunc.c: New file.
35330 * benchtests/bench-stpncpy.c: New file.
35331 * benchtests/bench-strcasecmp-ifunc.c: New file.
35332 * benchtests/bench-strcasecmp.c: New file.
35333 * benchtests/bench-strcasestr-ifunc.c: New file.
35334 * benchtests/bench-strcasestr.c: New file.
35335 * benchtests/bench-strcat-ifunc.c: New file.
35336 * benchtests/bench-strcat.c: New file.
35337 * benchtests/bench-strchr-ifunc.c: New file.
35338 * benchtests/bench-strchr.c: New file.
35339 * benchtests/bench-strchrnul-ifunc.c: New file.
35340 * benchtests/bench-strchrnul.c: New file.
35341 * benchtests/bench-strcmp-ifunc.c: New file.
35342 * benchtests/bench-strcmp.c: New file.
35343 * benchtests/bench-strcpy-ifunc.c: New file.
35344 * benchtests/bench-strcpy.c: New file.
35345 * benchtests/bench-strcspn-ifunc.c: New file.
35346 * benchtests/bench-strcspn.c: New file.
35347 * benchtests/bench-strlen-ifunc.c: New file.
35348 * benchtests/bench-strlen.c: New file.
35349 * benchtests/bench-strncasecmp-ifunc.c: New file.
35350 * benchtests/bench-strncasecmp.c: New file.
35351 * benchtests/bench-strncat-ifunc.c: New file.
35352 * benchtests/bench-strncat.c: New file.
35353 * benchtests/bench-strncmp-ifunc.c: New file.
35354 * benchtests/bench-strncmp.c: New file.
35355 * benchtests/bench-strncpy-ifunc.c: New file.
35356 * benchtests/bench-strncpy.c: New file.
35357 * benchtests/bench-strnlen-ifunc.c: New file.
35358 * benchtests/bench-strnlen.c: New file.
35359 * benchtests/bench-strpbrk-ifunc.c: New file.
35360 * benchtests/bench-strpbrk.c: New file.
35361 * benchtests/bench-strrchr-ifunc.c: New file.
35362 * benchtests/bench-strrchr.c: New file.
35363 * benchtests/bench-strspn-ifunc.c: New file.
35364 * benchtests/bench-strspn.c: New file.
35365 * benchtests/bench-strstr-ifunc.c: New file.
35366 * benchtests/bench-strstr.c: New file.
35367
35368 * benchtests/Makefile: Disable parallel execution of targets.
35369 (string-bench): Add memcpy.
35370 (benchset): New variable to store a list of benchmark sets.
35371 (bench-func): Renamed from bench.
35372 (bench-set): New target.
35373 (bench): Depend on bench-func and bench-set.
35374 * benchtests/README: Add section on benchmark sets.
35375 * benchtests/bench-memcpy-ifunc.c: New file.
35376 * benchtests/bench-memcpy.c: New file.
35377 * benchtests/bench-string.h: New file.
35378
35379 2013-06-11 Andreas Schwab <schwab@suse.de>
35380
35381 [BZ #15577]
35382 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
35383 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
35384 values in the triple.
35385 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
35386 terminator in the group key.
35387
35388 2013-06-11 Andreas Jaeger <aj@suse.de>
35389
35390 * po/zh_TW.po: Update Chinese (traditional) translation from
35391 translation project.
35392
35393 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
35394
35395 * include/time.h (__clock_gettime): Add libc_hidden_proto.
35396 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
35397 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
35398 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
35399 (clock_getcpuclockid): Likewise.
35400 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
35401 Add weak_alias and libc_hidden_def.
35402 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
35403 * rt/clock_gettime.c (clock_gettime): Rename to
35404 __clock_gettime. Add weak_alias and libc_hidden_def.
35405 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
35406 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
35407 __clock_nanosleep. Add weak_alias and libc_hidden_def.
35408 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
35409 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
35410 Likewise.
35411 * rt/clock_settime.c (clock_settime): Rename to
35412 __clock_settime. Add weak_alias and libc_hidden_def.
35413 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
35414
35415 2013-06-10 Joseph Myers <joseph@codesourcery.com>
35416
35417 * mach/err_boot.sub: Remove trailing whitespace.
35418 * mach/err_ipc.sub: Likewise.
35419 * mach/err_mach.sub: Likewise.
35420
35421 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
35422 (ROUNDING_TESTS_double): Likewise.
35423 (ROUNDING_TESTS_long_double): Likewise.
35424 (ROUNDING_TESTS): Likewise.
35425 * math/libm-test.inc: Include <math-tests.h>.
35426 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
35427 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
35428 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
35429 (IF_ROUND_INIT_FE_UPWARD): Likewise.
35430
35431 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
35432
35433 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
35434 of assigning.
35435
35436 2013-06-08 Joseph Myers <joseph@codesourcery.com>
35437
35438 * sysdeps/gnu/errlist.awk: Do not generate space at end of
35439 otherwise empty TRANS lines.
35440 * sysdeps/gnu/errlist.c: Regenerated.
35441
35442 * catgets/gencat.c (error_print): Use (void) in function
35443 definition.
35444 * crypt/crypt_util.c (__init_des): Likewise.
35445 * crypt/speeds.c (Stop): Likewise.
35446 (main): Likewise.
35447 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
35448 * inet/ruserpass.c (token): Likewise.
35449 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
35450 * intl/localealias.c (extend_alias_table): Likewise.
35451 * intl/plural-exp.c (init_germanic_plural): Likewise.
35452 * libio/fcloseall.c (__fcloseall): Likewise.
35453 * libio/genops.c (_IO_flush_all): Likewise.
35454 (_IO_flush_all_linebuffered): Likewise.
35455 (_IO_cleanup): Likewise.
35456 (_IO_iter_begin): Likewise.
35457 (_IO_iter_end): Likewise.
35458 (_IO_list_lock): Likewise.
35459 (_IO_list_unlock): Likewise.
35460 (_IO_list_resetlock): Likewise.
35461 * libio/getchar.c (getchar): Likewise.
35462 * libio/getchar_u.c (getchar_unlocked): Likewise.
35463 * libio/getwchar.c (getwchar): Likewise.
35464 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
35465 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
35466 * login/getpt.c (__getpt): Likewise.
35467 * login/tst-utmp.c (main): Likewise.
35468 * malloc/hooks.c (__malloc_check_init): Likewise.
35469 * malloc/malloc.c (__malloc_stats): Likewise.
35470 * malloc/mtrace.c (tr_break): Likewise.
35471 (mtrace): Likewise.
35472 (muntrace): Likewise.
35473 * misc/fstab.c (endfsent): Likewise.
35474 * misc/getclktck.c (__getclktck): Likewise.
35475 * misc/getdtsz.c (__getdtablesize): Likewise.
35476 * misc/gethostid.c (gethostid): Likewise.
35477 * misc/getpagesize.c (__getpagesize): Likewise.
35478 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
35479 (__get_nprocs): Likewise.
35480 (__get_phys_pages): Likewise.
35481 (__get_avphys_pages): Likewise.
35482 * misc/getttyent.c (getttyent): Likewise.
35483 (setttyent): Likewise.
35484 (endttyent): Likewise.
35485 * misc/getusershell.c (getusershell): Likewise.
35486 (endusershell): Likewise.
35487 (setusershell): Likewise.
35488 (initshells): Likewise.
35489 * misc/hsearch.c (__hdestroy): Likewise.
35490 * misc/sync.c (sync): Likewise.
35491 * misc/syslog.c (closelog_internal): Likewise.
35492 (closelog): Likewise.
35493 * misc/ttyslot.c (ttyslot): Likewise.
35494 * misc/vhangup.c (vhangup): Likewise.
35495 * posix/fork.c (__fork): Likewise.
35496 * posix/getegid.c (__getegid): Likewise.
35497 * posix/geteuid.c (__geteuid): Likewise.
35498 * posix/getgid.c (__getgid): Likewise.
35499 * posix/getpid.c (__getpid): Likewise.
35500 * posix/getppid.c (__getppid): Likewise.
35501 * posix/getuid.c (__getuid): Likewise.
35502 * posix/pause.c (pause): Likewise.
35503 * posix/setpgrp.c (setpgrp): Likewise.
35504 * posix/setsid.c (__setsid): Likewise.
35505 * posix/test-vfork.c (noop): Likewise.
35506 * resolv/gethnamaddr.c (_endhtent): Likewise.
35507 (_gethtent): Likewise.
35508 (ht_endhostent): Likewise.
35509 (gethostent): Likewise.
35510 (dns_service): Likewise.
35511 * stdlib/drand48.c (drand48): Likewise.
35512 * stdlib/lrand48.c (lrand48): Likewise.
35513 * stdlib/mrand48.c (mrand48): Likewise.
35514 * stdlib/rand.c (rand): Likewise.
35515 * stdlib/random.c (__random): Likewise.
35516 * stdlib/setenv.c (clearenv): Likewise.
35517 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
35518 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
35519 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
35520 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
35521 (__get_nprocs): Likewise.
35522 (__get_phys_pages): Likewise.
35523 (__get_avphys_pages): Likewise.
35524 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
35525 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
35526 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
35527 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
35528 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
35529 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
35530 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
35531 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
35532 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
35533 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
35534 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
35535 * sysdeps/mach/hurd/sync.c (sync): Likewise.
35536 * sysdeps/posix/clock.c (clock): Likewise.
35537 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
35538 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
35539 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
35540 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
35541 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
35542 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
35543 (__get_nprocs_conf): Likewise.
35544 (__get_phys_pages): Likewise.
35545 (__get_avphys_pages): Likewise.
35546 * time/clock.c (clock): Likewise.
35547 * time/tzset.c (__tzname_max): Likewise.
35548
35549 2013-06-07 Joseph Myers <joseph@codesourcery.com>
35550
35551 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
35552 (__bswap_32): Do not use "register".
35553 * crypt/crypt.c (_ufc_doit_r): Likewise.
35554 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
35555 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
35556 * gmon/gmon.c (__monstartup): Likewise.
35557 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
35558 * hurd/hurdmalloc.c (more_memory): Likewise.
35559 (malloc): Likewise.
35560 (free): Likewise.
35561 (realloc): Likewise.
35562 (malloc_fork_prepare): Likewise.
35563 (malloc_fork_parent): Likewise.
35564 (malloc_fork_child): Likewise.
35565 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
35566 (_svcauth_des): Likewise.
35567 * inet/inet_lnaof.c (inet_lnaof): Likewise.
35568 * inet/inet_net.c (inet_network): Likewise.
35569 * inet/inet_netof.c (inet_netof): Likewise.
35570 * inet/rcmd.c (__validuser2_sa): Likewise.
35571 * io/fts.c (fts_open): Likewise.
35572 (fts_load): Likewise.
35573 (fts_close): Likewise.
35574 (fts_read): Likewise.
35575 (fts_children): Likewise.
35576 (fts_build): Likewise.
35577 (fts_stat): Likewise.
35578 (fts_sort): Likewise.
35579 (fts_alloc): Likewise.
35580 (fts_lfree): Likewise.
35581 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
35582 (_IO_file_xsgetn): Likewise.
35583 (_IO_file_xsgetn_mmap): Likewise.
35584 * libio/iofopncook.c (_IO_cookie_read): Likewise.
35585 (_IO_cookie_write): Likewise.
35586 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
35587 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
35588 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
35589 * malloc/obstack.c (_obstack_begin): Likewise.
35590 (_obstack_begin_1): Likewise.
35591 (_obstack_newchunk): Likewise.
35592 (_obstack_allocated_p): Likewise.
35593 (obstack_free): Likewise.
35594 (_obstack_memory_used): Likewise.
35595 * misc/getttyent.c (getttynam): Likewise.
35596 (getttyent): Likewise.
35597 (skip): Likewise.
35598 (value): Likewise.
35599 * misc/getusershell.c (initshells): Likewise.
35600 * misc/syslog.c (__vsyslog_chk): Likewise.
35601 * misc/ttyslot.c (ttyslot): Likewise.
35602 * nis/nis_hash.c (__nis_hash): Likewise.
35603 * posix/fnmatch_loop.c (FCT): Likewise.
35604 * posix/getconf.c (print_all): Likewise.
35605 (main): Likewise.
35606 * posix/getopt.c (exchange): Likewise.
35607 * posix/glob.c (globfree): Likewise.
35608 (prefix_array): Likewise.
35609 (__glob_pattern_type): Likewise.
35610 * resolv/arpa/nameser.h (NS_GET16): Likewise.
35611 (NS_GET32): Likewise.
35612 (NS_PUT16): Likewise.
35613 (NS_PUT32): Likewise.
35614 * resolv/gethnamaddr.c (getanswer): Likewise.
35615 (gethostbyname2): Likewise.
35616 (gethostbyaddr): Likewise.
35617 (_gethtent): Likewise.
35618 (_gethtbyname2): Likewise.
35619 (_gethtbyaddr): Likewise.
35620 * resolv/ns_print.c (dst_s_get_int16): Likewise.
35621 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
35622 * resolv/res_init.c (__res_vinit): Likewise.
35623 (net_mask): Likewise.
35624 * resolv/res_mkquery.c (outchar): Likewise.
35625 (PRINT): Likewise.
35626 * stdio-common/printf_fp.c (outchar): Likewise.
35627 (PRINT): Likewise.
35628 * stdio-common/printf_fphex.c (outchar): Likewise.
35629 (PRINT): Likewise.
35630 * stdio-common/printf_size.c (outchar): Likewise.
35631 (PRINT): Likewise.
35632 * stdio-common/test_rdwr.c (main): Likewise.
35633 * stdio-common/tfformat.c (matches): Likewise.
35634 * stdio-common/vfprintf.c (outchar): Likewise.
35635 (printf_unknown): Likewise.
35636 (buffered_vfprintf): Likewise.
35637 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
35638 * stdio-common/xbug.c (AppendToBuffer): Likewise.
35639 (ReadFile): Likewise.
35640 * stdlib/qsort.c (SWAP): Likewise.
35641 (_quicksort): Likewise.
35642 * stdlib/setenv.c (__add_to_environ): Likewise.
35643 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
35644 * stdlib/strtol_l.c (__strtol_l): Likewise.
35645 * stdlib/tst-strtod.c (main): Likewise.
35646 * stdlib/tst-strtol.c (main): Likewise.
35647 * stdlib/tst-strtoll.c (main): Likewise.
35648 * string/bits/string2.h (__strcmp_cc): Likewise.
35649 (__strcmp_cg): Likewise.
35650 (__strcspn_c1): Likewise.
35651 (__strcspn_c2): Likewise.
35652 (__strcspn_c3): Likewise.
35653 (__strspn_c1): Likewise.
35654 (__strspn_c2): Likewise.
35655 (__strspn_c3): Likewise.
35656 (__strsep_1c): Likewise.
35657 (__strsep_2c): Likewise.
35658 (__strsep_3c): Likewise.
35659 * string/memccpy.c (__memccpy): Likewise.
35660 * string/stpcpy.c (__stpcpy): Likewise.
35661 * string/strcmp.c (strcmp): Likewise.
35662 * string/strrchr.c (strrchr): Likewise.
35663 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
35664 Likewise.
35665 * sysdeps/mach/hurd/getcwd.c
35666 (_hurd_canonicalize_directory_name_internal): Likewise.
35667 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
35668 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
35669 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
35670 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
35671 Likewise, in both definitions.
35672 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
35673 definitions.
35674 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
35675 64] (__bswap_64): Likewise.
35676 * time/test_time.c (main): Likewise.
35677 * time/tzfile.c (__tzfile_read): Likewise.
35678 (__tzfile_compute): Likewise.
35679 * time/tzset.c (__tzset_parse_tz): Likewise.
35680 (tzset_internal): Likewise.
35681 (compute_change): Likewise.
35682 * wcsmbs/wcscat.c (__wcscat): Likewise.
35683 * wcsmbs/wcschr.c (wcschr): Likewise.
35684 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
35685 * wcsmbs/wcscspn.c (wcscspn): Likewise.
35686 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
35687 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
35688 * wcsmbs/wcsspn.c (wcsspn): Likewise.
35689 * wcsmbs/wcsstr.c (wcsstr): Likewise.
35690 * wcsmbs/wmemchr.c (wmemchr): Likewise.
35691 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
35692 * wcsmbs/wmemset.c (wmemset): Likewise.
35693
35694 2013-06-06 Joseph Myers <joseph@codesourcery.com>
35695
35696 * scripts/config.guess: Update to version 2013-05-16.
35697 * scripts/config.sub: Update to version 2013-04-24.
35698 * scripts/install-sh: Update to version 2011-11-20.07.
35699 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
35700 * scripts/move-if-change: Update to version 2012-01-06 07:23.
35701
35702 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
35703
35704 * debug/fgetws_u_chk.c: Fix leading whitespaces.
35705 * elf/sln.c: Likewise.
35706 * hurd/hurd/ioctl.h: Likewise.
35707 * hurd/hurdmalloc.c: Likewise.
35708 * hurd/xattr.c: Likewise.
35709 * include/shlib-compat.h: Likewise.
35710 * inet/ruserpass.c: Likewise.
35711 * libio/iofgets_u.c: Likewise.
35712 * libio/iofgetws_u.c: Likewise.
35713 * locale/programs/ld-identification.c: Likewise.
35714 * locale/programs/ld-time.c: Likewise.
35715 * mach/msg-destroy.c: Likewise.
35716 * nss/nss_files/files-netgrp.c: Likewise.
35717 * resolv/res_data.c: Likewise.
35718 * soft-fp/op-1.h: Likewise.
35719 * soft-fp/op-2.h: Likewise.
35720 * soft-fp/op-4.h: Likewise.
35721 * soft-fp/op-common.h: Likewise.
35722 * stdio-common/printf_fphex.c: Likewise.
35723 * stdlib/strtod_l.c: Likewise.
35724 * sunrpc/rpc/clnt.h: Likewise.
35725 * sysdeps/generic/framestate.c: Likewise.
35726 * sysdeps/i386/bsd-_setjmp.S: Likewise.
35727 * sysdeps/i386/bsd-setjmp.S: Likewise.
35728 * sysdeps/i386/__longjmp.S: Likewise.
35729 * sysdeps/i386/setjmp.S: Likewise.
35730 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
35731 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
35732 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35733 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
35734 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
35735 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
35736 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
35737 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
35738 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35739 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
35740 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
35741 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
35742 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
35743 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
35744 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
35745 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
35746 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
35747 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
35748 * sysdeps/ieee754/support.c: Likewise.
35749 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
35750 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
35751 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
35752 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
35753 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
35754 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
35755 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
35756 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
35757 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
35758 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
35759 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
35760 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
35761 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
35762 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
35763 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
35764 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
35765 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
35766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
35767
35768 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
35769
35770 * posix/transbug.c: Remove executable mode.
35771
35772 2013-06-05 Joseph Myers <joseph@codesourcery.com>
35773
35774 * crypt/speeds.c: Remove trailing whitespace.
35775 * dlfcn/default.c: Likewise.
35776 * elf/ifuncdep2.c: Likewise.
35777 * elf/ifuncmain1.c: Likewise.
35778 * elf/ifuncmain1vis.c: Likewise.
35779 * elf/testobj.h: Likewise.
35780 * elf/tst-stackguard1.c: Likewise.
35781 * gmon/sys/gmon.h: Likewise.
35782 * hurd/hurdmsg.c: Likewise.
35783 * hurd/new-fd.c: Likewise.
35784 * hurd/ports-get.c: Likewise.
35785 * iconvdata/ibm1008_420.c: Likewise.
35786 * inet/tst-getni1.c: Likewise.
35787 * inet/tst-getni2.c: Likewise.
35788 * libio/ioungetc.c: Likewise.
35789 * libio/wfiledoalloc.c: Likewise.
35790 * manual/libm-err-tab.pl: Likewise.
35791 * math/w_dremf.c: Likewise.
35792 * misc/ftruncate.c: Likewise.
35793 * posix/bug-glob2.c: Likewise.
35794 * posix/tst-pcre.c: Likewise.
35795 * posix/wait4.c: Likewise.
35796 * resolv/README: Likewise.
35797 * resolv/res_debug.h: Likewise.
35798 * resolv/tst-inet_ntop.c: Likewise.
35799 * setjmp/bug269-setjmp.c: Likewise.
35800 * soft-fp/extended.h: Likewise.
35801 * soft-fp/op-1.h: Likewise.
35802 * soft-fp/op-2.h: Likewise.
35803 * soft-fp/op-4.h: Likewise.
35804 * soft-fp/op-8.h: Likewise.
35805 * soft-fp/testit.c: Likewise.
35806 * stdio-common/bug16.c: Likewise.
35807 * stdlib/random.c: Likewise.
35808 * sunrpc/rpcsvc/rquota.x: Likewise.
35809 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
35810 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
35811 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35812 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
35813 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
35814 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
35815 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
35816 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
35817 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
35818 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
35819 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
35820 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
35821 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
35822 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
35823 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
35824 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
35825 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
35826 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
35827 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
35828 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35829 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
35830 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
35831 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
35832 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
35833 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
35834 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
35835 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
35836 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
35837 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
35838 * sysdeps/ieee754/s_lib_version.c: Likewise.
35839 * sysdeps/mach/hurd/check_fds.c: Likewise.
35840 * sysdeps/mach/hurd/getsockname.c: Likewise.
35841 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
35842 * sysdeps/mach/hurd/recvfrom.c: Likewise.
35843 * sysdeps/powerpc/bits/link.h: Likewise.
35844 * sysdeps/powerpc/dl-procinfo.c: Likewise.
35845 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
35846 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
35847 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
35848 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
35849 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
35850 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
35851 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
35852 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
35853 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
35854 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
35855 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
35856 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
35857 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
35858 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
35859 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
35860 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
35861 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
35862 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
35863 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
35864 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
35865 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
35866 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
35867 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
35868 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
35869 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
35870 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
35871 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
35872 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
35873 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
35874 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
35875 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
35876 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
35877 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
35878 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
35879 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
35880 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
35881 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
35882 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
35883 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
35884 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
35885 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
35886 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
35887 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
35888 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
35889 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
35890 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
35891 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
35892 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
35893 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
35894 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35895 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
35896 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
35897 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
35898 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
35899 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
35900 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
35901 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
35902 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
35903 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
35904 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
35905 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
35906 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
35907 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
35908 * sysdeps/powerpc/sysdep.h: Likewise.
35909 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
35910 * sysdeps/s390/s390-64/sub_n.S: Likewise.
35911 * sysdeps/sh/dl-trampoline.S: Likewise.
35912 * sysdeps/sh/memset.S: Likewise.
35913 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
35914 * sysdeps/sh/strlen.S: Likewise.
35915 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
35916 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
35917 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
35918 * sysdeps/sparc/sparc32/rem.S: Likewise.
35919 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
35920 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
35921 * sysdeps/sparc/sparc32/strchr.S: Likewise.
35922 * sysdeps/sparc/sparc32/udiv.S: Likewise.
35923 * sysdeps/sparc/sparc32/urem.S: Likewise.
35924 * sysdeps/sparc/sparc64/add_n.S: Likewise.
35925 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
35926 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
35927 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
35928 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
35929 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
35930 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
35931 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
35932 * sysdeps/unix/bsd/times.c: Likewise.
35933 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
35934 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
35935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
35936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
35937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
35938 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
35939 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
35940 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
35941 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
35942 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
35943 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
35944 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
35945 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
35946 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
35947 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
35948 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
35949 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
35950 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
35951 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
35952 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
35953 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
35954 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
35955 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
35956 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
35957 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
35958 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
35959 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
35960 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
35961 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
35962 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
35963 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
35964 * sysdeps/x86_64/strcspn.S: Likewise.
35965
35966 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
35967
35968 * locale/C-translit.h: Revert #include <stdint.h> because this is a
35969 generated file. Regenerate properly from gen-translit.pl.
35970 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
35971 locale/C-translit.h.
35972
35973 2013-06-05 Andreas Schwab <schwab@suse.de>
35974
35975 [BZ #15100]
35976 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
35977 week as 6 instead of -1.
35978 * time/tst-strptime.c (day_tests): Add test case.
35979
35980 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
35981
35982 * sysdeps/generic/math_private.h
35983 (libc_feholdexcept_setround_53bit): Replace with
35984 libc_feholdsetround_53bit.
35985 (libc_feupdateenv_53bit): Replace with
35986 libc_feresetround_53bit.
35987 (SET_RESTORE_ROUND_53BIT): Adjust.
35988
35989 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
35990
35991 * string/test-strchrnul.c: Add copyright header.
35992
35993 * posix/tst-getaddrinfo4.c: Increase test timeout.
35994
35995 2013-06-03 Carlos O'Donell <carlos@redhat.com>
35996
35997 [BZ #15536]
35998 * math/libm-test.inc (MAX_EXP): Remove
35999 (MIN_EXP): Define.
36000 (ulp): Use MIN_EXP - MANT_DIG.
36001 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
36002
36003 2013-05-31 Carlos O'Donell <carlos@redhat.com>
36004
36005 * po/be.po: Revert last change.
36006 * po/zh_CN.po: Likewise.
36007 * po/header.pot: Likewise.
36008
36009 2013-05-31 Joseph Myers <joseph@codesourcery.com>
36010
36011 * Makefile ($(common-objpfx)linkobj/libc.so): Define
36012 link-libc-deps to empty as target-specific variable.
36013 * Makerules (link-libc-args): New variable.
36014 (libc-for-link): Likewise.
36015 (link-libc-deps): Likewise.
36016 (lib%.so): Depend on $(link-libc-deps). Link with
36017 $(link-libc-args).
36018 (build-module): Link with $(link-libc-args).
36019 (build-module-asneeded): Likewise.
36020 (build-module-helper-objlist): Filter out $(link-libc-deps) from
36021 list of objects.
36022 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
36023 target-specific variable.
36024 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
36025 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
36026 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
36027 libc.
36028 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
36029 libc and ld.so.
36030 ($(objpfx)libpcprofile.so): Likewise.
36031 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
36032 libc_nonshared.a.
36033 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
36034 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
36035 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
36036 $(link-libc-deps).
36037 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
36038 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
36039 * login/Makefile ($(objpfx)libutil.so): Likewise.
36040 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
36041 * math/Makefile ($(objpfx)libm.so): Likewise.
36042 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
36043 $(objpfx)libnsl.so): Define libc-for-link as target-specific
36044 variable instead of depending directly on libc.
36045 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
36046 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
36047 $(link-libc-deps).
36048 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
36049 libc.
36050 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
36051 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
36052 ($(objpfx)libanl.so): Likewise.
36053 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
36054 ld.so.
36055 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
36056 $(link-libc-deps).
36057 * sysdeps/i386/fpu/Makefile: Remove file.
36058 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
36059 ($(objpfx)libm.so): Remove dependency on ld.so.
36060
36061 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
36062
36063 [BZ # 15553]
36064 * nis/yp_xdr.c (XDRMAXNAME): Define.
36065 (XDRMAXRECORD): Define.
36066 (xdr_domainname): Use XDRMAXNAME.
36067 (xdr_mapname): Likewise.
36068 (xdr_peername): Likewise.
36069 (xdr_keydat): Use XDRMAXRECORD.
36070 (xdr_valdat): Likewise.
36071
36072 2013-05-30 Jeff Law <law@redhat.com>
36073
36074 [BZ #14256]
36075 * manual/errno.texi (ESTALE): Update to account for more than
36076 just NFS file systems.
36077 * sysdeps/gnu/errlist.c: Regenerated.
36078
36079 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
36080
36081 [BZ #15465]
36082 * elf/Makefile (tests): Add tst-null-argv.
36083 (modules-names): Add tst-null-argv-lib.
36084 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
36085 (tst-null-argv-ENV): Set environment for tst-null-argv.
36086 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
36087 (RTLD_PROGNAME): New macro.
36088 * elf/tst-null-argv.c: New test case.
36089 * elf/tst-null-argv-lib.c: Library for test case.
36090 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
36091 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
36092 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
36093 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
36094 * elf/dl-init.c (call_init): Likewise.
36095 (_dl_init): Likewise.
36096 * elf/dl-load.c (print_search_path): Likewise.
36097 (_dl_map_object): Likewise.
36098 * elf/dl-lookup.c (do_lookup_x): Likewise.
36099 (add_dependency): Likewise.
36100 (_dl_lookup_symbol_x): Likewise.
36101 (_dl_debug_bindings): Likewise.
36102 * elf/dl-open.c (_dl_show_scope): Likewise.
36103 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
36104 * elf/dl-version.c (match_symbol): Likewise.
36105 (_dl_check_map_versions): Likewise.
36106 * elf/rtld.c (dl_main): Likewise.
36107 (print_unresolved): Use RTLD_PROGNAME.
36108 (print_missing_version): Likewise.
36109 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
36110 (elf_machine_rela): Likewise.
36111 * sysdeps/powerpc/powerpc32/dl-machine.c
36112 (__process_machine_rela): Likewise.
36113 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
36114 Likewise.
36115 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
36116 Likewise.
36117 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
36118 Likewise.
36119 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
36120 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
36121 Likewise.
36122 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
36123 Likewise.
36124 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
36125
36126 2013-05-28 Carlos O'Donell <carlos@redhat.com>
36127
36128 * po/be.po: Add descriptive title.
36129 * po/zh_CN.po: Likewise.
36130 * po/header.pot: Likewise.
36131
36132 2013-05-28 Mike Frysinger <vapier@gentoo.org>
36133
36134 * locale/programs/locarchive.c (create_archive): Inlucde fname in
36135 error message.
36136 (enlarge_archive): Likewise.
36137
36138 2013-05-28 Ben North <ben@redfrontdoor.org>
36139
36140 * manual/arith.texi (frexp): It is the magnitude of the return
36141 value which lies in [0.5, 1), not the return value itself.
36142
36143 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36144
36145 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36146
36147 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
36148
36149 * stdio-common/bug26.c (main): Correct fscanf template.
36150
36151 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
36152 declare _dl_skip_args.
36153
36154 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
36155 Don't declare.
36156
36157 * manual/platform.texi: Add missing @end deftypefun.
36158
36159 2013-05-24 Joseph Myers <joseph@codesourcery.com>
36160
36161 [BZ #15529]
36162 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
36163 bit of mantissa of 2^16382.
36164 * math/libm-test.inc (hypot_test_data): Add more tests.
36165
36166 * math/libm-test.inc: Add drem and pow10 to list of tested
36167 functions.
36168 (pow10_test): New function.
36169 (drem_test): Likewise.
36170 (drem_test_tonearest): Likewise.
36171 (drem_test_towardzero): Likewise.
36172 (drem_test_downward): Likewise.
36173 (drem_test_upward): Likewise.
36174 (main): Call the new functions.
36175
36176 * math/libm-test.inc (finite_test_data): Remove.
36177 (finite_test): Run tests from isfinite_test_data.
36178 (gamma_test_data): Remove.
36179 (gamma_test): Run tests from lgamma_test_data.
36180 * sysdeps/i386/fpu/libm-test-ulps: Update.
36181 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36182
36183 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36184
36185 * manual/platform.texi: Add PowerPC PPR function set documentation.
36186 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
36187 implementation.
36188
36189 2013-05-24 Carlos O'Donell <carlos@redhat.com>
36190
36191 * math/libm-test.inc (MAX_EXP): Define.
36192 (ULPDIFF): Define.
36193 (ulp): New function.
36194 (check_float_internal): Use ULPDIFF.
36195 (cpow_test): Disable failing test.
36196 (check_ulp): Test ulp() implemetnation.
36197 (main): Call check_ulp before starting tests.
36198
36199 2013-05-24 Joseph Myers <joseph@codesourcery.com>
36200
36201 * math/gen-libm-test.pl (generate_testfile): Do not handle
36202 START_DATA and END_DATA.
36203 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
36204 END_DATA.
36205 (acos_tonearest_test_data): Likewise.
36206 (acos_towardzero_test_data): Likewise.
36207 (acos_downward_test_data): Likewise.
36208 (acos_upward_test_data): Likewise.
36209 (acosh_test_data): Likewise.
36210 (asin_test_data): Likewise.
36211 (asin_tonearest_test_data): Likewise.
36212 (asin_towardzero_test_data): Likewise.
36213 (asin_downward_test_data): Likewise.
36214 (asin_upward_test_data): Likewise.
36215 (asinh_test_data): Likewise.
36216 (atan_test_data): Likewise.
36217 (atanh_test_data): Likewise.
36218 (atan2_test_data): Likewise.
36219 (cabs_test_data): Likewise.
36220 (cacos_test_data): Likewise.
36221 (cacosh_test_data): Likewise.
36222 (carg_test_data): Likewise.
36223 (casin_test_data): Likewise.
36224 (casinh_test_data): Likewise.
36225 (catan_test_data): Likewise.
36226 (catanh_test_data): Likewise.
36227 (cbrt_test_data): Likewise.
36228 (ccos_test_data): Likewise.
36229 (ccosh_test_data): Likewise.
36230 (ceil_test_data): Likewise.
36231 (cexp_test_data): Likewise.
36232 (cimag_test_data): Likewise.
36233 (clog_test_data): Likewise.
36234 (clog10_test_data): Likewise.
36235 (conj_test_data): Likewise.
36236 (copysign_test_data): Likewise.
36237 (cos_test_data): Likewise.
36238 (cos_tonearest_test_data): Likewise.
36239 (cos_towardzero_test_data): Likewise.
36240 (cos_downward_test_data): Likewise.
36241 (cos_upward_test_data): Likewise.
36242 (cosh_test_data): Likewise.
36243 (cosh_tonearest_test_data): Likewise.
36244 (cosh_towardzero_test_data): Likewise.
36245 (cosh_downward_test_data): Likewise.
36246 (cosh_upward_test_data): Likewise.
36247 (cpow_test_data): Likewise.
36248 (cproj_test_data): Likewise.
36249 (creal_test_data): Likewise.
36250 (csin_test_data): Likewise.
36251 (csinh_test_data): Likewise.
36252 (csqrt_test_data): Likewise.
36253 (ctan_test_data): Likewise.
36254 (ctan_tonearest_test_data): Likewise.
36255 (ctan_towardzero_test_data): Likewise.
36256 (ctan_downward_test_data): Likewise.
36257 (ctan_upward_test_data): Likewise.
36258 (ctanh_test_data): Likewise.
36259 (ctanh_tonearest_test_data): Likewise.
36260 (ctanh_towardzero_test_data): Likewise.
36261 (ctanh_downward_test_data): Likewise.
36262 (ctanh_upward_test_data): Likewise.
36263 (erf_test_data): Likewise.
36264 (erfc_test_data): Likewise.
36265 (exp_test_data): Likewise.
36266 (exp_tonearest_test_data): Likewise.
36267 (exp_towardzero_test_data): Likewise.
36268 (exp_downward_test_data): Likewise.
36269 (exp_upward_test_data): Likewise.
36270 (exp10_test_data): Likewise.
36271 (exp2_test_data): Likewise.
36272 (expm1_test_data): Likewise.
36273 (fabs_test_data): Likewise.
36274 (fdim_test_data): Likewise.
36275 (finite_test_data): Likewise.
36276 (floor_test_data): Likewise.
36277 (fma_test_data): Likewise.
36278 (fma_towardzero_test_data): Likewise.
36279 (fma_downward_test_data): Likewise.
36280 (fma_upward_test_data): Likewise.
36281 (fmax_test_data): Likewise.
36282 (fmin_test_data): Likewise.
36283 (fmod_test_data): Likewise.
36284 (fpclassify_test_data): Likewise.
36285 (frexp_test_data): Likewise.
36286 (gamma_test_data): Likewise.
36287 (hypot_test_data): Likewise.
36288 (ilogb_test_data): Likewise.
36289 (isfinite_test_data): Likewise.
36290 (isgreater_test_data): Likewise.
36291 (isgreaterequal_test_data): Likewise.
36292 (isinf_test_data): Likewise.
36293 (isless_test_data): Likewise.
36294 (islessequal_test_data): Likewise.
36295 (islessgreater_test_data): Likewise.
36296 (isnan_test_data): Likewise.
36297 (isnormal_test_data): Likewise.
36298 (issignaling_test_data): Likewise.
36299 (isunordered_test_data): Likewise.
36300 (j0_test_data): Likewise.
36301 (j1_test_data): Likewise.
36302 (jn_test_data): Likewise.
36303 (ldexp_test_data): Likewise.
36304 (lgamma_test_data): Likewise.
36305 (lrint_test_data): Likewise.
36306 (lrint_tonearest_test_data): Likewise.
36307 (lrint_towardzero_test_data): Likewise.
36308 (lrint_downward_test_data): Likewise.
36309 (lrint_upward_test_data): Likewise.
36310 (llrint_test_data): Likewise.
36311 (llrint_tonearest_test_data): Likewise.
36312 (llrint_towardzero_test_data): Likewise.
36313 (llrint_downward_test_data): Likewise.
36314 (llrint_upward_test_data): Likewise.
36315 (log_test_data): Likewise.
36316 (log10_test_data): Likewise.
36317 (log1p_test_data): Likewise.
36318 (log2_test_data): Likewise.
36319 (logb_test_data): Likewise.
36320 (logb_downward_test_data): Likewise.
36321 (lround_test_data): Likewise.
36322 (llround_test_data): Likewise.
36323 (modf_test_data): Likewise.
36324 (nearbyint_test_data): Likewise.
36325 (nextafter_test_data): Likewise.
36326 (nexttoward_test_data): Likewise.
36327 (pow_test_data): Likewise.
36328 (pow_tonearest_test_data): Likewise.
36329 (pow_towardzero_test_data): Likewise.
36330 (pow_downward_test_data): Likewise.
36331 (pow_upward_test_data): Likewise.
36332 (remainder_test_data): Likewise.
36333 (remainder_tonearest_test_data): Likewise.
36334 (remainder_towardzero_test_data): Likewise.
36335 (remainder_downward_test_data): Likewise.
36336 (remainder_upward_test_data): Likewise.
36337 (remquo_test_data): Likewise.
36338 (rint_test_data): Likewise.
36339 (rint_tonearest_test_data): Likewise.
36340 (rint_towardzero_test_data): Likewise.
36341 (rint_downward_test_data): Likewise.
36342 (rint_upward_test_data): Likewise.
36343 (round_test_data): Likewise.
36344 (scalb_test_data): Likewise.
36345 (scalbn_test_data): Likewise.
36346 (scalbln_test_data): Likewise.
36347 (signbit_test_data): Likewise.
36348 (sin_test_data): Likewise.
36349 (sin_tonearest_test_data): Likewise.
36350 (sin_towardzero_test_data): Likewise.
36351 (sin_downward_test_data): Likewise.
36352 (sin_upward_test_data): Likewise.
36353 (sincos_test_data): Likewise.
36354 (sinh_test_data): Likewise.
36355 (sinh_tonearest_test_data): Likewise.
36356 (sinh_towardzero_test_data): Likewise.
36357 (sinh_downward_test_data): Likewise.
36358 (sinh_upward_test_data): Likewise.
36359 (sqrt_test_data): Likewise.
36360 (tan_test_data): Likewise.
36361 (tan_tonearest_test_data): Likewise.
36362 (tan_towardzero_test_data): Likewise.
36363 (tan_downward_test_data): Likewise.
36364 (tan_upward_test_data): Likewise.
36365 (tanh_test_data): Likewise.
36366 (tgamma_test_data): Likewise.
36367 (trunc_test_data): Likewise.
36368 (y0_test_data): Likewise.
36369 (y1_test_data): Likewise.
36370 (yn_test_data): Likewise.
36371 (significand_test_data): Likewise.
36372
36373 * math/gen-libm-test.pl (@functions): Remove variable.
36374 (generate_testfile): Don't handle START and END lines.
36375 * math/libm-test.inc (START): New macro.
36376 (END): Likewise.
36377 (END_COMPLEX): Likewise.
36378 (acos_test): Use END macro without arguments.
36379 (acos_test_tonearest): Likewise.
36380 (acos_test_towardzero): Likewise.
36381 (acos_test_downward): Likewise.
36382 (acos_test_upward): Likewise.
36383 (acosh_test): Likewise.
36384 (asin_test): Likewise.
36385 (asin_test_tonearest): Likewise.
36386 (asin_test_towardzero): Likewise.
36387 (asin_test_downward): Likewise.
36388 (asin_test_upward): Likewise.
36389 (asinh_test): Likewise.
36390 (atan_test): Likewise.
36391 (atanh_test): Likewise.
36392 (atan2_test): Likewise.
36393 (cabs_test): Likewise.
36394 (cacos_test): Use END_COMPLEX macro without arguments.
36395 (cacosh_test): Likewise.
36396 (carg_test): Use END macro without arguments.
36397 (casin_test): Use END_COMPLEX macro without arguments.
36398 (casinh_test): Likewise.
36399 (catan_test): Likewise.
36400 (catanh_test): Likewise.
36401 (cbrt_test): Use END macro without arguments.
36402 (ccos_test): Use END_COMPLEX macro without arguments.
36403 (ccosh_test): Likewise.
36404 (ceil_test): Use END macro without arguments.
36405 (cexp_test): Use END_COMPLEX macro without arguments.
36406 (cimag_test): Use END macro without arguments.
36407 (clog_test): Use END_COMPLEX macro without arguments.
36408 (clog10_test): Likewise.
36409 (conj_test): Likewise.
36410 (copysign_test): Use END macro without arguments.
36411 (cos_test): Likewise.
36412 (cos_test_tonearest): Likewise.
36413 (cos_test_towardzero): Likewise.
36414 (cos_test_downward): Likewise.
36415 (cos_test_upward): Likewise.
36416 (cosh_test): Likewise.
36417 (cosh_test_tonearest): Likewise.
36418 (cosh_test_towardzero): Likewise.
36419 (cosh_test_downward): Likewise.
36420 (cosh_test_upward): Likewise.
36421 (cpow_test): Use END_COMPLEX macro without arguments.
36422 (cproj_test): Likewise.
36423 (creal_test): Use END macro without arguments.
36424 (csin_test): Use END_COMPLEX macro without arguments.
36425 (csinh_test): Likewise.
36426 (csqrt_test): Likewise.
36427 (ctan_test): Likewise.
36428 (ctan_test_tonearest): Likewise.
36429 (ctan_test_towardzero): Likewise.
36430 (ctan_test_downward): Likewise.
36431 (ctan_test_upward): Likewise.
36432 (ctanh_test): Likewise.
36433 (ctanh_test_tonearest): Likewise.
36434 (ctanh_test_towardzero): Likewise.
36435 (ctanh_test_downward): Likewise.
36436 (ctanh_test_upward): Likewise.
36437 (erf_test): Use END macro without arguments.
36438 (erfc_test): Likewise.
36439 (exp_test): Likewise.
36440 (exp_test_tonearest): Likewise.
36441 (exp_test_towardzero): Likewise.
36442 (exp_test_downward): Likewise.
36443 (exp_test_upward): Likewise.
36444 (exp10_test): Likewise.
36445 (exp2_test): Likewise.
36446 (expm1_test): Likewise.
36447 (fabs_test): Likewise.
36448 (fdim_test): Likewise.
36449 (finite_test): Likewise.
36450 (floor_test): Likewise.
36451 (fma_test): Likewise.
36452 (fma_test_towardzero): Likewise.
36453 (fma_test_downward): Likewise.
36454 (fma_test_upward): Likewise.
36455 (fmax_test): Likewise.
36456 (fmin_test): Likewise.
36457 (fmod_test): Likewise.
36458 (fpclassify_test): Likewise.
36459 (frexp_test): Likewise.
36460 (gamma_test): Likewise.
36461 (hypot_test): Likewise.
36462 (ilogb_test): Likewise.
36463 (isfinite_test): Likewise.
36464 (isgreater_test): Likewise.
36465 (isgreaterequal_test): Likewise.
36466 (isinf_test): Likewise.
36467 (isless_test): Likewise.
36468 (islessequal_test): Likewise.
36469 (islessgreater_test): Likewise.
36470 (isnan_test): Likewise.
36471 (isnormal_test): Likewise.
36472 (issignaling_test): Likewise.
36473 (isunordered_test): Likewise.
36474 (j0_test): Likewise.
36475 (j1_test): Likewise.
36476 (jn_test): Likewise.
36477 (ldexp_test): Likewise.
36478 (lgamma_test): Likewise.
36479 (lrint_test): Likewise.
36480 (lrint_test_tonearest): Likewise.
36481 (lrint_test_towardzero): Likewise.
36482 (lrint_test_downward): Likewise.
36483 (lrint_test_upward): Likewise.
36484 (llrint_test): Likewise.
36485 (llrint_test_tonearest): Likewise.
36486 (llrint_test_towardzero): Likewise.
36487 (llrint_test_downward): Likewise.
36488 (llrint_test_upward): Likewise.
36489 (log_test): Likewise.
36490 (log10_test): Likewise.
36491 (log1p_test): Likewise.
36492 (log2_test): Likewise.
36493 (logb_test): Likewise.
36494 (logb_test_downward): Likewise.
36495 (lround_test): Likewise.
36496 (llround_test): Likewise.
36497 (modf_test): Likewise.
36498 (nearbyint_test): Likewise.
36499 (nextafter_test): Likewise.
36500 (nexttoward_test): Likewise.
36501 (pow_test): Likewise.
36502 (pow_test_tonearest): Likewise.
36503 (pow_test_towardzero): Likewise.
36504 (pow_test_downward): Likewise.
36505 (pow_test_upward): Likewise.
36506 (remainder_test): Likewise.
36507 (remainder_test_tonearest): Likewise.
36508 (remainder_test_towardzero): Likewise.
36509 (remainder_test_downward): Likewise.
36510 (remainder_test_upward): Likewise.
36511 (remquo_test): Likewise.
36512 (rint_test): Likewise.
36513 (rint_test_tonearest): Likewise.
36514 (rint_test_towardzero): Likewise.
36515 (rint_test_downward): Likewise.
36516 (rint_test_upward): Likewise.
36517 (round_test): Likewise.
36518 (scalb_test): Likewise.
36519 (scalbn_test): Likewise.
36520 (scalbln_test): Likewise.
36521 (signbit_test): Likewise.
36522 (sin_test): Likewise.
36523 (sin_test_tonearest): Likewise.
36524 (sin_test_towardzero): Likewise.
36525 (sin_test_downward): Likewise.
36526 (sin_test_upward): Likewise.
36527 (sincos_test): Likewise.
36528 (sinh_test): Likewise.
36529 (sinh_test_tonearest): Likewise.
36530 (sinh_test_towardzero): Likewise.
36531 (sinh_test_downward): Likewise.
36532 (sinh_test_upward): Likewise.
36533 (sqrt_test): Likewise.
36534 (tan_test): Likewise.
36535 (tan_test_tonearest): Likewise.
36536 (tan_test_towardzero): Likewise.
36537 (tan_test_downward): Likewise.
36538 (tan_test_upward): Likewise.
36539 (tanh_test): Likewise.
36540 (tgamma_test): Likewise.
36541 (trunc_test): Likewise.
36542 (y0_test): Likewise.
36543 (y1_test): Likewise.
36544 (yn_test): Likewise.
36545 (significand_test): Likewise.
36546
36547 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
36548
36549 [BZ #15381]
36550 * libio/genops.c (_IO_no_init): Initialize wide struct info.
36551
36552 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
36553
36554 [BZ #14894]
36555 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
36556 __ppc_mdoio and __ppc_mdoom.
36557 * manual/platform.texi: Document new functions __ppc_yield,
36558 __ppc_mdoio and __ppc_mdoom.
36559
36560 2013-05-22 Carlos O'Donell <carlos@redhat.com>
36561
36562 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
36563 (main): Mention "tls" pseudo-hwcap is legacy.
36564 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
36565
36566 2013-05-22 Joseph Myers <joseph@codesourcery.com>
36567
36568 * math/gen-libm-test.pl (parse_args): Output only string of
36569 arguments as text for test name, not full call or descriptions of
36570 tests for extra outputs.
36571 (generate_testfile): Do not pass function name to parse_args.
36572 Generate this_func variable from START.
36573 * math/libm-test.inc (struct test_f_f_data): Rename test_name
36574 field to arg_str.
36575 (struct test_ff_f_data): Likewise.
36576 (test_ff_f_data_nexttoward): Likewise.
36577 (struct test_fi_f_data): Likewise.
36578 (struct test_fl_f_data): Likewise.
36579 (struct test_if_f_data): Likewise.
36580 (struct test_fff_f_data): Likewise.
36581 (struct test_c_f_data): Likewise.
36582 (struct test_f_f1_data): Likewise. Remove field extra_name.
36583 (struct test_fF_f1_data): Likewise.
36584 (struct test_ffI_f1_data): Likewise.
36585 (struct test_c_c_data): Rename test_name field to arg_str.
36586 (struct test_cc_c_data): Likewise.
36587 (struct test_f_i_data): Likewise.
36588 (struct test_ff_i_data): Likewise.
36589 (struct test_f_l_data): Likewise.
36590 (struct test_f_L_data): Likewise.
36591 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
36592 and extra2_name.
36593 (COMMON_TEST_SETUP): New macro.
36594 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
36595 (COMMON_TEST_CLEANUP): Likewise.
36596 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
36597 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
36598 macros.
36599 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
36600 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
36601 macros.
36602 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
36603 (RUN_TEST_fff_f): Take argument string. Call new setup and
36604 cleanup macros.
36605 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
36606 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
36607 macros.
36608 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
36609 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
36610 macros.
36611 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
36612 (RUN_TEST_fF_f1): Take argument string. Call new setup and
36613 cleanup macros.
36614 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
36615 (RUN_TEST_fI_f1): Take argument string. Call new setup and
36616 cleanup macros.
36617 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
36618 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
36619 cleanup macros.
36620 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
36621 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
36622 macros.
36623 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
36624 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
36625 macros.
36626 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
36627 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
36628 macros.
36629 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
36630 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
36631 cleanup macros.
36632 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
36633 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
36634 cleanup macros.
36635 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
36636 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
36637 macros.
36638 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
36639 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
36640 cleanup macros.
36641 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
36642 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
36643 macros.
36644 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
36645 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
36646 macros.
36647 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
36648 (RUN_TEST_fFF_11): Take argument string. Call new setup and
36649 cleanup macros.
36650 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
36651
36652 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
36653
36654 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
36655 to _sifields.sigfault.
36656 (si_addr_lsb): Define new macro.
36657 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
36658 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
36659 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
36660
36661 2013-05-03 Carlos O'Donell <carlos at redhat.com>
36662
36663 [BZ #15441]
36664 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
36665 returns -1.
36666 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
36667 null return -1.
36668 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
36669 loading the domain.
36670
36671 2013-05-22 Joseph Myers <joseph@codesourcery.com>
36672
36673 * math/gen-libm-test.pl (parse_args): Do not include expected
36674 result in test name.
36675 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
36676 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36677 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
36678 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
36679 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
36680 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36681
36682 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
36683
36684 * benchtests/Makefile: Sort function entries.
36685
36686 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
36687 tanh, asinh, acosh, atanh.
36688 * benchtests/acos-inputs: New file.
36689 * benchtests/acosh-inputs: New file.
36690 * benchtests/asin-inputs: New file.
36691 * benchtests/asinh-inputs: New file.
36692 * benchtests/atanh-inputs: New file.
36693 * benchtests/cosh-inputs: New file.
36694 * benchtests/log-inputs: New file.
36695 * benchtests/sinh-inputs: New file.
36696 * benchtests/tanh-inputs: New file.
36697
36698 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
36699
36700 [BZ #15339]
36701 * posix/tst-getaddrinfo4.c: New test.
36702 * posix/Makefile (tests): Add it.
36703
36704 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
36705
36706 [BZ #15339]
36707 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
36708 when no services were used.
36709 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
36710 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
36711
36712 2013-05-21 Andreas Schwab <schwab@suse.de>
36713
36714 [BZ #15014]
36715 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
36716 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
36717 successful.
36718 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
36719 redundant variable declarations and reallocation of buffer when
36720 parsing as IPv6 address. Always set NSS status when called from
36721 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
36722 buffer too small. Correct computation of needed size.
36723 * nss/Makefile (tests): Add test-digits-dots.
36724 * nss/test-digits-dots.c: New test.
36725
36726 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
36727
36728 * benchtests/Makefile: Remove instructions for adding
36729 benchmark tests.
36730 * benchtests/README: New file to explain how to execute and
36731 enhance the benchmark tests.
36732
36733 2013-05-21 Andreas Schwab <schwab@suse.de>
36734
36735 [BZ #15493]
36736 * setjmp/Makefile (tests): Add tst-sigsetjmp.
36737 * setjmp/tst-sigsetjmp.c: New test.
36738
36739 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
36740
36741 * sysdeps/x86_64/memset.S (memset): New implementation.
36742 (__bzero): Likewise.
36743 (__memset_tail): New function.
36744
36745 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
36746
36747 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
36748 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
36749 __memcpy_sse2_unaligned ifunc selection.
36750 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
36751 Add memcpy-sse2-unaligned.S.
36752 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
36753 Add: __memcpy_sse2_unaligned.
36754
36755 2013-05-19 Joseph Myers <joseph@codesourcery.com>
36756
36757 [BZ #15490]
36758 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
36759 math_force_eval before restoring floating-point envrionment.
36760 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
36761 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
36762 Likewise.
36763 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
36764 <math_private.h>.
36765 (__nearbyintl): Use math_force_eval before restoring
36766 floating-point environment.
36767 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
36768
36769 * math/gen-libm-test.pl (special_functions): Remove.
36770 (parse_args): Don't handle TEST_extra. Handle functions with no
36771 return value.
36772 * math/libm-test.inc (struct test_sincos_data): Replace with
36773 struct test_fFF_11_data.
36774 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
36775 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
36776 (sincos_test_data): Change element type to struct
36777 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
36778 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
36779 RUN_TEST_LOOP_sincos.
36780 * math/README.libm-test: Don't mention special handling of
36781 individual functions.
36782 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
36783 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36784 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
36785 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
36786 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
36787 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36788
36789 * math/gen-libm-test.pl (get_variable): Remove function.
36790 (parse_args): Don't show pointer parameters to call in test
36791 names. Use "extra output N" in test names for extra outputs
36792 rather than naming variables.
36793
36794 2013-05-18 Joseph Myers <joseph@codesourcery.com>
36795
36796 [BZ #15488]
36797 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
36798 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
36799 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
36800 double tests.
36801 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
36802 disable.
36803 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
36804 check_long_double.
36805
36806 * math/gen-libm-test.pl (@tests): Remove variable.
36807 ($count): Likewise.
36808 (new_test): Remove function.
36809 (show_exceptions): New function.
36810 (special_functions): Use show_exceptions instead of new_test.
36811 (parse_args): Likewise.
36812 (generate_testfile): Pass only function name in generated call to
36813 print_max_error or print_complex_max_error.
36814 (get_ulps): Do not handle complex tests specially.
36815 (output_test): Rename to ...
36816 (get_all_ulps_for_test): ... this. Return a string rather than
36817 printing to a file. Require ulps to be present.
36818 (output_ulps): Generate arrays rather than #defines.
36819 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
36820 (struct ulp_data): New type.
36821 (BUILD_COMPLEX_ULP): Remove macro.
36822 (compare_ulp_data): New function.
36823 (find_ulps): Likewise.
36824 (find_test_ulps): Likewise.
36825 (find_function_ulps): Likewise.
36826 (find_complex_function_ulps): Likewise.
36827 (print_max_error): Determine allowed ulps using
36828 find_function_ulps.
36829 (print_complex_max_error): Determine allowed ulps using
36830 find_complex_function_ulps.
36831 (check_float_internal): Determine max ulps using find_test_ulps.
36832 (check_float): Do not take max_ulp parameter. Update call to
36833 check_float_internal.
36834 (check_complex): Likewise.
36835 (check_int): Do not take max_ulp parameter.
36836 (check_long): Likewise.
36837 (check_bool): Likewise.
36838 (check_longlong): Likewise.
36839 (struct test_f_f_data): Remove max_ulp field.
36840 (struct test_ff_f_data): Likewise.
36841 (struct test_ff_f_data_nexttoward): Likewise.
36842 (struct test_fi_f_data): Likewise.
36843 (struct test_fl_f_data): Likewise.
36844 (struct test_if_f_data): Likewise.
36845 (struct test_fff_f_data): Likewise.
36846 (struct test_c_f_data): Likewise.
36847 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
36848 (struct test_fF_f1_data): Likewise.
36849 (struct test_ffI_f1_data): Likewise.
36850 (struct test_c_c_data): Remove max_ulp field.
36851 (struct test_cc_c_data): Likewise.
36852 (struct test_f_i_data): Likewise.
36853 (struct test_ff_i_data): Likewise.
36854 (struct test_f_l_data): Likewise.
36855 (struct test_f_L_data): Likewise.
36856 (struct test_sincos_data): Likewise.
36857 (RUN_TEST_f_f): Do not handle ulps.
36858 (RUN_TEST_LOOP_f_f): Likewise.
36859 (RUN_TEST_2_f): Likewise.
36860 (RUN_TEST_LOOP_2_f): Likewise.
36861 (RUN_TEST_fff_f): Likewise.
36862 (RUN_TEST_LOOP_fff_f): Likewise.
36863 (RUN_TEST_c_f): Likewise.
36864 (RUN_TEST_LOOP_c_f): Likewise.
36865 (RUN_TEST_f_f1): Likewise.
36866 (RUN_TEST_LOOP_f_f1): Likewise.
36867 (RUN_TEST_fF_f1): Likewise.
36868 (RUN_TEST_LOOP_fF_f1): Likewise.
36869 (RUN_TEST_fI_f1): Likewise.
36870 (RUN_TEST_LOOP_fI_f1): Likewise.
36871 (RUN_TEST_ffI_f1): Likewise.
36872 (RUN_TEST_LOOP_ffI_f1): Likewise.
36873 (RUN_TEST_c_c): Likewise.
36874 (RUN_TEST_LOOP_c_c): Likewise.
36875 (RUN_TEST_cc_c): Likewise.
36876 (RUN_TEST_LOOP_cc_c): Likewise.
36877 (RUN_TEST_f_i): Likewise.
36878 (RUN_TEST_LOOP_f_i): Likewise.
36879 (RUN_TEST_f_i_tg): Likewise.
36880 (RUN_TEST_LOOP_f_i_tg): Likewise.
36881 (RUN_TEST_ff_i_tg): Likewise.
36882 (RUN_TEST_LOOP_ff_i_tg): Likewise.
36883 (RUN_TEST_f_b): Likewise.
36884 (RUN_TEST_LOOP_f_b): Likewise.
36885 (RUN_TEST_f_b_tg): Likewise.
36886 (RUN_TEST_LOOP_f_b_tg): Likewise.
36887 (RUN_TEST_f_l): Likewise.
36888 (RUN_TEST_LOOP_f_l): Likewise.
36889 (RUN_TEST_f_L): Likewise.
36890 (RUN_TEST_LOOP_f_L): Likewise.
36891 (RUN_TEST_sincos): Likewise.
36892 (RUN_TEST_LOOP_sincos): Likewise.
36893
36894 2013-05-17 Joseph Myers <joseph@codesourcery.com>
36895
36896 [BZ #15480]
36897 [BZ #15485]
36898 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
36899 main case of finite arguments, set rounding mode to FE_TONEAREST
36900 and discard exceptions.
36901 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
36902 exceptions.
36903 (remainder_tonearest_test_data): New variable.
36904 (remainder_test_tonearest): New function.
36905 (remainder_towardzero_test_data): New variable.
36906 (remainder_test_towardzero): New function.
36907 (remainder_downward_test_data): New variable.
36908 (remainder_test_downward): New function.
36909 (remainder_upward_test_data): New variable.
36910 (remainder_test_upward): New function.
36911 (main): Call the new test functions.
36912
36913 * math/libm-test.inc (struct test_f_f1_data): Remove field
36914 extra_init.
36915 (struct test_fF_f1_data): Likewise.
36916 (struct test_ffI_f1_data): Likewise.
36917 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
36918 based on value of EXTRA_EXPECTED.
36919 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
36920 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
36921 EXTRA_VAR based on value of EXTRA_EXPECTED.
36922 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
36923 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
36924 EXTRA_VAR based on value of EXTRA_EXPECTED.
36925 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
36926 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
36927 EXTRA_VAR based on value of EXTRA_EXPECTED.
36928 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
36929 * math/gen-libm-test.pl (parse_args): Don't output initializers
36930 for extra output values.
36931
36932 * math/libm-test.inc (check_int): Expect result to be exactly
36933 equal to expected value and do not handle ulps.
36934 (check_long): Likewise.
36935 (check_longlong): Likewise.
36936
36937 * math/libm-test.inc (ceil_test_data): Test for "inexact"
36938 exceptions.
36939 (cimag_test_data): Likewise.
36940 (conj_test_data): Likewise.
36941 (copysign_test_data): Likewise.
36942 (cproj_test_data): Likewise.
36943 (creal_test_data): Likewise.
36944 (fabs_test_data): Likewise.
36945 (fdim_test_data): Likewise.
36946 (finite_test_data): Likewise.
36947 (floor_test_data): Likewise.
36948 (fmax_test_data): Likewise.
36949 (fmin_test_data): Likewise.
36950 (fmod_test_data): Likewise.
36951 (fpclassify_test_data): Likewise.
36952 (frexp_test_data): Likewise.
36953 (ilogb_test_data): Likewise.
36954 (isfinite_test_data): Likewise.
36955 (isgreater_test_data): Likewise.
36956 (isgreaterequal_test_data): Likewise.
36957 (isinf_test_data): Likewise.
36958 (isless_test_data): Likewise.
36959 (islessequal_test_data): Likewise.
36960 (islessgreater_test_data): Likewise.
36961 (isnan_test_data): Likewise.
36962 (isnormal_test_data): Likewise.
36963 (issignaling_test_data): Likewise.
36964 (isunordered_test_data): Likewise.
36965 (ldexp_test_data): Likewise.
36966 (lrint_test_data): Likewise.
36967 (lrint_test_data) [TEST_FLOAT]: Disable one test.
36968 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
36969 (lrint_tonearest_test_data): Test for "inexact" exceptions.
36970 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
36971 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
36972 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
36973 test input.
36974 (lrint_towardzero_test_data): Test for "inexact" exceptions.
36975 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
36976 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
36977 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
36978 that test input.
36979 (lrint_downward_test_data): Test for "inexact" exceptions.
36980 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
36981 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
36982 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
36983 test input.
36984 (lrint_upward_test_data): Test for "inexact" exceptions.
36985 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
36986 test input.
36987 (llrint_test_data): Test for "inexact" exceptions.
36988 (llrint_test_data) [TEST_FLOAT]: Disable one test.
36989 (llrint_tonearest_test_data): Test for "inexact" exceptions.
36990 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
36991 (llrint_towardzero_test_data): Test for "inexact" exceptions.
36992 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
36993 (llrint_downward_test_data): Test for "inexact" exceptions.
36994 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
36995 (llrint_upward_test_data): Test for "inexact" exceptions.
36996 (logb_test_data): Likewise.
36997 (logb_downward_test_data): Likewise.
36998 (nextafter_test_data): Likewise.
36999 (nexttoward_test_data): Likewise.
37000 (remainder_test_data): Likewise.
37001 (remquo_test_data): Likewise.
37002 (scalbn_test_data): Likewise.
37003 (scalbln_test_data): Likewise.
37004 (signbit_test_data): Likewise.
37005 (sqrt_test_data): Likewise.
37006 (significand_test_data): Likewise.
37007
37008 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
37009
37010 [BZ #15424]
37011 * benchtests/bench-modf.c (struct args): Mark arg0 as
37012 volatile.
37013 * scripts/bench.pl: Mark members of struct args as volatile.
37014
37015 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37016
37017 [BZ # 15497]
37018 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
37019 negative infinity on POWER6 or lower.
37020 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
37021
37022 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
37023
37024 [BZ #15442]
37025 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
37026 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
37027 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
37028 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
37029 (_FP_SETQNAN): New macro.
37030 (_FP_SETQNAN_SEMIRAW): Likewise.
37031 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
37032 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
37033 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
37034 (FP_EXTEND): Use _FP_FRAC_SNANP.
37035 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
37036 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
37037 into account.
37038 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
37039 New macro.
37040 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
37041 Likewise.
37042
37043 2013-05-16 Joseph Myers <joseph@codesourcery.com>
37044
37045 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
37046 with DIVIDE_BY_ZERO_EXCEPTION.
37047 (gamma_test_data): Likewise.
37048 (lgamma_test_data): Likewise.
37049 (log_test_data): Likewise.
37050 (log10_test_data): Likewise.
37051 (log2_test_data): Likewise.
37052 (tgamma_test_data): Likewise.
37053
37054 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
37055 (acos_test_tonearest): Likewise.
37056 (acos_test_towardzero): Likewise.
37057 (acos_test_downward): Likewise.
37058 (acos_test_upward): Likewise.
37059 (acosh_test): Likewise.
37060 (asin_test): Likewise.
37061 (asin_test_tonearest): Likewise.
37062 (asin_test_towardzero): Likewise.
37063 (asin_test_downward): Likewise.
37064 (asin_test_upward): Likewise.
37065 (asinh_test): Likewise.
37066 (atan_test): Likewise.
37067 (atanh_test): Likewise.
37068 (atan2_test): Likewise.
37069 (cabs_test): Likewise.
37070 (cacos_test): Likewise.
37071 (cacosh_test): Likewise.
37072 (casin_test): Likewise.
37073 (casinh_test): Likewise.
37074 (catan_test): Likewise.
37075 (catanh_test): Likewise.
37076 (cbrt_test): Likewise.
37077 (ccos_test): Likewise.
37078 (ccosh_test): Likewise.
37079 (cexp_test): Likewise.
37080 (clog_test): Likewise.
37081 (clog10_test): Likewise.
37082 (cos_test): Likewise.
37083 (cos_test_tonearest): Likewise.
37084 (cos_test_towardzero): Likewise.
37085 (cos_test_downward): Likewise.
37086 (cos_test_upward): Likewise.
37087 (cosh_test): Likewise.
37088 (cosh_test_tonearest): Likewise.
37089 (cosh_test_towardzero): Likewise.
37090 (cosh_test_downward): Likewise.
37091 (cosh_test_upward): Likewise.
37092 (cpow_test): Likewise.
37093 (csin_test): Likewise.
37094 (csinh_test): Likewise.
37095 (csqrt_test): Likewise.
37096 (ctan_test): Likewise.
37097 (ctan_test_tonearest): Likewise.
37098 (ctan_test_towardzero): Likewise.
37099 (ctan_test_downward): Likewise.
37100 (ctan_test_upward): Likewise.
37101 (ctanh_test): Likewise.
37102 (ctanh_test_tonearest): Likewise.
37103 (ctanh_test_towardzero): Likewise.
37104 (ctanh_test_downward): Likewise.
37105 (ctanh_test_upward): Likewise.
37106 (erf_test): Likewise.
37107 (erfc_test): Likewise.
37108 (exp_test): Likewise.
37109 (exp_test_tonearest): Likewise.
37110 (exp_test_towardzero): Likewise.
37111 (exp_test_downward): Likewise.
37112 (exp_test_upward): Likewise.
37113 (exp10_test): Likewise.
37114 (exp2_test): Likewise.
37115 (expm1_test): Likewise.
37116 (fmod_test): Likewise.
37117 (gamma_test): Likewise.
37118 (hypot_test): Likewise.
37119 (j0_test): Likewise.
37120 (j1_test): Likewise.
37121 (jn_test): Likewise.
37122 (lgamma_test): Likewise.
37123 (log_test): Likewise.
37124 (log10_test): Likewise.
37125 (log1p_test): Likewise.
37126 (log2_test): Likewise.
37127 (logb_test_downward): Likewise.
37128 (pow_test): Likewise.
37129 (pow_test_tonearest): Likewise.
37130 (pow_test_towardzero): Likewise.
37131 (pow_test_downward): Likewise.
37132 (pow_test_upward): Likewise.
37133 (remainder_test): Likewise.
37134 (remquo_test): Likewise.
37135 (sin_test): Likewise.
37136 (sin_test_tonearest): Likewise.
37137 (sin_test_towardzero): Likewise.
37138 (sin_test_downward): Likewise.
37139 (sin_test_upward): Likewise.
37140 (sincos_test): Likewise.
37141 (sinh_test): Likewise.
37142 (sinh_test_tonearest): Likewise.
37143 (sinh_test_towardzero): Likewise.
37144 (sinh_test_downward): Likewise.
37145 (sinh_test_upward): Likewise.
37146 (sqrt_test): Likewise.
37147 (tan_test): Likewise.
37148 (tan_test_tonearest): Likewise.
37149 (tan_test_towardzero): Likewise.
37150 (tan_test_downward): Likewise.
37151 (tan_test_upward): Likewise.
37152 (tanh_test): Likewise.
37153 (tgamma_test): Likewise.
37154 (y0_test): Likewise.
37155 (y1_test): Likewise.
37156 (yn_test): Likewise.
37157
37158 * math/gen-libm-test.pl (adjust_arg): Remove function.
37159 (special_function): Remove argument $in_func. Only handle
37160 generating output for tables of tests, not inside functions.
37161 (parse_args): Likewise.
37162 (generate_testfile): Remove variable $in_func. Update call to
37163 parse_args.
37164 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
37165 (MINUS_ZERO_INIT): Rename macro to minus_zero.
37166 (PLUS_INFTY_INIT): Rename macro to plus_infty.
37167 (MINUS_INFTY_INIT): Rename macro to minus_infty.
37168 (QNAN_VALUE_INIT): Rename macro to qnan_value.
37169 (MAX_VALUE_INIT): Rename macro to max_value.
37170 (MIN_VALUE_INIT): Rename macro to min_value.
37171 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
37172 (plus_zero): Remove variable.
37173 (minus_zero): Likewise.
37174 (plus_infty): Likewise.
37175 (minus_infty): Likewise.
37176 (qnan_value): Likewise.
37177 (max_value): Likewise.
37178 (min_value): Likewise.
37179 (min_subnorm_value): Likewise.
37180
37181 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
37182
37183 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
37184 uint64_t or uint32_t usage.
37185 * crypt/sha256-block.c: Likewise.
37186 * crypt/sha256-crypt.c: Likewise.
37187 * crypt/sha256.c: Likewise.
37188 * crypt/sha512-block.c: Likewise.
37189 * crypt/sha512-crypt.c: Likewise.
37190 * crypt/sha512.c: Likewise.
37191 * debug/backtrace-tst.c: Likewise.
37192 * debug/pcprofiledump.c: Likewise.
37193 * elf/cache.c: Likewise.
37194 * elf/dl-cache.c: Likewise.
37195 * elf/dl-misc.c: Likewise.
37196 * elf/dl-profile.c: Likewise.
37197 * elf/dl-support.c: Likewise.
37198 * elf/ldconfig.c: Likewise.
37199 * elf/sprof.c: Likewise.
37200 * iconv/dummy-repertoire.c: Likewise.
37201 * iconv/iconv_charmap.c: Likewise.
37202 * iconv/skeleton.c: Likewise.
37203 * iconvdata/8bit-generic.c: Likewise.
37204 * iconvdata/cp737.h: Likewise.
37205 * iconvdata/cp775.h: Likewise.
37206 * iconvdata/ibm1008.h: Likewise.
37207 * iconvdata/ibm1025.h: Likewise.
37208 * iconvdata/ibm1046.h: Likewise.
37209 * iconvdata/ibm1097.h: Likewise.
37210 * iconvdata/ibm1112.h: Likewise.
37211 * iconvdata/ibm1122.h: Likewise.
37212 * iconvdata/ibm1123.h: Likewise.
37213 * iconvdata/ibm1124.h: Likewise.
37214 * iconvdata/ibm1129.h: Likewise.
37215 * iconvdata/ibm1130.h: Likewise.
37216 * iconvdata/ibm1132.h: Likewise.
37217 * iconvdata/ibm1133.h: Likewise.
37218 * iconvdata/ibm1137.h: Likewise.
37219 * iconvdata/ibm1140.h: Likewise.
37220 * iconvdata/ibm1141.h: Likewise.
37221 * iconvdata/ibm1142.h: Likewise.
37222 * iconvdata/ibm1143.h: Likewise.
37223 * iconvdata/ibm1144.h: Likewise.
37224 * iconvdata/ibm1145.h: Likewise.
37225 * iconvdata/ibm1146.h: Likewise.
37226 * iconvdata/ibm1147.h: Likewise.
37227 * iconvdata/ibm1148.h: Likewise.
37228 * iconvdata/ibm1149.h: Likewise.
37229 * iconvdata/ibm1153.h: Likewise.
37230 * iconvdata/ibm1154.h: Likewise.
37231 * iconvdata/ibm1155.h: Likewise.
37232 * iconvdata/ibm1156.h: Likewise.
37233 * iconvdata/ibm1157.h: Likewise.
37234 * iconvdata/ibm1158.h: Likewise.
37235 * iconvdata/ibm1160.h: Likewise.
37236 * iconvdata/ibm1161.h: Likewise.
37237 * iconvdata/ibm1162.h: Likewise.
37238 * iconvdata/ibm1163.h: Likewise.
37239 * iconvdata/ibm1164.h: Likewise.
37240 * iconvdata/ibm1166.h: Likewise.
37241 * iconvdata/ibm1167.h: Likewise.
37242 * iconvdata/ibm12712.h: Likewise.
37243 * iconvdata/ibm1390.h: Likewise.
37244 * iconvdata/ibm1399.h: Likewise.
37245 * iconvdata/ibm16804.h: Likewise.
37246 * iconvdata/ibm4517.h: Likewise.
37247 * iconvdata/ibm4899.h: Likewise.
37248 * iconvdata/ibm4909.h: Likewise.
37249 * iconvdata/ibm4971.h: Likewise.
37250 * iconvdata/ibm5347.h: Likewise.
37251 * iconvdata/ibm803.h: Likewise.
37252 * iconvdata/ibm856.h: Likewise.
37253 * iconvdata/ibm901.h: Likewise.
37254 * iconvdata/ibm902.h: Likewise.
37255 * iconvdata/ibm9030.h: Likewise.
37256 * iconvdata/ibm9066.h: Likewise.
37257 * iconvdata/ibm921.h: Likewise.
37258 * iconvdata/ibm922.h: Likewise.
37259 * iconvdata/ibm9448.h: Likewise.
37260 * iconvdata/isiri-3342.h: Likewise.
37261 * iconvdata/jis0201.h: Likewise.
37262 * include/link.h: Likewise.
37263 * include/netdb.h: Likewise.
37264 * inet/check_native.c: Likewise.
37265 * inet/check_pf.c: Likewise.
37266 * inet/getipv4sourcefilter.c: Likewise.
37267 * inet/getnameinfo.c: Likewise.
37268 * inet/getsourcefilter.c: Likewise.
37269 * inet/htonl.c: Likewise.
37270 * inet/setipv4sourcefilter.c: Likewise.
37271 * inet/setsourcefilter.c: Likewise.
37272 * inet/test-inet6_opt.c: Likewise.
37273 * inet/tst-network.c: Likewise.
37274 * locale/C-collate.c: Likewise.
37275 * locale/C-ctype.c: Likewise.
37276 * locale/C-time.c: Likewise.
37277 * locale/C-translit.h: Likewise.
37278 * locale/loadarchive.c: Likewise.
37279 * locale/programs/3level.h: Likewise.
37280 * locale/programs/charmap.c: Likewise.
37281 * locale/programs/charmap.h: Likewise.
37282 * locale/programs/ld-address.c: Likewise.
37283 * locale/programs/ld-collate.c: Likewise.
37284 * locale/programs/ld-ctype.c: Likewise.
37285 * locale/programs/ld-identification.c: Likewise.
37286 * locale/programs/ld-measurement.c: Likewise.
37287 * locale/programs/ld-messages.c: Likewise.
37288 * locale/programs/ld-monetary.c: Likewise.
37289 * locale/programs/ld-name.c: Likewise.
37290 * locale/programs/ld-numeric.c: Likewise.
37291 * locale/programs/ld-paper.c: Likewise.
37292 * locale/programs/ld-telephone.c: Likewise.
37293 * locale/programs/ld-time.c: Likewise.
37294 * locale/programs/linereader.c: Likewise.
37295 * locale/programs/locale.c: Likewise.
37296 * locale/programs/locarchive.c: Likewise.
37297 * locale/programs/locfile.h: Likewise.
37298 * locale/programs/repertoire.c: Likewise.
37299 * locale/programs/simple-hash.c: Likewise.
37300 * locale/programs/simple-hash.h: Likewise.
37301 * malloc/memusage.c: Likewise.
37302 * malloc/memusagestat.c: Likewise.
37303 * nis/nis_defaults.c: Likewise.
37304 * nis/nis_hash.c: Likewise.
37305 * nis/nis_print.c: Likewise.
37306 * nis/nis_xdr.c: Likewise.
37307 * nscd/connections.c: Likewise.
37308 * nscd/hstcache.c: Likewise.
37309 * nscd/nscd_gethst_r.c: Likewise.
37310 * nscd/nscd_getserv_r.c: Likewise.
37311 * nscd/nscd_helper.c: Likewise.
37312 * nscd/servicescache.c: Likewise.
37313 * nss/makedb.c: Likewise.
37314 * nss/nss_db/db-XXX.c: Likewise.
37315 * nss/nss_db/db-initgroups.c: Likewise.
37316 * nss/nss_db/db-netgrp.c: Likewise.
37317 * nss/nss_files/files-network.c: Likewise.
37318 * nss/nss_files/files-parse.c: Likewise.
37319 * posix/bug-regex5.c: Likewise.
37320 * posix/fnmatch_loop.c: Likewise.
37321 * posix/regcomp.c: Likewise.
37322 * posix/regexec.c: Likewise.
37323 * posix/tst-rfc3484-2.c: Likewise.
37324 * posix/tst-rfc3484-3.c: Likewise.
37325 * posix/tst-rfc3484.c: Likewise.
37326 * resolv/nss_dns/dns-canon.c: Likewise.
37327 * resolv/nss_dns/dns-network.c: Likewise.
37328 * resolv/res_init.c: Likewise.
37329 * resolv/res_mkquery.c: Likewise.
37330 * resolv/tst-aton.c: Likewise.
37331 * stdlib/cxa_atexit.c: Likewise.
37332 * stdlib/cxa_finalize.c: Likewise.
37333 * stdlib/gen-fpioconst.c: Likewise.
37334 * stdlib/strtol_l.c: Likewise.
37335 * string/tst-endian.c: Likewise.
37336 * sunrpc/auth_des.c: Likewise.
37337 * sunrpc/clnt_udp.c: Likewise.
37338 * sunrpc/rtime.c: Likewise.
37339 * sunrpc/svcauth_des.c: Likewise.
37340 * sunrpc/xdr.c: Likewise.
37341 * sunrpc/xdr_intXX_t.c: Likewise.
37342 * sunrpc/xdr_rec.c: Likewise.
37343 * sysdeps/generic/ldconfig.h: Likewise.
37344 * sysdeps/generic/ldsodefs.h: Likewise.
37345 * sysdeps/generic/memusage.h: Likewise.
37346 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
37347 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
37348 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
37349 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
37350 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37351 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
37352 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
37353 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
37354 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
37355 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
37356 * sysdeps/posix/getaddrinfo.c: Likewise.
37357 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
37358 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
37359 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
37360 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
37361 * sysdeps/powerpc/test-gettimebase.c: Likewise.
37362 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
37363 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
37364 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
37365 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
37366 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
37367 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
37368 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
37369 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
37370 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
37371 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
37372 * sysdeps/x86_64/dl-tls.h: Likewise.
37373 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
37374 * time/alt_digit.c: Likewise.
37375 * time/era.c: Likewise.
37376 * wcsmbs/tst-c16c32-1.c: Likewise.
37377
37378 2013-05-16 Joseph Myers <joseph@codesourcery.com>
37379
37380 * math/libm-test.inc (struct test_sincos_data): New type.
37381 (RUN_TEST_LOOP_sincos): New macro.
37382 (sincos_test_data): New variable.
37383 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
37384
37385 2013-05-16 Richard Henderson <rth@redhat.com>
37386
37387 * math/atest-exp2.c (LIMB64): New macro.
37388 (CONSTSZ): New macro.
37389 (mp_exp1, mp_exp_m1, mp_log2): New variables.
37390 (hexdig): Move ...
37391 (print_mpn_fp): ... to function scope.
37392 (read_mpn_hex): Remove.
37393 (get_log2): Remove.
37394 (exp2_mpn): Use mp_log2.
37395 (main): Use mp_exp1.
37396
37397 2013-05-16 Joseph Myers <joseph@codesourcery.com>
37398
37399 * math/libm-test.inc: Remove comment about not testing "inexact"
37400 exceptions.
37401 (INEXACT_EXCEPTION): New macro.
37402 (NO_INEXACT_EXCEPTION): Likewise.
37403 (INVALID_EXCEPTION_OK): Update value.
37404 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
37405 (OVERFLOW_EXCEPTION_OK): Likewise.
37406 (UNDERFLOW_EXCEPTION_OK): Likewise.
37407 (IGNORE_ZERO_INF_SIGN): Likewise.
37408 (ERRNO_UNCHANGED): Likewise.
37409 (ERRNO_EDOM): Likewise.
37410 (ERRNO_ERANGE): Likewise.
37411 (test_exceptions): Handle testing "inexact" exceptions.
37412 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
37413 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
37414 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
37415 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
37416 INEXACT_EXCEPTION.
37417 (rint_towardzero_test_data): Likewise.
37418 (rint_downward_test_data): Likewise.
37419 (rint_upward_test_data): Likewise.
37420
37421 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
37422 with OVERFLOW_EXCEPTION.
37423 (exp10_test_data): Likewise.
37424 (exp2_test_data): Likewise.
37425 (expm1_test_data): Likewise.
37426 (lgamma_test_data): Likewise.
37427 (pow_test_data): Likewise.
37428 (tgamma_test_data): Likewise.
37429 (yn_test_data): Remove duplicate test of overflow.
37430
37431 * math/libm-test.inc (struct test_cc_c_data): New type.
37432 (RUN_TEST_LOOP_cc_c): New macro.
37433 (cpow_test_data): New variable.
37434 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
37435
37436 * math/libm-test.inc (struct test_f_L_data): New type.
37437 (RUN_TEST_LOOP_f_L): New macro.
37438 (llrint_test_data): New variable.
37439 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
37440 (llrint_tonearest_test_data): New variable.
37441 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
37442 (llrint_towardzero_test_data): New variable.
37443 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
37444 (llrint_downward_test_data): New variable.
37445 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
37446 (llrint_upward_test_data): New variable.
37447 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
37448 (llround_test_data): New variable.
37449 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
37450
37451 2013-05-13 Peter Collingbourne <pcc@google.com>
37452
37453 * math/atest-exp2.c (get_log2): Remove const attribute.
37454
37455 2013-05-15 Joseph Myers <joseph@codesourcery.com>
37456
37457 * math/libm-test.inc (struct test_f_l_data): New type.
37458 (RUN_TEST_LOOP_f_l): New macro.
37459 (lrint_test_data): New variable.
37460 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
37461 (lrint_tonearest_test_data): New variable.
37462 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
37463 (lrint_towardzero_test_data): New variable.
37464 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
37465 (lrint_downward_test_data): New variable.
37466 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
37467 (lrint_upward_test_data): New variable.
37468 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
37469 (lround_test_data): New variable.
37470 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
37471
37472 2013-05-15 Peter Collingbourne <pcc@google.com>
37473
37474 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
37475 (EXTRACT_WORDS64) Use where appropriate.
37476 (INSERT_WORDS64) Likewise.
37477
37478 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
37479 constraints with x constraints.
37480 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
37481
37482 * malloc/obstack.c (_obstack_compat): Add initializer.
37483
37484 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
37485
37486 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
37487 si_trapno and add si_addr_lsb to _sifields.sigfault.
37488 (si_trapno): Remove macro.
37489 (si_addr_lsb): Define new macro.
37490 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
37491
37492 2013-05-15 Joseph Myers <joseph@codesourcery.com>
37493
37494 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
37495 instead of TEST_f_l.
37496 (llrint_test_tonearest): Likewise.
37497 (llrint_test_towardzero): Likewise.
37498 (llrint_test_downward): Likewise.
37499 (llrint_test_upward): Likewise.
37500 (llround_test): Likewise.
37501
37502 * math/libm-test.inc (struct test_f_i_data): Add comment.
37503 (RUN_TEST_LOOP_f_b): New macro.
37504 (RUN_TEST_LOOP_f_b_tg): Likewise.
37505 (finite_test_data): New variable.
37506 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
37507 (isfinite_test_data): New variable.
37508 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
37509 (isinf_test_data): New variable.
37510 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
37511 (isnan_test_data): New variable.
37512 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
37513 (isnormal_test_data): New variable.
37514 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
37515 (issignaling_test_data): New variable.
37516 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
37517 (signbit_test_data): New variable.
37518 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
37519
37520 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
37521 with INVALID_EXCEPTION.
37522 (acosh_test_data): Likewise.
37523 (asin_test_data): Likewise.
37524 (atanh_test_data): Likewise.
37525 (fmod_test_data): Likewise.
37526 (log_test_data): Likewise.
37527 (log10_test_data): Likewise.
37528 (log2_test_data): Likewise.
37529 (pow_test_data): Likewise.
37530 (sqrt_test_data): Likewise.
37531 (y0_test_data): Likewise.
37532 (y1_test_data): Likewise.
37533 (yn_test_data): Likewise.
37534
37535 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
37536 function contents.
37537
37538 * math/libm-test.inc (struct test_ff_i_data): New type.
37539 (RUN_TEST_LOOP_ff_i_tg): New macro.
37540 (isgreater_test_data): New variable.
37541 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
37542 (isgreaterequal_test_data): New variable.
37543 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
37544 (isless_test_data): New variable.
37545 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
37546 (islessequal_test_data): New variable.
37547 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
37548 (islessgreater_test_data): New variable.
37549 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
37550 (isunordered_test_data): New variable.
37551 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
37552
37553 2013-05-14 David S. Miller <davem@davemloft.net>
37554
37555 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37556
37557 2013-05-14 Joseph Myers <joseph@codesourcery.com>
37558
37559 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
37560
37561 * math/libm-test.inc (struct test_fF_f1_data): Change type of
37562 extra_test to int.
37563 (struct test_f_i_data): Change type of max_ulp to int.
37564
37565 * math/libm-test.inc (test_ffI_f1_data): New type.
37566 (RUN_TEST_LOOP_ffI_f1): New macro.
37567 (remquo_test_data): New variable.
37568 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
37569
37570 * setjmp/tst-setjmp-fp.c: New file.
37571 * setjmp/Makefile (tests): Add tst-setjmp-fp.
37572 (link-libm): New variable.
37573 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
37574
37575 * math/libm-test.inc (struct test_f_i_data): New type.
37576 (RUN_TEST_LOOP_f_i): New macro.
37577 (RUN_TEST_LOOP_f_i_tg): Likewise.
37578 (fpclassify_test_data): New variable.
37579 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
37580 (ilogb_test_data): New variable.
37581 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
37582
37583 * math/libm-test.inc (scalbln_test): Correct function name in END
37584 call.
37585
37586 * math/libm-test.inc (struct test_f_f1_data): Add comment.
37587 (RUN_TEST_LOOP_fI_f1): New macro.
37588 (frexp_test_data): New variable.
37589 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
37590
37591 * math/libm-test.inc (struct test_fF_f1_data): New type.
37592 (RUN_TEST_LOOP_fF_f1): New macro.
37593 (modf_test_data): New variable.
37594 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
37595
37596 * math/libm-test.inc (struct test_f_f1_data): New type.
37597 (RUN_TEST_LOOP_f_f1): New macro.
37598 (gamma_test_data): New variable.
37599 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
37600 (lgamma_test_data): New variable.
37601 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
37602
37603 2013-05-13 Carlos O'Donell <carlos@redhat.com>
37604
37605 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
37606 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
37607 (main): Comment "tls" pseudo-hwcap.
37608
37609 2013-05-13 Joseph Myers <joseph@codesourcery.com>
37610
37611 * math/libm-test.inc (struct test_fl_f_data): New type.
37612 (RUN_TEST_LOOP_fl_f): New variable.
37613 (scalbln_test_data): New variable.
37614 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
37615
37616 * math/libm-test.inc (struct test_fi_f_data): New type.
37617 (RUN_TEST_LOOP_fi_f): New macro.
37618 (ldexp_test_data): New variable.
37619 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
37620 (scalbn_test_data): New variable.
37621 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
37622
37623 * math/libm-test.inc (struct test_c_f_data): New type.
37624 (RUN_TEST_LOOP_c_f): New macro.
37625 (cabs_test_data): New variable.
37626 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
37627 (carg_test_data): New variable.
37628 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
37629 (cimag_test_data): New variable.
37630 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
37631 (creal_test_data): New variable.
37632 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
37633
37634 * math/libm-test.inc (struct test_if_f_data): New type.
37635 (RUN_TEST_LOOP_if_f): New macro.
37636 (jn_test_data): New variable.
37637 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
37638 (yn_test_data): New variable.
37639 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
37640
37641 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
37642
37643 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37644
37645 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
37646 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
37647
37648 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
37649
37650 * benchtests/Makefile (CPPFLAGS-nonlib): Add
37651 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
37652 (bench-deps): Add bench-timing.h.
37653 * benchtests-bench-skeleton.c: Include bench-timing.h.
37654 (main): Use TIMING_* macros instead of clock_gettime.
37655 * benchtests/bench-timing.h: New file.
37656
37657 [BZ #14582]
37658 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
37659 Renamed from _LIB_VERSION.
37660 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
37661
37662 2013-05-12 Joseph Myers <joseph@codesourcery.com>
37663
37664 * math/libm-test.inc (struct test_fff_f_data): New type.
37665 (RUN_TEST_LOOP_fff_f): New macro.
37666 (fma_test_data): New variable.
37667 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
37668 (fma_towardzero_test_data): New variable.
37669 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
37670 (fma_downward_test_data): New variable.
37671 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
37672 (fma_upward_test_data): New variable.
37673 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
37674
37675 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
37676 (struct test_c_c_data): New type.
37677 (RUN_TEST_LOOP_c_c): New macro.
37678 (cacos_test_data): New variable.
37679 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
37680 (cacosh_test_data): New variable.
37681 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
37682 (casin_test_data): New variable.
37683 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
37684 (casinh_test_data): New variable.
37685 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
37686 (catan_test_data): New variable.
37687 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
37688 (catanh_test_data): New variable.
37689 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
37690 (ccos_test_data): New variable.
37691 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
37692 (ccosh_test_data): New variable.
37693 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
37694 (cexp_test_data): New variable.
37695 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
37696 (clog_test_data): New variable.
37697 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
37698 (clog10_test_data): New variable.
37699 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
37700 (conj_test_data): New variable.
37701 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
37702 (cproj_test_data): New variable.
37703 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
37704 (csin_test_data): New variable.
37705 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
37706 (csinh_test_data): New variable.
37707 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
37708 (csqrt_test_data): New variable.
37709 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
37710 (ctan_test_data): New variable.
37711 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
37712 (ctan_tonearest_test_data): New variable.
37713 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
37714 (ctan_towardzero_test_data): New variable.
37715 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
37716 (ctan_downward_test_data): New variable.
37717 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
37718 (ctan_upward_test_data): New variable.
37719 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
37720 (ctanh_test_data): New variable.
37721 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
37722 (ctanh_tonearest_test_data): New variable.
37723 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
37724 (ctanh_towardzero_test_data): New variable.
37725 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
37726 (ctanh_downward_test_data): New variable.
37727 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
37728 (ctanh_upward_test_data): New variable.
37729 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
37730 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
37731 of BUILD_COMPLEX.
37732
37733 * math/libm-test.inc (struct test_ff_f_data): New type.
37734 (struct test_ff_f_data_nexttoward): Likewise.
37735 (RUN_TEST_LOOP_2_f): New macro.
37736 (RUN_TEST_LOOP_ff_f): Likewise.
37737 (atan2_test_data): New variable.
37738 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
37739 (copysign_test_data): New variable.
37740 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
37741 (fdim_test_data): New variable.
37742 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
37743 (fmax_test_data): New variable.
37744 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
37745 (fmin_test_data): New variable.
37746 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
37747 (fmod_test_data): New variable.
37748 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
37749 (hypot_test_data): New variable.
37750 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
37751 (nextafter_test_data): New variable.
37752 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
37753 (nexttoward_test_data): New variable.
37754 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
37755 (pow_test_data): New variable.
37756 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
37757 (pow_tonearest_test_data): New variable.
37758 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
37759 (pow_towardzero_test_data): New variable.
37760 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
37761 (pow_downward_test_data): New variable.
37762 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
37763 (pow_upward_test_data): New variable.
37764 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
37765 (remainder_test_data): New variable.
37766 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
37767 (scalb_test_data): New variable.
37768 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
37769 * sysdeps/i386/fpu/libm-test-ulps: Update.
37770
37771 2013-05-11 Joseph Myers <joseph@codesourcery.com>
37772
37773 * math/libm-test.inc (fma_test): Use max_value instead of local
37774 variable fltmax.
37775 (nextafter_test): Likewise.
37776
37777 * math/libm-test.inc (acos_towardzero_test_data): New variable.
37778 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37779 (acos_downward_test_data): New variable.
37780 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37781 (acos_upward_test_data): New variable.
37782 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37783 (acosh_test_data): New variable.
37784 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
37785 (asin_test_data): New variable.
37786 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
37787 (asin_tonearest_test_data): New variable.
37788 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37789 (asin_towardzero_test_data): New variable.
37790 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37791 (asin_downward_test_data): New variable.
37792 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37793 (asin_upward_test_data): New variable.
37794 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37795 (asinh_test_data): New variable.
37796 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
37797 (atan_test_data): New variable.
37798 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
37799 (atanh_test_data): New variable.
37800 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
37801 (cbrt_test_data): New variable.
37802 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
37803 (ceil_test_data): New variable.
37804 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
37805 (cos_test_data): New variable.
37806 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
37807 (cos_tonearest_test_data): New variable.
37808 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37809 (cos_towardzero_test_data): New variable.
37810 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37811 (cos_downward_test_data): New variable.
37812 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37813 (cos_upward_test_data): New variable.
37814 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37815 (cosh_test_data): New variable.
37816 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
37817 (cosh_tonearest_test_data): New variable.
37818 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37819 (cosh_towardzero_test_data): New variable.
37820 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37821 (cosh_downward_test_data): New variable.
37822 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37823 (cosh_upward_test_data): New variable.
37824 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37825 (erf_test_data): New variable.
37826 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
37827 (erfc_test_data): New variable.
37828 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
37829 (exp_test_data): New variable.
37830 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
37831 (exp_tonearest_test_data): New variable.
37832 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37833 (exp_towardzero_test_data): New variable.
37834 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37835 (exp_downward_test_data): New variable.
37836 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37837 (exp_upward_test_data): New variable.
37838 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37839 (exp10_test_data): New variable.
37840 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
37841 (exp2_test_data): New variable.
37842 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
37843 (expm1_test_data): New variable.
37844 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
37845 (fabs_test_data): New variable.
37846 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
37847 (floor_test_data): New variable.
37848 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
37849 (j0_test_data): New variable.
37850 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
37851 (j1_test_data): New variable.
37852 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
37853 (log_test_data): New variable.
37854 (log_test): Run tests with RUN_TEST_LOOP_f_f.
37855 (log10_test_data): New variable.
37856 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
37857 (log1p_test_data): New variable.
37858 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
37859 (log2_test_data): New variable.
37860 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
37861 (logb_test_data): New variable.
37862 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
37863 (logb_downward_test_data): New variable.
37864 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37865 (nearbyint_test_data): New variable.
37866 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
37867 (rint_test_data): New variable.
37868 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
37869 (rint_tonearest_test_data): New variable.
37870 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37871 (rint_towardzero_test_data): New variable.
37872 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37873 (rint_downward_test_data): New variable.
37874 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37875 (rint_upward_test_data): New variable.
37876 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37877 (round_test_data): New variable.
37878 (round_test): Run tests with RUN_TEST_LOOP_f_f.
37879 (sin_test_data): New variable.
37880 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
37881 (sin_tonearest_test_data): New variable.
37882 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37883 (sin_towardzero_test_data): New variable.
37884 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37885 (sin_downward_test_data): New variable.
37886 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37887 (sin_upward_test_data): New variable.
37888 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37889 (sinh_test_data): New variable.
37890 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
37891 (sinh_tonearest_test_data): New variable.
37892 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37893 (sinh_towardzero_test_data): New variable.
37894 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37895 (sinh_downward_test_data): New variable.
37896 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37897 (sinh_upward_test_data): New variable.
37898 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37899 (sqrt_test_data): New variable.
37900 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
37901 (tan_test_data): New variable.
37902 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
37903 (tan_tonearest_test_data): New variable.
37904 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37905 (tan_towardzero_test_data): New variable.
37906 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37907 (tan_downward_test_data): New variable.
37908 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37909 (tan_upward_test_data): New variable.
37910 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37911 (tanh_test_data): New variable.
37912 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
37913 (tgamma_test_data): New variable.
37914 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
37915 (trunc_test_data): New variable.
37916 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
37917 (y0_test_data): New variable.
37918 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
37919 (y1_test_data): New variable.
37920 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
37921 (significand_test_data): New variable.
37922 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
37923
37924 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
37925
37926 [BZ #12387]
37927 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
37928
37929 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
37930
37931 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
37932
37933 2013-05-10 Andreas Jaeger <aj@suse.de>
37934
37935 [BZ #15448]
37936 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
37937 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
37938
37939 2013-05-10 Joseph Myers <joseph@codesourcery.com>
37940
37941 * math/gen-libm-test.pl (adjust_arg): New function.
37942 (special_functions): Handle generating output in both functions
37943 and arrays.
37944 (parse_args): Likewise.
37945 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
37946 $in_func argument to parse_args.
37947 * math/libm-test.inc (struct test_f_f_data): New type.
37948 (IF_ROUND_INIT_): New macro.
37949 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
37950 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
37951 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
37952 (IF_ROUND_INIT_FE_UPWARD): Likewise.
37953 (ROUND_RESTORE_): Likewise.
37954 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
37955 (ROUND_RESTORE_FE_TONEAREST): Likewise.
37956 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
37957 (ROUND_RESTORE_FE_UPWARD): Likewise.
37958 (RUN_TEST_LOOP_f_f): New macro.
37959 (acos_test_data): New variable.
37960 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
37961 (acos_tonearest_test_data): New variable.
37962 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37963
37964 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
37965
37966 * benchtests/bench-skeleton.c (startup): Fix coding style.
37967
37968 2013-05-10 Joseph Myers <joseph@codesourcery.com>
37969
37970 [BZ #6809]
37971 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
37972 negative infinity argument.
37973 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
37974 negative infinity argument.
37975 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
37976 negative infinity argument.
37977 * math/libm-test.inc (tgamma_test): Expect errno to be set for
37978 domain errors.
37979
37980 2013-05-10 Florian Weimer <fweimer@redhat.com>
37981
37982 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
37983 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
37984 * iconv/iconv_prog.c (main): Likewise.
37985 * locale/programs/charmap-dir.c (charmap_readdir)
37986 (fopen_uncompressed): Likewise.
37987 * locale/programs/locfile.c (siblings_uncached)
37988 (write_locale_data): Use lstat64 instead of lstat.
37989 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
37990 stat.
37991
37992 2013-05-10 Andreas Jaeger <aj@suse.de>
37993
37994 [BZ #15395]
37995 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
37996 localization.
37997 Include <locale.h>.
37998
37999 2013-05-09 Carlos O'Donell <carlos@redhat.com>
38000
38001 * elf/dl-close.c (_dl_close_worker): Add comments.
38002
38003 2013-05-09 Joseph Myers <joseph@codesourcery.com>
38004
38005 [BZ #15359]
38006 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
38007 high part of pi/2.
38008 (__ieee754_rem_pio2l): Update comments.
38009
38010 [BZ #15429]
38011 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
38012 high part of pi/2.
38013 (__ieee754_rem_pio2l): Update comments.
38014
38015 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
38016 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
38017
38018 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
38019 M_PI_4l.
38020
38021 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
38022 (M_PI_34_LOG10El): Likewise.
38023 (M_PI2_LOG10El): Likewise.
38024 (M_PI4_LOG10El): Likewise.
38025 (M_PI_LOG10El): Likewise.
38026
38027 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38028
38029 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38030
38031 2013-05-08 Joseph Myers <joseph@codesourcery.com>
38032
38033 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
38034 (MINUS_ZERO_INIT): Likewise.
38035 (PLUS_INFTY_INIT): Likewise.
38036 (MINUS_INFTY_INIT): Likewise.
38037 (QNAN_VALUE_INIT): Likewise.
38038 (MAX_VALUE_INIT): Likewise.
38039 (MIN_VALUE_INIT): Likewise.
38040 (MIN_SUBNORM_VALUE_INIT): Likewise.
38041 (plus_zero): Initialize with PLUS_ZERO_INIT.
38042 (minus_zero): Initialize with MINUS_ZERO_INIT.
38043 (plus_infty): Initialize with PLUS_INFTY_INIT.
38044 (minus_infty): Initialize with MINUS_INFTY_INIT.
38045 (qnan_value): Initialize with QNAN_VALUE_INIT.
38046 (max_value): Initialize with MAX_VALUE_INIT.
38047 (min_value): Initialize with MIN_VALUE_INIT.
38048 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
38049
38050 * math/libm-test.inc (RUN_TEST_if_f): New macro.
38051 (jn_test): Use TEST_if_f instead of TEST_ff_f.
38052 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
38053 (yn_test): Use TEST_if_f instead of TEST_ff_f.
38054
38055 * math/libm-test.inc (RUN_TEST_f_f): New macro.
38056 (RUN_TEST_2_f): Likewise.
38057 (RUN_TEST_ff_f): Likewise.
38058 (RUN_TEST_fi_f): Likewise.
38059 (RUN_TEST_fl_f): Likewise.
38060 (RUN_TEST_fff_f): Likewise.
38061 (RUN_TEST_c_f): Likewise.
38062 (RUN_TEST_f_f1): Likewise.
38063 (RUN_TEST_fF_f1): Likewise.
38064 (RUN_TEST_fI_f1): Likewise.
38065 (RUN_TEST_ffI_f1): Likewise.
38066 (RUN_TEST_c_c): Likewise.
38067 (RUN_TEST_cc_c): Likewise.
38068 (RUN_TEST_f_i): Likewise.
38069 (RUN_TEST_f_i_tg): Likewise.
38070 (RUN_TEST_ff_i_tg): Likewise.
38071 (RUN_TEST_f_b): Likewise.
38072 (RUN_TEST_f_b_tg): Likewise.
38073 (RUN_TEST_f_l): Likewise.
38074 (RUN_TEST_f_L): Likewise.
38075 (RUN_TEST_sincos): Likewise.
38076 * math/gen-libm-test.pl (new_test): Take new argument to indicate
38077 whether to show exceptions. Do not include ");\n" in return
38078 value.
38079 (special_functions): Output call to RUN_TEST_sincos instead of
38080 check_float calls. Update calls to new_test.
38081 (parse_args): Output call to single RUN_TEST_* macro instead of
38082 check_* calls and other assignments. Update calls to new_test.
38083
38084 [BZ #2546]
38085 [BZ #2560]
38086 [BZ #5159]
38087 [BZ #15426]
38088 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
38089 input to result for tgamma overflow.
38090 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
38091 (gamma_coeff): New variable.
38092 (NCOEFF): New macro.
38093 (gamma_positive): New function.
38094 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
38095 underflow here. Use gamma_positive instead of exp (lgamma) for
38096 other arguments.
38097 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
38098 (gamma_coeff): New variable.
38099 (NCOEFF): New macro.
38100 (gammaf_positive): New function.
38101 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
38102 underflow here. Use gamma_positive instead of exp (lgamma) for
38103 other arguments.
38104 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
38105 (gamma_coeff): New variable.
38106 (NCOEFF): New macro.
38107 (gammal_positive): New function.
38108 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
38109 underflow here. Use gamma_positive instead of exp (lgamma) for
38110 other arguments.
38111 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
38112 (gamma_coeff): New variable.
38113 (NCOEFF): New macro.
38114 (gammal_positive): New function.
38115 (__ieee754_gammal_r): Handle positive infinity, overflow and
38116 underflow here. Handle NaN the same as positive infinity. Remove
38117 check x < 0xffffffff for negative integers. Use gamma_positive
38118 instead of exp (lgamma) for other arguments.
38119 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
38120 (gamma_coeff): New variable.
38121 (NCOEFF): New macro.
38122 (gammal_positive): New function.
38123 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
38124 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
38125 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
38126 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
38127 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
38128 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
38129 * sysdeps/generic/math_private.h (__gamma_productf): New
38130 prototype.
38131 (__gamma_product): Likewise.
38132 (__gamma_productl): Likewise.
38133 * math/Makefile (libm-calls): Add gamma_product.
38134 * math/libm-test.inc (tgamma_test): Add more tests.
38135 * sysdeps/i386/fpu/libm-test-ulps: Update.
38136 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38137
38138 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
38139
38140 * benchtests/bench-skeleton.c (main): Preheat CPU.
38141
38142 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
38143
38144 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
38145
38146 2013-05-07 Roland McGrath <roland@hack.frob.com>
38147
38148 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
38149 and _dl_skip_args_internal.
38150
38151 2013-05-07 Carlos O'Donell <carlos@redhat.com>
38152
38153 * manual/message.texi (Message Translation): Talk about users.
38154 Message to key mapping impacts design.
38155
38156 2013-05-06 Roland McGrath <roland@hack.frob.com>
38157
38158 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
38159
38160 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
38161
38162 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
38163 * sysdeps/wordsize-64/glob64.c: ... here.
38164
38165 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
38166 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
38167 New macros.
38168
38169 * debug/getlogin_r_chk.c: Moved to ...
38170 * login/getlogin_r_chk.c: ... here.
38171 * debug/Makefile (routines): Move getlogin_r_chk to ...
38172 * login/Makefile (routines): ... here.
38173 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
38174 * login/Versions (libc: GLIBC_2.4): ... here.
38175
38176 * io/poll.c (__poll): Renamed from poll.
38177 Add libc_hidden_def.
38178 (poll): Define as weak alias.
38179
38180 * debug/ptsname_r_chk.c: Moved to ...
38181 * login/ptsname_r_chk.c: ... here.
38182 * debug/Makefile (routines): Move ptsname_r_chk to ...
38183 * login/Makefile (routines): ... here.
38184 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
38185 * login/Versions (libc: GLIBC_2.4): ... here.
38186
38187 * posix/getlogin.c: Moved to ...
38188 * login/getlogin.c: ... here.
38189 * posix/getlogin_r.c: Moved to ...
38190 * login/getlogin_r.c: ... here.
38191 * posix/getlogin_r.c: Moved to ...
38192 * login/getlogin_r.c: ... here.
38193 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
38194 * login/Makefile (routines): ... here.
38195 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
38196 * login/Versions (libc: GLIBC_2.0): ... here.
38197
38198 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
38199 (setrlimit): Define as weak alias.
38200
38201 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
38202 Call __ names for open, ftruncate, and close.
38203 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
38204 (truncate): Define as weak alias.
38205
38206 2013-05-06 Joseph Myers <joseph@codesourcery.com>
38207
38208 * math/gen-libm-test.pl (parse_args): Initialize x before each
38209 test of frexp, modf and remquo.
38210
38211 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
38212 test signgam value.
38213
38214 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38215
38216 [BZ #15418]
38217 [BZ #15419]
38218 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
38219 internal tests.
38220 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
38221
38222 2013-05-06 Roland McGrath <roland@hack.frob.com>
38223
38224 * elf/dl-writev.h: New file.
38225 * elf/dl-misc.c: Include it.
38226 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
38227 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
38228
38229 2013-05-04 Joseph Myers <joseph@codesourcery.com>
38230
38231 * math/libm-test.inc (noXFails): Remove variable.
38232 (noXPasses): Likewise.
38233 (BUILD_COMPLEX_INT): Remove macro.
38234 (print_screen): Remove xfail argument.
38235 (print_screen_max_error): Likewise.
38236 (update_stats): Likewise.
38237 (print_max_error): Likewise. Update calls to other affected
38238 functions.
38239 (print_complex_max_error): Likewise.
38240 (test_single_exception): Update calls to print_screen.
38241 (test_single_errno): Likewise.
38242 (check_float_internal): Remove xfail argument. Update calls to
38243 other affected functions.
38244 (check_float): Likewise.
38245 (check_complex): Likewise.
38246 (check_int): Likewise.
38247 (check_long): Likewise.
38248 (check_bool): Likewise.
38249 (check_longlong): Likewise.
38250 (main): Don't print noXFails and noXPasses.
38251 * math/gen-libm-test.pl (top level): Don't mention expected
38252 failure handling in comment.
38253 (new_test): Don't handle expected failures.
38254 (parse_args): Don't mention expected failure handling in comment.
38255 (generate_testfile): Don't handle expected failures.
38256 (parse_ulps): Likewise.
38257 (print_ulps_file): Likewise.
38258 (get_failure): Remove function.
38259 (output_test): Don't handle expected failures.
38260 * make/README.libm-test: Don't mention expected failure handling.
38261
38262 * math/libm-test.inc (plus_zero): Make const. Add initializer.
38263 (minus_zero): Likewise.
38264 (plus_infty): Likewise.
38265 (minus_infty): Likewise.
38266 (qnan_value): Likewise.
38267 (max_value): Likewise.
38268 (min_value): Likewise.
38269 (min_subnorm_value): Likewise.
38270 (initialize): Do not initialize those variables dynamically.
38271
38272 2013-05-03 Roland McGrath <roland@hack.frob.com>
38273
38274 * io/open.c (__open_2): Moved to ...
38275 * io/open_2.c: ... this new file.
38276 * io/open64.c (__open64_2): Moved to ...
38277 * io/open64_2.c: ... this new file.
38278 * io/openat.c (__openat_2): Moved to ...
38279 * io/openat_2.c: ... this new file.
38280 * io/openat64.c (__openat64_2): Moved to ...
38281 * io/openat64_2.c: ... this new file.
38282 * io/Makefile (routines): Add them.
38283 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
38284 * sysdeps/unix/sysv/linux/open_2.c: File removed.
38285 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
38286 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
38287 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
38288 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
38289 (__openat64): Add hidden_ver.
38290 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
38291 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
38292
38293 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
38294 Separately conditionalize setting of GLRO(dl_sysinfo) so
38295 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
38296 as well, but the actual setting is only under [NEED_DL_SYSINFO].
38297
38298 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38299
38300 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
38301 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
38302 definition.
38303 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
38304 * sysdeps/unix/sysv/linux/powerpc/init-first.c
38305 (_libc_vdso_platform_setup): Add __vdso_time initialization.
38306 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
38307 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
38308
38309 2013-05-03 Joseph Myers <joseph@codesourcery.com>
38310
38311 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
38312 test signgam value.
38313
38314 * math/libm-test.inc (hypot_test): Do not use
38315 IGNORE_ZERO_INF_SIGN.
38316
38317 2013-05-03 Andreas Jaeger <aj@suse.de>
38318
38319 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
38320 Linux 3.9.
38321 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
38322 (PF_MAX): Adjust for VSOCK change.
38323
38324 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38325
38326 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38327
38328 2013-05-02 Carlos O'Donell <carlos@redhat.com>
38329
38330 [BZ #15264]
38331 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
38332 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
38333 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
38334
38335 2013-05-02 David S. Miller <davem@davemloft.net>
38336
38337 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38338
38339 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
38340
38341 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
38342
38343 2013-05-01 Roland McGrath <roland@hack.frob.com>
38344
38345 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
38346
38347 2013-05-01 Richard Smith <richard@metafoo.co.uk>
38348
38349 [BZ #14952]
38350 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
38351 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
38352 Use __attribute__ ((__gnu_inline__)).
38353 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
38354 Don't use __attribute__ ((__gnu_inline__)).
38355
38356 2013-05-01 Joseph Myers <joseph@codesourcery.com>
38357
38358 [BZ #15423]
38359 * math/s_catan.c (__catan): Handle small real or imaginary part of
38360 input specially to avoid spurious underflow.
38361 * math/s_catanf.c (__catanf): Likewise.
38362 * math/s_catanh.c (__catanh): Likewise.
38363 * math/s_catanhf.c (__catanhf): Likewise.
38364 * math/s_catanhl.c (__catanhl): Likewise.
38365 * math/s_catanl.c (__catanl): Likewise.
38366 * math/libm-test.inc (catan_test): Add more tests.
38367 (catanh_test): Likewise.
38368 * sysdeps/i386/fpu/libm-test-ulps: Update.
38369 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38370
38371 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38372
38373 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38374
38375 2013-04-30 Joseph Myers <joseph@codesourcery.com>
38376
38377 [BZ #15416]
38378 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
38379 accurately for denominator in atan2.
38380 * math/s_catanf.c (__catanf): Likewise.
38381 * math/s_catanh.c (__catanh): Likewise.
38382 * math/s_catanhf.c (__catanhf): Likewise.
38383 * math/s_catanhl.c (__catanhl): Likewise.
38384 * math/s_catanl.c (__catanl): Likewise.
38385 * math/libm-test.inc (catan_test): Add more tests.
38386 (catanh_test): Likewise.
38387 * sysdeps/i386/fpu/libm-test-ulps: Update.
38388 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38389
38390 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
38391
38392 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
38393
38394 * benchtests/Makefile (bench): Remove slow benchmarks.
38395 * benchtests/atan-inputs: Add slow benchmark inputs.
38396 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
38397 (BENCH_FUNC): Accept variant offset.
38398 (VARIANT): Define.
38399 * benchtests/bench-skeleton.c (main): Run benchmark for each
38400 variant.
38401 * benchtests/cos-inputs: Add slow benchmark inputs.
38402 * benchtests/exp-inputs: Likewise.
38403 * benchtests/pow-inputs: Likewise.
38404 * benchtests/sin-inputs: Likewise.
38405 * benchtests/slowatan-inputs: Remove.
38406 * benchtests/slowatan.c: Remove.
38407 * benchtests/slowcos-inputs: Remove.
38408 * benchtests/slowcos.c: Remove.
38409 * benchtests/slowexp-inputs: Remove.
38410 * benchtests/slowexp.c: Remove.
38411 * benchtests/slowpow-inputs: Remove.
38412 * benchtests/slowpow.c: Remove.
38413 * benchtests/slowsin-inputs: Remove.
38414 * benchtests/slowsin.c: Remove.
38415 * benchtests/slowtan-inputs: Remove.
38416 * benchtests/slowtan.c: Remove.
38417 * benchtests/tan-inputs: Add slow benchmark inputs.
38418 * scripts/bench.pl: Parse comments and directives.
38419
38420 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
38421 in CPPFLAGS.
38422 ($(objpfx)bench-%.c): Remove *-ITER.
38423 * benchtests/bench-modf.c: Remove definition of ITER.
38424 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
38425 (main): Loop for DURATION seconds instead of fixed number of
38426 iterations.
38427 * scripts/bench.pl: Don't expect iterations in parameters.
38428
38429 2013-04-29 Roland McGrath <roland@hack.frob.com>
38430
38431 * io/fchdir.c (__fchdir): Renamed from fchdir.
38432 (fchdir): Define as weak alias.
38433
38434 2013-04-29 Joseph Myers <joseph@codesourcery.com>
38435
38436 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
38437 (ERRNO_EDOM): Likewise.
38438 (ERRNO_ERANGE): Likewise.
38439 (noErrnoTests): New variable.
38440 (init_max_error): Set errno to 0.
38441 (test_single_errno): New function.
38442 (test_errno): Likewise.
38443 (check_float_internal): Call test_errno. Set errno to 0.
38444 (check_complex): Refer to errno tests in comment.
38445 (check_int): Call test_errno. Set errno to 0.
38446 (check_long): Likewise.
38447 (check_bool): Likewise.
38448 (check_longlong): Likewise.
38449 (cos_test): Use ERRNO_* flags for errno tests instead of
38450 check_int.
38451 (expm1_test): Likewise.
38452 (fmod_test): Likewise.
38453 (ilogb_test): Likewise.
38454 (lgamma_test): Likewise.
38455 (pow_test): Likewise.
38456 (remainder_test): Likewise.
38457 (sin_test): Likewise.
38458 (tan_test): Likewise.
38459 (yn_test): Likewise.
38460 (initialize): Set errno to 0.
38461 (main): Print number of errno tests.
38462 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
38463
38464 2013-04-29 Andreas Jaeger <aj@suse.de>
38465
38466 [BZ #15084]
38467 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
38468 and RES_USEVC.
38469
38470 [BZ #15085]
38471 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
38472 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
38473 unimplemented.
38474
38475 [BZ #15380]
38476 * stdlib/random.c (__initstate): Return NULL if
38477 __initstate fails.
38478
38479 [BZ #15086]
38480 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
38481 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
38482 RES_SNGLKUPREOP.
38483
38484 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38485
38486 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38487
38488 2013-04-29 Joseph Myers <joseph@codesourcery.com>
38489
38490 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
38491 of individual tests.
38492 (casin_test): Likewise.
38493 (casinh_test): Likewise.
38494
38495 2013-04-27 Joseph Myers <joseph@codesourcery.com>
38496
38497 [BZ #15409]
38498 * math/s_catan.c (__catan): Handle arguments with large real or
38499 imaginary part separately without squaring.
38500 * math/s_catanf.c (__catanf): Likewise.
38501 * math/s_catanh.c (__catanh): Likewise.
38502 * math/s_catanhf.c (__catanhf): Likewise.
38503 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
38504 and redefine.
38505 (__catanhl): Handle arguments with large real or imaginary part
38506 separately without squaring.
38507 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
38508 and redefine.
38509 (__catanl): Handle arguments with large real or imaginary part
38510 separately without squaring.
38511 * math/libm-test.inc (catan_test): Add more tests.
38512 (catanh_test): Likewise.
38513 * sysdeps/i386/fpu/libm-test-ulps: Update.
38514 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38515
38516 2013-04-27 Andreas Jaeger <aj@suse.de>
38517
38518 [BZ #15007]
38519 * stdlib/stdlib.h: Update guards for qecvt.
38520 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
38521 <stdlib.h>.
38522
38523 2013-04-27 Allan McRae <allan@archlinux.org>
38524
38525 * sysdeps/i386/fpu/libm-test-ulps: Update.
38526
38527 2013-04-26 Joseph Myers <joseph@codesourcery.com>
38528
38529 [BZ #15406]
38530 * math/s_catan.c: Include <float.h>.
38531 (__catan): Ensure underflow exception occurs for underflowed
38532 result.
38533 * math/s_catanf.c: Include <float.h>.
38534 (__catanf): Ensure underflow exception occurs for underflowed
38535 result.
38536 * math/s_catanh.c: Include <float.h>.
38537 (__catanh): Ensure underflow exception occurs for underflowed
38538 result.
38539 * math/s_catanhf.c: Include <float.h>.
38540 (__catanhf): Ensure underflow exception occurs for underflowed
38541 result.
38542 * math/s_catanhl.c: Include <float.h>.
38543 (__catanhl): Ensure underflow exception occurs for underflowed
38544 result.
38545 * math/s_catanl.c: Include <float.h>.
38546 (__catanl): Ensure underflow exception occurs for underflowed
38547 result.
38548 * math/libm-test.inc (catan_test): Add more tests.
38549 (catanh_test): Likewise.
38550
38551 [BZ #15405]
38552 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
38553 underflowed result.
38554 * math/s_ccoshf.c (__ccoshf): Likewise.
38555 * math/s_ccoshl.c (__ccoshl): Likewise.
38556 * math/s_csin.c (__csin): Likewise.
38557 * math/s_csinf.c (__csinf): Likewise.
38558 * math/s_csinh.c (__csinh): Likewise.
38559 * math/s_csinhf.c (__csinhf): Likewise.
38560 * math/s_csinhl.c (__csinhl): Likewise.
38561 * math/s_csinl.c (__csinl): Likewise.
38562 * math/libm-test.inc (ccos_test): Add more tests.
38563 (ccosh_test): Likewise.
38564 (csin_test): Likewise.
38565 (csinh_test): Likewise.
38566
38567 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38568
38569 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
38570 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
38571 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
38572 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
38573 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
38574 powerpc/power5+/fpu folders.
38575 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
38576
38577
38578 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
38579
38580 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38581
38582 2013-04-25 Joseph Myers <joseph@codesourcery.com>
38583
38584 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
38585 additions to variable.
38586 [$(config-machine) = x86_64] (modules-names): Likewise.
38587 ($(objpfx)tst-audit3): Remove dependency.
38588 ($(objpfx)tst-audit3.out): Likewise.
38589 ($(objpfx)tst-audit4): Likewise.
38590 ($(objpfx)tst-audit4.out): Likewise.
38591 ($(objpfx)tst-audit5): Likewise.
38592 ($(objpfx)tst-audit5.out): Likewise.
38593 ($(objpfx)tst-audit6): Likewise.
38594 ($(objpfx)tst-audit6.out): Likewise.
38595 ($(objpfx)tst-audit7): Likewise.
38596 ($(objpfx)tst-audit7.out): Likewise.
38597 (tst-audit3-ENV): Remove variable.
38598 (tst-audit4-ENV): Likewise.
38599 (tst-audit5-ENV): Likewise.
38600 (tst-audit6-ENV): Likewise.
38601 (tst-audit7-ENV): Likewise.
38602 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
38603 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
38604 addition to variable.
38605 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
38606 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
38607 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
38608 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
38609 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
38610 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
38611 tst-audit3, tst-audit4 and tst-audit5.
38612 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
38613 tst-audit6 and tst-audit7.
38614 [$(subdir) = elf] (modules-names): Add audit modules for those
38615 tests.
38616 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
38617 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
38618 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
38619 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
38620 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
38621 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
38622 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
38623 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
38624 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
38625 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
38626 [$(subdir) = elf] (tst-audit3-ENV): New variable.
38627 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
38628 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
38629 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
38630 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
38631 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
38632 Likewise.
38633 [$(subdir) = elf && $(config-cflags-avx) = yes]
38634 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
38635 [$(subdir) = elf && $(config-cflags-avx) = yes]
38636 (CFLAGS-tst-auditmod4a.c): Likewise.
38637 [$(subdir) = elf && $(config-cflags-avx) = yes]
38638 (CFLAGS-tst-auditmod4b.c): Likewise.
38639 [$(subdir) = elf && $(config-cflags-avx) = yes]
38640 (CFLAGS-tst-auditmod6b.c): Likewise.
38641 [$(subdir) = elf && $(config-cflags-avx) = yes]
38642 (CFLAGS-tst-auditmod6c.c): Likewise.
38643 [$(subdir) = elf && $(config-cflags-avx) = yes]
38644 (CFLAGS-tst-auditmod7b.c): Likewise.
38645 * elf/tst-audit3.c: Move to ...
38646 * sysdeps/x86_64/tst-audit3.c: ... here.
38647 * elf/tst-audit4.c: Move to ...
38648 * sysdeps/x86_64/tst-audit4.c: ... here.
38649 * elf/tst-audit5.c: Move to ...
38650 * sysdeps/x86_64/tst-audit5.c: ... here.
38651 * elf/tst-audit6.c: Move to ...
38652 * sysdeps/x86_64/tst-audit6.c: ... here.
38653 * elf/tst-audit7.c: Move to ...
38654 * sysdeps/x86_64/tst-audit7.c: ... here.
38655 * elf/tst-auditmod3a.c: Move to ...
38656 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
38657 * elf/tst-auditmod3b.c: Move to ...
38658 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
38659 * elf/tst-auditmod4a.c: Move to ...
38660 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
38661 * elf/tst-auditmod4b.c: Move to ...
38662 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
38663 * elf/tst-auditmod5a.c: Move to ...
38664 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
38665 * elf/tst-auditmod5b.c: Move to ...
38666 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
38667 * elf/tst-auditmod6a.c: Move to ...
38668 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
38669 * elf/tst-auditmod6b.c: Move to ...
38670 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
38671 * elf/tst-auditmod6c.c: Move to ...
38672 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
38673 * elf/tst-auditmod7a.c: Move to ...
38674 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
38675 * elf/tst-auditmod7b.c: Move to ...
38676 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
38677
38678 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
38679
38680 [BZ #15366]
38681 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
38682 define unconditionally.
38683 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
38684 define unconditionally.
38685 (INT8_C, INT16_C, etc.): Likewise.
38686
38687 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
38688
38689 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
38690 __ehdr_start with hidden visibility.
38691
38692 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
38693
38694 2013-04-24 Carlos O'Donell <carlos@redhat.com>
38695
38696 * math/libm-test.inc (cos_test): Use accurate hex constants.
38697 (sincost_test): Likewise.
38698
38699 2013-04-24 Joseph Myers <joseph@codesourcery.com>
38700
38701 * math/libm-test.inc (catan_test): Add more tests.
38702 (catanh_test): Likewise.
38703
38704 * math/s_catanf.c (__catanf): Use suffixed floating-point
38705 constants.
38706 * math/s_catanhf.c (__catanhf): Likewise.
38707 * math/s_catanhl.c (__catanhl): Likewise.
38708 * math/s_catanl.c (__catanl): Likewise.
38709
38710 [BZ #15394]
38711 * math/s_catan.c (__catan): Calculate imaginary part of result
38712 with log1p not log unless computing log of number close to 0.
38713 * math/s_catanf.c (__catanf): Likewise.
38714 * math/s_catanl.c (__catanl): Likewise.
38715 * math/s_catanh.c (__catanh): Calculate real part of result with
38716 log1p not log unless computing log of number close to 0.
38717 * math/s_catanhf.c (__catanhf): Likewise.
38718 * math/s_catanhl.c (__catanhl): Likewise.
38719 * math/libm-test.inc (catan_test): Add more tests.
38720 (catanh_test): Likewise.
38721 * sysdeps/i386/fpu/libm-test-ulps: Update.
38722 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38723
38724 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
38725
38726 * benchtests/Makefile: Mention files in which fast and slow
38727 paths of math functions are implemented.
38728
38729 2013-04-23 Roland McGrath <roland@hack.frob.com>
38730
38731 * sysdeps/posix/timespec_get.c: New file.
38732
38733 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38734
38735 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
38736 POWER.
38737 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
38738 for POWER.
38739 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
38740 powerpc/power5/fpu folders.
38741 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
38742 * benchtests/Makefile: Add modf testcase.
38743 * benchtests/bench-modf.c: New file: Benchmark test for mo
38744
38745 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
38746
38747 [BZ #14888]
38748 * time/Makefile (tests): Add tst-strptime-whitespace.
38749 * time/strptime_l.c (get_number): Use ISSPACE.
38750 (__strptime_internal): Likewise.
38751 * time/tst-strptime-whitespace.c: New test case.
38752
38753 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
38754
38755 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
38756 member.
38757 (_nss_files_init): Set it here.
38758
38759 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
38760
38761 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
38762 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
38763 unsigned.
38764
38765 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
38766
38767 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
38768
38769 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
38770
38771 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
38772 size just once.
38773
38774 2013-04-21 David S. Miller <davem@davemloft.net>
38775
38776 * po/ru.po: Update Russion translation from translation project.
38777
38778 2013-04-17 Adam Conrad <adconrad@0c3.net>
38779
38780 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
38781 and setfsgid.
38782
38783 2013-04-17 Carlos O'Donell <carlos@redhat.com>
38784
38785 * configure.in: Remove i386 configure warning. Remove i386 case.
38786 * configure: Regenerate.
38787 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
38788 Add example to error message.
38789 * sysdeps/i386/configure: Regenerate.
38790
38791 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
38792
38793 * benchtests/Makefile (bench): Add cos, tan, slowcos and
38794 slowtan.
38795 * benchtests/cos-inputs: New file.
38796 * benchtests/slowcos-inputs: New file.
38797 * benchtests/slowcos.c: New file.
38798 * benchtests/slowtan-inputs: New file.
38799 * benchtests/slowtan.c: New file.
38800 * benchtests/tan-inputs: New file.
38801
38802 2013-04-16 Roland McGrath <roland@hack.frob.com>
38803
38804 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
38805 considered kosher.
38806
38807 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
38808
38809 * benchtests/Makefile: Include cppflags-iterator.mk to add
38810 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
38811
38812 * Makefile.in (bench-clean): New target.
38813 * benchtests/Makefile (bench-clean): Likewise.
38814
38815 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
38816
38817 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
38818
38819 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
38820
38821 * stdio-common/tstdiomisc.c: Fix coding-style violation.
38822
38823 2013-04-15 Andreas Schwab <schwab@suse.de>
38824
38825 * nscd/grpcache.c (cache_addgr): Properly check for short write.
38826 * nscd/initgrcache.c (addinitgroupsX): Likewise.
38827 * nscd/pwdcache.c (cache_addpw): Likewise.
38828 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
38829 more than recsize.
38830
38831 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
38832
38833 * benchtests/Makefile (bench): Write all output to
38834 bench-out.tmp together.
38835
38836 2013-04-15 Andreas Schwab <schwab@suse.de>
38837
38838 * nscd/nscd.c (main): Don't fork again after closing files.
38839
38840 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
38841
38842 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
38843
38844 * benchtests/Rules (bench-deps): Collect dependencies into a
38845 single variable. Add Makefile to dependencies.
38846 ($(objpfx)bench-%.c): Depend on bench-deps.
38847
38848 2013-04-12 Roland McGrath <roland@hack.frob.com>
38849 Xavier Roche <roche+kml2@exalead.com>
38850
38851 [BZ #15361]
38852 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
38853 just that it's a file descriptor.
38854 * manual/llio.texi (Synchronizing AIO Operations): Update description
38855 for EBADF error from aio_fsync.
38856
38857 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
38858
38859 * Rules (bench): Move target definition...
38860 * benchtests/Makefile: ... here.
38861
38862 2013-04-11 Carlos O'Donell <carlos@redhat.com>
38863
38864 * math/libm-test.inc (cos_test): Fix PI/2 test.
38865 (sincos_test): Likewise.
38866 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
38867 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
38868
38869 2013-04-11 Andreas Schwab <schwab@suse.de>
38870
38871 [BZ #13988]
38872 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
38873 accept exponent character only when digits were seen.
38874 * stdio-common/Makefile (tests): Add bug26.
38875 * stdio-common/bug26.c: New file.
38876
38877 [BZ #14293]
38878 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
38879 non-freeable.
38880
38881 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
38882
38883 * Makeconfig (rtld-prefix): Define built linker prefix.
38884 * Rules (run-bench): Use it.
38885 * math/Makefile (run-regen-ulps): Likewise.
38886
38887 * Rules (bench): Remove eval.
38888
38889 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
38890 Roland McGrath <roland@hack.frob.com>
38891 Ondrej Bilka <neleai@seznam.cz>
38892
38893 [BZ #15346]
38894 * time/getdate.c: Include ctype.h and alloca.h.
38895 (__getdate_r): Trim leading and trailing spaces of input.
38896 * time/tst-getdate.c (tests): Add tests with leading and
38897 trailing spaces.
38898
38899 2013-04-08 Roland McGrath <roland@hack.frob.com>
38900
38901 [BZ #14280]
38902 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
38903 when computing value.
38904
38905 2013-04-06 Carlos O'Donell <carlos@redhat.com>
38906
38907 * math/README.libm-test (How can I generate "libm-test-ulps"?):
38908 Use testrun.sh to run libm tests.
38909
38910 [BZ #15309]
38911 * elf/dl-open.c (dl_open_worker): memset all of seen array.
38912
38913 2013-04-06 Marko Myllynen <myllynen@redhat.com>
38914
38915 [BZ #15264]
38916 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
38917
38918 2013-04-06 Carlos O'Donell <carlos@redhat.com>
38919
38920 * Makefile.in (regen-ulps): New target.
38921 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
38922 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
38923 [ifneq (no,$(PERL)] (regen-ulps): New target.
38924 [ifeq (no,$(PERL)] (regen-ulps): New target.
38925 * math/libm-test.inc (ulps_file_name): Define.
38926 (output_dir): New variable.
38927 (options): Add "output-dir" option.
38928 (parse_opt): Handle 'o' case.
38929 (main): If output_dir is non-NULL use it as a prefix
38930 otherwise use "".
38931 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
38932
38933 2013-04-06 Carlos O'Donell <carlos@redhat.com>
38934
38935 [BZ #10060, #10062]
38936 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
38937 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
38938 fail configure if __sync_val_compare_and_swap is not inlined.
38939 * sysdeps/i386/configure: Regenerate.
38940 * configure.in: Build for i686 when configured for i386.
38941 * configure: Regenerate.
38942 * README: Remove i386 reference.
38943
38944 2013-04-06 Carlos O'Donell <carlos@redhat.com>
38945
38946 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
38947 * sysdeps/s390/s390-64/sysdep.h: Likewise.
38948
38949 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
38950
38951 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
38952 (lmsnanval): New variables.
38953 (F): Add conversion tests.
38954 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
38955 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
38956
38957 * stdio-common/tstdiomisc.c (F): Properly collect individual
38958 tests' results.
38959
38960 [BZ #14686, #15336]
38961 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
38962 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
38963 Instead, use input NaN values or generate a qNaN by arithmetic
38964 operation. Also fix bugs to comply with the standard.
38965 * math/libm-test.inc (remainder_test): Add more tests.
38966
38967 [BZ #15335, #15342]
38968 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
38969 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
38970 input NaN values or generate a qNaN by arithmetic operation.
38971
38972 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
38973 unreachable code.
38974
38975 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
38976 definitions.
38977
38978 2013-04-03 Joseph Myers <joseph@codesourcery.com>
38979
38980 [BZ #14478]
38981 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
38982 underflowed result.
38983 * math/s_cexpf.c (__cexpf): Likewise.
38984 * math/s_cexpl.c (__cexpl): Likewise.
38985 * math/libm-test.inc (cexp_test): Add more tests.
38986
38987 2013-04-03 Andreas Schwab <schwab@suse.de>
38988
38989 [BZ #15330]
38990 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
38991 order arrays from heap if bigger than alloca cutoff.
38992
38993 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
38994
38995 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
38996 (SNAN_TESTS_double): Refer to GCC PR56831.
38997 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
38998 GCC PR56828.
38999
39000 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
39001
39002 * Rules (bench): Move bench.out after the run is complete.
39003
39004 * Rules (bench): Echo currently running benchmark.
39005
39006 * benchtests/Makefile (bench): Add atan and slowatan.
39007 * benchtests/atan-inputs: New file.
39008 * benchtests/slowatan-inputs: New file.
39009 * benchtests/slowatan.c: New file.
39010
39011 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
39012 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
39013 its value.
39014
39015 [BZ #15305]
39016 * sysdeps/unix/sysv/linux/kernel-features.h
39017 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
39018 __ASSUME_XFS_RESTRICTED_CHOWN.
39019 * sysdeps/unix/sysv/linux/pathconf.c
39020 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
39021 Save and restore errno.
39022
39023 2013-04-02 Joseph Myers <joseph@codesourcery.com>
39024
39025 [BZ #15327]
39026 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
39027 arguments using __kernel_casinh.
39028 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
39029 arguments using __kernel_casinhf.
39030 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
39031 arguments using __kernel_casinhl.
39032 * math/libm-test.inc (cacosh_test): Add more tests.
39033 * sysdeps/i386/fpu/libm-test-ulps: Update.
39034 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39035
39036 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
39037
39038 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
39039 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
39040
39041 * bench/Makefile (bench): Add sin and slowsin.
39042 * benchtests/sin-inputs: New file.
39043 * benchtests/slowsin-inputs: New file.
39044 * benchtests/slowsin.c: New file.
39045
39046 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
39047 (bench): Add slowexp and slowpow.
39048 (exp-ITER): Increase iterations.
39049 (pow-ITER): Likewise.
39050 * benchtests/exp-inputs: Change input.
39051 * benchtests/pow-inputs: Likewise.
39052 * benchtests/slowexp-inputs: New file.
39053 * benchtests/slowexp.c: New file.
39054 * benchtests/slowpow-inputs: New file.
39055 * benchtests/slowpow.c: New file.
39056
39057 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39058
39059 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
39060 instructions.
39061 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
39062 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
39063 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
39064 * benchtests/Makefile: Add rint benchtest.
39065 * benchtests/rint-inputs: Input for rint benchtest.
39066
39067 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
39068
39069 * Versions.def (libm): Add GLIBC_2.18.
39070 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
39071 hidden libm prototypes.
39072 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
39073 * math/Makefile (libm-calls): Add s_issignaling.
39074 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
39075 __issignalingf, __issignalingl. Adjust all libm.abilist files.
39076 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
39077 declaration.
39078 * math/math.h [__USE_GNU] (issignaling): New macro.
39079 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
39080 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
39081 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
39082 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
39083 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
39084 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
39085 * manual/arith.texi (issignaling): New section.
39086 * manual/libm-err-tab.pl (@all_functions): Update comment.
39087 * math/gen-libm-test.pl (parse_args): Apply special handling for
39088 issignaling.
39089 * math/libm-test.inc (print_float, issignaling_test): New
39090 functions.
39091 (check_float_internal): Add issignaling checks.
39092 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
39093 default definition.
39094 * sysdeps/powerpc/math-tests.h: New file.
39095 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
39096 tests.
39097 * math/test-snan.c (TEST_FUNC): Likewise.
39098
39099 2013-03-30 David S. Miller <davem@davemloft.net>
39100
39101 * po/de.po: Update from translation team.
39102
39103 2013-03-30 Joseph Myers <joseph@codesourcery.com>
39104
39105 [BZ #10357]
39106 * math/k_casinh.c (__kernel_casinh): Handle arguments with
39107 imaginary part less than 1.0 and real part less than 0.5
39108 specially.
39109 * math/k_casinhf.c (__kernel_casinhf): Likewise.
39110 * math/k_casinhl.c (__kernel_casinhl): Likewise.
39111 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
39112 (cacos_test): Add more tests.
39113 (casin_test): Likewise.
39114 (casinh_test): Likewise.
39115 * sysdeps/i386/fpu/libm-test-ulps: Update.
39116 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39117
39118 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
39119
39120 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
39121 ONE with its value.
39122
39123 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
39124 (__pow_mp): Replace ONE and MONE with their values.
39125 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
39126 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
39127 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
39128 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
39129 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
39130 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
39131
39132 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
39133
39134 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
39135 (__pow_mp): Replace ZERO and MZERO with their values.
39136 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
39137 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
39138 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
39139 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
39140 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
39141 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
39142 (__sqr): Likewise.
39143
39144 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
39145
39146 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
39147
39148 2013-03-28 Roland McGrath <roland@hack.frob.com>
39149
39150 * include/stdlib.h [!SHARED] (__call_tls_dtors):
39151 Declare with __attribute__ ((weak)).
39152 * stdlib/exit.c (__libc_atexit) [!SHARED]:
39153 Call __call_tls_dtors only if it's not NULL.
39154
39155 2013-03-28 Roland McGrath <roland@hack.frob.com>
39156
39157 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
39158 didn't do it already, then set _dl_phdr and _dl_phnum based on the
39159 magic __ehdr_start linker symbol if it's defined.
39160 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
39161 them up here if it was already done.
39162
39163 * elf/dl-support.c (_dl_phdr): Make pointer to const.
39164 (_dl_aux_init): Use const in cast when setting it.
39165 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
39166 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
39167 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
39168
39169 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
39170 Declare them here.
39171 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
39172 * csu/libc-tls.c: Nor here.
39173 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
39174
39175 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
39176 (__libc_message): Never call vsyslog.
39177
39178 2013-03-28 Alan Modra <amodra@gmail.com>
39179
39180 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
39181 Define as empty.
39182 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
39183 Likewise.
39184
39185 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39186
39187 [BZ #15214]
39188 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
39189 underflow.
39190 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39191
39192 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
39193
39194 [BZ #15304]
39195 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
39196 Don't add gid passed as argument.
39197
39198 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
39199
39200 2013-03-27 Joseph Myers <joseph@codesourcery.com>
39201
39202 [BZ #15307]
39203 * math/k_casinh.c (__kernel_casinh): Handle arguments with
39204 imaginary part between 1.0 and 1.5 and real part less than 0.5
39205 specially.
39206 * math/k_casinhf.c (__kernel_casinhf): Likewise.
39207 * math/k_casinhl.c (__kernel_casinhl): Likewise.
39208 * math/libm-test.inc (cacos_test): Add more tests.
39209 (casin_test): Likewise.
39210 (casinh_test): Likewise.
39211 * sysdeps/i386/fpu/libm-test-ulps: Update.
39212 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39213
39214 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
39215
39216 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
39217 constants.
39218 (norm): Likewise.
39219 (denorm): Likewise.
39220 (__dbl_mp): Likewise.
39221 (add_magnitudes): Likewise.
39222 (sub_magnitudes): Likewise.
39223 (__add): Likewise.
39224 (__sub): Likewise.
39225 (__mul): Likewise.
39226 (__sqr): Likewise.
39227 (__inv): Likewise.
39228 (__dvd): Likewise.
39229
39230 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
39231 commented code.
39232 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
39233 (__dubcos): Likewise.
39234 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
39235 (__ieee754_acos): Likewise.
39236 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
39237 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
39238 (__exp1): Likewise.
39239 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
39240 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
39241 (log1): Likewise.
39242 (my_log2): Likewise.
39243 (checkint): Likewise.
39244 * sysdeps/ieee754/dbl-64/e_remainder.c
39245 (__ieee754_remainder): Likewise.
39246 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
39247 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
39248 (bsloww): Likewise.
39249 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
39250
39251 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
39252 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
39253 MANTISSA_STORE_T to store computations on mantissa. Use
39254 macros for rounding and division.
39255 (denorm): Likewise.
39256 (__dbl_mp): Likewise.
39257 (add_magnitudes): Likewise.
39258 (sub_magnitudes): Likewise.
39259 (__mul): Likewise.
39260 (__sqr): Likewise.
39261 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
39262 powers of two in terms of TWOPOW macro.
39263 (mp_no): Make type of mantissa as MANTISSA_T.
39264 [!RADIXI]: Define RADIXI.
39265 [!TWO52]: Define TWO52.
39266 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
39267
39268 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39269
39270 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
39271 llroundl symbol when building for PPC32.
39272
39273 2013-03-24 Mark H Weaver <mhw@netris.org>
39274
39275 * manual/arith.texi (Normalization Functions): Fix prototypes for
39276 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
39277
39278 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39279
39280 [BZ #13889]
39281 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
39282 high value to check if expl overflow.
39283 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
39284 to check for underflow and overflow.
39285 * math/libm-test.inc: Add exp test.
39286
39287 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
39288
39289 [BZ #11120]
39290 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
39291 with NOT_IN_libc.
39292
39293 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39294
39295 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
39296 symbol.
39297
39298 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
39299
39300 * math/gen-libm-test.pl (parse_args, special_functions): Properly
39301 wrap blocks consisting of several statements.
39302
39303 * sysdeps/generic/math-tests.h: New file.
39304 * sysdeps/i386/fpu/math-tests.h: Likewise.
39305 * math/test-snan.c: Include it.
39306 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
39307
39308 2013-03-21 Joseph Myers <joseph@codesourcery.com>
39309
39310 [BZ #15285]
39311 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
39312 (__ieee754_j0l): Do not improve calculations using cos of twice
39313 input for inputs above LDBL_MAX / 2.0L.
39314 (__ieee754_y0l): Likewise.
39315 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
39316 (__ieee754_j1l): Do not improve calculations using cos of twice
39317 input for inputs above LDBL_MAX / 2.0L.
39318 (__ieee754_y1l): Likewise.
39319 * math/libm-test.inc (j0_test): Add another test.
39320 (j1_test): Likewise.
39321 (y0_test): Likewise.
39322 (y1_test): Likewise.
39323 * sysdeps/i386/fpu/libm-test-ulps: Update.
39324
39325 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
39326
39327 * Rules ($(objpfx)bench-%.c): Include code from a C source
39328 file.
39329
39330 2013-03-21 Joseph Myers <joseph@codesourcery.com>
39331
39332 [BZ #15287]
39333 * math/k_casinh.c (__kernel_casinh): Handle arguments with
39334 imaginary part 1.0 and real part less than 0.5 specially.
39335 * math/k_casinhf.c (__kernel_casinhf): Likewise.
39336 * math/k_casinhl.c (__kernel_casinhl): Likewise.
39337 * math/libm-test.inc (cacos_test): Add more tests.
39338 (casin_test): Likewise.
39339 (casinh_test): Likewise.
39340 * sysdeps/i386/fpu/libm-test-ulps: Update.
39341 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39342
39343 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
39344
39345 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
39346 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
39347
39348 2013-03-20 Joseph Myers <joseph@codesourcery.com>
39349
39350 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
39351 * config.make.in (config-cflags-sse4): Remove variable.
39352 (config-cflags-avx): Likewise.
39353 (config-cflags-sse2avx): Likewise.
39354 (config-cflags-novzeroupper): Likewise.
39355 (config-asflags-i686): Likewise.
39356 (have-mfma4): Likewise.
39357 (have-as-vis3): Likewise.
39358 (MIG): Likewise.
39359 * configure.in (MIG): Do not AC_SUBST.
39360 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
39361 (libc_cv_cc_sse4): Do not AC_SUBST.
39362 (libc_cv_cc_avx): Likewise.
39363 (libc_cv_cc_sse2avx): Likewise.
39364 (libc_cv_cc_novzeroupper): Likewise.
39365 (libc_cv_cc_fma4): Likewise.
39366 (libc_cv_as_i686): Likewise.
39367 (libc_cv_sparc_as_vis3): Likewise.
39368 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
39369 LIBC_CONFIG_VAR.
39370 (config-asflags-i686): Likewise.
39371 (config-cflags-avx): Likewise.
39372 (config-cflags-sse2avx): Likewise.
39373 (have-mfma4): Likewise.
39374 (config-cflags-novzeroupper): Likewise.
39375 * sysdeps/mach/configure.in (MIG): Likewise.
39376 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
39377 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
39378 LIBC_CONFIG_VAR.
39379 (config-cflags-avx): Likewise.
39380 (config-cflags-sse2avx): Likewise.
39381 (have-mfma4): Likewise.
39382 (config-cflags-novzeroupper): Likewise.
39383 * configure: Regenerated.
39384 * sysdeps/i386/configure: Likewise.
39385 * sysdeps/mach/configure: Likewise.
39386 * sysdeps/sparc/configure: Likewise.
39387 * sysdeps/x86_64/configure: Likewise.
39388
39389 2013-03-20 Roland McGrath <roland@hack.frob.com>
39390
39391 [BZ #14812]
39392 * locale/programs/localedef.c (options): Put N_ translation marker
39393 on argument names, not just descriptions.
39394
39395 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
39396
39397 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
39398
39399 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
39400
39401 [BZ #14176]
39402 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
39403
39404 2013-03-19 Roland McGrath <roland@hack.frob.com>
39405
39406 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
39407 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
39408 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
39409 [!BEFORE_ABORT] (before_abort): New function.
39410 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
39411 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
39412 (writev_for_fatal): New function.
39413 (WRITEV_FOR_FATAL): New macro; call that.
39414 (backtrace_and_maps): New function.
39415 (BEFORE_ABORT): New macro; call that.
39416 (struct str_list): Type removed.
39417 (__libc_message, __libc_fatal): Functions removed.
39418 Include <sysdeps/posix/libc_fatal.c> instead.
39419
39420 2013-03-19 Joseph Myers <joseph@codesourcery.com>
39421
39422 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
39423 constants.
39424 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
39425 double constants.
39426
39427 2013-03-19 Andreas Schwab <schwab@suse.de>
39428
39429 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
39430 * sysdeps/gnu/configure: Regenerate.
39431
39432 * configure.in: Substitute libc_cv_rtlddir.
39433 * configure: Regenerate.
39434 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
39435 * Makeconfig (rtlddir, inst_rtlddir): New variables.
39436 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
39437 * elf/Makefile (install-others, CFLAGS-interp.c)
39438 (ldso_install, common-ldd-rewrite): Likewise.
39439 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
39440 $(inst_slibdir)/$(rtld-installed-name).
39441 * scripts/rellns-sh: Add -p option.
39442 * Makerules (make-shlib-link): Use rellns-sh to get relative name
39443 for source.
39444
39445 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
39446
39447 * manual/nptl.texi: Renamed to ...
39448 * manual/threads.texi: ... this.
39449 * manual/Makefile (chapters): Update.
39450
39451 2013-03-18 Roland McGrath <roland@hack.frob.com>
39452
39453 [BZ #14812]
39454 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
39455 on argument names, not just descriptions.
39456 * malloc/memusagestat.c (options): Likewise.
39457 * nss/getent.c (options): Likewise.
39458
39459 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
39460
39461 [BZ #14812]
39462 * iconv/iconv_prog.c (options): Put N_ translation marker
39463 on argument names, not just descriptions.
39464 * iconv/iconvconfig.c (options): Likewise.
39465
39466 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
39467
39468 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
39469 implementation which is faster on all x86_64 architectures.
39470 Tested on AMD, Intel Nehalem, SNB, IVB.
39471 * sysdeps/x86_64/strnlen.S: Likewise.
39472
39473 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
39474 Remove all multiarch strlen and strnlen versions.
39475 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
39476 Remove strlen and strnlen related parts.
39477
39478 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
39479 Inline strlen part.
39480 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
39481
39482 * sysdeps/x86_64/multiarch/strlen.S: Remove.
39483 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
39484 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
39485 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
39486 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
39487 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
39488
39489 2013-03-17 Carlos O'Donell <carlos@redhat.com>
39490
39491 * manual/memory.texi (Malloc Tunable Parameters):
39492 Sort parameters alphabetically. Add comments for missing entries.
39493
39494 2013-03-17 David S. Miller <davem@davemloft.net>
39495
39496 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39497
39498 2013-03-16 Joseph Myers <joseph@codesourcery.com>
39499
39500 [BZ #15283]
39501 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
39502 for arguments at most half maximum finite value.
39503 * math/libm-test.inc (j0_test): Add more tests.
39504 (j1_test): Likewise.
39505 (y0_test): Likewise.
39506 (y1_test): Likewise.
39507 * sysdeps/i386/fpu/libm-test-ulps: Update.
39508 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39509
39510 [BZ #14155]
39511 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
39512 1 / x and functions P and Q for arguments above 0x1p256L.
39513 (__ieee754_y0l): Likewise.
39514 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
39515 (__ieee754_y1l): Likewise.
39516 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
39517 (j1_test): Likewise.
39518 (y0_test): Likewise.
39519 (y1_test): Likewise.
39520
39521 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
39522
39523 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
39524 variable.
39525
39526 2013-03-15 Roland McGrath <roland@hack.frob.com>
39527
39528 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
39529 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
39530 zero since it's initialized to EXEC_PAGESIZE.
39531
39532 * sysdeps/unix/sysv/linux/ldsodefs.h
39533 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
39534 * sysdeps/generic/ldsodefs.h: ... here.
39535
39536 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
39537
39538 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
39539
39540 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
39541 math/test-snan.c.
39542 * math/test-snan.c: Renamed from
39543 sysdeps/powerpc/fpu/test-powerpc-snan.c.
39544 * math/Makefile (tests): Add test-snan.
39545 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
39546 test-powerpc-snan.
39547
39548 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
39549 SUFFIX. Initialize qNaN_var with __builtin_nan family of
39550 functions.
39551 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
39552 __builtin_nan family of functions.
39553 * math/libm-test.inc (initialize): Initialize qnan_value with
39554 __builtin_nan family of functions.
39555 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
39556 Remove variables.
39557 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
39558 Remove functions.
39559 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
39560 storage class. Initialize qNaN_var and sNaN_var with
39561 __builtin_nan and __builtin_nans families of functions,
39562 respectively.
39563
39564 * math/libm-test.inc (acosh_test): Also test with qNaN input.
39565 (sqrt_test): Remove duplicate test with qNaN input.
39566 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
39567 (round_test, signbit_test, significand_test): Note missing +/-Inf
39568 as well as qNaN tests.
39569
39570 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
39571 qNaN_var. Fix a few strings, too.
39572 * math/libm-test.inc (nan_value): Rename to qnan_value.
39573 * math/gen-libm-test.pl (%beautify): Adjust to that.
39574 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
39575 * math/test-misc.c (main): Likewise.
39576 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
39577 to __qnan_bytes, and __qnan_union, respectively.
39578 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
39579 Likewise.
39580 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
39581 and lqnanval, respectively.
39582 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
39583 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
39584 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
39585 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
39586
39587 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
39588 * math/test-misc.c (main) [__x86_64__]: Enable test for long
39589 doubles.
39590
39591 * math/test-misc.c (main): Fix copy'n'pastos.
39592 * misc/tst-efgcvt.c (special): Likewise.
39593
39594 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
39595 Remove declarations.
39596
39597 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
39598
39599 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
39600 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
39601 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
39602 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
39603
39604 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39605
39606 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
39607 macro to return vdso values correctly in IFUNC implementations.
39608 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
39609 Optimization by using IFUNC.
39610
39611 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
39612 Richard Henderson <rth@redhat.com>
39613 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39614
39615 * Makefile.in (bench): New target.
39616 * NEWS: Mention the benchmark framework.
39617 * Rules (bench): Likewise.
39618 (binaries-bench): Generate binaries for functions to
39619 benchmark.
39620 * benchtests/Makefile: New makefile for benchmark tests.
39621 * benchtests/bench-skeleton.c: New skeleton file for benchmark
39622 programs.
39623 * benchtests/exp-inputs: New input file for EXP function.
39624 * benchtests/pow-inputs: New input file for POW function.
39625 * scripts/bench.pl: New script to generate source files for
39626 benchmark programs.
39627
39628 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
39629
39630 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
39631 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
39632 computations on mantissa. Use macros for rounding and
39633 division.
39634 (denorm): Likewise.
39635 (__dbl_mp): Likewise.
39636 (add_magnitudes): Likewise.
39637 (sub_magnitudes): Likewise.
39638 (__mul): Likewise.
39639 (__sqr): Likewise.
39640 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
39641 powers of two in terms of TWOPOW macro.
39642 (mp_no): Make type of mantissa as MANTISSA_T.
39643 [!RADIXI]: Define RADIXI.
39644 [!TWO52]: Define TWO52.
39645 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
39646
39647 * manual/nptl.texi (cindex): Modify threads to pthreads.
39648
39649 2013-03-15 Joseph Myers <joseph@codesourcery.com>
39650
39651 * sysdeps/x86_64/preconfigure: Regenerated.
39652
39653 2013-03-14 Joseph Myers <joseph@codesourcery.com>
39654
39655 [BZ #14155]
39656 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
39657 0x1p28 and above.
39658 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
39659 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
39660 0x1p28 and above.
39661 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
39662 * math/libm-test.inc (j0_test): Do not allow one spurious
39663 underflow exception.
39664 (y1_test): Likewise.
39665
39666 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
39667
39668 * manual/Makefile (chapters): Add nptl.
39669 * manual/debug.texi (Debugging Support): Add link to Threads
39670 chapter.
39671 * manual/nptl.texi: New file.
39672
39673 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
39674
39675 2013-03-14 Petr Baudis <pasky@ucw.cz>
39676
39677 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
39678 for non-NULL pointer before the memory validity test. Pointed
39679 out by Holger Brunck <holger.brunck@keymile.com>.
39680
39681 2013-03-13 Andreas Schwab <schwab@suse.de>
39682
39683 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
39684 instead of .os.
39685
39686 2013-03-13 Joseph Myers <joseph@codesourcery.com>
39687
39688 * timezone/zic.c: Update from tzcode 2013b.
39689
39690 2013-03-12 Carlos O'Donell <carlos@redhat.com>
39691
39692 * manual/install.texi (Configuring and compiling):
39693 Mention i686 and i586.
39694 * INSTALL: Regenerate.
39695
39696 2013-03-12 Roland McGrath <roland@hack.frob.com>
39697
39698 * sysdeps/init_array/elf-init.c: New file.
39699 * csu/elf-init.c
39700 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
39701 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
39702
39703 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
39704 __gmon_start__ as global, but as static with a .preinit_array pointer.
39705 * sysdeps/init_array/gmon-start.c: New file. Use that.
39706 * sysdeps/init_array/crti.S: New file, empty except for comments.
39707 * sysdeps/init_array/crtn.S: Likewise.
39708
39709 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
39710
39711 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
39712 definining bcopy.
39713 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39714 Remove Prefer_SSE_for_memop.
39715 * sysdeps/x86_64/multiarch/init-arch.h: Remove
39716 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
39717 HAS_PREFER_SSE_FOR_MEMOP.
39718 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
39719 memset-x86-64.
39720 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
39721 Remove bzero, memset ifunc support.
39722 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
39723 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
39724 * sysdeps/x86_64/multiarch/memset.S: Likewise.
39725 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
39726
39727 2013-03-11 Andreas Schwab <schwab@suse.de>
39728
39729 [BZ #15234]
39730 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
39731 by SHLIB_COMPAT.
39732 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
39733 (GLIBC_2.16): Remove pthread_atfork.
39734
39735 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
39736
39737 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
39738 (ptestcases.h): Likewise.
39739
39740 2013-03-08 Roland McGrath <roland@hack.frob.com>
39741
39742 * Makeconfig ($(common-objpfx)config.status): Depend on
39743 sysdeps/*/preconfigure{,.in} too.
39744
39745 2013-03-08 Joseph Myers <joseph@codesourcery.com>
39746
39747 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
39748 (__free_hook): Use void * instead of __malloc_ptr_t.
39749 (__malloc_hook): Likewise.
39750 (__realloc_hook): Likewise.
39751 (__memalign_hook): Likewise.
39752 (__after_morecore_hook): Likewise.
39753 * malloc/arena.c (save_malloc_hook): Likewise.
39754 (save_free_hook): Likewise.
39755 * malloc/hooks.c (malloc_hook_ini): Likewise.
39756 (realloc_hook_ini): Likewise.
39757 (memalign_hook_ini): Likewise.
39758 * malloc/malloc.c (malloc_hook_ini): Likewise.
39759 (realloc_hook_ini): Likewise.
39760 (memalign_hook_ini): Likewise.
39761 (__free_hook): Likewise.
39762 (__malloc_hook): Likewise.
39763 (__realloc_hook): Likewise.
39764 (__memalign_hook): Likewise.
39765 (__libc_malloc): Likewise.
39766 (__libc_free): Likewise.
39767 (__libc_realloc): Likewise.
39768 (__libc_memalign): Likewise.
39769 (__libc_valloc): Likewise.
39770 (__libc_pvalloc): Likewise.
39771 (__libc_calloc): Likewise.
39772 (__posix_memalign): Likewise.
39773 * malloc/morecore.c (__sbrk): Likewise.
39774 (__default_morecore): Likewise.
39775
39776 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
39777
39778 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
39779 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
39780 __malloc_ptrdiff_t.
39781
39782 * malloc/malloc.h (__malloc_size_t): Remove macro.
39783 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
39784 __malloc_size_t.
39785 (old_memalign_hook): Likewise.
39786 (old_realloc_hook): Likewise.
39787 (struct hdr): Likewise.
39788 (flood): Likewise.
39789 (mallochook): Likewise.
39790 (memalignhook): Likewise.
39791 (reallochook): Likewise.
39792 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
39793 (tr_old_realloc_hook): Likewise.
39794 (tr_old_memalign_hook): Likewise.
39795 (tr_mallochook): Likewise.
39796 (tr_reallochook): Likewise.
39797 (tr_memalignhook): Likewise.
39798
39799 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39800
39801 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
39802 default_ldbl_pack and using as default implementation.
39803 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
39804 implementation.
39805 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
39806 redundant definition.
39807 (ldbl_insert_mantissa): Likewise.
39808 (ldbl_canonicalize): Likewise.
39809 (ldbl_nearbyint): Likewise.
39810 (ldbl_pack): Rename to ldbl_pack_ppc.
39811 (ldbl_unpack): Rename to ldbl_unpack_ppc.
39812 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
39813 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
39814
39815 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
39816
39817 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
39818 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
39819 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
39820 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
39821 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
39822 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
39823 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
39824 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
39825
39826 2013-03-07 Andreas Jaeger <aj@suse.de>
39827
39828 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39829 bits/mman-linux.h.
39830
39831 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
39832
39833 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
39834 Include mpa.h and declare __MPEXP.
39835 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
39836 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
39837 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
39838 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
39839 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
39840 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
39841 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
39842
39843 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
39844 (__slowpow): Use long double EXPL and LOGL functions to
39845 compute POW.
39846 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
39847 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
39848 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
39849 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
39850 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
39851 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
39852
39853 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
39854 intermediate variable to calculate exponent.
39855 (__sqr): Likewise.
39856 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
39857 Likewise.
39858 (__sqr): Likewise.
39859
39860 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
39861 [!NO__SQR]: Define __sqr.
39862 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
39863 and NO__SQR. Remove all code except __mul and __sqr. Include
39864 sysdeps/ieee754/dbl-64/mpa.c.
39865 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
39866
39867 [BZ #12723]
39868 * posix/Makefile (tests): Add tst-pathconf.
39869 * posix/tst-pathconf.c: New test case.
39870 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
39871 _PC_PIPE_BUF.
39872 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
39873
39874 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
39875
39876 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
39877
39878 2013-03-06 Andreas Jaeger <aj@suse.de>
39879
39880 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
39881 definition via __MAP_ANONYMOUS.
39882
39883 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
39884 it's not part of Linux headers.
39885
39886 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
39887 (MAP_HUGE_MASK): Define.
39888
39889 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
39890 Define.
39891 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
39892 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
39893 Define.
39894 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
39895 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
39896 Define.
39897 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
39898 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
39899 Define.
39900 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
39901
39902 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
39903 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
39904 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
39905 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
39906 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
39907 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
39908
39909 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
39910 Handle f2fs.
39911
39912 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
39913 Handle f2fs and efivarfs.
39914
39915 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
39916 f2fs.
39917
39918 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
39919 (EFIVARFS_MAGIC): Add.
39920 (F2FS_LINK_MAX): Add.
39921
39922 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
39923
39924 * stdio-common/vfprintf.c: Replace __builtin_expect with
39925 __glibc_unlikely.
39926
39927 2013-03-06 Joseph Myers <joseph@codesourcery.com>
39928
39929 [BZ #13550]
39930 * sysdeps/generic/bp-sym.h: Remove file.
39931 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
39932 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
39933 <bp-sym.h> and <bp-asm.h>.
39934 (__longjmp): Don't use BP_SYM.
39935 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
39936 and <bp-asm.h>.
39937 (memcpy): Don't use BP_SYM.
39938 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
39939 <bp-sym.h> and <bp-asm.h>.
39940 (memcpy): Don't use BP_SYM.
39941 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
39942 <bp-asm.h>.
39943 (memcpy): Don't use BP_SYM.
39944 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
39945 <bp-asm.h>.
39946 (memset): Don't use BP_SYM.
39947 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
39948 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
39949 (__bzero): Don't use BP_SYM.
39950 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
39951 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
39952 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
39953 <bp-sym.h> and <bp-asm.h>.
39954 (memcmp): Don't use BP_SYM. Remove comment about bounded
39955 pointers.
39956 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
39957 <bp-sym.h> and <bp-asm.h>.
39958 (memcpy): Don't use BP_SYM.
39959 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
39960 <bp-sym.h> and <bp-asm.h>.
39961 (memset): Don't use BP_SYM.
39962 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
39963 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
39964 (__bzero): Don't use BP_SYM.
39965 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
39966 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
39967 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
39968 <bp-sym.h> and <bp-asm.h>.
39969 (strncmp): Don't use BP_SYM. Remove comment about bounded
39970 pointers.
39971 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
39972 <bp-sym.h> and <bp-asm.h>.
39973 (memcpy): Don't use BP_SYM.
39974 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
39975 <bp-sym.h> and <bp-asm.h>.
39976 (memset): Don't use BP_SYM.
39977 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
39978 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
39979 (__bzero): Don't use BP_SYM.
39980 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
39981 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
39982 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
39983 <bp-sym.h> and <bp-asm.h>.
39984 (__memchr): Don't use BP_SYM.
39985 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
39986 <bp-sym.h> and <bp-asm.h>.
39987 (memcmp): Don't use BP_SYM. Remove comment about bounded
39988 pointers.
39989 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
39990 <bp-sym.h> and <bp-asm.h>.
39991 (memcpy): Don't use BP_SYM.
39992 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
39993 <bp-sym.h> and <bp-asm.h>.
39994 (__mempcpy): Don't use BP_SYM.
39995 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
39996 <bp-sym.h> and <bp-asm.h>.
39997 (__memrchr): Don't use BP_SYM.
39998 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
39999 <bp-sym.h> and <bp-asm.h>.
40000 (memset): Don't use BP_SYM.
40001 (__bzero): Likewise.
40002 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
40003 <bp-sym.h> and <bp-asm.h>.
40004 (__rawmemchr): Don't use BP_SYM.
40005 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
40006 <bp-sym.h> and <bp-asm.h>.
40007 (__STRCMP): Don't use BP_SYM.
40008 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
40009 <bp-sym.h> and <bp-asm.h>.
40010 (strchr): Don't use BP_SYM.
40011 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
40012 <bp-sym.h> and <bp-asm.h>.
40013 (__strchrnul): Don't use BP_SYM.
40014 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
40015 <bp-sym.h> and <bp-asm.h>.
40016 (strlen): Don't use BP_SYM.
40017 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
40018 <bp-sym.h> and <bp-asm.h>.
40019 (strncmp): Don't use BP_SYM. Remove comment about bounded
40020 pointers.
40021 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
40022 <bp-sym.h> and <bp-asm.h>.
40023 (__strnlen): Don't use BP_SYM.
40024 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
40025 <bp-sym.h> and <bp-asm.h>.
40026 (__GI__setjmp): Don't use BP_SYM.
40027 (_setjmp): Likewise.
40028 (__sigsetjmp): Likewise.
40029 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
40030 (L(start_addresses)): Don't use BP_SYM.
40031 (_start): Likewise.
40032 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
40033 <bp-asm.h>.
40034 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
40035 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
40036 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
40037 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
40038 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
40039 <bp-asm.h>.
40040 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
40041 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
40042 about bounded pointers.
40043 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
40044 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
40045 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
40046 <bp-asm.h>.
40047 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
40048 about bounded pointers. Remove GKM FIXME comments.
40049 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
40050 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
40051 <bp-asm.h>.
40052 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
40053 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
40054 Remove GKM FIXME comments.
40055 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
40056 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
40057 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
40058 <bp-asm.h>.
40059 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
40060 about bounded pointers. Remove GKM FIXME comment.
40061 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
40062 and <bp-asm.h>.
40063 (strncmp): Don't use BP_SYM. Remove comment about bounded
40064 pointers.
40065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
40066 <bp-sym.h> and <bp-asm.h>.
40067 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
40068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
40069 <bp-sym.h> and <bp-asm.h>.
40070 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
40071 comment.
40072
40073 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
40074
40075 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
40076 call free(NULL).
40077
40078 2013-03-05 David S. Miller <davem@davemloft.net>
40079
40080 * po/es.po: Update from translation team.
40081
40082 2013-03-05 Andreas Jaeger <aj@suse.de>
40083
40084 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
40085 <bits/mman-linux.h>.
40086 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
40087 is fine.
40088 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
40089 <bits/mman-linux.h> to end of file.
40090 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
40091 is fine.
40092 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
40093 <bits/mman-linux.h> to end of file.
40094 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
40095 is fine.
40096 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
40097 <bits/mman-linux.h> to end of file.
40098
40099 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
40100 (MCL_CURRENT, MCL_FUTURE): Define here.
40101
40102 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40103
40104 [BZ #15232]
40105 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
40106 attribute_hidden.
40107 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
40108
40109 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40110
40111 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
40112 fourth parameter needed for rt_sigprocmask syscall.
40113 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
40114 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
40115 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
40116 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
40117 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
40118 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
40119
40120 2013-03-04 Joseph Myers <joseph@codesourcery.com>
40121
40122 [BZ #13550]
40123 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
40124 comment about bounded pointers.
40125 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
40126 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
40127
40128 2013-03-04 Andreas Jaeger <aj@suse.de>
40129
40130 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
40131 common definitions.
40132
40133 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
40134 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
40135 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
40136 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
40137 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
40138 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
40139
40140 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40141
40142 [BZ #15055]
40143 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
40144 __ieee754_sqrl instead of __sqrl.
40145
40146 2013-03-01 Joseph Myers <joseph@codesourcery.com>
40147
40148 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
40149 * sysdeps/powerpc/fpu_control.h: ... here.
40150 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
40151 * sysdeps/powerpc/bits/fenvinline.h: ... here.
40152 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
40153 * sysdeps/powerpc/bits/mathinline.h: ... here.
40154
40155 2013-03-01 Roland McGrath <roland@hack.frob.com>
40156
40157 * elf/dl-hwcaps.c (_dl_important_hwcaps):
40158 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
40159 to just [NEED_DL_SYSINFO_DSO].
40160 * elf/dl-support.c: Likewise.
40161 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
40162 * elf/rtld.c (dl_main): Likewise.
40163 * elf/setup-vdso.h (setup_vdso): Likewise.
40164 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
40165 * sysdeps/unix/sysv/linux/dl-sysdep.c
40166 (_dl_discover_osversion): Likewise.
40167
40168 2013-03-01 Carlos O'Donell <carlos@redhat.com>
40169
40170 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
40171 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
40172
40173 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
40174
40175 * NEWS: Mention libm performance improvements and non-x86 PI
40176 futex support.
40177
40178 * csu/libc-start.c (__pthread_initialize_minimal): Change
40179 function arguments.
40180 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
40181
40182 2013-02-28 Joseph Myers <joseph@codesourcery.com>
40183
40184 [BZ #13550]
40185 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
40186 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
40187 <bp-sym.h> and <bp-asm.h>.
40188 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
40189 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
40190 and <bp-asm.h>.
40191 (memcpy): Don't use BP_SYM.
40192 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
40193 <bp-asm.h>.
40194 (__mpn_add_n): Don't use BP_SYM.
40195 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
40196 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
40197 and <bp-asm.h>.
40198 (__mpn_addmul_1): Don't use BP_SYM.
40199 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
40200 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
40201 <bp-sym.h>.
40202 (_setjmp): Don't use BP_SYM.
40203 (__novmx_setjmp): Likewise.
40204 (__GI__setjmp): Likewise.
40205 (__vmx_setjmp): Likewise.
40206 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
40207 <bp-sym.h>.
40208 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
40209 (__bzero): Don't use BP_SYM.
40210 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
40211 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
40212 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
40213 <bp-sym.h> and <bp-asm.h>.
40214 (memcpy): Don't use BP_SYM.
40215 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
40216 <bp-sym.h> and <bp-asm.h>.
40217 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
40218 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
40219 <bp-sym.h> and <bp-asm.h>.
40220 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
40221 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
40222 <bp-asm.h>.
40223 (__mpn_lshift): Don't use BP_SYM.
40224 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
40225 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
40226 <bp-asm.h>.
40227 (memset): Don't use BP_SYM.
40228 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
40229 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
40230 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
40231 <bp-asm.h>.
40232 (__mpn_mul_1): Don't use BP_SYM.
40233 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
40234 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
40235 <bp-sym.h> and <bp-asm.h>.
40236 (memcmp): Don't use BP_SYM.
40237 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
40238 <bp-sym.h> and <bp-asm.h>.
40239 (memcpy): Don't use BP_SYM.
40240 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
40241 <bp-sym.h> and <bp-asm.h>.
40242 (memset): Don't use BP_SYM.
40243 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
40244 <bp-sym.h> and <bp-asm.h>.
40245 (strncmp): Don't use BP_SYM.
40246 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
40247 <bp-sym.h> and <bp-asm.h>.
40248 (memcpy): Don't use BP_SYM.
40249 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
40250 <bp-sym.h> and <bp-asm.h>.
40251 (memset): Don't use BP_SYM.
40252 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
40253 <bp-sym.h> and <bp-asm.h>.
40254 (__memchr): Don't use BP_SYM.
40255 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
40256 <bp-sym.h> and <bp-asm.h>.
40257 (memcmp): Don't use BP_SYM.
40258 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
40259 <bp-sym.h> and <bp-asm.h>.
40260 (memcpy): Don't use BP_SYM.
40261 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
40262 <bp-sym.h> and <bp-asm.h>.
40263 (__mempcpy): Don't use BP_SYM.
40264 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
40265 <bp-sym.h> and <bp-asm.h>.
40266 (__memrchr): Don't use BP_SYM.
40267 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
40268 <bp-sym.h> and <bp-asm.h>.
40269 (memset): Don't use BP_SYM.
40270 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
40271 <bp-sym.h> and <bp-asm.h>.
40272 (__rawmemchr): Don't use BP_SYM.
40273 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
40274 <bp-sym.h> and <bp-asm.h>.
40275 (__STRCMP): Don't use BP_SYM.
40276 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
40277 <bp-sym.h> and <bp-asm.h>.
40278 (strchr): Don't use BP_SYM.
40279 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
40280 <bp-sym.h> and <bp-asm.h>.
40281 (__strchrnul): Don't use BP_SYM.
40282 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
40283 <bp-sym.h> and <bp-asm.h>.
40284 (strlen): Don't use BP_SYM.
40285 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
40286 <bp-sym.h> and <bp-asm.h>.
40287 (strncmp): Don't use BP_SYM.
40288 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
40289 <bp-sym.h> and <bp-asm.h>.
40290 (__strnlen): Don't use BP_SYM.
40291 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
40292 <bp-asm.h>.
40293 (__mpn_rshift): Don't use BP_SYM.
40294 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
40295 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
40296 <bp-sym.h> and <bp-asm.h>.
40297 (__sigsetjmp): Don't use BP_SYM.
40298 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
40299 (L(start_addresses)): Don't use BP_SYM.
40300 (_start): Likewise.
40301 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
40302 <bp-asm.h>.
40303 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
40304 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
40305 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
40306 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
40307 <bp-asm.h>.
40308 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
40309 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
40310 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
40311 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
40312 <bp-asm.h>.
40313 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
40314 comments.
40315 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
40316 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
40317 <bp-asm.h>.
40318 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
40319 FIXME comments.
40320 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
40321 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
40322 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
40323 <bp-asm.h>.
40324 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
40325 comment.
40326 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
40327 and <bp-asm.h>.
40328 (strncmp): Don't use BP_SYM,
40329 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
40330 <bp-asm.h>.
40331 (__mpn_sub_n): Don't use BP_SYM.
40332 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
40333 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
40334 and <bp-asm.h>.
40335 (__mpn_submul_1): Don't use BP_SYM.
40336 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
40337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
40338 <bp-sym.h> and <bp-asm.h>.
40339 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
40340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
40341 <bp-sym.h> and <bp-asm.h>.
40342 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
40343 comment.
40344
40345 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
40346
40347 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
40348 Use ZK to minimize writes to Z.
40349 (sub_magnitudes): Simplify code a bit.
40350 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
40351 Use ZK to minimize writes to Z.
40352 (sub_magnitudes): Simplify code a bit.
40353
40354 2013-02-27 Roland McGrath <roland@hack.frob.com>
40355
40356 * csu/gmon-start.c: Add special exception to license text.
40357
40358 2013-02-27 Richard Henderson <rth@redhat.com>
40359
40360 * scripts/config.guess: Update from config.git.
40361 * scripts/config.sub: Likewise.
40362
40363 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
40364
40365 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
40366
40367 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
40368
40369 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
40370
40371 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
40372
40373 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
40374
40375 2013-02-26 Roland McGrath <roland@hack.frob.com>
40376
40377 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
40378 [$(build-shared = yes].
40379
40380 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
40381
40382 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
40383 (__mul): Reduce iterations for calculating mantissa.
40384
40385 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
40386 MPTWO.
40387 (__mpranred): Likewise.
40388
40389 [BZ #15160]
40390 * malloc/memusagestat.c (main): Draw graphs for heap and stack
40391 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
40392
40393 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
40394
40395 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
40396 Define __attribute__.
40397
40398 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
40399
40400 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
40401 unused.
40402 * posix/regex_internal.h (__attribute): Remove.
40403 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
40404 (re_string_context_at): Likewise.
40405 (bitset_not): Use __attribute__ and mark function as possibly
40406 unused.
40407 (bitset_merge): Likewise.
40408 (bitset_mask): Likewise.
40409 (re_string_char_size_at): Likewise.
40410 (re_string_wchar_at): Likewise.
40411 (re_string_elem_size_at): Likewise.
40412
40413 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
40414
40415 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
40416 code.
40417 (cc32): Likewise.
40418
40419 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
40420 (__acr): Likewise.
40421 (__cpy): Likewise.
40422 (norm): Likewise.
40423 (denorm): Likewise.
40424 (__dbl_mp): Likewise.
40425 (add_magnitudes): Likewise.
40426 (sub_magnitudes): Likewise.
40427 (__mul): Likewise.
40428 (__inv): Likewise.
40429
40430 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
40431 style.
40432
40433 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
40434 style.
40435
40436 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
40437 code.
40438
40439 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
40440 up changes with default code.
40441 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
40442 Likewise.
40443
40444 2013-02-24 Allan McRae <allan@archlinux.org>
40445
40446 * manual/socket.texi (The Internet Namespace): Order menu items
40447 to match that in the file.
40448
40449 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
40450 node listing of the info page menu.
40451
40452 2013-02-21 Joseph Myers <joseph@codesourcery.com>
40453
40454 [BZ #13550]
40455 * sysdeps/i386/bp-asm.h: Remove file.
40456 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
40457 (PARMS): Do not use macros from bp-asm.h.
40458 (S1): Likewise.
40459 (S2): Likewise.
40460 (SIZE): Likewise.
40461 (__mpn_add_n): Do not use BP_SYM
40462 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
40463 "bp-asm.h".
40464 (PARMS): Do not use macros from bp-asm.h.
40465 (S1): Likewise.
40466 (SIZE): Likewise.
40467 (__mpn_addmul_1): Do not use BP_SYM
40468 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
40469 "bp-asm.h".
40470 (PARMS): Do not use macros from bp-asm.h.
40471 (SIGMSK): Likewise.
40472 (_setjmp): Likewise. Do not use BP_SYM.
40473 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
40474 "bp-asm.h".
40475 (PARMS): Do not use macros from bp-asm.h.
40476 (SIGMSK): Likewise.
40477 (setjmp): Likewise. Do not use BP_SYM.
40478 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
40479 "bp-asm.h".
40480 (PARMS): Do not use macros from bp-asm.h.
40481 (__frexp): Do not use BP_SYM.
40482 (frexp): Likewise.
40483 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
40484 "bp-asm.h".
40485 (PARMS): Do not use macros from bp-asm.h.
40486 (__frexpf): Do not use BP_SYM.
40487 (frexpf): Likewise.
40488 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
40489 "bp-asm.h".
40490 (PARMS): Do not use macros from bp-asm.h.
40491 (__frexpl): Do not use BP_SYM.
40492 (frexpl): Likewise.
40493 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
40494 "bp-asm.h".
40495 (PARMS): Do not use macros from bp-asm.h.
40496 (__remquo): Do not use BP_SYM.
40497 (remquo): Likewise.
40498 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
40499 "bp-asm.h".
40500 (PARMS): Do not use macros from bp-asm.h.
40501 (__remquof): Do not use BP_SYM.
40502 (remquof): Likewise.
40503 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
40504 "bp-asm.h".
40505 (PARMS): Do not use macros from bp-asm.h.
40506 (__remquol): Do not use BP_SYM.
40507 (remquol): Likewise.
40508 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
40509 "bp-asm.h".
40510 (PARMS): Do not use macros from bp-asm.h.
40511 (DEST): Likewise.
40512 (SRC): Likewise.
40513 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
40514 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
40515 "bp-asm.h".
40516 (PARMS): Do not use macros from bp-asm.h.
40517 (strlen): Do not use BP_SYM.
40518 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
40519 "bp-asm.h".
40520 (PARMS): Do not use macros from bp-asm.h.
40521 (S1): Likewise.
40522 (S2): Likewise.
40523 (SIZE): Likewise.
40524 (__mpn_add_n): Do not use BP_SYM.
40525 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
40526 "bp-asm.h".
40527 (PARMS): Do not use macros from bp-asm.h.
40528 (S1): Likewise.
40529 (SIZE): Likewise.
40530 (__mpn_addmul_1): Do not use BP_SYM.
40531 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
40532 weak_alias.
40533 (bzero): Likewise.
40534 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
40535 "bp-asm.h".
40536 (PARMS): Do not use macros from bp-asm.h.
40537 (S): Likewise.
40538 (SIZE): Likewise.
40539 (__mpn_lshift): Do not use BP_SYM.
40540 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
40541 "bp-asm.h".
40542 (PARMS): Do not use macros from bp-asm.h.
40543 (DEST): Likewise.
40544 (SRC): Likewise.
40545 (LEN): Likewise.
40546 (memcpy): Likewise. Do not use BP_SYM.
40547 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
40548 libc_hidden_def and weak_alias.
40549 (mempcpy): Do not use BP_SYM in weak_alias.
40550 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
40551 "bp-asm.h".
40552 (PARMS): Do not use macros from bp-asm.h.
40553 (DEST): Likewise.
40554 (LEN): Likewise.
40555 [!BZERO_P] (CHR): Likewise.
40556 (memset): Likewise. Do not use BP_SYM.
40557 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
40558 "bp-asm.h".
40559 (PARMS): Do not use macros from bp-asm.h.
40560 (S1): Likewise.
40561 (SIZE): Likewise.
40562 (__mpn_mul_1): Do not use BP_SYM.
40563 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
40564 "bp-asm.h".
40565 (PARMS): Do not use macros from bp-asm.h.
40566 (S): Likewise.
40567 (SIZE): Likewise.
40568 (__mpn_rshift): Do not use BP_SYM.
40569 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
40570 "bp-asm.h".
40571 (PARMS): Do not use macros from bp-asm.h.
40572 (STR): Likewise.
40573 (CHR): Likewise.
40574 (strchr): Likewise. Do not use BP_SYM.
40575 (index): Do not use BP_SYM in weak_alias.
40576 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
40577 "bp-asm.h".
40578 (PARMS): Do not use macros from bp-asm.h.
40579 (DEST): Likewise.
40580 (SRC): Likewise.
40581 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
40582 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
40583 "bp-asm.h".
40584 (PARMS): Do not use macros from bp-asm.h.
40585 (strlen): Do not use BP_SYM.
40586 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
40587 "bp-asm.h".
40588 (PARMS): Do not use macros from bp-asm.h.
40589 (S1): Likewise.
40590 (S2): Likewise.
40591 (SIZE): Likewise.
40592 (__mpn_sub_n): Do not use BP_SYM.
40593 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
40594 "bp-asm.h".
40595 (PARMS): Do not use macros from bp-asm.h.
40596 (S1): Likewise.
40597 (SIZE): Likewise.
40598 (__mpn_submul_1): Do not use BP_SYM.
40599 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
40600 "bp-asm.h".
40601 (PARMS): Do not use macros from bp-asm.h.
40602 (S1): Likewise.
40603 (S2): Likewise.
40604 (SIZE): Likewise.
40605 (__mpn_add_n): Do not use BP_SYM.
40606 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
40607 weak_alias.
40608 (bzero): Likewise.
40609 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
40610 "bp-asm.h".
40611 (PARMS): Do not use macros from bp-asm.h.
40612 (BLK2): Likewise.
40613 (LEN): Likewise.
40614 (memcmp): Do not use BP_SYM.
40615 (bcmp): Do not use BP_SYM in weak_alias.
40616 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
40617 "bp-asm.h".
40618 (PARMS): Do not use macros from bp-asm.h.
40619 (DEST): Likewise.
40620 (SRC): Likewise.
40621 (LEN): Likewise.
40622 (memcpy): Likewise. Do not use BP_SYM.
40623 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
40624 "bp-asm.h".
40625 (PARMS): Do not use macros from bp-asm.h.
40626 (DEST): Likewise.
40627 (SRC): Likewise.
40628 (LEN): Likewise.
40629 (memmove): Likewise. Do not use BP_SYM.
40630 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
40631 "bp-asm.h".
40632 (PARMS): Do not use macros from bp-asm.h.
40633 (DEST): Likewise.
40634 (SRC): Likewise.
40635 (LEN): Likewise.
40636 (__mempcpy): Likewise. Do not use BP_SYM.
40637 (mempcpy): Do not use BP_SYM in weak_alias.
40638 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
40639 "bp-asm.h".
40640 (PARMS): Do not use macros from bp-asm.h.
40641 (DEST): Likewise.
40642 (LEN): Likewise.
40643 [!BZERO_P] (CHR): Likewise.
40644 (memset): Likewise. Do not use BP_SYM.
40645 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
40646 "bp-asm.h".
40647 (PARMS): Do not use macros from bp-asm.h.
40648 (STR2): Likewise.
40649 (strcmp): Do not use BP_SYM.
40650 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
40651 "bp-asm.h".
40652 (PARMS): Do not use macros from bp-asm.h.
40653 (STR): Likewise.
40654 (DELIM): Likewise.
40655 [USE_AS_STRTOK_R] (SAVE): Likewise.
40656 (FUNCTION): Likewise. Do not use BP_SYM.
40657 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
40658 aliases.
40659 (strtok_r): Likewise.
40660 (__GI___strtok_r): Likewise.
40661 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
40662 (PARMS): Do not use macros from bp-asm.h.
40663 (S): Likewise.
40664 (SIZE): Likewise.
40665 (__mpn_lshift): Do not use BP_SYM.
40666 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
40667 (PARMS): Do not use macros from bp-asm.h.
40668 (STR): Likewise.
40669 (CHR): Likewise.
40670 (__memchr): Do not use BP_SYM.
40671 (memchr): Do not use BP_SYM in weak_alias.
40672 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
40673 (PARMS): Do not use macros from bp-asm.h.
40674 (BLK2): Likewise.
40675 (LEN): Likewise.
40676 (memcmp): Do not use BP_SYM.
40677 (bcmp): Do not use BP_SYM in weak_alias.
40678 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
40679 (PARMS): Do not use macros from bp-asm.h.
40680 (S1): Likewise.
40681 (SIZE): Likewise.
40682 (__mpn_mul_1): Do not use BP_SYM.
40683 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
40684 "bp-asm.h".
40685 (PARMS): Do not use macros from bp-asm.h.
40686 (STR): Likewise.
40687 (CHR): Likewise.
40688 (__rawmemchr): Do not use BP_SYM.
40689 (rawmemchr): Do not use BP_SYM in weak_alias.
40690 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
40691 (PARMS): Do not use macros from bp-asm.h.
40692 (S): Likewise.
40693 (SIZE): Likewise.
40694 (__mpn_rshift): Do not use BP_SYM.
40695 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
40696 (PARMS): Do not use macros from bp-asm.h.
40697 (SIGMSK): Likewise.
40698 (__sigsetjmp): Likewise. Do not use BP_SYM.
40699 * sysdeps/i386/start.S: Do not include "bp-sym.h".
40700 (_start): Do not use BP_SYM.
40701 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
40702 (PARMS): Do not use macros from bp-asm.h.
40703 (DEST): Likewise.
40704 (SRC): Likewise.
40705 (__stpcpy): Likewise. Do not use BP_SYM.
40706 (stpcpy): Do not use BP_SYM in weak_alias.
40707 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
40708 "bp-asm.h".
40709 (PARMS): Do not use macros from bp-asm.h.
40710 (DEST): Likewise.
40711 (SRC): Likewise.
40712 (LEN): Likewise.
40713 (__stpncpy): Likewise. Do not use BP_SYM.
40714 (stpncpy): Do not use BP_SYM in weak_alias.
40715 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
40716 (PARMS): Do not use macros from bp-asm.h.
40717 (STR): Likewise.
40718 (CHR): Likewise.
40719 (strchr): Likewise. Do not use BP_SYM.
40720 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
40721 "bp-asm.h".
40722 (PARMS): Do not use macros from bp-asm.h.
40723 (STR): Likewise.
40724 (CHR): Likewise.
40725 (__strchrnul): Likewise. Do not use BP_SYM.
40726 (strchrnul): Do not use BP_SYM in weak_alias.
40727 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
40728 "bp-asm.h".
40729 (PARMS): Do not use macros from bp-asm.h.
40730 (STOP): Likewise.
40731 (strcspn): Do not use BP_SYM.
40732 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
40733 "bp-asm.h".
40734 (PARMS): Do not use macros from bp-asm.h.
40735 (STR): Likewise.
40736 (STOP): Likewise.
40737 (strpbrk): Likewise. Do not use BP_SYM.
40738 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
40739 "bp-asm.h".
40740 (PARMS): Do not use macros from bp-asm.h.
40741 (STR): Likewise.
40742 (CHR): Likewise.
40743 (strrchr): Likewise. Do not use BP_SYM.
40744 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
40745 (PARMS): Do not use macros from bp-asm.h.
40746 (SKIP): Likewise.
40747 (strspn): Do not use BP_SYM.
40748 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
40749 (PARMS): Do not use macros from bp-asm.h.
40750 (STR): Likewise.
40751 (DELIM): Likewise.
40752 (SAVE): Likewise.
40753 (FUNCTION): Likewise. Do not use BP_SYM.
40754 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
40755 aliases.
40756 (strtok_r): Likewise.
40757 (__GI___strtok_r): Likewise.
40758 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
40759 (PARMS): Do not use macros from bp-asm.h.
40760 (S1): Likewise.
40761 (S2): Likewise.
40762 (SIZE): Likewise.
40763 (__mpn_sub_n): Do not use BP_SYM.
40764 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
40765 "bp-asm.h".
40766 (PARMS): Do not use macros from bp-asm.h.
40767 (S1): Likewise.
40768 (SIZE): Likewise.
40769 (__mpn_submul_1): Do not use BP_SYM.
40770 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
40771 <bp-sym.h>.
40772 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
40773 and <bp-asm.h>.
40774 (PARMS): Do not use macros from bp-asm.h.
40775 (FLAGS): Likewise.
40776 (PTID): Likewise.
40777 (TLS): Likewise.
40778 (CTID): Likewise.
40779 (__clone): Do not use BP_SYM.
40780 (clone): Do not use BP_SYM in weak_alias.
40781 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
40782 and <bp-asm.h>.
40783 (PARMS): Do not use macros from bp-asm.h.
40784 (LEN): Likewise.
40785 (__mmap64): Do not use BP_SYM.
40786 (mmap64): Do not use BP_SYM in weak_alias.
40787 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
40788 <bp-sym.h> and <bp-asm.h>.
40789 (PARMS): Do not use macros from bp-asm.h.
40790 (__posix_fadvise64_l64): Do not use BP_SYM.
40791 * sysdeps/unix/sysv/linux/i386/semtimedop.S
40792 (PARMS): Do not use macros from bp-asm.h.
40793 (NSOPS): Likewise.
40794 (semtimedop): Do not use BP_SYM.
40795 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
40796 and <bp-asm.h>.
40797
40798 2013-02-21 Allan McRae <allan@archlinux.org>
40799
40800 * manual/message.texi (Charset conversion in gettext):
40801 Move @end statement to beginning of line.
40802
40803 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
40804
40805 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
40806 static.
40807 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
40808 Likewise.
40809
40810 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
40811 (denorm): Likewise.
40812 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
40813 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
40814
40815 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40816
40817 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
40818 tail-call to the resolved function if pltexit isn't needed.
40819
40820 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
40821
40822 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
40823 or Y being zero as being unlikely.
40824 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
40825 Likewise.
40826
40827 2013-02-20 Carlos O'Donell <carlos@redhat.com>
40828
40829 * manual/nss.texi (System Databases and Name Service Switch):
40830 Remove frobnicate @pxref.
40831
40832 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
40833
40834 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
40835 __attribute__ ((unused)) to __attribute__ ((__unused__)).
40836
40837 2013-02-20 Petr Machata <pmachata@redhat.com>
40838
40839 * elf/elf.h (R_ARM_TARGET1): New macro.
40840 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
40841 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
40842 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
40843 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
40844 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
40845 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
40846 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
40847 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
40848 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
40849 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
40850 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
40851 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
40852 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
40853 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
40854 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
40855 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
40856 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
40857 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
40858 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
40859 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
40860 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
40861 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
40862 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
40863 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
40864 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
40865 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
40866 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
40867 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
40868 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
40869 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
40870 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
40871 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
40872 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
40873 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
40874 (R_ARM_THM_GOT_BREL12): Likewise.
40875 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
40876 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
40877 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
40878 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
40879 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
40880 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
40881 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
40882 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
40883 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
40884
40885 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
40886
40887 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
40888 __attribute_used__ to __attribute__ ((unused)).
40889
40890 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
40891
40892 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
40893 powerpc mpa.c.
40894 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
40895 comment formatting.
40896 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
40897
40898 2013-02-19 Joseph Myers <joseph@codesourcery.com>
40899
40900 [BZ #13550]
40901 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
40902 Remove macro.
40903 (ENTER): Remove both macro definitions.
40904 (LEAVE): Likewise.
40905 (CHECK_BOUNDS_LOW): Likewise.
40906 (CHECK_BOUNDS_HIGH): Likewise.
40907 (CHECK_BOUNDS_BOTH): Likewise.
40908 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
40909 (RETURN_BOUNDED_POINTER): Likewise.
40910 (RETURN_NULL_BOUNDED_POINTER): Likewise.
40911 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
40912 (POP_ERRNO_LOCATION_RETURN): Likewise.
40913 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
40914 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
40915 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
40916 macros.
40917 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
40918 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
40919 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
40920 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
40921 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
40922 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
40923 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
40924 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
40925 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
40926 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
40927 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
40928 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
40929 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
40930 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
40931 removed macros.
40932 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
40933 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
40934 macros.
40935 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
40936 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
40937 * sysdeps/i386/i586/memset.S (memset): Likewise.
40938 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
40939 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
40940 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
40941 macros.
40942 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
40943 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
40944 Change uses of L(2) to L(out).
40945 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
40946 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
40947 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
40948 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
40949 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
40950 removed macros.
40951 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
40952 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
40953 macros.
40954 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
40955 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
40956 (RETURN): Do not use macro LEAVE.
40957 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
40958 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
40959 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
40960 * sysdeps/i386/i686/memset.S (memset): Likewise.
40961 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
40962 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
40963 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
40964 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
40965 Likewise.
40966 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
40967 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
40968 L(1_2) and L(1_3) into L(1).
40969 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
40970 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
40971 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
40972 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
40973 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
40974 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
40975 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
40976 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
40977 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
40978 macros.
40979 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
40980 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
40981 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
40982 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
40983 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
40984 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
40985 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
40986 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
40987 * sysdeps/i386/strcspn.S (strcspn): Likewise.
40988 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
40989 * sysdeps/i386/strrchr.S (strrchr): Likewise.
40990 * sysdeps/i386/strspn.S (strspn): Likewise.
40991 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
40992 conditional code.
40993 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
40994 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
40995 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
40996 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
40997 L(1_3) into L(1_1).
40998 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
40999 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
41000 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
41001 macros.
41002 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
41003
41004 2013-02-19 Jakub Jelinek <jakub@redhat.com>
41005
41006 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
41007 macro.
41008
41009 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
41010
41011 * math/atest-exp.c (exp_mpn): Remove ROUND.
41012 * math/atest-exp2.c (exp_mpn): Likewise.
41013 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
41014
41015 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
41016 * stdlib/tst-tls-atexit-lib.c: Likewise.
41017 * stdlib/tst-tls-atexit.c: Likewise.
41018
41019 2013-02-18 Mike Frysinger <vapier@gentoo.org>
41020
41021 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
41022 and __attribute_alloc_size__.
41023
41024 2013-02-18 Mike Frysinger <vapier@gentoo.org>
41025
41026 * include/programs/xmalloc.h: Change __attribute_alloc_size to
41027 __attribute_alloc_size__.
41028 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
41029 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
41030
41031 2013-02-18 Mike Frysinger <vapier@gentoo.org>
41032
41033 * include/programs/xmalloc.h: New file.
41034 * catgets/gencat.c: Include it.
41035 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
41036 * elf/pldd.c: Likewise.
41037 * iconv/iconv_charmap.c: Likewise.
41038 * iconv/iconvconfig.c: Likewise.
41039 * iconv/strtab.c: Likewise.
41040 * locale/programs/locale.c: Likewise.
41041 * locale/programs/localedef.h: Likewise.
41042 * locale/programs/simple-hash.c: Likewise.
41043 * nscd/nscd.h: Likewise.
41044 * nss/makedb.c: Likewise.
41045 * sysdeps/generic/ldconfig.h: Likewise.
41046
41047 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
41048
41049 * Versions.def: Add GLIBC_2.18.
41050 * include/link.h (struct link_map): New member l_tls_dtor_count.
41051 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
41052 (__call_tls_dtors): Likewise.
41053 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
41054 __cxa_thread_atexit_impl.
41055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41056 Likewise.
41057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41058 Likewise.
41059 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
41060 Likewise.
41061 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
41062 Likewise.
41063 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
41064 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
41065 Likewise.
41066 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
41067 Likewise.
41068 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
41069 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
41070 Likewise.
41071 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
41072 (tests): Add test case tst-tls-atexit.
41073 (modules-names): Add shared library for tst-tls-atexit.
41074 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
41075 (GLIBC_PRIVATE): Add __call_tls_dtors.
41076 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
41077 for libstdc++.
41078 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
41079 * stdlib/tst-tls-atexit.c: New test case.
41080 * stdlib/tst-tls-atexit-lib.c: New test case.
41081
41082 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
41083
41084 * elf/Versions (ld): Add _dl_find_dso_for_object.
41085 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
41086 * elf/dl-open.c (_dl_find_dso_for_object): New function.
41087 (dl_open_worker): Use _dl_find_dso_for_object.
41088 * elf/dl-sym.c (do_sym): Likewise.
41089 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
41090
41091 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41092
41093 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
41094 Syntactic changes only.
41095 (_dl_runtime_profile): Do a tail-call to the resolved function.
41096
41097 2013-02-17 Joseph Myers <joseph@codesourcery.com>
41098
41099 [BZ #13550]
41100 * sysdeps/x86_64/bp-asm.h: Remove file.
41101 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
41102 <bp-sym.h> and <bp-asm.h>.
41103 (__clone): Do not use BP_SYM.
41104 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
41105 <bp-sym.h> and <bp-asm.h>.
41106 * sysdeps/unix/x86_64/sysdep.S: Likewise.
41107 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
41108 "bp-asm.h".
41109 (_setjmp): Do not use BP_SYM.
41110 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
41111 "bp-asm.h".
41112 (setjmp): Do not use BP_SYM.
41113 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
41114 libc_hidden_def.
41115 (mempcpy): Do not use BP_SYM in weak_alias.
41116 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
41117 "bp-asm.h".
41118 (strchr): Do not use BP_SYM.
41119 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
41120 "bp-asm.h".
41121 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
41122 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
41123 (_start): Do not use BP_SYM.
41124 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
41125 "bp-asm.h".
41126 (strcat): Do not use BP_SYM.
41127 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
41128 "bp-asm.h".
41129 (STRCMP): Do not use BP_SYM.
41130 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
41131 "bp-asm.h".
41132 (STRCPY): Do not use BP_SYM.
41133 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
41134 "bp-asm.h".
41135 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
41136 "bp-asm.h".
41137 (FUNCTION): Do not use BP_SYM.
41138 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
41139 weak_alias.
41140 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
41141
41142 2013-02-17 Andreas Jaeger <aj@suse.de>
41143
41144 * time/Versions: Sort entries.
41145 * string/Versions: Likewise.
41146 * resolv/Versions: Likewise.
41147 * posix/Versions: Likewise.
41148 * iconv/Versions: Likewise.
41149 * elf/Versions: Likewise.
41150 * wcsmbs/Versions: Likewise.
41151
41152 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
41153
41154 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
41155 loop termination condition.
41156
41157 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
41158 variable to calculate EZ.
41159 (__sqr): Likewise.
41160
41161 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
41162 the lower precision input.
41163
41164 2013-02-15 Joseph Myers <joseph@codesourcery.com>
41165
41166 [BZ #13550]
41167 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
41168 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
41169 (run-via-rtld-prefix): Do not handle %-bp tests.
41170 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
41171 (all-object-suffixes): Remove .ob.
41172 (bppfx): Remove variable.
41173 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
41174 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
41175 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
41176 [$(build-bounded) = yes] (libtype.ob): Likewise.
41177 * Makerules (elide-routines.ob): Remove variable.
41178 (do-tests-clean): Do not handle *-bp.out.
41179 (common-mostlyclean): Do not handle *-bp and *-bp.out.
41180 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
41181 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
41182 (tests): Do not include $(tests-bp.out).
41183 (xtests): Do not include $(xtests-bp.out).
41184 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
41185 [$(build-bounded) = yes] ($(addprefix
41186 $(objpfx),$(binaries-bounded))): Remove rule.
41187 ($(objpfx)%-bp.out): Remove rule.
41188 * config.make.in (build-bounded): Remove variable.
41189 * crypt/Makefile [$(build-bounded) = yes]
41190 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
41191 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
41192 append to variable.
41193 [$(build-bounded) = yes] (install-lib): Likewise.
41194 [$(build-bounded) = yes] (generated): Likewise.
41195 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
41196 Remove rule.
41197 * intl/Makefile [$(build-bounded) = yes]
41198 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
41199 * math/Makefile [$(build-bounded) = yes]
41200 ($(tests:%=$(objpfx)%-bp): Likewise.
41201 * misc/Makefile [$(build-bounded) = yes]
41202 ($(objpfx)tst-tsearch-bp): Likewise.
41203 * nptl/Makeconfig (bounded-thread-library): Remove variable.
41204 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
41205 Remove dependency.
41206 * string/Makefile (o-objects.ob): Remove variable.
41207 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
41208 (CFLAGS-.ob): Remove variable.
41209 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
41210 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
41211 both definitions of variable.
41212 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
41213 (ASFLAGS-.ob): Remove variable.
41214
41215 2013-02-14 Joseph Myers <joseph@codesourcery.com>
41216
41217 [BZ #13550]
41218 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
41219 Remove __BOUNDED_POINTERS__ from condition.
41220 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
41221 * string/bits/string2.h [!__NO_STRING_INLINES &&
41222 !__BOUNDED_POINTERS__]: Likewise.
41223 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
41224 Likewise.
41225 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
41226 Remove conditional code.
41227 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
41228 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
41229 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
41230 condition.
41231
41232 [BZ #13550]
41233 * csu/libc-start.c: Do not include <bp-sym.h>.
41234 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
41235 * elf/dl-open.c: Do not include <bp-sym.h>.
41236 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
41237 * math/fegetenv.c: Do not include <bp-sym.h>.
41238 (fegetenv): Do not use BP_SYM in versioned symbols.
41239 * nptl/sysdeps/pthread/bits/libc-lockP.h
41240 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
41241 <bp-sym.h>.
41242 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41243 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
41244 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41245 (__pthread_mutex_destroy): Likewise.
41246 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41247 (__pthread_mutex_lock): Likewise.
41248 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41249 (__pthread_mutex_trylock): Likewise.
41250 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41251 (__pthread_mutex_unlock): Likewise.
41252 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41253 (__pthread_mutexattr_init): Likewise.
41254 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41255 (__pthread_mutexattr_destroy): Likewise.
41256 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41257 (__pthread_mutexattr_settype): Likewise.
41258 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41259 (__pthread_rwlock_init): Likewise.
41260 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41261 (__pthread_rwlock_destroy): Likewise.
41262 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41263 (__pthread_rwlock_rdlock): Likewise.
41264 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41265 (__pthread_rwlock_tryrdlock): Likewise.
41266 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41267 (__pthread_rwlock_wrlock): Likewise.
41268 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41269 (__pthread_rwlock_trywrlock): Likewise.
41270 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41271 (__pthread_rwlock_unlock): Likewise.
41272 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41273 (__pthread_key_create): Likewise.
41274 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41275 (__pthread_setspecific): Likewise.
41276 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41277 (__pthread_getspecific): Likewise.
41278 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
41279 Likewise.
41280 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41281 (_pthread_cleanup_push_defer): Likewise.
41282 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41283 (_pthread_cleanup_pop_restore): Likewise.
41284 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41285 (pthread_setcancelstate): Likewise.
41286 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
41287 <bp-sym.h>.
41288 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
41289 (memchr): Do not use BP_SYM in weak_alias.
41290 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
41291 (fegetenv): Do not use BP_SYM in versioned symbols.
41292 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
41293 (fesetenv): Do not use BP_SYM in versioned symbols.
41294 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
41295 (feupdateenv): Do not use BP_SYM in versioned symbols.
41296 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
41297 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
41298 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
41299 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
41300 (open64): Do not use BP_SYM in weak_alias.
41301 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
41302 (fegetenv): Do not use BP_SYM in versioned symbols.
41303 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
41304 (fesetenv): Do not use BP_SYM in versioned symbols.
41305 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
41306 (feupdateenv): Do not use BP_SYM in versioned symbols.
41307 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
41308 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
41309 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
41310 (feraiseexcept): Do not use BP_SYM in versioned symbols.
41311 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
41312 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
41313 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
41314 <bp-sym.h>.
41315 (__libc_start_main): Do not use BP_SYM.
41316
41317 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
41318
41319 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
41320 redundant return line.
41321 (norm): Likewise.
41322 (denorm): Likewise.
41323 (dbl_mp): Likewise.
41324 (sub_magnitudes): Likewise.
41325 (__add): Likewise.
41326 (__sub): Likewise.
41327 (__mul): Likewise.
41328 (__inv): Likewise.
41329 (__dvd): Likewise.
41330 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
41331 (norm): Likewise.
41332 (denorm): Likewise.
41333 (dbl_mp): Likewise.
41334 (sub_magnitudes): Likewise.
41335 (__add): Likewise.
41336 (__sub): Likewise.
41337 (__mul): Likewise.
41338 (__inv): Likewise.
41339 (__dvd): Likewise.
41340
41341 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
41342 instead of __mul.
41343 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
41344 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
41345 (cc32): Likewise.
41346
41347 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
41348 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
41349 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
41350 of __mul for squares.
41351 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
41352 function
41353 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
41354 Likewise.
41355 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
41356 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
41357
41358 2013-02-13 Joseph Myers <joseph@codesourcery.com>
41359
41360 [BZ #13550]
41361 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
41362 code.
41363 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
41364 prototype or function definition. Rename ubp_* variables and
41365 parameters. Remove argv definitions conditional on
41366 [__BOUNDED_POINTERS__].
41367 * debug/backtrace.c (__backtrace): Do not use __unbounded.
41368 * elf/dl-runtime.c (_dl_fixup): Likewise.
41369 * include/set-hooks.h (RUN_HOOK): Likewise.
41370 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
41371 definition.
41372 * string/strcpy.c (strcpy): Do not use __unbounded.
41373 * sysdeps/generic/frame.h (struct layout): Likewise.
41374 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
41375 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
41376 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
41377 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
41378 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
41379 (__backtrace): Likewise.
41380 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
41381 use __ptrvalue.
41382 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
41383 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
41384 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
41385 Likewise.
41386 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
41387 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
41388 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
41389 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
41390 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
41391 Do not use __unbounded.
41392 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
41393 Rename __unboundedrlimits parameter to rlimits in prototype.
41394 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
41395 Do not use __unbounded.
41396 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
41397 not use __ptrvalue.
41398 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
41399 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
41400 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
41401 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
41402 __ptrvalue or __unbounded.
41403 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
41404 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
41405 use __unbounded.
41406 (__new_msgctl): Do not use __ptrvalue.
41407 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
41408 __unbounded.
41409 (__libc_msgrcv): Do not use __ptrvalue.
41410 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
41411 startup_info): Do not use __unbounded.
41412 (__libc_start_main): Likewise. Rename ubp_* variables and
41413 parameters. Remove argv definitions conditional on
41414 [__BOUNDED_POINTERS__].
41415 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
41416 __ptrvalue.
41417 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
41418 use __unbounded.
41419 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
41420 or __ptrvalue.
41421 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
41422 use __unbounded.
41423 (__new_shmctl): Do not use __ptrvalue.
41424 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
41425 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
41426 Likewise.
41427 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
41428 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
41429 (__libc_sigaction): Likewise.
41430 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
41431 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
41432 Likewise.
41433 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
41434
41435 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
41436
41437 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
41438
41439 * string/mempcpy.c: Implement by calling memcpy.
41440
41441 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
41442
41443 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
41444
41445 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
41446 evaluation.
41447
41448 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
41449 values in the mantissa.
41450
41451 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
41452 minimize writes to Z.
41453 (sub_magnitudes): Simplify code a bit.
41454
41455 2013-02-12 Roland McGrath <roland@hack.frob.com>
41456
41457 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
41458 from the message. The linker prefixes all warnings with that already.
41459
41460 2013-02-12 Andreas Schwab <schwab@suse.de>
41461
41462 [BZ #15078]
41463 * posix/regexec.c (extend_buffers): Add parameter min_len.
41464 (check_matching): Pass minimum needed length.
41465 (clean_state_log_if_needed): Likewise.
41466 (get_subexp): Likewise.
41467 * posix/Makefile (tests): Add bug-regex34.
41468 (bug-regex34-ENV): Define.
41469 * posix/bug-regex34.c: New file.
41470
41471 [BZ #11561]
41472 * posix/regcomp.c (parse_bracket_exp): When looking up collating
41473 elements compare against the byte sequence of it, not its name.
41474 * posix/Makefile (tests): Add bug-regex35.
41475 (bug-regex35-ENV): Define.
41476 * posix/bug-regex35.c: New file.
41477
41478 2013-02-11 Tom de Vries <tom@codesourcery.com>
41479
41480 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
41481 comment.
41482 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
41483 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
41484 (CHECK_EOL): Add undef.
41485
41486 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
41487
41488 * bits/stdlib-bsearch.h: New file.
41489 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
41490 * stdlib/stdlib.h: Likewise.
41491
41492 2013-02-11 Roland McGrath <roland@hack.frob.com>
41493
41494 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
41495 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
41496 declaration.
41497 * manual/search.texi (Array Search Function): Add missing const in
41498 lfind prototype.
41499 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
41500 declaration to use rlim_t.
41501 (Basic Scheduling Functions): Remove erroneous const from
41502 sched_getparam prototype. Remove erroneous * from
41503 sched_get_priority_max and sched_get_priority_min prototypes.
41504 (Resource Usage): Fix summary @comment on vtimes to refer to
41505 sys/vtimes.h rather than vtimes.h.
41506 Add missing *s in vtimes prototype.
41507 (Limits on Resources): Fix ulimit prototype to return long int.
41508 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
41509 prototypes to use long int rather than double.
41510 (BSD Random): Fix initstate and setstate to use char *, not void *.
41511 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
41512 prototype to make second argument 'struct aiocb64 *const[]'.
41513 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
41514 (Status of AIO Operations): Remove erroneous const in aio_return and
41515 aio_return64 prototypes.
41516 (Synchronizing I/O): Fix sync prototype to return void.
41517 * manual/startup.texi (Suboptions): Remove an erroneous const in
41518 getsubopt prototype.
41519 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
41520 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
41521 use size_t rather than int.
41522 (Scanning All Users): Likewise for getpwent_r.
41523 (Setting Groups): Add missing const to setgroups prototype.
41524 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
41525 * manual/socket.texi (Host Names): Fix gethostbyaddr and
41526 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
41527 'const void *' rather than 'const char *'.
41528 (Host Address Functions): Likewise for inet_ntop.
41529 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
41530 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
41531 ssize_t for return value.
41532 (Sending Data): Likewise for send, sendto, sendmsg.
41533 (Socket Option Functions): Add a missing const in setsockopt prototype.
41534 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
41535 use wchar_t for the argument.
41536 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
41537 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
41538 take no arguments.
41539 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
41540 double/float/long double for second argument.
41541 Fix return types of significand, significandf, significandl.
41542 * manual/filesys.texi (Setting Permissions): Use mode_t for second
41543 argument in fchmod prototype.
41544 (File Owner): Use uid_t and gid_t in fchown prototype.
41545 (File Times): Add const to utimes, futimes, and lutimes prototypes.
41546 (Making Special Files): Use mode_t and dev_t in mknod prototype.
41547 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
41548 use 'const struct dirent **' as argument types to CMP function pointer
41549 argument.
41550 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
41551 (File Times): Fix summary magic @comment for struct utimbuf and utime
41552 to refer to utime.h, not time.h.
41553 * manual/string.texi (Argz Functions): Add missing const in
41554 argz_extract and argz_next prototypes.
41555 (Finding Tokens in a String): Likewise for basename.
41556 (String/Array Comparison): Fix typo in wcscasecmp prototype.
41557 (Copying and Concatenation): Fix typo in wmemmove prototype.
41558 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
41559 (Signal Stack): Remove erroneous const in sigstack prototype.
41560 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
41561 prototype.
41562 (Simple Calendar Time): Likewise for stime.
41563 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
41564 prototype.
41565 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
41566 say sys/sysctl.h instead.
41567 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
41568 and vsyslog prototypes.
41569
41570 2013-02-11 Tom de Vries <tom@codesourcery.com>
41571
41572 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
41573 Remove.
41574
41575 2013-02-11 Roland McGrath <roland@hack.frob.com>
41576
41577 * misc/sys/mman.h: Fix typo in mremap comment.
41578
41579 2013-02-08 Roland McGrath <roland@hack.frob.com>
41580
41581 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
41582 the '\0' terminator.
41583
41584 2013-02-08 Joseph Myers <joseph@codesourcery.com>
41585
41586 [BZ #13550]
41587 * debug/segfault.c: Don't include <bp-checks.h>.
41588 * sysdeps/generic/bp-checks.h: Remove file.
41589 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
41590 (__GETDENTS): Don't use CHECK_N.
41591 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
41592 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
41593 (__getgroups): Don't use CHECK_N.
41594 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
41595 (setgroups): Don't use CHECK_N.
41596 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
41597 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
41598 (__libc_msgrcv): Don't use CHECK_N.
41599 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
41600 (__libc_msgsnd): Don't use CHECK_N.
41601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
41602 <bp-checks.h>.
41603 (__libc_pread): Don't use CHECK_N.
41604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
41605 include <bp-checks.h>.
41606 (__libc_pread64): Don't use CHECK_N.
41607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
41608 include <bp-checks.h>.
41609 (__libc_pwrite): Don't use CHECK_N.
41610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
41611 include <bp-checks.h>.
41612 (__libc_pwrite64): Don't use CHECK_N.
41613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
41614 <bp-checks.h>.
41615 (__libc_pread): Don't use CHECK_N.
41616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
41617 include <bp-checks.h>.
41618 (__libc_pread64): Don't use CHECK_N.
41619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
41620 include <bp-checks.h>.
41621 (__libc_pwrite): Don't use CHECK_N.
41622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
41623 include <bp-checks.h>.
41624 (__libc_pwrite64): Don't use CHECK_N.
41625 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
41626 (do_pread): Don't use CHECK_N.
41627 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
41628 (do_pread64): Don't use CHECK_N.
41629 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
41630 (do_pwrite): Don't use CHECK_N.
41631 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
41632 (do_pwrite64): Don't use CHECK_N.
41633 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
41634 (__libc_readv): Don't use CHECK_N.
41635 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
41636 (semop): Don't use CHECK_N.
41637 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
41638 <bp-checks.h>.
41639 (semtimedop): Don't use CHECK_N.
41640 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
41641 (__libc_pread): Don't use CHECK_N.
41642 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
41643 <bp-checks.h>.
41644 (__libc_pread64): Don't use CHECK_N.
41645 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
41646 <bp-checks.h>.
41647 (__libc_pwrite): Don't use CHECK_N.
41648 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
41649 <bp-checks.h>.
41650 (__libc_pwrite64): Don't use CHECK_N.
41651 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
41652 <bp-checks.h>.
41653 (__libc_msgrcv): Don't use CHECK_N.
41654 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
41655 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
41656 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
41657 (__libc_writev): Don't use CHECK_N.
41658
41659 2013-02-08 Roland McGrath <roland@hack.frob.com>
41660
41661 * string/strcpy.c: Removed unused variable.
41662
41663 * Makeconfig (+sysdep-includes): Define with := rather than =.
41664 Use an existing include/ subdir of each sysdeps dir before it.
41665
41666 2013-02-08 Carlos O'Donell <carlos@redhat.com>
41667
41668 * nscd/connection.c (register_traced_file): Comment function.
41669 [HAVE_INOTIFY] (union __inev): Define.
41670 [HAVE_INOTIFY] (inotify_check_files): New function.
41671 [HAVE_INOTIFY] (clear_db_cache): Likewise.
41672 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
41673 clear_db_cache.
41674 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
41675
41676 2013-02-08 Carlos O'Donell <carlos@redhat.com>
41677
41678 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
41679 loaded if not already and that a failure is permanent.
41680
41681 2013-02-08 Carlos O'Donell <carlos@redhat.com>
41682
41683 [BZ #15006]
41684 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
41685 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
41686
41687 2013-02-08 Joseph Myers <joseph@codesourcery.com>
41688
41689 [BZ #13550]
41690 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
41691 (CHECK_1_NULL_OK): Likewise.
41692 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
41693 (__fxstat): Do not use CHECK_1.
41694 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
41695 <bp-checks.h>.
41696 (___fxstat64): Do not use CHECK_1.
41697 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
41698 <bp-checks.h>.
41699 (__fxstatat): Do not use CHECK_1.
41700 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
41701 <bp-checks.h>.
41702 (__fxstatat64): Do not use CHECK_1.
41703 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
41704 <bp-checks.h>.
41705 (__fxstat): Do not use CHECK_1.
41706 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
41707 <bp-checks.h>.
41708 (__fxstatat): Do not use CHECK_1.
41709 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
41710 <bp-checks.h>.
41711 (__getresgid): Do not use CHECK_1.
41712 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
41713 <bp-checks.h>.
41714 (__getresuid): Do not use CHECK_1.
41715 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
41716 <bp-checks.h>.
41717 (__lxstat): Do not use CHECK_1.
41718 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
41719 <bp-checks.h>.
41720 (__old_msgctl): Do not use CHECK_1.
41721 (__new_msgctl): Likewise.
41722 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
41723 <bp-checks.h>.
41724 (__new_setrlimit): Do not use CHECK_1.
41725 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
41726 <bp-checks.h>.
41727 (__old_shmctl): Do not use CHECK_1.
41728 (__new_shmctl): Likewise.
41729 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
41730 <bp-checks.h>.
41731 (__xstat): Do not use CHECK_1.
41732 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
41733 (__lxstat): Do not use CHECK_1.
41734 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
41735 <bp-checks.h>.
41736 (___lxstat64): Do not use CHECK_1.
41737 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
41738 (__old_msgctl): Do not use CHECK_1.
41739 (__new_msgctl): Likewise.
41740 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
41741 <bp-checks.h>.
41742 (__gettimeofday): Do not use CHECK_1.
41743 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
41744 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
41745 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
41746 <bp-checks.h>.
41747 (__gettimeofday): Do not use CHECK_1.
41748 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
41749 (__old_shmctl): Do not use CHECK_1_NULL_OK.
41750 (__new_shmctl): Do not use CHECK_1.
41751 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
41752 <bp-checks.h>.
41753 (do_sigtimedwait): Do not use CHECK_1.
41754 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
41755 <bp-checks.h>.
41756 (do_sigwaitinfo): Do not use CHECK_1.
41757 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
41758 <bp-checks.h>.
41759 (msgctl): Do not use CHECK_1.
41760 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
41761 <bp-checks.h>.
41762 (shmctl): Do not use CHECK_1.
41763 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
41764 (ustat): Do not use CHECK_1.
41765 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
41766 <bp-checks.h>.
41767 (__fxstat): Do not use CHECK_1.
41768 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
41769 <bp-checks.h>.
41770 (__fxstatat): Do not use CHECK_1.
41771 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
41772 <bp-checks.h>.
41773 (__lxstat): Do not use CHECK_1.
41774 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
41775 <bp-checks.h>.
41776 (__xstat): Do not use CHECK_1.
41777 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
41778 (__xstat): Do not use CHECK_1.
41779 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
41780 (___xstat64): Do not use CHECK_1.
41781
41782 [BZ #13550]
41783 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
41784 definitions.
41785 (CHECK_BOUNDS_HIGH): Likewise.
41786 * string/strcpy.c: Do not include <bp-checks.h>.
41787 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
41788
41789 2013-02-07 Roland McGrath <roland@hack.frob.com>
41790
41791 * nscd/nscd-client.h (__nscd_drop_map_ref):
41792 Add __attribute__ ((unused)).
41793 * nis/nss-nisplus.h (niserr2nss): Likewise.
41794
41795 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
41796 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
41797
41798 * csu/libc-tls.c (init_static_tls, init_slotinfo):
41799 Remove inline keyword.
41800 * include/rounding-mode.h (round_away): Likewise.
41801 * libio/wfileops.c (adjust_wide_data): Likewise.
41802 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
41803 (__m128i_strloadu_tolower): Likewise.
41804 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
41805 (__m128i_strloadu_tolower): Likewise.
41806 * time/mktime.c (ydhms_diff): Likewise.
41807 * locale/elem-hash.h (elem_hash): Likewise.
41808 * locale/setlocale.c (setdata): Likewise.
41809 * posix/regex_internal.h (re_string_char_size_at): Likewise.
41810 (re_string_wchar_at): Likewise.
41811 (bitset_not, bitset_merge, bitset_mask): Likewise.
41812 [!(__GNUC__ > 3)] (inline): Remove macro.
41813 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
41814 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
41815 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
41816 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
41817 * string/memcmp.c (memcmp_bytes): Likewise.
41818 * locale/programs/locarchive.c (compute_hashval): Likewise.
41819 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
41820 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
41821 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
41822 * nss/getent.c (print_rpc, print_protocols): Likewise.
41823 (print_passwd, print_group, print_aliases): Likewise.
41824 * nis/nss-nisplus.h (niserr2nss): Likewise.
41825 * nscd/connections.c (restart_p): Likewise.
41826 Change return type to bool.
41827
41828 2013-02-05 Roland McGrath <roland@hack.frob.com>
41829
41830 * Makeconfig (all-Depend-files): Add existing
41831 $(sorted-subdirs:=/Depend) files.
41832 (all-subdirs): Remove nss.
41833 * sysdeps/unix/inet/Subdirs: Add it here instead.
41834 * hesiod/Depend: New file.
41835
41836 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
41837 instead of calling alloca.
41838
41839 * io/lseek.c (__lseek): Rename to __libc_lseek.
41840 Define __lseek as an alias.
41841
41842 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
41843
41844 2013-02-04 Carlos O'Donell <carlos@redhat.com>
41845
41846 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
41847 else clause and remove check for non-standard endianness.
41848
41849 2013-02-04 David S. Miller <davem@davemloft.net>
41850
41851 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41852
41853 2013-02-04 Joseph Myers <joseph@codesourcery.com>
41854
41855 [BZ #13550]
41856 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
41857 (__ubp_memchr): Remove prototype.
41858 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
41859 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
41860 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
41861 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
41862 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
41863 Remove alias.
41864 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
41865 (__ubp_memchr): Likewise.
41866 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
41867 (__ubp_memchr): Likewise.
41868 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
41869 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
41870 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
41871 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
41872 CHECK_STRING.
41873 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
41874 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
41875 (__getcwd): Do not use CHECK_STRING.
41876 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
41877 <bp-checks.h>.
41878 (__real_chown): Do not use CHECK_STRING.
41879 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
41880 <bp-checks.h>.
41881 (fchownat): Do not use CHECK_STRING.
41882 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
41883 CHECK_STRING.
41884 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
41885 <bp-checks.h>.
41886 (__lchown): Do not use CHECK_STRING.
41887 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
41888 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
41889 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
41890 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
41891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
41892 include <bp-checks.h>.
41893 (truncate64): Do not use CHECK_STRING.
41894 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
41895 <bp-checks.h>.
41896 (__real_chown): Do not use CHECK_STRING.
41897 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
41898 <bp-checks.h>.
41899 (__lchown): Do not use CHECK_STRING.
41900 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
41901 <bp-checks.h>.
41902 (__chown): Do not use CHECK_STRING.
41903 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
41904 <bp-checks.h>.
41905 (truncate64): Do not use CHECK_STRING.
41906 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
41907 Likewise.
41908 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
41909 (__xmknod): Do not use CHECK_STRING.
41910 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
41911 <bp-checks.h>.
41912 (__xmknodat): Do not use CHECK_STRING.
41913 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
41914 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
41915
41916 2013-02-04 Andreas Schwab <schwab@suse.de>
41917
41918 [BZ #14142]
41919 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
41920 * include/netdb.h: Likewise for h_errno.
41921 * elf/tst-stackguard1.c: Include <tls.h>.
41922
41923 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
41924
41925 * elf/link.h (struct link_map): Extend the l_addr comment.
41926 * include/link.h (struct link_map): Likewise.
41927
41928 2013-02-01 Joseph Myers <joseph@codesourcery.com>
41929
41930 [BZ #13550]
41931 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
41932 (BOUNDED_1): Remove macro.
41933 * debug/backtrace.c: Don't include <bp-checks.h>.
41934 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
41935 (__backtrace): Likewise.
41936 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
41937 <bp-checks.h>.
41938 (__backtrace): Don't use BOUNDED_1.
41939 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
41940 <bp-checks.h>.
41941 (__backtrace): Don't use BOUNDED_1.
41942 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
41943 (__backtrace): Don't use BOUNDED_1.
41944 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
41945 (shmat): Don't use BOUNDED_N.
41946
41947 2013-01-31 Joseph Myers <joseph@codesourcery.com>
41948
41949 [BZ #13550]
41950 * sysdeps/generic/bp-start.h: Remove file.
41951 * csu/libc-start.c: Don't include <bp-start.h>.
41952 (LIBC_START_MAIN): Set up __environ directly instead of using
41953 INIT_ARGV_and_ENVIRON.
41954 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
41955 <bp-start.h>.
41956
41957 [BZ #13550]
41958 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
41959 definitions.
41960 (CHECK_FCNTL): Likewise.
41961 (CHECK_N_PAGES): Likewise.
41962
41963 [BZ #13550]
41964 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
41965 definitions.
41966 (CHECK_SIGSET_NULL_OK): Likewise.
41967 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
41968 <bp-checks.h>.
41969 (sigpending): Don't use CHECK_SIGSET.
41970 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
41971 <bp-checks.h>.
41972 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
41973 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
41974 <bp-checks.h>.
41975 (do_sigsuspend): Don't use CHECK_SIGSET.
41976 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
41977 use CHECK_SIGSET.
41978 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
41979 (do_sigwait): Don't use CHECK_SIGSET.
41980 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
41981 use CHECK_SIGSET.
41982 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
41983 include <bp-checks.h>.
41984 (sigpending): Don't use CHECK_SIGSET.
41985 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
41986 include <bp-checks.h>.
41987 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
41988 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
41989 <bp-checks.h>.
41990 (sigpending): Don't use CHECK_SIGSET.
41991 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
41992 <bp-checks.h>.
41993 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
41994
41995 [BZ #13550]
41996 * sysdeps/generic/bp-semctl.h: Remove file.
41997 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
41998 <bp-checks.h> and <bp-semctl.h>.
41999 (__old_semctl): Don't use CHECK_SEMCTL.
42000 (__new_semctl): Likewise.
42001 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
42002 and <bp-semctl.h>.
42003 (__old_semctl): Don't use CHECK_SEMCTL.
42004 (__new_semctl): Likewise.
42005 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
42006 <bp-checks.h> and <bp-semctl.h>.
42007 (__old_semctl): Don't use CHECK_SEMCTL.
42008 (__new_semctl): Likewise.
42009 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
42010 <bp-checks.h> and <bp-semctl.h>.
42011 (semctl): Don't use CHECK_SEMCTL.
42012
42013 [BZ #13550]
42014 * Makerules (elide-bp-thunks): Remove variable.
42015 (elide-routines.oS): Don't use $(elide-bp-thunks).
42016 (elide-routines.os): Likewise.
42017 (elide-routines.o): Likewise.
42018 (elide-routines.op): Likewise.
42019 (elide-routines.og): Likewise.
42020 (objects): Don't use $(bp-thunks).
42021 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
42022 include.
42023 (common-generated): Do not add s-proto-bp.d.
42024 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
42025 (int): Likewise.
42026 (typ): Likewise.
42027 Do not generate makefile rules for bounded-pointer thunks.
42028 * sysdeps/generic/bp-thunks.h: Remove file.
42029 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
42030 * sysdeps/unix/s-proto-bp.S: Likewise.
42031
42032 [BZ #15062]
42033 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
42034 parts of result separately when argument is not close to line from
42035 -i to i and one part of argument is small.
42036 * math/k_casinhf.c (__kernel_casinhf): Likewise.
42037 * math/k_casinhl.c (__kernel_casinhl): Likewise.
42038 * math/libm-test.inc (cacos_test): Add more tests.
42039 (casin_test): Likewise.
42040 (casinh_test): Likewise.
42041 * sysdeps/i386/fpu/libm-test-ulps: Update.
42042 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42043
42044 2013-01-31 David S. Miller <davem@davemloft.net>
42045
42046 * po/de.po: Update from translation team.
42047
42048 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
42049
42050 * time/tzfile.c: Include stdint.h for SIZE_MAX.
42051
42052 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
42053
42054 * configure.in (_AC_PROG_CC_C89): New definition.
42055 * configure: Regenerate.
42056
42057 * configure.in (AC_PROG_CPP): New definition.
42058 * configure: Regenerate.
42059
42060 2013-01-23 Joseph Myers <joseph@codesourcery.com>
42061
42062 * debug/tst-backtrace.h: New file.
42063 * debug/tst-backtrace2.c: Include tst-backtrace.h.
42064 (ret): Remove variable.
42065 (x): Likewise.
42066 (FAIL): Remove macro.
42067 (NO_INLINE): Likewise.
42068 (fn1): Use match function instead of strstr.
42069 * debug/tst-backtrace3.c: Include tst-backtrace.h.
42070 (ret): Remove variable.
42071 (x): Likewise.
42072 (FAIL): Remove macro.
42073 (NO_INLINE): Likewise.
42074 (fn): Use match function instead of strstr.
42075 * debug/tst-backtrace4.c: Include tst-backtrace.h.
42076 (ret): Remove variable.
42077 (x): Likewise.
42078 (FAIL): Remove macro.
42079 (NO_INLINE): Likewise.
42080 (handle_signal): Use match function instead of strstr.
42081 * debug/tst-backtrace5.c: Include tst-backtrace.h.
42082 (ret): Remove variable.
42083 (x): Likewise.
42084 (FAIL): Remove macro.
42085 (NO_INLINE): Likewise.
42086 (handle_signal): Use match function instead of strstr.
42087
42088 2013-01-23 Roland McGrath <roland@hack.frob.com>
42089
42090 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
42091
42092 2013-01-23 David S. Miller <davem@davemloft.net>
42093
42094 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
42095 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
42096 argument of CAS if possible.
42097 * sysdeps/sparc/sparc64/bits/atomic.h
42098 (__arch_compare_and_exchange_val_32_acq): Likewise.
42099 (__arch_compare_and_exchange_val_64_acq): Likewise.
42100
42101 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
42102
42103 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
42104 * sysdeps/posix/ulimit.c: ... this.
42105 Include <limits.h>.
42106 * sysdeps/unix/bsd/ulimit.c: Remove file.
42107
42108 2013-01-23 Adam Conrad <adconrad@0c3.net>
42109
42110 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
42111 (LDFLAGS-tst-array5): Likewise.
42112
42113 2013-01-23 Joseph Myers <joseph@codesourcery.com>
42114
42115 [BZ #15036]
42116 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
42117 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
42118 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
42119 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
42120
42121 2013-01-21 David S. Miller <davem@davemloft.net>
42122
42123 * sysdeps/sparc/backtrace.c: New file.
42124 * sysdeps/sparc/sparc32/backtrace.h: New file.
42125 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
42126 * sysdeps/sparc/sparc64/backtrace.h: New file.
42127 * sysdeps/sparc/sparc64/backtrace.c: Delete.
42128 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
42129 -funwind-tables.
42130
42131 2013-01-21 Andreas Schwab <schwab@suse.de>
42132
42133 [BZ #15020]
42134 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
42135 closed its stdout.
42136
42137 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
42138
42139 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
42140 "mpa2.h".
42141 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
42142
42143 2013-01-18 Joseph Myers <joseph@codesourcery.com>
42144 Mark Mitchell <mark@codesourcery.com>
42145 Tom de Vries <tom@codesourcery.com>
42146 Paul Pluzhnikov <ppluzhnikov@google.com>
42147
42148 * debug/tst-backtrace2.c: New file.
42149 * debug/tst-backtrace3.c: Likewise.
42150 * debug/tst-backtrace4.c: Likewise.
42151 * debug/tst-backtrace5.c: Likewise.
42152 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
42153 (CFLAGS-tst-backtrace3.c): Likewise.
42154 (CFLAGS-tst-backtrace4.c): Likewise.
42155 (CFLAGS-tst-backtrace5.c): Likewise.
42156 (LDFLAGS-tst-backtrace2): Likewise.
42157 (LDFLAGS-tst-backtrace3): Likewise.
42158 (LDFLAGS-tst-backtrace4): Likewise.
42159 (LDFLAGS-tst-backtrace5): Likewise.
42160 (tests): Add new tests tst-backtrace2, tst-backtrace3,
42161 tst-backtrace4 and tst-backtrace5.
42162
42163 2013-01-18 Anton Blanchard <anton@samba.org>
42164 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
42165
42166 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
42167 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
42168 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
42169 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
42170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
42171 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
42172 "+r" and remove output regs list as redundant. Add explicit inline
42173 asm to specify register of return val to work around compiler codegen
42174 bug. Remove (int) cast on return value. Add return type parameter to
42175 use in macro so that this macro does not truncate return value for
42176 64-bit values.
42177 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
42178 pass to INTERNAL_VSYSCALL_NCS.
42179 (INLINE_VSYSCALL): Add 'long int' as return type to
42180 INTERNAL_VSYSCALL_NCS macro invocation.
42181 (INTERNAL_VSYSCALL): Add 'long int' as return type to
42182 INTERNAL_VSYSCALL_NCS macro invocation.
42183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
42184
42185 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
42186
42187 [BZ #14496]
42188 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
42189 Fix application of SIMD FP exception mask.
42190
42191 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
42192 mp_no from a power of two.
42193 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
42194 __mpexp_twomm1. Use __pow_mp.
42195
42196 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
42197 multiplication.
42198
42199 2013-01-17 David S. Miller <davem@davemloft.net>
42200
42201 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42202
42203 2013-01-17 Joseph Myers <joseph@codesourcery.com>
42204
42205 [BZ #15023]
42206 * include/complex.h: Condition contents on [!_COMPLEX_H].
42207 (__kernel_casinhf): New prototype.
42208 (__kernel_casinh): Likewise.
42209 (__kernel_casinhl): Likewise.
42210 * math/Makefile (libm_calls): Add k_casinh.
42211 * math/k_casinh.c: New file.
42212 * math/k_casinhf.c: Likewise.
42213 * math/k_casinhl.c: Likewise.
42214 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
42215 finite nonzero arguments.
42216 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
42217 finite nonzero arguments.
42218 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
42219 finite nonzero arguments.
42220 * math/s_casinh.c: Do not include <float.h>.
42221 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
42222 * math/s_casinhf.c: Do not include <float.h>.
42223 (__casinhf): Move code for finite nonzero arguments to
42224 k_casinhf.c.
42225 * math/s_casinhl.c: Do not include <float.h>.
42226 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
42227 redefine.
42228 (__casinhl): Move code for finite nonzero arguments to
42229 k_casinhl.c.
42230 * math/libm-test.inc (cacos_test): Add more tests.
42231 * sysdeps/i386/fpu/libm-test-ulps: Update.
42232 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42233
42234 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
42235
42236 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
42237 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
42238 [!HAVE_MREMAP]: Remove [defined linux] case.
42239 * malloc/arena.c: Do not include <malloc-sysdep.h>.
42240
42241 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
42242
42243 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
42244
42245 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
42246
42247 * elf/elf.h (R_386_SIZE32): New relocation.
42248 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
42249 R_386_SIZE32.
42250 (elf_machine_rela): Likewise.
42251 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
42252 R_X86_64_SIZE64 and R_X86_64_SIZE32.
42253
42254 2013-01-17 Joseph Myers <joseph@codesourcery.com>
42255
42256 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
42257 (FP_FAST_FMA): Do not define.
42258 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
42259 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
42260 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
42261 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
42262 !_SOFT_FLOAT]: Likewise.
42263 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
42264 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
42265 value.
42266 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
42267 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
42268 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
42269 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
42270 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
42271 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
42272 file.
42273
42274 2013-01-16 Andreas Schwab <schwab@suse.de>
42275
42276 [BZ #14327]
42277 * include/stdlib.h (__mktemp): Add declaration.
42278 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
42279 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
42280
42281 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
42282
42283 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
42284 definitions.
42285 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
42286 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
42287 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
42288 definitions here.
42289 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
42290 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
42291 definitions.
42292 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
42293 and ONE.
42294 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
42295 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
42296 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
42297 definitions.
42298 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
42299 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
42300 definitions.
42301 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
42302
42303 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
42304
42305 2013-01-15 David S. Miller <davem@davemloft.net>
42306
42307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
42308 trunc{,f} to libm-sysdep_routes.
42309 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
42310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
42311 file.
42312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
42313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
42314 file.
42315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
42316 file.
42317 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
42318 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
42319 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
42320 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
42321 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
42322 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
42323 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
42324 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
42325
42326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
42327 nearbyint{,f} to libm-sysdep_routes.
42328 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
42329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
42330 New file.
42331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
42332 file.
42333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
42334 New file.
42335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
42336 file.
42337 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
42338 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
42339 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
42340 file.
42341 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
42342 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
42343 file.
42344 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
42345 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
42346 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
42347
42348 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
42349 libc_feholdexcept and libc_fesetenv.
42350
42351 2013-01-15 Mike Frysinger <vapier@gentoo.org>
42352
42353 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
42354
42355 2013-01-14 David S. Miller <davem@davemloft.net>
42356
42357 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
42358 (SPARC_ASM_VIS2_IFUNC): Likewise.
42359 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
42360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
42361 use of 'siam' instruction.
42362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
42363 Likewise.
42364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
42365 Likewise.
42366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
42367 Likewise.
42368 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
42369 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
42370 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
42371 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
42372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
42373 file.
42374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
42375 file.
42376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
42377 file.
42378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
42379 file.
42380 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
42381 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
42382 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
42383 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
42384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
42385 new VIS2 routines.
42386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
42387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
42388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
42389 Likewise.
42390 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
42391 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
42392 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
42393 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
42394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
42395 routines to libm-sysdep_routines.
42396 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
42397
42398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
42399 fdim/fdimf to libm-sysdep_routines.
42400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
42401 file.
42402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
42403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
42404 file.
42405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
42406 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
42407 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
42408 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
42409 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
42410 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
42411 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
42412
42413 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
42414
42415 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
42416 to optimize copies.
42417
42418 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
42419 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
42420 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
42421
42422 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
42423 local variable MPTWO.
42424 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
42425 Likewise.
42426
42427 2013-01-13 Mike Frysinger <vapier@gentoo.org>
42428
42429 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
42430 GLOB_NOESCAPE.
42431
42432 2013-01-13 Mike Frysinger <vapier@gentoo.org>
42433
42434 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
42435
42436 2013-01-13 Mike Frysinger <vapier@gentoo.org>
42437
42438 * manual/pattern.texi (glob_t): Document gl_flags.
42439 (glob64_t): Likewise.
42440
42441 2013-01-11 David S. Miller <davem@davemloft.net>
42442
42443 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
42444 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
42445 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
42446 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
42447 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
42448 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
42449 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
42450 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
42451 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
42452 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
42453 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
42454 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
42455 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
42456
42457 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
42458 sparc V9 rather than using V8 code.
42459 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
42460 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
42461
42462 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
42463 Move to...
42464 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
42465 Here.
42466
42467 2013-01-11 Roland McGrath <roland@hack.frob.com>
42468
42469 [BZ #14941]
42470 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
42471 not in the main loop.
42472 * configure: Regenerated.
42473
42474 2013-01-11 Joseph Myers <joseph@codesourcery.com>
42475
42476 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
42477 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
42478 to just #else.
42479 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
42480 [!__GLIBC_HAVE_LONG_LONG] case.
42481 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
42482 condition to just #else.
42483 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
42484 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
42485 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
42486 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
42487 unconditional.
42488 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
42489 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
42490 #elif condition to just #else.
42491 * sysdeps/unix/sysv/linux/sys/sysmacros.h
42492 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
42493 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
42494 #elif condition to just #else.
42495
42496 2013-01-11 Steve Ellcey <sellcey@mips.com>
42497
42498 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
42499 (EF_MIPS_ARCH_64): Fix value.
42500 (EF_MIPS_ARCH_32R2): New.
42501 (EF_MIPS_ARCH_64R2): New.
42502
42503 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
42504
42505 * Makeconfig (+link-pie-before-libc): New.
42506 (+link-pie-after-libc): Likewise.
42507 (+link-pie-tests): Likewise.
42508 (+link-pie): Rewritten.
42509 (link-before-libc): Remove $(config-LDFLAGS).
42510 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
42511 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
42512 (config-LDFLAGS): Renamed to ...
42513 (rtld-LDFLAGS): This.
42514 (rtld-tests-LDFLAGS): New macro.
42515 (link-libc-rpath-link): Likewise.
42516 (link-libc-tests-rpath-link): Likewise.
42517 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
42518 (link-libc): Prepand $(link-libc-rpath-link).
42519 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
42520 (test-program-prefix): New macro.
42521 (test-via-rtld-prefix): Likewise.
42522 (test-program-cmd): Likewise.
42523 (host-test-program-cmd): Likewise.
42524 * Makefile ($(common-objpfx)testrun.sh): Replace
42525 $(run-program-prefix) with $(test-program-prefix).
42526 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
42527 $(rtld-LDFLAGS).
42528 ($(common-objpfx)shlib.lds): Likewise.
42529 (build-module-helper): Likewise.
42530 ($(common-objpfx)format.lds): Likewise.
42531 * Rules (binaries-pie-tests): New.
42532 (binaries-pie-notests): Likewise.
42533 (binaries-pie): Rewritten.
42534 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
42535 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
42536 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
42537 (make-test-out): Replace $(host-built-program-cmd) with
42538 $(host-test-program-cmd).
42539 * config.make.in (build-hardcoded-path-in-tests): New variable.
42540 * configure.in (--enable-hardcoded-path-in-tests): New configure
42541 option.
42542 (hardcoded_path_in_tests): New AC_SUBST.
42543 * configure: Regenerated.
42544 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
42545 $(built-program-cmd) with $(test-program-cmd).
42546 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
42547 (test_program_cmd): This.
42548 * elf/Makefile ($(objpfx)order.out): Run test with
42549 $(test-program-prefix).
42550 ($(objpfx)order2.out): Likewise.
42551 ($(objpfx)tst-initorder.out): Likewise.
42552 ($(objpfx)tst-initorder2.out): Likewise.
42553 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
42554 $(test-program-cmd).
42555 ($(objpfx)tst-array1-static.out): Likewise.
42556 ($(objpfx)tst-array2.out): Likewise.
42557 ($(objpfx)tst-array3.out): Likewise.
42558 ($(objpfx)tst-array4.out): Likewise.
42559 ($(objpfx)tst-array5.out): Likewise.
42560 ($(objpfx)tst-array5-static.out): Likewise.
42561 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
42562 $(test-program-cmd).
42563 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
42564 $(run-program-prefix) with $(test-program-prefix).
42565 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
42566 (test_program_prefix): This.
42567 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
42568 $(run-program-prefix) with $(test-program-prefix).
42569 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
42570 (test_program_prefix): This.
42571 * iconvdata/tst-tables.sh: Likewise.
42572 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
42573 $(run-program-prefix) with $(test-program-prefix).
42574 ($(objpfx)tst-translit.out): Likewise.
42575 ($(objpfx)tst-gettext2.out): Likewise.
42576 ($(objpfx)tst-gettext4.out): Likewise.
42577 ($(objpfx)tst-gettext6.out): Likewise.
42578 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
42579 (test_program_prefix): This.
42580 * intl/tst-gettext2.sh: Likewise.
42581 * intl/tst-gettext4.sh Likewise.
42582 * intl/tst-gettext6.sh: Likewise.
42583 * intl/tst-translit.sh: Likewise.
42584 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
42585 with $(test-program-cmd).
42586 * libio/Makefile ($(objpfx)test-freopen.out): Replace
42587 $(run-program-prefix) with $(test-program-prefix).
42588 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
42589 (test_program_prefix): This.
42590 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
42591 $(run-program-prefix) with $(test-program-prefix).
42592 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
42593 (test_program_prefix): This.
42594 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
42595 * posix/Makefile ($(objpfx)globtest.out): Replace
42596 $(run-via-rtld-prefix) and $(test-wrapper) with
42597 $(test-program-prefix) and $(test-via-rtld-prefix).
42598 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
42599 $(test-program-prefix).
42600 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
42601 $(host-test-program-cmd).
42602 (tst-spawn-ARGS): Likewise.
42603 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
42604 $(test-program-prefix).
42605 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
42606 (test_via_rtld_prefix): This.
42607 (test_wrapper): Renamed to ...
42608 (test_program_prefix): This.
42609 (run_program_prefix): Replaced by test_program_prefix.
42610 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
42611 (test_program_prefix): This.
42612 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
42613 with $(host-test-program-cmd).
42614 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
42615 $(run-program-prefix) with $(test-program-prefix).
42616 ($(objpfx)tst-printf.out): Likewise.
42617 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
42618 $(test-program-cmd).
42619 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
42620 (test_program_prefix): This.
42621 * stdio-common/tst-unbputc.sh: Likewise.
42622 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
42623 $(run-program-prefix) with $(test-program-prefix).
42624 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
42625 (test_program_prefix): This.
42626 * string/Makefile ($(objpfx)tst-svc.out): Replace
42627 $(built-program-cmd) with $(test-program-cmd).
42628
42629 2013-01-11 Andreas Jaeger <aj@suse.de>
42630
42631 [BZ #15003]
42632 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
42633 value. Sync with Linux 3.7.
42634
42635 2013-01-10 David S. Miller <davem@davemloft.net>
42636
42637 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
42638 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
42639 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
42640
42641 2013-01-10 Roland McGrath <roland@hack.frob.com>
42642
42643 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
42644 never set.
42645 * configure: Regenerated.
42646
42647 2013-01-10 David S. Miller <davem@davemloft.net>
42648
42649 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
42650 sparc V9 rather than using V8 code.
42651 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
42652 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
42653
42654 2013-01-10 Roland McGrath <roland@hack.frob.com>
42655
42656 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
42657 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
42658 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
42659 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
42660 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
42661 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
42662 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
42663 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
42664 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
42665 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
42666 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
42667 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
42668 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
42669 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
42670 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
42671 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
42672 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
42673 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
42674 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
42675 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
42676 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
42677 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
42678 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
42679 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
42680 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
42681 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
42682 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
42683
42684 2013-01-10 David S. Miller <davem@davemloft.net>
42685
42686 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42687
42688 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
42689
42690 * posix/Makefile (tests-static): New variable.
42691 (tests): Add $(tests-static).
42692 (tst-exec-static-ARGS): New variable.
42693 (tst-spawn-static-ARGS): Likewise.
42694 * posix/tst-exec-static.c: New file.
42695 * posix/tst-spawn-static.c: Likewise.
42696 * posix/tst-exec.c: Support run directly.
42697 * posix/tst-spawn.c: Likewise.
42698
42699 2013-01-10 Joseph Myers <joseph@codesourcery.com>
42700
42701 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
42702 long.
42703 * math/bits/mathcalls.h (llrint): Likewise.
42704 (llround): Likewise.
42705 * stdlib/stdlib.h (struct drand48_data): Likewise.
42706 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
42707 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
42708 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
42709 Likewise.
42710 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
42711 Likewise.
42712 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
42713 (elf_greg_t): Likewise.
42714 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
42715 (__jmp_buf): Likewise.
42716 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
42717 definitions.
42718 (llrint): Likewise, for all definitions.
42719 (llrintl): Likewise.
42720
42721 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
42722 Remove [__GNUC__] condition.
42723 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
42724 condition to just [__USE_ISOC99].
42725 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
42726
42727 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
42728
42729 [BZ #14200]
42730 * sysdeps/unix/sysv/linux/x86/bits/environments.h
42731 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
42732 defined.
42733 (_POSIX_V6_ILP32_OFF32): Likewise.
42734 (_XBS5_ILP32_OFF32): Likewise.
42735 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
42736 (__ILP32_OFFBIG_LDFLAGS): Likewise.
42737
42738 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
42739
42740 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
42741
42742 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
42743 doubles __mpexp_twomm1. Adjust usage.
42744 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
42745 Remove.
42746
42747 2013-01-10 Andreas Schwab <schwab@suse.de>
42748
42749 [BZ #14964]
42750 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
42751 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
42752
42753 2013-01-09 David S. Miller <davem@davemloft.net>
42754
42755 [BZ #15003]
42756 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
42757 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
42758 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
42759 (TCP_FASTOPEN): Define.
42760 (tcp_repair_opt): New structure.
42761 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
42762 enum values.
42763 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
42764 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
42765 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
42766 (tcp_cookie_transactions): New structure.
42767
42768 2013-01-09 Anton Blanchard <anton@samba.org>
42769
42770 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
42771 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
42772 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
42773 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
42774
42775 2013-01-09 Joseph Myers <joseph@codesourcery.com>
42776
42777 * include/features.h (__USE_ANSI): Remove.
42778
42779 2013-01-09 Roland McGrath <roland@hack.frob.com>
42780
42781 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
42782
42783 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
42784
42785 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
42786
42787 * sysdeps/s390/fpu/libm-test-ulps: Update.
42788
42789 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42790
42791 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
42792 (__acr): Likewise.
42793 (__cpy): Likewise.
42794 (norm): Likewise.
42795 (denorm): Likewise.
42796 (__mp_dbl): Likewise.
42797 (__dbl_mp): Likewise.
42798 (add_magnitudes): Likewise.
42799 (sub_magnitudes): Likewise.
42800 (__add): Likewise.
42801 (__sub): Likewise.
42802 (__mul): Likewise.
42803 (__inv): Likewise.
42804 (__dvd): Likewise.
42805 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
42806 (__acr): Likewise.
42807 (__cpy): Likewise.
42808 (norm): Likewise.
42809 (denorm): Likewise.
42810 (__mp_dbl): Likewise.
42811 (__dbl_mp): Likewise.
42812 (add_magnitudes): Likewise.
42813 (sub_magnitudes): Likewise.
42814 (__add): Likewise.
42815 (__sub): Likewise.
42816 (__mul): Likewise.
42817 (__inv): Likewise.
42818 (__dvd): Likewise.
42819 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
42820 (__acr): Likewise.
42821 (__cpy): Likewise.
42822 (norm): Likewise.
42823 (denorm): Likewise.
42824 (__mp_dbl): Likewise.
42825 (__dbl_mp): Likewise.
42826 (add_magnitudes): Likewise.
42827 (sub_magnitudes): Likewise.
42828 (__add): Likewise.
42829 (__sub): Likewise.
42830 (__mul): Likewise.
42831 (__inv): Likewise.
42832 (__dvd): Likewise.
42833
42834 2013-01-08 Joseph Myers <joseph@codesourcery.com>
42835
42836 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
42837 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
42838 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
42839 2 && __USE_EXTERN_INLINES]: Likewise.
42840
42841 2013-01-08 Andreas Jaeger <aj@suse.de>
42842
42843 [BZ# 14985]
42844 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
42845 Remove.
42846 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
42847 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
42848
42849 2013-01-07 Anton Blanchard <anton@samba.org>
42850
42851 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
42852 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
42853 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
42854 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
42855 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
42856 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
42857 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
42858 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
42859 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
42860 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
42861 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
42862 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
42863 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
42864 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
42865 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
42866 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
42867 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
42868 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
42869 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
42870 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
42871 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
42872 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
42873 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
42874 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
42875 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
42876 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
42877 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
42878 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
42879 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
42880 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
42881 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
42882 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
42883 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
42884 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
42885 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
42886 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
42887 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
42888 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
42889 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
42890 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
42891 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
42892 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
42893 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
42894
42895 2013-01-07 Joseph Myers <joseph@codesourcery.com>
42896
42897 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
42898 (__MALLOC_PMT): Likewise.
42899 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
42900 [__GNUC__], only on [_LIBC].
42901 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
42902 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
42903 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
42904 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
42905 forward declaration.
42906 (realloc_hook_ini): Likewise.
42907 (memalign_hook_ini): Likewise.
42908 (__libc_memalign): Do not use __MALLOC_PMT in variable
42909 declaration.
42910 (__libc_valloc): Likewise.
42911 (__libc_pvalloc): Likewise.
42912 (__libc_calloc): Likewise.
42913 (__posix_memalign): Likewise.
42914
42915 [BZ #14996]
42916 * math/s_casinh.c: Include <float.h>.
42917 (__casinh): Do not do computation with squaring and square root
42918 for large arguments.
42919 * math/s_casinhf.c: Include <float.h>.
42920 (__casinhf): Do not do computation with squaring and square root
42921 for large arguments.
42922 * math/s_casinhl.c: Include <float.h>.
42923 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
42924 (__casinhl): Do not do computation with squaring and square root
42925 for large arguments.
42926 * math/libm-test.inc (casin_test): Add more tests.
42927 (casinh_test): Likewise.
42928 * sysdeps/i386/fpu/libm-test-ulps: Update.
42929 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42930
42931 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
42932
42933 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
42934 (__x86_64_raw_data_cache_size): Likewise.
42935 (__x86_64_data_cache_size_half): Likewise.
42936 (__x86_64_raw_data_cache_size_half): Likewise.
42937 (__x86_64_shared_cache_size): Likewise.
42938 (__x86_64_raw_shared_cache_size): Likewise.
42939 (__x86_64_shared_cache_size_half): Likewise.
42940 (__x86_64_raw_shared_cache_size_half): Likewise.
42941 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
42942 to ...
42943 (__x86_data_cache_size): This.
42944 (__x86_64_raw_data_cache_size): Renamed to ...
42945 (__x86_raw_data_cache_size): This.
42946 (__x86_64_data_cache_size_half): Renamed to ...
42947 (__x86_data_cache_size_half): This.
42948 (__x86_64_raw_data_cache_size_half): Renamed to ...
42949 (__x86_raw_data_cache_size_half): This.
42950 (__x86_64_shared_cache_size): Renamed to ...
42951 (__x86_shared_cache_size): This.
42952 (__x86_64_raw_shared_cache_size): Renamed to ...
42953 (__x86_raw_shared_cache_size): This.
42954 (__x86_64_shared_cache_size_half): Renamed to ...
42955 (__x86_shared_cache_size_half): This.
42956 (__x86_64_raw_shared_cache_size_half): Renamed to ...
42957 (__x86_raw_shared_cache_size_half): This.
42958 * sysdeps/x86_64/memcpy.S: Updated.
42959 * sysdeps/x86_64/memset.S: Likewise.
42960 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
42961 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
42962 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
42963
42964 2013-01-04 David S. Miller <davem@davemloft.net>
42965
42966 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42967
42968 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
42969
42970 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
42971 1 to avoid redefinition warning.
42972 (__USE_GNU): Don't define.
42973 (init_signaling_nan): Protoize.
42974
42975 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42976
42977 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
42978
42979 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
42980 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
42981 (__cpymn): Likewise.
42982 (norm): Remove commented code.
42983 (denorm): Likewise.
42984 (__mp_dbl): Likewise.
42985 (__inv): Likewise.
42986 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
42987 (__cpymn): Likewise.
42988 (norm): Remove commented code.
42989 (denorm): Likewise.
42990 (__mp_dbl): Likewise.
42991 (__inv): Likewise.
42992
42993 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
42994 mp_no value for 1.0 and 2.0.
42995 (norm): Use RADIXI instead of radixi.d.
42996 (denorm): Likewise.
42997 (__mul): Use 0.0 instead of zero.d.
42998 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
42999 mp_no value for 1.0 and 2.0.
43000 (norm): Use RADIXI instead of radixi.d.
43001 (denorm): Likewise.
43002 (__mul): Use 0.0 instead of zero.d.
43003
43004 2013-01-04 Joseph Myers <joseph@codesourcery.com>
43005
43006 [BZ #14994]
43007 * math/s_casinh.c (__casinh): Reduce finite argument to first
43008 quadrant then set signs of results at the end.
43009 * math/s_casinhf.c (__casinhf): Likewise.
43010 * math/s_casinhl.c (__casinhl): Likewise.
43011 * math/libm-test.inc (casin_test): Add more tests.
43012 (casinh_test): Likewise.
43013 * sysdeps/i386/fpu/libm-test-ulps: Update.
43014 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43015
43016 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
43017
43018 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
43019
43020 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
43021
43022 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
43023 declarations.
43024 (denorm): Likewise.
43025 (__mp_dbl): Likewise.
43026 (__inv): Likewise.
43027
43028 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
43029 and adjust the header comment.
43030
43031 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
43032 variable name from declaration.
43033
43034 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
43035
43036 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43037 Initialize COMMON_CPUID_INDEX_7 element.
43038 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
43039 (CPUID_RTM): Likewise.
43040 (HAS_RTM): Likewise.
43041 (COMMON_CPUID_INDEX_7): New enum.
43042
43043 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
43044
43045 [BZ #14981]
43046 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
43047 size is zero, record memory as freed.
43048
43049 2013-01-03 Andreas Jaeger <aj@suse.de>
43050
43051 * po/ia.po: Add new Interlingua translation.
43052
43053 2012-01-03 Allan McRae <allan@archlinux.org>
43054
43055 * locale/programs/localedef.c: Fix description of '--posix' flag.
43056
43057 2013-01-02 Joseph Myers <joseph@codesourcery.com>
43058
43059 * NEWS: Update dates in second copyright notice.
43060 * README: Update copyright dates in example.
43061 * manual/libc.texinfo: Update copyright dates.
43062 * scripts/test-installation.pl: Update copyright date in --version
43063 output.
43064
43065 * hurd/ctty-input.c: Fix copyright notice formatting.
43066 * hurd/ctty-output.c: Likewise.
43067 * hurd/dtable.c: Likewise.
43068 * hurd/hurd-raise.c: Likewise.
43069 * hurd/hurdprio.c: Likewise.
43070 * hurd/msgportdemux.c: Likewise.
43071 * misc/sys/file.h: Likewise.
43072 * misc/sys/ioctl.h: Likewise.
43073 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
43074 * sysdeps/mach/hurd/chdir.c: Likewise.
43075 * sysdeps/mach/hurd/fchdir.c: Likewise.
43076 * sysdeps/mach/hurd/rename.c: Likewise.
43077 * sysdeps/mach/hurd/rmdir.c: Likewise.
43078 * sysdeps/mach/hurd/seekdir.c: Likewise.
43079 * sysdeps/mach/hurd/setsid.c: Likewise.
43080 * sysdeps/posix/wait3.c: Likewise.
43081
43082 * All files with FSF copyright notices: Update copyright dates
43083 using scripts/update-copyrights.
43084 * intl/plural.c: Regenerated.
43085 * locale/programs/charmap-kw.h: Likewise.
43086 * locale/programs/locfile-kw.h: Likewise.
43087
43088 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
43089
43090 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
43091 four values.
43092
43093 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
43094 calculation loop and add branch prediction.
43095
43096 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
43097 check access beyond bounds of m1np.
43098
43099 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
43100 MPTWO.
43101 (__inv): Remove local variable MPTWO to use the global
43102 constant.
43103 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
43104 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
43105 variable MPTWO.
43106 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
43107 MP3HALFS static const.
43108
43109 2013-01-01 David S. Miller <davem@davemloft.net>
43110
43111 * po/ca.po: Update from translation team.
43112
43113 2013-01-01 Joseph Myers <joseph@codesourcery.com>
43114
43115 * scripts/update-copyrights: New file.
43116 * Makeconfig: Reformat copyright notice.
43117 * ctype/ctype.h: Likewise.
43118 * debug/swprintf_chk.c: Likewise.
43119 * elf/dl-cache.c: Likewise.
43120 * elf/dl-debug.c: Likewise.
43121 * elf/dl-object.c: Likewise.
43122 * grp/initgroups.c: Likewise.
43123 * hurd/Makefile: Likewise.
43124 * hurd/hurd/signal.h: Likewise.
43125 * hurd/hurdfault.c: Likewise.
43126 * hurd/hurdioctl.c: Likewise.
43127 * hurd/hurdlookup.c: Likewise.
43128 * hurd/intr-msg.c: Likewise.
43129 * iconv/gconv_open.c: Likewise.
43130 * libio/swprintf.c: Likewise.
43131 * locale/lc-ctype.c: Likewise.
43132 * locale/nl_langinfo.c: Likewise.
43133 * mach/Machrules: Likewise.
43134 * mach/Makefile: Likewise.
43135 * malloc/obstack.h: Likewise.
43136 * manual/Makefile: Likewise.
43137 * manual/tsort.awk: Likewise.
43138 * misc/bits/stab.def: Likewise.
43139 * nis/nis_print_group_entry.c: Likewise.
43140 * nis/nis_table.c: Likewise.
43141 * nis/nss_compat/compat-pwd.c: Likewise.
43142 * nis/nss_compat/compat-spwd.c: Likewise.
43143 * po/Makefile: Likewise.
43144 * posix/fnmatch.c: Likewise.
43145 * posix/regex.h: Likewise.
43146 * resolv/Makefile: Likewise.
43147 * resolv/nss_dns/dns-network.c: Likewise.
43148 * resolv/res_hconf.c: Likewise.
43149 * scripts/gen-sorted.awk: Likewise.
43150 * soft-fp/soft-fp.h: Likewise.
43151 * stdio-common/printf.h: Likewise.
43152 * stdlib/monetary.h: Likewise.
43153 * stdlib/random.c: Likewise.
43154 * stdlib/random_r.c: Likewise.
43155 * sysdeps/generic/Makefile: Likewise.
43156 * sysdeps/gnu/Makefile: Likewise.
43157 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
43158 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43159 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43160 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43161 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43162 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43163 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43164 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
43165 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43166 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43167 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
43168 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
43169 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
43170 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
43171 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
43172 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
43173 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
43174 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43175 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
43176 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43177 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
43178 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
43179 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
43180 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
43181 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
43182 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
43183 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
43184 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
43185 * sysdeps/mach/hurd/errnos.awk: Likewise.
43186 * sysdeps/mach/hurd/fork.c: Likewise.
43187 * sysdeps/mach/hurd/getcwd.c: Likewise.
43188 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
43189 * sysdeps/mach/hurd/mmap.c: Likewise.
43190 * sysdeps/mach/hurd/utimes.c: Likewise.
43191 * sysdeps/mach/hurd/xmknod.c: Likewise.
43192 * sysdeps/posix/profil.c: Likewise.
43193 * sysdeps/posix/readdir_r.c: Likewise.
43194 * sysdeps/powerpc/bits/mathdef.h: Likewise.
43195 * sysdeps/powerpc/bits/setjmp.h: Likewise.
43196 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
43197 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
43198 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
43199 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
43200 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
43201 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
43202 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
43203 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
43204 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
43205 * sysdeps/pthread/lio_listio.c: Likewise.
43206 * sysdeps/sparc/dl-procinfo.h: Likewise.
43207 * sysdeps/unix/i386/sysdep.S: Likewise.
43208 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
43209 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
43210 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
43211 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
43212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
43213 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
43214 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
43215 * sysdeps/unix/sysv/linux/speed.c: Likewise.
43216 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
43217 * sysdeps/wordsize-32/divdi3.c: Likewise.
43218 * time/sys/time.h: Likewise.
43219 * wcsmbs/Makefile: Likewise.
43220
43221 2013-01-01 David S. Miller <davem@davemloft.net>
43222
43223 * po/fr.po: Update from translation team.
43224
43225 * catgets/gencat.c: Update copyright year.
43226 * csu/version.c: Likewise.
43227 * debug/catchsegv.sh: Likewise.
43228 * debug/pcprofiledump.c: Likewise.
43229 * debug/xtrace.sh: Likewise.
43230 * elf/ldconfig.c: Likewise.
43231 * elf/ldd.bash.in: Likewise.
43232 * elf/pldd.c: Likewise.
43233 * elf/sotruss.ksh: Likewise.
43234 * elf/sprof.c: Likewise.
43235 * iconv/iconv_prog.c: Likewise.
43236 * iconv/iconvconfig.c: Likewise.
43237 * locale/programs/locale.c: Likewise.
43238 * locale/programs/localedef.c: Likewise.
43239 * login/programs/pt_chown.c: Likewise.
43240 * malloc/memusage.sh: Likewise.
43241 * malloc/memusagestat.c: Likewise.
43242 * malloc/mtrace.pl: Likewise.
43243 * nscd/nscd.c: Likewise.
43244 * nss/getent.c: Likewise.
43245 * nss/makedb.c: Likewise.
43246 * posix/getconf.c: Likewise.
43247
43248 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
43249
43250 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
43251 numbers.
43252
43253 2012-12-30 Mike Frysinger <vapier@gentoo.org>
43254
43255 * math/bits/mathcalls.h (modf): Use __nonnull.
43256
43257 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
43258
43259 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
43260 (split): Use macro CN instead of the bare value.
43261 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
43262 could be used.
43263 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
43264 instead of the bare value.
43265 (power1): Likewise.
43266
43267 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
43268
43269 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
43270 __ATAN_TWOM.
43271 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
43272
43273 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
43274 their values.
43275 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
43276 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
43277 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
43278 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
43279
43280 2012-12-28 Andreas Jaeger <aj@suse.de>
43281
43282 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
43283 values are from Linux 3.7.
43284
43285 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
43286 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
43287
43288 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
43289
43290 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
43291 TRUE case.
43292
43293 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
43294 (norm): Likewise.
43295 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
43296 variables with preprocessor constants.
43297 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
43298 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
43299 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
43300
43301 2012-12-27 Bruno Haible <bruno@clisp.org>
43302
43303 [BZ #14317]
43304 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
43305 only if needed.
43306
43307 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
43308
43309 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
43310 and use variable directly.
43311 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
43312
43313 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
43314 MPONE.
43315 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
43316 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
43317 variable MPONE.
43318 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
43319 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
43320 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
43321 include directive. Remove local variable MPONE.
43322 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
43323 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
43324 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
43325
43326 2012-12-25 David S. Miller <davem@davemloft.net>
43327
43328 * version.h (RELEASE): Set to "development".
43329 (VERSION): Set to "2.17.90".
43330 * NEWS: Add 2.18 section.
43331
43332 2012-12-21 David S. Miller <davem@davemloft.net>
43333
43334 * po/hr.po: Update from translation team.
43335
43336 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43337
43338 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
43339
43340 2012-12-19 Steve Ellcey <sellcey@mips.com>
43341
43342 * NEWS: Mention new memcpy for MIPS.
43343
43344 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
43345
43346 * manual/contrib.texi (Contributors): Spelling correction.
43347
43348 2012-12-15 David S. Miller <davem@davemloft.net>
43349
43350 * po/ru.po: Update from translation team.
43351
43352 2012-12-13 David S. Miller <davem@davemloft.net>
43353
43354 * NEWS: Mention IFUNC testsuite enhancements.
43355
43356 * po/pl.po: Update from translation team.
43357 * po/bg.po: Likewise.
43358
43359 * manual/contrib.texi (Contributors): Update entries for Hongjiu
43360 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
43361
43362 2012-12-11 David S. Miller <davem@davemloft.net>
43363
43364 * po/sv.po: Update from translation team.
43365
43366 * po/vi.po: Update from translation team.
43367
43368 * po/cs.po: Update from translation team.
43369
43370 * po/de.po: Update from translation team.
43371 * po/eo.po: Likewise.
43372 * po/nl.po: Likewise.
43373
43374 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
43375
43376 [BZ #14246]
43377 * manual/argp.texi (Argp Helper Functions): Move node to follow
43378 Argp Parsing State.
43379
43380 [BZ #14872]
43381 * manual/conf.texi (Limits on File System Capacity): Mention if
43382 terminating null is included in the max size.
43383
43384 2012-12-10 Andreas Jaeger <aj@suse.de>
43385
43386 * po/cs.po: Update from translation team.
43387
43388 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
43389
43390 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
43391 void pointer and cast to uintptr_t.
43392 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
43393 path.
43394 * sysdeps/s390/s390-64/memcpy.S: Likewise.
43395 * sysdeps/s390/s390-64/memset.S: Likewise.
43396
43397 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
43398
43399 [BZ #14833]
43400 * menual/message.texi (Message Translation): Fix typos.
43401 (Helper programs for gettext): Likewise.
43402
43403 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
43404
43405 [BZ #14898]
43406 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
43407 Change to -1.
43408
43409 2012-12-07 David S. Miller <davem@davemloft.net>
43410
43411 * po/libc.pot: Update.
43412
43413 2012-12-07 Richard Henderson <rth@redhat.com>
43414
43415 [BZ #10114]
43416 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
43417 normal/normal case to before the switch.
43418 (_FP_DIV): Likewise.
43419
43420 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
43421 Mike Frysinger <vapier@gentoo.org>
43422
43423 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
43424 check for __NR_fadvise64_64.
43425
43426 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
43427
43428 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
43429 0, not just to plain "0" as a statement.
43430 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
43431 with cw.
43432
43433 2012-12-06 Joseph Myers <joseph@codesourcery.com>
43434
43435 * NEWS: Use sourceware.org in Bugzilla URL.
43436
43437 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
43438
43439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
43440 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
43441
43442 * stdio-common/tst-put-error.c (do_test): Add newline to the
43443 padded test to ensure flush.
43444
43445 2012-12-05 Jeff Law <law@redhat.com>
43446
43447 * sunrpc/etc.rpc (fedfs_admin): Add entry.
43448
43449 2012-12-05 Joseph Myers <joseph@codesourcery.com>
43450
43451 * README: Don't refer to ports add-on as distributed separately.
43452 Mention AArch64 in list of systems supported in the ports add-on.
43453
43454 * LICENSES: Add more non-FSF copyright and license notices.
43455
43456 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
43457 ((unused)).
43458
43459 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
43460
43461 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
43462 10000 as width of padded output.
43463
43464 2012-12-04 Joseph Myers <joseph@codesourcery.com>
43465
43466 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
43467
43468 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
43469 variable LX with __attribute__ ((unused)).
43470 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
43471 Likewise.
43472 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
43473 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
43474 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
43475 with __attribute__ ((unused)).
43476
43477 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
43478
43479 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
43480
43481 2012-12-04 Joseph Myers <joseph@codesourcery.com>
43482
43483 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
43484 (CFLAGS-nldbl-acos.c): New variable.
43485 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
43486 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
43487 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
43488 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
43489 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
43490 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
43491 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
43492 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
43493 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
43494 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
43495 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
43496 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
43497 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
43498 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
43499 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
43500 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
43501 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
43502 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
43503 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
43504 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
43505 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
43506 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
43507 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
43508 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
43509 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
43510 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
43511 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
43512 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
43513 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
43514 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
43515 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
43516 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
43517 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
43518 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
43519 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
43520 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
43521 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
43522 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
43523 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
43524 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
43525 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
43526 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
43527 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
43528 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
43529 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
43530 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
43531 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
43532 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
43533 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
43534 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
43535 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
43536 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
43537 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
43538 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
43539 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
43540 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
43541 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
43542 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
43543 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
43544 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
43545 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
43546 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
43547 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
43548 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
43549 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
43550 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
43551 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
43552 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
43553 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
43554 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
43555 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
43556 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
43557 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
43558 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
43559 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
43560 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
43561 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
43562 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
43563 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
43564 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
43565 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
43566 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
43567 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
43568 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
43569 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
43570 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
43571 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
43572 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
43573 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
43574 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
43575 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
43576 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
43577 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
43578 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
43579 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
43580 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
43581 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
43582
43583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
43584 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
43585
43586 [BZ #14914]
43587 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
43588 whole low double instead of just low 47 bits when splitting values
43589 into two parts.
43590
43591 2012-12-03 Allan McRae <allan@archlinux.org>
43592
43593 * manual/stdio.texi (Predefined Printf Handlers): Remove
43594 @hsep and @vsep usage.
43595
43596 2012-12-03 Mike Frysinger <vapier@gentoo.org>
43597
43598 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
43599 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
43600
43601 2012-12-03 Jeff Law <law@redhat.com>
43602
43603 * time/sys/time.h (settimeofday): Do not mark TV argument
43604 as __nonnull.
43605
43606 2012-12-01 Mike Frysinger <vapier@gentoo.org>
43607
43608 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
43609 when currently writing and seek to current position when not.
43610 * libio/Makefile (tests): Remove bug-fclose1.
43611 * libio/bug-fclose1.c: Delete.
43612
43613 2012-12-01 Joseph Myers <joseph@codesourcery.com>
43614
43615 * manual/arith.texi (feenableexcept): Fix typo.
43616 (fedisableexcept): Likewise.
43617
43618 2012-11-30 Roland McGrath <roland@hack.frob.com>
43619
43620 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
43621 second, differently-typed declaration, rather than a cast.
43622
43623 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
43624
43625 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
43626 * include/rpc/svc.h: ... here.
43627
43628 2012-11-30 Aurelien Jarno <aurel32@debian.org>
43629
43630 [BZ #13013]
43631 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
43632 depending n and resplen2 to catch cases where answer
43633 equals answerp2.
43634
43635 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
43636
43637 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
43638 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
43639
43640 2012-11-29 Mike Frysinger <vapier@gentoo.org>
43641
43642 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
43643
43644 2012-11-29 Roland McGrath <roland@hack.frob.com>
43645
43646 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
43647
43648 2012-11-28 Jeff Law <law@redhat.com>
43649
43650 [BZ #13761]
43651 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
43652 dataset_temporary. Track alloca usage into alloca_used.
43653 If dataset is large allocate and release it via malloc/free.
43654
43655 2012-06-04 Florian Weimer <fweimer@redhat.com>
43656
43657 [BZ #14197]
43658 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
43659
43660 2012-11-28 David S. Miller <davem@davemloft.net>
43661
43662 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43663
43664 2012-11-28 Joseph Myers <joseph@codesourcery.com>
43665
43666 [BZ #14803]
43667 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
43668 of pi/2 rounded to nearest to 64 bits.
43669 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
43670 nearest to 64 bits.
43671 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
43672 bits.
43673
43674 2012-11-28 Jeff Law <law@redhat.com>
43675 Martin Osvald <mosvald@redhat.com>
43676
43677 [BZ #14889]
43678 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
43679 * sunrpc/svc.c: Include time.h.
43680 (__svc_accept_failed): New function.
43681 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
43682 any reason other than EINTR, call __svc_accept_failed.
43683 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
43684 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
43685
43686 2012-11-28 Andreas Schwab <schwab@suse.de>
43687
43688 * scripts/abilist.awk: Also handle indirect functions in .opd
43689 section.
43690
43691 2012-11-28 Joseph Myers <joseph@codesourcery.com>
43692
43693 [BZ #13881]
43694 * sysdeps/x86/fpu/powl_helper.c: New file.
43695 * sysdeps/x86/fpu/Makefile: Likewise.
43696 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
43697 (p3): New object.
43698 (__ieee754_powl): Use __powl_helper for finite arguments except
43699 integer exponents below 8.
43700 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
43701 (p3): New object.
43702 (__ieee754_powl): Use __powl_helper for finite arguments except
43703 integer exponents below 8.
43704 * math/libm-test.inc (pow_test): Add more tests and enable some
43705 previously disabled tests.
43706 * sysdeps/i386/fpu/libm-test-ulps: Update.
43707 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43708
43709 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
43710 Carlos O'Donell <carlos_odonell@mentor.com>
43711
43712 * nss/makedb.c (is_prime): Assert that input is odd and greater
43713 than 4. Note that fact in a comment too.
43714 (next_prime): Add 4 to input.
43715
43716 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
43717
43718 [BZ #11741]
43719 * libio/Makefile (tests): Add test case tst-fwrite-error.
43720 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
43721 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
43722 * libio/tst-fwrite-error.c: New test case.
43723
43724 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
43725
43726 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
43727 before casting to void *.
43728 * include/libc-internal.h (__pointer_type): New macro.
43729 (__integer_if_pointer_type_sub): Likewise.
43730 (__integer_if_pointer_type): Likewise.
43731 (cast_to_integer): Likewise.
43732 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
43733 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
43734 before casting to atomic64_t.
43735 (atomic_exchange_acq): Likewise.
43736 (__arch_exchange_and_add_body): Likewise.
43737 (__arch_add_body): Likewise.
43738 (atomic_add_negative): Likewise.
43739 (atomic_add_zero): Likewise.
43740
43741 2012-11-26 Joseph Myers <joseph@codesourcery.com>
43742
43743 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
43744 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
43745 (add_fdes): Likewise.
43746 (linear_search_fdes): Likewise.
43747 (binary_search_unencoded_fdes): Likewise.
43748
43749 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
43750
43751 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
43752
43753 2012-11-24 Adam Conrad <adconrad@0c3.net>
43754
43755 * configure.in: Autodetect C++ header directories.
43756 * configure: Regenerated.
43757
43758 2012-11-23 Mike Frysinger <vapier@gentoo.org>
43759
43760 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
43761
43762 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
43763
43764 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43765
43766 2012-11-22 Joseph Myers <joseph@codesourcery.com>
43767
43768 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
43769 LDBL_MANT_DIG == 106]: Disable some tests.
43770 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
43771 Likewise.
43772 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
43773 Likewise.
43774
43775 [BZ #14871]
43776 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
43777 input for small inputs. Return +/- pi/2 for large inputs.
43778 * math/libm-test.inc (atan_test): Add more tests.
43779
43780 * sysdeps/generic/unwind-dw2-fde-glibc.c
43781 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
43782 __attribute__ ((unused)).
43783
43784 [BZ #14645]
43785 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
43786 x * y if x and y are nonzero and z is zero.
43787
43788 [BZ #14811]
43789 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
43790 nonzero exponents with absolute value below 0x1p-117 to +/-
43791 0x1p-117.
43792
43793 [BZ #14869]
43794 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
43795 up arguments below 2**-450, not just those below 2**-500.
43796 * math/libm-test.inc (hypot_test): Add another test.
43797
43798 [BZ #14868]
43799 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
43800 Return a+b for ratio over 2**120, not 2**60.
43801 * math/libm-test.inc (hypot_test): Add another test.
43802
43803 * math/libm-test.inc (clog_test): Use
43804 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
43805 (clog10_test): Likewise.
43806
43807 [BZ #6778]
43808 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
43809
43810 2012-11-22 Andreas Schwab <schwab@suse.de>
43811
43812 * sysdeps/i386/fpu/libm-test-ulps: Update.
43813
43814 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
43815
43816 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
43817 printf output with newline.
43818
43819 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
43820
43821 [BZ #14865]
43822 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
43823 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
43824 -z nodlopen, -z initfirst and -z execstack support.
43825 * configure: Regenerated.
43826
43827 * elf/elf.h (DF_1_NODIRECT): New macro.
43828 (DF_1_IGNMULDEF): Likewise.
43829 (DF_1_NOKSYMS): Likewise.
43830 (DF_1_NOHDR): Likewise.
43831 (DF_1_EDITED): Likewise.
43832 (DF_1_NORELOC): Likewise.
43833 (DF_1_SYMINTPOSE): Likewise.
43834 (DF_1_GLOBAUDIT): Likewise.
43835 (DF_1_SINGLETON): Likewise.
43836 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
43837 DT_1_SUPPORTED_MASK bits.
43838 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
43839
43840 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
43841
43842 * sysdeps/unix/make-syscalls.sh: Document prefixes.
43843
43844 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
43845
43846 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
43847 macro.
43848
43849 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
43850 (sendmmsg): Move declarations...
43851 * socket/sys/socket.h: ... here.
43852 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
43853 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
43854 include it from...
43855 * socket/recvmmsg.c: ... this new file.
43856 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
43857 (sendmmsg): Rename to __sendmmsg, create weak alias and make
43858 definition of __sendmmsg hidden.
43859 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
43860 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
43861 Move ENOSYS stub into and include it from...
43862 * socket/sendmmsg.c: ... this new file.
43863 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
43864 (sysdep_routines): Move recvmmsg and sendmmsg...
43865 * socket/Makefile (routines): ... here.
43866 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
43867 (GLIBC_PRIVATE): Add __sendmmsg.
43868 * include/sys/socket.h (__sendmmsg): Add declarations.
43869 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
43870 sendmmsg.
43871
43872 2012-11-20 Joseph Myers <joseph@codesourcery.com>
43873
43874 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
43875 variable I1 with __attribute__ ((unused)).
43876 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
43877
43878 2012-11-19 Joseph Myers <joseph@codesourcery.com>
43879
43880 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
43881 DUMMY variables with __attribute__ ((unused)).
43882
43883 * bits/byteswap.h: Include <bits/types.h>.
43884 (__bswap_64): Use __uint64_t instead of unsigned long long int.
43885
43886 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
43887
43888 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
43889 string_t. Do not manually set errno.
43890 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
43891 length with __strnlen. Make sure to both set errno and return it on
43892 failure.
43893
43894 2012-11-19 David S. Miller <davem@davemloft.net>
43895
43896 With help from Joseph Myers.
43897 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
43898 very large arguments properly.
43899 * math/libm-test.inc (atan_test): New tests.
43900 (atan2_test): New tests.
43901 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43902 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43903
43904 2012-11-19 Joseph Myers <joseph@codesourcery.com>
43905
43906 [BZ #14856]
43907 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
43908 Define to 3.
43909
43910 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
43911 [POSIX] (EADDRNOTAVAIL): Likewise.
43912 [POSIX] (EAFNOSUPPORT): Likewise.
43913 [POSIX] (EALREADY): Likewise.
43914 [POSIX] (ECONNABORTED): Likewise.
43915 [POSIX] (ECONNREFUSED): Likewise.
43916 [POSIX] (ECONNRESET): Likewise.
43917 [POSIX] (EDESTADDRREQ): Likewise.
43918 [POSIX] (EDQUOT): Likewise.
43919 [POSIX] (EHOSTUNREACH): Likewise.
43920 [POSIX] (EIDRM): Likewise.
43921 [POSIX] (EISCONN): Likewise.
43922 [POSIX] (ELOOP): Likewise.
43923 [POSIX] (EMULTIHOP): Likewise.
43924 [POSIX] (ENETDOWN): Likewise.
43925 [POSIX] (ENETUNREACH): Likewise.
43926 [POSIX] (ENOBUFS): Likewise.
43927 [POSIX] (ENODATA): Likewise.
43928 [POSIX] (ENOLINK): Likewise.
43929 [POSIX] (ENOMSG): Likewise.
43930 [POSIX] (ENOPROTOOPT): Likewise.
43931 [POSIX] (ENOSR): Likewise.
43932 [POSIX] (ENOSTR): Likewise.
43933 [POSIX] (ENOTCONN): Likewise.
43934 [POSIX] (ENOTSOCK): Likewise.
43935 [POSIX] (EOPNOTSUPP): Likewise.
43936 [POSIX] (EOVERFLOW): Likewise.
43937 [POSIX] (EPROTO): Likewise.
43938 [POSIX] (EPROTONOSUPPORT): Likewise.
43939 [POSIX] (EPROTOTYPE): Likewise.
43940 [POSIX] (ESTALE): Likewise.
43941 [POSIX] (ETIME): Likewise.
43942 [POSIX] (ETXTBSY): Likewise.
43943 [POSIX] (EWOULDBLOCK): Likewise.
43944 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
43945 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
43946 [POSIX] (SEEK_CUR): Likewise.
43947 [POSIX] (SEEK_END): Likewise.
43948 [POSIX || UNIX98] (mode_t): Do not require.
43949 [POSIX] (off_t): Likewise.
43950 [POSIX] (pid_t): Likewise.
43951 [POSIX] (sys/stat.h): Do not allow header.
43952 [POSIX] (unistd.h): Likewise.
43953 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
43954 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
43955 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
43956 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
43957 require.
43958 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
43959 sigevent): Specify elements.
43960 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
43961 entry.
43962 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
43963 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
43964
43965 * conform/data/cpio.h-data [POSIX]: Disable whole file.
43966 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
43967 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
43968 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
43969 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
43970 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
43971 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
43972 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
43973 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
43974 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
43975 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
43976 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
43977 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
43978 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
43979 Likewise.
43980 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
43981 Likewise.
43982 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
43983 Likewise.
43984 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
43985 Likewise.
43986 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
43987 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
43988 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
43989 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
43990 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
43991 Specify lower bound on value.
43992 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
43993 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
43994 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
43995 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
43996 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
43997 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
43998 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
43999 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
44000 value.
44001 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
44002 as optional.
44003 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
44004 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
44005 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
44006 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
44007 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
44008 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
44009 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
44010 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
44011 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
44012 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
44013 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
44014 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
44015 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
44016 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
44017 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
44018 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
44019 entry.
44020 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
44021 optional.
44022 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
44023 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
44024 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
44025 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
44026 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
44027 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
44028 Likewise.
44029 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
44030 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
44031 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
44032 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
44033 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
44034 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
44035 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
44036 as optional.
44037 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
44038 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
44039 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
44040 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
44041 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
44042 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
44043 specify as optional.
44044 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
44045 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
44046 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
44047 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
44048 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
44049 [XPG3] (NL_LANGMAX): Likewise.
44050 [POSIX || XPG3] (NL_MSGMAX): Likewise.
44051 [POSIX || XPG3] (NL_NMAX): Likewise.
44052 [POSIX || XPG3] (NL_SETMAX): Likewise.
44053 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
44054 [XPG3] (NZERO): Likewise.
44055 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
44056 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
44057 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
44058 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
44059 (REG_ERANGE): Expect.
44060 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
44061 optional-constant.
44062 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
44063 Use (void) in prototype.
44064 [POSIX] (*_t): Allow.
44065 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
44066 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
44067 (WRDE_BADVAL): Expect.
44068
44069 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
44070 expect.
44071 [XPG3 || XPG4] (O_RSYNC): Likewise.
44072 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
44073 Likewise.
44074 [XPG3 || XPG4] (pthread_sigmask): Likewise.
44075 [XPG3 || XPG4] (sigqueue): Likewise.
44076 [XPG3 || XPG4] (sigtimedwait): Likewise.
44077 [XPG3 || XPG4] (sigwaitinfo): Likewise.
44078 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
44079 [XPG3 || XPG4] (vsnprintf): Likewise.
44080 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
44081 Likewise.
44082 [XPG3 || XPG4] (blksize_t): Likewise.
44083 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
44084 Likewise.
44085 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
44086 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
44087 [XPG3 || XPG4] (struct itimerspec): Likewise.
44088 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
44089 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
44090 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
44091 [XPG3 || XPG4] (clockid_t): Likewise.
44092 [XPG3 || XPG4] (timer_t): Likewise.
44093 [XPG3 || XPG4] (clock_getres): Likewise.
44094 [XPG3 || XPG4] (clock_gettime): Likewise.
44095 [XPG3 || XPG4] (clock_settime): Likewise.
44096 [XPG3 || XPG4] (nanosleep): Likewise.
44097 [XPG3 || XPG4] (timer_create): Likewise.
44098 [XPG3 || XPG4] (timer_delete): Likewise.
44099 [XPG3 || XPG4] (timer_gettime): Likewise.
44100 [XPG3 || XPG4] (timer_getoverrun): Likewise.
44101 [XPG3 || XPG4] (timer_settime): Likewise.
44102 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
44103 [XPG3 || XPG4] (getlogin_r): Likewise.
44104 [XPG3 || XPG4] (pread): Likewise.
44105 [XPG3 || XPG4] (pthread_atfork): Likewise.
44106 [XPG3 || XPG4] (pwrite): Likewise.
44107
44108 [BZ #14835]
44109 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
44110 <bits/siginfo.h>.
44111
44112 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
44113
44114 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
44115 finalizing MALLSTREAM.
44116
44117 * sysdeps/mach/hurd/syncfs.c: New file.
44118
44119 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
44120
44121 [BZ #14719]
44122 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
44123 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
44124 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
44125 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
44126 (_nss_dns_gethostbyname4_r): Likewise.
44127 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
44128 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
44129
44130 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
44131
44132 [BZ #13763]
44133 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
44134
44135 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
44136
44137 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
44138 * elf/cache.c (print_entry): Print ",AArch64" for
44139 FLAG_AARCH64_LIB64
44140
44141 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
44142 * elf/cache.c (print_entry): Print ",hard-float" for
44143 FLAG_ARM_LIBHF.
44144
44145 2012-11-18 David S. Miller <davem@davemloft.net>
44146
44147 With help from Joseph Myers.
44148 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
44149 cutoff to 2**-13.
44150 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
44151 cutoff to 2**-25.
44152 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
44153 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
44154 small.
44155 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
44156 * math/libm-test.inc (y0_test): New tests.
44157 (y1_test): New tests.
44158 * sysdeps/i386/fpu/libm-test-ulps: Update.
44159 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44160 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44161
44162 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
44163
44164 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
44165 64-bit targets.
44166 * configure: Regenerated.
44167
44168 2012-11-17 David S. Miller <davem@davemloft.net>
44169
44170 [BZ #14811]
44171 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
44172 nonzero exponents with absolute value below 0x1p-128 to +/-
44173 0x1p-128.
44174
44175 2012-11-17 Joseph Myers <joseph@codesourcery.com>
44176
44177 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
44178
44179 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
44180
44181 * posix/getconf-speclist.c: New file.
44182 * posix/posix-envs.def: Likewise.
44183 * posix/confstr.c (START_ENV_GROUP): New macro.
44184 (END_ENV_GROUP): Likewise.
44185 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
44186 (KNOWN_PRESENT_ENV_STRING): Likewise.
44187 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
44188 (UNKNOWN_ENVIRONMENT): Likewise.
44189 (confstr): Include posix-envs.def instead of handling
44190 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
44191 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
44192 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
44193 (END_ENV_GROUP): Likewise.
44194 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
44195 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
44196 (UNKNOWN_ENVIRONMENT): Likewise.
44197 (__sysconf): Include posix-envs.def instead of handling associated
44198 cases directly here.
44199 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
44200 preprocessing getconf-speclist.c rather than running getconf or
44201 generating empty file.
44202
44203 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
44204
44205 * scripts/check-local-headers.sh: Ignore 'mach' headers.
44206
44207 2012-11-16 Andrej Lajovic <natrij@gmail.com>
44208
44209 [BZ #14672]
44210 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
44211
44212 2012-11-16 David S. Miller <davem@davemloft.net>
44213
44214 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
44215 smaller than LDBL_EPSILON/2.0L, just return xm1.
44216
44217 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
44218
44219 * elf/tst-array1.c (init): Set constructor priority to 1000.
44220 (fini): Set destructor priority to 1000.
44221 * elf/tst-array2dep.c: Likewise.
44222
44223 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
44224
44225 [BZ #11741]
44226 * libio/fileops.c (_IO_new_file_write): Correctly return error.
44227 (_IO_new_file_xsputn): Also return EOF if none of the input
44228 data was written when overflow failed.
44229 * libio/iopadn.c (_IO_padn): Likewise.
44230 * libio/iowpadn.c (_IO_wpadn): Likewise.
44231 * stdio-common/tst-put-error.c: Add copyright notice.
44232 (do_test): Add case for printing padded string.
44233 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
44234 _IO_padn returned error.
44235 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
44236 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
44237 return EOF.
44238
44239 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
44240
44241 * libio/libioP.h: Add comment note that the references to C++
44242 bits are now obsolete.
44243
44244 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
44245
44246 * math/libm-test.inc (check_complex): Use asprintf.
44247
44248 2012-11-14 Joseph Myers <joseph@codesourcery.com>
44249
44250 * debug/pcprofiledump.c (print_version): Update copyright year.
44251 * malloc/memusagestat.c (print_version): Likewise.
44252
44253 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
44254
44255 [BZ #14831]
44256 * elf/Makefile (tests): Add tst-audit8.
44257 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
44258 ($(objpfx)tst-audit8.out): New target.
44259 (tst-audit8-ENV): New variable.
44260 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
44261 audit if l_reloc_result is NULL.
44262 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
44263 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
44264 * elf/tst-audit8.c: New file.
44265
44266 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
44267
44268 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
44269 * misc/Makefile (CFLAGS-select.c): Define.
44270 * posix/Makefile (CFLAGS-pause.c): Define.
44271
44272 2012-11-13 David S. Miller <davem@davemloft.net>
44273
44274 * crypt/Makefile: Move test targets after toplevel Rules
44275 inclusion. Grab any necessary sysdep routines when linking.
44276 * crypt/md5.c (md5_process_block): Remove define, we will always
44277 name it __md5_process_block.
44278 (md5_finish_ctx): Update md5_process_block call.
44279 (md5_stream): Likewise.
44280 (md5_process_bytes): Likewise.
44281 (md5_process_block): Rename to __md5_process_block and move to ...
44282 * crypt/md5-block.c: ... here.
44283 * crypt/sha256.c (sha256_process_block): Move to ...
44284 * crypt/sha256-block.c: ... here.
44285 * crypt/sha512.c (sha512_process_block): Move to ...
44286 * crypt/sha512-block.c: ... here.
44287 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
44288 path.
44289 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
44290 * sysdeps/sparc/sparc64/multiarch/Makefile
44291 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
44292 crypt subdir.
44293 (localedef-aux): Add md5 crypto assembler when in locale subdir.
44294 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
44295 multiarch changes.
44296 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
44297 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
44298 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
44299 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
44300 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
44301 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
44302 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
44303 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
44304 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
44305 file.
44306 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
44307 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
44308 file.
44309 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
44310
44311 2012-11-13 Joseph Myers <joseph@codesourcery.com>
44312
44313 * timezone/tzselect.ksh: Update from tzcode git revision
44314 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
44315 * timezone/zdump.c: Likewise.
44316 * timezone/zic.c: Likewise.
44317 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
44318 in TZVERSION setting, not $(PKGVERSION).
44319 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
44320 REPORT_BUGS_TO settings.
44321
44322 [BZ #14838]
44323 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
44324 macro.
44325
44326 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
44327
44328 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
44329 detection to immediately after _FP_ROUND().
44330 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
44331 bits are 0.
44332
44333 2012-11-11 David S. Miller <davem@davemloft.net>
44334
44335 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
44336 inttypes.h
44337 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
44338 __close rather than their public counterparts.
44339
44340 2012-11-10 Joseph Myers <joseph@codesourcery.com>
44341
44342 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
44343 file.
44344 [UNIX98] (sem_timedwait): Do not expect.
44345 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
44346 [XPG4 || UNIX98] (sockatmark): Do not expect.
44347 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
44348 (clock_getcpuclockid): Do not expect.
44349 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
44350 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
44351 Do not expect.
44352 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
44353 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
44354 [UNIX98] (vwscanf): Likewise.
44355 [UNIX98] (vswscanf): Likewise.
44356
44357 2012-11-09 Joseph Myers <joseph@codesourcery.com>
44358
44359 * timezone/version.h: Remove file.
44360 * timezone/README: Do not refer to version.h.
44361 * timezone/Makefile ($(objpfx)zic.o): New dependency on
44362 $(objpfx)version.h.
44363 ($(objpfx)zdump.o): Likewise.
44364 ($(objpfx)version.h): New target.
44365
44366 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
44367 2012i.
44368 * timezone/README: Don't mention modification to tzselect.ksh.
44369 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
44370 work on unmodified tzselect.ksh. Substitute version numbers in
44371 tzselect.ksh.
44372
44373 * Makefile (format-me): Remove.
44374 (INSTALL): Adjust indentation. Use commands directly instead of
44375 using $(format-me).
44376
44377 * aclocal.m4 (ACX_PKGVERSION): New macro.
44378 (ACX_BUGURL): Likewise.
44379 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
44380 (PKGVERSION): New AC_DEFINE_UNQUOTED.
44381 (REPORT_BUGS_TO): Likewise.
44382 * configure: Regenerated.
44383 * config.h.in (PKGVERSION): New macro.
44384 (REPORT_BUGS_TO): Likewise.
44385 * config.make.in (PKGVERSION): New variable.
44386 (PKGVERSION_TEXI): Likewise.
44387 (REPORT_BUGS_TO): Likewise.
44388 (REPORT_BUGS_TEXI): Likewise.
44389 * Makefile (format-me): Use -I$(common-objpfx)manual.
44390 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
44391 ($(common-objpfx)manual/%): New target.
44392 (manual/%): Remove target.
44393 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
44394 (print_version): Use PKGVERSION.
44395 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
44396 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
44397 and REPORT_BUGS_TO.
44398 ($(objpfx)xtrace): Likewise.
44399 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
44400 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
44401 (print_version): Use PKGVERSION.
44402 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
44403 (do_version): Use PKGVERSION.
44404 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
44405 REPORT_BUGS_TO.
44406 (common-ldd-rewrite): Likewise.
44407 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
44408 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
44409 (print_version): Use PKGVERSION.
44410 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
44411 * elf/pldd.c (argp_program_bug_address): Remove variable.
44412 (more_help): New function.
44413 (argp): Use more_help.
44414 (print_version): Use PKGVERSION.
44415 * elf/sln.c (main): Use PKGVERSION.
44416 (usage): Use REPORT_BUGS_TO.
44417 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
44418 (top level): Use PKGVERSION.
44419 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
44420 (print_version): Use PKGVERSION.
44421 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
44422 (print_version): Use PKGVERSION.
44423 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
44424 (print_version): Use PKGVERSION.
44425 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
44426 (print_version): Use PKGVERSION.
44427 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
44428 (print_version): Use PKGVERSION.
44429 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
44430 (print_version): Use PKGVERSION.
44431 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
44432 and BUGURL.
44433 ($(objpfx)memusage): Likewise.
44434 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
44435 (do_version): Use PKGVERSION.
44436 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
44437 (print_version): Use PKGVERSION.
44438 * malloc/mtrace.pl ($PACKAGE): Remove variable.
44439 ($PKGVERSION): New variable.
44440 ($REPORT_BUGS_TO): Likewise.
44441 (usage): Use $REPORT_BUGS_TO.
44442 (top level): Use $PKGVERSION.
44443 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
44444 ($(objpfx)pkgvers.texi): New rule.
44445 ($(objpfx)stamp-pkgvers): Likewise.
44446 * manual/install.texi: Include pkgvers.texi.
44447 (--with-pkgversion): Document new configure option.
44448 (--with-bugurl): Likewise.
44449 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
44450 than necessarily for this particular distribution. Use
44451 REPORT_BUGS_TO for where to report bugs.
44452 * INSTALL: Regenerated.
44453 * manual/libc.texinfo: Include pkgvers.texi.
44454 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
44455 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
44456 (print_version): Use PKGVERSION.
44457 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
44458 (print_version): Use PKGVERSION.
44459 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
44460 (print_version): Use PKGVERSION.
44461 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
44462 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
44463 macro.
44464 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
44465 (print_version): Use PKGVERSION.
44466 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
44467 (print_version): Use PKGVERSION.
44468 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
44469 and PKGVERSION.
44470
44471 * timezone/checktab.awk: Update from tzcode 2012i.
44472 * timezone/ialloc.c: Likewise.
44473 * timezone/private.h: Likewise.
44474 * timezone/scheck.c: Likewise.
44475 * timezone/tzfile.h: Likewise.
44476 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
44477 (TZVERSION): Hardcode tzcode version number.
44478 * timezone/zdump.c: Update from tzcode 2012i.
44479 * timezone/zic.c: Likewise.
44480 * timezone/version.h: New file.
44481 * timezone/README: Describe version.h. Update upstream location.
44482
44483 [BZ #14824]
44484 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
44485 (mktemp): Enable declaration.
44486 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
44487 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
44488 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
44489 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
44490 Likewise.
44491 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
44492 Likewise.
44493 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
44494 Likewise.
44495 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
44496 Likewise.
44497 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
44498 Likewise.
44499 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
44500 Likewise.
44501
44502 [BZ #14821]
44503 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
44504 offset in buffer as u_int32_t not u_long. Consistently use memcpy
44505 for copies of such integer values.
44506 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
44507 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
44508
44509 2012-11-09 Andreas Jaeger <aj@suse.de>
44510
44511 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
44512 definitions and declarations that are provided by
44513 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
44514
44515 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44516
44517 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
44518 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
44519 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
44520 definition.
44521
44522 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
44523
44524 * elf/elf.h: Update comment before AArch64 relocations.
44525
44526 2012-11-07 David S. Miller <davem@davemloft.net>
44527
44528 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
44529 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
44530 (__start_context): Declare.
44531 (__makecontext_ret): Delete.
44532 (__makecontext): Hook up __start_context instead of
44533 __makecontext_ret.
44534 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
44535 (sysdep_routines): Add __start_context when in stdlib.
44536
44537 2012-11-07 Joseph Myers <joseph@codesourcery.com>
44538
44539 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
44540 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
44541 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
44542 hardcoded "nm".
44543 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
44544 (READELF): New variable. Use it instead of hardcoded "readelf".
44545
44546 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
44547
44548 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
44549 * sysdeps/x86/Makefile: Here.
44550 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
44551 * sysdeps/x86/tst-xmmymm.sh: This.
44552
44553 2012-11-07 Joseph Myers <joseph@codesourcery.com>
44554
44555 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
44556 expectations.
44557 [UNIX98] (pthread_barrier_t): Do not expect.
44558 [UNIX98] (pthread_barrierattr_t): Likewise.
44559 [UNIX98] (pthread_spinlock_t): Likewise.
44560 [UNIX98] (pthread_barrier_destroy): Likewise.
44561 [UNIX98] (pthread_barrier_init): Likewise.
44562 [UNIX98] (pthread_barrier_wait): Likewise.
44563 [UNIX98] (pthread_barrierattr_destroy): Likewise.
44564 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
44565 [UNIX98] (pthread_barrierattr_init): Likewise.
44566 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
44567 [UNIX98] (pthread_getcpuclockid): Likewise.
44568 [UNIX98] (pthread_mutex_timedlock): Likewise.
44569 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
44570 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
44571 [UNIX98] (pthread_sigmask): Likewise.
44572 [UNIX98] (pthread_spin_destroy): Likewise.
44573 [UNIX98] (pthread_spin_init): Likewise.
44574 [UNIX98] (pthread_spin_lock): Likewise.
44575 [UNIX98] (pthread_spin_trylock): Likewise.
44576 [UNIX98] (pthread_spin_unlock): Likewise.
44577 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
44578 Do not expect.
44579 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
44580 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
44581 [XPG3 || XPG4] (pthread_cond_t): Likewise.
44582 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
44583 [XPG3 || XPG4] (pthread_key_t): Likewise.
44584 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
44585 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
44586 [XPG3 || XPG4] (pthread_once_t): Likewise.
44587 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
44588 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
44589 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
44590 [XPG3 || XPG4] (pthread_t): Likewise.
44591
44592 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
44593 not expect.
44594 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
44595
44596 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
44597 Change function return type to int.
44598
44599 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
44600 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
44601 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
44602 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
44603 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
44604 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
44605 [!POSIX] (posix_madvise): Likewise.
44606 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
44607 && !UNIX98].
44608 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
44609 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
44610 (mode_t): Likewise.
44611 (posix_mem_offset): Likewise.
44612 (posix_typed_mem_get_info): Likewise.
44613 (posix_typed_mem_open): Likewise.
44614
44615 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
44616 Change condition to [XOPEN2K8].
44617
44618 * conform/conformtest.pl: Preprocess allow-header data with -x c
44619 instead of from stdin.
44620 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
44621 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
44622 [C99-based standards] (cerfc): Likewise.
44623 [C99-based standards] (cexp2): Likewise.
44624 [C99-based standards] (cexpm1): Likewise.
44625 [C99-based standards] (clog10): Likewise.
44626 [C99-based standards] (clog1p): Likewise.
44627 [C99-based standards] (clog2): Likewise.
44628 [C99-based standards] (clgamma): Likewise.
44629 [C99-based standards] (ctgamma): Likewise.
44630 [C99-based standards] (cerff): Likewise.
44631 [C99-based standards] (cerfcf): Likewise.
44632 [C99-based standards] (cexp2f): Likewise.
44633 [C99-based standards] (cexpm1f): Likewise.
44634 [C99-based standards] (clog10f): Likewise.
44635 [C99-based standards] (clog1pf): Likewise.
44636 [C99-based standards] (clog2f): Likewise.
44637 [C99-based standards] (clgammaf): Likewise.
44638 [C99-based standards] (ctgammaf): Likewise.
44639 [C99-based standards] (cerfl): Likewise.
44640 [C99-based standards] (cerfcl): Likewise.
44641 [C99-based standards] (cexp2l): Likewise.
44642 [C99-based standards] (cexpm1l): Likewise.
44643 [C99-based standards] (clog10l): Likewise.
44644 [C99-based standards] (clog1pl): Likewise.
44645 [C99-based standards] (clog2l): Likewise.
44646 [C99-based standards] (clgammal): Likewise.
44647 [C99-based standards] (ctgammal): Likewise.
44648 * conform/data/inttypes.h-data [C99-based standards]: Include
44649 stdint.h-data. Remove all expectations for stdint.h contents.
44650 [C99-based standards] (PRI*): Do not allow.
44651 [C99-based standards] (SCN*): Likewise.
44652 [C99-based standards] (*_t): Likewise.
44653 [C99-based-standards] (PRId8): Expect macro.
44654 [C99-based-standards] (PRIi8): Likewise.
44655 [C99-based-standards] (PRIo8): Likewise.
44656 [C99-based-standards] (PRIu8): Likewise.
44657 [C99-based-standards] (PRIx8): Likewise.
44658 [C99-based-standards] (PRIX8): Likewise.
44659 [C99-based-standards] (SCNd8): Likewise.
44660 [C99-based-standards] (SCNi8): Likewise.
44661 [C99-based-standards] (SCNo8): Likewise.
44662 [C99-based-standards] (SCNu8): Likewise.
44663 [C99-based-standards] (SCNx8): Likewise.
44664 [C99-based-standards] (PRIdLEAST8): Likewise.
44665 [C99-based-standards] (PRIiLEAST8): Likewise.
44666 [C99-based-standards] (PRIoLEAST8): Likewise.
44667 [C99-based-standards] (PRIuLEAST8): Likewise.
44668 [C99-based-standards] (PRIxLEAST8): Likewise.
44669 [C99-based-standards] (PRIXLEAST8): Likewise.
44670 [C99-based-standards] (SCNdLEAST8): Likewise.
44671 [C99-based-standards] (SCNiLEAST8): Likewise.
44672 [C99-based-standards] (SCNoLEAST8): Likewise.
44673 [C99-based-standards] (SCNuLEAST8): Likewise.
44674 [C99-based-standards] (SCNxLEAST8): Likewise.
44675 [C99-based-standards] (PRIdFAST8): Likewise.
44676 [C99-based-standards] (PRIiFAST8): Likewise.
44677 [C99-based-standards] (PRIoFAST8): Likewise.
44678 [C99-based-standards] (PRIuFAST8): Likewise.
44679 [C99-based-standards] (PRIxFAST8): Likewise.
44680 [C99-based-standards] (PRIXFAST8): Likewise.
44681 [C99-based-standards] (SCNdFAST8): Likewise.
44682 [C99-based-standards] (SCNiFAST8): Likewise.
44683 [C99-based-standards] (SCNoFAST8): Likewise.
44684 [C99-based-standards] (SCNuFAST8): Likewise.
44685 [C99-based-standards] (SCNxFAST8): Likewise.
44686 [C99-based-standards] (PRId16): Likewise.
44687 [C99-based-standards] (PRIi16): Likewise.
44688 [C99-based-standards] (PRIo16): Likewise.
44689 [C99-based-standards] (PRIu16): Likewise.
44690 [C99-based-standards] (PRIx16): Likewise.
44691 [C99-based-standards] (PRIX16): Likewise.
44692 [C99-based-standards] (SCNd16): Likewise.
44693 [C99-based-standards] (SCNi16): Likewise.
44694 [C99-based-standards] (SCNo16): Likewise.
44695 [C99-based-standards] (SCNu16): Likewise.
44696 [C99-based-standards] (SCNx16): Likewise.
44697 [C99-based-standards] (PRIdLEAST16): Likewise.
44698 [C99-based-standards] (PRIiLEAST16): Likewise.
44699 [C99-based-standards] (PRIoLEAST16): Likewise.
44700 [C99-based-standards] (PRIuLEAST16): Likewise.
44701 [C99-based-standards] (PRIxLEAST16): Likewise.
44702 [C99-based-standards] (PRIXLEAST16): Likewise.
44703 [C99-based-standards] (SCNdLEAST16): Likewise.
44704 [C99-based-standards] (SCNiLEAST16): Likewise.
44705 [C99-based-standards] (SCNoLEAST16): Likewise.
44706 [C99-based-standards] (SCNuLEAST16): Likewise.
44707 [C99-based-standards] (SCNxLEAST16): Likewise.
44708 [C99-based-standards] (PRIdFAST16): Likewise.
44709 [C99-based-standards] (PRIiFAST16): Likewise.
44710 [C99-based-standards] (PRIoFAST16): Likewise.
44711 [C99-based-standards] (PRIuFAST16): Likewise.
44712 [C99-based-standards] (PRIxFAST16): Likewise.
44713 [C99-based-standards] (PRIXFAST16): Likewise.
44714 [C99-based-standards] (SCNdFAST16): Likewise.
44715 [C99-based-standards] (SCNiFAST16): Likewise.
44716 [C99-based-standards] (SCNoFAST16): Likewise.
44717 [C99-based-standards] (SCNuFAST16): Likewise.
44718 [C99-based-standards] (SCNxFAST16): Likewise.
44719 [C99-based-standards] (PRId32): Likewise.
44720 [C99-based-standards] (PRIi32): Likewise.
44721 [C99-based-standards] (PRIo32): Likewise.
44722 [C99-based-standards] (PRIu32): Likewise.
44723 [C99-based-standards] (PRIx32): Likewise.
44724 [C99-based-standards] (PRIX32): Likewise.
44725 [C99-based-standards] (SCNd32): Likewise.
44726 [C99-based-standards] (SCNi32): Likewise.
44727 [C99-based-standards] (SCNo32): Likewise.
44728 [C99-based-standards] (SCNu32): Likewise.
44729 [C99-based-standards] (SCNx32): Likewise.
44730 [C99-based-standards] (PRIdLEAST32): Likewise.
44731 [C99-based-standards] (PRIiLEAST32): Likewise.
44732 [C99-based-standards] (PRIoLEAST32): Likewise.
44733 [C99-based-standards] (PRIuLEAST32): Likewise.
44734 [C99-based-standards] (PRIxLEAST32): Likewise.
44735 [C99-based-standards] (PRIXLEAST32): Likewise.
44736 [C99-based-standards] (SCNdLEAST32): Likewise.
44737 [C99-based-standards] (SCNiLEAST32): Likewise.
44738 [C99-based-standards] (SCNoLEAST32): Likewise.
44739 [C99-based-standards] (SCNuLEAST32): Likewise.
44740 [C99-based-standards] (SCNxLEAST32): Likewise.
44741 [C99-based-standards] (PRIdFAST32): Likewise.
44742 [C99-based-standards] (PRIiFAST32): Likewise.
44743 [C99-based-standards] (PRIoFAST32): Likewise.
44744 [C99-based-standards] (PRIuFAST32): Likewise.
44745 [C99-based-standards] (PRIxFAST32): Likewise.
44746 [C99-based-standards] (PRIXFAST32): Likewise.
44747 [C99-based-standards] (SCNdFAST32): Likewise.
44748 [C99-based-standards] (SCNiFAST32): Likewise.
44749 [C99-based-standards] (SCNoFAST32): Likewise.
44750 [C99-based-standards] (SCNuFAST32): Likewise.
44751 [C99-based-standards] (SCNxFAST32): Likewise.
44752 [C99-based-standards] (PRId64): Likewise.
44753 [C99-based-standards] (PRIi64): Likewise.
44754 [C99-based-standards] (PRIo64): Likewise.
44755 [C99-based-standards] (PRIu64): Likewise.
44756 [C99-based-standards] (PRIx64): Likewise.
44757 [C99-based-standards] (PRIX64): Likewise.
44758 [C99-based-standards] (SCNd64): Likewise.
44759 [C99-based-standards] (SCNi64): Likewise.
44760 [C99-based-standards] (SCNo64): Likewise.
44761 [C99-based-standards] (SCNu64): Likewise.
44762 [C99-based-standards] (SCNx64): Likewise.
44763 [C99-based-standards] (PRIdLEAST64): Likewise.
44764 [C99-based-standards] (PRIiLEAST64): Likewise.
44765 [C99-based-standards] (PRIoLEAST64): Likewise.
44766 [C99-based-standards] (PRIuLEAST64): Likewise.
44767 [C99-based-standards] (PRIxLEAST64): Likewise.
44768 [C99-based-standards] (PRIXLEAST64): Likewise.
44769 [C99-based-standards] (SCNdLEAST64): Likewise.
44770 [C99-based-standards] (SCNiLEAST64): Likewise.
44771 [C99-based-standards] (SCNoLEAST64): Likewise.
44772 [C99-based-standards] (SCNuLEAST64): Likewise.
44773 [C99-based-standards] (SCNxLEAST64): Likewise.
44774 [C99-based-standards] (PRIdFAST64): Likewise.
44775 [C99-based-standards] (PRIiFAST64): Likewise.
44776 [C99-based-standards] (PRIoFAST64): Likewise.
44777 [C99-based-standards] (PRIuFAST64): Likewise.
44778 [C99-based-standards] (PRIxFAST64): Likewise.
44779 [C99-based-standards] (PRIXFAST64): Likewise.
44780 [C99-based-standards] (SCNdFAST64): Likewise.
44781 [C99-based-standards] (SCNiFAST64): Likewise.
44782 [C99-based-standards] (SCNoFAST64): Likewise.
44783 [C99-based-standards] (SCNuFAST64): Likewise.
44784 [C99-based-standards] (SCNxFAST64): Likewise.
44785 [C99-based-standards] (PRIdMAX): Likewise.
44786 [C99-based-standards] (PRIiMAX): Likewise.
44787 [C99-based-standards] (PRIoMAX): Likewise.
44788 [C99-based-standards] (PRIuMAX): Likewise.
44789 [C99-based-standards] (PRIxMAX): Likewise.
44790 [C99-based-standards] (PRIXMAX): Likewise.
44791 [C99-based-standards] (SCNdMAX): Likewise.
44792 [C99-based-standards] (SCNiMAX): Likewise.
44793 [C99-based-standards] (SCNoMAX): Likewise.
44794 [C99-based-standards] (SCNuMAX): Likewise.
44795 [C99-based-standards] (SCNxMAX): Likewise.
44796 [C99-based-standards] (PRIdPTR): Likewise.
44797 [C99-based-standards] (PRIiPTR): Likewise.
44798 [C99-based-standards] (PRIoPTR): Likewise.
44799 [C99-based-standards] (PRIuPTR): Likewise.
44800 [C99-based-standards] (PRIxPTR): Likewise.
44801 [C99-based-standards] (PRIXPTR): Likewise.
44802 [C99-based-standards] (SCNdPTR): Likewise.
44803 [C99-based-standards] (SCNiPTR): Likewise.
44804 [C99-based-standards] (SCNoPTR): Likewise.
44805 [C99-based-standards] (SCNuPTR): Likewise.
44806 [C99-based-standards] (SCNxPTR): Likewise.
44807 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
44808 allow.
44809 * conform/data/stdint.h-data: Update comments to clarify
44810 requirements.
44811 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
44812 type.
44813 [C99-based standards] (INT8_MAX): Likewise.
44814 [C99-based standards] (INT16_MIN): Likewise.
44815 [C99-based standards] (INT16_MAX): Likewise.
44816 [C99-based standards] (INT32_MIN): Likewise.
44817 [C99-based standards] (INT32_MAX): Likewise.
44818 [C99-based standards] (INT64_MIN): Likewise.
44819 [C99-based standards] (INT64_MAX): Likewise.
44820 [C99-based standards] (UINT8_MAX): Likewise.
44821 [C99-based standards] (UINT16_MAX): Likewise.
44822 [C99-based standards] (UINT32_MAX): Likewise.
44823 [C99-based standards] (UINT64_MAX): Likewise.
44824 [C99-based standards] (INT_LEAST8_MIN): Likewise.
44825 [C99-based standards] (INT_LEAST8_MAX): Likewise.
44826 [C99-based standards] (INT_LEAST16_MIN): Likewise.
44827 [C99-based standards] (INT_LEAST16_MAX): Likewise.
44828 [C99-based standards] (INT_LEAST32_MIN): Likewise.
44829 [C99-based standards] (INT_LEAST32_MAX): Likewise.
44830 [C99-based standards] (INT_LEAST64_MIN): Likewise.
44831 [C99-based standards] (INT_LEAST64_MAX): Likewise.
44832 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
44833 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
44834 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
44835 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
44836 [C99-based standards] (INT_FAST8_MIN): Likewise.
44837 [C99-based standards] (INT_FAST8_MAX): Likewise.
44838 [C99-based standards] (INT_FAST16_MIN): Likewise.
44839 [C99-based standards] (INT_FAST16_MAX): Likewise.
44840 [C99-based standards] (INT_FAST32_MIN): Likewise.
44841 [C99-based standards] (INT_FAST32_MAX): Likewise.
44842 [C99-based standards] (INT_FAST64_MIN): Likewise.
44843 [C99-based standards] (INT_FAST64_MAX): Likewise.
44844 [C99-based standards] (UINT_FAST8_MAX): Likewise.
44845 [C99-based standards] (UINT_FAST16_MAX): Likewise.
44846 [C99-based standards] (UINT_FAST32_MAX): Likewise.
44847 [C99-based standards] (UINT_FAST64_MAX): Likewise.
44848 [C99-based standards] (INTPTR_MIN): Likewise.
44849 [C99-based standards] (INTPTR_MAX): Likewise.
44850 [C99-based standards] (UINTPTR_MAX): Likewise.
44851 [C99-based standards] (INTMAX_MIN): Likewise.
44852 [C99-based standards] (INTMAX_MAX): Likewise.
44853 [C99-based standards] (UINTMAX_MAX): Likewise.
44854 [C99-based standards] (PTRDIFF_MIN): Likewise.
44855 [C99-based standards] (PTRDIFF_MAX): Likewise.
44856 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
44857 [C99-based standards] (SIZE_MAX): Likewise.
44858 [C99-based standards] (WCHAR_MAX): Likewise.
44859 [C99-based standards] (WINT_MAX): Likewise.
44860 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
44861 constraint on value.
44862 [C99-based standards] (WCHAR_MIN): Likewise.
44863 [C99-based standards] (WINT_MIN): Likewise.
44864 [C99-based standards] (*_t): Allow.
44865 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
44866 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
44867 Include math.h-data and complex.h-data. Remove all expectations
44868 of math.h and complex.h contents.
44869 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
44870 at end of line.
44871 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
44872 (struct tm): Expect tag.
44873 [C99-based-standards] (wcstof): Expect function.
44874 [C99-based-standards] (wcstold): Likewise.
44875 [C99-based-standards] (wcstoll): Likewise.
44876 [C99-based-standards] (wcstoull): Likewise.
44877 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
44878 macro-int-constant. Specify type.
44879 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
44880 constraint on value.
44881 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
44882 Specify type.
44883 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
44884 Specify value.
44885 [ISO C standards]: Do not allow headers.
44886 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
44887 wcs[abcdefghijklmnopqrstuvwxyz]*.
44888 [ISO C standards] (*_t): Do not allow.
44889 * conform/data/wctype.h-data [C99-based standards] (iswblank):
44890 Expect function.
44891 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
44892 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
44893 Specify type.
44894 [ISO C standards]: Do not allow headers.
44895 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
44896 is[abcdefghijklmnopqrstuvwxyz]*.
44897 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
44898 to[abcdefghijklmnopqrstuvwxyz]*.
44899 [ISO C standards] (*_t): Do not allow.
44900 * conform/data/stdalign.h-data: New file.
44901 * conform/data/stdbool.h-data: Likewise.
44902 * conform/data/stdnoreturn.h-data: Likewise.
44903
44904 2012-11-07 Roland McGrath <roland@hack.frob.com>
44905
44906 [BZ #14815]
44907 * manual/filesys.texi (Directory Entries): Typo fix.
44908 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
44909
44910 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
44911
44912 * elf/elf.h (EM_AARCH64): New macro.
44913 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
44914 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
44915 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
44916 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
44917 (R_AARCH64_TLSDESC): Likewise.
44918 (NT_ARM_TLS): Likewise.
44919 (NT_ARM_HW_BREAK): Likewise.
44920 (NT_ARM_HW_WATCH): Likewise.
44921
44922 2012-11-07 Joseph Myers <joseph@codesourcery.com>
44923
44924 [BZ #14811]
44925 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
44926 (__ieee754_powl): Saturate nonzero exponents with absolute value
44927 below 0x1p-79 to +/- 0x1p-79.
44928 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
44929 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
44930 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
44931 nonzero exponents with absolute value below 0x1p-32 to +/-
44932 0x1p-32.
44933 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
44934 (__ieee754_powl): Saturate nonzero exponents with absolute value
44935 below 0x1p-79 to +/- 0x1p-79.
44936 * math/libm-test.inc (pow_test): Add more tests.
44937
44938 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44939
44940 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
44941 _dl_s390_cap_flags with kernel. Increase string length.
44942 (_dl_s390_platforms): Add z196 and zEC12.
44943
44944 2012-11-07 Joseph Myers <joseph@codesourcery.com>
44945
44946 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
44947 Change XOPEN21K to XOPEN2K.
44948
44949 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
44950
44951 * string/memmove.c: Use memcpy when possible.
44952
44953 2012-11-06 Andreas Jaeger <aj@suse.de>
44954
44955 * po/eo.po: Update from translation team.
44956
44957 2012-11-06 Joseph Myers <joseph@codesourcery.com>
44958
44959 [BZ #14793]
44960 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
44961 exponent and small x and y exponents, scale x or y up. Increase
44962 by 2 the exponent used in scaling up.
44963 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
44964 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44965 * math/libm-test.inc (fma_test): Add more tests.
44966 (fma_test_towardzero): Likewise.
44967 (fma_test_downward): Likewise.
44968 (fma_test_upward): Likewise.
44969
44970 2012-11-05 Joseph Myers <joseph@codesourcery.com>
44971
44972 [BZ #14805]
44973 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
44974 fenv_t *.
44975
44976 [BZ #14801]
44977 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
44978 namespace for names of struct fields.
44979 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
44980 fenv_t fields.
44981 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
44982 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
44983
44984 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
44985
44986 [BZ #3665]
44987 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
44988
44989 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
44990
44991 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
44992 PTR_DEMANGLE.
44993
44994 [BZ #5246]
44995 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
44996 PTR_DEMANGLE.
44997
44998 2012-11-04 Joseph Myers <joseph@codesourcery.com>
44999
45000 [BZ #14797]
45001 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
45002 definitely overflow as x * y not x * y + z.
45003 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
45004 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
45005 * math/libm-test.inc (fma_test): Add more tests.
45006 (fma_test_towardzero): Likewise.
45007 (fma_test_downward): Likewise.
45008 (fma_test_upward): Likewise.
45009
45010 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
45011
45012 [BZ #157]
45013
45014 * include/stub-tag.h: Remove file.
45015 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
45016 '#include' of it.
45017 * manual/maint.texi (Porting): Don't reference it.
45018 * Makerules ($(objpfx)stubs): Likewise.
45019 * dirent/closedir.c: Don't include <stub-tag.h>.
45020 * dirent/dirfd.c: Likewise.
45021 * dirent/fdopendir.c: Likewise.
45022 * dirent/getdents.c: Likewise.
45023 * dirent/getdents64.c: Likewise.
45024 * dirent/opendir.c: Likewise.
45025 * dirent/readdir.c: Likewise.
45026 * dirent/readdir64.c: Likewise.
45027 * dirent/readdir64_r.c: Likewise.
45028 * dirent/readdir_r.c: Likewise.
45029 * dirent/rewinddir.c: Likewise.
45030 * dirent/seekdir.c: Likewise.
45031 * dirent/telldir.c: Likewise.
45032 * gmon/profil.c: Likewise.
45033 * grp/setgroups.c: Likewise.
45034 * inet/if_index.c: Likewise.
45035 * io/access.c: Likewise.
45036 * io/chdir.c: Likewise.
45037 * io/chmod.c: Likewise.
45038 * io/chown.c: Likewise.
45039 * io/close.c: Likewise.
45040 * io/dup.c: Likewise.
45041 * io/dup2.c: Likewise.
45042 * io/dup3.c: Likewise.
45043 * io/euidaccess.c: Likewise.
45044 * io/faccessat.c: Likewise.
45045 * io/fchdir.c: Likewise.
45046 * io/fchmod.c: Likewise.
45047 * io/fchmodat.c: Likewise.
45048 * io/fchown.c: Likewise.
45049 * io/fchownat.c: Likewise.
45050 * io/fcntl.c: Likewise.
45051 * io/flock.c: Likewise.
45052 * io/fstatfs.c: Likewise.
45053 * io/fstatfs64.c: Likewise.
45054 * io/fstatvfs.c: Likewise.
45055 * io/fstatvfs64.c: Likewise.
45056 * io/futimens.c: Likewise.
45057 * io/fxstat.c: Likewise.
45058 * io/fxstat64.c: Likewise.
45059 * io/fxstatat.c: Likewise.
45060 * io/fxstatat64.c: Likewise.
45061 * io/getcwd.c: Likewise.
45062 * io/isatty.c: Likewise.
45063 * io/lchmod.c: Likewise.
45064 * io/lchown.c: Likewise.
45065 * io/link.c: Likewise.
45066 * io/linkat.c: Likewise.
45067 * io/lseek.c: Likewise.
45068 * io/lseek64.c: Likewise.
45069 * io/lxstat64.c: Likewise.
45070 * io/mkdir.c: Likewise.
45071 * io/mkdirat.c: Likewise.
45072 * io/mkfifo.c: Likewise.
45073 * io/mkfifoat.c: Likewise.
45074 * io/open.c: Likewise.
45075 * io/open64.c: Likewise.
45076 * io/openat.c: Likewise.
45077 * io/openat64.c: Likewise.
45078 * io/pipe.c: Likewise.
45079 * io/pipe2.c: Likewise.
45080 * io/poll.c: Likewise.
45081 * io/posix_fadvise.c: Likewise.
45082 * io/posix_fadvise64.c: Likewise.
45083 * io/posix_fallocate.c: Likewise.
45084 * io/posix_fallocate64.c: Likewise.
45085 * io/read.c: Likewise.
45086 * io/readlink.c: Likewise.
45087 * io/readlinkat.c: Likewise.
45088 * io/rmdir.c: Likewise.
45089 * io/sendfile.c: Likewise.
45090 * io/sendfile64.c: Likewise.
45091 * io/statfs.c: Likewise.
45092 * io/statfs64.c: Likewise.
45093 * io/statvfs.c: Likewise.
45094 * io/statvfs64.c: Likewise.
45095 * io/symlink.c: Likewise.
45096 * io/symlinkat.c: Likewise.
45097 * io/ttyname.c: Likewise.
45098 * io/ttyname_r.c: Likewise.
45099 * io/umask.c: Likewise.
45100 * io/unlink.c: Likewise.
45101 * io/unlinkat.c: Likewise.
45102 * io/utime.c: Likewise.
45103 * io/utimensat.c: Likewise.
45104 * io/write.c: Likewise.
45105 * io/xmknod.c: Likewise.
45106 * io/xmknodat.c: Likewise.
45107 * io/xstat.c: Likewise.
45108 * io/xstat64.c: Likewise.
45109 * login/getpt.c: Likewise.
45110 * login/grantpt.c: Likewise.
45111 * login/unlockpt.c: Likewise.
45112 * math/e_acoshl.c: Likewise.
45113 * math/e_acosl.c: Likewise.
45114 * math/e_asinl.c: Likewise.
45115 * math/e_atan2l.c: Likewise.
45116 * math/e_atanhl.c: Likewise.
45117 * math/e_coshl.c: Likewise.
45118 * math/e_expl.c: Likewise.
45119 * math/e_fmodl.c: Likewise.
45120 * math/e_gammal_r.c: Likewise.
45121 * math/e_hypotl.c: Likewise.
45122 * math/e_j0l.c: Likewise.
45123 * math/e_j1l.c: Likewise.
45124 * math/e_jnl.c: Likewise.
45125 * math/e_lgammal_r.c: Likewise.
45126 * math/e_log10l.c: Likewise.
45127 * math/e_log2l.c: Likewise.
45128 * math/e_logl.c: Likewise.
45129 * math/e_powl.c: Likewise.
45130 * math/e_rem_pio2l.c: Likewise.
45131 * math/e_sinhl.c: Likewise.
45132 * math/e_sqrtl.c: Likewise.
45133 * math/fclrexcpt.c: Likewise.
45134 * math/fedisblxcpt.c: Likewise.
45135 * math/feenablxcpt.c: Likewise.
45136 * math/fegetenv.c: Likewise.
45137 * math/fegetexcept.c: Likewise.
45138 * math/fegetround.c: Likewise.
45139 * math/feholdexcpt.c: Likewise.
45140 * math/fesetenv.c: Likewise.
45141 * math/fesetround.c: Likewise.
45142 * math/feupdateenv.c: Likewise.
45143 * math/fgetexcptflg.c: Likewise.
45144 * math/fraiseexcpt.c: Likewise.
45145 * math/fsetexcptflg.c: Likewise.
45146 * math/ftestexcept.c: Likewise.
45147 * math/k_cosl.c: Likewise.
45148 * math/k_rem_pio2l.c: Likewise.
45149 * math/k_sinl.c: Likewise.
45150 * math/k_tanl.c: Likewise.
45151 * math/s_asinhl.c: Likewise.
45152 * math/s_atanl.c: Likewise.
45153 * math/s_cbrtl.c: Likewise.
45154 * math/s_erfl.c: Likewise.
45155 * math/s_expm1l.c: Likewise.
45156 * math/s_log1pl.c: Likewise.
45157 * math/s_tanhl.c: Likewise.
45158 * misc/acct.c: Likewise.
45159 * misc/brk.c: Likewise.
45160 * misc/chflags.c: Likewise.
45161 * misc/chroot.c: Likewise.
45162 * misc/fchflags.c: Likewise.
45163 * misc/fgetxattr.c: Likewise.
45164 * misc/flistxattr.c: Likewise.
45165 * misc/fremovexattr.c: Likewise.
45166 * misc/fsetxattr.c: Likewise.
45167 * misc/fsync.c: Likewise.
45168 * misc/ftruncate.c: Likewise.
45169 * misc/futimes.c: Likewise.
45170 * misc/futimesat.c: Likewise.
45171 * misc/getdomain.c: Likewise.
45172 * misc/getdtsz.c: Likewise.
45173 * misc/gethostid.c: Likewise.
45174 * misc/gethostname.c: Likewise.
45175 * misc/getloadavg.c: Likewise.
45176 * misc/getpagesize.c: Likewise.
45177 * misc/getsysstats.c: Likewise.
45178 * misc/getxattr.c: Likewise.
45179 * misc/gtty.c: Likewise.
45180 * misc/ioctl.c: Likewise.
45181 * misc/lgetxattr.c: Likewise.
45182 * misc/listxattr.c: Likewise.
45183 * misc/llistxattr.c: Likewise.
45184 * misc/lremovexattr.c: Likewise.
45185 * misc/lsetxattr.c: Likewise.
45186 * misc/lutimes.c: Likewise.
45187 * misc/madvise.c: Likewise.
45188 * misc/mincore.c: Likewise.
45189 * misc/mlock.c: Likewise.
45190 * misc/mlockall.c: Likewise.
45191 * misc/mmap.c: Likewise.
45192 * misc/mprotect.c: Likewise.
45193 * misc/msync.c: Likewise.
45194 * misc/munlock.c: Likewise.
45195 * misc/munlockall.c: Likewise.
45196 * misc/munmap.c: Likewise.
45197 * misc/preadv.c: Likewise.
45198 * misc/preadv64.c: Likewise.
45199 * misc/ptrace.c: Likewise.
45200 * misc/pwritev.c: Likewise.
45201 * misc/pwritev64.c: Likewise.
45202 * misc/readv.c: Likewise.
45203 * misc/reboot.c: Likewise.
45204 * misc/remap_file_pages.c: Likewise.
45205 * misc/removexattr.c: Likewise.
45206 * misc/revoke.c: Likewise.
45207 * misc/select.c: Likewise.
45208 * misc/setdomain.c: Likewise.
45209 * misc/setegid.c: Likewise.
45210 * misc/seteuid.c: Likewise.
45211 * misc/sethostid.c: Likewise.
45212 * misc/sethostname.c: Likewise.
45213 * misc/setregid.c: Likewise.
45214 * misc/setreuid.c: Likewise.
45215 * misc/setxattr.c: Likewise.
45216 * misc/sstk.c: Likewise.
45217 * misc/stty.c: Likewise.
45218 * misc/swapoff.c: Likewise.
45219 * misc/swapon.c: Likewise.
45220 * misc/sync.c: Likewise.
45221 * misc/syncfs.c: Likewise.
45222 * misc/syscall.c: Likewise.
45223 * misc/truncate.c: Likewise.
45224 * misc/ualarm.c: Likewise.
45225 * misc/usleep.c: Likewise.
45226 * misc/ustat.c: Likewise.
45227 * misc/utimes.c: Likewise.
45228 * misc/vhangup.c: Likewise.
45229 * misc/writev.c: Likewise.
45230 * posix/_exit.c: Likewise.
45231 * posix/alarm.c: Likewise.
45232 * posix/execve.c: Likewise.
45233 * posix/fexecve.c: Likewise.
45234 * posix/fork.c: Likewise.
45235 * posix/fpathconf.c: Likewise.
45236 * posix/getaddrinfo.c: Likewise.
45237 * posix/getegid.c: Likewise.
45238 * posix/geteuid.c: Likewise.
45239 * posix/getgid.c: Likewise.
45240 * posix/getgroups.c: Likewise.
45241 * posix/getlogin.c: Likewise.
45242 * posix/getlogin_r.c: Likewise.
45243 * posix/getpgid.c: Likewise.
45244 * posix/getpid.c: Likewise.
45245 * posix/getppid.c: Likewise.
45246 * posix/getresgid.c: Likewise.
45247 * posix/getresuid.c: Likewise.
45248 * posix/getsid.c: Likewise.
45249 * posix/getuid.c: Likewise.
45250 * posix/glob64.c: Likewise.
45251 * posix/nanosleep.c: Likewise.
45252 * posix/pathconf.c: Likewise.
45253 * posix/pause.c: Likewise.
45254 * posix/posix_madvise.c: Likewise.
45255 * posix/pread.c: Likewise.
45256 * posix/pread64.c: Likewise.
45257 * posix/pwrite.c: Likewise.
45258 * posix/pwrite64.c: Likewise.
45259 * posix/sched_getaffinity.c: Likewise.
45260 * posix/sched_getp.c: Likewise.
45261 * posix/sched_gets.c: Likewise.
45262 * posix/sched_primax.c: Likewise.
45263 * posix/sched_primin.c: Likewise.
45264 * posix/sched_rr_gi.c: Likewise.
45265 * posix/sched_setaffinity.c: Likewise.
45266 * posix/sched_setp.c: Likewise.
45267 * posix/sched_sets.c: Likewise.
45268 * posix/sched_yield.c: Likewise.
45269 * posix/setgid.c: Likewise.
45270 * posix/setlogin.c: Likewise.
45271 * posix/setpgid.c: Likewise.
45272 * posix/setresgid.c: Likewise.
45273 * posix/setresuid.c: Likewise.
45274 * posix/setsid.c: Likewise.
45275 * posix/setuid.c: Likewise.
45276 * posix/sleep.c: Likewise.
45277 * posix/spawni.c: Likewise.
45278 * posix/sysconf.c: Likewise.
45279 * posix/times.c: Likewise.
45280 * posix/wait.c: Likewise.
45281 * posix/wait3.c: Likewise.
45282 * posix/wait4.c: Likewise.
45283 * posix/waitpid.c: Likewise.
45284 * resolv/gai_sigqueue.c: Likewise.
45285 * resource/getpriority.c: Likewise.
45286 * resource/getrlimit.c: Likewise.
45287 * resource/getrusage.c: Likewise.
45288 * resource/nice.c: Likewise.
45289 * resource/setpriority.c: Likewise.
45290 * resource/setrlimit.c: Likewise.
45291 * resource/ulimit.c: Likewise.
45292 * rt/aio_cancel.c: Likewise.
45293 * rt/aio_fsync.c: Likewise.
45294 * rt/aio_read.c: Likewise.
45295 * rt/aio_sigqueue.c: Likewise.
45296 * rt/aio_suspend.c: Likewise.
45297 * rt/aio_write.c: Likewise.
45298 * rt/clock_getres.c: Likewise.
45299 * rt/clock_gettime.c: Likewise.
45300 * rt/clock_nanosleep.c: Likewise.
45301 * rt/clock_settime.c: Likewise.
45302 * rt/lio_listio.c: Likewise.
45303 * rt/mq_close.c: Likewise.
45304 * rt/mq_getattr.c: Likewise.
45305 * rt/mq_notify.c: Likewise.
45306 * rt/mq_open.c: Likewise.
45307 * rt/mq_receive.c: Likewise.
45308 * rt/mq_send.c: Likewise.
45309 * rt/mq_setattr.c: Likewise.
45310 * rt/mq_timedreceive.c: Likewise.
45311 * rt/mq_timedsend.c: Likewise.
45312 * rt/mq_unlink.c: Likewise.
45313 * rt/shm_open.c: Likewise.
45314 * rt/shm_unlink.c: Likewise.
45315 * rt/timer_create.c: Likewise.
45316 * rt/timer_delete.c: Likewise.
45317 * rt/timer_getoverr.c: Likewise.
45318 * rt/timer_gettime.c: Likewise.
45319 * rt/timer_settime.c: Likewise.
45320 * setjmp/__longjmp.c: Likewise.
45321 * setjmp/setjmp.c: Likewise.
45322 * signal/kill.c: Likewise.
45323 * signal/killpg.c: Likewise.
45324 * signal/raise.c: Likewise.
45325 * signal/sigaction.c: Likewise.
45326 * signal/sigaltstack.c: Likewise.
45327 * signal/sigblock.c: Likewise.
45328 * signal/sigignore.c: Likewise.
45329 * signal/sigintr.c: Likewise.
45330 * signal/signal.c: Likewise.
45331 * signal/sigpause.c: Likewise.
45332 * signal/sigpending.c: Likewise.
45333 * signal/sigqueue.c: Likewise.
45334 * signal/sigreturn.c: Likewise.
45335 * signal/sigset.c: Likewise.
45336 * signal/sigsetmask.c: Likewise.
45337 * signal/sigstack.c: Likewise.
45338 * signal/sigsuspend.c: Likewise.
45339 * signal/sigtimedwait.c: Likewise.
45340 * signal/sigvec.c: Likewise.
45341 * signal/sigwait.c: Likewise.
45342 * signal/sigwaitinfo.c: Likewise.
45343 * signal/sysv_signal.c: Likewise.
45344 * socket/accept.c: Likewise.
45345 * socket/accept4.c: Likewise.
45346 * socket/bind.c: Likewise.
45347 * socket/connect.c: Likewise.
45348 * socket/getpeername.c: Likewise.
45349 * socket/getsockname.c: Likewise.
45350 * socket/getsockopt.c: Likewise.
45351 * socket/isfdtype.c: Likewise.
45352 * socket/listen.c: Likewise.
45353 * socket/recv.c: Likewise.
45354 * socket/recvfrom.c: Likewise.
45355 * socket/recvmsg.c: Likewise.
45356 * socket/send.c: Likewise.
45357 * socket/sendmsg.c: Likewise.
45358 * socket/sendto.c: Likewise.
45359 * socket/setsockopt.c: Likewise.
45360 * socket/shutdown.c: Likewise.
45361 * socket/sockatmark.c: Likewise.
45362 * socket/socket.c: Likewise.
45363 * socket/socketpair.c: Likewise.
45364 * stdio-common/ctermid.c: Likewise.
45365 * stdio-common/cuserid.c: Likewise.
45366 * stdio-common/remove.c: Likewise.
45367 * stdio-common/rename.c: Likewise.
45368 * stdio-common/renameat.c: Likewise.
45369 * stdio-common/tempname.c: Likewise.
45370 * stdlib/getcontext.c: Likewise.
45371 * stdlib/makecontext.c: Likewise.
45372 * stdlib/setcontext.c: Likewise.
45373 * stdlib/swapcontext.c: Likewise.
45374 * stdlib/system.c: Likewise.
45375 * streams/fattach.c: Likewise.
45376 * streams/fdetach.c: Likewise.
45377 * streams/getmsg.c: Likewise.
45378 * streams/getpmsg.c: Likewise.
45379 * streams/putmsg.c: Likewise.
45380 * streams/putpmsg.c: Likewise.
45381 * sysdeps/unix/bsd/getpt.c: Likewise.
45382 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
45383 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
45384 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
45385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
45386 Likewise.
45387 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
45388 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
45389 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
45390 * sysvipc/msgctl.c: Likewise.
45391 * sysvipc/msgget.c: Likewise.
45392 * sysvipc/msgrcv.c: Likewise.
45393 * sysvipc/msgsnd.c: Likewise.
45394 * sysvipc/semctl.c: Likewise.
45395 * sysvipc/semget.c: Likewise.
45396 * sysvipc/semop.c: Likewise.
45397 * sysvipc/semtimedop.c: Likewise.
45398 * sysvipc/shmat.c: Likewise.
45399 * sysvipc/shmctl.c: Likewise.
45400 * sysvipc/shmdt.c: Likewise.
45401 * sysvipc/shmget.c: Likewise.
45402 * termios/tcdrain.c: Likewise.
45403 * termios/tcflow.c: Likewise.
45404 * termios/tcflush.c: Likewise.
45405 * termios/tcgetattr.c: Likewise.
45406 * termios/tcgetpgrp.c: Likewise.
45407 * termios/tcsendbrk.c: Likewise.
45408 * termios/tcsetattr.c: Likewise.
45409 * termios/tcsetpgrp.c: Likewise.
45410 * time/adjtime.c: Likewise.
45411 * time/clock.c: Likewise.
45412 * time/getitimer.c: Likewise.
45413 * time/gettimeofday.c: Likewise.
45414 * time/setitimer.c: Likewise.
45415 * time/settimeofday.c: Likewise.
45416 * time/stime.c: Likewise.
45417 * time/time.c: Likewise.
45418
45419 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
45420
45421 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
45422 /usr/old/bin.
45423
45424 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
45425 instead of spaces.
45426 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
45427
45428 2012-11-03 Joseph Myers <joseph@codesourcery.com>
45429
45430 [BZ #14796]
45431 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
45432 FE_TONEAREST before applying Dekker multiplication and Knuth
45433 addition. Clear inexact exceptions and check for exact zero
45434 results afterwards.
45435 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
45436 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
45437 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
45438 * math/libm-test.inc (fma_test): Add more tests.
45439 (fma_test_towardzero): Likewise.
45440 (fma_test_downward): Likewise.
45441 (fma_test_upward): Likewise.
45442 * sysdeps/generic/math_private.h (default_libc_fesetround): New
45443 function.
45444 (libc_fesetround): New macro.
45445 (libc_fesetroundf): Likewise.
45446 (libc_fesetroundl): Likewise.
45447 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
45448 function.
45449 (libc_fesetround_387): Likewise.
45450 (libc_fesetroundf): New macro.
45451 (libc_fesetround): Likewise.
45452 (libc_fesetroundl): Likewise.
45453 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
45454 function.
45455 (libc_fesetroundf): New macro.
45456 (libc_fesetround): Likewise.
45457 (libc_fesetroundl): Likewise.
45458 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
45459 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
45460 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
45461 libm_hidden_ver.
45462 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
45463 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
45464 libm_hidden_def.
45465 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
45466 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
45467 libm_hidden_ver.
45468 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
45469 libm_hidden_def.
45470
45471 [BZ #3439]
45472 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
45473 integer constant usable in #if and use that to give value to enum
45474 constant.
45475 (FE_DIVBYZERO): Likewise.
45476 (FE_UNDERFLOW): Likewise.
45477 (FE_OVERFLOW): Likewise.
45478 (FE_INVALID): Likewise.
45479 (FE_INVALID_SNAN): Likewise.
45480 (FE_INVALID_ISI): Likewise.
45481 (FE_INVALID_IDI): Likewise.
45482 (FE_INVALID_ZDZ): Likewise.
45483 (FE_INVALID_IMZ): Likewise.
45484 (FE_INVALID_COMPARE): Likewise.
45485 (FE_INVALID_SOFTWARE): Likewise.
45486 (FE_INVALID_SQRT): Likewise.
45487 (FE_INVALID_INTEGER_CONVERSION): Likewise.
45488 (FE_TONEAREST): Likewise.
45489 (FE_TOWARDZERO): Likewise.
45490 (FE_UPWARD): Likewise.
45491 (FE_DOWNWARD): Likewise.
45492 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
45493 (FE_DIVBYZERO): Likewise.
45494 (FE_OVERFLOW): Likewise.
45495 (FE_UNDERFLOW): Likewise.
45496 (FE_INEXACT): Likewise.
45497 (FE_TONEAREST): Likewise.
45498 (FE_DOWNWARD): Likewise.
45499 (FE_UPWARD): Likewise.
45500 (FE_TOWARDZERO): Likewise.
45501 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
45502 (FE_UNDERFLOW): Likewise.
45503 (FE_OVERFLOW): Likewise.
45504 (FE_DIVBYZERO): Likewise.
45505 (FE_INVALID): Likewise.
45506 (FE_TONEAREST): Likewise.
45507 (FE_TOWARDZERO): Likewise.
45508 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
45509 (FE_OVERFLOW): Likewise.
45510 (FE_UNDERFLOW): Likewise.
45511 (FE_DIVBYZERO): Likewise.
45512 (FE_INEXACT): Likewise.
45513 (FE_TONEAREST): Likewise.
45514 (FE_TOWARDZERO): Likewise.
45515 (FE_UPWARD): Likewise.
45516 (FE_DOWNWARD): Likewise.
45517 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
45518 (FE_DIVBYZERO): Likewise.
45519 (FE_OVERFLOW): Likewise.
45520 (FE_UNDERFLOW): Likewise.
45521 (FE_INEXACT): Likewise.
45522 (FE_TONEAREST): Likewise.
45523 (FE_DOWNWARD): Likewise.
45524 (FE_UPWARD): Likewise.
45525 (FE_TOWARDZERO): Likewise.
45526
45527 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
45528
45529 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
45530
45531 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
45532
45533 * scripts/cross-test-ssh.sh (command): Use newlines to separate
45534 commands. Quote $PWD.
45535 (blacklist_exports): Don't use remove_newlines. Replace "declare
45536 -x" by "export".
45537 (remove_newlines): Remove.
45538
45539 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
45540
45541 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
45542 * stdlib/stdlib.h (atof): Moved to ...
45543 * include/bits/stdlib-float.h: Here. New file.
45544 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
45545 * stdlib/bits/stdlib-float.h: New file.
45546 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
45547 -mno-sse -mno-mmx.
45548 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
45549 <xmmintrin.h>.
45550
45551 2012-11-02 Joseph Myers <joseph@codesourcery.com>
45552
45553 * conform/conformtest.pl (@headers): Add fenv.h.
45554 * conform/data/fenv.h-data: New file.
45555 * include/fenv.h [_ISOMAC]: Disable all contents of file except
45556 include of <math/fenv.h>.
45557
45558 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
45559 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
45560 && !UNIX98]. Enables tests for XOPEN2K8.
45561 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
45562 POSIX2008]: Likewise.
45563
45564 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
45565 (struct rusage): Do not expect type or its members.
45566
45567 [BZ #3439]
45568 * math/math.h (FP_NAN): Define macro to integer constant usable in
45569 #if and use that to give value to enum constant.
45570 (FP_INFINITE): Likewise.
45571 (FP_ZERO): Likewise.
45572 (FP_SUBNORMAL): Likewise.
45573 (FP_NORMAL): Likewise.
45574
45575 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
45576
45577 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
45578 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
45579 arguments.
45580
45581 2012-11-02 Roland McGrath <roland@hack.frob.com>
45582
45583 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
45584 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
45585 autoconf-time if not.
45586 * configure.in: Remove AC_PREREQ.
45587
45588 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
45589
45590 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
45591 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
45592 of the internal implementation.
45593
45594 2012-11-02 Joseph Myers <joseph@codesourcery.com>
45595
45596 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
45597 except include of <misc/sys/syslog.h>.
45598
45599 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
45600
45601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
45602 function returns with a NULL context exit with zero.
45603
45604 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
45605
45606 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
45607
45608 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
45609
45610 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
45611 (run_program_cmd): This.
45612 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
45613 (tst_langinfo): New variable. Use it.
45614
45615 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
45616
45617 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
45618 floating point opcodes.
45619
45620 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
45621
45622 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
45623 variable.
45624
45625 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
45626
45627 * sysdeps/mach/hurd/powerpc: Remove directory.
45628 * sysdeps/mach/powerpc: Likewise.
45629
45630 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
45631
45632 * scripts/check-local-headers.sh: Ignore c++ headers.
45633
45634 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
45635
45636 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
45637 __libc_cleanup_region_start argument.
45638
45639 2012-11-01 Joseph Myers <joseph@codesourcery.com>
45640
45641 [BZ #14784]
45642 [BZ #14785]
45643 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
45644 x * y using scaling, not as x * y + z.
45645 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
45646 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
45647 * math/libm-test.inc (fma_test): Add more tests.
45648 (fma_test_towardzero): Likewise.
45649 (fma_test_downward): Likewise.
45650 (fma_test_upward): Likewise.
45651
45652 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
45653
45654 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
45655
45656 2012-10-31 Joseph Myers <joseph@codesourcery.com>
45657
45658 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
45659 New variable.
45660
45661 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
45662
45663 * rt/tst-shm.c (worker): Correct checking for mmap failure.
45664
45665 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
45666
45667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45668 Fix sort order.
45669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
45670 Likewise.
45671
45672 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
45673
45674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45675 Fix the order of the list for glibc 2.17.
45676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
45677 Likewise.
45678
45679 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
45680
45681 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45682
45683 2012-10-31 Joseph Myers <joseph@codesourcery.com>
45684
45685 [BZ #14610]
45686 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
45687 for low part of x being zero before using __atanl (y).
45688 * math/libm-test.inc (atan2_test): Add another test.
45689
45690 * manual/install.texi (Configuring and compiling): Document
45691 general use of test-wrapper and test-wrapper-env.
45692 * INSTALL: Regenerated.
45693
45694 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
45695 (__fma): Do not extract and scale down low bits on after-rounding
45696 systems when result rounded to normal precision would have normal
45697 exponent.
45698 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
45699 (__fmal): Do not extract and scale down low bits on after-rounding
45700 systems when result rounded to normal precision would have normal
45701 exponent.
45702 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
45703 (__fmal): Do not extract and scale down low bits on after-rounding
45704 systems when result rounded to normal precision would have normal
45705 exponent.
45706 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
45707 macro.
45708 (fma_test): Add more tests.
45709 (fma_test_towardzero): Likewise.
45710 (fma_test_downward): Likewise.
45711 (fma_test_upward): Likewise.
45712
45713 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
45714
45715 * sysdeps/i386/tininess.h: Renamed to ...
45716 * sysdeps/x86/tininess.h: This.
45717 * sysdeps/x86_64/tininess.h: Removed.
45718
45719 2012-10-30 Joseph Myers <joseph@codesourcery.com>
45720
45721 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
45722 input. Use $(build-program-cmd).
45723 ($(objpfx)tst-array1-static.out): Likewise.
45724 ($(objpfx)tst-array2.out): Likewise.
45725 ($(objpfx)tst-array3.out): Likewise.
45726 ($(objpfx)tst-array4.out): Likewise.
45727 ($(objpfx)tst-array5.out): Likewise.
45728 ($(objpfx)tst-array5-static.out): Likewise.
45729
45730 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
45731
45732 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
45733 if defined.
45734
45735 * nss/nsswitch.h (nss_interface_function): Provide new
45736 macro for use with NSS functions.
45737 * grp/initgroups.c: Use new macro.
45738 * nss/getXXbyYY.c: Likewise.
45739 * nss/getXXbyYY_r.c: Likewise.
45740 * nss/getXXent.c: Likewise.
45741 * nss/getXXent_r.c: Likewise.
45742 * sysdeps/posix/getaddrinfo.c: Likewise.
45743
45744 2012-10-30 Andreas Jaeger <aj@suse.de>
45745
45746 * po/ru.po: Update Russion translation from translation project.
45747
45748 2012-10-30 Joseph Myers <joseph@codesourcery.com>
45749
45750 [BZ #14152]
45751 [BZ #14783]
45752 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
45753 result and shift together with sticky bit instead of replicating
45754 round-to-nearest rounding.
45755 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
45756 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
45757 * math/libm-test.inc (fma_test): Add more tests. Do not permit
45758 missing underflow exceptions.
45759 (fma_test_towardzero): Add more tests.
45760 (fma_test_downward): Likewise.
45761 (fma_test_upward): Likewise.
45762
45763 [BZ #14047]
45764 * sysdeps/generic/tininess.h: New file.
45765 * sysdeps/i386/tininess.h: Likewise.
45766 * sysdeps/sh/tininess.h: Likewise.
45767 * sysdeps/x86_64/tininess.h: Likewise.
45768 * stdlib/tst-strtod-underflow.c: Likewise.
45769 * stdlib/tst-tininess.c: Likewise.
45770 * stdlib/strtod_l.c: Include <tininess.h>.
45771 (round_and_return): Do not set errno for exact underflow cases.
45772 Force an underflow exception when setting errno for underflow.
45773 Determine underflow based on rounding to normal precision if
45774 TININESS_AFTER_ROUNDING.
45775 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
45776 ERANGE for exact underflow cases.
45777 * stdlib/Makefile (tests): Add tst-tininess and
45778 tst-strtod-underflow.
45779 ($(objpfx)tst-tininess): Use $(link-libm).
45780 ($(objpfx)tst-strtod-underflow): Likewise.
45781
45782 2012-10-30 Andreas Jaeger <aj@suse.de>
45783
45784 [BZ#14767]
45785 * elf/Makefile (tests): Remove conditional for have-initfini-array
45786 since this is now always required and the variable does not exist
45787 anymore.
45788 (tests-static): Likewise.
45789 (modules-names): Likewise.
45790
45791 * po/eo.po: Add Esperanto translation from translation project.
45792
45793 * elf/tst-array1.c (fini_array): Make writeable so that it can be
45794 merged with constructor/destructor.
45795 (init_array): Likewise.
45796 * elf/tst-array2dep.c (fini_array): Likewise.
45797 (init_array): Likewise.
45798
45799 2012-10-29 Mike Frysinger <vapier@gentoo.org>
45800
45801 * manual/message.texi: Delete @cartouche tags.
45802
45803 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
45804
45805 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
45806 EOPNOTSUPP.
45807 * sysdeps/mach/hurd/fsync.c: Likewise.
45808
45809 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
45810 [_POSIX_REALTIME_SIGNALS]: Change condition to
45811 [_POSIX_REALTIME_SIGNALS > 0].
45812
45813 2012-10-27 Andreas Jaeger <aj@suse.de>
45814
45815 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
45816 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
45817 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
45818 [__WORDSIZE != 64]: Likewise.
45819
45820 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
45821
45822 * iconvdata/tst-table.sh: Remove ${SHELL}.
45823 * iconvdata/tst-tables.sh: Likewise.
45824
45825 2012-10-25 David S. Miller <davem@davemloft.net>
45826
45827 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
45828 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
45829 of strtoull.
45830
45831 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
45832 ifunc-impl-list.c
45833 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45834 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
45835 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
45836 file.
45837
45838 2012-10-25 Roland McGrath <roland@hack.frob.com>
45839
45840 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
45841 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
45842 __getdirentries.
45843
45844 2012-10-25 Joseph Myers <joseph@codesourcery.com>
45845 Jim Blandy <jimb@codesourcery.com>
45846
45847 * scripts/cross-test-ssh.sh: New file.
45848 * manual/install.texi (Configuring and compiling): Document use of
45849 cross-test-ssh.sh.
45850 * INSTALL: Regenerated.
45851
45852 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
45853
45854 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
45855 EOPNOTSUPP.
45856
45857 2012-10-25 Joseph Myers <joseph@codesourcery.com>
45858
45859 * Makeconfig (run-program-prefix): Fix comment.
45860
45861 2012-10-24 Joseph Myers <joseph@codesourcery.com>
45862 Jim Blandy <jimb@codesourcery.com>
45863
45864 * Makeconfig (test-wrapper): New variable,
45865 (test-wrapper-env): Likewise.
45866 [$(cross-compiling) = yes && $(test-wrapper) != ""]
45867 (run-built-tests): Define to yes.
45868 (run-program-prefix): Use $(test-wrapper).
45869 (built-program-cmd): Likewise.
45870 * Rules (make-test-out): Use $(test-wrapper-env) and
45871 $(host-built-program-cmd).
45872 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
45873 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
45874 tst-pathopt.sh.
45875 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
45876 $(test-wrapper-env) to tst-rtld-load-self.sh.
45877 ($(objpfx)order2.out): Use $(test-wrapper).
45878 ($(objpfx)tst-initorder.out): Likewise.
45879 ($(objpfx)tst-initorder2.out): Likewise.
45880 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
45881 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
45882 (test_wrapper_env): New variable. Use it to run ld.so.
45883 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
45884 Use it to run ld.so.
45885 (test_wrapper_env): Likewise.
45886 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
45887 $(test-wrapper) to run-iconv-test.sh.
45888 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
45889 (ICONV): Use $test_wrapper.
45890 * posix/Makefile ($(objpfx)globtest.out): Pass
45891 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
45892 globtest.sh, not $(run-program-prefix).
45893 * posix/globtest.sh (run_via_rtld_prefix): New variable.
45894 (test_wrapper): Likewise.
45895 (test_wrapper_env): Likewise. Use it to run globtest with HOME
45896 set together with run_via_rtld_prefix.
45897 (run_program_prefix): Define in terms of test_wrapper and
45898 run_via_rtld_prefix.
45899
45900 2012-10-24 Roland McGrath <roland@hack.frob.com>
45901
45902 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
45903 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
45904 Targets removed.
45905
45906 [BZ #14743]
45907 * include/time.h: Remove librt_hidden_proto (clock_gettime).
45908 Declare __clock_getres, __clock_gettime, __clock_settime,
45909 __clock_nanosleep, and __clock_getcpuclockid.
45910 * rt/clock_gettime.c: Define __clock_gettime as an alias.
45911 Remove librt_hidden_def (clock_gettime).
45912 * sysdeps/unix/clock_gettime.c: Likewise.
45913 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
45914 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
45915 * rt/clock_getres.c: Define __clock_getres as an alias.
45916 * sysdeps/posix/clock_getres.c: Likewise.
45917 * rt/clock_settime.c: Define __clock_settime as an alias.
45918 * sysdeps/unix/clock_settime.c: Likewise.
45919 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
45920 * sysdeps/unix/clock_nanosleep.c: Likewise.
45921 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
45922 * rt/clock-compat.c: New file.
45923 * rt/Makefile (librt-routines): Add clock-compat and move
45924 $(clock-routines) to ...
45925 (routines): ... here, new variable.
45926 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
45927 Don't add get_clockfreq here.
45928 * rt/Versions (libc: GLIBC_2.17): New version set.
45929 Add clock_* symbols here.
45930 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
45931 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
45932 (GLIBC_2.17): Add clock_* symbols.
45933 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
45934 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
45935 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
45936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
45937 Likewise.
45938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45939 Likewise.
45940 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
45941 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
45942 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
45943 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
45944 * NEWS: Mention the move.
45945
45946 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
45947 Use __open, __read, __close rather than their public counterparts.
45948 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
45949 (__get_clockfreq_via_cpuinfo): Likewise.
45950 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
45951 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
45952
45953 * config.h.in (HAVE_IFUNC): New #undef.
45954 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
45955 was successful.
45956 * configure: Regenerated.
45957
45958 2012-10-24 Mike Frysinger <vapier@gentoo.org>
45959
45960 * configure.in: Move READELF check to start of file.
45961 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
45962 libc_cv_asm_gnu_indirect_function in the process.
45963 * configure: Regenerated.
45964
45965 2012-10-24 Mike Frysinger <vapier@gentoo.org>
45966
45967 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
45968 send the output to /dev/null.
45969 (libc_cv_cc_with_libunwind): Likewise.
45970 (libc_cv_as_noexecstack): Likewise.
45971 * configure: Regenerate.
45972
45973 2012-10-24 Joseph Myers <joseph@codesourcery.com>
45974
45975 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
45976
45977 * posix/globtest.sh (TMPDIR): Do not set.
45978 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
45979 (testout): Likewise.
45980
45981 2012-10-24 Andreas Jaeger <aj@suse.de>
45982
45983 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
45984 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
45985 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
45986 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
45987 posix_fadvise64, posix_fallocate64.
45988
45989 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
45990 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
45991 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
45992 Likewise.
45993 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
45994 Likewise.
45995 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
45996
45997 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
45998 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
45999 <bits/fcntl-linux.h>.
46000 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
46001
46002 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
46003 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
46004 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
46005 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
46006 [__WORDSIZE != 64]: Likewise.
46007
46008 2012-10-23 Joseph Myers <joseph@codesourcery.com>
46009
46010 * Makeconfig (run-built-tests): New variable.
46011 * Rules [$(cross-compiling) = yes]: Change condition to
46012 [$(run-built-tests) = no].
46013 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
46014 to [$(run-built-tests) = yes].
46015 * elf/Makefile [$(cross-compiling) = no]: Likewise
46016 * grp/Makefile [$(cross-compiling) = no]: Likewise.
46017 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
46018 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
46019 * intl/Makefile [$(cross-compiling) = no]: Likewise.
46020 * io/Makefile [$(cross-compiling) = no]: Likewise.
46021 * libio/Makefile [$(cross-compiling) = no]: Likewise.
46022 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
46023 * misc/Makefile [$(cross-compiling) = no]: Likewise.
46024 * posix/Makefile [$(cross-compiling) = no]: Likewise.
46025 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
46026 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
46027 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
46028 * string/Makefile [$(cross-compiling) = no]: Likewise.
46029
46030 * posix/Makefile ($(objpfx)globtest.out): Pass
46031 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
46032 $(rtld-installed-name).
46033 * posix/globtest.sh (elf_objpfx): Remove variable.
46034 (rtld_installed_name): Likewise.
46035 (library_path): Likewise.
46036 (run_program_prefix): New variable. Use for running globtest
46037 binary.
46038
46039 2012-10-23 Jim Blandy <jimb@codesourcery.com>
46040 Joseph Myers <joseph@codesourcery.com>
46041
46042 * Makeconfig (host-built-program-cmd): New variable.
46043 * elf/Makefile (tst-stackguard1-ARGS): Use
46044 $(host-built-program-cmd).
46045 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
46046 (tst-spawn-ARGS): Likewise.
46047 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
46048
46049 2012-10-23 Joseph Myers <joseph@codesourcery.com>
46050 Jim Blandy <jimb@codesourcery.com>
46051
46052 * Makeconfig (run-via-rtld-prefix): New variable.
46053 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
46054 (built-program-cmd): Likewise.
46055
46056 2012-10-22 Andreas Jaeger <aj@suse.de>
46057
46058 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
46059 __O_RSYNC if it exists, otherwise to O_SYNC.
46060
46061 2012-10-22 Jim Blandy <jimb@codesourcery.com>
46062 Joseph Myers <joseph@codesourcery.com>
46063
46064 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
46065 /dev/null.
46066 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
46067 from /dev/null
46068 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
46069 /dev/null.
46070
46071 2012-10-22 Andreas Jaeger <aj@suse.de>
46072
46073 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
46074 Define always.
46075 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
46076
46077 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46078 bits/fcntl-linux.h.
46079
46080 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
46081 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
46082
46083 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
46084 to __O_LARGEFILE.
46085 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
46086 to __O_LARGEFILE.
46087
46088 2012-10-21 Jim Blandy <jimb@codesourcery.com>
46089 Joseph Myers <joseph@codesourcery.com>
46090
46091 * config.make.in (NM): New variable.
46092
46093 2012-10-21 Andreas Jaeger <aj@suse.de>
46094
46095 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
46096 definitions and declarations that are provided by
46097 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
46098
46099 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
46100
46101 [BZ #14683]
46102 * elf/Makefile (tests-static): Add tst-leaks1-static.
46103 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
46104 ($(objpfx)tst-leaks1-static): New rule.
46105 ($(objpfx)tst-leaks1-static-mem): Likewise.
46106 (tst-leaks1-static-ENV): New macro.
46107 * elf/dl-open.c (dl_open_worker): Check the main application
46108 only if SHARED is defined.
46109 * elf/tst-leaks1-static.c: New file.
46110
46111 2012-10-20 Andreas Jaeger <aj@suse.de>
46112
46113 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
46114 generic values for Linux.
46115 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
46116 and declarations that are provided by <bits/fcntl-linux.h> and
46117 include <bits/fcntl-linux.h>.
46118 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46119 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46120
46121 2012-10-20 Roland McGrath <roland@hack.frob.com>
46122
46123 * io/fcntl.h: Move include of <bits/types.h> to the top and
46124 include it unconditionally.
46125
46126 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
46127
46128 * wcsmbs/Makefile (tests-ifunc): New variable.
46129 (tests): Add $(tests-ifunc).
46130 * wcsmbs/test-wcschr-ifunc.c: New file.
46131 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
46132 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
46133 * wcsmbs/test-wcslen-ifunc.c: Likewise.
46134 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
46135 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
46136
46137 * string/Makefile (tests-ifunc): New variable.
46138 (tests): Add $(tests-ifunc).
46139 * string/test-memccpy.c (TEST_NAME): New macro.
46140 * string/test-memchr.c (TEST_NAME): Likewise.
46141 * string/test-memcmp.c (TEST_NAME): Likewise.
46142 * string/test-memcpy.c (TEST_NAME): Likewise.
46143 * string/test-memmem.c (TEST_NAME): Likewise.
46144 * string/test-memmove.c (TEST_NAME): Likewise.
46145 * string/test-memset.c (TEST_NAME): Likewise.
46146 * string/test-rawmemchr.c (TEST_NAME): Likewise.
46147 * string/test-stpcpy.c (TEST_NAME): Likewise.
46148 * string/test-stpncpy.c (TEST_NAME): Likewise.
46149 * string/test-strcasecmp.c (TEST_NAME): Likewise.
46150 * string/test-strcasestr.c (TEST_NAME): Likewise.
46151 * string/test-strcat.c (TEST_NAME): Likewise.
46152 * string/test-strchr.c (TEST_NAME): Likewise.
46153 * string/test-strcmp.c(TEST_NAME): Likewise.
46154 * string/test-strcpy.c (TEST_NAME): Likewise.
46155 * string/test-strcspn.c (TEST_NAME): Likewise.
46156 * string/test-strlen.c (TEST_NAME): Likewise.
46157 * string/test-strncasecmp.c (TEST_NAME): Likewise.
46158 * string/test-strncmp.c (TEST_NAME): Likewise.
46159 * string/test-strncpy.c (TEST_NAME): Likewise.
46160 * string/test-strnlen.c (TEST_NAME): Likewise.
46161 * string/test-strpbrk.c (TEST_NAME): Likewise.
46162 * string/test-strrchr.c (TEST_NAME): Likewise.
46163 * string/test-strspn.c (TEST_NAME): Likewise.
46164 * string/test-strstr.c (TEST_NAME): Likewise.
46165 * string/test-bcopy-ifunc.c: New file.
46166 * string/test-bzero-ifunc.c: Likewise.
46167 * string/test-memccpy-ifunc.c: Likewise.
46168 * string/test-memchr-ifunc.c: Likewise.
46169 * string/test-memcmp-ifunc.c: Likewise.
46170 * string/test-memcpy-ifunc.c: Likewise.
46171 * string/test-memmem-ifunc.c: Likewise.
46172 * string/test-memmove-ifunc.c: Likewise.
46173 * string/test-mempcpy-ifunc.c: Likewise.
46174 * string/test-memset-ifunc.c: Likewise.
46175 * string/test-rawmemchr-ifunc.c: Likewise.
46176 * string/test-stpcpy-ifunc.c: Likewise.
46177 * string/test-stpncpy-ifunc.c: Likewise.
46178 * string/test-strcasecmp-ifunc.c: Likewise.
46179 * string/test-strcasestr-ifunc.c: Likewise.
46180 * string/test-strcat-ifunc.c: Likewise.
46181 * string/test-strchr-ifunc.c: Likewise.
46182 * string/test-strchrnul-ifunc.c: Likewise.
46183 * string/test-strcmp-ifunc.c: Likewise.
46184 * string/test-strcpy-ifunc.c: Likewise.
46185 * string/test-strcspn-ifunc.c: Likewise.
46186 * string/test-strlen-ifunc.c: Likewise.
46187 * string/test-strncasecmp-ifunc.c: Likewise.
46188 * string/test-strncat-ifunc.c: Likewise.
46189 * string/test-strncmp-ifunc.c: Likewise.
46190 * string/test-strncpy-ifunc.c: Likewise.
46191 * string/test-strnlen-ifunc.c: Likewise.
46192 * string/test-strpbrk-ifunc.c: Likewise.
46193 * string/test-strrchr-ifunc.c: Likewise.
46194 * string/test-strspn-ifunc.c: Likewise.
46195 * string/test-strstr-ifunc.c: Likewise.
46196
46197 * debug/Makefile (tests-ifunc): New variable.
46198 (tests): Add $(tests-ifunc).
46199 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
46200 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
46201 * debug/test-stpcpy_chk-ifunc.c: New file.
46202 * debug/test-strcpy_chk-ifunc.c: Likewise.
46203
46204 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
46205
46206 [BZ #13601]
46207 * elf/dl-load.c (open_verify): Retry read if the entire ELF
46208 header is not read in.
46209
46210 2012-10-19 Joseph Myers <joseph@codesourcery.com>
46211
46212 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
46213 script to $(SHELL) as $<. Pass $(common-objpfx) to script
46214 directly. Pass built executable to script as
46215 $(built-program-cmd).
46216 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
46217 $testprogram without using LD_LIBRARY_PATH and $ldso.
46218
46219 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
46220 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
46221 $(rtld-installed-name).
46222 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
46223 (rtld_installed_name): Likewise.
46224 (library_path): Likewise.
46225 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
46226 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
46227 $(run-program-prefix) to tst-tables.sh.
46228 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
46229 it to run tst-table-from and tst-table-to.
46230 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
46231 Pass it to tst-table.sh.
46232 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
46233 $(run-program-prefix) to tst-gettext.sh.
46234 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
46235 tst-translit.sh.
46236 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
46237 tst-gettext2.sh.
46238 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
46239 to run tst-gettext.
46240 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
46241 to run tst-gettext2.
46242 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
46243 to run tst-translit.
46244 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
46245 $(run-program-prefix) to tst-mtrace.sh.
46246 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
46247 to run tst-mtrace.
46248 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
46249 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
46250 $(rtld-installed-name).
46251 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
46252 (rtld_installed_name): Likewise.
46253 (run_program_prefix): New variable. Use it to run wordexp-test.
46254
46255 * Makeconfig (ARCH): Remove all definitions.
46256 (machine): Likewise.
46257 [ARCH]: Remove conditional code.
46258 [!objdir]: Give error.
46259 [!objdir] (objpfx): Remove.
46260 [!objdir] (common-objpfx): Likewise.
46261 [!objdir] (common-objdir): Likewise.
46262 * configure.in (config_makefile): Remove. Hardcode Makefile in
46263 AC_CONFIG_FILES call.
46264 * configure: Regenerated.
46265
46266 [BZ #13888]
46267 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
46268 or TMPDIR.
46269 (testout): Likewise.
46270
46271 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
46272 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
46273 $(rtld-installed-name).
46274 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
46275 (rtld_installed_name): Likwise.
46276 (runit): Remove function.
46277 (run_getconf): New variable, Use it for running getconf binary.
46278
46279 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
46280
46281 [BZ #14716]
46282 * string/test-memmem.c (check_result): New function.
46283 (do_one_test): Use it.
46284 (check1): New function.
46285 (test_main): Use it.
46286
46287 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
46288
46289 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
46290
46291 2012-10-18 Joseph Myers <joseph@codesourcery.com>
46292
46293 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
46294 (_G_LSEEK64): Likewise.
46295 (_G_MMAP64): Likewise.
46296 (_G_FSTAT64): Likewise.
46297 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
46298 (_G_LSEEK64): Likewise.
46299 (_G_MMAP64): Likewise.
46300 (_G_FSTAT64): Likewise.
46301 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
46302 unconditional. Call __mmap64 directly.
46303 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
46304 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
46305 __lseek64 directly.
46306 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
46307 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
46308 __mmap64 directly.
46309 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
46310 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
46311 __lseek64 directly.
46312 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
46313 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
46314 __lseek64 directly.
46315 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
46316 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
46317 __lseek64 directly.
46318 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
46319 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
46320 __fxstat64 directly.
46321 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
46322 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
46323 unconditional.
46324 (freopen64) [!_G_OPEN64]: Remove conditional code.
46325 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
46326 unconditional.
46327 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
46328 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
46329 unconditional.
46330 (ftello64) [!_G_LSEEK64]: Remove conditional code.
46331 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
46332 unconditional.
46333 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
46334 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
46335 unconditional.
46336 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
46337 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
46338 unconditional.
46339 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
46340 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
46341 unconditional.
46342 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
46343 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
46344 unconditional.
46345 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
46346
46347 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
46348
46349 [BZ #12140]
46350 * manual/memory.texi (Malloc Tunable Parameters): Add note
46351 about free list pointers overwriting some perturb bytes.
46352 Wording suggested by Roland McGrath.
46353
46354 2012-10-17 Joseph Myers <joseph@codesourcery.com>
46355
46356 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
46357 (lgamma_test): Likewise.
46358 (tgamma_test): Likewise.
46359
46360 2012-10-16 Florian Weimer <fweimer@redhat.com>
46361
46362 [BZ #14700]
46363 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
46364 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
46365
46366 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
46367
46368 * NEWS: Mention BZ #14716.
46369 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
46370 when removing AVAILABLE1_USES_J macro.
46371
46372 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
46373
46374 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
46375 (__bswap_64): __uint64_t for unsigned 64-bit int.
46376
46377 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
46378
46379 * include/string.h (memmem): Declare libc hidden alias.
46380 * string/memmem.c (memmem): Define libc hidden alias.
46381 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
46382 __read, __close instead of open, read, close.
46383
46384 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
46385
46386 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
46387 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
46388 global and hidden.
46389 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
46390 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
46391 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
46392 Likewise.
46393 (__rawmemchr_sse2): Likewise.
46394 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
46395 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
46396 (__strchr_sse2): Likewise.
46397 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
46398 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
46399 (__strcasecmp_sse2): Likewise.
46400 (__strncasecmp_sse2): Likewise.
46401 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
46402 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
46403 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
46404 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
46405 (__strrchr_sse2): Likewise.
46406 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
46407 ifunc-impl-list.c.
46408 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
46409 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
46410 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
46411 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
46412 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
46413 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
46414 * sysdeps/x86_64/multiarch/memset.S: Likewise.
46415 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
46416 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
46417 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
46418 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
46419 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
46420 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
46421 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
46422 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
46423 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
46424 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
46425 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
46426 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
46427 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
46428 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
46429 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
46430 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
46431 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
46432 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
46433 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
46434 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
46435 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
46436 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
46437 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
46438
46439 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
46440 global and hidden.
46441 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
46442 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
46443 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
46444 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
46445 Likewise.
46446 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
46447 Likewise.
46448 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
46449 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
46450 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
46451 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
46452 ifunc-impl-list.c.
46453 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
46454 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
46455 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
46456 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
46457 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
46458 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
46459 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
46460 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
46461 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
46462 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
46463 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
46464 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
46465 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
46466 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
46467 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
46468 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
46469 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
46470 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
46471 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
46472 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
46473 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
46474 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
46475 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
46476 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
46477 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
46478 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
46479 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
46480 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
46481 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
46482 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
46483 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
46484 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
46485 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
46486 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
46487 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
46488 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
46489 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
46490 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
46491 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
46492 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
46493 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
46494
46495 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
46496 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
46497 * include/ifunc-impl-list.h: New file.
46498 * misc/ifunc-impl-list.c: Likewise.
46499 * misc/Makefile (routines): Add ifunc-impl-list.
46500 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
46501 * string/test-string.h: Include <ifunc-impl-list.h>.
46502 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
46503 TEST_NAME]: New variables.
46504 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
46505 are defined.
46506 (test_init): Call __libc_ifunc_impl_list to initialize
46507 func_list if TEST_IFUNC and TEST_NAME are defined.
46508
46509 * string/Makefile (strop-tests): Add bcopy and bzero.
46510 * string/test-bcopy.c: New file.
46511 * string/test-bzero.c: Likewise.
46512 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
46513 defined.
46514 * string/test-memset.c: Support bzero test if TEST_BZERO is
46515 defined.
46516 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
46517 __libc_memmove.
46518 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
46519 __libc_memset.
46520 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
46521 of memset.
46522
46523 2012-10-10 Joseph Myers <joseph@codesourcery.com>
46524
46525 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
46526 * configure: Regenerated.
46527
46528 * Makeconfig (+link-static-before-libc): Don't include
46529 $(link-static-libc).
46530
46531 * libio/libio.h (_IO_pos_t): Remove.
46532
46533 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
46534
46535 * NEWS: Add note about FIPS mode. Wording suggested by Roland
46536 McGrath.
46537
46538 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
46539
46540 * crypt/crypt-entry.c: Include fips-private.h.
46541 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
46542 * crypt/md5c-test.c (main): Tolerate disabled MD5.
46543 * sysdeps/unix/sysv/linux/fips-private.h: New file.
46544 * sysdeps/generic/fips-private.h: New file, dummy fallback.
46545
46546 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
46547
46548 * crypt/crypt-private.h: Include stdbool.h.
46549 (_ufc_setup_salt_r): Return bool.
46550 * crypt/crypt-entry.c: Include errno.h.
46551 (__crypt_r): Return NULL with EINVAL for bad salt.
46552 * crypt/crypt_util.c (bad_for_salt): New.
46553 (_ufc_setup_salt_r): Check that salt is long enough and within
46554 the specified alphabet.
46555 * crypt/badsalttest.c: New file.
46556 * crypt/Makefile (tests): Add it.
46557 ($(objpfx)badsalttest): New.
46558
46559 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
46560
46561 * NEWS: Add entry for BZ #14602.
46562
46563 2012-10-09 Joseph Myers <joseph@codesourcery.com>
46564
46565 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
46566 type-generic.
46567 * math/libm-test.inc: Update comment listing what functions and
46568 macros are tested.
46569 (isgreater_test): New function.
46570 (isgreaterequal_test): Likewise.
46571 (isless_test): Likewise.
46572 (islessequal_test): Likewise.
46573 (islessgreater_test): Likewise.
46574 (isunordered_test): Likewise.
46575 (main): Call the new functions.
46576
46577 2012-10-09 Roland McGrath <roland@hack.frob.com>
46578
46579 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
46580 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
46581 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
46582 * sysdeps/i386/configure: Regenerated.
46583 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
46584 * sysdeps/mach/configure: Regenerated.
46585 * sysdeps/mach/hurd/configure: Regenerated.
46586 * sysdeps/powerpc/configure: Regenerated.
46587 * sysdeps/powerpc/powerpc32/configure: Regenerated.
46588 * sysdeps/powerpc/powerpc64/configure: Regenerated.
46589 * sysdeps/s390/s390-32/configure: Regenerated.
46590 * sysdeps/s390/s390-64/configure: Regenerated.
46591 * sysdeps/sh/configure: Regenerated.
46592 * sysdeps/sparc/configure: Regenerated.
46593 * sysdeps/unix/sysv/linux/configure: Regenerated.
46594 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
46595 * sysdeps/x86_64/configure: Regenerated.
46596
46597 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
46598 defined. Don't check if MAP is NULL.
46599
46600 2012-10-09 Joseph Myers <joseph@codesourcery.com>
46601
46602 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
46603 (_G_stat64): Likewise.
46604 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
46605 (_G_stat64): Likewise.
46606 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
46607 instead of struct _G_stat64.
46608 * libio/fileops.c (mmap_remap_check): Likewise.
46609 (decide_maybe_mmap): Likewise.
46610 (_IO_new_file_seekoff): Likewise.
46611 (_IO_file_stat): Likewise.
46612 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
46613 _G_off64_t.
46614 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
46615 instead of struct _G_stat64.
46616 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
46617
46618 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
46619
46620 [BZ #14602]
46621 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
46622 Replace with ...
46623 (CHECK_EOL): New macro.
46624 (two_way_short_needle): Check beginning of haystack for EOL. Use
46625 CHECK_EOL.
46626 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
46627 Replace with CHECK_EOL.
46628 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
46629 Replace with CHECK_EOL.
46630
46631 2012-10-08 Joseph Myers <joseph@codesourcery.com>
46632
46633 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
46634 type-generic.
46635 * math/libm-test.inc: Update comment listing what functions and
46636 macros are tested.
46637 (finite_test): New function.
46638 (isinf_test): Likewise.
46639 (isnan_test): Likewise.
46640 (fpclassify_test): Test subnormal input.
46641 (isfinite_test): Likewise.
46642 (isnormal_test): Likewise.
46643 (main): Call the new functions.
46644
46645 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
46646
46647 [BZ #14660]
46648 * Makerules (%.dynsym): Force C locale when running
46649 $(OBJDUMP) --dynamic-syms.
46650
46651 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
46652
46653 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
46654 <stdint.h>.
46655
46656 2012-10-06 David S. Miller <davem@davemloft.net>
46657
46658 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
46659 upper 32-bits of the length value in %o2 since we use branch-on-register
46660 tests which consider the entire 64-bit register.
46661
46662 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
46663
46664 * string/test-strstr.c (check2): Add a test for page boundary.
46665
46666 2012-10-05 David S. Miller <davem@davemloft.net>
46667
46668 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
46669 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
46670 file.
46671 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
46672 sysdep_routines.
46673 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
46674 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
46675 and bzero when HWCAP_SPARC_CRYPTO is present.
46676
46677 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
46678
46679 [BZ #14602]
46680 * string/test-strstr.c (check2): New function.
46681 (test_main): Call check2.
46682
46683 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
46684 and bug-strchr1.
46685 * string/bug-strcasestr1.c (do_test): Moved to ...
46686 * string/test-strcasestr.c (check1): Here. New function.
46687 (do_one_test): Break out result checking code into ...
46688 (check_result): This. New function.
46689 (do_one_test): Call check_result.
46690 (test_main): Call check1.
46691 * string/bug-strchr1.c (do_test): Moved to ...
46692 * string/test-strchr.c (check1): Here. New function.
46693 (do_one_test): Break out result checking code into ...
46694 (check_result): This. New function.
46695 (do_one_test): Call check_result.
46696 (test_main): Call check1.
46697 * string/bug-strstr1.c (main): Moved to ...
46698 * string/test-strstr.c (check1): Here. New function.
46699 (do_one_test): Break out result checking code into ...
46700 (check_result): This. New function.
46701 (do_one_test): Call check_result.
46702 (test_main): Call check1.
46703 * string/bug-strcasestr1.c: Removed.
46704 * string/bug-strchr1.c: Likewise.
46705 * string/bug-strstr1.c: Likewise.
46706
46707 * elf/Makefile (dl-routines): Add hwcaps.
46708 * elf/dl-support.c (_dl_important_hwcaps): Removed.
46709 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
46710 (_dl_important_hwcaps): Moved to ...
46711 * elf/dl-hwcaps.c: Here. New file.
46712 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
46713
46714 [BZ #14557]
46715 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
46716 if IS_IN_rtld isn't defined.
46717
46718 * elf/dl-support.c (_dl_sysinfo_map): New.
46719 Include "get-dynamic-info.h" and "setup-vdso.h".
46720 (_dl_non_dynamic_init): Call setup_vdso.
46721 * elf/dynamic-link.h: Don't include <assert.h>.
46722 (elf_get_dynamic_info): Moved to ...
46723 * elf/get-dynamic-info.h: Here. New file.
46724 * elf/dynamic-link.h: Include "get-dynamic-info.h".
46725 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
46726 * elf/setup-vdso.h: Here. New file.
46727 * elf/rtld.c: Include "setup-vdso.h".
46728 (dl_main): Call setup_vdso.
46729
46730 2012-10-05 Joseph Myers <joseph@codesourcery.com>
46731
46732 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
46733 creal in comment listing functions tested. List finite, isinf,
46734 isnan, isless, islessequal, isgreater, isgreaterequal,
46735 islessgreater, isunordered, lgamma_r and pow10 as functions and
46736 macros not tested. Mention which functions not tested are aliases
46737 for other functions. Fix typo. Note that signs of NaNs are not
46738 tested.
46739
46740 * scripts/config.guess: Update from config.git.
46741 * scripts/config.sub: Likewise.
46742
46743 2012-10-04 Roland McGrath <roland@hack.frob.com>
46744
46745 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
46746 * misc/madvise.c (madvise): Renamed to __madvise.
46747 Make madvise a weak alias.
46748 * include/sys/mman.h: Declare __madvise.
46749 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
46750 * sysdeps/unix/syscalls.list
46751 (madvise): Make __madvise the strong name, and madvise a weak alias.
46752 * sysdeps/unix/sysv/linux/syscalls.list
46753 (madvise, mmap): Remove redundant entries.
46754 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
46755 * malloc/malloc.c (mtrim): Likewise.
46756 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
46757
46758 2012-10-03 Roland McGrath <roland@hack.frob.com>
46759
46760 * sysdeps/mach/hurd/dl-cache.c: File removed.
46761 * config.h.in (USE_LDCONFIG): New #undef.
46762 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
46763 * configure: Regenerated.
46764 * elf/Makefile (dl-routines): Add dl-cache only under
46765 [$(use-ldconfig) = yes].
46766 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
46767 cache on [USE_LDCONFIG].
46768 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
46769 [USE_LDCONFIG].
46770 * elf/rtld.c (dl_main): Likewise.
46771
46772 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
46773
46774 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
46775 _SC_LEVEL4_CACHE_LINESIZE.
46776
46777 2012-10-03 Roland McGrath <roland@hack.frob.com>
46778
46779 * sysdeps/unix/bsd/confstr.h: File removed.
46780
46781 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
46782
46783 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
46784 sys/sdt-config.h.
46785
46786 2012-10-02 Roland McGrath <roland@hack.frob.com>
46787
46788 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
46789 Make 'mapoff' field ElfW(Off) rather than off_t.
46790
46791 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
46792
46793 * nscd/Makefile: Remove nscd-cflags and all its users.
46794 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
46795 (CFLAGS-nonlib): Add compiler flags for nscd modules.
46796
46797 [BZ #10631]
46798 * malloc.c (malloc_printerr): Clarify error message.
46799
46800 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
46801
46802 [BZ #14648]
46803 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46804 Set bit_FMA_Usable if FMA is supported.
46805 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
46806 macro.
46807 (bit_FMA4_Usable): Updated.
46808 (index_FMA_Usable): New macro.
46809 (CPUID_FMA): Likewise
46810 (HAS_FMA): Defined with bit_FMA_Usable.
46811
46812 2012-10-01 Roland McGrath <roland@hack.frob.com>
46813
46814 * bits/types.h (__swblk_t): Type removed.
46815 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
46816 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
46817 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46818 (__SWBLK_T_TYPE): Likewise.
46819 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
46820 (__SWBLK_T_TYPE): Likewise.
46821 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46822 (__SWBLK_T_TYPE): Likewise.
46823 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
46824 (__SWBLK_T_TYPE): Likewise.
46825
46826 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
46827 Honza Horak <hhorak@redhat.com>
46828
46829 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
46830 (xdr_mapname): Use YPMAXMAP as maxsize.
46831 (xdr_peername): Use YPMAXPEER as maxsize.
46832 (xdr_keydat): Use YPAXRECORD as maxsize.
46833 (xdr_valdat): Use YPMAXRECORD as maxsize.
46834
46835 2012-10-01 Roland McGrath <roland@hack.frob.com>
46836
46837 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
46838
46839 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
46840 * csu/init-first.c: ... here.
46841 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
46842 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
46843 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
46844 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
46845 * sysdeps/i386/init-first.c: File removed.
46846 * sysdeps/sh/init-first.c: File removed.
46847
46848 2012-10-01 Joseph Myers <joseph@codesourcery.com>
46849
46850 [BZ #14645]
46851 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
46852 if x * y might underflow to zero and z is zero.
46853 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
46854 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
46855 * math/libm-test.inc (min_subnorm_value): New variable.
46856 (fma_test): Add more tests.
46857 (fma_test_towardzero): Likewise.
46858 (fma_test_downward): Likewise
46859 (fma_test_upward): Likewise.
46860 (initialize): Set min_subnorm_value.
46861
46862 2012-09-29 Joseph Myers <joseph@codesourcery.com>
46863
46864 [BZ #14638]
46865 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
46866 0 + 0.
46867 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
46868 mode for addition resulting in exact zero.
46869 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
46870 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
46871 exact 0 + 0.
46872 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
46873 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
46874 * math/libm-test.inc (fma_test): Add more tests.
46875 (fma_test_towardzero): New function.
46876 (fma_test_downward): Likewise.
46877 (fma_test_upward): Likewise.
46878 (main): Call the new functions.
46879
46880 2012-09-28 David S. Miller <davem@davemloft.net>
46881
46882 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
46883
46884 2012-09-28 Roland McGrath <roland@hack.frob.com>
46885
46886 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
46887 instead of SIGALRM.
46888
46889 * sysdeps/gnu/_G_config.h: Moved to ...
46890 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
46891 * sysdeps/mach/hurd/_G_config.h: Moved to ...
46892 * sysdeps/generic/_G_config.h: ... here.
46893
46894 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
46895
46896 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
46897
46898 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
46899 Conditionalize target on [libnss_test1.so-version].
46900
46901 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
46902
46903 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
46904 (elfobjdir): Move out of conditionals.
46905
46906 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
46907 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
46908 (__nss_lookup_function): Conditionalize label remove_from_tree on
46909 [!DO_STATIC_NSS || SHARED], matching its only use.
46910
46911 2012-09-28 David S. Miller <davem@davemloft.net>
46912
46913 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
46914 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
46915 file.
46916 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
46917 sysdep_routines.
46918 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
46919 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
46920 when HWCAP_SPARC_CRYPTO is present.
46921
46922 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
46923
46924 * io/tst-mknodat.c: Create a FIFO instead of a socket.
46925
46926 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
46927
46928 [BZ #6530]
46929 * stdio-common/vfprintf.c (process_string_arg): Revert
46930 2000-07-22 change.
46931
46932 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
46933
46934 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
46935 for testcase.
46936 * stdio-common/tst-sprintf.c: Include <locale.h>
46937 (main): Test sprintf's handling of incomplete multibyte
46938 characters.
46939
46940 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
46941
46942 * elf/dl-runtime.c (VERSYMIDX): Removed.
46943 * elf/dl-version.c (VERSYMIDX): Likewise.
46944 * elf/do-rel.h (VERSYMIDX): Likewise.
46945 (VALIDX): Likewise.
46946 * elf/dynamic-link.h (VERSYMIDX): Likewise.
46947 * elf/rtld.c (VALIDX): Likewise.
46948 (ADDRIDX): Likewise.
46949 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
46950 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
46951 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
46952 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
46953 (VALIDX): Likewise.
46954 (ADDRIDX): Likewise.
46955
46956 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
46957
46958 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
46959
46960 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
46961
46962 [BZ #11438]
46963 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
46964 to global scope.
46965 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
46966 addresses are in the same scope as 192.0.2/24.
46967 * posix/gai.conf: Document new scope table defaults.
46968
46969 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
46970
46971 [BZ #5298]
46972 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
46973 for ftell. Compute offsets from write pointers instead.
46974 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
46975
46976 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
46977
46978 [BZ #14543]
46979 * libio/Makefile (tests): New test case tst-fseek.
46980 * libio/tst-fseek.c: New test case to verify that fseek/ftell
46981 combination works in wide mode.
46982 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
46983 state when the external buffer state changes.
46984
46985 2012-09-27 David S. Miller <davem@davemloft.net>
46986
46987 [BZ #14376]
46988 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
46989 pass reloc->r_addend in as the 'high' argument to
46990 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
46991
46992 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46993
46994 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
46995
46996 * rt/tst-aio2.c: Include <pthread.h>.
46997 * rt/tst-aio3.c: Likewise.
46998
46999 2012-09-27 Steve Ellcey <sellcey@mips.com>
47000
47001 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
47002
47003 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
47004
47005 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
47006 contents on [SHARED].
47007
47008 2012-09-26 Marek Polacek <polacek@redhat.com>
47009
47010 [BZ #14530]
47011 [BZ #13741]
47012 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
47013 for C++ and GCC <4.3 as well as for non GCC compilers.
47014
47015 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
47016
47017 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47018
47019 2012-09-25 Roland McGrath <roland@hack.frob.com>
47020
47021 * Makefile.in (all, install): Declare with .PHONY.
47022 Reported by Michael Hope <michael.hope@linaro.org>.
47023
47024 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
47025
47026 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
47027 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
47028 system header.
47029 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
47030 Likewise.
47031 (sydep_routines): Add the new and the internal functions.
47032 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
47033 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
47034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
47035 (GLIBC_2.17): Add the new function.
47036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
47037 (GLIBC_2.17): Likewise.
47038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
47039 (GLIBC_2.17): Likewise.
47040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
47041 (GLIBC_2.17): Likewise.
47042 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
47043
47044 2012-09-25 Alan Modra <amodra@gmail.com>
47045
47046 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
47047 Add release barrier before setting once_control to say
47048 initialisation is done. Add hints on lwarx. Use macro in
47049 place of isync.
47050 (clear_once_control): Add release barrier.
47051
47052 2012-09-25 Joseph Myers <joseph@codesourcery.com>
47053
47054 [BZ #13629]
47055 * math/s_clog.c (__clog): Handle more values close to |z| = 1
47056 specially.
47057 * math/s_clog10.c (__clog10): Likewise.
47058 * math/s_clog10f.c (__clog10f): Likewise.
47059 * math/s_clog10l.c (__clog10l): Likewise.
47060 * math/s_clogf.c (__clogf): Likewise.
47061 * math/s_clogl.c (__clogl): Likewise.
47062 * math/Makefile (libm-calls): Add x2y2m1.
47063 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
47064 (__x2y2m1): Likewise.
47065 (__x2y2m1l): Likewise.
47066 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
47067 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
47068 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
47069 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
47070 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
47071 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
47072 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
47073 * sysdeps/i386/fpu/libm-test-ulps: Update.
47074 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47075
47076 [BZ #14621]
47077 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
47078 int as type of variable DEPTH.
47079 (glob): Use size_t instead of int as type of variables NEWCOUNT
47080 and OLD_PATHC.
47081
47082 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47083
47084 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
47085 Add s_sincosf-sse2.
47086 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
47087 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
47088 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
47089 macros for using routine as __sincosf_ia32.
47090 Use macro for function declaration and weak_alias.
47091 * sysdeps/i386/fpu/libm-test-ulps: Update.
47092
47093 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
47094 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47095
47096 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
47097 subnormal argument.
47098 * math/s_cexpf.c (__cexpf): Likewise.
47099 * math/s_csinf.c (__csinf): Likewise.
47100 * math/s_csinhf.c (__csinhf): Likewise.
47101 * math/s_ctanf.c (__ctanf): Likewise.
47102 * math/s_ctanhf.c (__ctanhf): Likewise.
47103 * math/s_ccosh.c (__ccoshf): Likewise.
47104 * math/s_cexp.c (__cexpl): Likewise.
47105 * math/s_csin.c (__csin): Likewise.
47106 * math/s_csinh.c (__csinh): Likewise.
47107 * math/s_ctan.c (__ctan): Likewise.
47108 * math/s_ctanh.c (ctanh): Likewise.
47109 * math/s_ccoshl.c (__ccoshl): Likewise.
47110 * math/s_cexpl.c (__cexpl): Likewise.
47111 * math/s_csinl.c (__csinl): Likewise.
47112 * math/s_csinhl.c (__csinhl): Likewise.
47113 * math/s_ctanl.c (__ctanl): Likewise.
47114 * math/s_ctanhl.c (__ctanhl): Likewise.
47115
47116 2012-09-25 Joseph Myers <joseph@codesourcery.com>
47117
47118 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
47119 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
47120 (_IO_off_t): Define to __off_t, not _G_off_t.
47121 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
47122 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
47123 (_IO_wint_t): Define to wint_t, not _G_wint_t.
47124 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
47125 type of __dummy and __dummy2 fields.
47126 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
47127 (_G_ssize_t): Likewise.
47128 (_G_off_t): Likewise.
47129 (_G_pid_t): Likewise.
47130 (_G_uid_t): Likewise.
47131 (_G_wchar_t): Likewise.
47132 (_G_wint_t): Likewise.
47133 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
47134 (_G_ssize_t): Likewise.
47135 (_G_off_t): Likewise.
47136 (_G_pid_t): Likewise.
47137 (_G_uid_t): Likewise.
47138 (_G_wchar_t): Likewise.
47139 (_G_wint_t): Likewise.
47140 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
47141 (_G_ssize_t): Likewise.
47142 (_G_off_t): Likewise.
47143 (_G_pid_t): Likewise.
47144 (_G_uid_t): Likewise.
47145 (_G_wchar_t): Likewise.
47146 (_G_wint_t): Likewise.
47147
47148 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
47149
47150 * malloc/arena.c: Include malloc-sysdep.h.
47151 (shrink_heap): Use check_may_shrink_heap to decide if madvise
47152 is sufficient to shrink the heap or an unmap is needed.
47153 * sysdeps/generic/malloc-sysdep.h: New file. Define
47154 new function check_may_shrink_heap.
47155 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
47156 new function check_may_shrink_heap.
47157
47158 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
47159
47160 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
47161 comments.
47162
47163 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
47164
47165 * catgets/test-gencat.sh: Add "set -e".
47166 * elf/tst-pathopt.sh: Likewise.
47167 * grp/tst_fgetgrent.sh: Likewise.
47168 * iconvdata/run-iconv-test.sh: Likewise.
47169 * intl/tst-gettext.sh: Likewise.
47170 * intl/tst-gettext2.sh: Likewise.
47171 * intl/tst-gettext4.sh: Likewise.
47172 * intl/tst-gettext6.sh: Likewise.
47173 * intl/tst-translit.sh: Likewise.
47174 * io/ftwtest-sh: Likewise.
47175 * libio/test-freopen.sh: Likewise.
47176 * malloc/tst-mtrace.sh: Likewise.
47177 * posix/globtest.sh: Likewise.
47178 * posix/tst-getconf.sh: Likewise.
47179 * posix/wordexp-tst.sh: Likewise.
47180 * stdio-common/tst-printf.sh: Likewise.
47181 * stdio-common/tst-unbputc.sh: Likewise.
47182 * stdlib/tst-fmtmsg.sh: Likewise.
47183 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
47184 * catgets/Makefile: Do not specify -e option when running
47185 testsuite shell scripts.
47186 * elf/Makefile: Likewise.
47187 * grp/Makefile: Likewise.
47188 * iconvdata/Makefile: Likewise.
47189 * intl/Makefile: Likewise.
47190 * io/Makefile: Likewise.
47191 * libio/Makefile: Likewise.
47192 * malloc/Makefile: Likewise.
47193 * posix/Makefile: Likewise.
47194 * stdio-common/Makefile: Likewise.
47195 * stdlib/Makefile: Likewise.
47196 * sysdeps/x86_64/Makefile: Likewise.
47197
47198 * io/ftwtest-sh: Add copyright header.
47199 * posix/globtest.sh: Likewise.
47200 * posix/tst-getconf.sh: Likewise.
47201 * posix/wordexp-tst.sh: Likewise.
47202 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
47203
47204 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
47205
47206 [BZ #13679]
47207 * Makeconfig (+link): Defined as $(+link-static) if
47208 $(build-shared) isn't yes.
47209 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
47210 isn't yes.
47211 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
47212
47213 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
47214
47215 [BZ #14562]
47216 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
47217 new chunk size with MALLOC_ALIGN_MASK.
47218
47219 2012-09-24 Joseph Myers <joseph@codesourcery.com>
47220
47221 [BZ #5044]
47222 * stdio-common/printf_fphex.c: Include <stdbool.h> and
47223 <rounding-mode.h>.
47224 (__printf_fphex): Determine rounding using get_rounding_mode and
47225 round_away.
47226 * stdio-common/tst-printf-round.c (struct hex_test): New
47227 structure.
47228 (hex_tests): New variable.
47229 (test_hex_in_one_mode): New function.
47230 (do_test): Also run tests for hex float output.
47231
47232 2012-09-21 Joseph Myers <joseph@codesourcery.com>
47233
47234 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
47235 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
47236 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
47237 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
47238 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
47239 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
47240 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
47241 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
47242
47243 2012-09-20 Joseph Myers <joseph@codesourcery.com>
47244
47245 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
47246 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
47247 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
47248 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
47249
47250 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
47251
47252 [BZ #14579]
47253 * elf/rtld.c (dl_main): Limit the check for self loading to normal
47254 mode only.
47255 * elf/tst-rtld-load-self.sh: New test.
47256 * elf/Makefile: Run it.
47257
47258 2012-09-18 Joseph Myers <joseph@codesourcery.com>
47259
47260 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
47261 (tst-writev-ENV): Remove.
47262 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
47263
47264 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
47265
47266 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
47267
47268 2012-09-17 Joseph Myers <joseph@codesourcery.com>
47269
47270 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
47271 unconditional.
47272 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
47273 Likewise.
47274 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
47275 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
47276 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
47277 Likewise.
47278
47279 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
47280
47281 [BZ #14587]
47282 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
47283 * config.make.in (have-cpp-asm-debuginfo): Removed.
47284 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
47285 * configure: Regenerated.
47286
47287 2012-09-14 Joseph Myers <joseph@codesourcery.com>
47288
47289 [BZ #5044]
47290 * stdio-common/printf_fp.c: Include <stdbool.h> and
47291 <rounding-mode.h>.
47292 (___printf_fp): Determine rounding using get_rounding_mode and
47293 round_away.
47294 * stdio-common/tst-printf-round.c: New file.
47295 * stdio-common/Makefile (tests): Add tst-printf-round.
47296 (link-libm): New variable.
47297 ($(objpfx)tst-printf-round): Depend in $(link-libm).
47298
47299 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
47300
47301 [BZ #14576]
47302 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
47303 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
47304 Likewise.
47305 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
47306 Likewise.
47307
47308 2012-09-13 Joseph Myers <joseph@codesourcery.com>
47309
47310 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
47311 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
47312 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
47313 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
47314
47315 2012-09-12 Joseph Myers <joseph@codesourcery.com>
47316
47317 [BZ #14518]
47318 * include/rounding-mode.h: New file.
47319 * sysdeps/generic/get-rounding-mode.h: Likewise.
47320 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
47321 * stdlib/strtod_l.c: Include <rounding-mode.h>.
47322 (MAX_VALUE): New macro.
47323 (MIN_VALUE): Likewise.
47324 (overflow_value): New function.
47325 (underflow_value): Likewise.
47326 (round_and_return): Use overflow_value and underflow_value to
47327 determine return values in overflow and underflow cases. Use
47328 round_away to determine rounding depending on rounding mode.
47329 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
47330 determine return values in overflow and underflow cases.
47331 * stdlib/tst-strtod-round.c: Include <fenv.h>.
47332 (struct test_results): New structure.
47333 (struct test): Use struct test_results to store expected results
47334 for all rounding modes.
47335 (TEST): Include expected results for all rounding modes.
47336 (test_in_one_mode): New function.
47337 (do_test): Use test_in_one_mode to compute and check results.
47338 Check results for all rounding modes.
47339 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
47340 $(link-libm).
47341
47342 2012-12-09 Allan McRae <allan@archlinux.org>
47343
47344 * sysdeps/i386/fpu/libm-test-ulps: Update
47345
47346 2012-09-11 Joseph Myers <joseph@codesourcery.com>
47347
47348 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
47349 (_G_int32_t): Likewise.
47350 (_G_uint16_t): Likewise.
47351 (_G_uint32_t): Likewise.
47352 (_G_HAVE_BOOL): Likewise.
47353 (_G_HAVE_ATEXIT): Likewise.
47354 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
47355 (_G_HAVE_IO_FILE_OPEN): Likewise.
47356 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
47357 (_G_int32_t): Likewise.
47358 (_G_uint16_t): Likewise.
47359 (_G_uint32_t): Likewise.
47360 (_G_HAVE_BOOL): Likewise.
47361 (_G_HAVE_ATEXIT): Likewise.
47362 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
47363 (_G_HAVE_IO_FILE_OPEN): Likewise.
47364 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
47365 (_G_int32_t): Likewise.
47366 (_G_uint16_t): Likewise.
47367 (_G_uint32_t): Likewise.
47368 (_G_HAVE_BOOL): Likewise.
47369 (_G_HAVE_ATEXIT): Likewise.
47370 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
47371 (_G_HAVE_IO_FILE_OPEN): Likewise.
47372
47373 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
47374
47375 * csu/libc-tls.c: Update copyright years.
47376
47377 2012-09-10 Joseph Myers <joseph@codesourcery.com>
47378
47379 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
47380 [!_G_USING_THUNKS]: Remove conditional code.
47381 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
47382 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
47383
47384 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
47385 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
47386 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
47387 (_G_VTABLE_LABEL_PREFIX): Likewise.
47388 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
47389 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
47390 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
47391 (_G_VTABLE_LABEL_PREFIX): Likewise.
47392 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
47393 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
47394 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
47395 (_G_VTABLE_LABEL_PREFIX): Likewise.
47396 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
47397
47398 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
47399
47400 * libio/Makefile: Include ../Makeconfig before tests.
47401 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
47402 only if $(build-shared) is yes.
47403
47404 * iconv/gconv_db.c: Update copyright years.
47405
47406 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47407
47408 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
47409 unwind info if defined PIC. Fix special cases description.
47410 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
47411
47412 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
47413 DP_HI_MASK entry.
47414 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
47415
47416 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
47417
47418 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
47419
47420 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
47421 is NULL.
47422
47423 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
47424 (LDLIBS-tst-chk4): This.
47425 (LDFLAGS-tst-chk5): Renamed to ...
47426 (LDLIBS-tst-chk5): This.
47427 (LDFLAGS-tst-chk6): Renamed to ...
47428 (LDLIBS-tst-chk6): This.
47429 (LDFLAGS-tst-lfschk4): Renamed to ...
47430 (LDLIBS-tst-lfschk4): This.
47431 (LDFLAGS-tst-lfschk5): Renamed to ...
47432 (LDLIBS-tst-lfschk5): This.
47433 (LDFLAGS-tst-lfschk6): Renamed to ...
47434 (LDLIBS-tst-lfschk6): This.
47435
47436 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
47437 on $(common-objpfx)soversions.mk.
47438
47439 2012-09-07 Joseph Myers <joseph@codesourcery.com>
47440
47441 [BZ #10014]
47442 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
47443 example host name.
47444
47445 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
47446
47447 * malloc/arena.c (arena_get_retry): New function that gets
47448 another arena for the caller to try its request on.
47449 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
47450 current arena cannot fulfill the request.
47451 (__libc_memalign): Likewise.
47452 (__libc_memalign): Likewise.
47453 (__libc_pvalloc): Likewise.
47454 (__libc_calloc): Likewise.
47455
47456 2012-09-05 John Tobey <john.tobey@gmail.com>
47457
47458 [BZ #13542]
47459 * manual/arith.texi (Operations on Complex): Fix description
47460 of carg branch cut.
47461
47462 2012-09-06 Joseph Myers <joseph@codesourcery.com>
47463
47464 [BZ #10014]
47465 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
47466 host name.
47467
47468 [BZ #10038]
47469 * manual/memory.texi (Memory): Make order of menu items match
47470 order of sections.
47471
47472 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
47473
47474 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
47475 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
47476 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
47477
47478 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
47479
47480 * csu/libc-tls.c (static_dtv): Renamed to ...
47481 (_dl_static_dtv): This. Make it global.
47482 (_dl_initial_dtv): Removed.
47483 (__libc_setup_tls): Updated.
47484 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
47485 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
47486 DL_INITIAL_DTV.
47487
47488 2012-09-06 Petr Machata <pmachata@redhat.com>
47489
47490 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
47491 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
47492 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
47493 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
47494
47495 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
47496
47497 [BZ #14545]
47498 * csu/libc-tls.c (_dl_initial_dtv): New variable.
47499 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
47500 freeing dtv[-1].
47501
47502 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
47503
47504 [BZ #14544]
47505 * Makeconfig (link-static-before-libc): Replace $(+prector)
47506 with $(+prectorT).
47507 (link-static-after-libc): Replace $(+postctor) with
47508 $(+postctorT).
47509 (link-bounded): Replace $(+prector)/$(+postctor) with
47510 $(+prectorT)/$(+postctorT).
47511 (+prectorT): New macro.
47512 (+postctorT): Likewise.
47513
47514 2012-09-06 Joseph Myers <joseph@codesourcery.com>
47515
47516 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
47517 (round_str): Handle values above the maximum for IBM long double
47518 as inexact.
47519 * stdlib/tst-strtod-round.c (tests): Regenerated.
47520
47521 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47522
47523 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
47524 assembler flag.
47525 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
47526 zarch_nohighgprs around the zarch optimized routines.
47527 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
47528 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
47529 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
47530 for zarch.
47531
47532 2012-09-05 David S. Miller <davem@davemloft.net>
47533
47534 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47535
47536 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
47537 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
47538 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
47539 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
47540 entries.
47541
47542 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
47543
47544 * malloc/arena.c: Fold copyright years.
47545 * malloc/mcheck.c, malloc/memusage.c: Likewise.
47546
47547 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
47548
47549 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
47550
47551 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
47552
47553 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
47554
47555 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
47556
47557 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
47558 change internal state upon failure.
47559
47560 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
47561
47562 * malloc/mcheck.c (mcheck_check_all): Fix typo.
47563 * malloc/memusage.c (mmap): Likewise.
47564 (mmap64, mremap): Likewise. Adjust name in comment.
47565
47566 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
47567
47568 * libio/fileops.c: Fix typos in comments.
47569 * libio/oldfileops.c: Likewise.
47570 * libio/wfileops.c: Likewise.
47571
47572 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
47573
47574 [BZ #1349]
47575 * malloc/Makefile (tests): Add tst-malloc-usable test case.
47576 (tst-malloc-usable-ENV): Set environment for test case.
47577 * malloc/hooks.c (malloc_check_get_size): New function to get
47578 requested size.
47579 * malloc/malloc.c (musable): Use malloc_check_get_size.
47580 * malloc/tst-malloc-usable.c: New test case.
47581
47582 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
47583
47584 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
47585
47586 2012-09-05 Allan McRae <allan@archlinux.org>
47587
47588 [BZ #13966]
47589 * configure.in (CXX_SYSINCLUDES): Use compiler output to
47590 determine header location.
47591 * configure: Regenerated.
47592
47593 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
47594
47595 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
47596 float format.
47597 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
47598 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
47599 format.
47600 (test): Regenerate.
47601
47602 2012-09-04 David S. Miller <davem@davemloft.net>
47603
47604 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
47605 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
47606 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
47607
47608 2012-09-04 Florian Weimer <fweimer@redhat.com>
47609
47610 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
47611 failures.
47612
47613 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
47614
47615 2012-09-04 Joseph Myers <joseph@codesourcery.com>
47616
47617 [BZ #9914]
47618 * libio/iogetdelim.c: Include <limits.h>.
47619 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
47620 + len + 1 would overflow.
47621
47622 2012-09-03 Andreas Jaeger <aj@suse.de>
47623
47624 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47625 * sysdeps/i386/fpu/libm-test-ulps: Update.
47626
47627 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47628
47629 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
47630 Add s_sinf-sse2, s_conf-sse2.
47631
47632 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
47633 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
47634 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
47635 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
47636
47637 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
47638 for using routine as __sinf_ia32.
47639 Use macro for function declaration and weak_alias.
47640 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
47641 for using routine as __cosf_ia32.
47642 Use macro for function declaration and weak_alias.
47643
47644 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
47645 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
47646
47647 * sysdeps/x86_64/fpu/s_sinf.S: New file.
47648 * sysdeps/x86_64/fpu/s_cosf.S: New file.
47649 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47650
47651 * math/libm-test.inc (cos_test): Add more test cases.
47652 (sin_test): Likewise.
47653 (sincos_test): Likewise.
47654
47655 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47656
47657 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
47658 (IFUNC_RESOLVE): Make pointers to the specialized implementations
47659 hidden.
47660 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
47661
47662 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
47663
47664 [BZ #14538]
47665 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
47666 first element of the GOT.
47667 (elf_machine_load_address): Return the difference between
47668 the runtime address of _DYNAMIC and elf_machine_dynamic ().
47669
47670 2012-09-01 Allan McRae <allan@archlinux.org>
47671
47672 [BZ #13412]
47673 * configure.in (AWK): Require gawk version 3.0 or later.
47674 * configure: Regenerated.
47675
47676 2012-09-01 Joseph Myers <joseph@codesourcery.com>
47677
47678 * sysdeps/unix/sysv/linux/kernel-features.h
47679 (__ASSUME_POSIX_CPU_TIMERS): Remove.
47680 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
47681 [__NR_clock_getres]: Make code unconditional.
47682 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
47683 (clock_getcpuclockid): Remove code left unreachable by removal of
47684 conditionals.
47685 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
47686 code unconditional.
47687 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
47688 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
47689 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
47690 Make code unconditional.
47691 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
47692 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
47693 * sysdeps/unix/sysv/linux/clock_settime.c
47694 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
47695 conditional code.
47696 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
47697 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
47698
47699 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
47700
47701 [BZ #14476]
47702 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
47703 scripts/test-installation.pl.
47704
47705 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
47706 and $ld_so_version if it is set.
47707
47708 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
47709
47710 [BZ #14516]
47711 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
47712 failure if reading from procfs failed.
47713 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
47714
47715 2012-08-27 Joseph Myers <joseph@codesourcery.com>
47716
47717 * sysdeps/unix/sysv/linux/kernel-features.h
47718 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
47719 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
47720 Remove conditional code.
47721 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47722 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
47723 Remove conditional code.
47724 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47725 * sysdeps/unix/sysv/linux/i386/fxstat.c
47726 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
47727 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47728 * sysdeps/unix/sysv/linux/i386/fxstatat.c
47729 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
47730 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47731 * sysdeps/unix/sysv/linux/i386/lxstat.c
47732 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
47733 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47734 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
47735 Remove conditional code.
47736 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47737 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
47738 Remove conditional code.
47739 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47740 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
47741 <kernel-features.h>.
47742 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
47743 Remove.
47744 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
47745 Remove conditional code.
47746 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47747 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
47748 Remove conditional.
47749
47750 2012-08-27 Mike Frysinger <vapier@gentoo.org>
47751
47752 [BZ #5400]
47753 * NEWS: Add fixed bug number.
47754
47755 2012-08-27 Joseph Myers <joseph@codesourcery.com>
47756
47757 [BZ #14519]
47758 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
47759 underflowing exponent in case of negative sign.
47760 * stdlib/tst-strtod-round-data: Add more tests.
47761 * stdlib/tst-strtod-round.c (tests): Regenerated.
47762
47763 [BZ #3479]
47764 * stdlib/strtod_l.c (NDIG): Remove.
47765 (HEXNDIG): Likewise.
47766 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
47767 smallest representable value.
47768 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
47769 lie within an exact representation of 1/2 ulp of the result.
47770 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
47771 unconditionally.
47772 (TENS_P9_IDX): Define unconditionally.
47773 (TENS_P9_SIZE): Likewise.
47774 (TENS_P10_IDX): Likewise.
47775 (TENS_P10_SIZE): Likewise.
47776 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
47777 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
47778 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
47779 entries for 10^2^13 and 10^2^14.
47780 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
47781 (TENS_P13_IDX): Define.
47782 (TENS_P13_SIZE): Likewise.
47783 (TENS_P14_IDX): Likewise.
47784 (TENS_P14_SIZE): Likewise.
47785 (_fpioconst_pow10): Change array size to
47786 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
47787 unconditional.
47788 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
47789 1024]: Add entries for 10^2^13 and 10^2^14.
47790 [LAST_POW10 > _LAST_POW10]: Remove #error.
47791 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
47792 (_fpioconst_pow10): Change array size to
47793 FPIOCONST_POW10_ARRAY_SIZE.
47794 * stdlib/gen-fpioconst.c: New file.
47795 * stdlib/gen-tst-strtod-round.c: Likewise.
47796 * stdlib/tst-strtod-round-data: Likewise.
47797 * stdlib/tst-strtod-round.c: Likewise.
47798 * stdlib/Makefile (tests): Add tst-strtod-round.
47799
47800 [BZ #14459]
47801 * stdlib/strtod_l.c: Include <stdint.h>.
47802 (NDEBUG): Do not define.
47803 (round_and_return): Change EXPONENT parameter to type intmax_t.
47804 Rearrange calculations to avoid internal overflow possibilities.
47805 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
47806 Rearrange calculations to avoid internal overflow possibilities.
47807 Assert that number fits inside MPNSIZE limbs.
47808 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
47809 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
47810 calculations and add assertions to avoid internal overflow
47811 possibilities. Add casts to avoid signed/unsigned operations.
47812 * stdlib/tst-strtod-overflow.c: New file.
47813 * stdlib/Makefile (tests): Add tst-strtod-overflow.
47814
47815 2012-08-25 Marek Polacek <polacek@redhat.com>
47816
47817 * time/time.h: Fix some typos in comments.
47818
47819 2012-08-23 Roland McGrath <roland@hack.frob.com>
47820
47821 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
47822 * posix/tst-rfc3484-2.c: Likewise.
47823 * posix/tst-rfc3484-3.c: Likewise.
47824
47825 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
47826
47827 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
47828 (EF_ARM_ABI_FLOAT_HARD): Likewise.
47829
47830 2012-08-23 Joseph Myers <joseph@codesourcery.com>
47831
47832 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
47833 #include of fxstatat64.c.
47834
47835 2012-08-22 Roland McGrath <roland@hack.frob.com>
47836
47837 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
47838 * shadow/getspent_r.c: Likewise.
47839 * shadow/getspnam.c: Likewise.
47840 * shadow/getspnam_r.c: Likewise.
47841 * gshadow/getsgent.c: Likewise.
47842 * gshadow/getsgent_r.c: Likewise.
47843 * gshadow/getsgnam.c: Likewise.
47844 * gshadow/getsgnam_r.c: Likewise.
47845 * inet/getnetbyad.c: Likewise.
47846 * inet/getnetbyad_r.c: Likewise.
47847 * inet/getnetbynm.c: Likewise.
47848 * inet/getnetbynm_r.c: Likewise.
47849 * inet/getnetent.c: Likewise.
47850 * inet/getnetent_r.c: Likewise.
47851 * inet/getproto.c: Likewise.
47852 * inet/getproto_r.c: Likewise.
47853 * inet/getprtent.c: Likewise.
47854 * inet/getprtent_r.c: Likewise.
47855 * inet/getprtname.c: Likewise.
47856 * inet/getprtname_r.c: Likewise.
47857 * inet/getrpcbyname.c: Likewise.
47858 * inet/getrpcbyname_r.c: Likewise.
47859 * inet/getrpcbynumber.c: Likewise.
47860 * inet/getrpcbynumber_r.c: Likewise.
47861 * inet/getrpcent.c: Likewise.
47862 * inet/getrpcent_r.c: Likewise.
47863 * inet/getaliasent.c: Likewise.
47864 * inet/getaliasent_r.c: Likewise.
47865 * inet/getaliasname.c: Likewise.
47866 * inet/getaliasname_r.c: Likewise.
47867 * nscd/getgrgid_r.c: Likewise.
47868 * nscd/getgrnam_r.c: Likewise.
47869 * nscd/gethstbyad_r.c: Likewise.
47870 * nscd/gethstbynm3_r.c: Likewise.
47871 * nscd/getpwnam_r.c: Likewise.
47872 * nscd/getpwuid_r.c: Likewise.
47873 * nscd/getsrvbynm_r.c: Likewise.
47874 * nscd/getsrvbypt_r.c: Likewise.
47875 * nscd/gai.c: Likewise.
47876
47877 * configure.in (build_nscd): New substituted variable, set
47878 by --disable-build-nscd and defaults to $use_nscd.
47879 * configure: Regenerated.
47880 * config.make.in (build-nscd): New substituted variable.
47881 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
47882 Change conditional to require [$(build-nscd) = yes] as well.
47883 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
47884
47885 [BZ# 13696]
47886 * configure.in (use_nscd): New substituted variable, set by
47887 --disable-nscd. If enabled, define USE_NSCD.
47888 * configure: Regenerated.
47889 * config.h.in: Add USE_NSCD.
47890 * config.make.in (use-nscd): New substituted variable.
47891 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
47892 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
47893 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
47894 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
47895 (CFLAGS-getgrnam_r.c): Likewise.
47896 (CFLAGS-initgroups.c): Likewise.
47897 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
47898 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
47899 Variables removed.
47900 * inet/getnetgrent_r.c
47901 (nscd_setnetgrent): New function, broken out of ...
47902 (setnetgrent): ... here. Call it.
47903 (innetgr): Conditionalize nscd bits on [USE_NSCD].
47904 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
47905 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
47906 * nscd/Makefile (routines, aux): Move definitions after include of
47907 Makeconfig. Conditionalize on [$(use-nscd) != no].
47908 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
47909 Conditionalize on [USE_NSCD].
47910 (is_nscd, nscd_init_cb): Likewise.
47911 (nss_load_library): Conditionalize init callback on [USE_NSCD].
47912 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
47913 * nss/nss_db/db-init.c: Likewise.
47914 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
47915 [USE_NSCD].
47916 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
47917 (make_request): Use it.
47918 (cache_valid_p): New function.
47919 (__check_pf): Use it.
47920 * NEWS: Add item for --disable-nscd.
47921
47922 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
47923
47924 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
47925 to support sed >= 4.2.1-20-ga9bf076.
47926 * configure: Regenerated.
47927
47928 2012-08-22 Roland McGrath <roland@hack.frob.com>
47929
47930 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
47931 Conditionalize whole body on [IREL].
47932
47933 2012-08-22 Jeff Law <law@redhat.com>
47934
47935 [BZ #14505]
47936 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
47937 if the family is PF_UNSPEC.
47938
47939 2012-08-22 Mike Frysinger <vapier@gentoo.org>
47940
47941 * Makerules (lib-version): Rename from V.
47942 (install-lib-nosubdir): Change V to lib-version.
47943
47944 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
47945
47946 [BZ #14252]
47947 * powerpc32/power6/wcschr.c: New file.
47948 * powerpc32/power6/wcscpy.c: New file.
47949 * powerpc32/power6/wcsrchr.c: New file.
47950 * powerpc64/power6/wcschr.c: New file.
47951 * powerpc64/power6/wcscpy.c: New file.
47952 * powerpc64/power6/wcsrchr.c: New file.
47953
47954 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
47955
47956 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
47957 (two_way_short_needle): Use it.
47958 * string/strstr.c (AVAILABLE1_USES_J): Define.
47959 * string/strcasestr.c: Likewise.
47960
47961 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
47962 array references.
47963 * string/strcasestr.c (TOLOWER): Make side-effect safe.
47964
47965 [BZ #11607]
47966 * NEWS: Add an entry.
47967 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
47968 define their defaults.
47969 (two_way_short_needle): Detect end-of-string on-the-fly.
47970 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
47971 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
47972 * string/bug-strcasestr1.c: New test.
47973 * string/Makefile: Run it.
47974
47975 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
47976
47977 [BZ #11607]
47978 * string/str-two-way.h (two_way_short_needle): Optimize matching of
47979 the first character.
47980
47981 2012-08-21 Roland McGrath <roland@hack.frob.com>
47982
47983 * csu/elf-init.c (__libc_csu_irel): Function removed.
47984 * csu/libc-start.c (apply_irel): New function.
47985 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
47986
47987 2012-08-21 Joseph Myers <joseph@codesourcery.com>
47988
47989 * sysdeps/unix/sysv/linux/kernel-features.h
47990 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
47991 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
47992 <kernel-features.h>.
47993 [__NR_fadvise64_64]: Make code unconditional.
47994 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
47995 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
47996 !__NR_fadvise64_64)]: Likewise.
47997 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
47998 !__NR_fadvise64_64))]: Likewise.
47999 [__NR_fadvise64]: Make code unconditional.
48000 [!__NR_fadvise64]: Remove conditional code.
48001 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
48002 <kernel-features.h>.
48003 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
48004 unconditional.
48005 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
48006 conditional code.
48007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
48008 not include <kernel-features.h>.
48009 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
48010 unconditional.
48011 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
48012 conditional code.
48013 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
48014 include <kernel-features.h>.
48015 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
48016 unconditional.
48017 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
48018 conditional code.
48019
48020 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
48021
48022 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
48023 slight instruction rearrangements per scrollpipe analysis.
48024 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
48025
48026 2012-08-20 Roland McGrath <roland@hack.frob.com>
48027
48028 * manual/syslog.texi (syslog; vsyslog, closelog):
48029 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
48030 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
48031
48032 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
48033 DSOCAPS to match condition on defining it.
48034
48035 2012-08-20 Joseph Myers <joseph@codesourcery.com>
48036
48037 * sysdeps/unix/sysv/linux/kernel-features.h
48038 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
48039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
48040 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
48041 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
48042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
48043 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
48044 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
48045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
48046 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
48047 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
48048
48049 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
48050 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
48051
48052 * sysdeps/unix/sysv/linux/kernel-features.h
48053 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
48054 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
48055 unconditional.
48056 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
48057 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
48058 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
48059 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
48060 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
48061 Make code unconditional.
48062 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
48063 (__mmap64) [!__NR_mmap2]: Likewise.
48064 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
48065 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
48066 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
48067 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
48068 [__NR_mmap2]: Make code unconditional.
48069 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
48070 (__mmap64) [!__NR_mmap2]: Likewise.
48071
48072 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48073
48074 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
48075
48076 2012-08-18 Andreas Jaeger <aj@suse.de>
48077
48078 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
48079
48080 2012-08-18 Mike Frysinger <vapier@gentoo.org>
48081
48082 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
48083 * include/unistd.h (__have_sock_cloexec): Likewise.
48084 (__have_pipe2): Likewise.
48085 (__have_dup3): Likewise.
48086
48087 2012-08-18 Mike Frysinger <vapier@gentoo.org>
48088
48089 [BZ #9685]
48090 * include/unistd.h (__have_pipe2): Change define into an extern int.
48091 (__have_dup3): Likewise.
48092 * socket/have_sock_cloexec.c: Include fcntl.h.
48093 (__have_pipe2): New variable.
48094 (__have_dup3): Likewise.
48095
48096 2012-08-17 Mike Frysinger <vapier@gentoo.org>
48097
48098 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
48099
48100 2012-08-17 Marek Polacek <polacek@redhat.com>
48101
48102 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
48103 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
48104
48105 2012-08-17 Roland McGrath <roland@hack.frob.com>
48106
48107 * configure.in: Add AC_SUBST for sysheaders.
48108 * configure: Regenerated.
48109 * config.make.in (sysheaders): New substituted variable.
48110
48111 * sysdeps/unix/mkfifo.c: Moved ...
48112 * sysdeps/posix/mkfifo.c: ... here.
48113 * sysdeps/unix/mkfifoat.c: Moved ...
48114 * sysdeps/posix/mkfifoat.c: ... here.
48115
48116 * sysdeps/unix/utime.c: Moved ...
48117 * sysdeps/posix/utime.c: ... here.
48118
48119 * sysdeps/unix/time.c: Moved ...
48120 * sysdeps/posix/time.c: ... here.
48121 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
48122 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
48123
48124 * sysdeps/unix/nice.c: Moved ...
48125 * sysdeps/posix/nice.c: ... here.
48126
48127 * sysdeps/unix/alarm.c: Moved ...
48128 * sysdeps/posix/alarm.c: ... here.
48129
48130 * intl/Makefile ($(codeset_mo)): Depend on the input file.
48131
48132 2012-08-17 Jeff Law <law@redhat.com>
48133
48134 * intl/Makefile (codeset_mo): New variable.
48135 ($(codeset_mo)): New target.
48136 (tst-codeset.out): Depend on that. Remove explicit rule.
48137 (tst-gettext3.out, tst-gettext5.out): Likewise.
48138 (LOCPATH-ENV, tst-codeset-ENV): New variables.
48139 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
48140 * intl/tst-codeset.sh: Remove.
48141 * intl/tst-gettext3.sh: Likewise.
48142 * intl/tst-gettext5.sh: Likewise.
48143
48144 2012-08-17 Roland McGrath <roland@hack.frob.com>
48145
48146 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
48147 * sysdeps/unix/syscalls.list: ... here.
48148
48149 * sysdeps/posix/getaddrinfo.c
48150 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
48151 (gaiconf_init, gaiconf_reload): Use them.
48152 [!_STATBUF_ST_NSEC]
48153 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
48154 Define using time_t rather than struct timespec.
48155
48156 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
48157 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
48158 Macros removed.
48159 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
48160 [!NO_THREADS].
48161 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
48162 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
48163 Likewise.
48164
48165 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
48166 __libc_cleanup_push argument.
48167
48168 * bits/param.h: New file.
48169 * misc/sys/param.h: New file.
48170 * include/sys/param.h: New file.
48171 * misc/Makefile (headers): Add bits/param.h.
48172 * sysdeps/generic/sys/param.h: File removed.
48173 * sysdeps/unix/sysv/linux/bits/param.h: New file.
48174 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
48175 * sysdeps/mach/hurd/bits/param.h: New file.
48176 * sysdeps/mach/hurd/sys/param.h: File removed.
48177
48178 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
48179 last change.
48180
48181 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
48182 [_IO_MTSAFE_IO].
48183 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
48184 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
48185 New macros.
48186
48187 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
48188 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
48189 rather than -D_IO_MTSAFE_IO conditionally.
48190 * stdio-common/Makefile (CPPFLAGS): Likewise.
48191 * wcsmbs/Makefile (CPPFLAGS): Likewise.
48192 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
48193 Use $(libio-mtsafe).
48194 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
48195 of -D_IO_MTSAFE_IO.
48196 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
48197 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
48198 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
48199 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
48200 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
48201 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
48202 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
48203 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
48204 (CFLAGS-fread_u_chk.c): Likewise.
48205 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
48206 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
48207 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
48208 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
48209 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
48210 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
48211 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
48212 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
48213 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
48214
48215 * libio/Makefile: Test [$(libc-reentrant) = yes]
48216 instead of [$(filter %REENTRANT, $(defines)) nonempty].
48217
48218 * Makeconfig
48219 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
48220 * sysdeps/pthread/configure: File removed.
48221 * sysdeps/pthread/Makeconfig: New file.
48222 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
48223 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
48224
48225 2012-08-16 Gary Benson <gbenson@redhat.com>
48226
48227 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
48228 unmapping the first object in a namespace.
48229
48230 2012-08-16 Roland McGrath <roland@hack.frob.com>
48231
48232 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
48233 (__internal_setnetgrent): ... this. Add internal_function to
48234 definition. Add libc_hidden_def.
48235 (setnetgrent): Update caller.
48236 (internal_endnetgrent): Renamed to ...
48237 (__internal_endnetgrent): ... this. Add internal_function to
48238 definition. Add libc_hidden_def.
48239 (endnetgrent): Update caller.
48240 (internal_getnetgrent_r): Renamed to ...
48241 (__internal_getnetgrent_r): ... this. Add internal_function to
48242 definition. Add libc_hidden_def.
48243 (__getnetgrent_r): Update caller.
48244 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
48245
48246 2012-08-16 Joseph Myers <joseph@codesourcery.com>
48247
48248 * stdlib/longlong.h: Update from GCC.
48249
48250 2012-08-16 Roland McGrath <roland@hack.frob.com>
48251
48252 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
48253 on _QL, which is set by umul_ppmm but never used.
48254 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
48255 variables, which are set by GMP macros but never used.
48256 * stdio-common/_itowa.c (_itowa): Likewise.
48257 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
48258 * stdlib/mod_1.c (mpn_mod_1): Likewise.
48259
48260 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
48261
48262 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
48263 struct La_sh_regs is not constant.
48264 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
48265 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
48266 and struct La_sparc64_regs are not constant.
48267
48268 2012-08-16 Joseph Myers <joseph@codesourcery.com>
48269
48270 * sysdeps/unix/sysv/linux/kernel-features.h
48271 (__ASSUME_POSIX_TIMERS): Remove.
48272 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
48273 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
48274 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
48275 Make code unconditional.
48276 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
48277 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
48278 Make code unconditional.
48279 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
48280 * sysdeps/unix/sysv/linux/clock_nanosleep.c
48281 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
48282 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
48283 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
48284 Make code unconditional.
48285 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
48286 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
48287 (__libc_missing_posix_timers): Remove.
48288
48289 2012-08-15 Roland McGrath <roland@hack.frob.com>
48290
48291 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
48292 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
48293
48294 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
48295
48296 * elf/dl-sym.c: Include <stdlib.h>.
48297
48298 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
48299 constants, which avoids warnings in 32-bit builds.
48300
48301 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
48302 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
48303
48304 * misc/lseek.c: File moved to ...
48305 * io/lseek.c: ... here.
48306
48307 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
48308
48309 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
48310 shifting LEN more than 31 bits at once.
48311
48312 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48313
48314 [BZ #14195]
48315 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
48316 segmentation fault for a case of two empty input strings.
48317 * string/test-strncasecmp.c (check1): Renamed to...
48318 (bz12205): ...this.
48319 (bz14195): Add new testcase for two empty input strings and N > 0.
48320 (test_main): Call new testcase, adapt for renamed function.
48321
48322 2012-08-15 Andreas Jaeger <aj@suse.de>
48323
48324 [BZ #14090]
48325 * crypt/md5test2.c: New test, based on test supplied by Serge
48326 Belyshev <belyshev@depni.sinp.msu.ru>.
48327 * crypt/Makefile (xtests): Add md5test-giant..
48328 * crypt/Makefile ($(objpfx)md5test-giant): Add.
48329
48330 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
48331
48332 [BZ #14090]
48333 * crypt/md5.c (md5_process_block): Don't assume the buffer
48334 length is less than 2**32.
48335 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
48336 length is less than 2**64.
48337
48338 2012-08-15 Roland McGrath <roland@hack.frob.com>
48339
48340 * string/str-two-way.h: Include <sys/param.h>.
48341 (MAX): Macro removed.
48342
48343 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
48344 Move #define and #undef of memmove to just before and after
48345 including <string.h>.
48346
48347 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
48348 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
48349 and after including <string.h>. Move declarations of
48350 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
48351 to before #include "string/memmove.c".
48352
48353 * include/dirent.h: Declare __getdirentries.
48354
48355 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
48356 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
48357
48358 2012-08-14 Mike Frysinger <vapier@gentoo.org>
48359
48360 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
48361 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
48362 * sysdeps/i386/configure: Regenerated.
48363 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
48364 STABS_CURRENT_FILE, and STABS_FUN.
48365 (END): Remove call to STABS_FUN_END.
48366 (STABS_CURRENT_FILE1): Delete.
48367 (STABS_CURRENT_FILE): Likewise.
48368 (STABS_FUN): Likewise.
48369 (STABS_FUN_END): Likewise.
48370 (STABS_FUN2): Likewise.
48371 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
48372 * sysdeps/x86_64/configure: Regenerated.
48373
48374 2012-08-14 Roland McGrath <roland@hack.frob.com>
48375
48376 * elf/dl-open.c: Include <atomic.h>.
48377 * elf/dl-lookup.c: Likewise.
48378
48379 2012-08-14 Joseph Myers <joseph@codesourcery.com>
48380
48381 * sysdeps/unix/sysv/linux/kernel-features.h
48382 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
48383 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
48384 unconditionally.
48385 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
48386 unconditionally.
48387 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
48388 condition on __ASSUME_CLONE_THREAD_FLAGS.
48389
48390 2012-08-14 Andreas Jaeger <aj@suse.de>
48391
48392 * sysdeps/i386/fpu/libm-test-ulps: Update.
48393
48394 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
48395
48396 * include/atomic.h (atomic_exchange_and_add): Split into ...
48397 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
48398 New atomic macros.
48399
48400 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
48401
48402 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48403
48404 2012-08-13 Jeff Law <law@redhat.com>
48405
48406 * manual/stdio.texi (snprintf): Clarify handling of the trailing
48407 null byte in the output string.
48408
48409 2012-08-10 Joseph Myers <joseph@codesourcery.com>
48410
48411 * sysdeps/unix/sysv/linux/kernel-features.h
48412 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
48413 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
48414 (__ASSUME_ARG_MAX_STACK_BASED): Define.
48415 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
48416 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
48417 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
48418 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
48419
48420 2012-08-09 Jeff Law <law@redhat.com>
48421
48422 [BZ #13939]
48423 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
48424 When avoid_arena is set, don't retry in the that arena. Pick the
48425 next one, whatever it might be.
48426 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
48427 (arena_lock): Pass in new parameter to arena_get2.
48428 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
48429 arena_get2.
48430 (__libc_malloc): Unify retrying after main arena failure with
48431 __libc_memalign version.
48432 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
48433
48434 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
48435
48436 [BZ #14166]
48437 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
48438 to __redirect_strstr.
48439 (__strstr_sse42): Use typeof __redirect_strstr.
48440 (__strstr_ia32): Likewise.
48441 (__libc_strstr): New prototype.
48442 (strstr): Renamed to ...
48443 (__libc_strstr): This.
48444 (strstr): New strong alias of __libc_strstr.
48445 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
48446 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
48447 __redirect_time.
48448 Include <time.h>.
48449 (__libc_time): New prototype.
48450 (time_ifunc): Replace time with __libc_time.
48451 (time): New strong alias and hidden definition of __libc_time.
48452 (__GI_time): Remove strong alias.
48453 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
48454 Include <stddef.h>.
48455 (memmove): Redefined to __redirect_memmove.
48456 (__memmove_sse2): Use typeof __redirect_memmove.
48457 (__memmove_ssse3): Likewise.
48458 (__memmove_ssse3_back): Likewise.
48459 (__libc_memmove): New prototype.
48460 (memmove): Renamed to ...
48461 (__libc_memmove): This.
48462 (memmove): New strong alias of __libc_memmove.
48463
48464 2012-08-08 Mark Salter <msalter@redhat.com>
48465
48466 * elf/elf.h
48467 (R_MN10300_TLS_GD): Define.
48468 (R_MN10300_TLS_LD): Likewise.
48469 (R_MN10300_TLS_LDO): Likewise.
48470 (R_MN10300_TLS_GOTIE): Likewise.
48471 (R_MN10300_TLS_IE): Likewise.
48472 (R_MN10300_TLS_LE): Likewise.
48473 (R_MN10300_TLS_DTPMOD): Likewise.
48474 (R_MN10300_TLS_DTPOFF): Likewise.
48475 (R_MN10300_TLS_TPOFF): Likewise.
48476 (R_MN10300_SYM_DIFF): Likewise.
48477 (R_MN10300_ALIGN): Likewise.
48478 (R_MN10300_NUM): Update.
48479
48480 2012-08-08 Joseph Myers <joseph@codesourcery.com>
48481
48482 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
48483 Remove.
48484
48485 2012-08-08 Roland McGrath <roland@hack.frob.com>
48486
48487 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
48488
48489 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
48490 sysdeps/unix -> sysdeps/posix move.
48491 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
48492
48493 2012-08-07 Allan McRae <allan@archlinux.org>
48494
48495 [BZ #14303]
48496 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
48497 (SUNOS_CPP): Likewise.
48498 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
48499 not found.
48500 (open_input): Call CPP using execvp.
48501
48502 2012-08-07 Joseph Myers <joseph@codesourcery.com>
48503
48504 * sysdeps/unix/sysv/linux/kernel-features.h
48505 (__ASSUME_PROT_GROWSUPDOWN): Remove.
48506 (__ASSUME_NO_CLONE_DETACHED): Likewise.
48507 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
48508 (__ASSUME_WAITID_SYSCALL): Likewise.
48509 * sysdeps/unix/sysv/linux/dl-execstack.c
48510 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
48511 code unconditional.
48512 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
48513 conditional code.
48514 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
48515 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
48516 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
48517 code.
48518 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
48519 unconditional.
48520 [__ASSUME_WAITID_SYSCALL]: Likewise.
48521 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
48522
48523 2012-08-07 Roland McGrath <roland@hack.frob.com>
48524
48525 * sysdeps/unix/closedir.c: Renamed to ...
48526 * sysdeps/posix/closedir.c: ... here.
48527 * sysdeps/unix/dirfd.c: Renamed to ...
48528 * sysdeps/posix/dirfd.c: ... here.
48529 * sysdeps/unix/dirstream.h: Renamed to ...
48530 * sysdeps/posix/dirstream.h: ... here.
48531 * sysdeps/unix/fdopendir.c: Renamed to ...
48532 * sysdeps/posix/fdopendir.c: ... here.
48533 * sysdeps/unix/opendir.c: Renamed to ...
48534 * sysdeps/posix/opendir.c: ... here.
48535 * sysdeps/unix/readdir.c: Renamed to ...
48536 * sysdeps/posix/readdir.c: ... here.
48537 * sysdeps/unix/readdir_r.c: Renamed to ...
48538 * sysdeps/posix/readdir_r.c: ... here.
48539 * sysdeps/unix/rewinddir.c: Renamed to ...
48540 * sysdeps/posix/rewinddir.c: ... here.
48541 * sysdeps/unix/seekdir.c: Renamed to ...
48542 * sysdeps/posix/seekdir.c: ... here.
48543 * sysdeps/unix/telldir.c: Renamed to ...
48544 * sysdeps/posix/telldir.c: ... here.
48545 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
48546 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
48547 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
48548 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
48549
48550 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
48551 * bits/fcntl.h: ... here.
48552
48553 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
48554 not 0.
48555 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
48556 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
48557 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
48558 (struct flock): Move l_start, l_len to the beginning.
48559 Use __pid_t for l_pid.
48560 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
48561 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
48562 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
48563 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
48564 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
48565 [__USE_LARGEFILE64] (struct flock64): New type.
48566 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
48567
48568 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
48569 * bits/dirent.h: ... here.
48570
48571 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
48572 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
48573
48574 2012-08-07 Joseph Myers <joseph@codesourcery.com>
48575
48576 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
48577 Change from 2.6.0 to 2.6.16.
48578 * sysdeps/unix/sysv/linux/configure: Regenerated.
48579 * sysdeps/unix/sysv/linux/kernel-features.h
48580 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
48581 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
48582 version.
48583 (__ASSUME_UTIMES): Likewise.
48584 (__ASSUME_CLONE_STOPPED): Remove.
48585 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
48586 architectures, not kernel version.
48587 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
48588 (__ASSUME_NO_CLONE_DETACHED): Likewise.
48589 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
48590 (__ASSUME_WAITID_SYSCALL): Likewise.
48591 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
48592 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
48593 * README: State 2.6.16 as minimum Linux kernel version. Do not
48594 refer to older versions.
48595
48596 2012-08-06 Roland McGrath <roland@hack.frob.com>
48597
48598 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
48599 Define alphasort64 as an alias.
48600 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
48601 Define versionsort64 as an alias.
48602 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
48603 Define scandir64 as an alias.
48604 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
48605 Define scandirat64 as an alias.
48606 * dirent/alphasort64.c (alphasort64):
48607 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
48608 * dirent/versionsort64.c: Likewise.
48609 * dirent/scandir64.c: Likewise.
48610 * dirent/scandirat64.c: Likewise.
48611 * sysdeps/wordsize-64/alphasort.c: File removed.
48612 * sysdeps/wordsize-64/alphasort64.c: File removed.
48613 * sysdeps/wordsize-64/scandir.c: File removed.
48614 * sysdeps/wordsize-64/scandir64.c: File removed.
48615 * sysdeps/wordsize-64/scandirat.c: File removed.
48616 * sysdeps/wordsize-64/scandirat64.c: File removed.
48617 * sysdeps/wordsize-64/versionsort.c: File removed.
48618 * sysdeps/wordsize-64/versionsort64.c: File removed.
48619 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
48620 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
48621 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
48622 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
48623 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
48624 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
48625 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
48626 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
48627
48628 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
48629 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
48630 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
48631 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
48632 [defined __arch64__ || defined __sparcv9]
48633 (__INO_T_MATCHES_INO64_T): New macro.
48634 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
48635 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
48636 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
48637 * sysdeps/unix/sysv/linux/bits/dirent.h
48638 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
48639 (_DIRENT_MATCHES_DIRENT64): New macro.
48640
48641 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
48642 Define lockf64 as an alias.
48643 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
48644 Define fseeko64 as an alias.
48645 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
48646 Define ftello64 as an alias.
48647 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
48648 Define _IO_fgetpos64 and fgetpos64 as aliases.
48649 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
48650 Define _IO_fsetpos64 and fsetpos64 as aliases.
48651 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
48652 Conditionalize body on this.
48653 * libio/fseeko64.c: Likewise.
48654 * libio/ftello64.c: Likewise.
48655 * libio/iofgetpos64.c: Likewise.
48656 * libio/iofsetpos64.c: Likewise.
48657 * sysdeps/wordsize-64/lockf.c: File removed.
48658 * sysdeps/wordsize-64/lockf64.c: File removed.
48659 * sysdeps/wordsize-64/fseeko.c: File removed.
48660 * sysdeps/wordsize-64/fseeko64.c: File removed.
48661 * sysdeps/wordsize-64/ftello.c: File removed.
48662 * sysdeps/wordsize-64/ftello64.c: File removed.
48663 * sysdeps/wordsize-64/iofgetpos.c: File removed.
48664 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
48665 * sysdeps/wordsize-64/iofsetpos.c: File removed.
48666 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
48667 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
48668 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
48669 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
48670 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
48671 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
48672 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
48673 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
48674 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
48675 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
48676 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
48677
48678 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
48679 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
48680 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
48681 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
48682 [defined __arch64__ || defined __sparcv9]
48683 (__OFF_T_MATCHES_OFF64_T): New macro.
48684 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
48685 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
48686 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
48687 (__OFF_T_MATCHES_OFF64_T): New macro.
48688
48689 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
48690
48691 * stdlib/secure-getenv.c (__secure_getenv): Replace
48692 GLIBC_2_16 with GLIBC_2_17.
48693
48694 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
48695
48696 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
48697 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
48698
48699 2012-08-03 David S. Miller <davem@davemloft.net>
48700
48701 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48702
48703 2012-08-03 Joseph Myers <joseph@codesourcery.com>
48704
48705 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
48706 Remove.
48707 (__ASSUME_CORRECT_SI_PID): Likewise.
48708 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
48709 (__ASSUME_TMPFS_NAME): Likewise.
48710 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
48711 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
48712 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
48713 (HAVE_AUX_SECURE): Make definition unconditional.
48714 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
48715 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
48716
48717 2012-08-03 Roland McGrath <roland@hack.frob.com>
48718
48719 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
48720 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
48721 * sysdeps/mach/hurd/eloop-threshold.h: New file.
48722 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
48723 __eloop_threshold instead of SYMLOOP_MAX.
48724
48725 * sysdeps/generic/eloop-threshold.h: New file.
48726 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
48727 of MAXSYMLINKS.
48728 * elf/chroot_canon.c (chroot_canon): Likewise.
48729
48730 2012-08-03 Joseph Myers <joseph@codesourcery.com>
48731
48732 [BZ #13717]
48733 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
48734 Change to 2.6.0 everywhere.
48735 * sysdeps/unix/sysv/linux/configure: Regenerated.
48736 * sysdeps/unix/sysv/linux/kernel-features.h
48737 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
48738 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
48739 kernel versions.
48740 (__ASSUME_POSIX_TIMERS): Define unconditionally.
48741 (__ASSUME_FUTEX_REQUEUE): Remove.
48742 (__ASSUME_STATFS64): Define unconditionally.
48743 (__ASSUME_AT_SECURE): Likewise.
48744 (__ASSUME_CORRECT_SI_PID): Likewise.
48745 (__ASSUME_TGKILL): Define without depending on kernel version for
48746 i386.
48747 (__ASSUME_UTIMES): Likewise.
48748 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
48749 kernel version.
48750 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
48751 (__ASSUME_TMPFS_NAME): Likewise.
48752 * README: Update reference to Linux kernel versions.
48753
48754 2012-08-02 Marek Polacek <polacek@redhat.com>
48755
48756 [BZ# 14150]
48757 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
48758 libc_cv_asm_type_prefix with %.
48759 * configure: Regenerated.
48760 * include/libc-symbols.h: Remove comment about
48761 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
48762 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
48763 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
48764 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
48765 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
48766 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
48767 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
48768 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
48769 * elf/tst-unique2mod1.c: Likewise.
48770 * elf/tst-unique1mod2.c: Likewise.
48771 * elf/tst-unique1mod1.c: Likewise.
48772 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
48773 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
48774 Replace ASM_TYPE_DIRECTIVE with .type.
48775 * sysdeps/s390/s390-64/sysdep.h: Likewise.
48776 * sysdeps/i386/sysdep.h: Likewise.
48777 * sysdeps/x86_64/sysdep.h: Likewise.
48778 * sysdeps/sh/sysdep.h: Likewise.
48779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
48780 Do not define ASM_TYPE_DIRECTIVE.
48781 * sysdeps/powerpc/sysdep.h: Likewise.
48782 * sysdeps/powerpc/powerpc32/sysdep.h:
48783 Replace ASM_TYPE_DIRECTIVE with .type.
48784 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
48785 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
48786 * sysdeps/i386/fpu/e_powf.S: Likewise.
48787 * sysdeps/i386/fpu/e_expl.S: Likewise.
48788 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
48789 * sysdeps/i386/fpu/e_acosh.S: Likewise.
48790 * sysdeps/i386/fpu/e_pow.S: Likewise.
48791 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
48792 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
48793 * sysdeps/i386/fpu/s_expm1.S: Likewise.
48794 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
48795 * sysdeps/i386/fpu/e_log2.S: Likewise.
48796 * sysdeps/i386/fpu/e_log2l.S: Likewise.
48797 * sysdeps/i386/fpu/e_scalb.S: Likewise.
48798 * sysdeps/i386/fpu/e_powl.S: Likewise.
48799 * sysdeps/i386/fpu/e_log10f.S: Likewise.
48800 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
48801 * sysdeps/i386/fpu/e_logl.S: Likewise.
48802 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
48803 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
48804 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
48805 * sysdeps/i386/fpu/e_log2f.S: Likewise.
48806 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
48807 * sysdeps/i386/fpu/e_log.S: Likewise.
48808 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
48809 * sysdeps/i386/fpu/e_logf.S: Likewise.
48810 * sysdeps/i386/fpu/e_log10l.S: Likewise.
48811 * sysdeps/i386/fpu/e_atanh.S: Likewise.
48812 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
48813 * sysdeps/i386/fpu/e_log10.S: Likewise.
48814 * sysdeps/i386/fpu/s_frexp.S: Likewise.
48815 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
48816 * sysdeps/i386/fpu/s_asinh.S: Likewise.
48817 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
48818 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
48819 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
48820 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
48821 * sysdeps/i386/i686/strtok.S: Likewise.
48822 * sysdeps/i386/i386-mcount.S: Likewise.
48823 * sysdeps/i386/strtok.S: Likewise.
48824 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
48825 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
48826 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
48827 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
48828 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
48829 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
48830 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
48831 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
48832 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
48833 * sysdeps/x86_64/_mcount.S: Likewise.
48834 * sysdeps/x86_64/strtok.S: Likewise.
48835 * sysdeps/sh/_mcount.S: Likewise.
48836
48837 2012-08-01 Roland McGrath <roland@hack.frob.com>
48838
48839 * libio/iofopen.c: Include <fcntl.h>.
48840 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
48841 (_IO_fopen64, fopen64): Define as aliases.
48842 * libio/iofopen64.c: Include <fcntl.h>.
48843 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
48844 Conditionalize body on this.
48845 * sysdeps/wordsize-64/iofopen.c: File removed.
48846 * sysdeps/wordsize-64/iofopen64.c: File removed.
48847
48848 2012-08-01 Marek Polacek <polacek@redhat.com>
48849
48850 * libc/Makeconfig: Use elf in place of binfmt-subdir.
48851 Use dlfcn directly instead of a variable.
48852 (binfmt-subdir): Do not define.
48853 (dlfcn): Likewise.
48854
48855 2012-08-01 Joseph Myers <joseph@codesourcery.com>
48856
48857 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
48858 Remove all definitions.
48859 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
48860 <kernel-features.h>.
48861 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
48862 (miss_F_GETOWN_EX): Remove all definitions.
48863 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
48864 macro definition.
48865 [!__ASSUME_FCNTL64]: Remove conditional code.
48866 [__ASSUME_FCNTL64]: Make code unconditional.
48867 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
48868 <kernel-features.h>.
48869 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
48870 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
48871 (lockf64) [__NR_fcntl64]: Make code unconditional.
48872 (lockf64) [__ASSUME_FCNTL64]: Likewise.
48873
48874 * sysdeps/unix/sysv/linux/kernel-features.h
48875 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
48876 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
48877 Make code unconditional.
48878 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
48879 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
48880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
48881 [__NR_vfork]: Make code unconditional.
48882 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
48883 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
48884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
48885 [__NR_vfork]: Make code unconditional.
48886 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
48887 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
48888
48889 2012-08-01 Roland McGrath <roland@hack.frob.com>
48890
48891 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
48892 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
48893
48894 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
48895 Define mkstemp64 as an alias.
48896 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
48897 Define mkstemps64 as an alias.
48898 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
48899 Define mkostemp64 as an alias.
48900 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
48901 Define mkostemps64 as an alias.
48902 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
48903 Conditionalize body on this.
48904 * misc/mkostemp64.c: Likewise.
48905 * misc/mkostemps64.c: Likewise.
48906 * misc/mkstemps64.c: Likewise.
48907 * sysdeps/wordsize-64/mkstemp64.c: File removed.
48908 * sysdeps/wordsize-64/mkostemp64.c: File removed.
48909 * sysdeps/wordsize-64/mkostemp.c: File removed.
48910 * sysdeps/wordsize-64/mkstemp.c: File removed.
48911 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
48912 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
48913 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
48914 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
48915
48916 [BZ #14138]
48917 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
48918 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
48919 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
48920 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
48921
48922 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
48923 compat_symbol macros from <shlib-compat.h> rather than the underlying
48924 default_symbol_version and symbol_version macros, so that DEFAULT
48925 lines in shlib-versions are respected.
48926 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
48927
48928 2012-08-01 Florian Weimer <fweimer@redhat.com>
48929
48930 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
48931 Declare with warn_unused_result.
48932 (setgid, setregid, setegid, setresgid): Likewise.
48933 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
48934 Likewise.
48935 * WUR-REPORT: Remove set*id functions.
48936
48937 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
48938
48939 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
48940
48941 2012-07-31 Roland McGrath <roland@hack.frob.com>
48942
48943 [BZ #10191]
48944 * include/sys/socket.h (__libc_accept, __libc_accept4):
48945 Add attribute_hidden.
48946 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
48947
48948 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
48949 use of PTR_MANGLE.
48950 * inet/getnetgrent_r.c (setup): Likewise.
48951
48952 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
48953
48954 2012-07-31 David S. Miller <davem@davemloft.net>
48955
48956 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48957
48958 2012-07-31 Joseph Myers <joseph@codesourcery.com>
48959
48960 [BZ #13629]
48961 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
48962 value between 1.0 and 2.0 and smaller part has absolute value less
48963 than 1.0.
48964 * math/s_clog10.c (__clog10): Likewise.
48965 * math/s_clog10f.c (__clog10f): Likewise.
48966 * math/s_clog10l.c (__clog10l): Likewise.
48967 * math/s_clogf.c (__clogf): Likewise.
48968 * math/s_clogl.c (__clogl): Likewise.
48969 * math/libm-test.inc (clog_test): Add more tests.
48970 (clog10_test): Likewise.
48971 * sysdeps/i386/fpu/libm-test-ulps: Update.
48972 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48973
48974 2012-07-31 Florian Weimer <fweimer@redhat.com>
48975
48976 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
48977 Exit with zero in case no suitable GID is found, and write a
48978 message to standard error.
48979
48980 2012-07-30 Roland McGrath <roland@hack.frob.com>
48981
48982 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
48983 rather than to 1.
48984 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
48985 (MAXPATHLEN): Removed.
48986 (NOGROUP, NODEV): New macros.
48987 (setbit, clrbit, isset, isclr): New macros.
48988 (howmany, roundup, powerof2): New macros.
48989 (DEV_BSIZE): New macro.
48990
48991 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
48992 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
48993
48994 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
48995 definition on [!__NO_LONG_DOUBLE_MATH].
48996
48997 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
48998 PTR_MANGLE and PTR_DEMANGLE.
48999
49000 * socket/accept4.c (accept4): Rename to __libc_accept4.
49001 Define accept4 as a weak alias.
49002
49003 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
49004 on [_DIRENT_HAVE_D_TYPE].
49005 * io/ftw.c (ftw_dir): Likewise.
49006
49007 * io/xmknod.c (__xmknod): Don't check PATH for being null.
49008
49009 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
49010
49011 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
49012 Use the BSD numbers rather than the arbitrary ones we had.
49013 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
49014 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
49015 (SIGXCPU, SIGXFSZ): New macros.
49016 (_NSIG): Now 32.
49017
49018 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
49019 initializer on [_LIBC_REENTRANT].
49020
49021 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
49022 definitions inside [_POSIX_MAPPED_FILES].
49023
49024 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
49025
49026 * dirent/opendir.c: Include <fcntl.h>.
49027
49028 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
49029 (__libc_getspecific): Likewise.
49030 (__libc_key_create): Likewise.
49031
49032 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
49033 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
49034 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
49035 (tmpfile64): Define as alias.
49036 * sysdeps/wordsize-64/tmpfile.c: File removed.
49037 * sysdeps/wordsize-64/tmpfile64.c: File removed.
49038 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
49039 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
49040
49041 * stdio-common/vfscanf.c: Include <stdbool.h>.
49042 * nss/makedb.c: Likewise.
49043 * stdio-common/_i18n_number.h: Likewise.
49044 * argp/argp-help.c: Likewise.
49045 * posix/wordexp.c: Likewise.
49046 * sysdeps/posix/spawni.c: Likewise.
49047 * nss/nss_files/files-initgroups.c: Likewise.
49048 * stdio-common/reg-modifier.c: Include <stdlib.h>.
49049 * nss/nss_files/files-initgroups.c: Likewise.
49050 * nss/nss_db/db-netgrp.c: Likewise.
49051 * nss/nss_db/db-initgroups.c: Likewise.
49052 * io/fchmodat.c: Include <sys/stat.h>.
49053
49054 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
49055 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
49056
49057 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
49058 [HAVE_MMAP].
49059
49060 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
49061 Add multiple inclusion protection.
49062
49063 2012-07-27 David S. Miller <davem@davemloft.net>
49064
49065 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49066
49067 2012-07-27 Gary Benson <gbenson@redhat.com>
49068
49069 [BZ #14298]
49070 * elf/rtld.c: Include <stap-probe.h>.
49071 (dl_main): Added static probes "init_start" and "init_complete".
49072 * elf/dl-load.c: Include <stap-probe.h>.
49073 (lose): Take new parameter "nsid".
49074 Added static probe "map_failed".
49075 (_dl_map_object_from_fd): Pass namespace id to lose.
49076 Added static probe "map_start".
49077 (open_verify): Pass namespace id to lose.
49078 * elf/dl-open.c: Include <stap-probe.h>.
49079 (dl_open_worker) Added static probes "map_complete", "reloc_start"
49080 and "reloc_complete".
49081 * elf/dl-close.c: Include <stap-probe.h>.
49082 (_dl_close_worker): Added static probes "unmap_start" and
49083 "unmap_complete".
49084 * elf/rtld-debugger-interface.txt: New file documenting the above.
49085
49086 2012-07-26 Roland McGrath <roland@hack.frob.com>
49087
49088 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
49089 rather than a string variable.
49090 * sunrpc/rpc_main.c (h_output): Likewise.
49091 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
49092
49093 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
49094
49095 * inet/check_native.c: New file.
49096
49097 2012-07-26 Joseph Myers <joseph@codesourcery.com>
49098
49099 [BZ #13629]
49100 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
49101 if larger part has absolute value 1.0.
49102 * math/s_clog10.c (__clog10): Likewise.
49103 * math/s_clog10f.c (__clog10f): Likewise.
49104 * math/s_clog10l.c (__clog10l): Likewise.
49105 * math/s_clogf.c (__clogf): Likewise.
49106 * math/s_clogl.c (__clogl): Likewise.
49107 * math/libm-test.inc (clog_test): Add more tests.
49108 (clog10_test): Likewise.
49109 * sysdeps/i386/fpu/libm-test-ulps: Update.
49110 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49111
49112 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
49113 (pltexit): Likewise.
49114 (La_regs): Likewise.
49115 (La_retval): Likewise.
49116 (int_retval): Likewise.
49117 Update #error for removed macros to refer only to definitions in
49118 tst-audit.h.
49119 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
49120 macro.
49121 (pltexit): Likewise.
49122 (La_regs): Likewise.
49123 (La_retval): Likewise.
49124 (int_retval): Likewise.
49125 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
49126 macro.
49127 (pltexit): Likewise.
49128 (La_regs): Likewise.
49129 (La_retval): Likewise.
49130 (int_retval): Likewise.
49131 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
49132 macro.
49133 (pltexit): Likewise.
49134 (La_regs): Likewise.
49135 (La_retval): Likewise.
49136 (int_retval): Likewise.
49137 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
49138 macro.
49139 (pltexit): Likewise.
49140 (La_regs): Likewise.
49141 (La_retval): Likewise.
49142 (int_retval): Likewise.
49143 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
49144 macro.
49145 (pltexit): Likewise.
49146 (La_regs): Likewise.
49147 (La_retval): Likewise.
49148 (int_retval): Likewise.
49149 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
49150 macro.
49151 (pltexit): Likewise.
49152 (La_regs): Likewise.
49153 (La_retval): Likewise.
49154 (int_retval): Likewise.
49155 * sysdeps/generic/tst-audit.h: Update comment to refer only to
49156 macro definitions in tst-audit.h.
49157 * sysdeps/i386/tst-audit.h: New file.
49158 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
49159 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
49160 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
49161 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
49162 * sysdeps/sh/tst-audit.h: Likewise.
49163 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
49164 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
49165 * sysdeps/x86_64/tst-audit.h: Likewise.
49166
49167 2012-07-26 Andreas Jaeger <aj@suse.de>
49168
49169 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
49170 ptrace.
49171
49172 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
49173 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
49174 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
49175 PTRACE_O_MASK.
49176 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
49177 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
49178 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
49179
49180 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
49181 value.
49182
49183 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
49184 _sigsys.
49185 (si_call_addr, si_syscall, si_arch): Define new macro.
49186 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
49187 _sigsys.
49188 (si_call_addr, si_syscall, si_arch): Define new marcro.
49189 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
49190 _sigsys.
49191 (si_call_addr, si_syscall, si_arch): Define new macro.
49192 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
49193 _sigsys.
49194 (si_call_addr, si_syscall, si_arch): Define new macro.
49195
49196 2012-07-25 Joseph Myers <joseph@codesourcery.com>
49197
49198 [BZ #13717]
49199 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
49200 Change to 2.4.21 where previously 2.4.1.
49201 * sysdeps/unix/sysv/linux/configure: Regenerated.
49202 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
49203 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
49204 Linux kernel version.
49205 (__ASSUME_STD_AUXV): Remove.
49206 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
49207 kernel version.
49208 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
49209 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
49210 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
49211 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
49212 (__ASSUME_NETLINK_SUPPORT): Likewise.
49213 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
49214 (__no_netlink_support): Remove conditional definition.
49215 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
49216 Remove.
49217 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
49218 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
49219 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
49220 (if_nameindex_ioctl): Remove.
49221 (if_nameindex_netlink): Do not handle __no_netlink_support.
49222 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
49223 code.
49224 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
49225 Remove conditional code.
49226 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
49227 code.
49228 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
49229 unconditional.
49230 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
49231 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
49232 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
49233 Remove.
49234 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
49235 [!__ASSUME_STD_AUXV]: Remove conditional code.
49236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
49237 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
49238 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
49239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
49240 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
49241 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
49242 code.
49243 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
49244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
49245 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
49246 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
49247 conditional code.
49248 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
49249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
49250 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
49251 code.
49252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
49253 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
49254 conditional code.
49255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
49256 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
49257 code unconditional.
49258 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
49259 conditional code.
49260 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
49261 unconditional.
49262 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
49263 conditional code.
49264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
49265 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
49266 unconditional.
49267 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
49268 conditional code.
49269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
49270 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
49271 code unconditional.
49272 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
49273 conditional code.
49274 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
49275 unconditional.
49276 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
49277 conditional code.
49278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
49279 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
49280 code unconditional.
49281 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
49282 conditional code.
49283 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
49284 unconditional.
49285 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
49286 conditional code.
49287
49288 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
49289
49290 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
49291 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
49292 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
49293 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
49294 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
49295 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
49296 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
49297 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
49298 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
49299 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
49300 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
49301 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
49302 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
49303 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
49304 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
49305 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
49306 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
49307 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
49308 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
49309 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
49310 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
49311 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
49312 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
49313
49314 2012-07-25 Florian Weimer <fweimer@redhat.com>
49315
49316 * Versions.def: Add GLIBC_2.17.
49317 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
49318 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
49319 Introduce __libc_secure_getenv.
49320 * stdlib/Versions (2.17): Add secure_getenv
49321 (GLIBC_PRIVATE): Add __libc_secure_getenv.
49322 * stdlib/secure-getenv.c: Rename __secure_getenv to
49323 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
49324 symbol __secure_getenv for GLIBC_2.0.
49325 * stdlib/tst-secure-getenv.c: New.
49326 * stdlib/Makefile (tests): Add testcase.
49327 * manual/startup.texi (Environment Access): Document
49328 secure_getenv.
49329 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
49330 __libc_secure_getenv.
49331 * inet/ruserpass.c (ruserpass): Likewise.
49332 * malloc/mtrace.c (mtrace): Likewise.
49333 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
49334 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
49335 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
49336 * sysdeps/posix/tempname.c: Likewise. Evaluate
49337 HAVE_SECURE_GETENV.
49338 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
49339 __secure_getenv to __libc_secure_getenv.
49340 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
49341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
49342 Likewise.
49343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
49344 Likewise.
49345 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
49346 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
49347 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
49348 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
49349 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
49350 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
49351 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
49352
49353 2012-07-25 Joseph Myers <joseph@codesourcery.com>
49354
49355 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
49356 (struct La_i86_retval): Likewise.
49357 (struct La_x86_64_regs): Likewise.
49358 (struct La_x86_64_retval): Likewise.
49359 (struct La_x32_regs): Likewise.
49360 (struct La_x32_retval): Likewise.
49361 (struct La_ppc32_regs): Likewise.
49362 (struct La_ppc32_retval): Likewise.
49363 (struct La_ppc64_regs): Likewise.
49364 (struct La_ppc64_retval): Likewise.
49365 (struct La_sh_regs): Likewise.
49366 (struct La_sh_retval): Likewise.
49367 (struct La_s390_32_regs): Likewise.
49368 (struct La_s390_32_retval): Likewise.
49369 (struct La_s390_64_regs): Likewise.
49370 (struct La_s390_64_retval): Likewise.
49371 (struct La_sparc32_regs): Likewise.
49372 (struct La_sparc32_retval): Likewise.
49373 (struct La_sparc64_regs): Likewise.
49374 (struct La_sparc64_retval): Likewise.
49375 (struct audit_ifaces): Remove architecture-specific pltenter and
49376 pltexit members.
49377 * sysdeps/i386/ldsodefs.h: New file.
49378 * sysdeps/powerpc/ldsodefs.h: Likewise.
49379 * sysdeps/s390/ldsodefs.h: Likewise.
49380 * sysdeps/sh/ldsodefs.h: Likewise.
49381 * sysdeps/sparc/ldsodefs.h: Likewise.
49382 * sysdeps/x86_64/ldsodefs.h: Likewise.
49383
49384 2012-07-25 Marek Polacek <polacek@redhat.com>
49385
49386 [BZ #6808]
49387 * math/libm-test.inc (yn_test): Add another test.
49388 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
49389 to ERANGE when the result is +-Inf.
49390 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
49391 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
49392 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
49393 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
49394
49395 2012-07-24 Joseph Myers <joseph@codesourcery.com>
49396
49397 * conform/data/time.h-data (NULL): Use macro-constant. Require
49398 equal to 0.
49399 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
49400 clock_t.
49401 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
49402
49403 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
49404
49405 * configure.in <sysdeps resolving>: Correct printing
49406 Implies_before.
49407 * configure: Regenerate.
49408
49409 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
49410
49411 * math/w_ilogb.c: Include <limits.h>.
49412 * math/w_ilogbl.c: Likewise.
49413
49414 2012-07-20 Joseph Myers <joseph@codesourcery.com>
49415
49416 * manual/lang.texi (__va_copy): Document primarily as ISO C99
49417 va_copy. Document allowing for unavailable va_copy only as
49418 pre-C99 compatibility.
49419 * manual/string.texi (Copying and Concatenation): Use va_copy
49420 instead of __va_copy in concat example.
49421
49422 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
49423
49424 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
49425 (__sendto): Use create_address_port. Initialize APORT and deallocate
49426 it if not null.
49427
49428 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
49429 with O_NOLINK passed to __file_name_lookup.
49430
49431 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
49432 with O_NOLINK passed to __file_name_lookup.
49433
49434 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
49435 negative N or less than NGIDS.
49436
49437 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
49438 type to string_t. Set ERANGE as errno and return it if NAME is not big
49439 enough. Use memcpy instead of strncpy.
49440
49441 2012-07-20 Joseph Myers <joseph@codesourcery.com>
49442
49443 * elf/Makefile (check-data): Remove.
49444 (localplt.data): New vpath directive.
49445 ($(objpfx)check-localplt.out): Use localplt.data from vpath
49446 instead of $(check-data).
49447 * scripts/data/localplt-generic.data: Move to ...
49448 * sysdeps/generic/localplt.data: ... here.
49449 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
49450 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
49451 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
49452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
49453 ... here.
49454 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
49455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
49456 ... here.
49457 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
49458 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
49459 ... here.
49460 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
49461 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
49462 ... here.
49463 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
49464 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
49465 ... here.
49466 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
49467 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
49468 ... here.
49469
49470 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49471
49472 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
49473 PPC32 and PPC64 files.
49474 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
49475 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
49476
49477 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49478
49479 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
49480 __makecontext_ret to ...
49481 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
49482 ... here and call exit if uc_link is NULL. New file.
49483 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
49484 __makecontext_ret.S.
49485 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
49486 __makecontext_ret to ...
49487 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
49488 ... here and call exit if uc_link is NULL. New file.
49489 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
49490 __makecontext_ret.S.
49491
49492 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49493
49494 * elf/elf.h (R_390_IRELATIVE): New definition.
49495 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
49496 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
49497 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
49498 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
49499 (elf_machine_lazy_rel): Likewise.
49500 * sysdeps/s390/dl-irel.h: New file.
49501 * sysdeps/s390/s390-64/memcpy.S: New asm code.
49502 * sysdeps/s390/s390-64/memset.S: New asm code.
49503 * sysdeps/s390/s390-64/memcmp.S: New asm code.
49504 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
49505 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
49506 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
49507 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
49508 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
49509 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
49510 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
49511 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
49512 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
49513 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
49514 * sysdeps/s390/s390-32/memcpy.S: New asm code.
49515 * sysdeps/s390/s390-32/memset.S: New asm code.
49516 * sysdeps/s390/s390-32/memcmp.S: New asm code.
49517
49518 2012-07-17 Marek Polacek <polacek@redhat.com>
49519
49520 [BZ #14349]
49521 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
49522 * sysdeps/s390/s390-64/configure.in: Likewise.
49523 * sysdeps/sparc/configure.in: Likewise.
49524 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
49525 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
49526 * sysdeps/i386/configure.in: Likewise.
49527 * sysdeps/x86_64/configure.in: Likewise.
49528 * sysdeps/sh/configure.in: Likewise.
49529 * sysdeps/s390/s390-32/configure: Regenerated.
49530 * sysdeps/s390/s390-64/configure: Likewise.
49531 * sysdeps/x86_64/configure: Likewise.
49532 * sysdeps/sh/configure: Likewise.
49533 * sysdeps/powerpc/powerpc64/configure: Likewise.
49534 * sysdeps/powerpc/powerpc32/configure: Likewise.
49535 * sysdeps/sparc/configure: Likwise.
49536 * sysdeps/i386/configure: Likewise.
49537
49538 * elf/dl-open.c: Comment fixes.
49539
49540 2012-07-17 Joseph Myers <joseph@codesourcery.com>
49541
49542 * Makefile [CXX] (check-data): Remove.
49543 [CXX] (c++-types.data): New vpath directive.
49544 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
49545 vpath. Do not allow for C++ type data being missing.
49546 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
49547 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
49548 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
49549 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
49550 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
49551 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
49552 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
49553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
49554 ... here.
49555 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
49556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
49557 ... here.
49558 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
49559 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
49560 ... here.
49561 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
49562 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
49563 ... here.
49564 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
49565 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
49566 ... here.
49567 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
49568 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
49569 ... here.
49570 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
49571 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
49572 ... here.
49573 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
49574 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
49575
49576 * elf/tls-macros.h (TLS_LE): Move architecture-specific
49577 definitions to architecture-specific files.
49578 (TLS_IE): Likewise.
49579 (TLS_LD): Likewise.
49580 (TLS_GD): Likewise.
49581 * sysdeps/i386/tls-macros.h: New file.
49582 * sysdeps/powerpc/tls-macros.h: Likewise.
49583 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
49584 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
49585 * sysdeps/sh/tls-macros.h: Likewise.
49586 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
49587 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
49588 * sysdeps/x86_64/tls-macros.h: Likewise.
49589
49590 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
49591
49592 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
49593 zero value for regular exit case.
49594
49595 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
49596 (__start_context): Preserve zero value for regular exit case.
49597
49598 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
49599 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49600
49601 * manual/setjmp.texi (setcontext): Clarify normal process
49602 termination when uc_link is the null pointer.
49603 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
49604 exit call.
49605
49606 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
49607
49608 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
49609 preprocessor. Test for each exception mask separately.
49610
49611 2012-07-16 Andreas Jaeger <aj@suse.de>
49612
49613 * po/ru.po: Update from translation team.
49614
49615 2012-07-15 Joseph Myers <joseph@codesourcery.com>
49616
49617 * conform/data/string.h-data (NULL): Use macro-constant. Require
49618 equal to 0.
49619 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
49620 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
49621 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
49622 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
49623 [ISO || ISO99 || ISO11] (*_t): Do not allow.
49624
49625 2012-07-13 Andreas Jaeger <aj@suse.de>
49626
49627 * po/fr.po: Update from translation team.
49628
49629 2012-07-12 Marek Polacek <polacek@redhat.com>
49630
49631 [BZ #14173]
49632 * math/libm-test.inc (yn_test): Add test for BZ #14173.
49633 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
49634 loop condition.
49635
49636 2012-07-12 Joseph Myers <joseph@codesourcery.com>
49637
49638 [BZ #13717]
49639 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
49640 Change to 2.4.1 where previously 2.4.0.
49641 * sysdeps/unix/sysv/linux/configure: Regenerated.
49642 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
49643 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
49644 version.
49645 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
49646 (__ASSUME_AT_CLKTCK): Remove.
49647 (__ASSUME_AT_PAGESIZE): Likewise.
49648 (__ASSUME_AT_XID): Likewise.
49649 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
49650 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
49651 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
49652 unconditionally.
49653 (HAVE_AUX_PAGESIZE): Likewise.
49654 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
49655 [__ASSUME_AT_CLKTCK]: Make code unconditional.
49656 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
49657
49658 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
49659
49660 [BZ #14307]
49661 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
49662 the temporary buffer used to invoke __gethostbyname2_r,
49663 __gethostbyaddr_r and gethostbyname4_r to make room for struct
49664 host_data / struct gaih_addrtuple.
49665 * resolv/nss_dns/dns-host.c (global scope): Move definition of
49666 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
49667 header file nss/nsswitch.h.
49668 * nss/nsswitch.h (global scope): Add definition of implementation
49669 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
49670 resolv/nss_dns/dns-host.c).
49671
49672 2012-07-11 Andreas Jaeger <aj@suse.de>
49673
49674 * po/fr.po: Update from translation team.
49675
49676 * po/sv.po: Update from translation team
49677 * po/fr.po: Another update from translation team.
49678
49679 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49680
49681 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
49682 for subnormals or multiply small sinh result by itself.
49683 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
49684 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49685
49686 2012-07-11 David S. Miller <davem@davemloft.net>
49687
49688 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49689
49690 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
49691
49692 [BZ #14347]
49693 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
49694 (INTERNAL_MARK): Shift it here.
49695
49696 2012-07-10 Marek Polacek <polacek@redhat.com>
49697
49698 [BZ #14151]
49699 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
49700 libc_cv_asm_global_directive with .globl.
49701 * configure: Regenerated.
49702 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
49703 with .globl.
49704 * sysdeps/i386/configure: Regenerated.
49705 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
49706 with .globl.
49707 * sysdeps/x86_64/configure: Regenerated.
49708 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
49709 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
49710 * elf/tst-unique2mod2.c: Likewise.
49711 * elf/tst-unique2mod1.c: Likewise.
49712 * elf/tst-unique1mod2.c: Likewise.
49713 * elf/tst-unique1mod1.c: Likewise.
49714 * sysdeps/s390/s390-32/sysdep.h: Likewise.
49715 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
49716 * sysdeps/s390/s390-64/sysdep.h: Likewise.
49717 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
49718 * sysdeps/mach/sysdep.h: Likewise.
49719 * sysdeps/i386/sysdep.h: Likewise.
49720 * sysdeps/i386/i386-mcount.S: Likewise.
49721 * sysdeps/x86_64/_mcount.S: Likewise.
49722 * sysdeps/x86_64/sysdep.h: Likewise.
49723 * sysdeps/sh/_mcount.S: Likewise.
49724 * sysdeps/sh/sysdep.h: Likewise.
49725 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
49726 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
49727 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
49728 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
49729 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
49730 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
49731 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
49732 * locale/localeinfo.h: Likewise.
49733 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
49734 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
49735
49736 2012-07-09 Roland McGrath <roland@hack.frob.com>
49737
49738 [BZ #14336]
49739 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
49740 system".
49741 * manual/message.texi (The Uniforum approach): Likewise.
49742 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
49743 (glibc iconv Implementation): Likewise.
49744
49745 2012-07-09 Joseph Myers <joseph@codesourcery.com>
49746
49747 [BZ #14337]
49748 * math/s_clog.c (__clog): Avoid scaling a value down where that
49749 could result in underflow.
49750 * math/s_clog10.c (__clog10): Likewise.
49751 * math/s_clog10f.c (__clog10f): Likewise.
49752 * math/s_clog10l.c (__clog10l): Likewise.
49753 * math/s_clogf.c (__clogf): Likewise.
49754 * math/s_clogl.c (__clogl): Likewise.
49755 * math/libm-test.inc (clog_test): Add more tests.
49756 (clog10_test): Likewise.
49757 * sysdeps/i386/fpu/libm-test-ulps: Update.
49758 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49759
49760 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
49761
49762 [BZ #14283]
49763 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
49764 by 7 not 8 to examine high bit of fractional part.
49765
49766 [BZ #14042]
49767 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
49768 for call to __mcount_internal.
49769 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
49770 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
49771 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
49772
49773 2012-07-06 Joseph Myers <joseph@codesourcery.com>
49774
49775 [BZ #14154]
49776 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
49777 approximation for values within 0x1p-13f of an odd multiple of
49778 pi/4.
49779 * math/libm-test.inc (tan_test): Do not allow spurious underflow
49780 exception. Add more tests.
49781 * sysdeps/i386/fpu/libm-test-ulps: Update.
49782
49783 [BZ #6778]
49784 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
49785 inputs and return -1 for them. Do not check for +Inf in case not
49786 reachable for +Inf.
49787 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
49788 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
49789 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
49790 and return -1 for them. Do not check for +Inf in case not
49791 reachable for +Inf.
49792 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
49793 define.
49794 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
49795 and return -1 for them. Do not check for +Inf in case not
49796 reachable for +Inf.
49797 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
49798 spurious underflow.
49799 * sysdeps/i386/fpu/libm-test-ulps: Update.
49800 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49801
49802 2012-07-06 Mike Frysinger <vapier@gentoo.org>
49803
49804 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
49805
49806 2012-07-05 Joseph Myers <joseph@codesourcery.com>
49807
49808 [BZ #14157]
49809 [BZ #14331]
49810 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
49811 could result in spurious underflow. Scale down values above
49812 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
49813 * math/s_csqrtf.c (__csqrtf): Likewise.
49814 * math/s_csqrtl.c (__csqrtl): Likewise.
49815 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
49816 spurious underflow.
49817 * sysdeps/i386/fpu/libm-test-ulps: Update.
49818 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49819
49820 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
49821
49822 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
49823 xopen-msg.sed.
49824 * catgets/xopen-msg.awk: New file.
49825 * catgets/xopen-msg.sed: Removed.
49826
49827 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
49828 po2text.sed.
49829 * intl/po2test.awk: New file.
49830 * intl/po2test.sed: Removed.
49831
49832 2012-07-04 Joseph Myers <joseph@codesourcery.com>
49833
49834 [BZ #14328]
49835 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
49836 or multiply small sinh result by itself.
49837 * math/s_ctanf.c (__ctanf): Likewise.
49838 * math/s_ctanh.c (__ctanh): Likewise.
49839 * math/s_ctanhf.c (__ctanhf): Likewise.
49840 * math/s_ctanhl.c (__ctanhl): Likewise.
49841 * math/s_ctanl.c (__ctanl): Likewise.
49842 * math/libm-test.inc (ctan_test_tonearest): New function.
49843 (ctan_test_towardzero): Likewise.
49844 (ctan_test_downward): Likewise.
49845 (ctan_test_upward): Likewise.
49846 (ctanh_test_tonearest): Likewise.
49847 (ctanh_test_towardzero): Likewise.
49848 (ctanh_test_downward): Likewise.
49849 (ctanh_test_upward): Likewise.
49850 (main): Call these new functions.
49851 * sysdeps/i386/fpu/libm-test-ulps: Update.
49852 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49853
49854 2012-07-03 Mike Frysinger <vapier@gentoo.org>
49855
49856 * .gitignore: Delete /ports entry.
49857
49858 2012-07-03 Andreas Jaeger <aj@suse.de>
49859
49860 * po/bg.po: Update from translation team.
49861 * po/cs.po: Likewise.
49862 * po/de.po: Likewise.
49863 * po/hr.po: Likewise.
49864 * po/nl.pl: Likewise.
49865 * po/pl.po: Likewise.
49866 * po/vi.po: Likewise.
49867
49868 2012-07-03 Joseph Myers <joseph@codesourcery.com>
49869
49870 * Makeconfig [!+link] (+link-before-libc): New variable.
49871 [!+link] (+link-after-libc): Likewise.
49872 [!+link] (+link-tests): Likewise.
49873 [!+link] (+link): Define in terms of $(+link-before-libc) and
49874 $(+link-after-libc).
49875 [!+link-static] (+link-static-before-libc): New variable.
49876 [!+link-static] (+link-static-after-libc): Likewise.
49877 [!+link-static] (+link-static-tests): Likewise.
49878 [!+link-static] (+link-static): Define in terms of
49879 $(+link-static-before-libc) and $(+link-static-after-libc).
49880 [build-shared] (link-libc-before-gnulib): New variable.
49881 [build-shared] (link-libc-tests): Likewise.
49882 [build-shared] (link-libc): Define in terms of
49883 $(link-libc-before-gnulib).
49884 [!build-shared] (link-libc-tests): New variable.
49885 (link-libc-static-tests): New variable.
49886 [!gnulib] (gnulib-arch): New variable.
49887 [!gnulib] (gnulib-tests): Likewise.
49888 [!gnulib] (static-gnulib-arch): Likewise.
49889 [!gnulib] (static-gnulib-tests): Likewise.
49890 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
49891 Define with "=" instead of ":=".
49892 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
49893 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
49894 * Rules (binaries-all-notests): New variable.
49895 (binaries-all-tests): Likewise.
49896 (binaries-static-notests): Likewise.
49897 (binaries-static-tests): Likewise.
49898 (binaries-all): Define using $(binaries-all-notests) and
49899 $(binaries-all-tests).
49900 (binaries-static): Define using $(binaries-static-notests) and
49901 $(binaries-static-tests).
49902 (binaries-shared-tests): New variable.
49903 (binaries-shared-notests): Likewise.
49904 (binaries-shared): Remove variable.
49905 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
49906 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
49907 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
49908 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
49909 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
49910 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
49911 * elf/Makefile (sln-modules): New variable.
49912 (extra-objs): Add $(sln-modules:=.o).
49913 (ldconfig-modules): Add static-stubs.
49914 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
49915 * elf/static-stubs.c: New file.
49916
49917 [BZ #14283]
49918 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
49919 by 7 not 8 to examine high bit of fractional part. Use volatile
49920 variables when splitting into final array of floats if
49921 __FLT_EVAL_METHOD__ != 0.
49922 * math/libm-test.inc (cos_test): Add another test.
49923 (sin_test): Likewise.
49924 * sysdeps/i386/fpu/libm-test-ulps: Update.
49925
49926 [BZ #14273]
49927 * math/libm-test.inc (cosh_test): Add more tests.
49928
49929 * version.h (RELEASE): Set to "development".
49930 (VERSION): Set to "2.16.90".
49931
49932 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
49933
49934 * NEWS: Update copyright. Remove last-updated date.
49935 Mention math library bug fixes and timezone data changes.
49936 * README: Mention GNU/Hurd, x32, and HPPA support status.
49937
49938 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
49939
49940 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
49941
49942 2012-06-27 Andreas Jaeger <aj@suse.de>
49943
49944 * manual/contrib.texi (Contributors): Add Samuel Thibault.
49945
49946 2012-06-25 Andreas Jaeger <aj@suse.de>
49947
49948 * sysdeps/s390/fpu/libm-test-ulps: Update.
49949
49950 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
49951 Thomas Schwinge <thomas@codesourcery.com>
49952
49953 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
49954 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
49955 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
49956 fanotify_mark.
49957
49958 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
49959
49960 * sysdeps/mach/start.c: Remove file.
49961 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
49962 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
49963 * sysdeps/sh/init-first.c: Likewise.
49964
49965 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
49966 registers for frame unwinding purposes, add CFI directives.
49967 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
49968 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
49969 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
49970 Likewise.
49971
49972 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
49973 __fortify_fail returning.
49974 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
49975
49976 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
49977 sysdeps/sh/____longjmp_chk.S.
49978 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
49979 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
49980 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
49981 (gen-as-const-headers): Append sigaltstack-offsets.sym.
49982
49983 * sysdeps/sh/abort-instr.h: New file.
49984 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
49985 process in case exit returns.
49986
49987 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
49988 initialize the GOT register before use.
49989
49990 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
49991 calculation of ARGC > 4.
49992
49993 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
49994 meaningful names to some local labels.
49995
49996 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
49997 Kaz Kojima <kkojima@rr.iij4u.or.jp>
49998
49999 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
50000 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
50001 (__arch_compare_and_exchange_val_16_acq): Likewise.
50002 (__arch_compare_and_exchange_val_32_acq): Likewise.
50003 (atomic_exchange_and_add): Fix gUSA sequence.
50004 (atomic_add): Likewise.
50005 (atomic_add_negative): Likewise.
50006 (atomic_add_zero): Likewise.
50007 (atomic_bit_test_set): Likewise.
50008
50009 2012-06-22 Andreas Schwab <schwab@redhat.com>
50010
50011 [BZ #13579]
50012 * include/link.h (struct link_map): Add l_free_initfini.
50013 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
50014 l_initfini.
50015 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
50016 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
50017 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
50018 set.
50019
50020 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
50021
50022 * configure.in: Use AC_LANG_SOURCE.
50023 * configure: Regenerate.
50024
50025 2012-06-22 Roland McGrath <roland@hack.frob.com>
50026
50027 * configure.in (libc_cv_localstatedir): New substituted variable.
50028 * configure: Regenerated.
50029 * config.make.in (localstatedir): New variable, substituted from
50030 libc_cv_localstatedir.
50031 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
50032 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
50033 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
50034 * sysdeps/gnu/configure: Regenerated.
50035
50036 2012-06-21 Jeff Law <law@redhat.com>
50037
50038 [BZ #14277]
50039 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
50040 free. Simplify list management for _LIBC case.
50041
50042 2012-06-21 Joseph Myers <joseph@codesourcery.com>
50043
50044 [BZ #14273]
50045 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
50046 Clear sign bit of 64-bit integer value before comparing against
50047 overflow value.
50048
50049 * sysdeps/mach/configure: Regenerated.
50050
50051 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
50052
50053 [BZ #14278]
50054 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
50055
50056 2012-06-21 Jeff Law <law@redhat.com>
50057
50058 [BZ #13882]
50059 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
50060 uint16_t for elements in the "seen" array to avoid char overflows.
50061 * elf/dl-fini.c (_dl_sort_fini): Likewise.
50062 * elf/dl-open.c (dl_open_worker): Likewise.
50063
50064 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
50065
50066 * scripts/list-sources.sh: Scan PORTS for translations.
50067 * po/libc.pot: Regenerated.
50068
50069 2012-06-21 Andreas Jaeger <aj@suse.de>
50070
50071 [BZ #12194]
50072 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
50073 warning.
50074 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
50075 * bits/byteswap-16.h (__bswap_16): Likewise.
50076 * bits/byteswap.h (__bswap_constant_16): Likewise.
50077
50078 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
50079
50080 [BZ #14117]
50081 * sysdeps/i386/fpu_control.h: Removed.
50082 * sysdeps/x86_64/fpu_control.h: Moved to ...
50083 * sysdeps/x86/fpu_control.h: Here.
50084
50085 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
50086 (_FPU_SETCW): Likewise.
50087
50088 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
50089
50090 [BZ #14117]
50091 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
50092 * sysdeps/x86/fpu/bits/mathinline.h: This.
50093 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
50094
50095 [BZ #14050]
50096 [BZ #14117]
50097 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
50098 functions if __x86_64__ is defined.
50099
50100 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
50101
50102 * string/endian.h: Add !__ASSEMBLER__ condition for including
50103 conversion interfaces.
50104
50105 2012-06-15 Joseph Myers <joseph@codesourcery.com>
50106
50107 [BZ #14241]
50108 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
50109 of ABS(x) in calculating zero to negative powers other than odd
50110 integers.
50111 * math/libm-test.inc (pow_test): Add more tests.
50112
50113 2012-06-15 Andreas Jaeger <aj@suse.de>
50114
50115 * manual/contrib.texi (Contributors): Update entry of Liubov
50116 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
50117 Machado Filho.
50118
50119 2012-06-15 Cyril Hrubis <metan@ucw.cz>
50120
50121 * string/string.h: Add __wur to GNU version of strerror_r.
50122
50123 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
50124
50125 [BZ #14229]
50126 * string/Makefile (tests): Add tst-strtok_r.
50127 * string/tst-strtok_r.c: New file.
50128 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
50129 RAX_LP/RDX_LP on SAVE_PTR.
50130
50131 2012-06-14 Roland McGrath <roland@hack.frob.com>
50132
50133 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
50134
50135 2012-06-14 Joseph Myers <joseph@codesourcery.com>
50136
50137 * libm_test.inc (csqrt_test): Allow more spurious underflow
50138 exceptions.
50139 (j0_test): Likewise.
50140 (j1_test): Likewise.
50141 (y0_test): Likewise.
50142 (y1_test): Likewise.
50143
50144 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
50145
50146 * po/Makefile (libc.pot): Use UTF-8 charset.
50147
50148 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
50149
50150 [BZ #14210]
50151 Suppress sign-conversion warning from FD_SET.
50152 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
50153 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
50154 not unsigned long int.
50155 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
50156
50157 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
50158
50159 [BZ #14050]
50160 [BZ #14117]
50161 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
50162 __extern_always_inline instead of __extern_inline.
50163 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
50164 (__signbit): Likewise.
50165 (__signbitl): Support C++ namespace.
50166 (lrintf): New inline function.
50167 (lrint): Likewise.
50168 (llrintf): Likewise.
50169 (llrint): Likewise.
50170 (fmaxf): Likewise.
50171 (fmax): Likewise.
50172 (fminf): Likewise.
50173 (fmin): Likewise.
50174 (rint): Likewise.
50175 (rintf): Likewise.
50176 (ceil): Likewise.
50177 (ceilf): Likewise.
50178 (floor): Likewise.
50179 (floorf): Likewise.
50180 (nearbyint): Likewise.
50181 (nearbyintf): Likewise.
50182
50183 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
50184
50185 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
50186 non-default versions.
50187
50188 2012-06-11 Roland McGrath <roland@hack.frob.com>
50189
50190 [BZ #14218]
50191 * manual/argp.texi (Argp): Reword argp_parse description slightly.
50192
50193 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
50194
50195 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
50196 (FE_UPWARD, FE_DOWNWARD): Don't define.
50197 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
50198 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
50199
50200 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
50201 reading it.
50202 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
50203 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
50204
50205 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
50206
50207 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
50208 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
50209 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
50210 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
50211
50212 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
50213
50214 [BZ #14117]
50215 * sysdeps/i386/fpu/bits/fenv.h: Removed.
50216 * sysdeps/i386/fpu/Implies: New file.
50217 * sysdeps/x86_64/fpu/Implies: Likewise.
50218 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
50219 * sysdeps/x86/fpu/bits/fenv.h: This.
50220
50221 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
50222 __SSE_MATH__.
50223
50224 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
50225
50226 [BZ #14134]
50227 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
50228 character 0xffff that matches the last element of the
50229 conversion table.
50230
50231 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50232
50233 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
50234 fmodl commit.
50235
50236 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50237
50238 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
50239 values higher than 25.6283.
50240
50241 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50242
50243 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
50244 subnormal exponent extraction and add some __builtin_expect.
50245 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
50246 Fix for subnormal mantissa calculation.
50247
50248 2012-06-04 Mike Frysinger <vapier@gentoo.org>
50249
50250 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
50251 cpu2 is -1 and errno is not ENOSYS.
50252
50253 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
50254
50255 [BZ #14117]
50256 * sysdeps/i386/i486/bits/string.h: Renamed to ...
50257 * sysdeps/x86/bits/string.h: This.
50258 * sysdeps/x86_64/bits/string.h: Removed.
50259
50260 * sysdeps/i386/i486/bits/string.h: Define inline functions only
50261 if not compiling for x86-64, but compiling for >= i486.
50262
50263 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
50264 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
50265
50266 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
50267 New macro from Linux kernel 3.4.0.
50268 (FP_XSTATE_MAGIC2): Likewise.
50269 (FP_XSTATE_MAGIC2_SIZE): Likewise.
50270 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
50271 (struct _fpx_sw_bytes): New struct.
50272 (struct _xsave_hdr): Likewise.
50273 (struct _ymmh_state): Likewise.
50274 (struct _xstate): Likewise.
50275
50276 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
50277 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
50278 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
50279 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
50280 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
50281 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
50282
50283 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
50284 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
50285 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
50286 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
50287 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
50288 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
50289
50290 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
50291
50292 [BZ #13743]
50293 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
50294 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
50295 (sysdep_headers): Include sys/platform/ppc.h.
50296 * sysdeps/powerpc/test-gettimebase.c: Test for
50297 __ppc_get_timebase() to catch future ISA opcode/insn changes.
50298 * manual/Makefile (appendices): Include platform.texi.
50299 * manual/contrib.texi (Contributors): Update @node pointers.
50300 * manual/maint.texi (Maintenance): Likewise.
50301 (Platform): New node.
50302 * manual/platform.texi: New file. Document the new features.
50303
50304 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
50305 Jakub Jelinek <jakub@redhat.com>
50306
50307 [BZ #14188]
50308 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
50309 where __builtin_expect is unavailable.
50310
50311 2012-06-03 David S. Miller <davem@davemloft.net>
50312
50313 * stdlib/longlong.h: Updated from GCC.
50314
50315 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
50316
50317 [BZ #14042]
50318 * sysdeps/powerpc/powerpc32/mcount.c: New file.
50319 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
50320 __mcount_internal.
50321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
50322 (GLIBC_2.16): Likewise.
50323
50324 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
50325
50326 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
50327
50328 2012-06-01 Joseph Myers <joseph@codesourcery.com>
50329
50330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
50331 (default-abi): New variable.
50332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
50333 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
50334 variable.
50335 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
50336 Likewise.
50337 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
50338 Likewise.
50339 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
50340 Likewise.
50341
50342 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
50343 definition. Document in comment.
50344
50345 2012-06-01 David S. Miller <davem@davemloft.net>
50346
50347 * stdlib/longlong.h: Updated from GCC.
50348
50349 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
50350
50351 [BZ #14117]
50352 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
50353 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
50354 sys/debugreg.h sys/io.h here.
50355 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
50356 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
50357 sys/io.h.
50358 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
50359 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
50360 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
50361 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
50362 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
50363 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
50364
50365 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
50366 Define only if __x86_64__ is defined.
50367
50368 2012-06-01 Joseph Myers <joseph@codesourcery.com>
50369
50370 [BZ #14048]
50371 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
50372 Use int64_t for variable i.
50373 * math/libm-test.inc (fmod_test): Add more tests.
50374
50375 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
50376 z computation is not scheduled after fetestexcept.
50377 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
50378 Use math_force_eval instead of asm to ensure calculation scheduled
50379 before exception test.
50380 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
50381 Ensure a1 + u.d computation is not scheduled after fetestexcept.
50382
50383 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
50384
50385 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
50386 computation is not scheduled after fetestexcept.
50387
50388 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
50389
50390 [BZ #14117]
50391 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
50392 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
50393
50394 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50395
50396 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
50397 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
50398
50399 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
50400
50401 [BZ #14117]
50402 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
50403 <bits/wordsize.h>.
50404 (__WCHAR_MIN): Support __WORDSIZE == 64.
50405 (__WCHAR_MAX): Likewise.
50406
50407 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
50408 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
50409
50410 [BZ #14183]
50411 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
50412 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
50413
50414 [BZ #14117]
50415 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
50416 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
50417
50418 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
50419 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
50420
50421 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
50422 Defined to 1 if __x86_64__ isn't defined.
50423 (_STAT_VER_LINUX_OLD): New.
50424 (st_atime): Remove duplicate.
50425 (st_mtime): Likewise.
50426 (st_ctime): Likewise.
50427
50428 2012-05-31 David S. Miller <davem@davemloft.net>
50429
50430 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
50431 entries.
50432
50433 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
50434
50435 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
50436 gen-libm-test.pl.
50437
50438 [BZ #14132]
50439 * elf/dl-reloc.c: Include <_itoa.h>.
50440 (_dl_reloc_bad_type): Remove use of INTUSE.
50441 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
50442 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
50443 * stdio-common/psiginfo.c (psiginfo): Likewise.
50444 * stdio-common/psignal.c (psignal): Likewise.
50445 * string/strsignal.c (strsignal): Likewise.
50446 * include/signal.h (_sys_siglist): Declare hidden proto.
50447 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
50448 INTVARDEF with libc_hidden_data_def.
50449 * stdio-common/itoa-udigits.c: Likewise.
50450 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
50451 (_itoa_lower_digits_internal): Remove declaration.
50452 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
50453 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
50454 (_sys_sigabbrev_internal): Remove aliases.
50455 (_sys_siglist): Define hidden alias.
50456
50457 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
50458
50459 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50460 bits/sysctl.h.
50461
50462 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
50463
50464 [BZ #14117]
50465 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
50466 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
50467
50468 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
50469 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
50470 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
50471 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
50472 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
50473 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
50474
50475 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
50476 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
50477 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
50478
50479 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
50480 with __addr.
50481 (insw): Likewise.
50482 (insl): Likewise.
50483 (outsb): Likewise.
50484 (outsw): Likewise.
50485 (outsl): Likewise.
50486
50487 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
50488 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
50489 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
50490
50491 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
50492 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
50493 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
50494 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
50495 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
50496 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
50497
50498 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
50499 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
50500
50501 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
50502 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
50503
50504 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
50505 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
50506 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
50507
50508 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
50509 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
50510 to ...
50511 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
50512
50513 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
50514 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
50515 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
50516
50517 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
50518 for x86-64.
50519 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
50520
50521 2012-05-31 Joseph Myers <joseph@codesourcery.com>
50522
50523 * math/math.h (M_El): Use two more decimal places.
50524 (M_LOG2El): Likewise.
50525 (M_LOG10El): Likewise.
50526 (M_LN2l): Likewise.
50527 (M_LN10l): Likewise.
50528 (M_PIl): Likewise.
50529 (M_PI_2l): Likewise.
50530 (M_PI_4l): Likewise.
50531 (M_1_PIl): Likewise.
50532 (M_2_PIl): Likewise.
50533 (M_2_SQRTPIl): Likewise.
50534 (M_SQRT2l): Likewise.
50535 (M_SQRT1_2l): Likewise.
50536
50537 2012-05-31 David S. Miller <davem@davemloft.net>
50538
50539 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
50540 values between float registers.
50541 * sysdeps/sparc/sparc64/memset.S: Likewise.
50542 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
50543
50544 2012-05-31 Mike Frysinger <vapier@gentoo.org>
50545
50546 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
50547 -D_FORTIFY_SOURCE=1.
50548 (CPPFLAGS-tst-longjmp_chk.c): Define.
50549 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
50550 (CPPFLAGS-tst-longjmp_chk2.c): Define.
50551 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
50552 CFLAGS-tst-wchar-h.c.
50553
50554 2012-05-31 Marek Polacek <polacek@redhat.com>
50555
50556 [BZ #14132]
50557 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
50558 __endmntent_internal): Remove declaration.
50559 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
50560 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
50561 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
50562
50563 2012-05-30 David S. Miller <davem@davemloft.net>
50564
50565 * sysdeps/sparc/sparc32/soft-fp/q_util.c
50566 (___Q_simulate_exceptions): Use real FP ops rather than writing
50567 into the %fsr.
50568 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
50569 Likewise.
50570
50571 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
50572
50573 [BZ #14117]
50574 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
50575 * sysdeps/x86/bits/xtitypes.h: This.
50576
50577 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
50578 * sysdeps/x86/bits/wordsize.h: This.
50579
50580 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
50581 * sysdeps/x86/bits/huge_vall.h: This.
50582
50583 * sysdeps/i386/bits/select.h: Removed.
50584 * sysdeps/x86_64/bits/select.h: Renamed to ...
50585 * sysdeps/x86/bits/select.h: This.
50586
50587 * sysdeps/i386/bits/setjmp.h: Removed.
50588 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
50589 * sysdeps/x86/bits/setjmp.h: This.
50590
50591 * sysdeps/i386/bits/mathdef.h: Removed.
50592 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
50593 * sysdeps/x86/bits/mathdef.h: This.
50594
50595 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
50596
50597 [BZ #14132]
50598 * include/sys/socket.h (__connect_internal)
50599 (__libc_sa_len_internal): Remove declaration.
50600 (__connect, __libc_sa_len): Declare hidden_proto.
50601 (SA_LEN): Remove use of INTUSE.
50602 * socket/connect.c: Add libc_hidden_def.
50603 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
50604 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
50605 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
50606 alias.
50607 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
50608 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
50609 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
50610 of adding _internal alias.
50611
50612 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
50613
50614 [BZ #14117]
50615 * sysdeps/i386/bits/link.h: Removed.
50616 * sysdeps/i386/bits/linkmap.h: Likewise.
50617 * sysdeps/x86_64/bits/link.h: Renamed to ...
50618 * sysdeps/x86/bits/link.h: This.
50619 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
50620 * sysdeps/x86/bits/linkmap.h: This.
50621
50622 * sysdeps/i386/bits/endian.h: Removed.
50623 * sysdeps/x86_64/bits/endian.h: Renamed to ...
50624 * sysdeps/x86/bits/endian.h: This.
50625
50626 * sysdeps/i386/bits/byteswap.h: Removed.
50627 * sysdeps/i386/bits/byteswap-16.h: Likewise.
50628 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
50629 * sysdeps/x86/bits/byteswap.h: This.
50630 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
50631 * sysdeps/x86/bits/byteswap-16.h: This.
50632 * sysdeps/i386/Implies: Add x86.
50633 * sysdeps/x86_64/Implies: Likewise.
50634
50635 2012-05-30 David S. Miller <davem@davemloft.net>
50636
50637 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
50638 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
50639 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
50640 (FP_TRAPPING_EXCEPTIONS): Define.
50641 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
50642 (FP_TRAPPING_EXCEPTIONS): Define.
50643 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
50644 subnormals only when inexact has been signalled or underflow
50645 exceptions are enabled.
50646 (_FP_PACK_CANONICAL): Likewise.
50647
50648 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
50649
50650 [BZ #14183]
50651 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
50652 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
50653
50654 2012-05-30 Richard Henderson <rth@twiddle.net>
50655
50656 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
50657 with #ifndef NOT_IN_libc.
50658
50659 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
50660 marked to avoid plt entry.
50661
50662 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
50663
50664 [BZ #14112]
50665 * Makeconfig (default-abi): New macro.
50666 (abi-includes): Likewise.
50667 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
50668 $(abi-$(default-abi)-lib-soname) for soname if defined.
50669 ($(common-objpfx)gnu/lib-names.stmp): Generate from
50670 abi-variants.
50671 * Makefile (installed-stubs): Likewise.
50672 * include/stubs-biarch.h: Removed.
50673 * scripts/lib-names.awk: Only handle one library at a time.
50674 * scripts/soversions.awk: Remove WORDSIZE support.
50675 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
50676 entries.
50677 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
50678 Removed.
50679 (syscall-list-default-condition): Likewise.
50680 (syscall-list-default-condition): Likewise.
50681 (syscall-list-includes): Likewise.
50682 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
50683 syscall-list-* with abi-*. Handle undefined abi-variants.
50684 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
50685 * sysdeps/unix/sysv/linux/i386/Implies: New file.
50686 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
50687 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
50688 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
50689 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
50690 Removed.
50691 (syscall-list-32-options): Likewise.
50692 (syscall-list-32-condition): Likewise.
50693 (syscall-list-64-options): Likewise.
50694 (syscall-list-64-condition): Likewise.
50695 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
50696 macro.
50697 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
50698 Renamed to ...
50699 (abi-*): This.
50700 (abi-64-ld-soname): New macro.
50701 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
50702 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
50703 Renamed to ...
50704 (abi-*): This.
50705 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
50706 * sysdeps/x86_64/x32/shlib-versions: Likewise.
50707
50708 2012-05-30 Joseph Myers <joseph@codesourcery.com>
50709
50710 * sysdeps/unix/sysv/linux/kernel-features.h
50711 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
50712 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
50713 include <kernel-features.h>.
50714 [!__NR_ftruncate64]: Remove conditional code.
50715 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50716 [__NR_ftruncate64]: Make code unconditional.
50717 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50718 * sysdeps/unix/sysv/linux/truncate64.c: Do not
50719 include <kernel-features.h>.
50720 [!__NR_ftruncate64]: Remove conditional code.
50721 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50722 [__NR_ftruncate64]: Make code unconditional.
50723 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
50725 include <kernel-features.h>.
50726 [!__NR_ftruncate64]: Remove conditional code.
50727 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50728 [__NR_ftruncate64]: Make code unconditional.
50729 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
50731 include <kernel-features.h>.
50732 [!__NR_ftruncate64]: Remove conditional code.
50733 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50734 [__NR_ftruncate64]: Make code unconditional.
50735 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50736
50737 * configure.in (libc_cv_fpie): Weaken to a compile test using
50738 LIBC_TRY_CC_OPTION.
50739 * configure: Regenerated.
50740
50741 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50742
50743 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
50744 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
50745 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
50746 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
50747 Refreshed.
50748 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
50749 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
50750 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
50751 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
50752 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
50753 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
50754 Refreshed.
50755
50756 2012-05-27 David S. Miller <davem@davemloft.net>
50757
50758 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
50759 (___Q_zero): New.
50760 (__Q_simulate_exceptions): Return void. Change to simulate
50761 exceptions by writing into the %fsr.
50762 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
50763 (__Qp_handle_exceptions): Likewise.
50764 (numbers): Delete.
50765 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
50766 __Qp_handle_exceptions.
50767 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
50768 __Qp_handle_exceptions.
50769 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
50770 as unused and give dummy FP_RND_NEAREST initializer.
50771 (FP_INHIBIT_RESULTS): Define.
50772 (___Q_simulate_exceptions): Update declaration.
50773 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
50774 formatting.
50775 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
50776 as unused and give dummy FP_RND_NEAREST initializer.
50777 (__Qp_handle_exceptions): Update declaration.
50778 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
50779 formatting.
50780
50781 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
50782
50783 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
50784 the temporary FPU control word.
50785 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
50786 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
50787 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
50788 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
50789 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
50790 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
50791 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
50792 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
50793 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
50794 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
50795 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
50796
50797 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
50798
50799 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
50800 fields.
50801
50802 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
50803
50804 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
50805 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
50806 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
50807 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
50808 Likewise.
50809 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
50810 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
50811 Likewise.
50812
50813 2012-05-27 Ulrich Drepper <drepper@gmail.com>
50814
50815 * po/h.po: Update from translation team.
50816
50817 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
50818
50819 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
50820
50821 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
50822 handling of denormals.
50823 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
50824 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
50825 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
50826 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
50827 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
50828 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
50829 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
50830 Likewise.
50831
50832 2012-05-26 Marek Polacek <polacek@redhat.com>
50833
50834 [BZ #14152]
50835 * math/libm-test.inc (fma_test): Don't always expect underflow
50836 exception.
50837
50838 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
50839
50840 [BZ #12416]
50841 * elf/tst-execstack.c: Include stackinfo.h.
50842 (do_test): Adjust test case to ensure that pthread_getattr_np
50843 behaviour remains the same after marking stack executable.
50844
50845 2012-05-25 Joseph Myers <joseph@codesourcery.com>
50846
50847 * sysdeps/unix/sysv/linux/kernel-features.h
50848 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
50849 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
50850 kernel-features.h.
50851 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
50852 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
50853 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
50854 kernel-features.h.
50855 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
50856 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
50857
50858 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
50859
50860 * configure.in: Define the default includes to being none.
50861 * configure: Regenerated.
50862
50863 2012-05-25 Roland McGrath <roland@hack.frob.com>
50864
50865 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
50866 * sysdeps/x86_64/setjmp.S: Likewise.
50867 * sysdeps/i386/bsd-setjmp.S: Likewise.
50868 * sysdeps/i386/bsd-_setjmp.S: Likewise.
50869 * sysdeps/i386/setjmp.S: Likewise.
50870 * sysdeps/i386/__longjmp.S: Likewise.
50871 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
50872 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
50873
50874 * include/stap-probe.h: New file.
50875 * configure.in: Handle --enable-systemtap.
50876 * configure: Regenerated.
50877 * config.h.in (USE_STAP_PROBE): New #undef.
50878 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
50879 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
50880 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
50881
50882 2012-05-25 Joseph Myers <joseph@codesourcery.com>
50883
50884 [BZ #13717]
50885 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
50886 to 2.4.0 where earlier.
50887 * sysdeps/unix/sysv/linux/configure: Regenerated.
50888 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
50889 <kernel-features.h>.
50890 [__ASSUME_32BITUIDS]: Make code unconditional.
50891 [!__ASSUME_32BITUIDS]: Remove conditional code.
50892 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
50893 <kernel-features.h>.
50894 [__ASSUME_32BITUIDS]: Make code unconditional.
50895 [!__ASSUME_32BITUIDS]: Remove conditional code.
50896 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
50897 [__ASSUME_32BITUIDS]: Make code unconditional.
50898 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
50899 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
50900 <kernel-features.h>.
50901 [__ASSUME_32BITUIDS]: Make code unconditional.
50902 [!__ASSUME_32BITUIDS]: Remove conditional code.
50903 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
50904 <kernel-features.h>.
50905 [__ASSUME_32BITUIDS]: Make code unconditional.
50906 [!__ASSUME_32BITUIDS]: Remove conditional code.
50907 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
50908 <kernel-features.h>.
50909 [__ASSUME_32BITUIDS]: Make code unconditional.
50910 [!__ASSUME_32BITUIDS]: Remove conditional code.
50911 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
50912 <kernel-features.h>.
50913 [__ASSUME_32BITUIDS]: Make code unconditional.
50914 [!__ASSUME_32BITUIDS]: Remove conditional code.
50915 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
50916 <kernel-features.h>.
50917 [__ASSUME_32BITUIDS]: Make code unconditional.
50918 [!__ASSUME_32BITUIDS]: Remove conditional code.
50919 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
50920 <kernel-features.h>.
50921 [__ASSUME_32BITUIDS]: Make code unconditional.
50922 [!__ASSUME_32BITUIDS]: Remove conditional code.
50923 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
50924 <kernel-features.h>.
50925 [__ASSUME_32BITUIDS]: Make code unconditional.
50926 [!__ASSUME_32BITUIDS]: Remove conditional code.
50927 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
50928 <kernel-features.h>.
50929 [__ASSUME_32BITUIDS]: Make code unconditional.
50930 [!__ASSUME_32BITUIDS]: Remove conditional code.
50931 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
50932 <kernel-features.h>.
50933 [__ASSUME_32BITUIDS]: Make code unconditional.
50934 [!__ASSUME_32BITUIDS]: Remove conditional code.
50935 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
50936 <kernel-features.h>.
50937 [__ASSUME_32BITUIDS]: Make code unconditional.
50938 [!__ASSUME_32BITUIDS]: Remove conditional code.
50939 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
50940 <kernel-features.h>.
50941 [__NR_setresgid] (__setresgid): Do not declare.
50942 [__ASSUME_32BITUIDS]: Make code unconditional.
50943 [!__ASSUME_32BITUIDS]: Remove conditional code.
50944 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
50945 <kernel-features.h>.
50946 [__NR_setresuid] (__setresuid): Do not declare.
50947 [__ASSUME_32BITUIDS]: Make code unconditional.
50948 [!__ASSUME_32BITUIDS]: Remove conditional code.
50949 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
50950 <kernel-features.h>.
50951 [__ASSUME_32BITUIDS]: Make code unconditional.
50952 [!__ASSUME_32BITUIDS]: Remove conditional code.
50953 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
50954 <kernel-features.h>.
50955 [__ASSUME_32BITUIDS]: Make code unconditional.
50956 [!__ASSUME_32BITUIDS]: Remove conditional code.
50957 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
50958 <kernel-features.h>.
50959 [__ASSUME_32BITUIDS]: Make code unconditional.
50960 [!__ASSUME_32BITUIDS]: Remove conditional code.
50961 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
50962 <kernel-features.h>.
50963 [__ASSUME_32BITUIDS]: Make code unconditional.
50964 [!__ASSUME_32BITUIDS]: Remove conditional code.
50965 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
50966 <kernel-features.h>.
50967 [__ASSUME_32BITUIDS]: Make code unconditional.
50968 [!__ASSUME_32BITUIDS]: Remove conditional code.
50969 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
50970 <kernel-features.h>.
50971 [__ASSUME_32BITUIDS]: Make code unconditional.
50972 [!__ASSUME_32BITUIDS]: Remove conditional code.
50973 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
50974 <kernel-features.h>.
50975 [__ASSUME_32BITUIDS]: Make code unconditional.
50976 [!__ASSUME_32BITUIDS]: Remove conditional code.
50977 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
50978 <kernel-features.h>.
50979 [__ASSUME_32BITUIDS]: Make code unconditional.
50980 [!__ASSUME_32BITUIDS]: Remove conditional code.
50981 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
50982 <kernel-features.h>.
50983 [__ASSUME_32BITUIDS]: Make code unconditional.
50984 [!__ASSUME_32BITUIDS]: Remove conditional code.
50985 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
50986 <kernel-features.h>.
50987 [__ASSUME_32BITUIDS]: Make code unconditional.
50988 [!__ASSUME_32BITUIDS]: Remove conditional code.
50989 * sysdeps/unix/sysv/linux/kernel-features.h
50990 (__ASSUME_SETRESUID_SYSCALL): Remove.
50991 (__ASSUME_SETRESGID_SYSCALL): Likewise.
50992 (__ASSUME_32BITUIDS): Likewise.
50993 (__ASSUME_LDT_WORKS): Likewise.
50994 (__ASSUME_O_DIRECTORY): Likewise.
50995 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
50996 architecture but not kernel version.
50997 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
50998 (__ASSUME_MMAP2_SYSCALL): Likewise.
50999 (__ASSUME_STAT64_SYSCALL): Likewise.
51000 (__ASSUME_IPC64): Likewise.
51001 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
51002 <kernel-features.h>.
51003 [__ASSUME_32BITUIDS]: Make code unconditional.
51004 [!__ASSUME_32BITUIDS]: Remove conditional code.
51005 * sysdeps/unix/sysv/linux/opendir.c: Do not include
51006 <kernel-features.h>.
51007 [__ASSUME_O_DIRECTORY]: Make code unconditional.
51008 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
51009 132096]: Remove conditional code.
51010 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
51011 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
51012 <kernel-features.h>.
51013 [__ASSUME_32BITUIDS]: Make code unconditional.
51014 [!__ASSUME_32BITUIDS]: Remove conditional code.
51015 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
51016 <kernel-features.h>.
51017 [__ASSUME_32BITUIDS]: Make code unconditional.
51018 [!__ASSUME_32BITUIDS]: Remove conditional code.
51019 * sysdeps/unix/sysv/linux/setegid.c: Do not include
51020 <kernel-features.h>.
51021 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
51022 unconditional.
51023 (__setresgid): Do not declare.
51024 [__ASSUME_32BITUIDS]: Make code unconditional.
51025 [!__ASSUME_32BITUIDS]: Remove conditional code.
51026 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
51027 <kernel-features.h>.
51028 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
51029 unconditional.
51030 (__setresuid): Do not declare.
51031 [__ASSUME_32BITUIDS]: Make code unconditional.
51032 [!__ASSUME_32BITUIDS]: Remove conditional code.
51033 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
51034 <kernel-features.h>.
51035 [__ASSUME_32BITUIDS]: Make code unconditional.
51036 [!__ASSUME_32BITUIDS]: Remove conditional code.
51037 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
51038 <kernel-features.h>.
51039 [__ASSUME_32BITUIDS]: Make code unconditional.
51040 [!__ASSUME_32BITUIDS]: Remove conditional code.
51041
51042 2012-05-25 Richard Henderson <rth@twiddle.net>
51043
51044 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
51045 dl_hwcap to ifunc resolver.
51046 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
51047 elf_ifunc_invoke.
51048 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
51049 dl_hwcap to ifunc resolver.
51050 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
51051
51052 2012-05-24 Joseph Myers <joseph@codesourcery.com>
51053
51054 [BZ #14153]
51055 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
51056 for |x| <= 2**-26, not 2**-57.
51057 * math/libm-test.inc (acos_test): Do not allow spurious underflow
51058 exception.
51059
51060 2012-05-24 Jeff Law <law@redhat.com>
51061
51062 * stdio-common/Makefile (tests): Add bug25.
51063 * stdio-common/bug25.c: New test.
51064
51065 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
51066
51067 [BZ #13576]
51068 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
51069 multiple of MALLOC_ALIGNMENT in size.
51070 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
51071
51072 2012-05-24 Joseph Myers <joseph@codesourcery.com>
51073
51074 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
51075 Require >= 256.
51076 (FILENAME_MAX): Use macro-int-constant.
51077 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
51078 (_IOFBF): Use macro-int-constant.
51079 (_IOLBF): Likewise.
51080 (_IONBF): Likewise.
51081 (SEEK_CUR): Likewise.
51082 (SEEK_END): Likewise.
51083 (SEEK_SET): Likewise.
51084 (TMP_MAX): Likewise.
51085 (EOF): Use macro-int-constant. Require < 0.
51086 (NULL): Use macro-constant. Require == 0.
51087 (stdin): Require type to be FILE *.
51088 (stdout): Likewise.
51089 (stderr): Likewise.
51090 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
51091 macro-int-constant.
51092 (EXIT_SUCCESS): Likewise.
51093 (NULL): Use macro-constant. Require == 0.
51094 (RAND_MAX): Use macro-int-constant.
51095 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
51096 [C99-based standards] (strtof): Require function.
51097 [C99-based standards] (strtold): Likewise.
51098 [C99-based standards] (strtoll): Likewise.
51099 [C99-based standards] (strtoull): Likewise.
51100 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
51101 [ISO || ISO99 || ISO11] (limits.h): Likewise.
51102 [ISO || ISO99 || ISO11] (math.h): Likewise.
51103 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
51104 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
51105 [ISO || ISO99 || ISO11] (*_t): Do not allow.
51106
51107 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
51108
51109 [BZ #14132]
51110 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
51111 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
51112 * intl/dgettext.c (DCGETTEXT): Likewise.
51113 * intl/gettext.c (DCGETTEXT): Likewise.
51114 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
51115 * posix/regex_internal.h (gettext): Likewise.
51116 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
51117 Remove declaration.
51118 * include/argz.h (__argz_count_internal)
51119 (__argz_stringify_internal): Remove declaration.
51120 (__argz_count, __argz_stringify): Declare hidden proto.
51121 * intl/dcgettext.c: Remove use of INTDEF.
51122 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
51123 * string/argz-stringify.c: Likewise.
51124 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
51125 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
51126 Declare hidden proto.
51127 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
51128 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
51129 Declare hidden proto.
51130 * include/stdio.h (__asprintf_internal): Don't declare.
51131 (__asprintf): Don't define as macro. Declare hidden proto.
51132 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
51133 (__fsetlocking): Declare hidden proto.
51134 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
51135 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
51136 hidden proto.
51137 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
51138 (_IO_setlinebuf): Remove use of INTUSE.
51139 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
51140 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
51141 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
51142 Remove declaration.
51143 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
51144 (_IO_do_flush): Remove use of INTUSE.
51145 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
51146 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
51147 (_IO_adjust_column, _IO_least_wmarker)
51148 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
51149 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
51150 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
51151 (_IO_default_doallocate, _IO_wdefault_doallocate)
51152 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
51153 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
51154 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
51155 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
51156 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
51157 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
51158 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
51159 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
51160 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
51161 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
51162 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
51163 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
51164 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
51165 proto.
51166 (_IO_flush_all_internal, _IO_adjust_column_internal)
51167 (_IO_default_uflow_internal, _IO_default_finish_internal)
51168 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
51169 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
51170 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
51171 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
51172 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
51173 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
51174 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
51175 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
51176 (_IO_file_close_internal, _IO_file_close_it_internal)
51177 (_IO_file_underflow_internal, _IO_file_overflow_internal)
51178 (_IO_file_init_internal, _IO_file_attach_internal)
51179 (_IO_file_fopen_internal, _IO_file_read_internal)
51180 (_IO_file_sync_internal, _IO_file_seek_internal)
51181 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
51182 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
51183 (_IO_str_underflow_internal, _IO_str_overflow_internal)
51184 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
51185 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
51186 (_IO_list_all_internal, _IO_link_in_internal)
51187 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
51188 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
51189 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
51190 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
51191 (_IO_do_write_internal, _IO_padn_internal)
51192 (_IO_getline_info_internal, _IO_getline_internal)
51193 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
51194 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
51195 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
51196 (_IO_vfscanf_internal, _IO_vfprintf_internal)
51197 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
51198 (_IO_init_internal, _IO_un_link_internal): Don't declare.
51199 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
51200 with libc_hidden_ver, remove use of INTUSE.
51201 * libio/genops.c: Likewise.
51202 * libio/freopen.c: Likewise.
51203 * libio/freopen64.c: Likewise.
51204 * libio/iofclose.c: Likewise.
51205 * libio/iofdopen.c: Likewise.
51206 * libio/iofflush.c: Likewise.
51207 * libio/iofflush_u.c: Likewise.
51208 * libio/iofgets.c: Likewise.
51209 * libio/iofgets_u.c: Likewise.
51210 * libio/iofopen.c: Likewise.
51211 * libio/iofopncook.c: Likewise.
51212 * libio/iofread.c: Likewise.
51213 * libio/iofread_u.c: Likewise.
51214 * libio/ioftell.c: Likewise.
51215 * libio/iofwrite.c: Likewise.
51216 * libio/iogetline.c: Likewise.
51217 * libio/iogets.c: Likewise.
51218 * libio/iogetwline.c: Likewise.
51219 * libio/iopadn.c: Likewise.
51220 * libio/iopopen.c: Likewise.
51221 * libio/ioseekoff.c: Likewise.
51222 * libio/ioseekpos.c: Likewise.
51223 * libio/iosetbuffer.c: Likewise.
51224 * libio/iosetvbuf.c: Likewise.
51225 * libio/ioungetc.c: Likewise.
51226 * libio/ioungetwc.c: Likewise.
51227 * libio/iovdprintf.c: Likewise.
51228 * libio/iovsprintf.c: Likewise.
51229 * libio/iovsscanf.c: Likewise.
51230 * libio/memstream.c: Likewise.
51231 * libio/obprintf.c: Likewise.
51232 * libio/oldfileops.c: Likewise.
51233 * libio/oldiofclose.c: Likewise.
51234 * libio/oldiofdopen.c: Likewise.
51235 * libio/oldiofopen.c: Likewise.
51236 * libio/oldiopopen.c: Likewise.
51237 * libio/oldstdfiles.c: Likewise.
51238 * libio/putc.c: Likewise.
51239 * libio/setbuf.c: Likewise.
51240 * libio/setlinebuf.c: Likewise.
51241 * libio/stdfiles.c: Likewise.
51242 * libio/strops.c: Likewise.
51243 * libio/vasprintf.c: Likewise.
51244 * libio/vscanf.c: Likewise.
51245 * libio/vsnprintf.c: Likewise.
51246 * libio/vswprintf.c: Likewise.
51247 * libio/wfiledoalloc.c: Likewise.
51248 * libio/wfileops.c: Likewise.
51249 * libio/wgenops.c: Likewise.
51250 * libio/wmemstream.c: Likewise.
51251 * libio/wstrops.c: Likewise.
51252 * libio/__fpurge.c: Likewise.
51253 * libio/__fsetlocking.c: Likewise.
51254 * assert/assert.c: Likewise.
51255 * debug/fgets_chk.c: Likewise.
51256 * debug/fgets_u_chk.c: Likewise.
51257 * debug/fread_chk.c: Likewise.
51258 * debug/fread_u_chk.c: Likewise.
51259 * debug/gets_chk.c: Likewise.
51260 * debug/obprintf_chk.c: Likewise.
51261 * debug/vasprintf_chk.c: Likewise.
51262 * debug/vdprintf_chk.c: Likewise.
51263 * debug/vsnprintf_chk.c: Likewise.
51264 * debug/vsprintf_chk.c: Likewise.
51265 * malloc/mtrace.c: Likewise.
51266 * misc/error.c: Likewise.
51267 * misc/syslog.c: Likewise.
51268 * stdio-common/asprintf.c: Likewise.
51269 * stdio-common/fxprintf.c: Likewise.
51270 * stdio-common/getw.c: Likewise.
51271 * stdio-common/isoc99_fscanf.c: Likewise.
51272 * stdio-common/isoc99_scanf.c: Likewise.
51273 * stdio-common/isoc99_vfscanf.c: Likewise.
51274 * stdio-common/isoc99_vscanf.c: Likewise.
51275 * stdio-common/isoc99_vsscanf.c: Likewise.
51276 * stdio-common/printf-prs.c: Likewise.
51277 * stdio-common/printf_fp.c: Likewise.
51278 * stdio-common/printf_fphex.c: Likewise.
51279 * stdio-common/printf_size.c: Likewise.
51280 * stdio-common/putw.c: Likewise.
51281 * stdio-common/scanf.c: Likewise.
51282 * stdio-common/sprintf.c: Likewise.
51283 * stdio-common/tmpfile.c: Likewise.
51284 * stdio-common/vfprintf.c: Likewise.
51285 * stdio-common/vfscanf.c: Likewise.
51286 * stdlib/strfmon_l.c: Likewise.
51287 * sunrpc/openchild.c: Likewise.
51288 * sunrpc/xdr_stdio.c: Likewise.
51289 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
51290 * sysdeps/mach/hurd/tmpfile.c: Likewise.
51291
51292 2012-05-24 Roland McGrath <roland@hack.frob.com>
51293
51294 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
51295
51296 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
51297 in the third column, to generate for the shared library an IFUNC
51298 that uses _dl_vdso_vsym.
51299 * Makerules (COMPILE.c, compile-stdin.c): New variables.
51300 * Makeconfig (object-suffixes-noshared): New variable.
51301
51302 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
51303 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
51304 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
51305 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
51306
51307 [BZ #14132]
51308 * include/sys/time.h (__gettimeofday): Remove macro.
51309 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
51310 * time/gettimeofday.c (__gettimeofday): Remove #undef.
51311 Remove INTDEF.
51312 (__gettimeofday): Add libc_hidden_def.
51313 (gettimeofday): Add libc_hidden_weak.
51314 * sysdeps/mach/gettimeofday.c: Likewise.
51315 * sysdeps/posix/gettimeofday.c: Likewise.
51316 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
51317 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
51318 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
51319 (__gettimeofday_internal): Remove strong_alias.
51320 (__gettimeofday): Add libc_hidden_def.
51321 (gettimeofday): Add libc_hidden_weak.
51322 * sysdeps/unix/syscalls.list (gettimeofday):
51323 Remove __gettimeofday_internal alias.
51324
51325 2012-05-24 Daniel Jacobowitz <drow@false.org>
51326 H.J. Lu <hongjiu.lu@intel.com>
51327
51328 [BZ #12495]
51329 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
51330 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
51331 (largebin_index_32_big): New.
51332 (largebin_index): Use it for 16-byte alignment.
51333 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
51334 correction with front_misalign.
51335
51336 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
51337
51338 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
51339 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
51340 Likewise.
51341 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
51342 Likewise.
51343 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
51344 Likewise.
51345 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
51346 Likewise.
51347 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
51348 Likewise.
51349 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
51350 Likewise.
51351 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
51352 Likewise.
51353 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
51354 Likewise.
51355 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
51356 Likewise.
51357 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
51358 Likewise.
51359 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
51360 Likewise.
51361 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
51362 Likewise.
51363
51364 * scripts/data/c++-types-x32-linux-gnu.data: New file.
51365 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
51366
51367 2012-05-24 Joseph Myers <joseph@codesourcery.com>
51368
51369 [BZ #10846]
51370 [BZ #14036]
51371 * math/libm-test.inc (exp_test): Add test from bug 14036.
51372 (pow_test): Add test from bug 10846.
51373
51374 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
51375 and other flags.
51376 (special_function): Do not include flags in test name.
51377 (parse_args): Likewise.
51378 * sysdeps/i386/fpu/libm-test-ulps: Update.
51379 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
51380 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
51381 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
51382 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51383
51384 * math/gen-libm-test.pl (%beautify): Add entries for underflow
51385 exceptions.
51386 * math/libm-test.inc ("Philosophy"): Update comment about
51387 exception testing.
51388 (UNDERFLOW_EXCEPTION): New macro.
51389 (UNDERFLOW_EXCEPTION_OK): Likewise.
51390 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
51391 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
51392 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
51393 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
51394 (INVALID_EXCEPTION_OK): Update value.
51395 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
51396 (OVERFLOW_EXCEPTION_OK): Likewise.
51397 (IGNORE_ZERO_INF_SIGN): Likewise.
51398 (test_exceptions): Handle underflow exceptions.
51399 (acos_test): Update for underflow exception expectations.
51400 (cexp_test): Likewise.
51401 (clog_test): Likewise.
51402 (clog10_test): Likewise.
51403 (csqrt_test): Likewise.
51404 (ctan_test): Likewise.
51405 (ctanh_test): Likewise.
51406 (exp_test): Likewise.
51407 (exp10_test): Likewise.
51408 (exp2_test): Likewise.
51409 (expm1_test): Likewise.
51410 (fma_test): Likewise.
51411 (j0_test): Likewise.
51412 (jn_test): Likewise.
51413 (nexttoward_test): Likewise.
51414 (pow_test): Likewise.
51415 (scalbn_test): Likewise.
51416 (scalbln_test): Likewise.
51417 (tan_test): Likewise.
51418 (y1_test): Likewise.
51419 * sysdeps/i386/fpu/libm-test-ulps: Update.
51420 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51421
51422 2012-05-23 David S. Miller <davem@davemloft.net>
51423
51424 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
51425 (__libc_sigaction): Remove unused local variables.
51426
51427 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
51428
51429 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
51430
51431 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
51432
51433 mktime: avoid signed integer overflow
51434 * time/mktime.c (__mktime_internal): Do not mishandle the case
51435 where diff == INT_MIN.
51436
51437 mktime: simplify computation of average
51438 * time/mktime.c (ranged_convert): Use new time_t_avg function
51439 instead of rolling our own (probably-slower) code.
51440
51441 mktime: do not assume signed right shift propagates sign bit
51442 * time/mktime.c (isdst_differ): New static function.
51443 (__mktime_internal): No need to normalize tm_isdst now.
51444 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
51445 tm_isdst values.
51446
51447 mktime: merge another wrapv change from gnulib
51448 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
51449 from some compilers.
51450
51451 mktime: remove incorrect attempt at unusual arithmetics
51452 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
51453 The code didn't really work on such machines anyway.
51454 (TYPE_MINIMUM): Assume two's complement.
51455 (twos_complement_arithmetic): Verify that long_int and time_t
51456 are two's complement (or unsigned, in the latter case).
51457
51458 mktime: check signed shifts on long_int and time_t, too
51459 * time/mktime.c (SHR): Check that shifts work as desired
51460 on the types long_int and time_t too, as SHR is used on
51461 such types.
51462
51463 mktime: do not assume 'long' is wide enough
51464 * time/mktime.c (verify): Move decl up.
51465 (long_int): New type.
51466 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
51467 to remove assumption in the code that 'long' is wide enough to
51468 store year values. This assumption is not true on x32 and on
51469 some non-glibc platforms.
51470
51471 mktime: merge wrapv change from gnulib
51472 * time/mktime.c (WRAPV): New macro.
51473 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
51474 (guess_time_tm, __mktime_internal): Do not assume that signed
51475 integer overflow wraps around; modern compilers generate code
51476 where this assumption is no longer valid.
51477
51478 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
51479
51480 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
51481 Replace "jmp L(pseudo_end)" with "ret".
51482 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
51483 Likewise.
51484
51485 2012-05-23 Andreas Jaeger <aj@suse.de>
51486
51487 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
51488 * sysdeps/unix/sysv/linux/poll.c: Remove file.
51489
51490 2012-05-23 Andreas Jaeger <aj@suse.de>
51491 Maximilian Attems <max@stro.at>
51492
51493 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
51494 New macros.
51495
51496 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
51497
51498 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
51499 code so that pseudo_end is just ret and the stack pointer is
51500 correct also for static library in error case.
51501
51502 2012-05-23 Joseph Myers <joseph@codesourcery.com>
51503
51504 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
51505 move to syscalls.list.
51506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
51507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
51508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
51509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
51510
51511 * manual/install.texi (Running make install): Do not mention Linux
51512 kernel version for which pt_chown is not needed.
51513 (Linux): Do not mention problems with nscd with 2.0 kernels.
51514 * INSTALL: Regenerated.
51515
51516 2012-05-23 Andreas Jaeger <aj@suse.de>
51517
51518 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
51519 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
51520 macro.
51521 * sysdeps/unix/sysv/linux/s390/bits/mman.h
51522 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
51523 * sysdeps/unix/sysv/linux/sh/bits/mman.h
51524 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
51525 * sysdeps/unix/sysv/linux/i386/bits/mman.h
51526 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
51527 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
51528 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
51529 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
51530 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
51531 * sysdeps/unix/sysv/linux/bits/in.h
51532 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
51533
51534 2012-05-22 Roland McGrath <roland@hack.frob.com>
51535
51536 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
51537 (PREPARE_VERSION): Just use assert instead, it will be elided
51538 under [NDEBUG] anyway.
51539
51540 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
51541
51542 * sysdeps/unix/sysv/linux/Makefile: Include
51543 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
51544 (sysdep_routines): Remove sysctl.
51545 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
51546 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
51547 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
51548 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
51549 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
51550
51551 2012-05-22 Andreas Jaeger <aj@suse.de>
51552
51553 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
51554 that pseudo_end is just ret and the stack pointer is correct also
51555 for static library in error case.
51556
51557 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
51558
51559 [BZ #14122]
51560 * nss/nsswitch.c (defconfig_entries): New variable.
51561 (__nss_database_lookup): Don't leak defconfig entries.
51562 (nss_parse_service_list): Don't leak on error paths.
51563 (free_database_entries): New function.
51564 (free_defconfig): New function.
51565 (free_mem): Move common code to free_database_entries.
51566
51567 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
51568
51569 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
51570 Add arch_prctl.
51571 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
51572
51573 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
51574 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
51575 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
51576 New macro.
51577 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
51578 (INTERNAL_SYSCALL_TYPES): Likewise.
51579 (LOAD_ARGS_TYPES_[1-6]): Likewise.
51580 (LOAD_REGS_TYPES_[1-6]): Likewise.
51581 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
51582 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
51583
51584 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51585
51586 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
51587 copysignl for GLIBC_2_0.
51588 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
51589 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
51590 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
51591 logbl for GLIBC_2_0.
51592 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
51593 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
51594
51595 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
51596
51597 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
51598 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
51599
51600 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
51601 Use "neg %eax".
51602
51603 * time/mktime.c: Update copyright years.
51604
51605 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
51606
51607 mktime: merge comment-quoting-style change from gnulib
51608 * time/mktime.c: Quote 'like this' in comments.
51609 The GNU coding standards suggest that we no longer quote `like this',
51610 as "`" and "'" are typically rendered asymmetrically nowadays.
51611 The typical gnulib style is to quote 'like this' when quoting
51612 code, and "like this" when quoting English.
51613
51614 * time/mktime.c (compile-command): Add "-I.".
51615
51616 mktime: merge mktime-internal.h change from gnulib
51617 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
51618
51619 mktime: merge time_r change from gnulib
51620 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
51621
51622 mktime: merge DEBUG change from gnulib
51623 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
51624 case system <time.h> has a #define.
51625
51626 mktime: merge <sys/types.h> change from gnulib
51627 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
51628 since <time.t> is now guaranteed to define time_t.
51629
51630 mktime: merge HAVE_CONFIG_H change from gnulib
51631 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
51632
51633 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
51634
51635 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
51636 Use "neg %eax".
51637
51638 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
51639 __rlim_t cast.
51640 (struct rusage): Use anonymous union to pad each field to
51641 __syscall_slong_t.
51642
51643 2012-05-21 David S. Miller <davem@davemloft.net>
51644
51645 * Makefules (o-iterator): Remove .s cases.
51646 (compile-command.s): Delete.
51647 (COMPILE.s): Delete.
51648 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
51649
51650 2012-05-21 Joseph Myers <joseph@codesourcery.com>
51651
51652 * configure.in (libc_cv_predef_stack_protector): Only consider
51653 "foobar" and "__stack_chk_fail" lines in libc_undefs.
51654 * configure: Regenerated.
51655
51656 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
51657
51658 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
51659 New macro. Use R*LP on int and pointer.
51660 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
51661 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
51662 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
51663 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
51664
51665 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
51666 [__WORDSIZE_TIME64_COMPAT32] instead of
51667 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
51668 (struct utmp): Likewise.
51669 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
51670 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
51671 Renamed to ...
51672 (__WORDSIZE_TIME64_COMPAT32): This.
51673 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
51674 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
51675 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
51676 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
51677 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
51678 (__WORDSIZE_TIME64_COMPAT32): New macro.
51679
51680 2012-05-21 Andreas Jaeger <aj@suse.de>
51681
51682 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
51683 only if [SHARED]. Add prototype for __wcschr_ia32.
51684
51685 2012-05-21 Roland McGrath <roland@hack.frob.com>
51686
51687 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
51688 of %rbp unmolested in the jmp_buf while mangling the low bits.
51689 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
51690 unmolested high bits of %rbp while demangling the low bits.
51691 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
51692
51693 2012-05-21 Andreas Jaeger <aj@suse.de>
51694
51695 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
51696 * sunrpc/svc_simple.c: Use it for registerrpc.
51697 * sunrpc/xcrypt.c: Use it for passwd2des.
51698
51699 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
51700
51701 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
51702
51703 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
51704 Don't define if [__SYSCALL_WORDSIZE != 32].
51705 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
51706 New macro.
51707
51708 2012-05-21 Bruno Haible <bruno@clisp.org>
51709 Andreas Jaeger <aj@suse.de>
51710
51711 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
51712 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
51713 inptr and inend for must_buffer_ch.
51714 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
51715 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
51716 * stdio-common/Makefile (tests): Remove bug15.
51717 (bug15-ENV): Remove macro.
51718 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
51719 anymore.
51720
51721 2012-05-19 Andreas Jaeger <aj@suse.de>
51722 Roland McGrath <roland@hack.frob.com>
51723
51724 * manual/contrib.texi: Completely rewritten. It contains now an
51725 alphabetical list of contributors and their contributions.
51726
51727 2012-05-21 Richard Henderson <rth@twiddle.net>
51728
51729 * misc/getauxval.c (__getauxval): Use unsigned long int.
51730 * misc/sys/auxv.h: Include <sys/cdefs.h>.
51731 (getauxval): Use unsigned long int.
51732
51733 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
51734
51735 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
51736
51737 2012-05-21 Roland McGrath <roland@hack.frob.com>
51738
51739 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
51740 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
51741 __alignof__ (long double).
51742
51743 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51744
51745 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51746
51747 2012-05-20 Richard Henderson <rth@twiddle.net>
51748
51749 * misc/getauxval.c: New file.
51750 * misc/sys/auxv.h: New file.
51751 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
51752 (routines): Add getauxval.
51753 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
51754 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
51755 * elf/dl-sysdep.c (_dl_auxv): Remove.
51756 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
51757 * elf/dl-support.c (_dl_auxv): New variable.
51758 (_dl_aux_init): Initialize it.
51759 * manual/startup.texi (Auxiliary Vector): New node.
51760 * sysdeps/generic/bits/hwcap.h: New file.
51761 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
51762 * sysdeps/powerpc/sysdep.h: ... here. Include it.
51763 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
51764 * sysdeps/sparc/sysdep.h: ... here. Include it.
51765 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
51766 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
51767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
51768 Update.
51769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
51770 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
51771 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
51772 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
51773 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
51774 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
51775 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
51776 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
51777
51778 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51779
51780 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51781
51782 2012-05-19 David S. Miller <davem@davemloft.net>
51783
51784 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51785
51786 2012-05-19 Joseph Myers <joseph@codesourcery.com>
51787
51788 [BZ #14123]
51789 * math/s_ccosh.c: Include <float.h>
51790 (__ccosh): Avoid internal overflow calculating sinh and cosh
51791 values before multiplying by sin and cos values.
51792 * math/s_ccoshf.c: Likewise.
51793 * math/s_ccoshl.c: Likewise.
51794 * math/s_csin.c: Likewise.
51795 * math/s_csinf.c: Likewise.
51796 * math/s_csinl.c: Likewise.
51797 * math/s_csinh.c: Likewise.
51798 * math/s_csinhf.c: Likewise.
51799 * math/s_csinhl.c: Likewise.
51800 * math/libm-test.inc (ccos_test): Add more tests.
51801 (ccosh_test): Likewise.
51802 (csin_test): Likewise.
51803 (csinh_test): Likewise.
51804 * sysdeps/i386/fpu/libm-test-ulps: Update.
51805 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51806
51807 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
51808
51809 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
51810 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
51811
51812 * sysdeps/x86_64/x32/_itoa.h: Add comment.
51813
51814 2012-05-19 Joseph Myers <joseph@codesourcery.com>
51815
51816 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
51817 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
51818 * sysdeps/powerpc/soft-fp/Versions: Likewise.
51819 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
51820 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
51821 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
51822 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
51823 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
51824 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
51825 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
51826 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
51827 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
51828 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
51829 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
51830 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
51831 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
51832 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
51833 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
51834 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
51835 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
51836 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
51837 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
51838 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
51839 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
51840 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
51841 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
51842 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
51843 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
51844 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
51845 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
51846 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
51847
51848 2012-05-18 Andreas Jaeger <aj@suse.de>
51849
51850 * csu/.gitignore: Delete.
51851
51852 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
51853
51854 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
51855 (timex): Use __syscall_slong_t.
51856
51857 2012-05-18 Andreas Jaeger <aj@suse.de>
51858 Carlos O'Donell <carlos_odonell@mentor.com>
51859
51860 * manual/install.texi (Configuring and compiling): Update
51861 description about files modified in the source directory.
51862 * INSTALL: Regenerated.
51863
51864 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
51865
51866 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
51867 value. Use "or" to set return value to -1.
51868 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
51869 negate return value.
51870
51871 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
51872
51873 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
51874 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
51875 failure if the compiler has Graphite support disabled.
51876 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
51877 Likewise.
51878 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
51879 (CFLAGS-memmove.c): Likewise.
51880 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
51881 Likewise.
51882
51883 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
51884
51885 * sysdeps/x86_64/x32/_itoa.h: New file.
51886
51887 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
51888 getdents system call only if kernel and user dirents have the
51889 same d_ino and d_off.
51890
51891 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
51892 LLONG_MAX != LONG_MAX.
51893 (_itoa_word): Use _ITOA_WORD_TYPE on value.
51894 (_fitoa_word): Likewise.
51895
51896 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
51897 years.
51898 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
51899 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
51900 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
51901
51902 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
51903 include <bits/wordsize.h>. Check __x86_64__ instead of
51904 __WORDSIZE.
51905 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
51906 if __x86_64__ is defined. Use anonymous union on fpstate.
51907
51908 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
51909 anonymous union.
51910
51911 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
51912
51913 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
51914 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
51915 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
51916 Refer to _rtld_local_ro instead of _rtld_global_ro.
51917 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
51918 Likewise.
51919 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
51920 Likewise.
51921 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
51922 Likewise.
51923 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
51924 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
51925 of _rtld_global, and rtld_progname instead of _dl_argv[0].
51926
51927 [BZ #10882]
51928 * sysdeps/powerpc/powerpc32/dl-machine.c
51929 (__elf_machine_runtime_setup) [PROF]: Don't reference
51930 _dl_prof_resolve.
51931
51932 2012-05-18 Andreas Jaeger <aj@suse.de>
51933
51934 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
51935 function only available for GCCs before 3.4 since GCC 3.4
51936 introduced a builtin.
51937 (lrint): Likewise.
51938 (llrintf): Likewise.
51939 (llrint): Likewise.
51940 (fmaxf): Likewise.
51941 (fmax): Likewise.
51942 (fminf): Likewise.
51943 (fmin): Likewise.
51944 (rint): Likewise.
51945 (rintf): Likewise.
51946 (nearbyint): Likewise.
51947 (nearbyintf): Likewise.
51948 (ceil): Likewise.
51949 (ceilf): Likewise.
51950 (floor): Likewise.
51951 (floorf): Likewise.
51952
51953 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
51954
51955 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
51956 on both fields and cast pointer to __syscall_ulong_t.
51957
51958 * bits/types.h (__fsword_t): New type.
51959 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
51960 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
51961 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
51962 (__FSWORD_T_TYPE): Likewise.
51963 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
51964 (__FSWORD_T_TYPE): Likewise.
51965 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
51966 (__FSWORD_T_TYPE): Likewise.
51967 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
51968 (__FSWORD_T_TYPE): Likewise.
51969 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
51970 __SWORD_TYPE with __fsword_t.
51971 (statfs64): Likewise.
51972
51973 2012-05-17 David S. Miller <davem@davemloft.net>
51974
51975 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
51976
51977 2012-05-17 Andreas Jaeger <aj@suse.de>
51978
51979 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
51980 warning.
51981
51982 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
51983
51984 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
51985
51986 2012-05-17 Andreas Jaeger <aj@suse.de>
51987
51988 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
51989 when it is used.
51990
51991 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
51992
51993 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
51994
51995 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
51996
51997 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
51998 * sysdeps/x86_64/tst-mallocalign1.c: New file.
51999
52000 2012-05-17 Andreas Jaeger <aj@suse.de>
52001 Carlos O'Donell <carlos_odonell@mentor.com>
52002
52003 [BZ #14059]
52004 * sysdeps/x86_64/multiarch/init-arch.h
52005 (bit_YMM_Usable): Rename to...
52006 (bit_AVX_Usable): ... this.
52007 (bit_FMA4_Usable): New macro.
52008 (bit_XMM_state): New macro.
52009 (bit_YMM_state): New macro.
52010 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
52011 [__ASSEMBLER__] (index_AVX_Usable): ... this.
52012 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
52013 (CPUID_OSXSAVE): New macro.
52014 (CPUID_AVX): New macro.
52015 (CPUID_FMA4): New macro.
52016 (index_YMM_Usable): Rename to...
52017 (index_AVX_Usable): ... this.
52018 (HAS_AVX): Use HAS_ARCH_FEATURE.
52019 (HAS_FMA4): Likewise.
52020 (HAS_YMM_USABLE): Remove.
52021 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52022 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
52023 are present.
52024 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
52025 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
52026 * sysdeps/x86_64/multiarch/Makefile: Likewise.
52027 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
52028 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
52029
52030 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
52031
52032 * math/libm-test.c: Support platforms without multiple rounding modes.
52033 * math/bug-nextafter.c: Support platforms without FP exceptions.
52034 * math/bug-nexttoward.c: Likewise.
52035 * math/test-fenv.c: Likewise.
52036 * math/test-misc.c: Likewise.
52037 * stdlib/bug-getcontext.c: Likewise.
52038
52039 2012-05-17 Andreas Jaeger <aj@suse.de>
52040
52041 * manual/examples/search.c (critter_cmp): Change signature to
52042 avoid warnings.
52043 * manual/string.texi (Collation Functions): Likewise.
52044
52045 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
52046
52047 * bits/types.h: Fold copyright years.
52048 * bits/typesizes.h: Likewise.
52049 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
52050 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
52051 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
52052 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
52053 * time/time.h: Likewise.
52054
52055 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
52056
52057 [BZ #208]
52058 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
52059 in instead of returning them. Return void.
52060 (__libc_mallinfo): Accumulate over all arenas.
52061 (__malloc_stats): Adjust for change in int_mallinfo interface.
52062
52063 2012-05-16 Roland McGrath <roland@hack.frob.com>
52064
52065 [BZ #10375]
52066 * configure.in (NM): Add AC_CHECK_TOOL for it.
52067 (libc_extra_cflags): New substituted variable.
52068 Check for -fstack-protector being used implicitly.
52069 * configure: Regenerated.
52070 * config.make.in (config-extra-cflags): New variable,
52071 gets @libc_extra_cflags@.
52072 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
52073
52074 [BZ #10375]
52075 * configure.in: Check for _FORTIFY_SOURCE being predefined.
52076 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
52077 * configure: Regenerated.
52078 * config.make.in (CPPUNDEFS): New substituted variable.
52079 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
52080 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
52081 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
52082
52083 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
52084
52085 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
52086 (mq_attr): Use __syscall_slong_t.
52087
52088 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
52089
52090 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
52091 Check __x86_64__ instead of __WORDSIZE.
52092 (_STAT_VER_LINUX): Likewise.
52093 (stat): Check __x86_64__ instead of __WORDSIZE. Use
52094 __syscall_ulong_t and __syscall_slong_t.
52095 (stat64): Likewise.
52096
52097 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
52098
52099 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
52100
52101 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
52102
52103 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
52104
52105 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
52106
52107 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
52108 __syscall_ulong_t.
52109
52110 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
52111 include <bits/wordsize.h>. Check __x86_64__ instead of
52112 __WORDSIZE.
52113 (greg_t): Use "__extension__ long long int" if __x86_64__ is
52114 defined.
52115 (mcontext_t): Replace "unsigned long" with "unsigned long long".
52116
52117 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
52118 include <bits/wordsize.h>. Check __x86_64__ instead of
52119 __WORDSIZE.
52120 (user_regs_struct): Use "__extension__ unsigned long long"
52121 instead of "unsigned long" if __x86_64__ is defined.
52122 (user): Likewise. Pad after pointer field if __ILP32__ is
52123 defined.
52124
52125 2012-05-16 Joseph Myers <joseph@codesourcery.com>
52126
52127 * configure.in (makeinfo): Require version 4.5 or later. Allow
52128 versions 5 to 9.
52129 * configure: Regenerated.
52130 * manual/install.texi (texinfo): Increase version requirement to
52131 4.5 or later.
52132 * INSTALL: Regenerated.
52133
52134 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
52135
52136 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
52137
52138 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
52139
52140 * sysdeps/x86_64/x32/ffs.c: New file.
52141
52142 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
52143 __syscall_ulong_t.
52144 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
52145 defined. Use __syscall_ulong_t.
52146 (shminfo): Use __syscall_ulong_t.
52147 (shm_info): Likewise.
52148
52149 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
52150 __syscall_ulong_t.
52151
52152 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
52153 <bits/wordsize.h>.
52154 (msgqnum_t): Use __syscall_ulong_t.
52155 (msglen_t): Likewise.
52156 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
52157 __syscall_ulong_t.
52158
52159 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
52160 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
52161
52162 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
52163
52164 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
52165 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
52166
52167 * sysvipc/sys/msg.h (msgbuf): Replace long int with
52168 __syscall_slong_t.
52169
52170 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
52171 include <bits/wordsize.h>. Check __x86_64__ instead of
52172 __WORDSIZE.
52173
52174 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
52175 "unsigned long long int" if __x86_64__ is defined.
52176 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
52177
52178 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
52179 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
52180 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
52181
52182 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
52183 <stdint.h>.
52184 (GET_PC): Cast to uintptr_t first.
52185 (GET_FRAME): Likewise.
52186 (GET_STACK): Likewise.
52187
52188 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
52189 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
52190 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
52191 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
52192 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
52193 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
52194 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
52195 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
52196 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
52197 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
52198 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
52199 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
52200 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
52201 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
52202 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
52203 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
52204 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
52205 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
52206 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
52207 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
52208 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
52209 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
52210 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
52211 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
52212 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
52213 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
52214 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
52215 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
52216 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
52217
52218 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
52219
52220 * Makerules (+depfiles): Also collect depfiles from .oS in
52221 $(extra-objs).
52222 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
52223 .oS, $(libnldbl-routines)).
52224
52225 * Makerules (native-compile-mkdep-flags): Define.
52226 * sunrpc/Makefile (extra-objs): Add $(addprefix
52227 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
52228 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
52229 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
52230 calling $(make-target-directory).
52231
52232 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52233
52234 * bits/types.h (__snseconds_t): Removed.
52235 * time/time.h (struct timespec): Replace __snseconds_t with
52236 __syscall_slong_t.
52237 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
52238 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
52239 Likewise.
52240 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
52241 (__SNSECONDS_T_TYPE): Likewise.
52242 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
52243 (__SNSECONDS_T_TYPE): Likewise.
52244 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
52245 (__SNSECONDS_T_TYPE): Likewise.
52246
52247 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52248
52249 * sysdeps/mach/hurd/bits/typesizes.h
52250 (__SYSCALL_SLONG_TYPE): New macro.
52251 (__SYSCALL_ULONG_TYPE): Likewise.
52252
52253 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52254
52255 * bits/types.h (__syscall_slong_t): New type.
52256 (__syscall_ulong_t): Likewise.
52257
52258 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
52259 (__SYSCALL_ULONG_TYPE): Likewise.
52260 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
52261 (__SYSCALL_SLONG_TYPE): Likewise.
52262 (__SYSCALL_ULONG_TYPE): Likewise.
52263 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
52264 (__SYSCALL_SLONG_TYPE): Likewise.
52265 (__SYSCALL_ULONG_TYPE): Likewise.
52266 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
52267 (__SYSCALL_SLONG_TYPE): Likewise.
52268 (__SYSCALL_ULONG_TYPE): Likewise.
52269
52270 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52271
52272 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
52273 Add sigaltstack-offsets.sym.
52274 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
52275 <sigaltstack-offsets.h>.
52276 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
52277 longjmp_msg pointer.
52278 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
52279 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
52280 signal stack.
52281 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
52282
52283 2012-05-15 Joseph Myers <joseph@codesourcery.com>
52284
52285 * elf/stackguard-macros.h: Remove file.
52286 * sysdeps/generic/stackguard-macros.h: New file.
52287 * sysdeps/i386/stackguard-macros.h: Likewise.
52288 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
52289 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
52290 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
52291 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
52292 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
52293 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
52294 * sysdeps/x86_64/stackguard-macros.h: Likewise.
52295 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
52296 <elf/stackguard-macros.h>.
52297
52298 [BZ #14109]
52299 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
52300 __aligned__ in attribute.
52301 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
52302 (gregset_t): Likewise.
52303
52304 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52305
52306 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
52307 * sysdeps/x86_64/64/Implies-after: Here. New file.
52308 * sysdeps/x86_64/x32/Implies-after: New file.
52309
52310 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52311
52312 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
52313 and access return value for _dl_profile_fixup. Use R10_LP to
52314 load frame size.
52315
52316 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52317
52318 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
52319
52320 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52321
52322 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
52323 * sysdeps/x86_64/x32/sysdep.h: New file.
52324
52325 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52326
52327 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
52328 * sysdeps/x86_64/setjmp.S: Likewise.
52329
52330 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52331
52332 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
52333 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
52334 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
52335 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
52336 remove unused global constant.
52337
52338 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
52339
52340 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
52341 include of <not-cancel.h>.
52342
52343 2012-05-15 Roland McGrath <roland@hack.frob.com>
52344
52345 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
52346
52347 2012-05-15 Jeff Law <law@redhat.com>
52348 Andreas Jaeger <aj@suse.de>
52349
52350 [BZ #13594]
52351 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
52352 out from...
52353 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
52354 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
52355 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
52356 code changing __hst_map_handle.map.
52357
52358 2012-05-15 Roland McGrath <roland@hack.frob.com>
52359
52360 * configure.in (sysnames): Look for Implies-before and Implies-after
52361 files.
52362 * configure: Regenerated.
52363
52364 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52365
52366 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
52367 8-byte data alignment with LP_SIZE alignment.
52368
52369 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52370
52371 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
52372 into R10_LP.
52373
52374 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52375
52376 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
52377
52378 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52379
52380 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
52381 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
52382 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
52383 Likewise.
52384 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
52385
52386 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52387
52388 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
52389 (stackinfo_sub_sp): Likewise.
52390
52391 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52392
52393 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
52394 RAX_LP.
52395
52396 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52397
52398 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
52399 into R*_LP.
52400
52401 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52402
52403 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
52404 sizes into R*_LP.
52405
52406 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52407
52408 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
52409
52410 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52411
52412 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
52413 into R11_LP and load __x86_64_shared_cache_size_half into
52414 R8_LP.
52415
52416 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52417
52418 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
52419 R8_LP.
52420
52421 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52422
52423 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
52424 logb for POWER7.
52425 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
52426 logbf for POWER7.
52427 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
52428 logbl for POWER7.
52429 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
52430 powerpc32/power7/fpu/s_logb.c via #include.
52431 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
52432 powerpc32/power7/fpu/s_logbf.c via #include.
52433 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
52434 powerpc32/power7/fpu/s_logbl.c via #include.
52435
52436 2012-05-15 Joseph Myers <joseph@codesourcery.com>
52437
52438 * README.libm: Remove file.
52439
52440 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
52441
52442 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
52443 count for x32. Use R*_LP and omit operand-size suffix.
52444
52445 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
52446
52447 * shlib-versions: Move x86_64-.*-linux.* entries to ...
52448 * sysdeps/x86_64/64/shlib-versions: Here. New file.
52449 * sysdeps/x86_64/x32/shlib-versions: New file.
52450
52451 2012-05-14 Roland McGrath <roland@hack.frob.com>
52452
52453 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
52454 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
52455 Use _dl_fatal_printf instead.
52456
52457 2012-05-14 Joseph Myers <joseph@codesourcery.com>
52458
52459 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
52460 set if not set by the user. Do not allow for being unset.
52461 * sysdeps/unix/sysv/linux/configure: Regenerated.
52462
52463 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
52464
52465 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
52466 the `q' suffix from lea and replace .quad with ASM_ADDR.
52467
52468 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
52469
52470 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
52471 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
52472 instead of $17.
52473 (PTR_DEMANGLE): Likewise.
52474
52475 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
52476
52477 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
52478 (LP_OP): Likewise.
52479 (ASM_ADDR): Likewise.
52480 (RAX_LP): Likewise.
52481 (RBP_LP): Likewise.
52482 (RBX_LP): Likewise.
52483 (RCX_LP): Likewise.
52484 (RDI_LP): Likewise.
52485 (RSI_LP): Likewise.
52486 (RSP_LP): Likewise.
52487 (R8_LP): Likewise.
52488 (R9_LP): Likewise.
52489 (R10_LP): Likewise.
52490 (R10_LP): Likewise.
52491 (R11_LP): Likewise.
52492 (R12_LP): Likewise.
52493 (R13_LP): Likewise.
52494 (R14_LP): Likewise.
52495 (R15_LP): Likewise.
52496
52497 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
52498
52499 * sysdeps/x86_64/x32/dl-machine.h: New file.
52500
52501 2012-05-14 Andreas Jaeger <aj@suse.de>
52502
52503 * manual/Makefile (subdir): Remove export of subdir.
52504 (all): Remove target.
52505 (.PHONY): Remove all from list.
52506 (mkinstalldirs): Remove.
52507 (.PHONY): Remove installdirs from list.
52508 ($(inst_infodir)/libc.info): Use make-target-directory.
52509 (installdirs): Remove.
52510 (subdir_%): Remove.
52511 (glibc-targets): Remove.
52512 (lib): Remove.
52513 (stubs): Remove.
52514 ($(objpfx)stubs ../po/manual.pot): Remove.
52515 ($(objpfx)stamp%): Remove.
52516 (make-target-directory): Remove.
52517 (subdir_install): Remove.
52518 (routines): Remove.
52519 (aux): Remove.
52520 (sources): Remove.
52521 (objects): Remove.
52522 (headers): Remove.
52523
52524 [BZ #13750]
52525 * manual/.gitignore: Remove, it's not needed anymore.
52526 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
52527 all files in it.
52528 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
52529 directory.
52530 (texis): Renamed to $(objpfx)texis.
52531 (texis-path): New, contains path to generated files.
52532 (chapters.%): Use texis-path for complete path, add extra argument
52533 libc-texinfo.sh.
52534 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
52535 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
52536 (summary,texi, stamp-summary): Use complete path of
52537 files. Generate files in build dir.
52538 (dir-add.texi): Build in build dir.
52539 (libm-err.texi,stamp-libm-err): Likewise.
52540 (version.texi, stamp-version): Likewise.
52541 (.%c.texi): Likewise.
52542 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
52543 (mostlyclean): Remove target.
52544 (realclean): Remove target.
52545 (generated): Add new variable with contents from mostlyclean and
52546 realclean, remove entries duplicated in common-mostlyclean, add
52547 stamp-libm-err and stamp-version.
52548 (generated-dirs): Add libc directory.
52549 ($(inst_infodir)/libc.info): Install files from build dir.
52550
52551 * manual/install.texi (Configuring and compiling): Adjust since
52552 the info files are not part of the tar ball anymore.
52553
52554 2012-05-14 Andreas Jaeger <aj@suse.de>
52555
52556 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
52557 variable.
52558
52559 2012-05-14 Joseph Myers <joseph@codesourcery.com>
52560
52561 [BZ #13717]
52562 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
52563 to 2.2.0 where earlier.
52564 * sysdeps/unix/sysv/linux/configure: Regenerated.
52565 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
52566 Remove conditional code.
52567 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
52568 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
52569 Remove conditional code.
52570 [!__NR_lchown]: Likewise.
52571 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
52572 [__NR_lchown]: Likewise.
52573 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
52574 comment referencing __ASSUME_LCHOWN_SYSCALL.
52575 * sysdeps/unix/sysv/linux/i386/sigaction.c
52576 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
52577 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
52578 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
52579 Remove conditional code.
52580 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
52581 (__protocol_available): Remove #if 0 code.
52582 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
52583 conditional code.
52584 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
52585 * sysdeps/unix/sysv/linux/kernel-features.h
52586 (__ASSUME_GETCWD_SYSCALL): Don't define.
52587 (__ASSUME_REALTIME_SIGNALS): Likewise.
52588 (__ASSUME_PREAD_SYSCALL): Likewise.
52589 (__ASSUME_PWRITE_SYSCALL): Likewise.
52590 (__ASSUME_POLL_SYSCALL): Likewise.
52591 (__ASSUME_LCHOWN_SYSCALL): Likewise.
52592 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
52593 non-SPARC.
52594 (__ASSUME_SIOCGIFNAME): Don't define.
52595 (__ASSUME_MSG_NOSIGNAL): Likewise.
52596 (__ASSUME_SENDFILE): Define unconditionally.
52597 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
52598 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
52599 conditional code.
52600 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
52601 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
52602 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
52603 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
52604 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
52605 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
52606 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
52607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
52608 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
52609 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
52610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
52611 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
52612 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
52613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
52614 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
52615 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
52616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
52617 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
52618 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
52619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
52620 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
52621 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
52622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
52623 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
52624 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
52625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
52626 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
52627 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
52628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
52629 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
52630 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
52631 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
52632 Remove conditional code.
52633 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
52634 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
52635 Remove conditional code.
52636 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
52637 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
52638 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
52639 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
52640 Remove conditional code.
52641 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
52642 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
52643 Remove conditional code.
52644 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
52645 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
52646 Remove conditional code.
52647 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
52648 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
52649 Remove conditional code.
52650 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
52651 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
52652 Remove conditional code.
52653 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
52654 * sysdeps/unix/sysv/linux/sh/pwrite64.c
52655 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
52656 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
52657 * sysdeps/unix/sysv/linux/sigaction.c
52658 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
52659 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
52660 * sysdeps/unix/sysv/linux/sigpending.c
52661 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
52662 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
52663 * sysdeps/unix/sysv/linux/sigprocmask.c
52664 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
52665 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
52666 * sysdeps/unix/sysv/linux/sigsuspend.c
52667 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
52668 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
52669 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
52670 (__libc_missing_rt_sigs): Remove.
52671 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
52672 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
52673 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
52674 Remove conditional code.
52675 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
52676 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
52677 return 1.
52678 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
52679 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
52680 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
52681 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
52682
52683 2012-05-14 Andreas Jaeger <aj@suse.de>
52684
52685 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
52686 it's not used in glibc.
52687 (__coshm1): Likewise.
52688 (__acosh1p): Likewise.
52689 (__sgn): Likewise.
52690
52691 * manual/string.texi (Copying and Concatenation): Add missing
52692 variable in concat example.
52693 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
52694
52695 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
52696
52697 [BZ #14103]
52698 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
52699 __builtin_clzl with __builtin_clzll.
52700
52701 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
52702
52703 [BZ #14104]
52704 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
52705 libc_freeres_ptr.
52706
52707 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52708
52709 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
52710 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
52711 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
52712 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
52713
52714 2012-05-14 Mike Frysinger <vapier@gentoo.org>
52715
52716 * NEWS: Update ia64 info.
52717
52718 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
52719
52720 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
52721 used as bcopy.
52722
52723 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
52724
52725 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
52726 * sysdeps/unix/syscalls.list (dup3): Likewise.
52727 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
52728 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
52729
52730 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
52731
52732 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
52733 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
52734
52735 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
52736
52737 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
52738 thread pointer.
52739 (TLS_IE): Use mov/add instead of movq/addq to load thread
52740 pointer.
52741 (TLS_GD_PREFIX): New.
52742 (TLS_GD): Use it.
52743
52744 2012-05-11 David S. Miller <davem@davemloft.net>
52745
52746 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
52747 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
52748 (_FPU_SETCW): Likewise.
52749
52750 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
52751
52752 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
52753 is 32-byte aligned.
52754
52755 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
52756
52757 [BZ #11837]
52758 * iconvdata/gb18030.c: Update tables.
52759 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
52760 characters specially.
52761 (BODY for TO_LOOP): Add encoding of missing ranges.
52762
52763 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
52764
52765 [BZ #13673]
52766 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
52767 * sysdeps/mach/hurd/dup3.c: Likewise.
52768 * sysdeps/mach/hurd/readlinkat.c: Likewise.
52769 * sysdeps/powerpc/memmove.c:: Likewise.
52770
52771 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
52772
52773 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
52774 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
52775
52776 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
52777
52778 * elf/elf.h (R_X86_64_RELATIVE64): New.
52779 (R_X86_64_NUM): Updated.
52780 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
52781 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
52782 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
52783 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
52784 tst-quad1pie tst-quad2pie
52785 (modules-names): Add tst-quadmod1 tst-quadmod2.
52786 ($(objpfx)tst-quad1): New dependency.
52787 ($(objpfx)tst-quad2): Likewise.
52788 ($(objpfx)tst-quad1pie): Likewise.
52789 ($(objpfx)tst-quad2pie): Likewise.
52790 * sysdeps/x86_64/tst-quad1.c: New file.
52791 * sysdeps/x86_64/tst-quad1pie.c: New file.
52792 * sysdeps/x86_64/tst-quad2.c: Likewise.
52793 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
52794 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
52795 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
52796 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
52797 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
52798
52799 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
52800
52801 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
52802 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
52803 * streams/stropts.h (t_scalar_t): Define type.
52804
52805 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
52806 (_PATH_PRESERVE): Set to "/var/lib".
52807 (_PATH_RWHODIR): Set to "/var/spool/rwho".
52808
52809 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
52810 instead of int.
52811
52812 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
52813 if __dir_mkfile succeeded.
52814
52815 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
52816 checking for _hurd_dtablesize. Unlock it right after having
52817 finished _hurd_dtable allocation.
52818
52819 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
52820
52821 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
52822 * sysdeps/mach/hurd/configure: Regenerated.
52823 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
52824 special-casing to...
52825 * sysdeps/gnu/configure.in: ... this new file.
52826 * sysdeps/unix/sysv/linux/configure: Regenerated.
52827 * sysdeps/gnu/configure: New generated file.
52828
52829 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
52830 for Linux: use nsec instead of usec, as well as:
52831 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
52832 members of type struct timespec.
52833 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
52834 New macros.
52835 (struct stat64): Likewise.
52836 (_STATBUF_ST_NSEC): New macro.
52837 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
52838
52839 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
52840 __strtoul_internal rather than strtoul.
52841
52842 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
52843
52844 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
52845 and reject them.
52846
52847 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
52848
52849 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
52850 which preserves existing values.
52851 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
52852
52853 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
52854
52855 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
52856 TIMEOUT values. Return EINVAL for NFDS values either negative or
52857 greater than FD_SETSIZE.
52858
52859 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
52860
52861 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
52862 allocated, call __vm_protect to finish enabling the existing space, and
52863 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
52864 allocate the remainder.
52865
52866 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
52867
52868 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
52869 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
52870
52871 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
52872
52873 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
52874 sysdeps/mach/hurd/readlink.c.
52875
52876 * posix/tst-sysconf.c (posix_options): Only use
52877 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
52878 _POSIX_SYNCHRONIZED_IO when they are defined
52879 * sysdeps/mach/hurd/bits/posix_opt.h:
52880 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
52881 (_XOPEN_REALTIME): Undefine macro.
52882 (_XOPEN_REALTIME_THREADS): Undefine macro.
52883 (_XOPEN_SHM): Undefine macro.
52884 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
52885 macro to -1.
52886 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
52887 macro to -1.
52888 (_POSIX_ASYNC_IO): Undefine macro.
52889 (_POSIX_PRIORITIZED_IO): Undefine macro.
52890 (_POSIX_SPIN_LOCKS): Define macro to -1.
52891
52892 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
52893 SA_NODEFER, SA_RESETHAND.
52894 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
52895 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
52896 F_DUPFD_CLOEXEC.
52897
52898 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
52899
52900 * elf/Makefile (pldd-modules): Define unconditionally.
52901
52902 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
52903
52904 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
52905
52906 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
52907
52908 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
52909 Return ENOENT when name is empty.
52910 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
52911
52912 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
52913
52914 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
52915
52916 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
52917
52918 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
52919
52920 Fix mlock in all cases except non-readable pages.
52921 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
52922 instead of VM_PROT_ALL as parameter to __vm_wire function.
52923
52924 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
52925 (__mkdir): When path is `/', just fail with EEXIST.
52926 * sysdeps/mach/hurd/mkdirat.c: Likewise.
52927
52928 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
52929
52930 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
52931 <sys/uio.h> (for writev).
52932 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
52933 and <sys/param.h> (for MIN).
52934
52935 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
52936
52937 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
52938 REQUESTED_TIME. Properly set the remaining time and return EINTR
52939 if interrupted.
52940
52941 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
52942
52943 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
52944 Depend on against $(link-rpcuserlibs).
52945
52946 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
52947
52948 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
52949 (__libc_stack_end): Do not use attribute_relro.
52950 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
52951 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
52952 to libthread-provided value.
52953 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
52954 attribute_relro.
52955
52956 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
52957
52958 [BZ #3748]
52959 * bits/libc-lock.h (__libc_once_get): New macro.
52960 * sysdeps/mach/bits/libc-lock.h: Likewise.
52961 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
52962 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
52963 instead of using implementation details.
52964
52965 * libio/fileops.c: Unconditionally include <kernel-features.h>.
52966 * libio/freopen.c: Likewise.
52967 * libio/freopen64.c: Likewise.
52968 * misc/syslog.c: Likewise.
52969 * nscd/connections.c: Likewise.
52970 * nscd/netgroupcache.c: Likewise.
52971 * sysdeps/posix/getcwd.c: Likewise.
52972
52973 2012-05-10 Roland McGrath <roland@hack.frob.com>
52974
52975 * math/w_ilogbf.c: Add #include <limits.h>.
52976
52977 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
52978
52979 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
52980 path instead of returning without unlocking.
52981
52982 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
52983 immediate-write ioctls.
52984 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
52985
52986 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
52987
52988 * sysdeps/mach/hurd/i386/init-first.c (init): Use
52989 __builtin_frame_address instead of making assumptions about the
52990 location of the return address relative to DATA. Force early load of
52991 the return address.
52992 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
52993 __builtin_frame_address.
52994
52995 dup3 for GNU Hurd.
52996 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
52997 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
52998 implement dup3 and do some further code clean-ups.
52999 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
53000 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
53001
53002 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
53003
53004 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
53005
53006 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
53007 HURD_CRITICAL_END around holding _hurd_dtable_lock.
53008 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
53009 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
53010 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
53011 d->port.lock.
53012
53013 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
53014 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
53015 when handler == SIG_ERR, not when handler != SIG_ERR.
53016
53017 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
53018
53019 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
53020 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
53021 definitions.
53022
53023 accept4 for GNU Hurd.
53024 * include/sys/socket.h (__libc_accept4): New prototype.
53025 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
53026 to implement __libc_accept4.
53027 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
53028 __libc_accept4.
53029 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
53030
53031 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
53032 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
53033 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
53034 signal-defines.sym.
53035
53036 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
53037
53038 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
53039
53040 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
53041
53042 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
53043 assertion on O_CLOEXEC flag.
53044 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
53045 * hurd/intern-fd.c: Likewise.
53046 * hurd/port2fd.c: Likewise.
53047
53048 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
53049
53050 [BZ #3906]
53051 * bits/in.h (IPV6_PKTINFO): Define new macro.
53052 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
53053
53054 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53055
53056 [BZ #13954]
53057 [BZ #13955]
53058 [BZ #13956]
53059 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
53060 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
53061 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
53062 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
53063 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
53064 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
53065 * math/libm-test.inc (logb_test) : Additional logb tests.
53066
53067 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
53068 Andreas Jaeger <aj@suse.de>
53069
53070 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
53071 * configure: Regenerated.
53072 * config.h.in (LINK_OBSOLETE_RPC): New macro.
53073 * config.make.in (link-obsolete-rpc): New substituted variable.
53074 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
53075 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
53076 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
53077 (shared-only-routines): Don't set it under [link-obsolete-rpc],
53078 so that libc.a contains the symbols.
53079 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
53080 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
53081 * sunrpc/auth_none.c: Likewise.
53082 * sunrpc/auth_unix.c: Likewise.
53083 * sunrpc/authdes_prot.c: Likewise.
53084 * sunrpc/authuxprot.c: Likewise.
53085 * sunrpc/clnt_gen.c: Likewise.
53086 * sunrpc/clnt_perr.c: Likewise.
53087 * sunrpc/clnt_raw.c: Likewise.
53088 * sunrpc/clnt_simp.c: Likewise.
53089 * sunrpc/clnt_tcp.c: Likewise.
53090 * sunrpc/clnt_udp.c: Likewise.
53091 * sunrpc/clnt_unix.c: Likewise.
53092 * sunrpc/des_crypt.c: Likewise.
53093 * sunrpc/des_soft.c: Likewise.
53094 * sunrpc/get_myaddr.c: Likewise.
53095 * sunrpc/key_call.c: Likewise.
53096 * sunrpc/key_prot.c: Likewise.
53097 * sunrpc/netname.c: Likewise.
53098 * sunrpc/pm_getmaps.c: Likewise.
53099 * sunrpc/pm_getport.c: Likewise.
53100 * sunrpc/pmap_clnt.c: Likewise.
53101 * sunrpc/pmap_prot.c: Likewise.
53102 * sunrpc/pmap_prot2.c: Likewise.
53103 * sunrpc/pmap_rmt.c: Likewise.
53104 * sunrpc/publickey.c: Likewise.
53105 * sunrpc/rpc_cmsg.c: Likewise.
53106 * sunrpc/rpc_common.c: Likewise.
53107 * sunrpc/rpc_dtable.c: Likewise.
53108 * sunrpc/rpc_prot.c: Likewise.
53109 * sunrpc/rpc_thread.c: Likewise.
53110 * sunrpc/rtime.c: Likewise.
53111 * sunrpc/svc.c: Likewise.
53112 * sunrpc/svc_auth.c: Likewise.
53113 * sunrpc/svc_raw.c: Likewise.
53114 * sunrpc/svc_run.c: Likewise.
53115 * sunrpc/svc_tcp.c: Likewise.
53116 * sunrpc/svc_udp.c: Likewise.
53117 * sunrpc/svc_unix.c: Likewise.
53118 * sunrpc/svcauth_des.c: Likewise.
53119 * sunrpc/xcrypt.c: Likewise.
53120 * sunrpc/xdr.c: Likewise.
53121 * sunrpc/xdr_array.c: Likewise.
53122 * sunrpc/xdr_float.c: Likewise.
53123 * sunrpc/xdr_intXX_t.c: Likewise.
53124 * sunrpc/xdr_mem.c: Likewise.
53125 * sunrpc/xdr_rec.c: Likewise.
53126 * sunrpc/xdr_ref.c: Likewise.
53127 * sunrpc/xdr_sizeof.c: Likewise.
53128 * sunrpc/xdr_stdio.c: Likewise.
53129
53130 2012-05-10 Roland McGrath <roland@hack.frob.com>
53131
53132 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
53133 change. Update copyright years.
53134
53135 2012-05-10 Joseph Myers <joseph@codesourcery.com>
53136
53137 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
53138
53139 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
53140 Joseph Myers <joseph@codesourcery.com>
53141 Paul Pluzhnikov <ppluzhnikov@google.com>
53142
53143 [BZ #14012]
53144 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
53145 requiring rpcgen.
53146 [cross-compiling] (extra-libs): Likewise.
53147 [cross-compiling] (extra-libs-others): Likewise.
53148 [cross-compiling] (librpcsvc-routines): Likewise.
53149 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
53150 [cross-compiling] (omit-deps): Likewise.
53151 (sunrpc-CPPFLAGS): New variable.
53152 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
53153 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
53154 (cross-rpcgen-objs): New variable.
53155 (extra-objs): Append $(cross-rpcgen-objs).
53156 ($(cross-rpcgen-objs)): New rule.
53157 ($(objpfx)cross-rpcgen): Likewise.
53158 (rpcgen-cmd): Define to use $(built-program-file). Expand
53159 comment.
53160 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
53161 ($(objpfx)x%.stmp): Likewise.
53162 * sunrpc/proto.h [IS_IN_build] (_): Define.
53163 [IS_IN_build] (_libc_intl_domainname): Likewise.
53164
53165 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
53166
53167 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
53168 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
53169 and R_X86_64_TPOFF64.
53170
53171 2012-05-10 Joseph Myers <joseph@codesourcery.com>
53172
53173 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
53174 sysdeps/unix/sysv/syscalls.list.
53175 (stime): Likewise.
53176 (utime): Likewise.
53177 * sysdeps/unix/sysv/syscalls.list: Remove file.
53178
53179 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
53180
53181 [BZ #3440]
53182 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
53183 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
53184 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
53185 (__LC_IDENTIFICATION): Make these macros useful in #if
53186 expressions, as required by C99.
53187
53188 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
53189
53190 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
53191 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
53192 after this.
53193
53194 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
53195
53196 * stdlib/longlong.h: Updated from GCC.
53197
53198 2012-05-09 Andreas Jaeger <aj@suse.de>
53199
53200 * nscd/nscd.c (run_modes): Make named enum, reorder so that
53201 default is first entry.
53202 (run_mode): Set type.
53203 (main): Remove informal message about syslog.
53204 (options): Fix typo.
53205
53206 [BZ #14053]
53207 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
53208 to asm.
53209 (lrint): Likewise.
53210 (llrintf): Likewise.
53211 (llrint): Likewise.
53212 (rint): Likewise.
53213 (rintf): Likewise.
53214 (nearbyint): Likewise.
53215 (nearbyintf): Likewise.
53216
53217 2012-05-09 Andreas Jaeger <aj@suse.de>
53218 Pedro Alves <palves@redhat.com>
53219
53220 * nscd/nscd.c (run_mode): Use enum.
53221 (main): Cleanup coding style issue.
53222
53223 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
53224 Andreas Jaeger <aj@suse.de>
53225
53226 * nscd/nscd.c (go_background): Replaced with...
53227 (run_mode): ... this.
53228 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
53229 (options): Add -F --foreground.
53230 (main): Implement it.
53231 (parse_opt): Parse it.
53232
53233 2012-05-09 Andreas Jaeger <aj@suse.de>
53234
53235 [BZ #14083]
53236 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
53237 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
53238 -Wconversion warning.
53239 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
53240 Likewise.
53241
53242 2012-05-09 Joseph Myers <joseph@codesourcery.com>
53243
53244 * conform/data/locale.h-data (NULL): Use macro-constant. Require
53245 == 0.
53246 (LC_ALL): Use macro-int-constant.
53247 (LC_COLLATE): Likewise.
53248 (LC_CTYPE): Likewise.
53249 (LC_MESSAGES): Likewise.
53250 (LC_MONETARY): Likewise.
53251 (LC_NUMERIC): Likewise.
53252 (LC_TIME): Likewise.
53253 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
53254 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
53255 [ISO || ISO99 || ISO11] (*_t): Do not allow.
53256 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
53257 Specify type.
53258 [C99-based standards] (float_t): Expect type.
53259 [C99-based standards] (double_t): Expect type.
53260 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
53261 type.
53262 [C99-based standards] (HUGE_VALL): Likewise.
53263 [C99-based standards] (INFINITY): Likewise.
53264 [C99-based standards] (NAN): Likewise.
53265 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
53266 [C99-based standards] (FP_NAN): Likewise.
53267 [C99-based standards] (FP_NORMAL): Likewise.
53268 [C99-based standards] (FP_SUBNORMAL): Likewise.
53269 [C99-based standards] (FP_ZERO): Likewise.
53270 [C99-based standards] (FP_FAST_FMA): Use
53271 optional-macro-int-constant. Specify type. Require == 1.
53272 [C99-based standards] (FP_FAST_FMAF): Likewise.
53273 [C99-based standards] (FP_FAST_FMAL): Likewise.
53274 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
53275 [C99-based standards] (FP_ILOGBNAN): Likewise.
53276 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
53277 Specify type.
53278 [C99-based standards] (MATH_ERREXCEPT): Likewise.
53279 [C99-based standards] (math_errhandling): Specify type.
53280 [ISO99 || ISO11] (signgam): Do not allow.
53281 [non-C99-based standards] (copysignf): Do not allow.
53282 [non-C99-based standards] (exp2f): Likewise.
53283 [non-C99-based standards] (log2f): Likewise.
53284 [non-C99-based standards] (modff): Allow.
53285 [non-C99-based standards] (erff): Do not allow.
53286 [non-C99-based standards] (erfcf): Likewise.
53287 [non-C99-based standards] (gammaf): Likewise.
53288 [non-C99-based standards] (hypotf): Likewise.
53289 [non-C99-based standards] (j0f): Likewise.
53290 [non-C99-based standards] (j1f): Likewise.
53291 [non-C99-based standards] (jnf): Likewise.
53292 [non-C99-based standards] (lgammaf): Likewise.
53293 [non-C99-based standards] (tgammaf): Likewise.
53294 [non-C99-based standards] (y0f): Likewise.
53295 [non-C99-based standards] (y1f): Likewise.
53296 [non-C99-based standards] (ynf): Likewise.
53297 [non-C99-based standards] (isnanf): Likewise.
53298 [non-C99-based standards] (acoshf): Likewise.
53299 [non-C99-based standards] (asinhf): Likewise.
53300 [non-C99-based standards] (atanhf): Likewise.
53301 [non-C99-based standards] (cbrtf): Likewise.
53302 [non-C99-based standards] (expm1f): Likewise.
53303 [non-C99-based standards] (ilogbf): Likewise.
53304 [non-C99-based standards] (log1pf): Likewise.
53305 [non-C99-based standards] (logbf): Likewise.
53306 [non-C99-based standards] (nextafterf): Likewise.
53307 [non-C99-based standards] (remainderf): Likewise.
53308 [non-C99-based standards] (rintf): Likewise.
53309 [non-C99-based standards] (scalbf): Likewise.
53310 [non-C99-based standards] (copysignl): Likewise.
53311 [non-C99-based standards] (exp2l): Likewise.
53312 [non-C99-based standards] (log2l): Likewise.
53313 [non-C99-based standards] (modfl): Allow.
53314 [non-C99-based standards] (erfl): Do not allow.
53315 [non-C99-based standards] (erfcl): Likewise.
53316 [non-C99-based standards] (gammal): Likewise.
53317 [non-C99-based standards] (hypotl): Likewise.
53318 [non-C99-based standards] (j0l): Likewise.
53319 [non-C99-based standards] (j1l): Likewise.
53320 [non-C99-based standards] (jnl): Likewise.
53321 [non-C99-based standards] (lgammal): Likewise.
53322 [non-C99-based standards] (tgammal): Likewise.
53323 [non-C99-based standards] (y0l): Likewise.
53324 [non-C99-based standards] (y1l): Likewise.
53325 [non-C99-based standards] (ynl): Likewise.
53326 [non-C99-based standards] (isnanl): Likewise.
53327 [non-C99-based standards] (acoshl): Likewise.
53328 [non-C99-based standards] (asinhl): Likewise.
53329 [non-C99-based standards] (atanhl): Likewise.
53330 [non-C99-based standards] (cbrtl): Likewise.
53331 [non-C99-based standards] (expm1l): Likewise.
53332 [non-C99-based standards] (ilogbl): Likewise.
53333 [non-C99-based standards] (log1pl): Likewise.
53334 [non-C99-based standards] (logbl): Likewise.
53335 [non-C99-based standards] (nextafterl): Likewise.
53336 [non-C99-based standards] (remainderl): Likewise.
53337 [non-C99-based standards] (rintl): Likewise.
53338 [non-C99-based standards] (scalbl): Likewise.
53339 [ISO || ISO99 || ISO11] (*_t): Do not allow.
53340 [non-C99-based standards] (FP_*): Do not allow.
53341 [C99-based standards] (FP_*): Change to
53342 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
53343 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
53344 allow.
53345 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
53346 (SIG_ERR): Likewise.
53347 [X/Open-based standards] (SIG_HOLD): Likewise.
53348 (SIG_IGN): Likewise.
53349 (SIGABRT): Use macro-int-constant. Specify type. Require
53350 positive value.
53351 (SIGFPE): Likewise.
53352 (SIGILL): Likewise.
53353 (SIGINT): Likewise.
53354 (SIGSEGV): Likewise.
53355 (SIGTER): Likewise.
53356 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
53357 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
53358 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
53359 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
53360 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
53361 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
53362 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
53363 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
53364 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
53365 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
53366 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
53367 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
53368 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
53369 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
53370 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
53371 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
53372 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
53373 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
53374 [X/Open-based standards] (SIGTRAP): Likewise.
53375 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
53376 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
53377 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
53378 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
53379 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
53380 allow.
53381
53382 2012-05-08 Ian Wienand <ianw@vmware.com>
53383
53384 [BZ #14080]
53385 * time/tzset.c (__tzset_parse_tz): Update default rules for
53386 daylight time changes in the Energy Policy Act of 2005.
53387
53388 2012-05-09 Andreas Jaeger <aj@suse.de>
53389
53390 [BZ #13983]
53391 * elf/ldconfig.c (parse_conf): Change string to make clear that
53392 ldconfig only issued a warning if ld.so.conf does not exist.
53393
53394 2012-05-08 David S. Miller <davem@davemloft.net>
53395
53396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
53397 movxtod instead of popping the value on the stack.
53398
53399 * sysdeps/sparc/fpu/libm-test-ulps: Update.
53400
53401 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
53402
53403 * config.h.in: Add HAVE_ARM_PCS_VFP.
53404
53405 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
53406
53407 [BZ #13979]
53408 * include/features.h: Warn if user requests __FORTIFY_SOURCE
53409 checking but the checks are disabled for any reason.
53410
53411 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
53412
53413 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
53414 and ELF64_R_TYPE with ELFW(R_TYPE).
53415
53416 2012-05-08 Joseph Myers <joseph@codesourcery.com>
53417
53418 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
53419 (ulimit): Likewise.
53420
53421 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
53422 (settimeofday): Likewise.
53423
53424 2012-05-08 Mike Frysinger <vapier@gentoo.org>
53425
53426 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
53427 a struct th_u2 inside the union, and move tu_block/tu_code into
53428 a new th_u3 union of tu_block/tu_code inside of that. Move
53429 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
53430 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
53431 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
53432 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
53433 (th_stuff): Change to th_u1.tu_stuff.
53434 (th_data): Define.
53435 (th_msg): Change to th_u1.th_u2.tu_data.
53436
53437 2012-05-07 David S. Miller <davem@davemloft.net>
53438
53439 * sysdeps/sparc/fpu/libm-test-ulps: Update.
53440
53441 [BZ #14074]
53442 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
53443 (SETUP_PIC_REG): Use it.
53444 (SETUP_PIC_REG_LEAF): Use it.
53445
53446 2012-05-07 Joseph Myers <joseph@codesourcery.com>
53447
53448 [BZ #13885]
53449 [BZ #13923]
53450 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
53451 USE_AS_EXPM1L.
53452 (EXPL_FINITE): Likewise.
53453 (FLDLOG): Likewise.
53454 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
53455 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
53456 e_expl.S.
53457 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
53458 USE_AS_EXPM1L.
53459 (EXPL_FINITE): Likewise.
53460 (FLDLOG): Likewise.
53461 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
53462 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
53463 e_expl.S.
53464 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
53465 test of -max_value argument for long double.
53466 * sysdeps/i386/fpu/libm-test-ulps: Update.
53467 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53468
53469 2012-05-06 David S. Miller <davem@davemloft.net>
53470
53471 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
53472 quad soft-float symbols whose references which are compiler
53473 generated.
53474 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
53475
53476 2012-05-06 Joseph Myers <joseph@codesourcery.com>
53477
53478 [BZ #13884]
53479 [BZ #13914]
53480 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
53481 USE_AS_EXP10L.
53482 (EXPL_FINITE): Likewise.
53483 (FLDLOG): Likewise.
53484 (c0): Likewise.
53485 (c1): Likewise.
53486 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
53487 Adjust comments for base varying.
53488 (__expl_finite): Change alias to EXPL_FINITE.
53489 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
53490 e_expl.S.
53491 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
53492 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
53493 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
53494 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
53495 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
53496 USE_AS_EXP10L.
53497 (EXPL_FINITE): Likewise.
53498 (FLDLOG): Likewise.
53499 (c0): Likewise.
53500 (c1): Likewise.
53501 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
53502 Adjust comments for base varying.
53503 (__expl_finite): Change alias to EXPL_FINITE.
53504 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
53505 tests for bugs.
53506 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53507
53508 [BZ #14064]
53509 * math/libm-test.inc (check_float_internal): Correct ulp
53510 calculation for subnormal expected results.
53511
53512 2012-05-06 Andreas Jaeger <aj@suse.de>
53513
53514 * Makeconfig (+math-flags): New, set to -frounding-math.
53515 (+cflags): Add +math-flags so that all of glibc gets compiled with
53516 it.
53517
53518 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
53519
53520 2012-05-05 Joseph Myers <joseph@codesourcery.com>
53521
53522 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
53523 Disable one test.
53524
53525 [BZ #13787]
53526 [BZ #13922]
53527 [BZ #14036]
53528 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
53529 (__ieee754_expl): Allow for and saturate large arguments.
53530 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
53531 (u_threshold): Likewise.
53532 (__exp): Call __ieee754_exp before checking for overflow and
53533 underflow.
53534 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
53535 (u_threshold): Likewise.
53536 (__expf): Call __ieee754_expf before checking for overflow and
53537 underflow.
53538 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
53539 (u_threshold): Likewise.
53540 (__expl): Call __ieee754_expl before checking for overflow and
53541 underflow.
53542 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
53543 (__ieee754_expl): Allow for and saturate large arguments.
53544 * math/libm-test.inc (exp_test): Add another test. Do not allow
53545 missing overflow exception on overflow.
53546 (expm1_test): Do not allow missing overflow exception on overflow.
53547
53548 * sysdeps/i386/fpu/e_expl.c: Move to ...
53549 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
53550 rather than using inline asm.
53551 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
53552 * sysdeps/x86_64/fpu/e_expl.S: Copy from
53553 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
53554
53555 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
53556 (nice): Likewise.
53557 (poll): Likewise.
53558 (signal): Likewise.
53559 (time): Likewise.
53560 (times): Likewise.
53561
53562 2012-05-04 Joseph Myers <joseph@codesourcery.com>
53563
53564 * sysdeps/unix/syscalls.list (adjtime): Add entry from
53565 sysdeps/unix/common/syscalls.list.
53566 (fchmod): Likewise.
53567 (fchown): Likewise.
53568 (ftruncate): Likewise.
53569 (getrusage): Likewise.
53570 (gettimeofday): Likewise.
53571 (setpgid): Likewise.
53572 (setregid): Likewise.
53573 (setreuid): Likewise.
53574 (sigaction): Likewise.
53575 (truncate): Likewise.
53576 (vhangup): Likewise.
53577 * sysdeps/unix/common/syscalls.list: Remove file.
53578 * sysdeps/unix/bsd/Implies: Don't include unix/common.
53579 * sysdeps/unix/sysv/linux/Implies: Likewise.
53580
53581 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
53582
53583 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
53584 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
53585 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
53586 Moved to ...
53587 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
53588 Here.
53589 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
53590 to ...
53591 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
53592 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
53593 to ...
53594 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
53595 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
53596 to ...
53597 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
53598 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
53599 to ...
53600 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
53601 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
53602 to ...
53603 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
53604 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
53605 to ...
53606 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
53607 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
53608 to ...
53609 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
53610 Here.
53611 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
53612 to ...
53613 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
53614 Here.
53615 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
53616 to ...
53617 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
53618 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
53619 Moved to ...
53620 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
53621 Here.
53622 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
53623 to ...
53624 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
53625
53626 2012-05-04 Joseph Myers <joseph@codesourcery.com>
53627
53628 * sysdeps/unix/common/bits/dirent.h: Remove file.
53629 * sysdeps/unix/common/bits/fcntl.h: Likewise.
53630
53631 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
53632 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
53633 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
53634 * sysdeps/unix/bsd/isatty.c: Likewise.
53635 * sysdeps/unix/bsd/tcdrain.c: Likewise.
53636 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
53637 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
53638
53639 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53640
53641 [BZ #13563]
53642 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
53643 long double comparison inaccuracies.
53644 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
53645 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53646
53647 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
53648
53649 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
53650 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
53651
53652 2012-05-04 Joseph Myers <joseph@codesourcery.com>
53653
53654 [BZ #14049]
53655 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
53656 nonzero digits before rounding a hex value.
53657 * stdlib/tst-strtod.c (tests): Add another test.
53658
53659 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53660
53661 * sysdeps/s390/fpu/libm-test-ulps: Update.
53662
53663 2012-05-03 Andreas Jaeger <aj@suse.de>
53664
53665 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
53666 does not get optimized out.
53667 (malloc_opt_barrier): New.
53668
53669 2012-05-03 Andreas Jaeger <aj@suse.de>
53670 Roland McGrath <roland@hack.frob.com>
53671
53672 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
53673 intermediate file deletion.
53674 (generated): Add .symlist files.
53675
53676 2012-05-03 Joseph Myers <joseph@codesourcery.com>
53677
53678 [BZ #13775]
53679 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
53680 Redirect under this condition.
53681 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
53682 [__USE_GNU] (__dprintf_chk): Not under this condition.
53683 [__USE_GNU] (__vdprintf_chk): Likewise.
53684 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
53685 under this condition.
53686 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
53687 [__USE_XOPEN2K8] (dprintf): Define under this condition.
53688 [__USE_XOPEN2K8] (vdprintf): Likewise.
53689 [__USE_GNU] (__dprintf_chk): Not under this condition.
53690 [__USE_GNU] (__vdprintf_chk): Likewise.
53691 [__USE_GNU] (dprintf): Likewise.
53692 [__USE_GNU] (vdprintf): Likewise.
53693
53694 2012-05-03 Roland McGrath <roland@hack.frob.com>
53695
53696 * elf/Makefile (common-generated): Set this instead of generated for
53697 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
53698 $(all-built-dso)-derived lists.
53699
53700 2012-05-03 Andreas Jaeger <aj@suse.de>
53701
53702 * sysdeps/i386/fpu/libm-test-ulps: Update.
53703
53704 * FAQ: Removed.
53705 * FAQ.in: Likewise.
53706 * scripts/gen-FAQ.pl: Likewise.
53707 * manual/install.texi (Installation): Point to online location of
53708 FAQ.
53709 * Makefile (files-for-dist): Remove FAQ.
53710 (FAQ): Remove.
53711
53712 2012-05-02 Allan McRae <allan@archlinux.org>
53713
53714 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
53715 (LDFLAGS-reldepmod5.so): Likewise.
53716 (LDFLAGS-reldep6mod1.so): Likewise.
53717 (LDFLAGS-reldep6mod4.so): Likewise.
53718 (LDFLAGS-reldep8mod3.so): Likewise.
53719 (LDFLAGS-unload4mod1.so): Likewise.
53720 (LDFLAGS-unload4mod2.so): Likewise.
53721 (LDFLAGS-tst-initorder): Likewise.
53722 (LDFLAGS-tst-initordera2.so): Likewise.
53723 (LDFLAGS-tst-initordera3.so): Likewise.
53724 (LDFLAGS-tst-initordera4.so): Likewise.
53725 (LDFLAGS-tst-initorderb2.so): Likewise.
53726 (LDFLAGS-noload): Likewise.
53727 (LDFLAGS-next): Likewise.
53728 (LDFLAGS-order2mod1.so): Likewise.
53729 (LDFLAGS-order2mod2.so): Likewise.
53730 (LDFLAGS-tst-initorder2): Likewise.
53731 (LDFLAGS-tst-initorder2a.so): Likewise.
53732 (LDFLAGS-tst-initorder2b.so): Likewise.
53733 (LDFLAGS-tst-initorder2c.so): Likewise.
53734 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
53735
53736 2012-05-02 David S. Miller <davem@davemloft.net>
53737
53738 * sysdeps/sparc/fpu/libm-test-ulps: Update.
53739
53740 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
53741
53742 [BZ #14055]
53743 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
53744
53745 2012-05-02 Andreas Jaeger <aj@suse.de>
53746
53747 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
53748 since we manipulate rounding mode.
53749 (CPPFLAGS-test-idouble.c): Likewise.
53750 (CPPFLAGS-test-ifloat.c): Likewise.
53751 (CFLAGS-test-ldouble.c): Likewise.
53752 (CFLAGS-test-double.c): Likewise.
53753 (CFLAGS-test-float.c): Likewise.
53754 (CFLAGS-test-misc.c): Likewise.
53755 (CFLAGS-test-test-fenv.c): Likewise.
53756
53757 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53758
53759 [BZ #2550]
53760 [BZ #2570]
53761 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
53762 comparisons to determine direction to adjust input.
53763
53764 2012-05-01 Roland McGrath <roland@hack.frob.com>
53765
53766 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
53767 output to the target.
53768
53769 * scripts/localplt.awk: New file.
53770 * elf/Makefile ($(objpfx)check-localplt): Target removed.
53771 (check-localplt-CFLAGS): Variable removed.
53772 ($(all-built-dso:=.jmprel)): New static pattern rule.
53773 (generated): Add those targets.
53774 (localplt-built-dso): New variable.
53775 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
53776
53777 * elf/check-localplt.c: File removed.
53778
53779 * scripts/check-execstack.awk: New file.
53780 * elf/Makefile ($(objpfx)check-execstack): Target removed.
53781 (check-execstack-CFLAGS): Variable removed.
53782 ($(objpfx)check-execstack.h): Target removed.
53783 ($(objpfx)execstack-default): New target.
53784 (generated): Add that instead of check-execstack.h.
53785 ($(all-built-dso:=.phdr)): New static pattern rule.
53786 (generated): Add those targets.
53787 * elf/check-execstack.c: File removed.
53788
53789 * scripts/check-textrel.awk: New file.
53790 * elf/Makefile ($(objpfx)check-textrel): Target removed.
53791 (check-textrel-CFLAGS): Variable removed.
53792 (all-built-dso): Use := to define.o
53793 ($(all-built-dso:=.dyn)): New static pattern rule.
53794 (generated): Add those targets.
53795 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
53796 * config.make.in (READELF): New substituted variable.
53797 * elf/check-textrel.c: File removed.
53798
53799 2012-05-01 Joseph Myers <joseph@codesourcery.com>
53800
53801 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
53802 allow.
53803 * conform/data/ctype.h-data [C99-based standards] (isblank):
53804 Expect function.
53805 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
53806 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
53807 [ISO || ISO99 || ISO11] (*_t): Do not allow.
53808 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
53809 Specify type. Require positive value.
53810 (EILSEQ): Likewise.
53811 (ERANGE): Likewise.
53812 [ISO || POSIX] (EILSEQ): Do not expect.
53813 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
53814 Specify type. Require positive value.
53815 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
53816 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
53817 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
53818 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
53819 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
53820 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
53821 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
53822 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
53823 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
53824 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
53825 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
53826 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
53827 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
53828 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
53829 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
53830 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
53831 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
53832 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
53833 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
53834 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
53835 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
53836 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
53837 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
53838 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
53839 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
53840 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
53841 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
53842 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
53843 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
53844 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
53845 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
53846 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
53847 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
53848 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
53849 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
53850 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
53851 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
53852 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
53853 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
53854 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
53855 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
53856 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
53857 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
53858 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
53859 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
53860 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
53861 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
53862 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
53863 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
53864 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
53865 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
53866 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
53867 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
53868 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
53869 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
53870 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
53871 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
53872 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
53873 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
53874 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
53875 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
53876 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
53877 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
53878 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
53879 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
53880 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
53881 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
53882 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
53883 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
53884 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
53885 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
53886 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
53887 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
53888 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
53889 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
53890 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
53891 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
53892 Require >= 2.
53893 (FLT_ROUNDS): Expect as macro, not constant.
53894 (FLT_MANT_DIG): Use macro-int-constant.
53895 (DBL_MANT_DIG): Likewise.
53896 (LDBL_MANT_DIG): Likewise.
53897 (FLT_DIG): Likewise.
53898 (DBL_DIG): Likewise.
53899 (LDBL_DIG): Likewise.
53900 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
53901 (DBL_MIN_EXP): Likewise.
53902 (LDBL_MIN_EXP): Likewise.
53903 (FLT_MAX_EXP): Use macro-int-constant.
53904 (DBL_MAX_EXP): Likewise.
53905 (LDBL_MAX_EXP): Likewise.
53906 (FLT_MAX_10_EXP): Likewise.
53907 (DBL_MAX_10_EXP): Likewise.
53908 (LDBL_MAX_10_EXP): Likewise.
53909 (FLT_MAX): Use macro-constant.
53910 (DBL_MAX): Likewise.
53911 (LDBL_MAX): Likewise.
53912 (FLT_EPSILON): Use macro-constant. Give upper bound.
53913 (DBL_EPSILON): Likewise.
53914 (LDBL_EPSILON): Likewise.
53915 (FLT_MIN): Likewise.
53916 (DBL_MIN): Likewise.
53917 (LDBL_MIN): Likewise.
53918 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
53919 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
53920 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
53921 [ISO11] (FLT_HAS_SUBNORM): Likewise.
53922 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
53923 [ISO11] (DBL_DECIMAL_DIG): Likewise.
53924 [ISO11] (FLT_DECIMAL_DIG): Likewise.
53925 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
53926 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
53927 [ISO11] (FLT_TRUE_MIN): Likewise.
53928 [ISO11] (LDBL_TRUE_MIN): Likewise.
53929 [ISO || ISO99 || ISO11] (*_t): Do not allow.
53930 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
53931 (SCHAR_MIN): Use macro-int-constant. Specify type.
53932 (SCHAR_MAX): Likewise.
53933 (UCHAR_MAX): Likewise.
53934 (CHAR_MIN): Likewise.
53935 (CHAR_MAX): Likewise.
53936 (MB_LEN_MAX): Use macro-int-constant.
53937 (SHRT_MIN): Use macro-int-constant. Specify type.
53938 (SHRT_MAX): Likewise.
53939 (USHRT_MAX): Likewise.
53940 (INT_MAX): Likewise.
53941 (INT_MIN): Use macro-int-constant. Specify type. Make upper
53942 bound negative.
53943 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
53944 bound with "U".
53945 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
53946 bound with "L".
53947 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
53948 bound negative. Suffix upper bound with "L".
53949 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
53950 bound with "UL".
53951 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
53952 Specify type.
53953 [C99-based standards] (LLONG_MAX): Likewise.
53954 [C99-based standards] (ULLONG_MAX): Likewise.
53955 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
53956 == 0.
53957 [ISO11] (max_align_t): Require type.
53958 [ISO || ISO99 || ISO11] (*_t): Do not allow.
53959
53960 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
53961 from $CFLAGS, without defining away __attribute__ calls.
53962 (checknamespace): Use $CFLAGS_namespace.
53963
53964 * conform/conformtest.pl (@keywords): Only include C99 keywords
53965 for standards based on C99 or C11.
53966
53967 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
53968 Disable tests.
53969 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
53970 UNIX98]: Likewise.
53971
53972 * conform/conformtest.pl: Handle "macro-int-constant" and test for
53973 usability of symbols in #if.
53974
53975 * conform/conformtest.pl: If macro or constant types start
53976 "promoted:", expect the symbol to be of the following type
53977 promoted by the integer promotions.
53978
53979 * conform/conformtest.pl: Parse all "constant" and "macro" lines
53980 in one place. Also handle "macro-constant".
53981
53982 * conform/conformtest.pl: Only accept expected macro values with
53983 "==". Parse all "macro" lines in one place.
53984 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
53985
53986 * conform/conformtest.pl: Handle braced types on "constant" lines
53987 instead of handling "typed-constant".
53988 * conform/data/signal.h-data: Use "constant" instead of
53989 "typed-constant".
53990
53991 * conform/conformtest.pl: Handle "optional-" at start of lines in
53992 one place rather than duplicating several cases. Handle each
53993 format of "macro" line with initial "optional-".
53994
53995 * conform/conformtest.pl: Only accept expected constant or
53996 optional-constant values with "==". Parse all "constant" lines in
53997 one place. Parse all "optional-constant" lines in one place.
53998 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
53999 * conform/data/fmtmsg.h-data: Likewise.
54000 * conform/data/netinet/in.h-data: Likewise.
54001 * conform/data/tar.h-data: Likewise.
54002 * conform/data/limits.h-data: Use "==" form on "constant" and
54003 "optional-constant" lines.
54004
54005 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
54006 Use -std=c99 for XOPEN2K.
54007 (@knownproblems): Remove.
54008 (newtoken): Don't check %isknown.
54009
54010 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
54011 Do not expect macro.
54012 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
54013 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
54014 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
54015 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
54016 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
54017 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
54018 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
54019 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
54020 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
54021 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
54022 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
54023 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
54024 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
54025 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
54026 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
54027 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
54028 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
54029 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
54030 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
54031 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
54032 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
54033 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
54034 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
54035 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
54036 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
54037 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
54038 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
54039 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
54040 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
54041 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
54042 [XPG3] (acosh): Likewise.
54043 [XPG3] (asinh): Likewise.
54044 [XPG3] (atanh): Likewise.
54045 [XPG3] (cbrt): Likewise.
54046 [XPG3] (expm1): Likewise.
54047 [XPG3] (ilogb): Likewise.
54048 [XPG3] (log1p): Likewise.
54049 [XPG3] (logb): Likewise.
54050 [XPG3] (nextafter): Likewise.
54051 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
54052 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
54053 [XPG3] (remainder): Likewise.
54054 [XPG3] (rint): Likewise.
54055 [XPG3 || XPG4 || UNIX98] (round): Likewise.
54056 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
54057 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
54058 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
54059 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
54060 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
54061 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
54062 [UNIX98 || XOPEN2K] (scalb): Expect.
54063 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
54064 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
54065 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
54066 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
54067 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
54068 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
54069 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
54070 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
54071 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
54072 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
54073 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
54074 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
54075 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
54076 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
54077 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
54078 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
54079 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
54080 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
54081 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
54082 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
54083 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
54084 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
54085 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
54086 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
54087 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
54088 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
54089 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
54090 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
54091 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
54092 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
54093 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
54094 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
54095 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
54096 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
54097 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
54098 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
54099 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
54100 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
54101 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
54102 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
54103 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
54104 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
54105 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
54106 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
54107 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
54108 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
54109 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
54110 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
54111 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
54112 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
54113 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
54114 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
54115 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
54116 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
54117 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
54118 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
54119 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
54120 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
54121 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
54122 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
54123 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
54124 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
54125 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
54126 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
54127 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
54128 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
54129 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
54130 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
54131 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
54132 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
54133 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
54134 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
54135 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
54136 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
54137 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
54138 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
54139 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
54140 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
54141 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
54142 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
54143 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
54144 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
54145 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
54146 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
54147 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
54148 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
54149 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
54150 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
54151 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
54152 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
54153 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
54154 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
54155 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
54156 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
54157 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
54158 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
54159 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
54160 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
54161 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
54162 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
54163 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
54164 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
54165 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
54166 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
54167 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
54168 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
54169 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
54170 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
54171 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
54172 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
54173 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
54174 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
54175 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
54176 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
54177 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
54178 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
54179 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
54180 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
54181 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
54182 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
54183 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
54184 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
54185 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
54186 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
54187 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
54188 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
54189 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
54190 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
54191 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
54192 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
54193 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
54194 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
54195 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
54196 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
54197 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
54198 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
54199 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
54200
54201 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
54202 _XOPEN_SOURCE_EXTENDED for XPG4.
54203
54204 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
54205
54206 * Makeconfig (localtime): Remove variable.
54207 (inst_localtime-file): Likewise.
54208
54209 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
54210
54211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
54212 Update.
54213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
54214 Update.
54215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
54216 Update.
54217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
54218 Update.
54219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
54220 Update.
54221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
54222 Update.
54223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
54224 Update.
54225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
54226 Update.
54227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
54228 Update.
54229
54230 2012-05-01 Joseph Myers <joseph@codesourcery.com>
54231
54232 [BZ #2550]
54233 [BZ #2570]
54234 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
54235 comparisons to determine direction to adjust input.
54236 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
54237 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
54238 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
54239 Likewise.
54240 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
54241 Likewise.
54242 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
54243 Likewise.
54244 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
54245 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
54246 Likewise.
54247 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
54248 Likewise.
54249 * math/libm-test.inc (nexttoward_test): Add more tests.
54250
54251 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
54252
54253 [BZ #14040]
54254 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
54255 in version GLIBC_2.1, not GLIBC_2.0.
54256 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
54257 Likewise.
54258
54259 2012-04-30 Joseph Myers <joseph@codesourcery.com>
54260
54261 [BZ #13942]
54262 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
54263 (1 - x) * (1 + x).
54264 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
54265 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
54266 * math/libm-test.inc (acos_test): Add more tests.
54267 (asin_test): Likewise.
54268 * sysdeps/i386/fpu/libm-test-ulps: Update.
54269 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54270
54271 [BZ #14034]
54272 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
54273 of square root.
54274 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
54275 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
54276 * math/libm-test.inc (acos_test_tonearest): New function.
54277 (acos_test_towardzero): Likewise.
54278 (acos_test_downward): Likewise.
54279 (acos_test_upward): Likewise.
54280 (asin_test_tonearest): Likewise.
54281 (asin_test_towardzero): Likewise.
54282 (asin_test_downward): Likewise.
54283 (asin_test_upward): Likewise.
54284 (main): Call the new functions.
54285 * sysdeps/i386/fpu/libm-test-ulps: Update.
54286 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54287
54288 [BZ #13884]
54289 [BZ #13924]
54290 * math/e_exp10.c: Include <float.h>.
54291 (__ieee754_exp10): Handle underflow here rather than multiplying
54292 large negative argument by M_LN10.
54293 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
54294 of __ieee754_expf.
54295 * math/e_exp10l.c: Include <float.h>.
54296 (__ieee754_exp10l): Handle underflow here rather than multiplying
54297 large negative argument by M_LN10l.
54298 * math/libm-test.inc (exp10_test): Add another test. Do not allow
54299 spurious overflow exception on underflow.
54300
54301 2012-04-29 Marek Polacek <polacek@redhat.com>
54302
54303 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
54304 (__fortify_function): New macro.
54305 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
54306 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
54307 __extern_always_inline.
54308 * libio/bits/stdio2.h: Likewise.
54309 * libio/bits/stdio.h: Likewise.
54310 * string/string.h: Likewise.
54311 * string/bits/string3.h: Likewise.
54312 * include/stdio.h: Likewise.
54313 * stdlib/bits/stdlib.h: Likewise.
54314 * stdlib/stdlib.h: Likewise.
54315 * rt/bits/mqueue2.h: Likewise.
54316 * rt/mqueue.h: Likewise.
54317 * posix/bits/unistd.h: Likewise.
54318 * posix/unistd.h: Likewise.
54319 * io/bits/poll2.h: Likewise.
54320 * io/bits/fcntl2.h: Likewise.
54321 * io/fcntl.h: Likewise.
54322 * io/sys/poll.h: Likewise.
54323 * misc/bits/syslog.h: Likewise.
54324 * misc/bits/syslog-ldbl.h: Likewise.
54325 * misc/sys/syslog.h: Likewise.
54326 * socket/bits/socket2.h: Likewise.
54327 * socket/sys/socket.h: Likewise.
54328 * debug/tst-chk1.c: Likewise.
54329 * wcsmbs/bits/wchar2.h: Likewise.
54330 * wcsmbs/bits/wchar-ldbl.h: Likewise.
54331 * wcsmbs/wchar.h: Likewise.
54332
54333 2012-04-29 Andreas Jaeger <aj@suse.de>
54334
54335 * Makerules (tests): Remove enable-check-abi protection.
54336 (check-abi-warn): Remove.
54337 (check-abi-%): Remove check-abi-warn usage.
54338
54339 * configure.in: Remove check-abi configure option.
54340 * configure: Regenerated.
54341 * config.make.in (enable-check-abi): Remove.
54342
54343 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
54344
54345 [BZ #14033]
54346 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
54347 double functions to double *_finite functions.
54348
54349 [BZ #13941]
54350 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
54351 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
54352 LDBL_MIN_EXP.
54353 * stdio-common/Makefile (tests): Add tst-sprintf3.
54354 * stdio-common/tst-sprintf3.c: New file.
54355
54356 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
54357 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
54358
54359 2012-04-28 Joseph Myers <joseph@codesourcery.com>
54360
54361 * conform/conformtest.pl: Remove duplicate typed-constant
54362 handling.
54363
54364 2012-04-28 David S. Miller <davem@davemloft.net>
54365
54366 * Makerules (%.abilist): Add vpath on sysdep_dirs.
54367 (check-abi-%): Remove AWK script prerequisite and explicit
54368 abilist directory.
54369 (check-abi): Rewrite to just diff the symlist with the abilist.
54370 (config-tls, config-abi-config): Delete, no longer used.
54371 (update-abi-%): Remove AWK script and explicit abilist directory.
54372 (update-abi): Rewrite to simply compare and conditionally copy the
54373 symlist and the sysdep abilist file. Remove update-abi-config
54374 checks.
54375 * abilist/ld.abilist: Remove.
54376 * abilist/libBrokenLocale.abilist: Remove.
54377 * abilist/libanl.abilist: Remove.
54378 * abilist/libcrypt.abilist: Remove.
54379 * abilist/libdl.abilist: Remove.
54380 * abilist/librt.abilist: Remove.
54381 * abilist/libthread_db.abilist: Remove.
54382 * abilist/libutil.abilist: Remove.
54383 * scripts/extract-abilist.awk: Remove.
54384 * scripts/merge-abilist.awk: Remove.
54385 * sysdeps/generic/libcidn.abilist: New file.
54386 * sysdeps/generic/libnss_compat.abilist: New file.
54387 * sysdeps/generic/libnss_db.abilist: New file.
54388 * sysdeps/generic/libnss_dns.abilist: New file.
54389 * sysdeps/generic/libnss_files.abilist: New file.
54390 * sysdeps/generic/libnss_hesiod.abilist: New file.
54391 * sysdeps/generic/libnss_nis.abilist: New file.
54392 * sysdeps/generic/libnss_nisplus.abilist: New file.
54393 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
54394 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
54395 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
54396 file.
54397 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
54398 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
54399 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
54400 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
54401 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
54402 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
54403 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
54404 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
54405 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
54406 file.
54407 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
54408 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
54409 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
54410 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
54411 file.
54412 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
54413 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
54414 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
54415 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
54416 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
54417 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
54418 file.
54419 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
54420 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
54421 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
54422 file.
54423 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
54424 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
54425 New file.
54426 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
54427 New file.
54428 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
54429 New file.
54430 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
54431 New file.
54432 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
54433 New file.
54434 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
54435 New file.
54436 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
54437 New file.
54438 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
54439 New file.
54440 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
54441 New file.
54442 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
54443 New file.
54444 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
54445 New file.
54446 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
54447 New file.
54448 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
54449 New file.
54450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
54451 file.
54452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
54453 New file.
54454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
54455 New file.
54456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
54457 file.
54458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
54459 New file.
54460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
54461 New file.
54462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
54463 file.
54464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
54465 New file.
54466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
54467 New file.
54468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
54469 New file.
54470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
54471 New file.
54472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
54473 New file.
54474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
54475 New file.
54476 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
54477 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
54478 file.
54479 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
54480 New file.
54481 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
54482 file.
54483 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
54484 file.
54485 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
54486 file.
54487 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
54488 file.
54489 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
54490 file.
54491 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
54492 New file.
54493 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
54494 file.
54495 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
54496 file.
54497 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
54498 New file.
54499 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
54500 file.
54501 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
54502 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
54503 file.
54504 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
54505 New file.
54506 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
54507 file.
54508 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
54509 file.
54510 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
54511 file.
54512 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
54513 file.
54514 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
54515 file.
54516 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
54517 New file.
54518 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
54519 file.
54520 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
54521 file.
54522 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
54523 New file.
54524 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
54525 file.
54526 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
54527 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
54528 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
54529 file.
54530 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
54531 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
54532 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
54533 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
54534 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
54535 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
54536 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
54537 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
54538 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
54539 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
54540 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
54541 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
54542 file.
54543 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
54544 New file.
54545 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
54546 file.
54547 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
54548 file.
54549 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
54550 file.
54551 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
54552 file.
54553 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
54554 file.
54555 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
54556 New file.
54557 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
54558 New file.
54559 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
54560 file.
54561 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
54562 New file.
54563 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
54564 file.
54565 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
54566 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
54567 file.
54568 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
54569 New file.
54570 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
54571 file.
54572 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
54573 file.
54574 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
54575 file.
54576 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
54577 file.
54578 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
54579 file.
54580 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
54581 New file.
54582 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
54583 New file.
54584 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
54585 file.
54586 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
54587 New file.
54588 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
54589 file.
54590
54591 2012-04-28 Joseph Myers <joseph@codesourcery.com>
54592
54593 * conform/conformtest.pl: Fix typo in handling typed-constant from
54594 allow-header.
54595
54596 2012-04-27 Joseph Myers <joseph@codesourcery.com>
54597
54598 * README: Cut down references to pre-2.6 Linux kernels and
54599 Linuxthreads. Update lists of configurations in libc and ports
54600 and sort alphabetically. Say "or newer" with Linux kernel version
54601 requirements.
54602
54603 * config.h.in [IS_IN_build]: Allow compiling without optimization.
54604
54605 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
54606
54607 [BZ #887]
54608 * math/libm-test.inc (logb_test_downward): New test to expose
54609 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
54610 rounding mode.
54611
54612 2012-04-27 Joseph Myers <joseph@codesourcery.com>
54613
54614 [BZ #14027]
54615 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
54616 to be done.
54617 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
54618 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
54619
54620 2012-04-26 Joseph Myers <joseph@codesourcery.com>
54621
54622 * sysdeps/unix/i386/brk.S: Remove file.
54623 * sysdeps/unix/i386/dl-brk.S: Likewise.
54624 * sysdeps/unix/i386/pipe.S: Likewise.
54625 * sysdeps/unix/i386/sigreturn.S: Likewise.
54626 * sysdeps/unix/i386/syscall.S: Likewise.
54627 * sysdeps/unix/i386/vfork.S: Likewise.
54628 * sysdeps/unix/i386/wait.S: Likewise.
54629
54630 * sysdeps/unix/common/tcsendbrk.c: Move to ...
54631 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
54632
54633 * configure.in (arm*-none*): Do not allow without
54634 --enable-hacker-mode.
54635 (netbsd*): Remove case setting base_os.
54636 (386bsd*): Likewise.
54637 (freebsd*): Likewise.
54638 (bsdi*): Likewise.
54639 (osf*): Likewise.
54640 (sunos*): Likewise.
54641 (ultrix*): Likewise.
54642 (newsos*): Likewise.
54643 (dynix*): Likewise.
54644 (*bsd*): Likewise.
54645 (sysv*): Likewise.
54646 (isc*): Likewise.
54647 (esix*): Likewise.
54648 (sco*): Likewise.
54649 (minix*): Likewise.
54650 (irix4*): Likewise.
54651 (irix6*): Likewise.
54652 (solaris[2-9]*): Likewise.
54653 (none): Likewise.
54654 * configure: Regenerated.
54655
54656 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54657
54658 [BZ #11521]
54659 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
54660 overflow or cancellation in calculating denominator.
54661 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
54662 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
54663 down expression to avoid unexpected rounding in newer GCCs.
54664 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
54665
54666 2012-04-26 David S. Miller <davem@davemloft.net>
54667
54668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
54669 long-double compat symbols.
54670 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
54671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
54672 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
54673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
54674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
54675 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
54676 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
54677 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
54678 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
54679 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
54680 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
54681 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
54682 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
54683
54684 2012-04-25 David S. Miller <davem@davemloft.net>
54685
54686 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
54687 HWCAP_* values only after the memory barriers have been defined.
54688 (atomic_full_barrier): Define.
54689 (atomic_read_barrier): Define.
54690 (atomic_write_barrier): Define.
54691
54692 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
54693
54694 * shlib-versions: Add libgcc_s version information.
54695 * sysdeps/generic/libgcc_s.h: Remove.
54696 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
54697 libgcc_s.h.
54698 * sysdeps/gnu/unwind-resume.c: Likewise.
54699 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
54700
54701 2012-04-25 David S. Miller <davem@davemloft.net>
54702
54703 * sysdeps/unix/sparc/brk.S: Delete.
54704 * sysdeps/unix/sparc/dl-brk.S: Delete.
54705 * sysdeps/unix/sparc/pipe.S: Delete.
54706 * sysdeps/unix/sparc/sysdep.S: Delete.
54707 * sysdeps/unix/sparc/sysdep.h: Delete.
54708 * sysdeps/unix/sparc/vfork.S: Delete.
54709 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
54710 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
54711 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
54712 (ret_ERRVAL, r0, r1, MOVE): Define.
54713 (JUMPTARGET): Remove.
54714 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
54715 sysdeps/unix/sparc/sysdep.h
54716 (ENTRY, END): Remove.
54717 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
54718
54719 2012-04-25 Joseph Myers <joseph@codesourcery.com>
54720
54721 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
54722 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
54723 -DIS_IN_build.
54724
54725 * timezone/README: Update upstream location and email address for
54726 tzcode and tzdata.
54727 * timezone/zdump.c: Update from tzcode 2012b.
54728 * timezone/zic.c: Likewise.
54729
54730 * configure.in (libc_cv_as_needed): Remove test.
54731 * configure: Regenerated.
54732 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
54733 conditional definition.
54734 [$(have-as-needed) != yes] (no-as-needed): Likewise.
54735 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
54736 * config.make.in (have-as-needed): Remove variable.
54737
54738 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
54739 Paul Pluzhnikov <ppluzhnikov@google.com>
54740
54741 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
54742 strings correctly.
54743
54744 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
54745
54746 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
54747 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
54748 * sysdeps/sh/strlen.S: Likewise.
54749
54750 2012-04-24 Joseph Myers <joseph@codesourcery.com>
54751
54752 * sysdeps/unix/fork.S: Remove file.
54753 * sysdeps/unix/i386/fork.S: Likewise.
54754 * sysdeps/unix/sparc/fork.S: Likewise.
54755
54756 * sysdeps/unix/system.c: Remove file.
54757 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
54758
54759 * sysdeps/unix/getegid.S: Remove file.
54760 * sysdeps/unix/geteuid.S: Likewise.
54761
54762 2012-04-24 Roland McGrath <roland@hack.frob.com>
54763
54764 * scripts/check-localplt.awk: New file.
54765 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
54766 of diff.
54767 * scripts/data/localplt-generic.data: Add a comment.
54768
54769 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
54770 NODE when __dir_mkfile failed.
54771 * sysdeps/mach/hurd/symlinkat.c: Likewise.
54772 Reported by Ludovic Courtès <ludo@gnu.org>.
54773
54774 2012-04-24 Andreas Jaeger <aj@suse.de>
54775
54776 * Makerules (common-clean): Also remove gen-as-const-headers
54777 files.
54778
54779 2012-04-24 Joseph Myers <joseph@codesourcery.com>
54780
54781 * Makerules (native-compile): Do not change working directory for
54782 build. Use $(OUTPUT_OPTION) in command.
54783 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
54784
54785 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54786
54787 [BZ #13886]
54788 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
54789 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
54790 * math/libm-test.inc (floor_test): Add more tests.
54791 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
54792
54793 2012-04-24 Joseph Myers <joseph@codesourcery.com>
54794
54795 * sysdeps/unix/getdents.c: Remove file.
54796 * sysdeps/unix/sysv/getdents.c: Likewise.
54797 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
54798
54799 * sysdeps/unix/syscalls.list (madvise): Add syscall from
54800 sysdeps/unix/mman/syscalls.list.
54801 (mmap): Likewise.
54802 (mprotect): Likewise.
54803 (msync): Likewise.
54804 (munmap): Likewise.
54805 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
54806 * sysdeps/unix/mman/syscalls.list: Remove.
54807 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
54808
54809 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
54810 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
54811 * configure: Regenerated.
54812 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
54813 $(libgcc_s_suffix).
54814 * config.make.in (libgcc_s_suffix): Remove variable.
54815
54816 2012-04-23 Joseph Myers <joseph@codesourcery.com>
54817
54818 * sysdeps/unix/sysv/gethostname.c: Move to ...
54819 * sysdeps/posix/gethostname.c: ... here.
54820
54821 * sysdeps/unix/execve.S: Remove file.
54822
54823 * sysdeps/unix/_exit.S: Remove file.
54824
54825 2012-04-23 Andreas Jaeger <aj@suse.de>
54826
54827 [BZ #13739]
54828 * manual/Makefile: Remove make dist support, there's no
54829 need for a stand-alone documentation tar ball.
54830 (TEXI2DVI): Define always, it's not in Makeconfig.
54831 (dist): Removed.
54832 (tar-it): Removed.
54833 (edition): Removed.
54834 (glibc-doc-$(edition).tar): Removed
54835 (%.Z): Removed.
54836 (%.gz): Removed.
54837 (%.uu): Removed.
54838 (ETAGS): Remove, it's in Makeconfig.
54839 (move-if-change): Remove, it's in Makeconfig.
54840
54841 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
54842
54843 [BZ #13970]
54844 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
54845 (strtod, strtof, strtold, strtol, strtoul, strtoq)
54846 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
54847 (strtod_l, strtof_l, strtold_l): Remove __wur.
54848 It is not necessarily an error to ignore strtol's return value.
54849 One can reliably look at the stored endptr to decide whether
54850 the number had valid syntax.
54851
54852 2012-04-21 Andreas Jaeger <aj@suse.de>
54853
54854 [BZ #13739]
54855 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
54856
54857 2012-04-21 Joseph Myers <joseph@codesourcery.com>
54858
54859 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
54860 * sysdeps/unix/sysv/Versions: Remove file.
54861
54862 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
54863
54864 [BZ #13927]
54865 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54866
54867 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
54868
54869 [BZ #7064]
54870 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
54871 version from __vm86.
54872
54873 2012-04-20 Joseph Myers <joseph@codesourcery.com>
54874
54875 * sysdeps/unix/common/lxstat.c: Remove file.
54876 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
54877
54878 * sysdeps/unix/sysv/Makefile: Remove file.
54879
54880 * sysdeps/unix/sysv/direct.h: Remove file.
54881
54882 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
54883 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
54884 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
54885 * sysdeps/unix/sysv/bits/signum.h: Likewise.
54886 * sysdeps/unix/sysv/bits/stat.h: Likewise.
54887 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
54888 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
54889
54890 * sysdeps/unix/sysv/setrlimit.c: Remove file.
54891
54892 * sysdeps/unix/xmknod.c: Remove file.
54893 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
54894
54895 * sysdeps/unix/sysv/settimeofday.c: Remove file.
54896
54897 * sysdeps/unix/sysv/i386/time.S: Remove file.
54898
54899 * sysdeps/unix/fxstat.c: Remove file.
54900 * sysdeps/unix/xstat.c: Likewise.
54901 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
54902
54903 * sysdeps/unix/sysv/sigaction.c: Remove file.
54904
54905 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
54906 (sysdep_headers): Remove variable.
54907 [termio.h not in sysdep_headers] (generated): Likewise.
54908 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
54909 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
54910 * sysdeps/unix/sysv/tcdrain.c: Likewise.
54911 * sysdeps/unix/sysv/tcflow.c: Likewise.
54912 * sysdeps/unix/sysv/tcflush.c: Likewise.
54913 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
54914 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
54915 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
54916 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
54917 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
54918
54919 * sysdeps/unix/siglist.c: Remove file.
54920
54921 * sysdeps/unix/getppid.S: Remove file.
54922
54923 * sysdeps/unix/mkdir.c: Remove file.
54924 * sysdeps/unix/rmdir.c: Likewise.
54925
54926 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
54927
54928 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
54929 ERR_MAX value.
54930 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
54931 errlist-compat value.
54932
54933 2012-04-18 David S. Miller <davem@davemloft.net>
54934
54935 * sysdeps/generic/memcopy.h (reg_char): Delete.
54936 * debug/strcat_chk.c: Use char, not reg_char.
54937 * debug/strcpy_chk.c: Likewise.
54938 * debug/strncat_chk.c: Likewise.
54939 * debug/strncpy_chk.c: Likewise.
54940 * string/memchr.c: Likewise.
54941 * string/memrchr.c: Likewise.
54942 * string/rawmemchr.c: Likewise.
54943 * string/strcat.c: Likewise.
54944 * string/strchr.c: Likewise.
54945 * string/strchrnul.c: Likewise.
54946 * string/strcmp.c: Likewise.
54947 * string/strcpy.c: Likewise.
54948 * string/strncat.c: Likewise.
54949 * string/strncmp.c: Likewise.
54950 * string/strncpy.c: Likewise.
54951
54952 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
54953
54954 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
54955 __builtin_memcopy is called when src and dest ranges are known to not
54956 overlap.
54957
54958 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
54959
54960 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
54961 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
54962 fwd_align_merge macro call.
54963 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
54964 bwd_align_merge macro call.
54965 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
54966
54967 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
54968
54969 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
54970 bwd_align_merge macros.
54971 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
54972 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
54973 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
54974
54975 2012-04-18 David S. Miller <davem@davemloft.net>
54976
54977 * sysdeps/sparc/sparc64/memcopy.h: Delete.
54978
54979 2012-04-18 Andreas Jaeger <aj@suse.de>
54980
54981 [BZ# 6794]
54982 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
54983 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
54984 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
54985
54986 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
54987 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
54988 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
54989
54990 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
54991 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
54992 Adjust for changed ldbl-128 files.
54993
54994 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
54995 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
54996 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
54997
54998 2012-04-17 David S. Miller <davem@davemloft.net>
54999
55000 * sysdeps/sparc/sparc32/memcopy.h: Delete.
55001
55002 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
55003
55004 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
55005 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
55006 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
55007 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
55008 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
55009 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
55010
55011 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55012
55013 [BZ #6794]
55014 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
55015 * math/libm-test.inc: Add ilogb errno and exception tests.
55016 * math/w_ilogb.c: New file: ilogb wrapper.
55017 * math/w_ilogbf.c: New file: ilogbf wrapper.
55018 * math/w_ilogbl.c: New file: ilogbl wrapper.
55019 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
55020 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
55021 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
55022 exception being thrown with 0.0 as argument.
55023 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
55024 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
55025 exception being thrown with 0.0 as argument.
55026 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
55027 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
55028 exception being thrown with 0.0 as argument.
55029 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
55030 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
55031 exception being thrown with 0.0 as argument.
55032 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
55033 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
55034 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
55035 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
55036 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
55037 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
55038 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
55039 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
55040 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
55041
55042 2012-04-17 Petr Baudis <pasky@ucw.cz>
55043
55044 * include/sys/uio.h: Change __vector to __iovec to avoid clash
55045 with altivec.
55046
55047 2012-04-16 Marek Polacek <polacek@redhat.com>
55048
55049 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
55050
55051 2012-04-16 Marek Polacek <polacek@redhat.com>
55052
55053 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
55054 operands of fdivp instruction.
55055
55056 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
55057
55058 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
55059 * elf/tst-auditmod3b.c: Likewise.
55060 * elf/tst-auditmod4b.c: Likewise.
55061 * elf/tst-auditmod5b.c: Likewise.
55062 * elf/tst-auditmod6b.c: Likewise.
55063 * elf/tst-auditmod6c.c: Likewise.
55064 * elf/tst-auditmod7b.c: Likewise.
55065 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
55066 * sysdeps/x86_64/preconfigure.in: Likewise.
55067 * sysdeps/x86_64/preconfigure: Regenerated.
55068
55069 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
55070
55071 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
55072 __ILP32__.
55073
55074 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
55075
55076 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
55077 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
55078
55079 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
55080
55081 [BZ #13973]
55082 * locale/iso-639.def: Fix gl language name. Spotted by
55083 Yaron Shahrabani.
55084
55085 2012-04-12 Roland McGrath <roland@hack.frob.com>
55086
55087 [BZ #2074]
55088 * libio/libio.h (__io_write_fn): Update comment.
55089
55090 2012-04-12 Petr Baudis <pasky@ucw.cz>
55091
55092 [BZ #2074]
55093 * stdio.texi (Hook Functions): The user provided writer function
55094 is not allowed to return -1.
55095
55096 2012-04-11 David S. Miller <davem@davemloft.net>
55097
55098 * sysdeps/sparc/fpu/libm-test-ulps: Update.
55099
55100 2012-04-11 Mike Frysinger <vapier@gentoo.org>
55101
55102 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
55103 Add a leading slash to rtkaio.
55104
55105 2012-04-11 Jim Meyering <meyering@redhat.com>
55106
55107 [BZ #11959]
55108 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
55109 It is not necessarily an error to ignore fwrite's return
55110 value. One can reliably use ferror to test for errors after
55111 the fact.
55112
55113 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
55114
55115 * bits/types.h (__snseconds_t): New type.
55116 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
55117
55118 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
55119 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
55120 (__SNSECONDS_T_TYPE): Likewise.
55121 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
55122 (__SNSECONDS_T_TYPE): Likewise.
55123 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
55124 (__SNSECONDS_T_TYPE): Likewise.
55125
55126 2012-04-10 Andreas Jaeger <aj@suse.de>
55127
55128 [BZ #2636]
55129 * manual/time.texi (Processor Time): Return type of times is
55130 elapsed real time since an arbitrary point in the past.
55131 (CPU Time): Move CLK_TCK from here...
55132 (Processor Time): ...to here. Correct description.
55133 * manual/conf.texi (Constants for Sysconf): Correct description of
55134 _SC_CLK_TCK.
55135
55136 2012-04-10 David S. Miller <davem@davemloft.net>
55137
55138 [BZ #13967]
55139 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
55140 where the is a gap between DT_REL(A) and DT_JMPREL.
55141
55142 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
55143
55144 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
55145 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
55146 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
55147
55148 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
55149
55150 * elf/dl-support.c (_dl_inhibit_cache): New variable.
55151 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
55152 (dl_main): Handle --inhibit-cache.
55153 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
55154 _dl_inhibit_cache.
55155 * elf/dl-load.c (_dl_map_object): Use it.
55156 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
55157
55158 2012-04-09 Joseph Myers <joseph@codesourcery.com>
55159
55160 [BZ #13872]
55161 * sysdeps/i386/fpu/e_powl.S (p78): New object.
55162 (__ieee754_powl): Saturate large exponents rather than testing for
55163 overflow of y*log2(x).
55164 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
55165 * math/libm-test.inc (pow_test): Do not permit spurious overflow
55166 exceptions.
55167
55168 [BZ #11521]
55169 * math/s_ctan.c: Include <float.h>.
55170 (__ctan): Avoid internal overflow or cancellation in calculating
55171 denominator.
55172 * math/s_ctanf.c: Likewise.
55173 * math/s_ctanl.c: Likewise.
55174 * math/s_ctanh.c: Likewise.
55175 * math/s_ctanhf.c: Likewise.
55176 * math/s_ctanhl.c: Likewise.
55177 * math/libm-test.inc (ctan_test): Add more tests.
55178 (ctanh_test): Likewise.
55179 * sysdeps/i386/fpu/libm-test-ulps: Update.
55180 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55181
55182 2012-04-09 Andreas Jaeger <aj@suse.de>
55183
55184 [BZ #6894]
55185 * manual/filesys.texi (Directory Entries): Mention that d_namlen
55186 is an optional BSD extension.
55187
55188 [BZ #10254]
55189 * manual/stdio.texi (Opening Streams): Document additional fopen
55190 parameters.
55191
55192 2012-04-09 Roland McGrath <roland@hack.frob.com>
55193
55194 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
55195 %eax without telling the compiler.
55196
55197 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
55198
55199 [BZ # 13963]
55200 * manual/install.texi: Use sourceware.org.
55201
55202 2012-04-09 Joseph Myers <joseph@codesourcery.com>
55203
55204 [BZ #13873]
55205 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
55206 (__ieee754_pow): Generate overflow and underflow using huge*huge
55207 and tiny*tiny rather than just returning constant infinity or zero
55208 for large exponents.
55209 * math/libm-test.inc (pow_test): Require overflow exceptions for
55210 applicable cases of large exponents.
55211
55212 [BZ #706]
55213 * sysdeps/i386/fpu/e_pow.S (p10): New object.
55214 (__ieee754_pow): Use iterative multiplication algorithm only for
55215 integer exponents with absolute value below 1024. Check for odd
55216 integer exponents when using algorithm for real exponents.
55217 * math/libm-test.inc (pow_test): Add more tests.
55218 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55219
55220 2012-04-08 Joseph Myers <joseph@codesourcery.com>
55221
55222 [BZ #13705]
55223 * math/libm-test.inc (exp_test): Do not allow overflow exception
55224 on underflow test.
55225
55226 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
55227
55228 [BZ #13705]
55229 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
55230 instead of __kernel_standard_f.
55231
55232 2012-04-08 Mike Frysinger <vapier@gentoo.org>
55233
55234 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
55235 * sysdeps/x86_64/memset_chk.S: Likewise.
55236
55237 2012-04-08 Andreas Jaeger <aj@suse.de>
55238
55239 [BZ #10153]
55240 * manual/startup.texi (Environment Access): Describe return value
55241 for putenv and setenv.
55242
55243 [BZ #6895]
55244 * manual/filesys.texi (Directory Entries): Add description for
55245 DT_LNK.
55246
55247 [BZ #6890]
55248 * manual/filesys.texi (Directory Entries): Clarify that it's file
55249 system not operating system in the description of DT_UNKNOWN.
55250
55251 [BZ #6578]
55252 * manual/syslog.texi (closelog): Fix reference, it's openlog.
55253
55254 2012-04-08 Stephen Compall <s11@member.fsf.org>
55255
55256 [BZ #6649]
55257 * manual/llio.texi (Opening and Closing Files): Add cross
55258 reference to explain mode argument.
55259
55260 2012-04-07 Mike Frysinger <vapier@gentoo.org>
55261
55262 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
55263 * sysdeps/x86_64/memset_chk.S: Likewise.
55264
55265 2012-04-07 David S. Miller <davem@davemloft.net>
55266
55267 * elf/elf.h (R_SPARC_WDISP10): Define.
55268 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
55269 R_SPARC_SIZE32.
55270 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
55271 R_SPARC_SIZE64 and R_SPARC_H34.
55272
55273 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
55274
55275 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
55276 conditions and remove no longer applicable assertion.
55277
55278 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
55279
55280 * bits/byteswap.h: Include <features.h>.
55281 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
55282 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
55283
55284 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
55285
55286 * bits/byteswap.h (__bswap_16): Removed.
55287 Include <bits/byteswap-16.h> to get __bswap_16.
55288 * sysdeps/i386/bits/byteswap.h: Likewise.
55289 * sysdeps/s390/bits/byteswap.h: Likewise.
55290 * sysdeps/x86_64/bits/byteswap.h: Likewise.
55291 * bits/byteswap-16.h: New file.
55292 * sysdeps/i386/bits/byteswap-16.h: Likewise.
55293 * sysdeps/s390/bits/byteswap-16.h: Likewise.
55294 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
55295 * string/Makefile (headers): Add bits/byteswap-16.h.
55296
55297 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
55298
55299 [BZ #13895]
55300 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
55301 extra indirection.
55302 * nss/Makefile (tests-static, tests): Add tst-nss-static.
55303 * nss/tst-nss-static.c: New.
55304
55305 2012-04-06 Robert Millan <rmh@gnu.org>
55306
55307 [BZ #6486]
55308 * manual/llio.texi (File Position Primitive): lseek
55309 refers to WHENCE when it really means OFFSET.
55310
55311 2012-04-06 Andreas Jaeger <aj@suse.de>
55312
55313 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
55314 strncmp declarations.
55315
55316 * abilist/libc.abilist: Add __poll and __ppoll.
55317
55318 2012-04-05 David S. Miller <davem@davemloft.net>
55319
55320 * scripts/check-local-headers.sh: Accept a host triplet in the
55321 path matched by the exclude regexp.
55322
55323 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
55324 definition.
55325 * sysdeps/powerpc/powerpc32/dl-machine.h
55326 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
55327 * sysdeps/s390/s390-32/dl-machine.h
55328 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
55329 * sysdeps/sparc/sparc32/dl-machine.h
55330 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
55331 * sysdeps/sparc/sparc64/dl-machine.h
55332 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
55333
55334 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
55335 lazy binding.
55336 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
55337 undefined symbol errors.
55338
55339 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
55340 DT_NEEDED entries.
55341
55342 2012-04-05 Michael Matz <matz@suse.de>
55343
55344 [BZ #13592]
55345 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
55346
55347 2012-04-05 Andreas Jaeger <aj@suse.de>
55348
55349 [BZ #13908]
55350 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
55351 comment.
55352
55353 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
55354
55355 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
55356 which ROUND is no valid rounding mode.
55357
55358 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
55359
55360 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
55361 read again.
55362 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
55363
55364 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
55365
55366 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
55367 an exception using FPU order intentionally.
55368
55369 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
55370
55371 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
55372 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
55373 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
55374 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
55375
55376 2012-04-05 Simon Josefsson <simon@josefsson.org>
55377
55378 [BZ #12340]
55379 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
55380 EINVAL when BUFLEN is too smal.
55381
55382 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
55383
55384 [BZ #13553]
55385 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
55386 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
55387
55388 2012-04-03 Andreas Jaeger <aj@suse.de>
55389
55390 [BZ #13938]
55391 * manual/setjmp.texi (System V contexts): Fix sentence.
55392
55393 [BZ #13926]
55394 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
55395 New macro for this case.
55396 [!__GNUC__] (__bswap_64): New inline function for this case.
55397 * sysdeps/x86_64/bits/byteswap.h: Likewise.
55398 * bits/byteswap.h: Likewise.
55399 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
55400 ull, guard with __GLIBC_HAVE_LONG_LONG.
55401
55402 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
55403 __GLIBC_HAVE_LONG_LONG.
55404
55405 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
55406 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
55407
55408 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
55409
55410 [BZ #13691]
55411 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
55412 inptr and inend, rather than using last_ch.
55413
55414 2012-04-02 David S. Miller <davem@davemloft.net>
55415
55416 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
55417 * stdio-common/printf-parse.h (read_int): Change return type to
55418 'int', return -1 on INT_MAX overflow.
55419 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
55420 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
55421 overflows INT_MAX. Check for overflow of in-format-string precision
55422 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
55423 SIZE_MAX not INT_MAX for integer overflow test.
55424 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
55425 skip the construct in the format string but do not record anything.
55426 * stdio-common/bug22.c: Adjust to test both width/prevision
55427 INT_MAX overflow as well as total length INT_MAX overflow. Check
55428 explicitly for proper errno values.
55429
55430 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
55431
55432 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
55433 CHAR_MAX.
55434 * string/test-strcmp.c [! WIDE]: Likewise.
55435 * time/tst-mktime2.c: Likewise for INT_MAX.
55436 * string/test-string.h: #include <sys/param.h> for MIN.
55437
55438 * csu/init-first.c (__libc_init_first): Call __ctype_init.
55439 * sysdeps/i386/init-first.c (init): Likewise.
55440 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
55441 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
55442 * sysdeps/sh/init-first.c (init): Likewise.
55443
55444 2012-04-01 Ulrich Drepper <drepper@gmail.com>
55445
55446 * po/ru.po: Update from translation team.
55447 * po/vi.po: Likewise.
55448
55449 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
55450
55451 * resolv/nss_dns/dns-host.c: Merge copyright years.
55452
55453 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55454
55455 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
55456 Optimize memcpy with prefetch if
55457 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
55458 src, dst pointers have unequal 16 byte alignments.
55459
55460 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
55461
55462 [BZ #13928]
55463 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
55464 from a CNAME entry and return the minimum ttl for the query.
55465 (gaih_getanswer_slice): Likewise.
55466
55467 2012-03-30 Jeff Law <law@redhat.com>
55468
55469 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
55470 due to long keys.
55471 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
55472 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
55473
55474 * resolv/nss_dns/dns-host.c: Update copyright year.
55475
55476 2012-03-30 Ulrich Drepper <drepper@gmail.com>
55477
55478 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
55479 requests to save a system call. Fix check that all bytes are sent.
55480
55481 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
55482 comments for sendmmsg.
55483
55484 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
55485
55486 [BZ #13691]
55487 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
55488 with only 1 character between 0x0041 and 0x01b0.
55489 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
55490 * wcsmbs/tst-mbsnrtowcs.c: New file.
55491
55492 2012-03-29 David S. Miller <davem@davemloft.net>
55493
55494 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
55495 small copies by hand.
55496
55497 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
55498
55499 [BZ #13761]
55500 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
55501 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
55502 group memberships.
55503
55504 2012-03-28 David S. Miller <davem@davemloft.net>
55505
55506 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
55507 that branches into memcpy.
55508 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
55509 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
55510 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
55511 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
55512 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
55513 bits.
55514 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
55515 implementation too.
55516 * sysdeps/sparc/mempcpy.S: New file.
55517
55518 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
55519 the IFUNC routine in the libc case.
55520 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
55521
55522 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
55523 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
55524 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
55525 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
55526 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
55527 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
55528 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
55529 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
55530
55531 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
55532 loop to 256 bytes instead of 64 bytes and fix test signedness.
55533
55534 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
55535 * sysdeps/sparc/sparc32/Makefile: rather than here...
55536 * sysdeps/sparc/sparc64/Makefile: and here.
55537
55538 2012-03-28 Ulrich Drepper <drepper@gmail.com>
55539
55540 * malloc/mallocbug.c: Avoid warnings about unused variables.
55541
55542 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
55543
55544 [BZ #13760]
55545 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
55546 in the right place. Discard and retry query if response is
55547 larger than input buffer size.
55548
55549 2012-03-28 Joseph Myers <joseph@codesourcery.com>
55550
55551 [BZ #369]
55552 [BZ #2678]
55553 [BZ #3866]
55554 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
55555 x for large integer exponent.
55556 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
55557 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
55558 sign of result as needed afterwards.
55559 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
55560 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
55561 result for underflowing pow the same as for overflow.
55562 (__kernel_standard_l): Handle powl overflow and underflow here
55563 rather than calling __kernel_standard.
55564 * math/libm-test.inc (pow_test): Add more tests.
55565
55566 [BZ #3868]
55567 [BZ #13879]
55568 [BZ #13910]
55569 [BZ #13911]
55570 [BZ #13912]
55571 [BZ #13913]
55572 [BZ #13915]
55573 [BZ #13916]
55574 [BZ #13917]
55575 [BZ #13918]
55576 [BZ #13919]
55577 [BZ #13920]
55578 [BZ #13921]
55579 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
55580 * sysdeps/ieee754/k_standard.c: Include <float.h>.
55581 (__kernel_standard_l): New function.
55582 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
55583 __kernel_standard.
55584 * math/w_acosl.c (__acosl): Likewise.
55585 * math/w_asinl.c (__asinl): Likewise.
55586 * math/w_atan2l.c (__atan2l): Likewise.
55587 * math/w_atanhl.c (__atanhl): Likewise.
55588 * math/w_coshl.c (__coshl): Likewise.
55589 * math/w_exp10l.c (__exp10l): Likewise.
55590 * math/w_exp2l.c (__exp2l): Likewise.
55591 * math/w_fmodl.c (__fmodl): Likewise.
55592 * math/w_hypotl.c (__hypotl): Likewise.
55593 * math/w_j0l.c (__j0l, __y0l): Likewise.
55594 * math/w_j1l.c (__j1l, __y1l): Likewise.
55595 * math/w_jnl.c (__jnl, __ynl): Likewise.
55596 * math/w_lgammal.c (__lgammal): Likewise.
55597 * math/w_log10l.c (__log10l): Likewise.
55598 * math/w_log2l.c (__log2l): Likewise.
55599 * math/w_logl.c (__logl): Likewise.
55600 * math/w_powl.c (__powl): Likewise.
55601 * math/w_remainderl.c (__remainderl): Likewise.
55602 * math/w_scalbl.c (sysv_scalbl): Likewise.
55603 * math/w_sinhl.c (__sinhl): Likewise.
55604 * math/w_sqrtl.c (__sqrtl): Likewise.
55605 * math/w_tgammal.c (__tgammal): Likewise.
55606 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
55607 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
55608 * math/libm-test.inc (acos_test): Add more tests.
55609 (acosh_test): Likewise.
55610 (asin_test): Likewise.
55611 (atanh_test): Likewise.
55612 (exp_test): Likewise.
55613 (exp10_test): Likewise.
55614 (exp2_test): Likewise.
55615 (expm1_test): Likewise.
55616 (lgamma_test): Likewise.
55617 (log_test): Likewise.
55618 (log10_test): Likewise.
55619 (log1p_test): Likewise.
55620 (log2_test): Likewise.
55621 (pow_test): Do not allow some spurious overflow exceptions.
55622 (sqrt_test): Add more tests.
55623 (tgamma_test): Likewise.
55624 (y0_test): Likewise.
55625 (y1_test): Likewise.
55626 (yn_test): Likewise.
55627
55628 2012-03-27 Anton Blanchard <anton@samba.org>
55629
55630 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
55631 MAP_HUGETLB.
55632 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
55633 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
55634 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
55635
55636 2012-03-27 David S. Miller <davem@davemloft.net>
55637
55638 * conform/Makefile: Run run-conformtest.sh using $(BASH).
55639
55640 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
55641 have-as-vis3 check.
55642
55643 2012-03-27 Andreas Jaeger <aj@suse.de>
55644
55645 * sysdeps/x86_64/elf/configure.in: Moved to ...
55646 * sysdeps/x86_64/configure.in: ... here.
55647 * sysdeps/x86_64/elf/start.S: Moved to ...
55648 * sysdeps/x86_64/start.S: ... here.
55649 * sysdeps/x86_64/elf/configure: Delete.
55650
55651 * sysdeps/x86_64/configure.in: Merge contents from
55652 sysdeps/i386/configure.in (without i686 check).
55653
55654 * sysdeps/i386/elf/Versions: Merge into ...
55655 * sysdeps/i386/Versions: ... this.
55656 * sysdeps/i386/elf/Versions: Delete file.
55657 * sysdeps/i386/elf/start.S: Moved to ...
55658 * sysdeps/i386/start.S: ...here.
55659 * sysdeps/i386/elf/configure.in: Merge into...
55660 * sysdeps/i386/configure.in: ...here.
55661 * sysdeps/i386/elf/configure.in: Delete file.
55662 * sysdeps/i386/elf/configure: Delete file.
55663
55664 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
55665 * debug/backtracesyms.c: ... here.
55666 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
55667 * debug/backtracesymsfd.c: ... here.
55668 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
55669 * sysdeps/generic/ifunc-sel.h: ... here.
55670
55671 * sysdeps/unix/i386/start.c: Delete file.
55672 * sysdeps/unix/sparc/start.c: Delete file.
55673 * sysdeps/unix/start.c: Delete file.
55674
55675 * sysdeps/sh/elf/configure.in: Moved to ...
55676 * sysdeps/sh/configure.in: ... here.
55677 * sysdeps/sh/elf/start.S: Moved to ...
55678 * sysdeps/sh/start.S: ... here.
55679 * sysdeps/sh/elf/configure: Delete file.
55680
55681 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
55682 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
55683 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
55684 * sysdeps/powerpc/powerpc64/entry.h: ... here.
55685 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
55686 * sysdeps/powerpc/powerpc64/start.S: here.
55687 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
55688 * sysdeps/powerpc/powerpc64/Makefile: ... this.
55689 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
55690 * sysdeps/powerpc/powerpc64/configure.in: ... this.
55691 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
55692
55693 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
55694 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
55695 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
55696 * sysdeps/powerpc/powerpc32/start.S: ... here.
55697 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
55698 * sysdeps/powerpc/powerpc32/configure.in: ... this.
55699 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
55700
55701 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
55702 * sysdeps/powerpc/ifunc-sel.h: ... here.
55703 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
55704 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
55705
55706 * sysdeps/sparc/elf/configure.in: Moved to ...
55707 * sysdeps/sparc/configure.in: ... here.
55708 * sysdeps/sparc/elf/configure: Delete file.
55709 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
55710 * sysdeps/sparc/sparc32/start.S: ... here.
55711 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
55712 * sysdeps/sparc/sparc64/start.S: ... here.
55713 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
55714 * sysdeps/sparc/sparc32/Makefile: ... this.
55715 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
55716 * sysdeps/sparc/sparc64/Makefile: ... this.
55717
55718 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
55719 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
55720 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
55721 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
55722 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
55723 * sysdeps/s390/s390-32/setjmp.S: ... here.
55724 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
55725 * sysdeps/s390/s390-32/configure.in: ... here.
55726 * sysdeps/s390/s390-32/elf/configure: Delete file.
55727 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
55728 * sysdeps/s390/s390-32/start.S: ... here.
55729
55730 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
55731 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
55732 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
55733 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
55734 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
55735 * sysdeps/s390/s390-64/setjmp.S: ... here.
55736 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
55737 * sysdeps/s390/s390-64/configure.in: ... here
55738 * sysdeps/s390/s390-64/elf/configure: Delete file.
55739 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
55740 * sysdeps/s390/s390-64/start.S: ... here.
55741 * sysdeps/s390/s390-64/elf/configure: Delete.
55742
55743 * configure.in: Remove support for elf directories in sysdeps.
55744
55745 * configure: Regenerated.
55746 * sysdeps/i386/configure: Regenerated.
55747 * sysdeps/powerpc/powerpc32/configure: Regenerated.
55748 * sysdeps/powerpc/powerpc64/configure: Regenerated.
55749 * sysdeps/s390/s390-32/configure: Regenerated.
55750 * sysdeps/s390/s390-64/configure: Regenerated.
55751 * sysdeps/sh/configure: Regenerated.
55752 * sysdeps/sparc/configure: Regenerated.
55753 * sysdeps/x86_64/configure: Regenerated.
55754
55755 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
55756
55757 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55758
55759 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
55760 denormal result into account.
55761
55762 2012-03-25 Roland McGrath <roland@hack.frob.com>
55763
55764 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
55765 Reported by Allan McRae <allan@archlinux.org>.
55766
55767 2012-03-23 Jeff Law <law@redhat.com>
55768
55769 * nss/getnssent.c (__nss_getent): Fix typo.
55770
55771 2012-03-23 David S. Miller <davem@davemloft.net>
55772
55773 * sysdeps/sparc/fpu/libm-test-ulps: Update.
55774
55775 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
55776
55777 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
55778 to pad to uint64_t for each field.
55779 (dl_tls_index): Replace unsigned long with uint64_t.
55780
55781 2012-03-23 Daniel Jacobowitz <dmj@google.com>
55782 Paul Pluzhnikov <ppluzhnikov@google.com>
55783
55784 [BZ #6528]
55785 * grp/Makefile (otherlibs): Don't set it.
55786 * inet/Makefile (otherlibs): Likewise.
55787 * login/Makefile (otherlibs): Likewise.
55788 * nscd/Makefile (otherlibs): Likewise.
55789 * posix/Makefile (otherlibs): Likewise.
55790 * pwd/Makefile (otherlibs): Likewise.
55791 * rt/Makefile (otherlibs): Likewise.
55792 * sunrpc/Makefile (otherlibs): Likewise.
55793 * nss/Makefile (otherlibs): Likewise.
55794 Add libnss_files to routines and static-only-routines.
55795 ($(objpfx)getent): Remove rule.
55796 * resolv/Makefile: Add libnss_dns and libresolv to routines and
55797 static-only-routines.
55798
55799 2012-03-22 Joseph Myers <joseph@codesourcery.com>
55800
55801 [BZ #13892]
55802 * math/s_cexp.c: Include <float.h>.
55803 (__cexp): Handle exp result overflowing not necessarily
55804 overflowing both real and imaginary parts of result.
55805 * math/s_cexpf.c: Likewise.
55806 * math/s_cexpl.c: Likewise.
55807 * math/libm-test.inc (cexp_test): Add more tests.
55808 * sysdeps/i386/fpu/libm-test-ulps: Update.
55809 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55810
55811 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
55812
55813 * include/link.h (ELFW): New macro.
55814 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
55815 Replace ELF64_R_TYPE with ELFW(R_TYPE).
55816
55817 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
55818
55819 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
55820 with uint64_t.
55821
55822 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
55823
55824 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
55825 declaration.
55826 (struct La_x32_retval): Likewise.
55827
55828 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
55829
55830 * sysdeps/x86_64/preconfigure.in: New file.
55831 * sysdeps/x86_64/preconfigure: New generated file.
55832
55833 2012-03-22 Joseph Myers <joseph@codesourcery.com>
55834
55835 [BZ #13824]
55836 * math/e_exp2l.c: Include <float.h>.
55837 (__ieee754_exp2l): Handle overflow and underflow cases
55838 separately. Only pass fractional part of argument to
55839 __ieee754_expl.
55840 * math/libm-test.inc (exp2_test): Add more tests.
55841
55842 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
55843 negating x to take absolute value.
55844 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
55845 Likewise.
55846 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
55847 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
55848 Likewise.
55849 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
55850 computing low part if x was negated.
55851 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
55852
55853 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
55854
55855 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
55856 la_x32_gnu_pltexit.
55857 (pltexit): Cast int_retval to ptrdiff_t.
55858 * elf/tst-auditmod3b.c: Likewise.
55859 * elf/tst-auditmod4b.c: Likewise.
55860 * elf/tst-auditmod5b.c: Likewise.
55861 * elf/tst-auditmod6b.c: Likewise.
55862 * elf/tst-auditmod6c.c: Likewise.
55863 * elf/tst-auditmod7b.c: Likewise.
55864
55865 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
55866 and x32_gnu_pltexit.
55867
55868 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
55869 __ELF_NATIVE_CLASS.
55870 (La_x32_regs): New macro.
55871 (La_x32_retval): Likewise.
55872 (la_x32_gnu_pltenter): New function prototype.
55873 (la_x32_gnu_pltexit): Likewise.
55874
55875 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
55876
55877 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
55878 exponent.
55879
55880 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55881
55882 * configure.in (libc_cv_cc_nofma): Check for option to disable
55883 generation of FMA instructions.
55884 * configure: Regenerate.
55885 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
55886 * sysdeps/ieee754/dbl-64/Makefile: New file.
55887 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
55888 Remove brandred-fma4.
55889 (CFLAGS-brandred-fma4.c): Remove.
55890 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
55891 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
55892 define.
55893 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
55894 define.
55895
55896 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
55897
55898 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
55899 LLONG_MAX != LONG_MAX.
55900 (_itoa_word): Use _ITOA_WORD_TYPE on value.
55901 (_fitoa_word): Likewise.
55902 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
55903 LLONG_MAX != LONG_MAX.
55904 * stdio-common/_itowa.h: Include <_itoa.h>.
55905 (_itowa_word): Use _ITOA_WORD_TYPE on value.
55906 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
55907 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
55908 only if not defined.
55909 (_ITOA_WORD_TYPE): Likewise.
55910 (_itoa_word): Use _ITOA_WORD_TYPE on value.
55911 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
55912
55913 2012-03-21 David S. Miller <davem@davemloft.net>
55914
55915 * sysdeps/sparc/fpu/libm-test-ulps: Update.
55916
55917 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
55918
55919 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
55920 of x86_64 when setting libc_cv_slibdir, libdir and
55921 libc_cv_localedir.
55922 * sysdeps/unix/sysv/linux/configure: Regenerated.
55923
55924 2012-03-21 Joseph Myers <joseph@codesourcery.com>
55925
55926 * manual/lang.texi (Old Varargs): Remove section.
55927 (How Variadic): Update menu.
55928 (va_start): Do not mention varargs.h.
55929
55930 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
55931 Joseph Myers <joseph@codesourcery.com>
55932
55933 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
55934 link test.
55935 * configure: Regenerated.
55936
55937 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
55938
55939 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
55940 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
55941 conformtest.pl
55942
55943 2012-03-21 Joseph Myers <joseph@codesourcery.com>
55944
55945 * NOTES: Remove.
55946 * Makefile (files-for-dist): Remove NOTES.
55947 (NOTES): Remove rule.
55948 * README: Don't refer to NOTES.
55949 * manual/creature.texi: Don't include macros.texi.
55950 * manual/intro.texi (creature.texi): Remove comment referring to
55951 NOTES.
55952
55953 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
55954 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
55955 * configure: Regenerated.
55956 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
55957 LIBC_TRY_CC_OPTION.
55958 (libc_cv_as_i686): Likewise.
55959 (libc_cv_cc_avx): Likewise.
55960 (libc_cv_cc_sse2avx): Likewise.
55961 (libc_cv_cc_fma4): Likewise.
55962 (libc_cv_cc_novzeroupper): Likewise.
55963 * sysdeps/i386/configure: Regenerated.
55964
55965 [BZ #13883]
55966 * sysdeps/i386/fpu/s_cexp.S: Remove.
55967 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
55968 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
55969 * math/libm-test.inc (cexp_test): Add more tests.
55970 * sysdeps/i386/fpu/libm-test-ulps: Update.
55971 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55972
55973 2012-03-21 Allan McRae <allan@archlinux.org>
55974
55975 * timezone/Makefile: Do not install iso3166.tab and zone.tab
55976
55977 2012-03-21 Joseph Myers <joseph@codesourcery.com>
55978
55979 [BZ #13871]
55980 * math/w_exp2.c: Do not include <float.h>.
55981 (o_threshold, u_threshold): Remove.
55982 (__exp2): Calculate result before checking finiteness and calling
55983 __kernel_standard.
55984 * math/w_exp2f.c: Likewise.
55985 * math/w_exp2l.c: Likewise.
55986 * math/libm-test.inc (exp2_test): Require overflow exception for
55987 1e6 input.
55988
55989 [BZ #3866]
55990 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
55991 range of signed 64-bit integers before using fistpll. Remove
55992 checks for whether integers fit in mantissa bits.
55993 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
55994 the range of signed 32-bit integers before using fistpl. Remove
55995 checks for whether integers fit in mantissa bits.
55996 * sysdeps/i386/fpu/e_powl.S (p64): New object.
55997 (__ieee754_powl): Test for y outside the range of signed 64-bit
55998 integers before using fistpll. Reduce 64-bit values to 63-bit
55999 ones as needed.
56000 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
56001 divide-by-zero is raised for zero to large negative powers.
56002 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
56003 (__ieee754_powl): Test for y outside the range of signed 64-bit
56004 integers before using fistpll. Reduce 64-bit values to 63-bit
56005 ones as needed.
56006 * math/libm-test.inc (pow_test): Add more tests.
56007
56008 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
56009
56010 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
56011 <stdio-common/_itoa.h>.
56012 * debug/segfault.c: Likewise.
56013 * elf/dl-cache.c: Likewise.
56014 * elf/dl-minimal.c: Likewise.
56015 * elf/dl-misc.c: Likewise.
56016 * elf/dl-sysdep.c: Likewise.
56017 * elf/dl-version.c: Likewise.
56018 * elf/rtld.c: Likewise.
56019 * hurd/hurdsock.c: Likewise.
56020 * hurd/lookup-retry.c: Likewise.
56021 * malloc/malloc.c: Likewise.
56022 * malloc/mtrace.c: Likewise.
56023 * nscd/nscd_getgr_r.c: Likewise.
56024 * nscd/nscd_getpw_r.c: Likewise.
56025 * nscd/nscd_getserv_r.c: Likewise.
56026 * posix/getopt_init.c: Likewise.
56027 * posix/wordexp.c: Likewise.
56028 * stdio-common/_itoa.c: Likewise.
56029 * stdio-common/printf_fphex.c: Likewise.
56030 * stdio-common/vfprintf.c: Likewise.
56031 * string/_strerror.c: Likewise.
56032 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
56033 * sysdeps/i386/i686/hp-timing.h: Likewise.
56034 * sysdeps/mach/_strerror.c: Likewise.
56035 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
56036 * sysdeps/mach/hurd/sethostid.c: Likewise.
56037 * sysdeps/mach/hurd/xmknodat.c: Likewise.
56038 * sysdeps/mach/xpg-strerror.c: Likewise.
56039 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
56040 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
56041 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
56042 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
56043 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
56044 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
56045 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
56046 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
56047 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
56048 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
56049 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
56050 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
56051 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
56052 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
56053 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
56054 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
56055 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
56056 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
56057 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
56058 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
56059 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
56060
56061 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
56062
56063 * stdio-common/_itoa.h: Moved to ...
56064 * sysdeps/generic/_itoa.h: Here.
56065
56066 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
56067
56068 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
56069 instead of "_itoa.h" and "_itowa.h".
56070 * stdio-common/vfprintf.: Likewise.
56071
56072 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
56073
56074 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
56075 <bits/wordsize.h>.
56076 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
56077 (__signbit): Likwise.
56078 (llrintf): Likwise.
56079 (llrint): Likwise.
56080
56081 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
56082
56083 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
56084 __WORDSIZE != 64.
56085
56086 2012-03-20 Joseph Myers <joseph@codesourcery.com>
56087
56088 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
56089 OVERFLOW_EXCEPTION_OK.
56090 * math/libm-test.inc ("Philosophy"): Update comment about
56091 exception testing.
56092 (OVERFLOW_EXCEPTION): Define.
56093 (OVERFLOW_EXCEPTION_OK): Likewise.
56094 (INVALID_EXCEPTION_OK): Renumber.
56095 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
56096 (IGNORE_ZERO_INF_SIGN): Likewise.
56097 (test_exceptions): Handle FE_OVERFLOW.
56098 (exp10_test): Expect overflow exceptions.
56099 (exp2_test): Likewise.
56100 (expm1_test): Likewise.
56101 (nextafter_test): Likewise.
56102 (pow_test): Likewise.
56103 (scalbn_test): Likewise.
56104 (scalbln_test): Likewise.
56105
56106 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
56107
56108 * sysdeps/x86_64/bits/atomic.h
56109 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
56110 64bit integer.
56111 (atomic_exchange_acq): Likewise.
56112 (__arch_exchange_and_add_body): Likewise.
56113 (__arch_add_body): Likewise.
56114 (atomic_add_negative): Likewise.
56115 (atomic_add_zero): Likewise.
56116
56117 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
56118
56119 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
56120 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
56121
56122 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
56123
56124 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
56125 Check __x86_64__ instead of __WORDSIZE.
56126
56127 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
56128
56129 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
56130
56131 2012-03-19 David S. Miller <davem@davemloft.net>
56132
56133 * sysdeps/sparc/fpu/libm-test-ulps: Update.
56134
56135 * sysdeps/sparc/fpu/fenv_private.h: New file.
56136 * sysdeps/sparc/fpu/math_private.h: Use it.
56137 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
56138 Remove.
56139 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
56140 (libc_feholdexcept_setroundl): Remove.
56141 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
56142 Remove.
56143 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
56144 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
56145
56146 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
56147
56148 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
56149 int64_t instead of long int.
56150 (INSERT_WORDS64): Likwise.
56151
56152 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
56153
56154 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
56155 _Unwind_GetCFA return to _Unwind_Ptr first.
56156
56157 2012-03-19 Joseph Myers <joseph@codesourcery.com>
56158
56159 [BZ #13629]
56160 * math/s_clog.c: Include <float.h>.
56161 (__clog): Scale large or subnormal inputs.
56162 * math/s_clogf.c: Likewise.
56163 * math/s_clogl.c: Likewise.
56164 * math/s_clog10.c: Include <float.h>.
56165 (M_LOG10_2): Define.
56166 (__clog10): Scale large or subnormal inputs.
56167 * math/s_clog10f.c: Likewise.
56168 * math/s_clog10l.c: Likewise.
56169 * math/libm-test.inc (clog_test): Add more tests.
56170 (clog10_test): Likewise.
56171 * sysdeps/i386/fpu/libm-test-ulps: Update.
56172 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56173
56174 [BZ #11451]
56175 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
56176 x and y.
56177 * math/libm-test.inc (atan2_test): Add another test.
56178
56179 * Makerules (common-objdir-compile): Remove.
56180 * sysdeps/unix/Makefile (config-generated): Do not add
56181 $(unix-generated) to variable.
56182 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
56183 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
56184 Remove rule.
56185 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
56186 Likewise.
56187 [generic bits/local_lim.h] (before-compile): Do not append to
56188 variable.
56189 [generic bits/local_lim.h] (common-generated): Likewise.
56190 [generic sys/param.h] (before-compile): Do not append to variable.
56191 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
56192 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
56193 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
56194 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
56195 include.
56196 [generic sys/param.h] (sys/param.h-includes): Remove variable.
56197 [generic sys/param.h] (sys/param.h-includes): Remove rule.
56198 [generic sys/param.h] ($(addprefix
56199 $(common-objpfx),$(sys/param.h-includes))): Likewise.
56200 [generic sys/param.h] (common-generated): Do not append to
56201 variable.
56202 [generic sys/param.h] (sysdep_headers): Likewise.
56203 [generic bits/errno.h] (before-compile): Do not append to
56204 variable.
56205 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
56206 rule.
56207 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
56208 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
56209 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
56210 [generic bits/errno.h] (common-generated): Do not append to
56211 variable.
56212 [generic bits/ioctls.h] (before-compile): Do not append to
56213 variable.
56214 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
56215 rule.
56216 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
56217 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
56218 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
56219 rule.
56220 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
56221 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
56222 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
56223 [generic bits/ioctls.h] (common-generated): Do not append to
56224 variable.
56225 [generic sys/syscall.h] (syscall.h): Remove variable.
56226 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
56227 rule.
56228 [generic sys/syscall.h] (before-compile): Do not append to
56229 variable.
56230 [generic sys/syscall.h] (common-generated): Likewise.
56231 * sysdeps/unix/errnos-tmpl.c: Remove file.
56232 * sysdeps/unix/errnos.awk: Likewise.
56233 * sysdeps/unix/ioctls-tmpl.c: Likewise.
56234 * sysdeps/unix/ioctls.awk: Likewise.
56235 * sysdeps/unix/mk-local_lim.c: Likewise.
56236 * sysdeps/unix/snarf-ioctls: Likewise.
56237
56238 2012-03-19 Richard Henderson <rth@twiddle.net>
56239
56240 * sysdeps/i386/fpu/fenv_private.h: New file.
56241 * sysdeps/i386/fpu/math_private.h: Use it.
56242 (math_opt_barrier, math_force_eval): Remove.
56243 (libc_feholdexcept_setround_53bit): Remove.
56244 (libc_feupdateenv_53bit): Remove.
56245 * sysdeps/x86_64/fpu/math_private.h: Likewise.
56246 (math_opt_barrier, math_force_eval): Remove.
56247 (libc_feholdexcept): Remove.
56248 (libc_feholdexcept_setround): Remove.
56249 (libc_fetestexcept, libc_fesetenv): Remove.
56250 (libc_feupdateenv_test): Remove.
56251 (libc_feupdateenv, libc_feholdsetround): Remove.
56252 (libc_feresetround): Remove.
56253
56254 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
56255 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
56256
56257 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
56258 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
56259 (libc_feupdateenv_testl): New.
56260 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
56261 (libc_feupdateenv_testf): New.
56262 (libc_feupdateenv): Use libc_feupdateenv_test.
56263 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
56264 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
56265
56266 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
56267 (libc_feholdsetroundf, libc_feholdsetroundl): New.
56268 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
56269 (libc_feresetround_noex): New.
56270 (libc_feresetround_noexf): New.
56271 (libc_feresetround_noexl): New.
56272 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
56273 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
56274 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
56275 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
56276 SET_RESTORE_ROUND.
56277 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
56278 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
56279 (__cos): Likewise.
56280 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
56281 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
56282 SET_RESTORE_ROUND_NOEX.
56283 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
56284 SET_RESTORE_ROUND_NOEXF.
56285 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
56286 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
56287 (libc_feholdsetroundf): New.
56288 (libc_feresetround, libc_feresetroundf): New.
56289
56290 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
56291 (libc_feholdexcept_setround_53bit): Convert from macro to function.
56292 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
56293
56294 * sysdeps/generic/math_private.h: Include <fenv.h>.
56295 (default_libc_feholdexcept): New.
56296 (default_libc_feholdexcept_setround): New.
56297 (default_libc_fesetenv, default_libc_feupdateenv): New.
56298 (libc_feholdexcept): Only define if undefined.
56299 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
56300 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
56301 (libc_feholdexcept_setroundl): Likewise.
56302 (libc_feholdexcept_setround_53bit): Likewise.
56303 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
56304 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
56305 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
56306 (libc_feupdateenv_53bit): Likewise.
56307 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
56308 (libc_feholdexcept): Convert from macro to inline function.
56309 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
56310 (libc_fesetenv, libc_feupdateenv): Likewise.
56311
56312 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
56313 not previously defined.
56314 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
56315 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
56316 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
56317 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
56318 * sysdeps/ieee754/flt-32/math_private.h: New file.
56319 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
56320 math_private.h below SET_FLOAT_WORD.
56321 (__isnan, __isinf_ns, __finite): Remove.
56322 (__isnanf, __isinf_nsf, __finitef): Remove.
56323
56324 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
56325
56326 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56327
56328 2012-03-17 David S. Miller <davem@davemloft.net>
56329
56330 [BZ #6471]
56331 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
56332 for 2.16.
56333
56334 2012-03-16 David S. Miller <davem@davemloft.net>
56335
56336 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
56337 warnings.
56338
56339 [BZ #6471]
56340 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
56341 properly.
56342 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
56343 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
56344 sysdep_routines when subdir is sysvipc.
56345 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
56346 __getshmlba helper.
56347
56348 * sysdeps/sparc/fpu/libm-test/ulps: Update.
56349
56350 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
56351
56352 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
56353 [__LP64__].
56354
56355 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
56356
56357 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
56358 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
56359 (__lround): Renamed to ...
56360 (__llround): This. Replace long int with long long int.
56361 Define lround functions as aliases of llround functions.
56362 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
56363
56364 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
56365
56366 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
56367 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
56368 adresses to uintptr_t. Replace "long int" and "unsigned long
56369 int" with "greg_t" on va_arg.
56370
56371 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
56372
56373 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
56374 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
56375
56376 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
56377 Move e_machine check before EI_CLASS check. Handle x32
56378 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
56379 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
56380 SKIP_EM_IA_64 and include
56381 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
56382
56383 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
56384 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
56385 (add_system_dir): New macro.
56386
56387 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
56388 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
56389
56390 2012-03-16 Joseph Myers <joseph@codesourcery.com>
56391
56392 [BZ #2551]
56393 [BZ #2552]
56394 [BZ #2553]
56395 [BZ #2554]
56396 [BZ #2562]
56397 [BZ #2563]
56398 [BZ #2565]
56399 [BZ #2566]
56400 [BZ #2576]
56401 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
56402 (y0): Likewise.
56403 * math/w_j0f.c (j0f): Likewise.
56404 (y0f): Likewise.
56405 * math/w_j0l.c (__j0l): Likewise.
56406 (__y0l): Likewise.
56407 * math/w_j1.c (j1): Likewise.
56408 (y1): Likewise.
56409 * math/w_j1f.c (j1f): Likewise.
56410 (y1f): Likewise.
56411 * math/w_j1l.c (__j1l): Likewise.
56412 (__y1l): Likewise.
56413 * math/w_jn.c (jn): Likewise.
56414 (yn): Likewise.
56415 * math/w_jnf.c (jnf): Likewise.
56416 (ynf): Likewise.
56417 * math/w_jnl.c (__jnl): Likewise.
56418 (__ynl): Likewise.
56419 * math/libm-test.inc (j0_test): Add more tests.
56420 (j1_test): Likewise.
56421 (jn_test): Likewise. Add trailing semicolon to existing test.
56422 (y0_test): Likewise.
56423 (y1_test): Likewise.
56424 * sysdeps/i386/fpu/libm-test-ulps: Update.
56425 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56426
56427 [BZ #13851]
56428 [BZ #13854]
56429 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
56430 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
56431 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
56432 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
56433 (__tanl): Set errno for infinite argument.
56434 * sysdeps/i386/fpu/mptan.c: Remove.
56435 * sysdeps/i386/fpu/s_tan.S: Likewise.
56436 * sysdeps/i386/fpu/s_tanl.S: Likewise.
56437 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
56438 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
56439 * math/libm-test.inc (tan_test): Add more tests and enable more
56440 tests for double and long double.
56441 * sysdeps/i386/fpu/libm-test-ulps: Update.
56442 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56443
56444 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
56445
56446 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
56447 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
56448
56449 2012-03-16 Roland McGrath <roland@hack.frob.com>
56450
56451 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
56452 * configure.in: Use it for both main tree and add-ons.
56453 * configure: Regenerated.
56454
56455 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
56456
56457 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
56458
56459 2012-03-16 Joseph Myers <joseph@codesourcery.com>
56460
56461 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
56462 in comment.
56463
56464 [BZ #13851]
56465 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
56466 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
56467 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
56468 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
56469 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
56470 infinite argument.
56471 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
56472 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
56473 != 0 for prec == 2.
56474 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
56475 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
56476 * sysdeps/i386/fpu/s_cosl.S: Likewise.
56477 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
56478 * sysdeps/i386/fpu/s_sinl.S: Likewise.
56479 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
56480 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
56481 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
56482 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
56483 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
56484 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
56485 * math/libm-test.inc (cos_test): Add more tests and enable more
56486 tests for long double.
56487 (sin_test): Likewise.
56488 (sincos_test): Likewise.
56489 * sysdeps/i386/fpu/libm-test-ulps: Update.
56490 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56491
56492 2012-03-16 David S. Miller <davem@davemloft.net>
56493
56494 * sysdeps/sparc/fpu/math_private.h: New file.
56495
56496 2012-03-15 David S. Miller <davem@davemloft.net>
56497
56498 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
56499 file.
56500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
56501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
56502 file.
56503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
56504 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
56505 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
56506 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
56507 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
56508 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
56509 sysdep routines.
56510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
56511
56512 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
56513 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
56514
56515 * sysdeps/sparc/sparc-ifunc.h: New file.
56516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
56517 sparc-ifunc.h
56518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
56519 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
56520 Likewise.
56521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
56522 Likewise.
56523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
56524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
56525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
56526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
56527 Likewise.
56528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
56529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
56530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
56531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
56532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
56533 Likewise.
56534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
56535 Likewise.
56536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
56537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
56538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
56539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
56540 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
56541 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
56542 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
56543 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
56544 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
56545 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
56546 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
56547 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
56548 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
56549 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
56550 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
56551 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
56552 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
56553 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
56554 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
56555 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
56556 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
56557 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
56558 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
56559 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
56560
56561 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
56562
56563 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
56564 scaling.
56565 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56566
56567 2012-03-15 Andreas Jaeger <aj@suse.de>
56568
56569 [BZ #13852]
56570 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
56571 ieee754/flt-32 implementation for sin, cos and sincos.
56572 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
56573 * sysdeps/i386/fpu/s_cosf.S: Likewise.
56574 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
56575 * sysdeps/i386/fpu/s_sinf.S: Likewise.
56576 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
56577 ieee754/flt-32 implementation for tan.
56578
56579 * math/libm-test.inc (cos_test): Enable some large input tests for
56580 float as well
56581 (sin_test): Likewise.
56582 (sincos_test): Likewise.
56583 (tan_test): Add tests for large input.
56584
56585 * sysdeps/i386/fpu/libm-test-ulps: Update.
56586
56587 2012-03-15 Andreas Jaeger <aj@suse.de>
56588
56589 [BZ #13658]
56590 * math/libm-test.inc (cos_test): Add more test cases.
56591 (sin_test): Likewise.
56592 (sincos_test): Likewise.
56593
56594 2012-03-15 Andreas Jaeger <aj@suse.de>
56595
56596 [BZ #13837]
56597 * math/libm-test.inc (cos_test): Add a test case for large input
56598 value.
56599 (sin_test): Likewise.
56600 (sincos_test): Likewise.
56601
56602 2012-03-15 Andreas Jaeger <aj@suse.de>
56603 Joseph Myers <joseph@codesourcery.com>
56604
56605 [BZ #13658]
56606 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
56607 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
56608 * sysdeps/i386/fpu/branred.c: Likewise.
56609 * sysdeps/i386/fpu/dosincos.c: Likewise.
56610 * sysdeps/i386/fpu/mpa.c: Likewise.
56611 * sysdeps/i386/fpu/s_cos.S: Likewise.
56612 * sysdeps/i386/fpu/s_sin.S: Likewise.
56613 * sysdeps/i386/fpu/s_sincos.S: Likewise.
56614 * sysdeps/i386/fpu/sincos32.c: Likewise.
56615
56616 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
56617 Define.
56618 (libc_feupdateenv_53bit): Define.
56619 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
56620 Define.
56621 (libc_feupdateenv_53bit): Define.
56622
56623 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
56624 53 bit (without extend i386 double precision).
56625
56626 * math/libm-test.inc (sincos_test): Add tests for large input.
56627 (sin): Likewise.
56628 (cos): Likewise.
56629
56630 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
56631
56632 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
56633
56634 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56635
56636 2012-03-15 David S. Miller <davem@davemloft.net>
56637
56638 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
56639 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
56640 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
56641 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
56642 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
56643 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
56644 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
56645 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
56646 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
56647 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
56648 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
56649 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
56650 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
56651 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
56652 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
56653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
56654 file.
56655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
56656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
56657 file.
56658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
56659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
56660 file.
56661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
56662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
56663 file.
56664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
56665 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
56666 fmin/fmax sysdep routines.
56667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
56668
56669 2012-03-14 David S. Miller <davem@davemloft.net>
56670
56671 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
56672 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
56673 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
56674 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
56675 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
56676 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
56677 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
56678 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
56679 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
56680 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
56681 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
56682 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
56683 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
56684 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
56685 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
56686 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
56687 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
56688 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
56689 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
56690 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
56691 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
56692 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
56693 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
56694 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
56695 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
56696 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
56697 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
56698 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
56699 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
56700 routines.
56701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
56702 file.
56703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
56704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
56705 file.
56706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
56707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
56708 file.
56709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
56710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
56711 file.
56712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
56713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
56714 file.
56715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
56716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
56717 file.
56718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
56719 file.
56720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
56721 file.
56722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
56723 file.
56724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
56725 New file.
56726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
56727 file.
56728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
56729 file.
56730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
56731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
56732 file.
56733 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
56734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
56735 file.
56736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
56737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
56738 file.
56739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
56740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
56741 VIS3 routines.
56742
56743 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
56744 New file.
56745
56746 * sysdeps/sparc/fpu/libm-test-ulps: Update.
56747
56748 * sysdeps/sparc/configure.in: New file.
56749 * sysdeps/sparc/configure: Generate.
56750 * configure.in (libc_cv_sparc_as_vis3): Substitute.
56751 * configure: Regenerate.
56752 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
56753 * config.make.in (have-as-vis3): New.
56754 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
56755 available use -Av9d instead of -Av9a.
56756 * sysdeps/sparc/sparc64/Makefile: Likewise.
56757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
56758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
56759 New file.
56760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
56761 file.
56762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
56763 New file.
56764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
56765 file.
56766 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
56767 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
56768 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
56769 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
56770 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
56771
56772 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
56773 fzeros/fnegs to load 0x80000000 into a float register instead of
56774 using the stack.
56775 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
56776
56777 2012-03-14 Joseph Myers <joseph@codesourcery.com>
56778
56779 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56780 bits/syscall.h.
56781 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
56782 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
56783 ($(inst_includedir)/bits/syscall.h): Remove rule.
56784 ($(objpfx)bits/syscall.d): Include instead of
56785 $(objpfx)syscall-list.d.
56786 (generated): Change syscall-list.h and syscall-list.d to
56787 bits/syscall.h and bits/syscall.d.
56788
56789 2012-03-14 Roland McGrath <roland@hack.frob.com>
56790
56791 [BZ #13846]
56792 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
56793
56794 2012-03-14 Joseph Myers <joseph@codesourcery.com>
56795
56796 [BZ #13841]
56797 * math/s_csqrt.c: Include <float.h>.
56798 (__csqrt): Scale large or subnormal inputs.
56799 * math/s_csqrtf.c: Likewise.
56800 * math/s_csqrtl.c: Likewise.
56801 * math/libm-test.inc (csqrt_test): Add more tests.
56802 * sysdeps/i386/fpu/libm-test-ulps: Update.
56803 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56804
56805 [BZ #13840]
56806 * math/libm-test.inc (hypot_test): Add more tests.
56807
56808 2012-03-13 David S. Miller <davem@davemloft.net>
56809
56810 [BZ #13840]
56811 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
56812 double-precision for the calculation instead of scaling.
56813
56814 2012-03-13 Joseph Myers <joseph@codesourcery.com>
56815
56816 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
56817 manipulate bits before adding and subtracting TWO52[sx].
56818 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
56819 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
56820 Likewise.
56821 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
56822
56823 2012-03-13 David S. Miller <davem@davemloft.net>
56824
56825 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
56826 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
56827 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
56828 rtld-global-offsets.h
56829 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
56830
56831 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
56832 large parameters.
56833
56834 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
56835
56836 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
56837 'err' in the ifdef scope in which it is actually used.
56838
56839 * nss/nss_db/db-init.c: Include string.h
56840
56841 2012-03-12 David S. Miller <davem@davemloft.net>
56842
56843 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
56844 masking out of the most significant byte of random value used.
56845 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
56846 Fix coding style in previous change.
56847
56848 * sysdeps/unix/sysv/linux/kernel-features.h
56849 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
56850 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
56851 expression.
56852 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
56853 later.
56854
56855 2012-03-11 David S. Miller <davem@davemloft.net>
56856
56857 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
56858 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
56859 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
56860 for 'resultvar' otherwise things get truncated on 64-bit.
56861
56862 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
56863 Fix masking out of the most significant byte of random value used.
56864
56865 * sysdeps/sparc/fpu/libm-test-ulps: Update.
56866
56867 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
56868
56869 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56870
56871 2012-03-09 David S. Miller <davem@davemloft.net>
56872
56873 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
56874 variables with appropriate CPP guards.
56875 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
56876 from the frame pointer, not the stack pointer. Correct layout
56877 comments. Fix test on resulting framesize and the management of
56878 the outregs buffer for pltexit. Preserve floating point return
56879 values across _dl_call_pltexit call.
56880 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
56881 framesize and the management of the outregs buffer for pltexit.
56882 Preserve floating point return values across _dl_call_pltexit
56883 call.
56884 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
56885 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
56886 (la_sparc64_gnu_pltexit): New functions.
56887 (print_exit): Fix format string for return register value.
56888
56889 2012-03-10 Joseph Myers <joseph@codesourcery.com>
56890
56891 * sunrpc/Makefile (others): Add rpcgen.
56892 ($(objpfx)rpcgen): Remove special build rule and dependency on
56893 libc.
56894 * sunrpc/rpcgen.c: New file.
56895
56896 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
56897
56898 [BZ #13673]
56899 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
56900 * stdio-common/bug-vfprintf-nargs.c: Likewise.
56901 * sysdeps/i386/crti.S: Likewise.
56902 * sysdeps/i386/crtn.S: Likewise.
56903 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
56904 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
56905 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
56906 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
56907 * sysdeps/sh/crti.S: Likewise.
56908 * sysdeps/sh/crtn.S: Likewise.
56909 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
56910
56911 [BZ #13673]
56912 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
56913 with URL.
56914 * locale/programs/locfile-kw.gperf: Likewise.
56915 * locale/programs/charmap-kw.h: Regenerated.
56916 * locale/programs/locfile-kw.h: Likewise.
56917
56918 [BZ #13673]
56919 * intl/plural.y: Replace FSF snail mail address with URL.
56920 * intl/plural.c: Regenerated.
56921
56922 2012-03-09 Richard Henderson <rth@twiddle.net>
56923
56924 * include/math_private.h: Remove file.
56925 * math/math_private.h: Move file ...
56926 * sysdeps/generic/math_private.h: ... here.
56927
56928 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
56929 * sysdeps/powerpc/fpu/math_private.h: Likewise.
56930 * sysdeps/x86_64/fpu/math_private.h: Likewise.
56931
56932 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
56933 and <math_private.h>.
56934 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
56935 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
56936 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
56937 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
56938 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
56939 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
56940 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
56941 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56942 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
56943 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
56944 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56945 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
56946 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
56947 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
56948 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
56949 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
56950 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
56951 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
56952 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
56953 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
56954 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56955 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
56956 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
56957 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56958 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
56959 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
56960 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
56961 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
56962 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56963 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
56964 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
56965 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
56966 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
56967 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
56968 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
56969 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
56970 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
56971 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
56972 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
56973 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
56974 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
56975 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
56976 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
56977 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
56978 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
56979 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
56980 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
56981 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
56982 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
56983 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
56984 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
56985 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
56986 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
56987 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
56988 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
56989 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
56990 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
56991 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
56992 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
56993 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
56994 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
56995 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
56996 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56997 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
56998 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
56999 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
57000 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
57001 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
57002 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
57003 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
57004 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
57005 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
57006 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
57007 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
57008 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
57009 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
57010 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
57011 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
57012 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
57013 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
57014 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
57015 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
57016 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
57017 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
57018 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
57019 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
57020 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
57021 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
57022 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
57023 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
57024 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
57025 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
57026 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
57027 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
57028 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
57029 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
57030 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
57031 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
57032 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
57033 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
57034 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
57035 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
57036 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
57037 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
57038 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
57039 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
57040 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
57041 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
57042 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
57043 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
57044 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
57045 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
57046 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
57047 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
57048 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
57049 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
57050 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
57051 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
57052 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
57053 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
57054 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
57055 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
57056 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
57057 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
57058 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
57059 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
57060 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
57061 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
57062 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
57063 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
57064 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
57065 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
57066 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
57067 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
57068 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
57069 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
57070 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
57071 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
57072 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
57073 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
57074 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
57075 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
57076 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
57077 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
57078 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
57079 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
57080 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
57081 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
57082 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
57083 * sysdeps/ieee754/k_standard.c: Likewise.
57084 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
57085 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
57086 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
57087 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
57088 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
57089 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
57090 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
57091 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
57092 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
57093 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
57094 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
57095 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
57096 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
57097 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
57098 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
57099 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
57100 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
57101 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
57102 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
57103 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
57104 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
57105 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
57106 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
57107 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
57108 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
57109 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
57110 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
57111 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
57112 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
57113 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
57114 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
57115 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
57116 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
57117 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
57118 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
57119 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
57120 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
57121 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
57122 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
57123 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
57124 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
57125 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
57126 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
57127 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
57128 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
57129 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
57130 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
57131 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
57132 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
57133 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
57134 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
57135 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
57136 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
57137 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
57138 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
57139 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
57140 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
57141 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
57142 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
57143 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
57144 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
57145 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
57146 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
57147 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
57148 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
57149 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
57150 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
57151 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
57152 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
57153 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
57154 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
57155 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
57156 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
57157 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
57158 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
57159 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
57160 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
57161 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
57162 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
57163 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
57164 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
57165 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
57166 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
57167 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
57168 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
57169 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
57170 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
57171 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
57172 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
57173 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
57174 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
57175 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
57176 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
57177 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
57178 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
57179 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
57180 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
57181 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
57182 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
57183 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
57184 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
57185 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
57186 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
57187 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
57188 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
57189 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
57190 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
57191 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
57192 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
57193 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
57194 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
57195 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
57196 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
57197 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
57198 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
57199 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
57200 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
57201 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
57202 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
57203 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
57204 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
57205 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
57206 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
57207 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
57208 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
57209 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
57210 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
57211 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
57212 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
57213 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
57214 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
57215 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
57216 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
57217 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
57218 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
57219 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
57220 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
57221 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
57222 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
57223 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
57224 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
57225 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
57226 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
57227 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
57228 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
57229 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
57230 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
57231 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
57232 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
57233 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
57234 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
57235 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
57236 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
57237 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
57238 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
57239 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
57240 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
57241 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
57242 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
57243 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
57244 * sysdeps/ieee754/s_lib_version.c: Likewise.
57245 * sysdeps/ieee754/s_matherr.c: Likewise.
57246 * sysdeps/ieee754/s_signgam.c: Likewise.
57247 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
57248 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
57249 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
57250 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
57251 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
57252 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
57253 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
57254 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
57255 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
57256 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
57257 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
57258 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
57259 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
57260 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
57261 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
57262 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
57263 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
57264 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
57265 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
57266 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
57267 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
57268
57269 2012-03-09 Joseph Myers <joseph@codesourcery.com>
57270
57271 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
57272 * sunrpc/rpc_main.c: Likewise.
57273 * sunrpc/rpc_svcout.c: Likewise.
57274
57275 2012-03-09 David S. Miller <davem@davemloft.net>
57276
57277 * include/math_private.h: New file.
57278
57279 2012-03-09 Joseph Myers <joseph@codesourcery.com>
57280
57281 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
57282 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
57283 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
57284 from <bits/socket_type.h>.
57285 (enum __socket_type): Don't define here.
57286 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
57287 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57288 bits/socket_type.h.
57289
57290 [BZ #13566]
57291 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
57292 checking __USE_GNU.
57293
57294 * Makerules ($(inst_includedir)/%.h): New rule.
57295 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
57296 (install-others): Remove variable setting.
57297 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
57298
57299 2012-03-08 Richard Henderson <rth@twiddle.net>
57300
57301 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
57302 from macro to inline function; merge with the
57303 !__LIBC_INTERNAL_MATH_INLINES version.
57304 (__ieee754_sqrtf): Likewise.
57305
57306 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
57307 to inline function.
57308 (__rintf, __floor, __floorf): Likewise.
57309
57310 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
57311 macro to inline function.
57312 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
57313
57314 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
57315 not <math/math_private.h>.
57316
57317 2012-03-08 David S. Miller <davem@davemloft.net>
57318
57319 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
57320 copyright year.
57321 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
57322
57323 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
57324
57325 * resolv/gai_misc.c (handle_requests): Fix struct timespec
57326 normalization.
57327 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
57328 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
57329
57330 2012-03-08 Ulrich Drepper <drepper@gmail.com>
57331
57332 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
57333 be defined individually, they must be defined as a block. Define
57334 S for printing a string instead of hidint the different by using a
57335 macro for adding the 'l'.
57336 * stdio-common/tst-fphex-wide.c: Adjust.
57337
57338 2012-03-07 Marek Polacek <polacek@redhat.com>
57339
57340 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
57341
57342 2012-03-08 Marek Polacek <polacek@redhat.com>
57343
57344 [BZ #13806]
57345 * stdio-common/Makefile (tests): Add tst-fphex-wide.
57346 * stdio-common/tst-fphex.c: Define a few macros to make the
57347 test reusable. Use them.
57348 * stdio-common/tst-fphex-wide.c: New file.
57349
57350 2012-03-08 Joseph Myers <joseph@codesourcery.com>
57351
57352 [BZ #6911]
57353 * manual/macros.texi (gnusystems): New macro.
57354 (nongnusystems): Likewise.
57355 (gnulinuxhurdsystems): Likewise.
57356 (gnuhurdsystems): Likewise..
57357 (gnulinuxsystems): Likewise.
57358 * manual/charset.texi: Use new macros or @theglibc{} to refer to
57359 variants of the GNU system, not "GNU system".
57360 * manual/conf.texi: Likewise.
57361 * manual/errno.texi: Likewise. Update example of errno macro
57362 expansion.
57363 * manual/filesys.texi: Likewise.
57364 (getumask): Document as specific to GNU/Hurd.
57365 * manual/install.texi: Likewise. Reword some references to
57366 GNU/Linux.
57367 * manual/intro.texi: Likewise.
57368 * manual/io.texi: Likewise.
57369 (File Name Portability): Detail which constraints are inapplicable
57370 to all GNU systems and which are only inapplicable to GNU/Hurd.
57371 * manual/job.texi: Likewise.
57372 * manual/llio.texi: Likewise.
57373 (O_NOCTTY): Document as present on GNU/Linux.
57374 * manual/maint.texi: Likewise.
57375 * manual/memory.texi: Likewise.
57376 * manual/pattern.texi: Likewise.
57377 * manual/pipe.texi: Likewise.
57378 * manual/process.texi: Likewise.
57379 * manual/resource.texi: Likewise.
57380 (RUSAGE_CHILDREN): Remove statement about specifying a particular
57381 child on GNU/Hurd.
57382 * manual/setjmp.texi: Likewise.
57383 * manual/signal.texi: Likewise.
57384 * manual/startup.texi: Likewise.
57385 * manual/stdio.texi: Likewise.
57386 * manual/terminal.texi: Likewise.
57387 (ONLCR): Document as POSIX.
57388 (OXTABS): Document availability on GNU/Linux as XTABS.
57389 (ONOEOT): Document availability separately from other bits.
57390 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
57391 * manual/time.texi: Likewise.
57392 * manual/users.texi: Likewise.
57393 * INSTALL: Regenerated.
57394 * sysdeps/gnu/errlist.c: Regenerated.
57395
57396 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
57397 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
57398 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
57399 puts.
57400 * configure: Regenerated.
57401
57402 2012-03-07 Joseph Myers <joseph@codesourcery.com>
57403
57404 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
57405 default includes instead of AC_HEADER_CHECK.
57406 * sysdeps/i386/configure: Regenerated.
57407
57408 [BZ #10716]
57409 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
57410 * math/s_cacoshf.c (__cacoshf): Likewise.
57411 * math/s_cacoshl.c (__cacoshl): Likewise.
57412 * math/s_casinh.c (__casinh): Set signs of result from argument.
57413 * math/s_casinhf.c (__casinhf): Likewise.
57414 * math/s_casinhl.c (__casinhl): Likewise.
57415 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
57416 (casinh_test): Add more tests.
57417 * sysdeps/i386/fpu/libm-test-ulps: Update.
57418 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57419
57420 2012-03-07 Ulrich Drepper <drepper@gmail.com>
57421
57422 * po/zh_TW.po: Update from translation team.
57423
57424 * login/Makefile (distribute): Remove variable.
57425 * catgets/Makefile: Likewise.
57426 * mach/Makefile: Likewise.
57427 * malloc/Makefile: Likewise.
57428 * misc/Makefile: Likewise.
57429 * iconv/Makefile: Likewise.
57430 * nscd/Makefile: Likewise.
57431 * hurd/Makefile: Likewise.
57432 * manual/Makefile: Likewise.
57433 * locale/Makefile: Likewise.
57434 * intl/Makefile: Likewise.
57435 * conform/Makefile: Likewise.
57436 * nss/Makefile: Likewise.
57437 * time/Makefile: Likewise.
57438 * soft-fp/Makefile: Likewise.
57439 * dirent/Makefile: Likewise.
57440 * gmon/Makefile: Likewise.
57441 * po/Makefile: Likewise.
57442 * rt/Makefile: Likewise.
57443 * socket/Makefile: Likewise.
57444 * math/Makefile: Likewise.
57445 * signal/Makefile: Likewise.
57446 * debug/Makefile: Likewise.
57447 * elf/Makefile: Likewise.
57448 * timezone/Makefile: Likewise.
57449 * stdlib/Makefile: Likewise.
57450 * iconvdata/Makefile: Likewise.
57451 * sunrpc/Makefile: Likewise.
57452 * io/Makefile: Likewise.
57453 * argp/Makefile: Likewise.
57454 * inet/Makefile: Likewise.
57455 * hesiod/Makefile: Likewise.
57456 * grp/Makefile: Likewise.
57457 * csu/Makefile: Likewise.
57458 * wctype/Makefile: Likewise.
57459 * crypt/Makefile: Likewise.
57460 * libio/Makefile: Likewise.
57461 * string/Makefile: Likewise.
57462 * nis/Makefile: Likewise.
57463 * resolv/Makefile: Likewise.
57464 * stdio-common/Makefile: Likewise.
57465 * wcsmbs/Makefile: Likewise.
57466 * dlfcn/Makefile: Likewise.
57467 * posix/Makefile: Likewise.
57468
57469 [BZ #6959]
57470 * timezone/Makefile: Don't install timezone files, just the programs
57471 and scripts.
57472
57473 2012-03-06 Ulrich Drepper <drepper@gmail.com>
57474
57475 * nss/databases.def: Add missing gshadow entry.
57476
57477 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
57478
57479 2012-03-06 Marek Polacek <polacek@redhat.com>
57480
57481 [BZ #13726]
57482 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
57483 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
57484 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
57485 * stdio-common/tst-long-dbl-fphex.c: New file.
57486
57487 2012-03-06 David S. Miller <davem@davemloft.net>
57488
57489 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
57490 (set_obp_int): New function.
57491 (get_obp_int): New function.
57492 (__get_clockfreq_via_dev_openprom): Likewise.
57493 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
57494 Avoid unused variable warnings on 'val' and use builtin_expect.
57495 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
57496 __builtin_expect.
57497 (INLINE_CLONE_SYSCALL): Likewise.
57498
57499 2012-03-05 David S. Miller <davem@davemloft.net>
57500
57501 * sysdeps/sparc/fpu/libm-test-ulps: Update.
57502
57503 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
57504
57505 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57506
57507 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
57508 only for |x| >= 40.
57509 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
57510
57511 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
57512
57513 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
57514 Replace gettimeofday with __vdso_gettimeofday.
57515
57516 * sysdeps/unix/sysv/linux/x86_64/init-first.c
57517 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
57518 __vdso_clock_gettime and __vdso_getcpu.
57519
57520 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
57521 time with __vdso_time.
57522
57523 2012-03-05 Joseph Myers <joseph@codesourcery.com>
57524
57525 * manual/lang.texi (size_t): Note types to which size_t may be
57526 equivalent with the GNU C Library, but do not describe when
57527 differences between them are significant.
57528
57529 2012-03-05 Andreas Jaeger <aj@suse.de>
57530
57531 * sysdeps/i386/fpu/libm-test-ulps: Update.
57532
57533 2012-03-05 Joseph Myers <joseph@codesourcery.com>
57534
57535 [BZ #3976]
57536 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
57537 (__ieee754_pow): Save and restore rounding mode and use
57538 round-to-nearest for main computations.
57539 * math/libm-test.inc (pow_test_tonearest): New function.
57540 (pow_test_towardzero): Likewise.
57541 (pow_test_downward): Likewise.
57542 (pow_test_upward): Likewise.
57543 (main): Call the new functions.
57544 * sysdeps/i386/fpu/libm-test-ulps: Update.
57545 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57546
57547 [BZ #3976]
57548 * math/libm-test.inc (cosh_test_tonearest): New function.
57549 (cosh_test_towardzero): Likewise.
57550 (cosh_test_downward): Likewise.
57551 (cosh_test_upward): Likewise.
57552 (sinh_test_tonearest): Likewise.
57553 (sinh_test_towardzero): Likewise.
57554 (sinh_test_downward): Likewise.
57555 (sinh_test_upward): Likewise.
57556 (main): Call the new functions.
57557 * sysdeps/i386/fpu/libm-test-ulps: Update.
57558 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57559
57560 2012-03-05 Tom de Vries <tom@codesourcery.com>
57561
57562 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
57563 default stack guard is set in last bytes.
57564 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
57565
57566 2012-03-05 Kees Cook <keescook@chromium.org>
57567
57568 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
57569
57570 [BZ #13656]
57571 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
57572 possibly allocate from heap instead of stack.
57573 * stdio-common/bug-vfprintf-nargs.c: New file.
57574 * stdio-common/Makefile (tests): Add nargs overflow test.
57575
57576 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
57577
57578 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57579
57580 2012-03-03 Marek Polacek <polacek@redhat.com>
57581
57582 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
57583 * math/math_private.h: Likewise.
57584 * stdlib/tst-strtod.c: Likewise.
57585 * sysdeps/i386/i486/bits/atomic.h: Likewise.
57586 * sysdeps/x86_64/bits/atomic.h: Likewise.
57587
57588 2012-03-02 David S. Miller <davem@davemloft.net>
57589
57590 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
57591 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
57592 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
57593 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
57594 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
57595 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
57596 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
57597 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
57598
57599 2012-03-02 Roland McGrath <roland@hack.frob.com>
57600
57601 [BZ #13792]
57602 * manual/examples/README: New file, says the example source files
57603 can be used under GPL>=2.
57604 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
57605 line containing just "*/".
57606 * manual/examples/add.c: Add copyright header (GPL>=2).
57607 * manual/examples/argp-ex1.c: Likewise.
57608 * manual/examples/argp-ex2.c: Likewise.
57609 * manual/examples/argp-ex3.c: Likewise.
57610 * manual/examples/argp-ex4.c: Likewise.
57611 * manual/examples/atexit.c: Likewise.
57612 * manual/examples/db.c: Likewise.
57613 * manual/examples/dir.c: Likewise.
57614 * manual/examples/dir2.c: Likewise.
57615 * manual/examples/execinfo.c: Likewise.
57616 * manual/examples/filecli.c: Likewise.
57617 * manual/examples/filesrv.c: Likewise.
57618 * manual/examples/fmtmsgexpl.c: Likewise.
57619 * manual/examples/genpass.c: Likewise.
57620 * manual/examples/inetcli.c: Likewise.
57621 * manual/examples/inetsrv.c: Likewise.
57622 * manual/examples/isockad.c: Likewise.
57623 * manual/examples/longopt.c: Likewise.
57624 * manual/examples/memopen.c: Likewise.
57625 * manual/examples/memstrm.c: Likewise.
57626 * manual/examples/mkfsock.c: Likewise.
57627 * manual/examples/mkisock.c: Likewise.
57628 * manual/examples/mygetpass.c: Likewise.
57629 * manual/examples/pipe.c: Likewise.
57630 * manual/examples/popen.c: Likewise.
57631 * manual/examples/rprintf.c: Likewise.
57632 * manual/examples/search.c: Likewise.
57633 * manual/examples/select.c: Likewise.
57634 * manual/examples/setjmp.c: Likewise.
57635 * manual/examples/sigh1.c: Likewise.
57636 * manual/examples/sigusr.c: Likewise.
57637 * manual/examples/stpcpy.c: Likewise.
57638 * manual/examples/strdupa.c: Likewise.
57639 * manual/examples/strftim.c: Likewise.
57640 * manual/examples/strncat.c: Likewise.
57641 * manual/examples/subopt.c: Likewise.
57642 * manual/examples/swapcontext.c: Likewise.
57643 * manual/examples/termios.c: Likewise.
57644 * manual/examples/testopt.c: Likewise.
57645 * manual/examples/testpass.c: Likewise.
57646 * manual/examples/timeval_subtract.c: Likewise.
57647
57648 [BZ #13792]
57649 * manual/time.texi (Elapsed Time): Move timeval_subtract example
57650 function to ...
57651 * manual/timeval_subtract.c.texi: ... here, new file.
57652
57653 2012-03-02 David S. Miller <davem@davemloft.net>
57654
57655 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
57656
57657 2012-03-02 Joseph Myers <joseph@codesourcery.com>
57658
57659 [BZ #3976]
57660 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
57661 (__sin): Save and restore rounding mode and use round-to-nearest
57662 for all computations.
57663 (__cos): Save and restore rounding mode and use round-to-nearest
57664 for all computations.
57665 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
57666 <fenv.h>.
57667 (tan): Save and restore rounding mode and use round-to-nearest for
57668 all computations.
57669 * math/libm-test.inc (cos_test_tonearest): New function.
57670 (cos_test_towardzero): Likewise.
57671 (cos_test_downward): Likewise.
57672 (cos_test_upward): Likewise.
57673 (sin_test_tonearest): Likewise.
57674 (sin_test_towardzero): Likewise.
57675 (sin_test_downward): Likewise.
57676 (sin_test_upward): Likewise.
57677 (tan_test_tonearest): Likewise.
57678 (tan_test_towardzero): Likewise.
57679 (tan_test_downward): Likewise.
57680 (tan_test_upward): Likewise.
57681 (main): Call the new functions.
57682 * sysdeps/i386/fpu/libm-test-ulps: Update.
57683 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57684
57685 [BZ #10135]
57686 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
57687 small n, then large n, before computing and testing k+n.
57688 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
57689 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
57690 Likewise.
57691 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
57692 Likewise.
57693 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
57694 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
57695 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
57696 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
57697 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
57698 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
57699 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
57700 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
57701 * math/libm-test.inc (scalbn_test): Add more tests.
57702 (scalbln_test): Likewise.
57703
57704 * manual/filesys.texi (mode_t): Describe constraints on size and
57705 signedness, not exact equivalence to a particular type.
57706 (ino_t): Likewise.
57707 (ino64_t): Likewise.
57708 (dev_t): Likewise.
57709 (nlink_t): Likewise.
57710 (blkcnt_t): Likewise.
57711 (blkcnt64_t): Likewise.
57712 * manual/llio.texi (off_t): Likewise.
57713
57714 [BZ #3976]
57715 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
57716 (__ieee754_exp): Save and restore rounding mode and use
57717 round-to-nearest for all computations.
57718 * math/libm-test.inc (exp_test_tonearest): New function.
57719 (exp_test_towardzero): Likewise.
57720 (exp_test_downward): Likewise.
57721 (exp_test_upward): Likewise.
57722 (main): Call the new functions.
57723 * sysdeps/i386/fpu/libm-test-ulps: Update.
57724 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57725
57726 2012-03-01 Chris Demetriou <cgd@google.com>
57727
57728 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
57729 have predictable order.
57730
57731 2012-03-01 David S. Miller <davem@davemloft.net>
57732
57733 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
57734
57735 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
57736 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
57737 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
57738 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
57739
57740 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
57741 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
57742 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
57743 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
57744 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
57745 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
57746 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
57747 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
57748 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
57749
57750 * sysdeps/sparc/fpu/libm-test-ulps: Update.
57751
57752 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
57753 * sysdeps/sparc/fpu/libm-test-ulps: to here.
57754 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
57755
57756 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
57757 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
57758 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
57759 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
57760 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
57761 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
57762 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
57763 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
57764 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
57765 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
57766 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
57767 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
57768 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
57769 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
57770 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
57771 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
57772 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
57773 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
57774 * sysdeps/sparc/elf/configure: Regenerated.
57775
57776 2012-03-01 Joseph Myers <joseph@codesourcery.com>
57777
57778 * configure.in (AS, LD): Require binutils 2.20 or later.
57779 * configure: Regenerated.
57780 * manual/install.texi (Tools for Compilation): Give binutils 2.20
57781 as required minimum version.
57782 * INSTALL: Regenerated.
57783
57784 [BZ #2541]
57785 [BZ #4108]
57786 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
57787 before squaring exponent.
57788 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
57789 bottom long double and 27 bits of top long double before squaring
57790 exponent.
57791 * math/libm-test.inc (erfc_test): Add more tests.
57792 * sysdeps/i386/fpu/libm-test-ulps: Update.
57793 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
57794 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57795
57796 2012-03-01 Kai Tietz <ktietz@redhat.com>
57797
57798 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
57799 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
57800 containing bit-fields.
57801 * soft-fp/extended.h (_FP_UNION_E): Likewise.
57802 * soft-fp/single.h (_FP_UNION_S): Likewise.
57803 * soft-fp/double.h (_FP_UNION_D): Likewise.
57804
57805 2012-02-29 Joseph Myers <joseph@codesourcery.com>
57806
57807 [BZ #13786]
57808 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
57809 not include ../strcmp.S.
57810 [USE_AS_STRNCASECMP_L]: Likewise.
57811 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
57812 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
57813 * sysdeps/i386/i686/multiarch/strncase_l-c.c
57814 (__strncasecmp_l_ia32): Define as alias to
57815 __strncasecmp_l_nonascii.
57816
57817 [BZ #5794]
57818 * math/libm-test.inc (expm1_test): Add test for bug 5794.
57819 * sysdeps/i386/fpu/libm-test-ulps: Update.
57820 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57821
57822 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
57823 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57824
57825 2012-02-29 Jeff Law <law@redhat.com>
57826
57827 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
57828 out of bounds read.
57829
57830 2012-02-29 Marek Polacek <polacek@redhat.com>
57831
57832 [BZ #13706]
57833 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
57834 * elf/Makefile: Add rules to run tst-unused-dep.out.
57835
57836 2012-02-28 David S. Miller <davem@davemloft.net>
57837
57838 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
57839 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
57840 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
57841 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
57842 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
57843 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
57844
57845 2012-02-29 Joseph Myers <joseph@codesourcery.com>
57846
57847 * math/libm-test.inc (llround_test): Move one test from
57848 lround_test. Use TEST_f_L in moved test.
57849 (lround_test): Move misplaced test to llround_test. Add testcase
57850 from bug 2561.
57851
57852 2012-02-28 Ulrich Drepper <drepper@gmail.com>
57853
57854 * sysdeps/x86_64/fpu/e_expf.S: New file.
57855 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
57856
57857 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
57858
57859 [BZ #13637]
57860 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
57861 of remain_len that may cause incomplete multi-byte character and
57862 false match.
57863 * posix/bug-regex33.c: New file.
57864 * posix/Makefile (tests): Add bug-regex33.
57865
57866 2012-02-28 Joseph Myers <joseph@codesourcery.com>
57867
57868 * manual/macros.texi: New file.
57869 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
57870 * manual/libc.texinfo: Include macros.texi.
57871 * manual/creatute.texi: Likewise.
57872 * manual/install.texi: Likewise.
57873 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
57874 @glibcadj{} in references to the GNU C Library.
57875 * manual/charset.texi: Likewise.
57876 * manual/conf.texi: Likewise.
57877 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
57878 when not using those macros.
57879 * manual/creature.texi: Likewise.
57880 * manual/crypt.texi: Likewise.
57881 * manual/errno.texi: Likewise.
57882 * manual/filesys.texi: Likewise.
57883 * manual/header.texi: Likewise.
57884 * manual/install.texi: Likewise.
57885 * manual/intro.texi: Likewise.
57886 * manual/io.texi: Likewise.
57887 * manual/job.texi: Likewise.
57888 * manual/lang.texi: Likewise.
57889 * manual/libc.texiinfo: Likewise.
57890 * manual/llio.texi: Likewise.
57891 * manual/locale.texi: Likewise.
57892 * manual/maint.texi: Likewise.
57893 * manual/math.texi: Likewise.
57894 * manual/memory.texi: Likewise.
57895 * manual/message.texi: Likewise.
57896 * manual/nss.texi: Likewise.
57897 * manual/pattern.texi: Likewise.
57898 * manual/process.texi: Likewise.
57899 * manual/resource.texi: Likewise.
57900 * manual/search.texi: Likewise.
57901 * manual/setjmp.texi: Likewise.
57902 * manual/signal.texi: Likewise.
57903 * manual/socket.texi: Likewise.
57904 * manual/startup.texi: Likewise.
57905 * manual/stdio.texi: Likewise.
57906 * manual/string.texi: Likewise.
57907 * manual/sysinfo.texi: Likewise.
57908 * manual/syslog.texi: Likewise.
57909 * manual/terminal.texi: Likewise.
57910 * manual/time.texi: Likewise.
57911 * manual/users.texi: Likewise.
57912 * INSTALL: Regenerated.
57913 * NOTES: Regenerated.
57914 * sysdeps/gnu/errlist.c: Regenerated.
57915
57916 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
57917
57918 * include/dirent.h: Include <dirstream.h> before
57919 <dirent/dirent.h>.
57920
57921 2012-02-28 David S. Miller <davem@davemloft.net>
57922
57923 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
57924 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
57925 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
57926 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
57927
57928 2012-02-27 David S. Miller <davem@davemloft.net>
57929
57930 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
57931 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
57932 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
57933 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
57934
57935 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
57936 frame pointer instead of stack pointer relative arg slot.
57937 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
57938 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
57939 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
57940
57941 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
57942
57943 [BZ #3992]
57944 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
57945
57946 2012-02-27 David S. Miller <davem@davemloft.net>
57947
57948 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
57949 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
57950 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
57951 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
57952 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
57953 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
57954 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
57955 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
57956
57957 2012-02-27 Joseph Myers <joseph@codesourcery.com>
57958
57959 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
57960 later. Allow versions 5-9.
57961 * configure: Regenerated.
57962 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
57963 required minimum version and 4.6 as recommended version. Do not
57964 mention bugs in GCC 2.7 and 2.8.
57965 * INSTALL: Regenerated.
57966
57967 2012-02-27 David S. Miller <davem@davemloft.net>
57968
57969 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
57970 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
57971 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
57972 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
57973 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
57974 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
57975 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
57976 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
57977
57978 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
57979 manipulate bits before adding and subtracting TWO112[sx].
57980 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
57981
57982 2012-02-27 Roland McGrath <roland@hack.frob.com>
57983
57984 [BZ #13775]
57985 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
57986 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
57987 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
57988 being in POSIX, because they are in 1003.1-2008.
57989
57990 * rt/tst-aio.c: Include <fcntl.h>.
57991 * rt/tst-aio7.c: Likewise.
57992 * rt/tst-aio64.c: Likewise.
57993
57994 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
57995
57996 2012-02-27 Joseph Myers <joseph@codesourcery.com>
57997
57998 * manual/install.texi (--with-headers): Describe headers as
57999 interface headers, not private headers.
58000 (Specific advice for GNU/Linux systems): Describe use of headers
58001 from "make headers_install", not private headers from older
58002 kernels.
58003 * INSTALL: Regenerated.
58004 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
58005 Change to 2.6.19.
58006 * sysdeps/unix/sysv/linux/configure: Regenerated.
58007
58008 * manual/llio.texi (fclean): Remove documentation.
58009
58010 * manual/Makefile (libc-texi-generated): New variable. Include
58011 version.texi.
58012 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
58013 $(libc-texi-generated), not duplicated list of files.
58014 (version.texi, stamp-version): New rules.
58015 (realclean): Remove $(libc-texi-generated), not individual files
58016 from that list. Do not remove dir-add.texinfo.
58017 * manual/libc.texinfo: Comment out uses of edition numbers and
58018 references to printed manual. Remove last-updated dates.
58019 (EDITION): Comment out.
58020 (ISBN): Likewise.
58021 (VERSION, UPDATED): Remove.
58022 (version.texi): Include.
58023
58024 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
58025
58026 * sysdeps/posix/spawni.c: Include <signal.h>.
58027 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
58028 * sysdeps/pthread/aio_fsync.c: Likewise.
58029
58030 2012-02-26 Ulrich Drepper <drepper@gmail.com>
58031
58032 * conform/Makefile (tests): Run only when not cross-compiling and
58033 when fast-check is not defined.
58034
58035 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
58036 * conform/data/limits.h-data: Fixes for POSIX2008.
58037 * conform/run-conformtest.sh: Run all tests.
58038 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
58039 headers.
58040 * include/bits/dlfcn.h: Likewise.
58041 * include/langinfo.h: Likewise.
58042 * include/monetary.h: Likewise.
58043 * include/sys/poll.h: Likewise.
58044
58045 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
58046 for __USE_GNU.
58047 * posix/spawn.h: Define __need_sigset_t.
58048 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
58049 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
58050 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
58051 to get sigevent_t only.
58052 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
58053 only for __USE_GNU.
58054 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
58055 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
58056 process_vm_writev only for __USE_GNU.
58057 * termios/termios.h: Declare tcgetsid also for POSIX2008.
58058
58059 * conform/Makefile: For now ignore errors from run-conformtest.
58060 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
58061 POSIX to avoid namespace pollution. Don't prepend headers.
58062 * conform/data/aio.h-data: Fixes for POSIX testing.
58063 * conform/data/fcntl.h-data: Likewise.
58064 * conform/data/glob.h-data: Likewise.
58065 * conform/data/grp.h-data: Likewise.
58066 * conform/data/pthread.h-data: Likewise.
58067 * conform/data/pwd.h-data: Likewise.
58068 * conform/data/signal.h-data: Likewise.
58069 * conform/data/spawn.h-data: Likewise.
58070 * conform/data/stdio.h-data: Likewise.
58071 * conform/data/stdlib.h-data: Likewise.
58072 * conform/data/stropts.h-data: Likewise.
58073 * conform/data/sys/mman.h-data: Likewise.
58074 * conform/data/sys/stat.h-data: Likewise.
58075 * conform/data/sys/types.h-data: Likewise.
58076 * conform/data/sys/wait.h-data: Likewise.
58077 * conform/data/time.h-data: Likewise.
58078 * conform/data/unistd.h-data: Likewise.
58079 * conform/data/utime.h-data: Likewise.
58080
58081 * io/sys/stat.h: fchmod was always in POSIX.
58082 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
58083 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
58084 * rt/aio.h: Define __need_timespec before including <time.h>.
58085 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
58086 struct. Add forward declaration of pthread_attr_t and use it in
58087 sigevent.
58088 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
58089 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
58090 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
58091 always remove CLK_TCK definition.
58092
58093 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
58094
58095 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
58096
58097 2012-02-25 Ulrich Drepper <drepper@gmail.com>
58098
58099 * conform/run-conformtest.sh: New file.
58100 * conform/Makefile: Run run-conformtest for tests.
58101 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
58102 support.
58103
58104 * conform/data/uchar.h-data: New file.
58105 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
58106 * conform/data/arpa/inet.h-data: Likewise.
58107 * conform/data/assert.h-data: Likewise.
58108 * conform/data/complex.h-data: Likewise.
58109 * conform/data/cpio.h-data: Likewise.
58110 * conform/data/ctype.h-data: Likewise.
58111 * conform/data/dirent.h-data: Likewise.
58112 * conform/data/dlfcn.h-data: Likewise.
58113 * conform/data/errno.h-data: Likewise.
58114 * conform/data/fcntl.h-data: Likewise.
58115 * conform/data/float.h-data: Likewise.
58116 * conform/data/fmtmsg.h-data: Likewise.
58117 * conform/data/fnmatch.h-data: Likewise.
58118 * conform/data/ftw.h-data: Likewise.
58119 * conform/data/glob.h-data: Likewise.
58120 * conform/data/grp.h-data: Likewise.
58121 * conform/data/iconv.h-data: Likewise.
58122 * conform/data/inttypes.h-data: Likewise.
58123 * conform/data/langinfo.h-data: Likewise.
58124 * conform/data/libgen.h-data: Likewise.
58125 * conform/data/limits.h-data: Likewise.
58126 * conform/data/locale.h-data: Likewise.
58127 * conform/data/math.h-data: Likewise.
58128 * conform/data/monetary.h-data: Likewise.
58129 * conform/data/mqueue.h-data: Likewise.
58130 * conform/data/ndbm.h-data: Likewise.
58131 * conform/data/net/if.h-data: Likewise.
58132 * conform/data/netdb.h-data: Likewise.
58133 * conform/data/netinet/in.h-data: Likewise.
58134 * conform/data/nl_types.h-data: Likewise.
58135 * conform/data/poll.h-data: Likewise.
58136 * conform/data/pthread.h-data: Likewise.
58137 * conform/data/pwd.h-data: Likewise.
58138 * conform/data/regex.h-data: Likewise.
58139 * conform/data/sched.h-data: Likewise.
58140 * conform/data/search.h-data: Likewise.
58141 * conform/data/semaphore.h-data: Likewise.
58142 * conform/data/setjmp.h-data: Likewise.
58143 * conform/data/signal.h-data: Likewise.
58144 * conform/data/spawn.h-data: Likewise.
58145 * conform/data/stdarg.h-data: Likewise.
58146 * conform/data/stdio.h-data: Likewise.
58147 * conform/data/stdlib.h-data: Likewise.
58148 * conform/data/string.h-data: Likewise.
58149 * conform/data/strings.h-data: Likewise.
58150 * conform/data/stropts.h-data: Likewise.
58151 * conform/data/sys/ipc.h-data: Likewise.
58152 * conform/data/sys/mman.h-data: Likewise.
58153 * conform/data/sys/msg.h-data: Likewise.
58154 * conform/data/sys/resource.h-data: Likewise.
58155 * conform/data/sys/select.h-data: Likewise.
58156 * conform/data/sys/sem.h-data: Likewise.
58157 * conform/data/sys/shm.h-data: Likewise.
58158 * conform/data/sys/socket.h-data: Likewise.
58159 * conform/data/sys/stat.h-data: Likewise.
58160 * conform/data/sys/statvfs.h-data: Likewise.
58161 * conform/data/sys/time.h-data: Likewise.
58162 * conform/data/sys/timeb.h-data: Likewise.
58163 * conform/data/sys/times.h-data: Likewise.
58164 * conform/data/sys/types.h-data: Likewise.
58165 * conform/data/sys/uio.h-data: Likewise.
58166 * conform/data/sys/un.h-data: Likewise.
58167 * conform/data/sys/utsname.h-data: Likewise.
58168 * conform/data/sys/wait.h-data: Likewise.
58169 * conform/data/syslog.h-data: Likewise.
58170 * conform/data/tar.h-data: Likewise.
58171 * conform/data/termios.h-data: Likewise.
58172 * conform/data/utime.h-data: Likewise.
58173 * conform/data/utmpx.h-data: Likewise.
58174 * conform/data/varargs.h-data: Likewise.
58175 * conform/data/wchar.h-data: Likewise.
58176 * conform/data/wctype.h-data: Likewise.
58177 * conform/data/wordexp.h-data: Likewise.
58178
58179 * include/stropts.h: New file.
58180 * include/uchar.h: New file.
58181 * include/aio.h: Changes to allow conformtest.pl to use the headers.
58182 * include/assert.h: Likewise.
58183 * include/ctype.h: Likewise.
58184 * include/dirent.h: Likewise.
58185 * include/dlfcn.h: Likewise.
58186 * include/fcntl.h: Likewise.
58187 * include/fnmatch.h: Likewise.
58188 * include/glob.h: Likewise.
58189 * include/grp.h: Likewise.
58190 * include/libio.h: Likewise.
58191 * include/locale.h: Likewise.
58192 * include/math.h: Likewise.
58193 * include/net/if.h: Likewise.
58194 * include/netdb.h: Likewise.
58195 * include/netinet/in.h: Likewise.
58196 * include/pthread.h: Likewise.
58197 * include/pwd.h: Likewise.
58198 * include/regex.h: Likewise.
58199 * include/sched.h: Likewise.
58200 * include/search.h: Likewise.
58201 * include/setjmp.h: Likewise.
58202 * include/signal.h: Likewise.
58203 * include/stdio.h: Likewise.
58204 * include/stdlib.h: Likewise.
58205 * include/string.h: Likewise.
58206 * include/sys/cdefs.h: Likewise.
58207 * include/sys/mman.h: Likewise.
58208 * include/sys/msg.h: Likewise.
58209 * include/sys/resource.h: Likewise.
58210 * include/sys/select.h: Likewise.
58211 * include/sys/socket.h: Likewise.
58212 * include/sys/stat.h: Likewise.
58213 * include/sys/statvfs.h: Likewise.
58214 * include/sys/time.h: Likewise.
58215 * include/sys/times.h: Likewise.
58216 * include/sys/uio.h: Likewise.
58217 * include/sys/utsname.h: Likewise.
58218 * include/sys/wait.h: Likewise.
58219 * include/termios.h: Likewise.
58220 * include/time.h: Likewise.
58221 * include/ulimit.h: Likewise.
58222 * include/unistd.h: Likewise.
58223 * include/utime.h: Likewise.
58224 * include/wchar.h: Likewise.
58225 * include/wctype.h: Likewise.
58226 * include/wordexp.h: Likewise.
58227
58228 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
58229
58230 * time/time.h: TIME_UTC must be a macro.
58231 Make timespec_get available for ISO C11 only as well.
58232
58233 2012-02-24 Ulrich Drepper <drepper@gmail.com>
58234
58235 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
58236 Reported by Peng Haitao <penght@cn.fujitsu.com>.
58237
58238 2012-02-24 Joseph Myers <joseph@codesourcery.com>
58239
58240 * configure.in: Use -o not -a in test for unsupported multi-arch.
58241
58242 2012-02-24 Joseph Myers <joseph@codesourcery.com>
58243
58244 * manual/texinfo.tex: Update to version 2012-01-19.16.
58245
58246 2012-02-24 Joseph Myers <joseph@codesourcery.com>
58247
58248 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
58249
58250 2012-02-24 Roland McGrath <roland@hack.frob.com>
58251
58252 [BZ #13738]
58253 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
58254 * manual/fdl-1.3.texi: New file.
58255 * manual/fdl-1.1.texi: File removed.
58256
58257 [BZ #13738]
58258 * manual/libc.texinfo (FDL_VERSION): New @set.
58259 Use it for mention of FDL in cover text.
58260 (Documentation License): Use it in @include file name.
58261
58262 2012-02-22 Joseph Myers <joseph@codesourcery.com>
58263 Roland McGrath <roland@hack.frob.com>
58264
58265 [BZ #5461]
58266 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
58267 (not LONG_LONG_MAX and LONG_LONG_MIN.
58268 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
58269 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
58270 name.
58271 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
58272
58273 2012-02-22 Joseph Myers <joseph@codesourcery.com>
58274
58275 [BZ #2547]
58276 [BZ #11365]
58277 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
58278 manipulate bits before adding and subtracting TWO23[sx].
58279 * math/libm-test.inc (nearbyint_test): Add more tests.
58280
58281 2012-02-22 Joseph Myers <joseph@codesourcery.com>
58282
58283 [BZ #2548]
58284 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
58285 bits before adding and subtracting TWO23[sx].
58286 * math/libm-test.inc (rint_test): Add more tests.
58287 (rint_test_tonearest): Likewise.
58288 (rint_test_towardzero): Likewise.
58289 (rint_test_downward): Likewise.
58290 (rint_test_upward: Likewise.
58291
58292 2012-02-22 Joseph Myers <joseph@codesourcery.com>
58293
58294 [BZ #10110]
58295 * include/stdc-predef.h: New file. Extracted from features.h.
58296 * include/features.h: Include stdc-predef.h.
58297 * Makefile (headers): Add stdc-predef.h.
58298 * CONFORMANCE (Compiler limitations): Update.
58299
58300 2012-02-22 Joseph Myers <joseph@codesourcery.com>
58301
58302 * manual/libc.texinfo (VERSION, UPDATED): Revert.
58303
58304 2012-02-21 David S. Miller <davem@davemloft.net>
58305
58306 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
58307 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
58308
58309 2012-02-20 David S. Miller <davem@davemloft.net>
58310
58311 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
58312 using a normal save/restore sequence, rather than allocating a
58313 dummy stack frame just to store a frame pointer and restore.
58314 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
58315
58316 2012-02-21 Joseph Myers <joseph@codesourcery.com>
58317
58318 * manual/install.texi: Fix stray word in line-wrapped comment.
58319
58320 2012-02-20 David S. Miller <davem@davemloft.net>
58321
58322 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
58323 both binutils and gcc support GOTDATA.
58324
58325 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
58326 "rd %pc" in the PIC register setup sequences.
58327
58328 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
58329 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
58330 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
58331 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
58332 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
58333 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
58334 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
58335 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
58336 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
58337 (SYSCALL_ERROR_HANDLER): Likewise.
58338 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
58339 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
58340 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
58341 (SYSCALL_ERROR_HANDLER): Likewise.
58342
58343 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
58344 (HAVE_GCC_GOTDATA): New.
58345 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
58346 relocation support in both binutils and gcc.
58347 * sysdeps/sparc/elf/configure: Regenerate.
58348
58349 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
58350 * sysdeps/sparc/sparc32/elf/configure: Delete.
58351 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
58352 * sysdeps/sparc/sparc64/elf/configure: Delete.
58353 * sysdeps/sparc/elf/configure.in: New file.
58354 * sysdeps/sparc/elf/configure: Generate.
58355
58356 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
58357 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
58358 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
58359 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
58360 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
58361
58362 2012-02-21 Joseph Myers <joseph@codesourcery.com>
58363
58364 * manual/install.texi: Do not mention specific glibc version
58365 numbers.
58366 * manual/libc.texinfo (VERSION, UPDATED): Update.
58367 (@copying): Use @copyright{} and range of years.
58368
58369 2012-02-21 Joseph Myers <joseph@codesourcery.com>
58370
58371 [BZ #13695]
58372 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
58373 [crti.S not in sysdirs] (generated): Do not append.
58374 [crti.S not in sysdirs] (omit-deps): Likewise.
58375 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
58376 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
58377 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
58378 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
58379 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
58380 Likewise.
58381 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
58382 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
58383 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
58384 * csu/defs.awk: Remove file.
58385 * sysdeps/generic/initfini.c: Likewise.
58386 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
58387 variable.
58388 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
58389 Likewise.
58390
58391 2012-02-20 Joseph Myers <joseph@codesourcery.com>
58392
58393 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
58394 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
58395 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
58396 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
58397 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
58398 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
58399 <bits/epoll.h>.
58400 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
58401 (__EPOLL_PACKED): Define to empty if not defined by
58402 <bits/epoll.h>.
58403 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
58404 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58405 bits/epoll.h.
58406
58407 2012-02-20 Joseph Myers <joseph@codesourcery.com>
58408
58409 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
58410 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
58411 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
58412 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
58413 <bits/timerfd.h>.
58414 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
58415 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58416 bits/timerfd.h.
58417
58418 2012-02-20 Joseph Myers <joseph@codesourcery.com>
58419
58420 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
58421 in C locale.
58422 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
58423 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
58424 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
58425 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58426
58427 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
58428
58429 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
58430 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
58431
58432 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
58433
58434 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
58435 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
58436 defined.
58437 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
58438 Likewise.
58439 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
58440 entry for 2.16.
58441
58442 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
58443
58444 * math/w_acos.c: Use non-signaling floating-point comparisons.
58445 * math/w_acosf.c: Likewise.
58446 * math/w_acosh.c: Likewise.
58447 * math/w_acoshf.c: Likewise.
58448 * math/w_acoshl.c: Likewise.
58449 * math/w_acosl.c: Likewise.
58450 * math/w_asin.c: Likewise.
58451 * math/w_asinf.c: Likewise.
58452 * math/w_asinl.c: Likewise.
58453 * math/w_atanh.c: Likewise.
58454 * math/w_atanhf.c: Likewise.
58455 * math/w_atanhl.c: Likewise.
58456 * math/w_exp2.c: Likewise.
58457 * math/w_exp2f.c: Likewise.
58458 * math/w_exp2l.c: Likewise.
58459 * math/w_j0.c: Likewise.
58460 * math/w_j0f.c: Likewise.
58461 * math/w_j0l.c: Likewise.
58462 * math/w_j1.c: Likewise.
58463 * math/w_j1f.c: Likewise.
58464 * math/w_j1l.c: Likewise.
58465 * math/w_jn.c: Likewise.
58466 * math/w_jnf.c: Likewise.
58467 * math/w_log.c: Likewise.
58468 * math/w_log10.c: Likewise.
58469 * math/w_log10f.c: Likewise.
58470 * math/w_log10l.c: Likewise.
58471 * math/w_log2.c: Likewise.
58472 * math/w_log2f.c: Likewise.
58473 * math/w_log2l.c: Likewise.
58474 * math/w_logf.c: Likewise.
58475 * math/w_logl.c: Likewise.
58476 * math/w_sqrt.c: Likewise.
58477 * math/w_sqrtf.c: Likewise.
58478 * math/w_sqrtl.c: Likewise.
58479 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
58480 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
58481 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
58482 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
58483 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
58484
58485 2012-02-19 Joseph Myers <joseph@codesourcery.com>
58486
58487 [BZ #9739]
58488 * manual/string.texi (strnlen): Use correct parameter name in
58489 equivalent expression.
58490
58491 2012-02-19 Joseph Myers <joseph@codesourcery.com>
58492
58493 [BZ #11174]
58494 * manual/users.texi (seteuid): Consistently use neweuid for
58495 argument name.
58496
58497 2012-02-19 Joseph Myers <joseph@codesourcery.com>
58498
58499 [BZ #13704]
58500 * manual/nss.texi (Services in the NSS configuration): Correct
58501 list of services in example configuration file.
58502
58503 2012-02-19 Nick Bowler <nbowler@draconx.ca>
58504
58505 [BZ #11322]
58506 * manual/arith.texi: Remove statements about negative zero
58507 behaving identically to zero.
58508
58509 2012-02-18 Joseph Myers <joseph@codesourcery.com>
58510
58511 [BZ #5993]
58512 * manual/install.texi: Do not document upgrading from libc5.
58513
58514 2012-02-18 Joseph Myers <joseph@codesourcery.com>
58515
58516 [BZ #4596]
58517 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
58518
58519 2012-02-18 David S. Miller <davem@davemloft.net>
58520
58521 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
58522 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
58523 %o7 across the call.
58524 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
58525 instead.
58526 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
58527 SETUP_PIC_REG_LEAF.
58528 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
58529 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
58530 * sysdeps/sparc/crtn.S: Likewise.
58531
58532 2012-02-17 Ulrich Drepper <drepper@gmail.com>
58533
58534 * aout/Makefile: Remove.
58535
58536 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
58537
58538 [BZ #13058]
58539 * manual/examples/argp-ex1.c (main): Format definition in GNU
58540 style.
58541 * manual/examples/argp-ex2.c (main): Likewise.
58542 * manual/examples/argp-ex3.c (main): Likewise.
58543 * manual/examples/argp-ex4.c (main): Likewise.
58544 * manual/examples/longopt.c (main): Use new-style prototype
58545 definition.
58546 * manual/examples/strncat.c (main): Specify return type and use
58547 (void) for arguments.
58548 * manual/examples/subopt.c (main): Use char **argv argument.
58549
58550 2012-02-17 Joseph Myers <joseph@codesourcery.com>
58551
58552 [BZ #5077]
58553 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
58554 rounding modes.
58555
58556 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
58557
58558 [BZ #6907]
58559 * manual/string.texi (strchr): Change when strchrnul is
58560 recommended.
58561
58562 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
58563
58564 [BZ #174]
58565 * manual/locale.texi (setlocale): Document LOCPATH.
58566
58567 2012-02-17 Joseph Myers <joseph@codesourcery.com>
58568
58569 [BZ #10210]
58570 * manual/process.texi (execle): Move @dots{} before last argument.
58571
58572 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
58573
58574 [BZ #12047]
58575 * manual/charset.texi (Generic Charset Conversion): Fix typo
58576 (LC_TYPE -> LC_CTYPE).
58577
58578 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
58579
58580 [BZ #5805]
58581 * manual/arith.texi (scalbn): Use @var{} on parameter names.
58582 (scalbnf): Likewise.
58583 (scalbnl): Likewise.
58584 (scalbln): Likewise.
58585 (scalblnf): Likewise.
58586 (scalblnl): Likewise.
58587 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
58588 (vwarnx): Likewise.
58589 (verr): Likewise.
58590 (verrx): Likewise.
58591 * manual/filesys.texi (telldir): Use braces around return type.
58592 * manual/llio.texi (mmap): Add space after comma.
58593 (mmap64): Likewise.
58594 * manual/math.texi (jn): Use @var{} on parameter names.
58595 (jnf): Likewise.
58596 (jnl): Likewise.
58597 (yn): Likewise.
58598 (ynf): Likewise.
58599 (ynl): Likewise.
58600 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
58601 line.
58602 * manual/resource.texi (ulimit): Use @dots{} instead of literal
58603 "...".
58604 (sched_get_priority_min): Remove semicolon on @deftypefun line.
58605 (sched_get_priority_max): Likewise.
58606 * manual/signal.texi (sigvec): Add space after comma.
58607 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
58608 names.
58609 (if_indextoname): Likewise.
58610 (if_freenameindex): Likewise.
58611 (sendto): Use ',' instead of '.' in prototype.
58612 * manual/startup.texi (syscall): Use @dots{} instead of literal
58613 "...".
58614 * manual/stdio.texi (__fpending): Separate initial words of
58615 paragraph from @deftypefun line.
58616 * manual/syslog.texi (syslog): Use @dots{} instead of literal
58617 "...".
58618 (vsyslog): Use @var{} on parameter names.
58619 * manual/terminal.texi (stty): Use @var{} on parameter names.
58620 * manual/users.texi (getutmp): Use @var{} on parameter names.
58621 (getutmpx): Likewise.
58622
58623 2012-02-17 Joseph Myers <joseph@codesourcery.com>
58624
58625 [BZ #6884]
58626 * manual/stdio.texi (fopen): Fix typos in description of
58627 ",ccs=STRING".
58628
58629 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
58630
58631 [BZ #4026]
58632 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
58633 get clock_id definition.
58634
58635 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
58636
58637 [BZ #4822]
58638 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
58639 (madvise): Cast every argument to void on its own.
58640
58641 2012-02-17 Joseph Myers <joseph@codesourcery.com>
58642
58643 [BZ #9902]
58644 * manual/startup.texi (Exit Status): Fix typo.
58645
58646 2012-02-17 Joseph Myers <joseph@codesourcery.com>
58647
58648 [BZ #10140]
58649 * manual/examples/argp-ex1.c: Include <stdlib.h>.
58650 * manual/examples/argp-ex2.c: Likewise.
58651 * manual/examples/argp-ex3.c: Likewise.
58652
58653 2012-02-16 Richard Henderson <rth@redhat.com>
58654
58655 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
58656 * sysdeps/s390/s390-32/initfini.c: Remove.
58657 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
58658 * sysdeps/s390/s390-64/initfini.c: Remove.
58659
58660 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
58661
58662 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
58663 compiler output for sysdeps/generic/initfini.c.
58664 * sysdeps/sh/elf/initfini.c: Remove file.
58665
58666 2012-02-16 David S. Miller <davem@davemloft.net>
58667
58668 [BZ #11494]
58669 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
58670
58671 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
58672 * sysdeps/sparc/crti.S: New file.
58673 * sysdeps/sparc/crtn.S: New file.
58674 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
58675 * sysdeps/sparc/sparc64/Makefile: Likewise.
58676
58677 2012-02-15 Mike Frysinger <vapier@gentoo.org>
58678
58679 [BZ #3335]
58680 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
58681
58682 2012-02-15 Roland McGrath <roland@hack.frob.com>
58683
58684 [BZ #4822]
58685 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
58686
58687 * mach/devstream.c (cookie_io_functions_t): Macro removed.
58688 (write, read, close): Likewise.
58689 Patch by Aurelien Jarno <aurelien@aurel32.net>.
58690
58691 2012-02-15 Joseph Myers <joseph@codesourcery.com>
58692
58693 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
58694 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
58695 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
58696 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
58697 <bits/signalfd.h>.
58698 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
58699 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58700 bits/signalfd.h.
58701
58702 2012-02-14 Marek Polacek <polacek@redhat.com>
58703
58704 * sysdeps/x86_64/crti.S: New file.
58705 * sysdeps/x86_64/crtn.S: New file.
58706 * sysdeps/x86_64/elf/initfini.c: Remove file.
58707
58708 2012-02-13 Joseph Myers <joseph@codesourcery.com>
58709
58710 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
58711 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
58712 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
58713 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
58714 <bits/inotify.h>.
58715 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
58716 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58717 bits/inotify.h.
58718
58719 2012-02-13 Joseph Myers <joseph@codesourcery.com>
58720
58721 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
58722 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
58723 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
58724 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
58725 <bits/eventfd.h>.
58726 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
58727 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58728 bits/eventfd.h.
58729
58730 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
58731
58732 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
58733 __feraiseexcept instead of feraiseexcept.
58734
58735 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
58736 nanosleep invocations.
58737 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
58738 strings, and add error checking for a nanosleep invocations.
58739
58740 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
58741
58742 Replace FSF snail mail address with URLs, as per GNU coding standards.
58743 Most of the snail mail addresses were wrong anyway, and omitting
58744 them makes the source code easier to maintain. Almost all of the
58745 changes are to license notices and to locale LC_IDENTIFICATION
58746 addresses, except for this one:
58747 * manual/libc.texinfo: In "Published by", give the FSF's URL,
58748 not its snail mail address.
58749
58750 2012-02-09 Richard Henderson <rth@twiddle.net>
58751
58752 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
58753 of kernel-features.h.
58754
58755 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
58756
58757 2012-02-08 Marek Polacek <polacek@redhat.com>
58758
58759 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
58760 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
58761 * sysdeps/gnu/_G_config.h: Likewise.
58762 * sysdeps/generic/_G_config.h: Likewise.
58763
58764 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
58765
58766 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
58767 tests.
58768 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58769
58770 * sysdeps/powerpc/powerpc32/crti.S: New file.
58771 * sysdeps/powerpc/powerpc32/crtn.S: New file.
58772 * sysdeps/powerpc/powerpc64/crti.S: New file.
58773 * sysdeps/powerpc/powerpc64/crtn.S: New file.
58774
58775 * Makeconfig (have-initfini): Don't set.
58776 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
58777 * configure.in (nopic_initfini): Don't substitute.
58778 * config.h.in (HAVE_INITFINI): Don't #undef.
58779 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
58780 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
58781
58782 2012-02-08 Joseph Myers <joseph@codesourcery.com>
58783
58784 Support crti.S and crtn.S provided directly by architectures.
58785 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
58786 [crti.S in sysdirs] (omit-deps): Likewise.
58787 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
58788 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
58789 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
58790 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
58791 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
58792 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
58793 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
58794 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
58795 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
58796 compiler output for sysdeps/generic/initfini.c.
58797 * sysdeps/i386/elf/Makefile: Remove file.
58798 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
58799
58800 2012-02-07 Marek Polacek <polacek@redhat.com>
58801
58802 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
58803 * sysdeps/gnu/_G_config.h: Likewise.
58804 * sysdeps/mach/hurd/_G_config.h: Likewise.
58805
58806 2012-02-07 Marek Polacek <polacek@redhat.com>
58807
58808 * math/Makefile (tests): Add tst-CMPLX2.
58809 * math/tst-CMPLX2.c: New file.
58810
58811 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
58812
58813 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
58814
58815 * math/libm-test.inc (jn_test): Add missing L suffix.
58816
58817 2012-02-06 Marek Polacek <polacek@redhat.com>
58818
58819 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
58820 * sysdeps/i386/fpu/e_powf.S: Likewise.
58821 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
58822 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
58823 * sysdeps/i386/fpu/e_acosh.S: Likewise.
58824 * sysdeps/i386/fpu/e_pow.S: Likewise.
58825 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
58826 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
58827 * sysdeps/i386/fpu/s_expm1.S: Likewise.
58828 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
58829 * sysdeps/i386/fpu/e_log2.S: Likewise.
58830 * sysdeps/i386/fpu/e_log2l.S: Likewise.
58831 * sysdeps/i386/fpu/e_scalb.S: Likewise.
58832 * sysdeps/i386/fpu/e_powl.S: Likewise.
58833 * sysdeps/i386/fpu/s_log1p.S: Likewise.
58834 * sysdeps/i386/fpu/e_log10f.S: Likewise.
58835 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
58836 * sysdeps/i386/fpu/e_logl.S: Likewise.
58837 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
58838 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
58839 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
58840 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
58841 * sysdeps/i386/fpu/e_log2f.S: Likewise.
58842 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
58843 * sysdeps/i386/fpu/e_log.S: Likewise.
58844 * sysdeps/i386/fpu/s_cexp.S: Likewise.
58845 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
58846 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
58847 * sysdeps/i386/fpu/e_logf.S: Likewise.
58848 * sysdeps/i386/fpu/e_log10l.S: Likewise.
58849 * sysdeps/i386/fpu/e_atanh.S: Likewise.
58850 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
58851 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
58852 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
58853 * sysdeps/i386/fpu/e_log10.S: Likewise.
58854 * sysdeps/i386/fpu/s_frexp.S: Likewise.
58855 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
58856 * sysdeps/i386/fpu/s_asinh.S: Likewise.
58857 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
58858 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
58859 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
58860 * sysdeps/i386/asm-syntax.h: Likewise.
58861 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
58862 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
58863 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
58864 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
58865 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
58866 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
58867 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
58868 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
58869 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
58870 * sysdeps/powerpc/sysdep.h: Likewise.
58871 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
58872 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
58873
58874 2012-02-06 Joseph Myers <joseph@codesourcery.com>
58875
58876 [BZ #411]
58877 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
58878
58879 2012-02-06 Joseph Myers <joseph@codesourcery.com>
58880
58881 * sysdeps/i386/sysdep.h: Include <features.h>.
58882 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
58883 version.
58884
58885 2012-02-05 Joseph Myers <joseph@codesourcery.com>
58886
58887 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
58888 Define.
58889 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
58890 LOAD_PIC_REG_STR.
58891
58892 2012-02-03 Joseph Myers <joseph@codesourcery.com>
58893
58894 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
58895 (SETUP_PIC_REG): Use GET_PC_THUNK.
58896 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
58897 macro.
58898
58899 2012-02-03 Joseph Myers <joseph@codesourcery.com>
58900
58901 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
58902 for non-PIC compilation.
58903 (SETUP_PIC_REG): Add .p2align directive.
58904 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
58905 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
58906 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
58907 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
58908 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
58909 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
58910 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
58911 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
58912 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
58913 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
58914 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
58915 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
58916 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
58917 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
58918 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
58919 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
58920 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
58921 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
58922 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
58923 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
58924 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
58925 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
58926 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
58927 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
58928 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
58929 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
58930 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
58931 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
58932 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
58933 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
58934 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
58935 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
58936 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
58937 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
58938 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
58939 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
58940 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
58941 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
58942 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
58943 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
58944 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
58945
58946 2012-02-03 Joseph Myers <joseph@codesourcery.com>
58947
58948 * math/tst-CMPLX.c: Include <stdio.h>.
58949
58950 2012-01-31 Joseph Myers <joseph@codesourcery.com>
58951
58952 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
58953 float.
58954 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
58955 * sysdeps/sparc/bits/mathdef.h: Likewise.
58956
58957 2012-01-31 Marek Polacek <polacek@redhat.com>
58958
58959 * libio/libio.h: Don't define _PARAMS.
58960 * locale/programs/config.h: Don't define PARAMS.
58961 * stdlib/strtol_l.c: Likewise.
58962 (__strtol_l): Remove PARAMS from the prototype.
58963
58964 2012-01-31 Ulrich Drepper <drepper@gmail.com>
58965
58966 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
58967 names. Just use the correct names. Remove unnecessary wrapper
58968 functions.
58969 * malloc/arena.c: Likewise.
58970 * malloc/hooks.c: Likewise.
58971
58972 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
58973 ARENA_TEST says not to. Simplify test for creation of a new arena.
58974 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
58975
58976 2012-01-30 Ulrich Drepper <drepper@gmail.com>
58977
58978 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
58979 into tail calls.
58980 (update_get_addr): New function.
58981 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
58982 GET_ADDR_MODULE parameter.
58983
58984 2012-01-30 Joseph Myers <joseph@codesourcery.com>
58985
58986 * crypt/cert.c: Remove __STDC__ conditionals.
58987 * crypt/crypt-entry.c: Likewise.
58988 * crypt/crypt_util.c: Likewise.
58989 * libio/filedoalloc.c: Likewise.
58990 * libio/fileops.c: Likewise.
58991 * libio/genops.c: Likewise.
58992 * libio/iofclose.c: Likewise.
58993 * libio/iofdopen.c: Likewise.
58994 * libio/iofopen.c: Likewise.
58995 * libio/iofopen64.c: Likewise.
58996 * libio/iogetdelim.c: Likewise.
58997 * libio/iopopen.c: Likewise.
58998 * libio/obprintf.c: Likewise.
58999 * libio/oldfileops.c: Likewise.
59000 * libio/oldiofclose.c: Likewise.
59001 * libio/oldiofdopen.c: Likewise.
59002 * libio/oldiofopen.c: Likewise.
59003 * libio/oldiopopen.c: Likewise.
59004 * libio/wfiledoalloc.c: Likewise.
59005 * libio/wgenops.c: Likewise.
59006 * locale/programs/xmalloc.c: Likewise.
59007 * misc/syslog.c: Likewise.
59008 * stdio-common/xbug.c: Likewise.
59009 * string/memchr.c: Likewise.
59010 * string/memcmp.c: Likewise.
59011 * string/memrchr.c: Likewise.
59012 * string/rawmemchr.c: Likewise.
59013 * sysdeps/posix/getcwd.c: Likewise.
59014 * time/strftime_l.c: Likewise.
59015
59016 2012-01-30 Joseph Myers <joseph@codesourcery.com>
59017
59018 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
59019 * config.make.in (config-cflags-sse2avx): Define.
59020 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
59021 Fix typo.
59022
59023 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
59024
59025 * scripts/config.guess: Update from upstream config git repository.
59026 * scripts/config.sub: Likewise.
59027
59028 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
59029
59030 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
59031 (EM_NUM): Update.
59032 (R_TILEPRO_*, R_TILEGX_*): New macros.
59033
59034 * scripts/firstversions.awk: Fix bug in version range handling.
59035
59036 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
59037
59038 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
59039
59040 * include/sys/epoll.h: New file.
59041 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
59042 libc_hidden_def.
59043
59044 2012-01-28 Ulrich Drepper <drepper@gmail.com>
59045
59046 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
59047 Avoid unnecessary __WORDSIZE == 64 test.
59048 (fmaxf): Use VEX format if possible.
59049 (fmax): Likewise.
59050 (fminf): Likewise.
59051 (fmin): Likewise.
59052
59053 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
59054 * math/math_private.h: Remove libc_fegetround* and
59055 libc_fesetround*.
59056 * sysdeps/i386/configure.in: Check for -msse2avx.
59057 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
59058 also if SSE2AVX is defined.
59059 Remove libc_fegetround* and libc_fesetround*.
59060 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
59061 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
59062 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
59063 of HAS_YMM_USABLE.
59064 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
59065 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
59066 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
59067 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
59068 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
59069
59070 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
59071
59072 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59073
59074 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
59075 size is not set.
59076 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
59077
59078 2012-01-27 Ulrich Drepper <drepper@gmail.com>
59079
59080 [BZ #13618]
59081 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
59082 relocation.
59083 * Makeconfig (libm): Define.
59084 * elf/Makefile: Add rules to build and run tst-relsort1.
59085 * elf/tst-relsort1.c: New file.
59086 * elf/tst-relsort1mod1.c: New file.
59087 * elf/tst-relsort1mod2.c: New file.
59088
59089 2012-01-27 Joseph Myers <joseph@codesourcery.com>
59090
59091 * math/s_ldexp.c: Remove __STDC__ conditionals.
59092 * math/s_ldexpf.c: Likewise.
59093 * math/s_ldexpl.c: Likewise.
59094 * math/s_nextafter.c: Likewise.
59095 * math/s_nexttowardf.c: Likewise.
59096 * math/s_significand.c: Likewise.
59097 * math/s_significandf.c: Likewise.
59098 * math/s_significandl.c: Likewise.
59099 * math/w_jnl.c: Likewise.
59100 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
59101 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
59102 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
59103 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
59104 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
59105 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
59106 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
59107 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
59108 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
59109 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
59110 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
59111 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
59112 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
59113 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
59114 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
59115 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
59116 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
59117 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
59118 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
59119 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
59120 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
59121 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
59122 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
59123 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
59124 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
59125 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
59126 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
59127 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
59128 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
59129 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
59130 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
59131 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
59132 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
59133 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
59134 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
59135 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
59136 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
59137 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
59138 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
59139 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
59140 * sysdeps/ieee754/k_standard.c: Likewise.
59141 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
59142 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
59143 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
59144 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
59145 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
59146 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
59147 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
59148 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
59149 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
59150 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
59151 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
59152 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
59153 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
59154 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
59155 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
59156 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
59157 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
59158 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
59159 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
59160 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
59161 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
59162 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
59163 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
59164 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
59165 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
59166 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
59167 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
59168 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
59169 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
59170 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
59171 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
59172 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
59173 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
59174 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
59175 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
59176 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
59177 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
59178 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
59179 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
59180 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
59181 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
59182 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
59183 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
59184 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
59185 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
59186 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
59187 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
59188 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
59189 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
59190 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
59191 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
59192 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
59193 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
59194 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
59195 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
59196 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
59197 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
59198 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
59199 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
59200 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
59201 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
59202 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
59203 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
59204 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
59205 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
59206 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
59207 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
59208 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
59209 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
59210 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
59211 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
59212 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
59213 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
59214 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
59215 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
59216 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
59217 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
59218 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
59219 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
59220 * sysdeps/ieee754/s_matherr.c: Likewise.
59221 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
59222 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
59223 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
59224 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
59225
59226 2012-01-26 Joseph Myers <joseph@codesourcery.com>
59227
59228 * crypt/md5.h: Remove __STDC__ conditionals.
59229 * libio/libioP.h: Likewise.
59230 * locale/programs/config.h: Likewise.
59231 * sysdeps/generic/sysdep.h: Likewise.
59232 * sysdeps/i386/asm-syntax.h: Likewise.
59233 * sysdeps/s390/asm-syntax.h: Likewise.
59234 * sysdeps/unix/sysdep.h: Likewise.
59235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
59236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
59237
59238 2012-01-26 Joseph Myers <joseph@codesourcery.com>
59239
59240 * libio/libio.h: Remove __STDC__ conditionals.
59241 * malloc/obstack.h: Likewise.
59242 * math/complex.h: Likewise.
59243 * math/math.h: Likewise.
59244 * sysdeps/generic/_G_config.h: Likewise.
59245 * sysdeps/gnu/_G_config.h: Likewise.
59246 * sysdeps/mach/hurd/_G_config.h: Likewise.
59247 * sysdeps/powerpc/bits/mathdef.h: Likewise.
59248 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
59249 * sysdeps/sparc/bits/mathdef.h: Likewise.
59250
59251 2012-01-26 Ulrich Drepper <drepper@gmail.com>
59252
59253 [BZ #13583]
59254 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
59255 Clean up HAS_* macros.
59256 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
59257 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
59258 possible.
59259 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
59260 HAS_AVX.
59261 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
59262 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
59263 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
59264 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
59265 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
59266
59267 2012-01-25 Joseph Myers <joseph@codesourcery.com>
59268
59269 * elf/tst-unique3.cc (gets): Remove declaration.
59270 * elf/tst-unique3lib.cc (gets): Likewise.
59271 * elf/tst-unique3lib2.cc (gets): Likewise.
59272 * elf/tst-unique4.cc (gets): Likewise.
59273
59274 2012-01-24 Ulrich Drepper <drepper@gmail.com>
59275
59276 * include/stdio.h: Add C++ protection. Add gets declarations and
59277 definitions.
59278 * debug/tst-chk1.c: Don't declare gets here.
59279 * stdio-common/tst-gets.c: Likewise.
59280
59281 2012-01-24 Joseph Myers <joseph@codesourcery.com>
59282
59283 * posix/glob: Remove directory.
59284
59285 2012-01-24 Joseph Myers <joseph@codesourcery.com>
59286
59287 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
59288
59289 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
59290
59291 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
59292 of the non-standard EPFNOSUPPORT.
59293
59294 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
59295
59296 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
59297 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
59298 ANYWHERE set to 1 only on KERN_NO_SPACE error.
59299
59300 2012-01-21 Ulrich Drepper <drepper@gmail.com>
59301
59302 * wcsmbs/uchar.h: Test __STDC_VERSION__.
59303
59304 2012-01-20 Ulrich Drepper <drepper@gmail.com>
59305
59306 * nscd/aicache.c (addhstaiX): Do not cache negative results of
59307 transient errors.
59308 * nscd/grpcache.c (cache_addgr): Likewise.
59309 * nscd/hstcache.c (cache_addhst): Likewise.
59310 * nscd/initgrcache.c (addinitgroupsX): Likewise.
59311 * nscd/pwdcache.c (cache_addpw): Likewise.
59312 * nscd/servicescache.c (cache_addserv): Likewise.
59313
59314 2012-01-16 Ulrich Drepper <drepper@gmail.com>
59315
59316 * malloc/malloc.c: Various cleanups.
59317 * malloc/hooks.c: Likewise.
59318
59319 * stdlib/Makefile (tests): Add bug-fmtmsg1.
59320 * stdlib/bug-fmtmsg1.c: New file.
59321
59322 * stdlib/fmtmsg.c (init): Add missing unlock.
59323 Patch by Peng Haitao <penght@cn.fujitsu.com>.
59324
59325 2012-01-12 Marek Polacek <polacek@redhat.com>
59326
59327 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
59328 and _GNU_SOURCE.
59329
59330 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
59331
59332 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
59333 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
59334 macro to ensure uniqueness of label name.
59335 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
59336 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
59337
59338 2012-01-11 Ulrich Drepper <drepper@gmail.com>
59339
59340 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
59341
59342 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
59343 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
59344 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
59345 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
59346
59347 2012-01-10 Ulrich Drepper <drepper@gmail.com>
59348
59349 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
59350
59351 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
59352 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
59353 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
59354
59355 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
59356
59357 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
59358 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
59359 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
59360 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
59361
59362 * math/bits/math-finite.h: Add ldexp support.
59363
59364 2012-01-10 Marek Polacek <polacek@redhat.com>
59365
59366 * locale/programs/localedef.h (show_archive_content): Add noreturn
59367 attribute.
59368
59369 2012-01-09 Ulrich Drepper <drepper@gmail.com>
59370
59371 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
59372
59373 2012-01-08 Ulrich Drepper <drepper@gmail.com>
59374
59375 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
59376
59377 * io/Makefile (headers): Add bits/poll2.h.
59378
59379 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
59380
59381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
59382 typo #include statement.
59383
59384 2012-01-08 Ulrich Drepper <drepper@gmail.com>
59385
59386 * include/sys/cdefs.h: Define __attribute_alloc_size.
59387 * catgets/gencat.c: Add alloc_size attribute and apply consistently
59388 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
59389 * elf/pldd.c: Likewise.
59390 * iconv/iconv_charmap.c: Likewise.
59391 * iconv/iconvconfig.c: Likewise.
59392 * iconv/strtab.c: Likewise.
59393 * locale/programs/locale.c: Likewise.
59394 * locale/programs/localedef.h: Likewise.
59395 * locale/programs/simple-hash.c: Likewise.
59396 * nscd/nscd.h: Likewise.
59397 * nss/makedb.c: Likewise.
59398 * sysdeps/generic/ldconfig.h: Likewise.
59399 * locale/programs/localedef.c: Remove xmalloc prototype.
59400 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
59401
59402 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
59403
59404 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
59405 appropriate.
59406
59407 2012-01-08 Ulrich Drepper <drepper@gmail.com>
59408
59409 * math/Makefile (tests): Add tst-CMPLX.
59410 * math/tst-CMPLX.c: New file.
59411
59412 * math/complex.h (CMPLXL): Fix typo.
59413
59414 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
59415 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
59416 GLIBC_2.16.
59417 * debug/tst-chk1.c: Add poll and ppoll tests.
59418 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
59419 * include/sys/poll.h: Add hidden proto for ppoll.
59420 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
59421 * sysdeps/mach/hurd/ppoll.c: Likewise.
59422 * io/ppoll.c: Likewise.
59423 * debug/poll_chk.c: New file.
59424 * debug/ppoll_chk.c: New file.
59425 * include/bits/poll2.h: New file.
59426 * io/bits/poll2.h: New file.
59427
59428 [BZ #1350]
59429 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
59430
59431 * configure.in: static is always set to yes. Remove.
59432 * config.make.in: Don't set build-static.
59433 * Makeconfig: Remove use of build-static.
59434 * dlfcn/Makefile: Likewise.
59435 * elf/Makefile: Likewise.
59436 * math/Makefile: Likewise.
59437 * misc/Makefile: Likewise.
59438 * nptl/Makefile: Likewise.
59439 * sysdeps/mach/hurd/Makefile: Likewise.
59440
59441 * configure.in: PWD_P is not used anymore.
59442 * config.make.in: Remove PWD_P entry.
59443
59444 * configure.in: Remove last remnants of RANLIB.
59445 No need to check for signed size_t anymore.
59446 Don't set libc_commonpagesize and libc_relro_required here for Alpha
59447 and IA-64.
59448 Remove __builtin_expect test because we require at least gcc 3.4.
59449 * aclocal.m4: Likewise.
59450
59451 * wcsmbs/mbrtoc16.c: Implement using towc function.
59452 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
59453 * wcsmbs/wcsmbsload.c: Likewise.
59454 * iconv/gconv_simple.c: Likewise.
59455 * iconv/gconv_int.h: Likewise.
59456 * iconv/gconv_builtin.h: Likewise.
59457 * iconv/iconv_prog.c: Remove CHAR16 handling.
59458
59459 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
59460
59461 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
59462
59463 * configure.in: Remove --with-elf and --enable-bounded options.
59464 Dont set base_machine for ia64. More non-ELF conditions removed.
59465 Remove testing and setting of leading underscore information.
59466 * config.make.in (build-bounded): Set to no.
59467 * config.h.in: Remove NO_UNDERSCORES entry.
59468 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
59469 them.
59470 * csu/start.c: Remove !NO_UNDERSCORE code.
59471 * locale/localeinfo.h: Likewise.
59472 * sysdeps/generic/machine-gmon.h: Likewise.
59473 * sysdeps/generic/sysdep.h: Likewise.
59474 * sysdeps/i386/sysdep.h: Likewise.
59475 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
59476 * sysdeps/mach/sysdep.h: Likewise.
59477 * sysdeps/s390/s390-32/sysdep.h: Likewise.
59478 * sysdeps/s390/s390-64/sysdep.h: Likewise.
59479 * sysdeps/sh/sysdep.h: Likewise.
59480 * sysdeps/sparc/sparc32/alloca.S: Likewise.
59481 * sysdeps/unix/i386/sysdep.S: Likewise.
59482 * sysdeps/unix/sparc/start.c: Likewise.
59483 * sysdeps/unix/sparc/sysdep.S: Likewise.
59484 * sysdeps/unix/sparc/sysdep.h: Likewise.
59485 * sysdeps/unix/start.c: Likewise.
59486 * sysdeps/unix/x86_64/sysdep.S: Likewise.
59487 * sysdeps/x86_64/sysdep.h: Likewise.
59488
59489 2012-01-07 Ulrich Drepper <drepper@gmail.com>
59490
59491 [BZ #13553]
59492 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
59493 for non-gcc.
59494 * argp/argp-fmtstream.h: Use const instead __const.
59495 * argp/argp.h: Likewise.
59496 * assert/assert.h: Likewise.
59497 * bits/fenv.h: Likewise.
59498 * bits/sched.h: Likewise.
59499 * bits/sigset.h: Likewise.
59500 * bits/sigthread.h: Likewise.
59501 * catgets/nl_types.h: Likewise.
59502 * conform/data/pthread.h-data: Likewise.
59503 * crypt/crypt-private.h: Likewise.
59504 * crypt/crypt.h: Likewise.
59505 * crypt/crypt_util.c: Likewise.
59506 * ctype/ctype.h: Likewise.
59507 * debug/execinfo.h: Likewise.
59508 * debug/mbsnrtowcs_chk.c: Likewise.
59509 * debug/mbsrtowcs_chk.c: Likewise.
59510 * debug/wcsnrtombs_chk.c: Likewise.
59511 * debug/wcsrtombs_chk.c: Likewise.
59512 * debug/wcstombs_chk.c: Likewise.
59513 * dirent/dirent.h: Likewise.
59514 * dlfcn/dlfcn.h: Likewise.
59515 * elf/neededtest4.c: Likewise.
59516 * grp/grp.h: Likewise.
59517 * gshadow/gshadow.h: Likewise.
59518 * iconv/gconv.h: Likewise.
59519 * iconv/gconv_int.h: Likewise.
59520 * iconv/gconv_simple.c: Likewise.
59521 * iconv/iconv.h: Likewise.
59522 * iconv/loop.c: Likewise.
59523 * iconv/skeleton.c: Likewise.
59524 * include/aio.h: Likewise.
59525 * include/aliases.h: Likewise.
59526 * include/argz.h: Likewise.
59527 * include/arpa/inet.h: Likewise.
59528 * include/assert.h: Likewise.
59529 * include/dirent.h: Likewise.
59530 * include/dlfcn.h: Likewise.
59531 * include/execinfo.h: Likewise.
59532 * include/fcntl.h: Likewise.
59533 * include/fenv.h: Likewise.
59534 * include/glob.h: Likewise.
59535 * include/grp.h: Likewise.
59536 * include/libintl.h: Likewise.
59537 * include/mntent.h: Likewise.
59538 * include/netdb.h: Likewise.
59539 * include/pwd.h: Likewise.
59540 * include/rpc/netdb.h: Likewise.
59541 * include/sched.h: Likewise.
59542 * include/search.h: Likewise.
59543 * include/shadow.h: Likewise.
59544 * include/signal.h: Likewise.
59545 * include/stdio.h: Likewise.
59546 * include/stdlib.h: Likewise.
59547 * include/string.h: Likewise.
59548 * include/sys/socket.h: Likewise.
59549 * include/sys/stat.h: Likewise.
59550 * include/sys/statfs.h: Likewise.
59551 * include/sys/statvfs.h: Likewise.
59552 * include/sys/syslog.h: Likewise.
59553 * include/sys/time.h: Likewise.
59554 * include/sys/uio.h: Likewise.
59555 * include/time.h: Likewise.
59556 * include/unistd.h: Likewise.
59557 * include/utmp.h: Likewise.
59558 * include/wchar.h: Likewise.
59559 * include/wctype.h: Likewise.
59560 * inet/aliases.h: Likewise.
59561 * inet/arpa/inet.h: Likewise.
59562 * inet/netinet/ether.h: Likewise.
59563 * inet/netinet/in.h: Likewise.
59564 * intl/libintl.h: Likewise.
59565 * io/bits/fcntl2.h: Likewise.
59566 * io/fcntl.h: Likewise.
59567 * io/ftw.h: Likewise.
59568 * io/sys/poll.h: Likewise.
59569 * io/sys/stat.h: Likewise.
59570 * io/sys/statfs.h: Likewise.
59571 * io/sys/statvfs.h: Likewise.
59572 * io/utime.h: Likewise.
59573 * libio/bits/stdio.h: Likewise.
59574 * libio/bits/stdio2.h: Likewise.
59575 * libio/libio.h: Likewise.
59576 * libio/libioP.h: Likewise.
59577 * libio/stdio.h: Likewise.
59578 * locale/lc-ctype.c: Likewise.
59579 * locale/locale.h: Likewise.
59580 * login/utmp.h: Likewise.
59581 * malloc/arena.c: Likewise.
59582 * malloc/malloc.c: Likewise.
59583 * malloc/malloc.h: Likewise.
59584 * malloc/mcheck.c: Likewise.
59585 * malloc/mtrace.c: Likewise.
59586 * math/bits/mathcalls.h: Likewise.
59587 * math/fenv.h: Likewise.
59588 * math/math_private.h: Likewise.
59589 * misc/bits/error.h: Likewise.
59590 * misc/bits/syslog.h: Likewise.
59591 * misc/err.h: Likewise.
59592 * misc/error.h: Likewise.
59593 * misc/fstab.h: Likewise.
59594 * misc/mntent.h: Likewise.
59595 * misc/regexp.h: Likewise.
59596 * misc/search.h: Likewise.
59597 * misc/sgtty.h: Likewise.
59598 * misc/sys/mman.h: Likewise.
59599 * misc/sys/syslog.h: Likewise.
59600 * misc/sys/uio.h: Likewise.
59601 * misc/sys/xattr.h: Likewise.
59602 * misc/ttyent.h: Likewise.
59603 * nis/rpcsvc/ypclnt.h: Likewise.
59604 * nss/nss.h: Likewise.
59605 * posix/bits/unistd.h: Likewise.
59606 * posix/fnmatch.h: Likewise.
59607 * posix/glob.h: Likewise.
59608 * posix/sched.h: Likewise.
59609 * posix/spawn.h: Likewise.
59610 * posix/sys/wait.h: Likewise.
59611 * posix/unistd.h: Likewise.
59612 * posix/wordexp.h: Likewise.
59613 * pwd/pwd.h: Likewise.
59614 * resolv/netdb.h: Likewise.
59615 * resource/sys/resource.h: Likewise.
59616 * rt/aio.h: Likewise.
59617 * rt/bits/mqueue2.h: Likewise.
59618 * rt/mqueue.h: Likewise.
59619 * shadow/shadow.h: Likewise.
59620 * signal/signal.h: Likewise.
59621 * socket/send.c: Likewise.
59622 * socket/sendto.c: Likewise.
59623 * socket/sys/socket.h: Likewise.
59624 * stdio-common/printf.h: Likewise.
59625 * stdlib/bits/stdlib.h: Likewise.
59626 * stdlib/fmtmsg.h: Likewise.
59627 * stdlib/monetary.h: Likewise.
59628 * stdlib/stdlib.h: Likewise.
59629 * stdlib/ucontext.h: Likewise.
59630 * streams/stropts.h: Likewise.
59631 * string/argz.h: Likewise.
59632 * string/bits/string2.h: Likewise.
59633 * string/string.h: Likewise.
59634 * string/strings.h: Likewise.
59635 * sunrpc/rpc/auth.h: Likewise.
59636 * sunrpc/rpc/auth_des.h: Likewise.
59637 * sunrpc/rpc/clnt.h: Likewise.
59638 * sunrpc/rpc/netdb.h: Likewise.
59639 * sunrpc/rpc/pmap_clnt.h: Likewise.
59640 * sunrpc/rpc/xdr.h: Likewise.
59641 * sysdeps/generic/inttypes.h: Likewise.
59642 * sysdeps/generic/net/if.h: Likewise.
59643 * sysdeps/generic/sys/swap.h: Likewise.
59644 * sysdeps/gnu/net/if.h: Likewise.
59645 * sysdeps/gnu/utmpx.h: Likewise.
59646 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
59647 * sysdeps/i386/i486/bits/string.h: Likewise.
59648 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
59649 * sysdeps/s390/bits/string.h: Likewise.
59650 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
59651 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
59652 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
59653 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
59654 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
59655 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
59656 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
59657 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
59658 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
59659 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
59660 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
59661 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
59662 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
59663 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
59664 * sysdeps/unix/sysv/linux/readv.c: Likewise.
59665 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
59666 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
59667 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
59668 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
59669 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
59670 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
59671 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
59672 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
59673 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
59674 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
59675 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
59676 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
59677 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
59678 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
59679 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
59680 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
59681 * sysvipc/sys/ipc.h: Likewise.
59682 * sysvipc/sys/msg.h: Likewise.
59683 * sysvipc/sys/sem.h: Likewise.
59684 * sysvipc/sys/shm.h: Likewise.
59685 * termios/termios.h: Likewise.
59686 * time/sys/time.h: Likewise.
59687 * time/time.h: Likewise.
59688 * wcsmbs/bits/wchar2.h: Likewise.
59689 * wcsmbs/uchar.h: Likewise.
59690 * wcsmbs/wchar.h: Likewise.
59691 * wctype/wctype.h: Likewise.
59692
59693 [BZ #13551]
59694 * Makeconfig: Remove all but ELF support including AIX support.
59695 * Makerules: Likewise.
59696 * config.h.in: Likewise.
59697 * config.make.in: Likewise.
59698 * configure: Likewise.
59699 * configure.in: Likewise.
59700 * csu/Makefile: Likewise.
59701 * csu/version.c: Likewise.
59702 * debug/Makefile: Likewise.
59703 * dlfcn/Makefile: Likewise.
59704 * elf/Makefile: Likewise.
59705 * extra-lib.mk: Likewise.
59706 * iconv/Makefile: Likewise.
59707 * include/libc-symbols.h: Likewise.
59708 * include/shlib-compat.h: Likewise.
59709 * resolv/Makefile: Likewise.
59710 * resolv/res_libc.c: Likewise.
59711 * rt/Makefile: Likewise.
59712 * sysdeps/i386/asm-syntax.h: Likewise.
59713 * sysdeps/i386/sysdep.h: Likewise.
59714 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
59715 * sysdeps/mach/sysdep.h: Likewise.
59716 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
59717 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
59718 * sysdeps/s390/asm-syntax.h: Likewise.
59719 * sysdeps/s390/s390-32/sysdep.h: Likewise.
59720 * sysdeps/s390/s390-64/sysdep.h: Likewise.
59721 * sysdeps/sh/sysdep.h: Likewise.
59722 * sysdeps/unix/sparc/sysdep.h: Likewise.
59723 * sysdeps/wordsize-32/divdi3.c: Likewise.
59724 * sysdeps/x86_64/sysdep.h: Likewise.
59725
59726 * argp/Versions: Remove _argp_unlock_xxx.
59727
59728 [BZ #13559]
59729 * abilist/ld.abilist: Update. Adjust for removal of tls option.
59730 * abilist/libBrokenLocale.abilist: Likewise.
59731 * abilist/libanl.abilist: Likewise.
59732 * abilist/libc.abilist: Likewise.
59733 * abilist/libcrypt.abilist: Likewise.
59734 * abilist/libdl.abilist: Likewise.
59735 * abilist/libm.abilist: Likewise.
59736 * abilist/libnsl.abilist: Likewise.
59737 * abilist/libpthread.abilist: Likewise.
59738 * abilist/libresolv.abilist: Likewise.
59739 * abilist/librt.abilist: Likewise.
59740 * abilist/libthread_db.abilist: Likewise.
59741 * abilist/libutil.abilist: Likewise.
59742 * abilist/libnss_db.abilist: New file.
59743
59744 * scripts/abilist.awk: Add support for indirect functions.
59745
59746 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
59747
59748 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
59749
59750 * shlib-versions: Remove entries for ports architectures.
59751
59752 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
59753 files in ports.
59754 * elf/stackguard-macros.h: Remove support for IA-64.
59755 * elf/tst-auditmod1.c: Likewise.
59756 * sysdeps/generic/ldsodefs.h: Likewise.
59757
59758 * sysdeps/unix/sysv/linux/configure.in: Ports should define
59759 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
59760 configure files.
59761
59762 [BZ #13552]
59763 * configure.in: Remove --enable-omitfp support.
59764 * FAQ.in: Adjust.
59765 * config.make.in: Likewise.
59766 * Makeconfig: Likewise.
59767 * manual/install.texi: Likewise.
59768
59769 In case anyone cares, the IA-64 architecture could move to ports.
59770 * sysdeps/ia64/*: Removed.
59771 * sysdeps/unix/sysv/linux/ia64/*: Removed.
59772 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
59773
59774 [BZ #13555]
59775 * configure.in: Remove entries for unsupported architectures.
59776
59777 [BZ #13533]
59778 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
59779 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
59780 routines.
59781 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
59782 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
59783 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
59784 fall back to using wcrtomb.
59785 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
59786 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
59787 renaming.
59788 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
59789 * wcsmbs/tst-c16c32-1.c: New file.
59790
59791 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
59792 local variable.
59793
59794 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
59795
59796 * elf/tst-unique3.cc: Add explicit declaration of gets.
59797 * elf/tst-unique3lib.cc: Likewise.
59798 * elf/tst-unique3lib2.cc: Likewise.
59799 * elf/tst-unique4.cc: Likewise.
59800
59801 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
59802
59803 2012-01-06 Joseph Myers <joseph@codesourcery.com>
59804
59805 [BZ #13566]
59806 * assert/assert.h (static_assert): Don't define for C++.
59807 * libio/stdio.h (gets): Do declare for C++ <= C++11.
59808 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
59809
59810 2012-01-03 Ulrich Drepper <drepper@gmail.com>
59811
59812 * iconv/loop.c (single loop): Fix assertion in storing of
59813 remaining bytes.
59814
59815 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
59816
59817 2012-01-01 Ulrich Drepper <drepper@gmail.com>
59818
59819 * posix/getconf.c: Update copyright year.
59820 * nss/getent.c: Likewise.
59821 * nss/makedb.c: Likewise.
59822 * iconv/iconvconfig.c: Likewise.
59823 * iconv/iconv_prog.c: Likewise.
59824 * elf/ldconfig.c: Likewise.
59825 * elf/pldd.c: Likewise.
59826 * elf/sotruss.ksh: Likewise.
59827 * catgets/gencat.c: Likewise.
59828 * csu/version.c: Likewise.
59829 * elf/ldd.bash.in: Likewise.
59830 * elf/sprof.c (print_version): Likewise.
59831 * locale/programs/locale.c: Likewise.
59832 * locale/programs/localedef.c: Likewise.
59833 * login/programs/pt_chown.c: Likewise.
59834 * nscd/nscd.c (print_version): Likewise.
59835 * debug/xtrace.sh: Likewise.
59836 * malloc/memusage.sh: Likewise.
59837 * malloc/mtrace.pl: Likewise.
59838 * debug/catchsegv.sh: Likewise.
59839
59840 2011-12-30 Jakub Jelinek <jakub@redhat.com>
59841
59842 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
59843 pure attribute.
59844
59845 2011-12-24 Ulrich Drepper <drepper@gmail.com>
59846
59847 [BZ #13533]
59848 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
59849 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
59850 transformations.
59851 * iconv/gconv_int.h: Likewise.
59852 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
59853 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
59854 from libc for GLIBC_2.16.
59855 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
59856 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
59857 * wcsmbs/uchar.h: Really define mbstate_t.
59858 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
59859 * wcsmbs/c16rtomb.c: New file.
59860 * wcsmbs/mbrtoc16.c: New file.
59861 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
59862 for C/POSIX locale.
59863 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
59864 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
59865
59866 * wcsmbs/wchar.h: Add missing __restrict.
59867
59868 2011-12-23 Ulrich Drepper <drepper@gmail.com>
59869
59870 [BZ #13532]
59871 * time/Makefile (routines): Add timespec_get.
59872 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
59873 * time/time.h: Define TIME_UTC and declare timespec_get. Define
59874 timespec for ISO C11.
59875 * time/timespec_get.c: New file.
59876 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
59877 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
59878
59879 [BZ #13531]
59880 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
59881 * stdlib/stdlib.h: Declare aligned_alloc.
59882 * Versions.def: Add GLIBC_2.16 for libc.
59883 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
59884
59885 [BZ 13527]
59886 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
59887 ISO C11.
59888
59889 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
59890 code.
59891
59892 [BZ #13528]
59893 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
59894
59895 [BZ #13529]
59896 * assert/assert.h (static_assert): Define.
59897
59898 * version.h: Update for 2.16 development version.
59899
59900 [BZ #13526]
59901 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
59902 _ISOC11_SOURCE.
59903
59904 * version.h (RELEASE): Bump for 2.15 release.
59905 * include/features.h (__GLIBC_MINOR__): Bump to 15.
59906
59907 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
59908 Patch by Marek Polacek <mpolacek@redhat.com>.
59909
59910 * bits/byteswap.h: Protect long long constants with __extension__.
59911 * sysdeps/i386/bits/byteswap.h: Likewise.
59912 * sysdeps/ia64/bits/byteswap.h: Likewise.
59913 * sysdeps/s390/bits/byteswap.h: Likewise.
59914 * sysdeps/x86_64/bits/byteswap.h: Likewise.
59915
59916 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59917
59918 [BZ #13540]
59919 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
59920 destination buffer.
59921 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
59922
59923 2011-12-23 Marek Polacek <polacek@redhat.com>
59924
59925 * elf/dl-addr.c (determine_info): Add inline keyword.
59926 * elf/tst-auditmod4b.c (check_avx): Likewise.
59927 * elf/tst-auditmod6b.c (check_avx): Likewise.
59928 * elf/tst-auditmod6c.c (check_avx): Likewise.
59929 * elf/tst-auditmod7b.c (check_avx): Likewise.
59930
59931 2011-12-23 Ulrich Drepper <drepper@gmail.com>
59932
59933 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
59934 !__SSE_MATH__.
59935
59936 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59937
59938 [BZ #13540]
59939 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
59940 processing for last bytes.
59941
59942 2011-08-06 Bruno Haible <bruno@clisp.org>
59943
59944 [BZ #13061]
59945 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
59946 U+0385, not to U+1FEE.
59947
59948 [BZ #13062]
59949 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
59950 entry for U+00A5 U+0301.
59951
59952 2011-12-22 Ulrich Drepper <drepper@gmail.com>
59953
59954 [BZ #13166]
59955 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
59956 buffer for the output is too small.
59957
59958 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
59959 optimization.
59960
59961 [BZ #13185]
59962 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
59963 SSE flags if possible.
59964
59965 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59966
59967 [BZ #13540]
59968 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
59969 processing for last bytes.
59970
59971 2011-12-22 Joseph Myers <joseph@codesourcery.com>
59972
59973 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
59974 (syscall-list-default-options, syscall-list-default-condition)
59975 (syscall-list-includes): Define.
59976 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
59977 list of ABIs and options and #if conditions for each ABI. Do not
59978 handle common syscalls between ABIs specially.
59979 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
59980 Remove.
59981 (syscall-list-variants, syscall-list-32bit-options)
59982 (syscall-list-32bit-condition, syscall-list-64bit-options)
59983 (syscall-list-64bit-condition): Define.
59984 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
59985 (syscall-list-variants, syscall-list-32bit-options)
59986 (syscall-list-32bit-condition, syscall-list-64bit-options)
59987 (syscall-list-64bit-condition): Define.
59988 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
59989 Remove.
59990 (syscall-list-variants, syscall-list-32bit-options)
59991 (syscall-list-32bit-condition, syscall-list-64bit-options)
59992 (syscall-list-64bit-condition): Define.
59993 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
59994 Remove.
59995 (syscall-list-variants, syscall-list-32bit-options)
59996 (syscall-list-32bit-condition, syscall-list-64bit-options)
59997 (syscall-list-64bit-condition): Define.
59998
59999 2011-12-22 Ulrich Drepper <drepper@gmail.com>
60000
60001 * locale/iso-639.def: Add brx entry.
60002
60003 [BZ #13328]
60004 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
60005 Proposed by Mariusz_Cukr <marcukr@op.pl>.
60006
60007 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
60008 __feraiseexcept_renamed.
60009
60010 2011-12-21 Ulrich Drepper <drepper@gmail.com>
60011
60012 [BZ #13538]
60013 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
60014 EPOLLET with unsigned values.
60015 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
60016 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
60017
60018 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
60019 to large cancellation.
60020 * math/s_cacoshf.c: Likewise.
60021 * math/s_cacoshl.c: Likewise.
60022
60023 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
60024
60025 [BZ #13305]
60026 [BZ #12786]
60027 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
60028 * math/s_cacoshf.c: Likewise.
60029 * math/s_cacoshl.c: Likewise.
60030
60031 2011-12-21 Ulrich Drepper <drepper@gmail.com>
60032
60033 [BZ #13439]
60034 * iconv/gconv.h: Define __GCONV_SWAP.
60035 * iconvdata/unicode.c: The swap bit must be stored in __flags.
60036 * iconvdata/utf-16.c: Likewise.
60037 * iconvdata/utf-32.c: Likewise.
60038
60039 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
60040
60041 [BZ #13524]
60042 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
60043 numerator after shifting it by one limb.
60044
60045 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
60046
60047 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
60048 under [__USE_EXTERN_INLINES].
60049
60050 2011-12-17 Ulrich Drepper <drepper@gmail.com>
60051
60052 [BZ #13446]
60053 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
60054
60055 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60056
60057 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
60058 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
60059 optimized code.
60060 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
60061 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
60062 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
60063 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
60064 for strncasecmp/strncasecmp_l compilation.
60065 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
60066 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
60067
60068 2011-12-08 Marek Polacek <mpolacek@redhat.com>
60069
60070 [BZ #13484]
60071 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
60072 of __asm__.
60073
60074 2011-12-17 Ulrich Drepper <drepper@gmail.com>
60075
60076 [BZ #13506]
60077 * time/tzfile.c (__tzfile_read): Check values from file header.
60078
60079 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
60080
60081 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
60082 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
60083 * powerpc/powerpc32/dl-start.S: Likewise.
60084 * powerpc/powerpc32/elf/start.S: Likewise.
60085 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
60086 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
60087 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
60088 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
60089 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
60090 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
60091 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
60092 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
60093 * powerpc/powerpc32/fpu/s_round.S: Likewise.
60094 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
60095 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
60096 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
60097 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
60098 * powerpc/powerpc32/memset.S: Likewise.
60099 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
60100 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
60101 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
60102 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
60103 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
60104 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
60105 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
60106 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
60107 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
60108 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
60109 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
60110 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
60111 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
60112
60113 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60114
60115 * math/libm-test.inc: Added more nearbyint tests.
60116 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
60117 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
60118 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
60119 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
60120
60121 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
60122
60123 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
60124 FD_CLOEXEC.
60125
60126 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
60127
60128 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
60129 Add wcscpy-ssse3 wcscpy-c.
60130 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
60131 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
60132 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
60133 * sysdeps/x86_64/wcschr.S: New file.
60134 * sysdeps/x86_64/wcsrchr.S: New file.
60135 * string/test-strcmp.c: Remove checking of wcscmp function for
60136 wrong alignments.
60137 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
60138 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
60139 wcsrchr-sse2 wcsrchr-c.
60140 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
60141 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
60142 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
60143 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
60144 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
60145 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
60146 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
60147 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
60148 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
60149 * wcsmbc/wcschr.c (WCSCHR): New macro.
60150
60151 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
60152
60153 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
60154 * wcsmbs/test-wcsrchr.c: New file.
60155 * string/test-strrchr.c: Add wcsrchr support.
60156 (WIDE): New macro.
60157 * wcsmbs/test-wcscpy.c: New file.
60158 * string/test-strcpy.c: Add wcscpy support.
60159 (WIDE): New macro.
60160
60161 2011-12-10 Ulrich Drepper <drepper@gmail.com>
60162
60163 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
60164 the inner loop.
60165
60166 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
60167
60168 [BZ #13472]
60169 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
60170
60171 2011-12-04 Ulrich Drepper <drepper@gmail.com>
60172
60173 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
60174 Minor optimizations.
60175
60176 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
60177 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
60178 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
60179
60180 2011-12-03 Ulrich Drepper <drepper@gmail.com>
60181
60182 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
60183 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
60184 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
60185 for gcc to avoid warnings.
60186 * inet/Makefile (tests): Add tst-checks.
60187 * inet/tst-checks.c: New file.
60188
60189 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
60190 warning.
60191
60192 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
60193 __wmemcmp_sse2.
60194
60195 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
60196 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
60197
60198 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
60199
60200 2011-12-02 Ulrich Drepper <drepper@gmail.com>
60201
60202 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
60203 problem.
60204
60205 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
60206
60207 2011-11-29 Joseph Myers <joseph@codesourcery.com>
60208
60209 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
60210 conditional on GCC version.
60211 (__arch_compare_and_exchange_val_8_acq)
60212 (__arch_compare_and_exchange_val_16_acq)
60213 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
60214 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
60215 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
60216
60217 2011-12-02 Joseph Myers <joseph@codesourcery.com>
60218
60219 * sysdeps/sh/backtrace.c: New file.
60220
60221 2011-12-02 Andreas Schwab <schwab@redhat.com>
60222
60223 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
60224 parenthesis.
60225
60226 2011-12-01 Andreas Schwab <schwab@redhat.com>
60227
60228 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
60229 falling back to utime.
60230
60231 2011-11-30 Andreas Schwab <schwab@redhat.com>
60232
60233 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
60234 expectations for float.
60235
60236 2011-11-29 Andreas Schwab <schwab@redhat.com>
60237
60238 * locale/weight.h (findidx): Add parameter len.
60239 * locale/weightwc.h (findidx): Likewise.
60240 * posix/fnmatch_loop.c (FCT): Adjust caller.
60241 * posix/regcomp.c (build_equiv_class): Likewise.
60242 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
60243 * posix/regexec.c (check_node_accept_bytes): Likewise.
60244 * string/strcoll_l.c (STRCOLL): Likewise.
60245 * string/strxfrm_l.c (STRXFRM): Likewise.
60246
60247 2011-11-17 Ulrich Drepper <drepper@gmail.com>
60248
60249 * Makefile.in: Remove CVSOPT handling.
60250 * configure.in: Remove use of AC_REVISION.
60251 * iconvdata/Makefile (distribute): No need to filter out CVS.
60252 * scripts/list-sources.sh: Remove CVS, subversion and monotone
60253 handling.
60254
60255 2011-11-16 Andreas Schwab <schwab@redhat.com>
60256
60257 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
60258 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
60259 [USE_AS_STRNCASECMP_L]: Likewise.
60260 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
60261 NO_TLS_DIRECT_SEG_REFS.
60262 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
60263 Fix argument offsets for non-PIC.
60264 [USE_AS_STRNCASECMP_L]: Likewise.
60265 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
60266 NO_TLS_DIRECT_SEG_REFS.
60267
60268 2011-11-15 Ulrich Drepper <drepper@gmail.com>
60269
60270 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
60271 O_CLOEXEC.
60272 * locale/loadlocale.c (_nl_load_locale): Likewise.
60273
60274 2011-11-15 Andreas Schwab <schwab@redhat.com>
60275
60276 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
60277 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
60278 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
60279 (SYSCALL_GETTIME): Set errno on error.
60280
60281 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
60282 count references to noai6ai_cached.
60283
60284 2011-11-15 Ulrich Drepper <drepper@gmail.com>
60285
60286 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
60287
60288 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
60289 FD_CLOEXEC for /proc/self/maps.
60290
60291 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
60292 FD_CLOEXEC for /proc/meminfo.
60293
60294 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
60295 gai.conf.
60296
60297 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
60298 FD_CLOEXEC for given file.
60299
60300 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
60301
60302 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
60303 FD_CLOEXEC for /etc/hosts.
60304 (_gethtent): Likewise.
60305
60306 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
60307
60308 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
60309 cancellation and set FD_CLOEXEC for /etc/netgroup.
60310
60311 * nss/nss_files/files-key.c (search): Don't allow cancellation when
60312 reading /etc/publickey.
60313
60314 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
60315 allow cancellation when reading /etc/group.
60316
60317 * nss/nss_files/files-alias.c (internal_setent): Don't allow
60318 cancellation.
60319 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
60320
60321 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
60322 when using data file.
60323
60324 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
60325
60326 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
60327 (write_nis_obj): Use "c" and "e" in fopen.
60328
60329 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
60330
60331 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
60332
60333 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
60334
60335 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
60336
60337 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
60338 locale.alias.
60339
60340 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
60341
60342 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
60343
60344 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
60345
60346 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
60347 file parsing and set FD_CLOEXEC.
60348
60349 2011-11-14 Ulrich Drepper <drepper@gmail.com>
60350
60351 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
60352
60353 2011-11-14 Andreas Schwab <schwab@redhat.com>
60354
60355 * malloc/arena.c (arena_get2): Don't call reused_arena when
60356 _int_new_arena failed.
60357
60358 2011-11-14 Ulrich Drepper <drepper@gmail.com>
60359
60360 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
60361 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
60362 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
60363 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
60364 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
60365 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
60366 to compile strcasecmp and strncasecmp.
60367 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
60368 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
60369
60370 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
60371
60372 2011-11-13 Ulrich Drepper <drepper@gmail.com>
60373
60374 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
60375 locale-defines.sym to gen-as-const-headers.
60376 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
60377 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
60378 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
60379 to compile strcasecmp and strncasecmp.
60380 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
60381 strcasecmp_l and strncasecmp_l.
60382 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
60383 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
60384 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
60385 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
60386 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
60387 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
60388 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
60389 * sysdeps/i386/i686/multiarch/strncase.S: New file.
60390 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
60391 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
60392 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
60393
60394 2011-11-12 Ulrich Drepper <drepper@gmail.com>
60395
60396 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
60397 result of SYSDEP_GETTIME_CPU to retval.
60398 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
60399 parameter list to macro. Remove trailing semicolon. Adjust users.
60400
60401 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
60402 variable.
60403
60404 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
60405 mantissa words.
60406 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
60407
60408 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
60409 from unused variable.
60410
60411 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
60412 DWARF definitions.
60413 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
60414 for assembling.
60415
60416 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
60417 over namespaces.
60418
60419 * sunrpc/rpc_prot.c (rejected): Fix case value.
60420
60421 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
60422 unsigned long long int to avoid warnings in shift.
60423
60424 * posix/regex_internal.c (re_string_reconstruct): Actually use result
60425 of use of trans.
60426 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
60427 variable tmp.
60428
60429 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
60430 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
60431 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
60432
60433 * nis/nis_table.c (nis_list): Use variable of correct type for
60434 result of __follow_path call.
60435
60436 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60437
60438 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
60439 of math functions ceil, trunc, floor, round, and sqrt, when
60440 avaliable on the platform.
60441 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
60442 name clash.
60443 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
60444 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
60445 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
60446
60447 2011-10-30 Marek Polacek <mpolacek@redhat.com>
60448
60449 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
60450 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
60451
60452 2011-11-11 Roland McGrath <roland@hack.frob.com>
60453
60454 * include/unistd.h: Fix __readlink return type.
60455 Reported by Chris Metcalf <cmetcalf@tilera.com>.
60456
60457 2011-11-11 Ulrich Drepper <drepper@gmail.com>
60458
60459 * stdlib/ucontext.h: Undo last change for makecontext.
60460
60461 2011-11-11 Andreas Schwab <schwab@redhat.com>
60462
60463 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
60464
60465 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
60466 * setjmp/setjmp.h: Mark functions as non-leaf.
60467 * setjmp/bits/setjmp2.h: Likewise.
60468 * stdlib/ucontext.h: Likewise.
60469
60470 2011-11-10 Andreas Schwab <schwab@redhat.com>
60471
60472 * malloc/arena.c (_int_new_arena): Don't increment narenas.
60473 (reused_arena): Don't check arena limit.
60474 (arena_get2): Atomically check arena limit.
60475
60476 2011-11-08 Ulrich Drepper <drepper@gmail.com>
60477
60478 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
60479 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
60480
60481 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
60482 instructions.
60483
60484 2011-11-07 Andreas Schwab <schwab@redhat.com>
60485
60486 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
60487 handler when locking.
60488
60489 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
60490 Fix size of allocated buffer.
60491
60492 2011-11-04 Andreas Schwab <schwab@redhat.com>
60493
60494 [BZ #10103]
60495 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
60496 declarations for long double functions.
60497 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
60498
60499 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
60500
60501 2011-11-03 Andreas Schwab <schwab@redhat.com>
60502
60503 * nscd/nscd.c (main): Don't start AVC thread until credentials are
60504 installed.
60505
60506 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
60507 is disabled.
60508
60509 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
60510
60511 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
60512
60513 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
60514
60515 * include/alloca.h (stackinfo_alloca_round): Define.
60516 (extend_alloca): Use it.
60517 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
60518 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
60519 here.
60520
60521 * scripts/check-local-headers.sh: Ignore libaudit.h.
60522
60523 * nscd/Makefile (extra-objs): Make recursively expanded.
60524
60525 2011-11-01 Ulrich Drepper <drepper@gmail.com>
60526
60527 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
60528 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
60529
60530 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
60531 * posix/tst-rfc3484-2.c: Likewise.
60532 * posix/tst-rfc3484-3.c: Likewise.
60533
60534 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
60535 process_vm_writev.
60536 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
60537 process_vm_writev.
60538 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
60539 process_vm_writev from libc using GLIBC_2.15 version.
60540
60541 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
60542
60543 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
60544
60545 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
60546 stack usage.
60547
60548 2011-10-31 Ulrich Drepper <drepper@gmail.com>
60549
60550 [BZ #13367]
60551 * nss/getent.c (initgroups_keys): Show error message in case no group
60552 names are given.
60553
60554 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
60555 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
60556 __bump_nl_timestamp.
60557 * nscd/connections (nscd_init): When host database is served open
60558 netlink socket and request notification about configuration changes.
60559 (main_loop_poll): Track netlink file descriptor and bump timestamp
60560 in case data becomes available.
60561 (main_loop_epoll): Likewise.
60562 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
60563 (database_pers_head): Add extra_data fileds.
60564 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
60565 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
60566 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
60567 Adjust caller.
60568 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
60569 in6ai data, call __free_in6ai.
60570 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
60571 Add -DHAVE_NETLINK.
60572 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
60573 interface information. Reuse previous data if netlink timestamp
60574 is not changed.
60575 (__bump_nl_timestamp): New function.
60576 (__free_in6ai): New function.
60577
60578 2011-10-30 Ulrich Drepper <drepper@gmail.com>
60579
60580 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
60581 close_not_cancel_no_status here.
60582 (__check_pf): Reorganize code a bit to not call close twice if OOM.
60583
60584 2011-10-29 Ulrich Drepper <drepper@gmail.com>
60585
60586 [BZ #13276]
60587 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
60588 return value.
60589
60590 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
60591 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
60592 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
60593
60594 2011-07-03 Andreas Jaeger <aj@suse.de>
60595
60596 [BZ #10709]
60597 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
60598 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
60599 * math/libm-test.inc (sin_test): Add test case.
60600
60601 2011-10-29 Ulrich Drepper <drepper@gmail.com>
60602
60603 [BZ #13337]
60604 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
60605 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
60606
60607 * elf/chroot_canon.c (chroot_canon): Cleanups.
60608
60609 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
60610
60611 [BZ #13335]
60612 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
60613 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
60614
60615 * string/test-strchr.c: Make usable for strchrnul testing.
60616 * string/test-strchrnul.c: New file.
60617 * string/Makefile (strop-tests): Add strchrnul.
60618
60619 * po/it.po: Update from translation team.
60620 * po/es.po: Likewise.
60621
60622 2011-10-28 Ulrich Drepper <drepper@gmail.com>
60623
60624 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
60625 the three constants needed as parameters. Drop the others.
60626 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
60627 __m128i_strloadu_tolower.
60628 Create and initialize variable zero and use it in all the places
60629 where _mm_setzero_si128 was used.
60630
60631 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
60632 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
60633 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
60634 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
60635 anymore.
60636 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
60637 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
60638 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
60639 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
60640 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
60641 __mpranred, __mptan.
60642 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
60643 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
60644 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
60645 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
60646 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
60647 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
60648 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
60649 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
60650 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
60651
60652 2011-10-28 Andreas Schwab <schwab@redhat.com>
60653
60654 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
60655 redefine if SHARED.
60656 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
60657
60658 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
60659 wide char related routines to wcsmbs subdir.
60660
60661 2011-10-27 Andreas Schwab <schwab@redhat.com>
60662
60663 [BZ #13344]
60664 * misc/sys/cdefs.h (__THROWNL): Define.
60665 * posix/unistd.h: Use __THREADNL instead of __THREAD
60666 for memory synchronization functions.
60667
60668 2011-10-26 Roland McGrath <roland@hack.frob.com>
60669
60670 [BZ #13349]
60671 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
60672 doesn't exist.
60673 * manual/stdio.texi (Obstack Streams): Node removed.
60674
60675 2011-10-26 Andreas Schwab <schwab@redhat.com>
60676
60677 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
60678 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
60679 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
60680
60681 * math/math_private.h (math_force_eval): Allow non-addressable
60682 arguments.
60683 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
60684
60685 2011-10-25 Ulrich Drepper <drepper@gmail.com>
60686
60687 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
60688 file is not needed.
60689
60690 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
60691 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
60692 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
60693 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
60694 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
60695 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
60696 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
60697 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
60698 Add AVX variants.
60699 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
60700 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
60701 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
60702 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
60703 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
60704 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
60705 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
60706 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
60707 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
60708 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
60709 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
60710 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
60711 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
60712 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
60713 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
60714 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
60715 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
60716 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
60717 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
60718
60719 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
60720 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
60721
60722 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
60723 place. Use VEX encoding when compiling for AVX.
60724
60725 2011-10-25 Andreas Schwab <schwab@redhat.com>
60726
60727 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
60728 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
60729
60730 * string/test-strchr.c (do_test): Don't generate NUL bytes.
60731
60732 2011-10-25 Ulrich Drepper <drepper@gmail.com>
60733
60734 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
60735 useless if() expression.
60736 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
60737 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
60738 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
60739 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
60740 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
60741 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
60742 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
60743 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
60744 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
60745 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
60746 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
60747 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
60748 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
60749 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
60750 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
60751 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
60752 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
60753 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
60754 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
60755
60756 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
60757
60758 2011-10-25 Andreas Schwab <schwab@redhat.com>
60759
60760 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
60761 condition.
60762 * elf/dl-fini.c (_dl_sort_fini): Likewise.
60763
60764 2011-10-25 Ulrich Drepper <drepper@gmail.com>
60765
60766 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
60767 .text section. Avoid duplicate constants.
60768 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
60769 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
60770 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
60771 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
60772 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
60773 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
60774 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
60775 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
60776 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
60777 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
60778 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
60779 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
60780 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
60781 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
60782 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
60783 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
60784 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
60785 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
60786 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
60787 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
60788 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
60789 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
60790 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
60791 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
60792 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
60793 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
60794 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
60795 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
60796 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
60797 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
60798 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
60799 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
60800 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
60801 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
60802 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
60803 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
60804 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
60805 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
60806 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
60807 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
60808 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
60809 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
60810 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
60811 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
60812 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
60813
60814 2011-10-24 Ulrich Drepper <drepper@gmail.com>
60815
60816 * sysdeps/x86_64/dla.h: Move to ...
60817 * sysdeps/x86_64/fpu/dla.h: ...here.
60818 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
60819 situations. Use __builtin_fma only for gcc 4.6 and up.
60820
60821 * config.make.in: Add have-mfma4 entry.
60822 * configure.in: Substitute libc_cv_cc_fma4.
60823 * math/Makefile (dbl-only-routines): Add sincostab.
60824 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
60825 Use __sincostab not sincos.
60826 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
60827 name is a macro.
60828 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
60829 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
60830 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
60831 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
60832 using __copysign.
60833 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
60834 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
60835 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
60836 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
60837 and __inv.
60838 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
60839 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
60840 __copysign.
60841 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
60842 define aliases when function name is a macro.
60843 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
60844 sysdeps/ieee754/dbl-64/sincos.tbl.
60845 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
60846 fma4-enabled routines.
60847 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
60848 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
60849 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
60850 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
60851 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
60852 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
60853 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
60854 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
60855 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
60856 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
60857 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
60858 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
60859 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
60860 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
60861 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
60862 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
60863 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
60864 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
60865 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
60866 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
60867 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
60868 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
60869 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
60870 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
60871 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
60872 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
60873 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
60874 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
60875 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
60876 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
60877
60878 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
60879 rename.
60880 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
60881 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
60882 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
60883 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
60884 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
60885 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
60886 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
60887 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
60888
60889 2011-10-24 Andreas Schwab <schwab@redhat.com>
60890
60891 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
60892
60893 2011-10-23 Ulrich Drepper <drepper@gmail.com>
60894
60895 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
60896
60897 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
60898 prediction.
60899 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
60900
60901 * string/strnlen.c: Don't define STRNLEN, reverse logic.
60902 Remove unused variable magic_bits.
60903 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
60904
60905 * string/strnlen.c: Define and use STRNLEN macro.
60906 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
60907 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
60908 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
60909 * wcsmbs/wcslen.c: Define and use WCSLEN.
60910 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
60911 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
60912 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
60913 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
60914 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
60915 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
60916 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
60917
60918 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
60919
60920 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60921 strnlen-sse2-no-bsf.
60922 Rename strlen-no-bsf to strlen-sse2-no-bsf.
60923 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
60924 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
60925 Add strnlen support.
60926 (USE_AS_STRNLEN): New macro.
60927 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
60928 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
60929 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
60930 * sysdeps/x86_64/wcslen.S: New file.
60931
60932 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
60933
60934 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
60935 XMM-moves are used for copying on small sizes.
60936
60937 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
60938
60939 * wcsmbs/Makefile (strop-tests): Add wcschr.
60940 * wcsmbs/test-wcschr.c: New file.
60941 * string/test-strchr.c: Update.
60942 Add wcschr support.
60943 (WIDE): New macro.
60944
60945 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
60946
60947 * wcsmbs/Makefile (strop-tests): Add wcslen.
60948 * wcsmbs/test-wcslen.c: New file.
60949 * string/test-strlen.c: Update.
60950 Add wcslen support.
60951 (WIDE): New macro.
60952
60953 2011-10-23 Ulrich Drepper <drepper@gmail.com>
60954
60955 * po/it.po: Update from translation team.
60956
60957 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
60958
60959 * sysdeps/x86_64/wcscmp.S: Update.
60960 Fix wrong comparison semantics.
60961 wcscmp shall use signed comparison not unsigned.
60962 Don't use substraction to avoid overflow bug.
60963 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
60964 * wcsmbc/wcscmp.c: Likewise.
60965 * string/test-strcmp.c: Likewise.
60966 Add new tests to check cases with negative values.
60967
60968 2011-10-23 Ulrich Drepper <drepper@gmail.com>
60969
60970 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
60971 * sysdeps/x86_64/dla.h: ...here. New file.
60972 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
60973 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
60974 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
60975 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
60976 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
60977 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
60978 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
60979 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
60980 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
60981
60982 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
60983
60984 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
60985 __ynl_finite aliases.
60986
60987 2011-10-22 Ulrich Drepper <drepper@gmail.com>
60988
60989 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60990
60991 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
60992 define DLA_FMA.
60993 [DLA_FMA] (EMULV): Use DLA_FMA.
60994 [DLA_FMA] (MUL12): Use EMULV.
60995 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
60996 that are not needed.
60997 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
60998 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
60999 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
61000 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
61001 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
61002 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
61003 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
61004
61005 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
61006
61007 * math/s_nan.c: Undef __nan.
61008 * math/s_nanf.c: Undef __nanf.
61009 * math/s_nanl.c: Undef __nanl.
61010 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
61011 "math_private.h".
61012
61013 2011-10-22 Ulrich Drepper <drepper@gmail.com>
61014
61015 * math/s_catan.c: Add branch predictions.
61016 * math/s_catanf.c: Likewise.
61017 * math/s_catanh.c: Likewise.
61018 * math/s_catanhf.c: Likewise.
61019 * math/s_catanhl.c: Likewise.
61020 * math/s_catanl.c: Likewise.
61021 * math/s_cexp.c: Likewise.
61022 * math/s_cexpf.c: Likewise.
61023 * math/s_cexpl.c: Likewise.
61024 * math/s_clog.c: Likewise.
61025 * math/s_clog10.c: Likewise.
61026 * math/s_clog10f.c: Likewise.
61027 * math/s_clog10l.c: Likewise.
61028 * math/s_clogf.c: Likewise.
61029 * math/s_clogl.c: Likewise.
61030 * math/s_csqrt.c: Likewise.
61031 * math/s_csqrtf.c: Likewise.
61032 * math/s_csqrtl.c: Likewise.
61033 * math/s_ctanf.c: Likewise.
61034 * math/s_ctanh.c: Likewise.
61035 * math/s_ctanhf.c: Likewise.
61036 * math/s_ctanhl.c: Likewise.
61037 * math/s_ctanl.c: Likewise.
61038
61039 * math/math_private.h: Define __nan, __nanf, __nanl.
61040 * math/s_cacosh.c: Include <math_private.h>.
61041 * math/s_cacoshl.c: Likewise.
61042 * math/s_casinh.c: Likewise.
61043 * math/s_casinhf.c: Likewise.
61044 * math/s_casinhl.c: Likewise.
61045 * math/s_ccos.c: Rely entire on ccosh.
61046 * math/s_ccosf.c: Rely entire on ccoshf.
61047 * math/s_ccosl.c: Rely entirely on ccoshl.
61048 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
61049 Remove tests for FE_INVALID.
61050 * math/s_ccoshf.c: Likewise.
61051 * math/s_ccoshl.c: Likewise.
61052 * math/s_csin.c: Likewise.
61053 * math/s_csinf.c: Likewise.
61054 * math/s_csinh.c Likewise.
61055 * math/s_csinhf.c: Likewise.
61056 * math/s_csinhl.c: Likewise.
61057 * math/s_csinl.c: Likewise.
61058 * math/s_ctan.c: Likewise.
61059 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
61060 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
61061 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
61062
61063 2011-10-21 Ulrich Drepper <drepper@gmail.com>
61064
61065 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
61066 compilation problems.
61067
61068 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
61069 __builtin_expect.
61070
61071 2011-10-20 Ulrich Drepper <drepper@gmail.com>
61072
61073 * sysdeps/i386/configure.in: Test for -mfma4 option.
61074 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
61075 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
61076 COMMON_CPUID_INDEX_80000001.
61077 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
61078 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
61079 use it if FMA3 is not supported.
61080 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
61081
61082 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
61083 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
61084
61085 2011-10-20 Andreas Schwab <schwab@redhat.com>
61086
61087 [BZ #12892]
61088 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
61089 it would create a cycle with a link time dependency.
61090
61091 2011-10-19 Ulrich Drepper <drepper@gmail.com>
61092
61093 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
61094 instruction.
61095 * string/Makefile (strop-tests): Add rawmemchr.
61096 * string/test-rawmemchr.c: New file.
61097
61098 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
61099 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
61100 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
61101 when compiling str{,n}casecmp and when AVX is available. Hook up
61102 new optimized code in initializers.
61103
61104 2011-10-19 Andreas Schwab <schwab@redhat.com>
61105
61106 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
61107 __feraiseexcept instead of feraiseexcept.
61108
61109 2011-10-18 Ulrich Drepper <drepper@gmail.com>
61110
61111 * math/math_private.h: Define defaults for libc_fetestexcept and
61112 libc_feupdateenv.
61113 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
61114 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
61115 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
61116 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
61117 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
61118 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
61119 libc_fetestexcept and libc_feupdateenv.
61120
61121 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
61122 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
61123 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
61124 * sysdeps/x86_64/fpu/math_private.h: Define special version of
61125 libc_feholdexcept_setround.
61126
61127 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
61128 Add s_nearbyint-c and s_nearbyintf-c.
61129 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
61130 nearbyintf inlines.
61131 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
61132 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
61133 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
61134 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
61135
61136 * math/math_private.h: Define defaults for libc_fegetround,
61137 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
61138 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
61139 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
61140 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
61141 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
61142 standard functions.
61143 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
61144 Remove comments and hacks for old compiler versions.
61145 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
61146 libc_fegetround, libc_fesetround, libc_feholdexcept, and
61147 libc_feholdexceptl.
61148
61149 2011-10-18 Andreas Schwab <schwab@redhat.com>
61150
61151 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
61152 (__feraiseexcept_renamed): Add __NTH.
61153 (feraiseexcept): Add __NTH. Rename local variables to fix
61154 namespace violations.
61155
61156 2011-10-17 Ulrich Drepper <drepper@gmail.com>
61157
61158 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
61159
61160 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
61161
61162 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
61163 recently added interfaces.
61164 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
61165
61166 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
61167 about macro parameter expansion.
61168
61169 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
61170 __NO_MATH_INLINES is defined. Cleanups.
61171
61172 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
61173 and __floorf is target has SSE4.1.
61174 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
61175 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
61176 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
61177 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
61178
61179 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
61180 name.
61181 (floorf): Likewise.
61182
61183 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
61184
61185 2011-10-17 Andreas Schwab <schwab@redhat.com>
61186
61187 * misc/sys/cdefs.h: Fix last change.
61188
61189 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
61190 database lookup.
61191
61192 2011-10-16 Ulrich Drepper <drepper@gmail.com>
61193
61194 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
61195
61196 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
61197 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
61198 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
61199 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
61200 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
61201 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
61202 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
61203 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
61204 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
61205 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
61206 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
61207 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
61208 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
61209 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
61210 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
61211 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
61212 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
61213 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
61214 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
61215 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
61216 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
61217 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
61218
61219 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
61220 ceil, ceilf, floor, floorf.
61221
61222 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
61223 Perform IRELATIVE relocations last.
61224
61225 * elf/do-rel.h: Add another parameter nrelative, replacing the
61226 local variable with the same name. Change name of the function
61227 to end in Rel or Rela (uppercase).
61228 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
61229 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
61230 elf_dynamic_do_##reloc function.
61231
61232 2011-10-15 Ulrich Drepper <drepper@gmail.com>
61233
61234 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
61235 is sufficient, at least on modern CPUs.
61236
61237 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
61238
61239 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
61240 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
61241
61242 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
61243 __expl_finite.
61244 * math/bits/math-finite.h: Add entries for exp.
61245 * math/e_expl.c: Add __*_finite alias.
61246 * sysdeps/i386/fpu/e_exp.S: Likewise.
61247 * sysdeps/i386/fpu/e_expf.S: Likewise.
61248 * sysdeps/i386/fpu/e_expl.c: Likewise.
61249 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
61250 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
61251 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
61252 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
61253 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
61254 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
61255 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
61256
61257 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
61258 is sufficient, at least on modern CPUs.
61259
61260 * ctype/ctype-info.c (__ctype_init): Define.
61261 * include/ctype.h (__ctype_init): Declare.
61262 (__ctype_b_loc): The variable is always initialized.
61263 (__ctype_toupper_loc): Likewise.
61264 (__ctype_tolower_loc): Likewise.
61265 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
61266 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
61267
61268 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
61269
61270 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
61271
61272 * configure.in: Also look in $cxxmachine/include for C++ system
61273 headers.
61274
61275 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
61276
61277 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
61278 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
61279 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
61280 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
61281 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
61282 (USE_AS_WMEMCMP): New macro.
61283 Fixing indents.
61284 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
61285 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
61286 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
61287 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
61288 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61289 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
61290 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
61291 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
61292 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
61293 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
61294 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
61295 (USE_AS_WMEMCMP): New macro.
61296 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
61297 * sysdeps/string/test-memcmp.c: Update.
61298 Fix simple_wmemcmp.
61299 Add new tests.
61300 * wcsmbs/wmemcmp.c: Update.
61301 (WMEMCMP): New macro.
61302 Fix overflow bug.
61303
61304 2011-10-12 Andreas Jaeger <aj@suse.de>
61305
61306 [BZ #13268]
61307 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
61308
61309 2011-10-15 Ulrich Drepper <drepper@gmail.com>
61310
61311 * libio/iofwide.c (do_length): Avoid warning.
61312
61313 * ctype/ctype.h (__isctype_f): Add missing __THROW.
61314
61315 2011-10-14 Ulrich Drepper <drepper@gmail.com>
61316
61317 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
61318
61319 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
61320 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
61321 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
61322 * sysdeps/i386/i686/fpu/e_log.S: New file.
61323 * sysdeps/i386/i686/fpu/e_logf.S: New file.
61324 * sysdeps/i386/i686/fpu/e_logl.S: New file.
61325
61326 * ctype/ctype.h: Add support for inlined isXXX functions when
61327 compiling C++ code.
61328
61329 2011-10-14 Andreas Schwab <schwab@redhat.com>
61330
61331 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
61332
61333 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
61334
61335 2011-10-13 Roland McGrath <roland@hack.frob.com>
61336
61337 [BZ #13291]
61338 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
61339
61340 2011-10-13 Andreas Schwab <schwab@redhat.com>
61341
61342 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
61343 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
61344 feraiseexcept.
61345
61346 * sysdeps/x86_64/memrchr.S: Check for zero size.
61347
61348 * string/stratcliff.c: Add memrchr tests.
61349
61350 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
61351
61352 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61353 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
61354 rawmemchr-sse2 rawmemchr-sse2-bsf.
61355 * sysdeps/i386/i686/multiarch/memchr.S: New file.
61356 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
61357 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
61358 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
61359 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
61360 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
61361 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
61362 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
61363 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
61364 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
61365 * string/memrchr.c (MEMRCHR): New macro.
61366
61367 2011-10-12 Ulrich Drepper <drepper@gmail.com>
61368
61369 Add integration with gcc's -ffinite-math-only and optimize wrapper
61370 functions in libm.
61371 * Versions.def: Define GLIBC_2.15 version for libm.
61372 * math/Makefile (headers): Add bits/math-finite.h.
61373 * math/bits/math-finite.h: New file.
61374 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
61375 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
61376 * math/e_acoshl.c: Add __*_finite alias.
61377 * math/e_acosl.c: Likewise.
61378 * math/e_asinl.c: Likewise.
61379 * math/e_atan2l.c: Likewise.
61380 * math/e_atanhl.c: Likewise.
61381 * math/e_coshl.c: Likewise.
61382 * math/e_exp10.c: Likewise.
61383 * math/e_exp10f.c: Likewise.
61384 * math/e_exp10l.c: Likewise.
61385 * math/e_exp2l.c: Likewise.
61386 * math/e_fmodl.c: Likewise.
61387 * math/e_gammal_r.c: Likewise.
61388 * math/e_hypotl.c: Likewise.
61389 * math/e_j0l.c: Likewise.
61390 * math/e_j1l.c: Likewise.
61391 * math/e_jnl.c: Likewise.
61392 * math/e_lgammal_r.c: Likewise.
61393 * math/e_log10l.c: Likewise.
61394 * math/e_log2l.c: Likewise.
61395 * math/e_logl.c: Likewise.
61396 * math/e_powl.c: Likewise.
61397 * math/e_sinhl.c: Likewise.
61398 * math/e_sqrtl.c: Likewise.
61399 * math/e_scalb.c: Completely rewritten and optimized.
61400 * math/e_scalbf.c: Likewise.
61401 * math/e_scalbl.c: Likewise.
61402 * math/w_acos.c: Likewise.
61403 * math/w_acosf.c: Likewise.
61404 * math/w_acosl.c: Likewise.
61405 * math/w_acosh.c: Likewise.
61406 * math/w_acoshf.c: Likewise.
61407 * math/w_acoshl.c: Likewise.
61408 * math/w_asin.c: Likewise.
61409 * math/w_asinf.c: Likewise.
61410 * math/w_asinl.c: Likewise.
61411 * math/w_atan2.c: Likewise.
61412 * math/w_atan2f.c: Likewise.
61413 * math/w_atan2l.c: Likewise.
61414 * math/w_atanh.c: Likewise.
61415 * math/w_atanhf.c: Likewise.
61416 * math/w_atanhl.c: Likewise.
61417 * math/w_exp10.c: Likewise.
61418 * math/w_exp10f.c: Likewise.
61419 * math/w_exp10l.c: Likewise.
61420 * math/w_fmod.c: Likewise.
61421 * math/w_fmodf.c: Likewise.
61422 * math/w_fmodl.c: Likewise.
61423 * math/w_j0.c: Likewise.
61424 * math/w_j0f.c: Likewise.
61425 * math/w_j0l.c: Likewise.
61426 * math/w_j1.c: Likewise.
61427 * math/w_j1f.c: Likewise.
61428 * math/w_j1l.c: Likewise.
61429 * math/w_jn.c: Likewise.
61430 * math/w_jnf.c: Likewise.
61431 * math/w_log.c: Likewise.
61432 * math/w_logf.c: Likewise.
61433 * math/w_logl.c: Likewise.
61434 * math/w_log10.c: Likewise.
61435 * math/w_log10f.c: Likewise.
61436 * math/w_log10l.c: Likewise.
61437 * math/w_log2.c: Likewise.
61438 * math/w_log2f.c: Likewise.
61439 * math/w_log2l.c: Likewise.
61440 * math/w_pow.c: Likewise.
61441 * math/w_powf.c: Likewise.
61442 * math/w_powl.c: Likewise.
61443 * math/w_remainder.c: Likewise.
61444 * math/w_remainderf.c: Likewise.
61445 * math/w_remainderl.c: Likewise.
61446 * math/w_scalb.c: Likewise.
61447 * math/w_scalbf.c: Likewise.
61448 * math/w_scalbl.c: Likewise.
61449 * math/w_sqrt.c: Likewise.
61450 * math/w_sqrtf.c: Likewise.
61451 * math/w_sqrtl.c: Likewise.
61452 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
61453 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
61454 used.
61455 * math/math_private.h: Declare __kernel_standard_f.
61456 * math/w_cosh.c: Remove cruft and optimize a bit.
61457 * math/w_coshf.c: Likewise.
61458 * math/w_coshl.c: Likewise.
61459 * math/w_exp2.c: Likewise.
61460 * math/w_exp2f.c: Likewise.
61461 * math/w_exp2l.c: Likewise.
61462 * math/w_hypot.c: Likewise.
61463 * math/w_hypotf.c: Likewise.
61464 * math/w_hypotl.c: Likewise.
61465 * math/w_lgamma.c: Likewise.
61466 * math/w_lgamma_r.c: Likewise.
61467 * math/w_lgammaf.c: Likewise.
61468 * math/w_lgammaf_r.c: Likewise.
61469 * math/w_lgammal.c: Likewise.
61470 * math/w_lgammal_r.c: Likewise.
61471 * math/w_sinh.c: Likewise.
61472 * math/w_sinhf.c: Likewise.
61473 * math/w_sinhl.c: Likewise.
61474 * math/w_tgamma.c: Likewise.
61475 * math/w_tgammaf.c: Likewise.
61476 * math/w_tgammal.c: Likewise.
61477 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
61478 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
61479 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
61480 Minor optimizations. Pretty printing. Remove cruft.
61481 * sysdeps/i386/fpu/e_acosf.S: Likewise.
61482 * sysdeps/i386/fpu/e_acosh.S: Likewise.
61483 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
61484 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
61485 * sysdeps/i386/fpu/e_acosl.c: Likewise.
61486 * sysdeps/i386/fpu/e_asin.S: Likewise.
61487 * sysdeps/i386/fpu/e_asinf.S: Likewise.
61488 * sysdeps/i386/fpu/e_atan2.S: Likewise.
61489 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
61490 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
61491 * sysdeps/i386/fpu/e_atanh.S: Likewise.
61492 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
61493 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
61494 * sysdeps/i386/fpu/e_exp10.S: Likewise.
61495 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
61496 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
61497 * sysdeps/i386/fpu/e_exp2.S: Likewise.
61498 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
61499 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
61500 * sysdeps/i386/fpu/e_fmod.S: Likewise.
61501 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
61502 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
61503 * sysdeps/i386/fpu/e_hypot.S: Likewise.
61504 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
61505 * sysdeps/i386/fpu/e_log.S: Likewise.
61506 * sysdeps/i386/fpu/e_log10.S: Likewise.
61507 * sysdeps/i386/fpu/e_log10f.S: Likewise.
61508 * sysdeps/i386/fpu/e_log10l.S: Likewise.
61509 * sysdeps/i386/fpu/e_log2.S: Likewise.
61510 * sysdeps/i386/fpu/e_log2f.S: Likewise.
61511 * sysdeps/i386/fpu/e_log2l.S: Likewise.
61512 * sysdeps/i386/fpu/e_logf.S: Likewise.
61513 * sysdeps/i386/fpu/e_logl.S: Likewise.
61514 * sysdeps/i386/fpu/e_pow.S: Likewise.
61515 * sysdeps/i386/fpu/e_powf.S: Likewise.
61516 * sysdeps/i386/fpu/e_powl.S: Likewise.
61517 * sysdeps/i386/fpu/e_remainder.S: Likewise.
61518 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
61519 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
61520 * sysdeps/i386/fpu/e_scalb.S: Likewise.
61521 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
61522 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
61523 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
61524 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
61525 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
61526 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
61527 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
61528 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
61529 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
61530 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
61531 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
61532 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
61533 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
61534 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
61535 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
61536 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
61537 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
61538 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
61539 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
61540 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
61541 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
61542 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
61543 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
61544 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
61545 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
61546 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
61547 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
61548 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
61549 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
61550 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
61551 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
61552 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
61553 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
61554 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
61555 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
61556 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
61557 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
61558 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
61559 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
61560 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
61561 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
61562 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
61563 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
61564 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
61565 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
61566 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
61567 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
61568 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
61569 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
61570 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
61571 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
61572 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
61573 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
61574 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
61575 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
61576 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
61577 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
61578 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
61579 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
61580 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
61581 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
61582 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
61583 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
61584 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
61585 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
61586 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
61587 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
61588 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
61589 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
61590 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
61591 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
61592 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
61593 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
61594 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
61595 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
61596 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
61597 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
61598 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
61599 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
61600 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
61601 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
61602 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
61603 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
61604 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
61605 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
61606 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
61607 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
61608 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
61609 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
61610 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
61611 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
61612 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
61613 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
61614 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
61615 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
61616 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
61617 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
61618 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
61619 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
61620 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
61621 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
61622 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
61623 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
61624 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
61625 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
61626 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
61627 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
61628 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
61629 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
61630 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
61631 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
61632 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
61633 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
61634 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
61635 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
61636 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
61637 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
61638 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
61639 (__isnanf): Likewise.
61640 (__isinf_ns): Likewise.
61641 (__isinf_nsf): Likewise.
61642 (__finite): Likewise.
61643 (__finitef): Likewise.
61644 (__ieee754_sqrt): Define as macro.
61645 (__ieee754_sqrtf): Define as macro.
61646 (__ieee754_sqrtl): Define as macro.
61647 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
61648 inlined copy.
61649 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
61650 __FINITE_MATH_ONLY__ consistent.
61651 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
61652
61653 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
61654
61655 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
61656 of rawmemchr.
61657
61658 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
61659
61660 2011-10-09 Ulrich Drepper <drepper@gmail.com>
61661
61662 * po/ja.po: Update from translation team.
61663
61664 2011-10-08 Roland McGrath <roland@hack.frob.com>
61665
61666 * locale/programs/locarchive.c (prepare_address_space): New function.
61667 (create_archive, enlarge_archive, open_archive): Use it.
61668
61669 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
61670 inside [SHARED], where it is used.
61671
61672 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
61673
61674 * nss/getent.c (netgroup_keys): Remove unused variable.
61675 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
61676
61677 2011-10-08 Ulrich Drepper <drepper@gmail.com>
61678
61679 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
61680 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
61681 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
61682 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
61683 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
61684 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
61685 * math/Makefile (libm-calls): Add s_isinf_ns.
61686 * math/divtc3.c: Use __isinf_nsl instead of isinf.
61687 * math/multc3.c: Likewise.
61688 * math/s_casin.c: Likewise.
61689 * math/s_casinf.c: Likewise.
61690 * math/s_casinl.c: Likewise.
61691 * math/s_ccos.c: Likewise.
61692 * math/s_ccosf.c: Likewise.
61693 * math/s_ccosl.c: Likewise.
61694 * math/s_ctan.c: Likewise.
61695 * math/s_ctanf.c: Likewise.
61696 * math/s_ctanh.c: Likewise.
61697 * math/s_ctanhf.c: Likewise.
61698 * math/s_ctanhl.c: Likewise.
61699 * math/s_ctanl.c: Likewise.
61700 * math/w_fmod.c: Likewise.
61701 * math/w_fmodf.c: Likewise.
61702 * math/w_fmodl.c: Likewise.
61703 * math/w_remainder.c: Likewise.
61704 * math/w_remainderf.c: Likewise.
61705 * math/w_remainderl.c: Likewise.
61706 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
61707 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
61708 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
61709 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
61710 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
61711 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
61712 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
61713 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
61714
61715 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
61716 of the number.
61717 * stdio-common/printf_fphex.c: Likewise.
61718 * stdio-common/printf_size.c: Likewise.
61719
61720 * math/e_exp10.c: Include math_private.h using <...> not "...".
61721 * math/e_exp10f.c: Likewise.
61722 * math/e_exp10l.c: Likewise.
61723 * math/e_exp2l.c: Likewise.
61724 * math/e_j0l.c: Likewise.
61725 * math/e_j1l.c: Likewise.
61726 * math/e_jnl.c: Likewise.
61727 * math/e_lgammal_r.c: Likewise.
61728 * math/e_rem_pio2l.c: Likewise.
61729 * math/e_scalb.c: Likewise.
61730 * math/e_scalbf.c: Likewise.
61731 * math/e_scalbl.c: Likewise.
61732 * math/k_cosl.c: Likewise.
61733 * math/k_sinl.c: Likewise.
61734 * math/k_tanl.c: Likewise.
61735 * math/s_cacoshf.c: Likewise.
61736 * math/s_catan.c: Likewise.
61737 * math/s_catanf.c: Likewise.
61738 * math/s_catanh.c: Likewise.
61739 * math/s_catanhf.c: Likewise.
61740 * math/s_catanhl.c: Likewise.
61741 * math/s_catanl.c: Likewise.
61742 * math/s_ccosh.c: Likewise.
61743 * math/s_ccoshf.c: Likewise.
61744 * math/s_ccoshl.c: Likewise.
61745 * math/s_cexp.c: Likewise.
61746 * math/s_cexpf.c: Likewise.
61747 * math/s_cexpl.c: Likewise.
61748 * math/s_clog.c: Likewise.
61749 * math/s_clog10.c: Likewise.
61750 * math/s_clog10f.c: Likewise.
61751 * math/s_clog10l.c: Likewise.
61752 * math/s_clogf.c: Likewise.
61753 * math/s_clogl.c: Likewise.
61754 * math/s_csin.c: Likewise.
61755 * math/s_csinf.c: Likewise.
61756 * math/s_csinh.c: Likewise.
61757 * math/s_csinhf.c: Likewise.
61758 * math/s_csinhl.c: Likewise.
61759 * math/s_csinl.c: Likewise.
61760 * math/s_csqrt.c: Likewise.
61761 * math/s_csqrtf.c: Likewise.
61762 * math/s_csqrtl.c: Likewise.
61763 * math/s_ctan.c: Likewise.
61764 * math/s_ctanf.c: Likewise.
61765 * math/s_ctanh.c: Likewise.
61766 * math/s_ctanhf.c: Likewise.
61767 * math/s_ctanhl.c: Likewise.
61768 * math/s_ctanl.c: Likewise.
61769 * math/s_ldexp.c: Likewise.
61770 * math/s_ldexpf.c: Likewise.
61771 * math/s_ldexpl.c: Likewise.
61772 * math/s_significand.c: Likewise.
61773 * math/s_significandf.c: Likewise.
61774 * math/s_significandl.c: Likewise.
61775 * math/w_acos.c: Likewise.
61776 * math/w_acosf.c: Likewise.
61777 * math/w_acosh.c: Likewise.
61778 * math/w_acoshf.c: Likewise.
61779 * math/w_acoshl.c: Likewise.
61780 * math/w_acosl.c: Likewise.
61781 * math/w_asin.c: Likewise.
61782 * math/w_asinf.c: Likewise.
61783 * math/w_asinl.c: Likewise.
61784 * math/w_atan2.c: Likewise.
61785 * math/w_atan2f.c: Likewise.
61786 * math/w_atan2l.c: Likewise.
61787 * math/w_atanh.c: Likewise.
61788 * math/w_atanhf.c: Likewise.
61789 * math/w_atanhl.c: Likewise.
61790 * math/w_cosh.c: Likewise.
61791 * math/w_coshf.c: Likewise.
61792 * math/w_coshl.c: Likewise.
61793 * math/w_dremf.c: Likewise.
61794 * math/w_exp10.c: Likewise.
61795 * math/w_exp10f.c: Likewise.
61796 * math/w_exp10l.c: Likewise.
61797 * math/w_exp2.c: Likewise.
61798 * math/w_exp2f.c: Likewise.
61799 * math/w_fmod.c: Likewise.
61800 * math/w_fmodf.c: Likewise.
61801 * math/w_fmodl.c: Likewise.
61802 * math/w_hypot.c: Likewise.
61803 * math/w_hypotf.c: Likewise.
61804 * math/w_hypotl.c: Likewise.
61805 * math/w_j0.c: Likewise.
61806 * math/w_j0f.c: Likewise.
61807 * math/w_j0l.c: Likewise.
61808 * math/w_j1.c: Likewise.
61809 * math/w_j1f.c: Likewise.
61810 * math/w_j1l.c: Likewise.
61811 * math/w_jn.c: Likewise.
61812 * math/w_jnf.c: Likewise.
61813 * math/w_jnl.c: Likewise.
61814 * math/w_lgamma.c: Likewise.
61815 * math/w_lgamma_r.c: Likewise.
61816 * math/w_lgammaf.c: Likewise.
61817 * math/w_lgammaf_r.c: Likewise.
61818 * math/w_lgammal.c: Likewise.
61819 * math/w_lgammal_r.c: Likewise.
61820 * math/w_log.c: Likewise.
61821 * math/w_log10.c: Likewise.
61822 * math/w_log10f.c: Likewise.
61823 * math/w_log10l.c: Likewise.
61824 * math/w_log2.c: Likewise.
61825 * math/w_log2f.c: Likewise.
61826 * math/w_log2l.c: Likewise.
61827 * math/w_logf.c: Likewise.
61828 * math/w_logl.c: Likewise.
61829 * math/w_pow.c: Likewise.
61830 * math/w_powf.c: Likewise.
61831 * math/w_powl.c: Likewise.
61832 * math/w_remainder.c: Likewise.
61833 * math/w_remainderf.c: Likewise.
61834 * math/w_remainderl.c: Likewise.
61835 * math/w_scalb.c: Likewise.
61836 * math/w_scalbf.c: Likewise.
61837 * math/w_scalbl.c: Likewise.
61838 * math/w_sinh.c: Likewise.
61839 * math/w_sinhf.c: Likewise.
61840 * math/w_sinhl.c: Likewise.
61841 * math/w_sqrt.c: Likewise.
61842 * math/w_sqrtf.c: Likewise.
61843 * math/w_sqrtl.c: Likewise.
61844 * math/w_tgamma.c: Likewise.
61845 * math/w_tgammaf.c: Likewise.
61846 * math/w_tgammal.c: Likewise.
61847
61848 * po/ja.po: Update from translation team.
61849
61850 2011-09-29 Andreas Jaeger <aj@suse.de>
61851
61852 [BZ #13179]
61853 * sunrpc/netname.c (netname2host): Fix logic.
61854
61855 [BZ #6779]
61856 [BZ #6783]
61857 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
61858 correctly.
61859 * math/w_remainder.c (__remainder): Likewise.
61860 * math/w_remainderf.c (__remainderf): Likewise.
61861 * math/libm-test.inc (remainder_test): Add test cases.
61862
61863 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
61864
61865 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
61866 sdiv_qrnnd.
61867
61868 2011-10-07 Ulrich Drepper <drepper@gmail.com>
61869
61870 * string/test-memcmp.c: Avoid unncessary #defines.
61871 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
61872
61873 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
61874
61875 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
61876 Use new sse2 version for core i3 - i7 as it's faster
61877 than sse42 version.
61878 (bit_Prefer_PMINUB_for_stringop): New.
61879 * sysdeps/x86_64/rawmemchr.S: Update.
61880 Replace with faster SSE2 version.
61881 * sysdeps/x86_64/memrchr.S: New file.
61882 * sysdeps/x86_64/memchr.S: Update.
61883 Replace with faster SSE2 version.
61884
61885 2011-09-12 Marek Polacek <mpolacek@redhat.com>
61886
61887 * elf/dl-load.c (lose): Add cast to avoid warning.
61888
61889 2011-10-07 Ulrich Drepper <drepper@gmail.com>
61890
61891 * po/ca.po: Update from translation team.
61892
61893 * inet/getnetgrent_r.c: Hook up nscd.
61894 * nscd/Makefile (routines): Add nscd_netgroup.
61895 (nscd-modules): Add netgroupcache.
61896 (CFLAGS-netgroupcache.c): Define.
61897 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
61898 (cache_search): Add const to second parameter.
61899 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
61900 INNETGR.
61901 (dbs): Add netgrdb entry.
61902 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
61903 (verify_persistent_db): Handle netgrdb.
61904 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
61905 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
61906 GETFDNETGR.
61907 (netgroup_response_header): Define.
61908 (innetgroup_response_header): Define.
61909 (datahead): Add netgroup_response_header and innetgroup_response_header
61910 elements.
61911 * nscd/nscd.conf: Add entries for netgroup cache.
61912 * nscd/nscd.h (dbtype): Add netgrdb.
61913 (_PATH_NSCD_NETGROUP_DB): Define.
61914 (netgroup_iov_disabled): Declare.
61915 (xmalloc, xcalloc, xrealloc): Move declarations here.
61916 (cache_search): Adjust prototype.
61917 Add netgroup-related prototypes.
61918 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
61919 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
61920 (__nscd_innetgr): Declare.
61921 * nscd/selinux.c (perms): Use access_vector_t as element type and
61922 add netgroup-related initializers.
61923 * nscd/netgroupcache.c: New file.
61924 * nscd/nscd_netgroup.c: New file.
61925 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
61926 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
61927 For four parameters use innetgr.
61928 * nss/nss_files/files-init.c: Add definition and callback for netgr.
61929 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
61930 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
61931 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
61932
61933 * nscd/connections.c (register_traced_file): Don't register file
61934 for disabled databases.
61935
61936 2011-10-06 Ulrich Drepper <drepper@gmail.com>
61937
61938 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
61939
61940 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
61941 from tree and freeing node.
61942
61943 2011-09-25 Jiri Olsa <jolsa@redhat.com>
61944
61945 * nss/nsswitch.c (__nss_database_lookup): Handle
61946 nss_parse_service_list out of memory case.
61947
61948 2011-09-15 Jiri Olsa <jolsa@redhat.com>
61949
61950 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
61951 out of memory case.
61952
61953 2011-10-04 Andreas Schwab <schwab@redhat.com>
61954
61955 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
61956 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
61957 pass it down.
61958 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
61959 elf_machine_rela, elf_machine_lazy_rel.
61960 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
61961 (ELF_DYNAMIC_DO_REL): Likewise.
61962 (ELF_DYNAMIC_DO_RELA): Likewise.
61963 (ELF_DYNAMIC_RELOCATE): Likewise.
61964 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
61965 to ELF_DYNAMIC_DO_REL.
61966 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
61967 (dl_main): In trace mode always set __RTLD_NOIFUNC.
61968 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
61969 elf_machine_rela.
61970 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
61971 skip_ifunc, don't call ifunc function if non-zero.
61972 (elf_machine_rela): Likewise.
61973 (elf_machine_lazy_rel): Likewise.
61974 (elf_machine_lazy_rela): Likewise.
61975 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
61976 (elf_machine_lazy_rel): Likewise.
61977 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
61978 Likewise.
61979 (elf_machine_lazy_rel): Likewise.
61980 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
61981 Likewise.
61982 (elf_machine_lazy_rel): Likewise.
61983 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
61984 (elf_machine_lazy_rel): Likewise.
61985 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
61986 (elf_machine_lazy_rel): Likewise.
61987 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
61988 (elf_machine_lazy_rel): Likewise.
61989 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
61990 (elf_machine_lazy_rel): Likewise.
61991 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
61992 (elf_machine_lazy_rel): Likewise.
61993 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
61994 (elf_machine_lazy_rel): Likewise.
61995
61996 2011-09-28 Ulrich Drepper <drepper@gmail.com>
61997
61998 * nss/nss_files/files-init.c (_nss_files_init): Use static
61999 initialization for all the *_traced_file variables.
62000
62001 2011-09-28 Andreas Schwab <schwab@redhat.com>
62002
62003 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
62004
62005 2011-09-27 Roland McGrath <roland@hack.frob.com>
62006
62007 [BZ #13226]
62008 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
62009
62010 2011-09-27 Andreas Schwab <schwab@redhat.com>
62011
62012 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
62013 Reread the line before reparsing it.
62014
62015 2011-09-26 Andreas Schwab <schwab@redhat.com>
62016
62017 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
62018
62019 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
62020 Maxim Kuvyrkov <maxim@codesourcery.com>
62021 Joseph Myers <joseph@codesourcery.com>
62022
62023 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
62024 if needed for __stack_chk_guard.
62025
62026 2011-09-19 Roland McGrath <roland@hack.frob.com>
62027
62028 * sysdeps/posix/spawni.c (script_execute): Always define it.
62029 It will be optimized away if unused.
62030 (maybe_script_execute): New function.
62031 (__spawni): Call it.
62032
62033 * Makerules: Don't include tls.make.
62034 (config-tls): Always set to thread.
62035 * tls.make.c: File removed.
62036
62037 2011-09-19 Mike Frysinger <vapier@gentoo.org>
62038
62039 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
62040 * config.make.in (CPPFLAGS-config): New substituted variable.
62041
62042 2011-09-15 Ulrich Drepper <drepper@gmail.com>
62043
62044 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
62045
62046 [BZ #13192]
62047 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
62048 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
62049
62050 2011-09-15 Roland McGrath <roland@hack.frob.com>
62051
62052 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
62053 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
62054 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
62055 (CALL_FAIL): Likewise.
62056 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
62057 (CALL_FAIL): Macro removed.
62058 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
62059
62060 2011-09-15 Ulrich Drepper <drepper@gmail.com>
62061
62062 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
62063 for __FINITE_MATH_ONLY__ == 1.
62064
62065 2011-09-15 Andreas Schwab <schwab@redhat.com>
62066
62067 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
62068 __ieee754_sqrt instead of sqrt.
62069 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
62070 __ieee754_sqrtf instead of sqrtf.
62071 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
62072 __floorf instead of floorf.
62073 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
62074 __floorf, __truncf instead of floorf, truncf.
62075
62076 2011-09-14 Ulrich Drepper <drepper@gmail.com>
62077
62078 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
62079
62080 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
62081 __extern_always_inline.
62082 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
62083 32-bit.
62084
62085 2011-09-14 Andreas Schwab <schwab@redhat.com>
62086
62087 * elf/rtld.c (dl_main): Also relocate in dependency order when
62088 doing symbol dependency testing.
62089
62090 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
62091
62092 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
62093 Always define `refsym'.
62094
62095 2011-09-13 Andreas Schwab <schwab@redhat.com>
62096
62097 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
62098 (__FD_ELT): Renamed from __FDELT.
62099 * misc/bits/select2.h (__FD_ELT): Likewise.
62100 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
62101 __FD_MASK instead of __FDELT, __FDMASK.
62102 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
62103 Likewise.
62104 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
62105 Likewise.
62106
62107 * elf/Makefile (gen-ldd): Fix pattern.
62108
62109 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
62110 (init_tls): Likewise.
62111
62112 2011-09-12 Ulrich Drepper <drepper@gmail.com>
62113
62114 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
62115
62116 2011-09-12 Andreas Schwab <schwab@redhat.com>
62117
62118 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
62119 `struct cmsghdr *' instead of `void *'.
62120 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
62121 Likewise.
62122
62123 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
62124
62125 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
62126 if non-absolute.
62127 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
62128 ldd_rewrite_script.
62129
62130 2011-09-11 Ulrich Drepper <drepper@gmail.com>
62131
62132 * configure.in: Remove --with-tls option.
62133 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
62134 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
62135 out in case it is missing.
62136 * sysdeps/ia64/elf/configure.in: Likewise.
62137 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
62138 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
62139 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
62140 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
62141 * sysdeps/sh/elf/configure.in: Likewise.
62142 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
62143 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
62144 * sysdeps/x86_64/elf/configure.in: Likewise.
62145 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
62146 * sysdeps/mach/hurd/tls.h: Likewise.
62147
62148 [BZ #13067]
62149 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
62150
62151 [BZ #13090]
62152 * configure.in: Fix use of AC_INIT.
62153
62154 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
62155
62156 2011-09-10 Ulrich Drepper <drepper@gmail.com>
62157
62158 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
62159 __set_errno.
62160 * malloc/hooks.c: Likewise.
62161
62162 [BZ #11929]
62163 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
62164 variables statically.
62165 (narenas): Initialize.
62166 (list_lock): Initialize.
62167 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
62168 initializtion of main_arena and list_lock. Small cleanups.
62169 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
62170 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
62171 Add initializers to main_arena and mp_.
62172 (malloc_state): Remove pagesize member. Change all users to use
62173 GLRO(dl_pagesize).
62174
62175 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
62176 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
62177 is always initialized.
62178
62179 * malloc/malloc.c: Removed unused configurations and dead code.
62180 * malloc/arena.c: Likewise.
62181 * malloc/hooks.c: Likewise.
62182 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
62183
62184 * include/tls.h: Removed. USE___THREAD must always be defined.
62185 * bits/libc-tsd.h: Don't handle !USE___THREAD.
62186 * elf/dl-libc.c: Likewise.
62187 * elf/dl-tsd.c: Likewise.
62188 * include/errno.h: Likewise.
62189 * include/netdb.h: Likewise.
62190 * include/resolv.h: Likewise.
62191 * inet/herrno-loc.c: Likewise.
62192 * inet/herrno.c: Likewise.
62193 * malloc/arena.c: Likewise.
62194 * malloc/hooks.c: Likewise.
62195 * malloc/malloc.c: Likewise.
62196 * resolv/res-state.c: Likewise.
62197 * resolv/res_libc.c: Likewise.
62198 * sysdeps/i386/dl-machine.h: Likewise.
62199 * sysdeps/ia64/dl-machine.h: Likewise.
62200 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
62201 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
62202 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
62203 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
62204 * sysdeps/sh/dl-machine.h: Likewise.
62205 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
62206 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
62207 * sysdeps/unix/i386/sysdep.S: Likewise.
62208 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
62209 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
62210 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
62211 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
62212 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
62213 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
62214 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
62215 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
62216 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
62217 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
62218 * sysdeps/unix/x86_64/sysdep.S: Likewise.
62219 * sysdeps/x86_64/dl-machine.h: Likewise.
62220 * tls.make.c: Likewise.
62221
62222 * configure.in: Remove --with-__thread option. Make tests for
62223 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
62224 tls_model attribute fail if no support is available. Remove
62225 USE_IN_LIBIO.
62226 * Makeconfig: Adjust for dropped configure option. All features are
62227 now mandatory.
62228 * Makerules: Likewise.
62229 * Versions.def: Likewise.
62230 * argp/argp-fmtstream.c: Likewise.
62231 * argp/argp-fmtstream.h: Likewise.
62232 * argp/argp-help.c: Likewise.
62233 * assert/assert.c: Likewise.
62234 * config.h.in: Likewise.
62235 * config.make.in: Likewise.
62236 * configure: Likewise.
62237 * configure.in: Likewise.
62238 * csu/Versions: Likewise.
62239 * csu/init.c: Likewise.
62240 * elf/tst-audit2.c: Likewise.
62241 * elf/tst-tls10.c: Likewise.
62242 * elf/tst-tls10.h: Likewise.
62243 * elf/tst-tls11.c: Likewise.
62244 * elf/tst-tls12.c: Likewise.
62245 * elf/tst-tls14.c: Likewise.
62246 * elf/tst-tlsmod11.c: Likewise.
62247 * elf/tst-tlsmod12.c: Likewise.
62248 * elf/tst-tlsmod13.c: Likewise.
62249 * elf/tst-tlsmod13a.c: Likewise.
62250 * elf/tst-tlsmod14a.c: Likewise.
62251 * elf/tst-tlsmod15b.c: Likewise.
62252 * elf/tst-tlsmod16a.c: Likewise.
62253 * elf/tst-tlsmod16b.c: Likewise.
62254 * elf/tst-tlsmod7.c: Likewise.
62255 * elf/tst-tlsmod8.c: Likewise.
62256 * elf/tst-tlsmod9.c: Likewise.
62257 * gmon/gmon.c: Likewise.
62258 * grp/fgetgrent_r.c: Likewise.
62259 * grp/putgrent.c: Likewise.
62260 * hurd/fopenport.c: Likewise.
62261 * include/libc-symbols.h: Likewise.
62262 * include/tls.h: Likewise.
62263 * intl/gettextP.h: Likewise.
62264 * intl/loadinfo.h: Likewise.
62265 * locale/global-locale.c: Likewise.
62266 * locale/localeinfo.h: Likewise.
62267 * mach/devstream.c: Likewise.
62268 * malloc/arena.c: Likewise.
62269 * malloc/set-freeres.c: Likewise.
62270 * misc/err.c: Likewise.
62271 * misc/getttyent.c: Likewise.
62272 * misc/mntent_r.c: Likewise.
62273 * posix/getopt.c: Likewise.
62274 * posix/wordexp.c: Likewise.
62275 * pwd/fgetpwent_r.c: Likewise.
62276 * resolv/Versions: Likewise.
62277 * resolv/res_hconf.c: Likewise.
62278 * shadow/fgetspent_r.c: Likewise.
62279 * shadow/putspent.c: Likewise.
62280 * stdio-common/printf_fphex.c: Likewise.
62281 * stdio-common/tmpfile.c: Likewise.
62282 * stdlib/abort.c: Likewise.
62283 * stdlib/fmtmsg.c: Likewise.
62284 * sunrpc/auth_unix.c: Likewise.
62285 * sunrpc/clnt_perr.c: Likewise.
62286 * sunrpc/clnt_tcp.c: Likewise.
62287 * sunrpc/clnt_udp.c: Likewise.
62288 * sunrpc/clnt_unix.c: Likewise.
62289 * sunrpc/openchild.c: Likewise.
62290 * sunrpc/svc_simple.c: Likewise.
62291 * sunrpc/svc_tcp.c: Likewise.
62292 * sunrpc/svc_udp.c: Likewise.
62293 * sunrpc/svc_unix.c: Likewise.
62294 * sunrpc/xdr.c: Likewise.
62295 * sunrpc/xdr_array.c: Likewise.
62296 * sunrpc/xdr_rec.c: Likewise.
62297 * sunrpc/xdr_ref.c: Likewise.
62298 * sunrpc/xdr_stdio.c: Likewise.
62299
62300 2011-09-09 Ulrich Drepper <drepper@gmail.com>
62301
62302 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
62303
62304 2011-07-03 Andreas Jaeger <aj@suse.de>
62305
62306 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
62307 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
62308 regenerate with gen-libm-tests.pl.
62309
62310 2010-05-12 Petr Baudis <pasky@suse.cz>
62311
62312 [BZ #11589]
62313 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
62314 around j0() zero points by switching to j1().
62315 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
62316 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
62317 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
62318 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
62319
62320 2011-09-09 Ulrich Drepper <drepper@gmail.com>
62321
62322 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
62323 instead of 0.
62324 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
62325 instead of 0.
62326 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
62327 Patch in part by Pavel Roskin <proski@gnu.org>.
62328
62329 [BZ #13138]
62330 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
62331 realloc.
62332 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
62333 Free memory block if necessary.
62334
62335 [BZ #12847]
62336 * libio/genops.c (INTDEF): For string streams the _lock pointer can
62337 be NULL. Don't lock in this case.
62338
62339 2011-09-09 Roland McGrath <roland@hack.frob.com>
62340
62341 * elf/elf.h (ELFOSABI_GNU): New macro.
62342 (ELFOSABI_LINUX): Define to that.
62343
62344 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
62345
62346 * string/strncat.c (strncat): Undef the symbol in case it has been
62347 defined in bits/string.h.
62348
62349 2011-09-09 Ulrich Drepper <drepper@gmail.com>
62350
62351 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
62352
62353 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
62354 link map.
62355
62356 2011-08-17 Andreas Jaeger <aj@suse.de>
62357
62358 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
62359
62360 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
62361 Ian Lance Taylor <iant@google.com>
62362
62363 * math/libm-test.inc (lround_test): New testcase.
62364 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
62365
62366 2011-09-08 Ulrich Drepper <drepper@gmail.com>
62367
62368 * Makefile: Remove support for automatic cvs check-ins.
62369 * Makerules: Likewise.
62370 * config.make.in: Likewise.
62371 * configure.in: Likewise.
62372 * intl/Makefile: Likewise.
62373 * locale/Makefile: Likewise.
62374 * po/Makefile: Likewise.
62375 * posix/Makefile: Likewise.
62376 * sysdeps/gnu/Makefile: Likewise.
62377 * sysdeps/mach/hurd/Makefile: Likewise.
62378 * sysdeps/sparc/sparc32/Makefile: Likewise.
62379
62380 [BZ #13118]
62381 * posix/Makefile (bug-regex32-ENV): Define.
62382 Patch by John Stanley <jpsinthemix@verizon.net>.
62383
62384 * misc/Makefile (headers): Add bits/select2.h.
62385 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
62386 * misc/bits/select2.h: New file.
62387 * include/bits/select2.h: New file.
62388 * debug/Makefile (routines): Add fdelt_chk.
62389 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
62390 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
62391 FD_ISSET.
62392 * debug/fdelt_chk.c: New file.
62393
62394 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
62395 * wcsmbs/test-wmemcmp.c: Likewise.
62396 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
62397 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
62398
62399 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
62400
62401 * string/Makefile (strop-tests): Add memcmp.
62402 * string/test-wmemcmp.c: New file.
62403 * string/test-memcmp.c: Add wmemcmp support.
62404
62405 2011-09-08 Roland McGrath <roland@hack.frob.com>
62406
62407 [BZ #13153]
62408 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
62409 2011-07-19 change.
62410
62411 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
62412 garbage value in a __mach_port_mod_refs call in the cases of the
62413 task-self and thread-self ports.
62414
62415 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
62416
62417 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
62418
62419 2011-09-08 Andreas Schwab <schwab@redhat.com>
62420
62421 * elf/dl-load.c (lose): Check for non-null L.
62422
62423 2011-09-07 Ulrich Drepper <drepper@gmail.com>
62424
62425 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
62426
62427 * elf/dl-libc.c (dlerror_run): Pass back error code from
62428 dl_catch_error.
62429
62430 [BZ #13123]
62431 * elf/dl-load.c (lose): Free l_origin if it is valid.
62432
62433 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
62434 names.
62435 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
62436 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
62437 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
62438 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
62439 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
62440 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
62441
62442 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
62443
62444 * sysdeps/powerpc/fpu/e_hypot.c: New file.
62445 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
62446 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
62447 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
62448 * sysdeps/powerpc/fpu/k_cosf.c: New file.
62449 * sysdeps/powerpc/fpu/k_sinf.c: New file.
62450 * sysdeps/powerpc/fpu/s_cosf.c: New file.
62451 * sysdeps/powerpc/fpu/s_sinf.c: New file.
62452 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
62453 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
62454
62455 2011-08-15 Alan Modra <amodra@gmail.com>
62456
62457 [BZ #13092]
62458 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
62459 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
62460 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
62461 ppc_mcount to static-only-routines.
62462 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
62463 __mcount_internal.
62464 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
62465 __mcount_internal with usual JUMPTARGET. Remove useless nop.
62466
62467 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
62468
62469 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
62470 for finite and infinity parameters.
62471
62472 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
62473
62474 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
62475 and add nop instructions for throughput optimization.
62476 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
62477
62478 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
62479
62480 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
62481 aligned copy for power7 with vector-scalar instructions.
62482 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
62483
62484 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
62485
62486 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
62487 AVX check.
62488
62489 2011-09-07 Andreas Schwab <schwab@redhat.com>
62490
62491 [BZ #13144]
62492 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
62493 last change.
62494
62495 2011-09-07 Ulrich Drepper <drepper@gmail.com>
62496
62497 * sysdeps/unix/sysv/linux/x86_64/init-first.c
62498 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
62499 syscall wrapper around clock_gettime in __vdso_clock_gettime.
62500 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
62501 clock_gettime.
62502
62503 2011-09-06 Ulrich Drepper <drepper@gmail.com>
62504
62505 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
62506 Forgot to demangle the pointer.
62507
62508 * sysdeps/i386/sysdep.h: Define atom_text_section.
62509 * sysdeps/x86_64/sysdep.h: Likewise.
62510 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
62511 section with atom_text_section.
62512 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
62513 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
62514 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
62515 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
62516 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
62517
62518 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
62519 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
62520 already be defined. Change to take two parameters and don't assign
62521 result to variable. Adjust all users.
62522 Define INTERNAL_GETTIME if not already defined.
62523 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
62524 call.
62525 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
62526 HAVE_CLOCK_GETTIME_VSYSCALL.
62527 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
62528
62529 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
62530 gettimeofday vsyscall, just use time.
62531
62532 2011-09-06 Andreas Schwab <schwab@redhat.com>
62533
62534 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
62535 <errno.h>.
62536
62537 2011-09-06 Ulrich Drepper <drepper@gmail.com>
62538
62539 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
62540 syscall on x86-64.
62541 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
62542 syscall.
62543 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
62544 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
62545 syscall if possible.
62546
62547 2011-09-05 Ulrich Drepper <drepper@gmail.com>
62548
62549 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
62550 e_ident. Don't pass to find_mapsXX.
62551 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
62552
62553 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
62554
62555 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
62556 strchr-sse2-no-bsf strrchr-sse2-no-bsf
62557 * sysdeps/x86_64/multiarch/strchr.S: Update.
62558 Check bit_slow_BSF bit.
62559 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
62560 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
62561 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
62562
62563 2011-09-05 Ulrich Drepper <drepper@gmail.com>
62564
62565 [BZ #13134]
62566 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
62567 before glibc 2.15.
62568 (tryshell): Define.
62569 (__spawni): Change last parameter to be flag. Test
62570 SPAWN_XFLAGS_USE_PATH flag to use path or not.
62571 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
62572 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
62573 * posix/spawni.c: Likewise.
62574 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
62575 * posix/spawnp.c: Likewise. Change normal version to use
62576 SPAWN_XFLAGS_USE_PATH.
62577 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
62578 SPAWN_XFLAGS_TRY_SHELL.
62579
62580 [BZ #13150]
62581 * posix/glob.h: Remove gcc 1.x support.
62582
62583 [BZ #13068]
62584 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
62585
62586 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
62587
62588 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
62589 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
62590 strrchr-sse2-bsf
62591 * sysdeps/i386/i686/multiarch/strchr.S: New file.
62592 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
62593 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
62594 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
62595 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
62596 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
62597
62598 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
62599
62600 * sysdeps/x86_64/wcscmp.S: New file.
62601
62602 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
62603 wcscmp-c wcscmp-sse2
62604 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
62605 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
62606 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
62607 * wcsmbs/wcscmp.c: Allow renaming.
62608
62609 2011-09-05 David S. Miller <davem@davemloft.net>
62610
62611 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
62612 stack slot, rather than the struct return pointer slot.
62613 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
62614 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
62615 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
62616 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
62617
62618 2011-09-05 Ulrich Drepper <drepper@gmail.com>
62619
62620 * po/ja.po: Update from translation team.
62621
62622 [BZ #13144]
62623 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
62624 kernel in 64-bit binaries.
62625
62626 2011-09-01 David S. Miller <davem@davemloft.net>
62627
62628 * elf/elf.h (HWCAP_SPARC_*): Move to..
62629 * sysdeps/sparc/sysdep.h: this new file and add new values.
62630 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
62631 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
62632 _DL_HWCAP_COUNT to 24.
62633 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
62634 entries.
62635 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
62636 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
62637 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
62638 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
62639 instead of magic constants.
62640 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
62641
62642 2011-08-31 David S. Miller <davem@davemloft.net>
62643
62644 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
62645 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
62646 Reimplement to do errno handling inline.
62647 (SYSCALL_ERROR_HANDLER): New macro.
62648 (__SYSCALL_STRING): Do not do errno handling in asm.
62649 (__CLONE_SYSCALL_STRING): Delete.
62650 (__INTERNAL_SYSCALL_STRING): Delete.
62651 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
62652 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
62653 (PSEUDO): Reimplement to do errno handling inline.
62654 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
62655 (SYSCALL_ERROR_HANDLER): New macro.
62656 (__SYSCALL_STRING): Do not do errno handling in asm.
62657 (__CLONE_SYSCALL_STRING): Delete.
62658 (__INTERNAL_SYSCALL_STRING): Delete.
62659 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
62660 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
62661 i386.
62662 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
62663 (inline_syscall*): Add 'err' argument.
62664 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
62665 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
62666 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
62667 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
62668
62669 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
62670 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
62671
62672 2011-08-30 Andreas Schwab <schwab@redhat.com>
62673
62674 * elf/rtld.c (dl_main): Relocate objects in dependency order.
62675
62676 2011-08-29 Jiri Olsa <jolsa@redhat.com>
62677
62678 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
62679 directive.
62680
62681 2011-08-24 David S. Miller <davem@davemloft.net>
62682
62683 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
62684
62685 2011-08-24 Andreas Schwab <schwab@redhat.com>
62686
62687 * elf/Makefile: Add rules to build and run unload8 test.
62688 * elf/unload8.c: New file.
62689 * elf/unload8mod1.c: New file.
62690 * elf/unload8mod1x.c: New file.
62691 * elf/unload8mod2.c: New file.
62692 * elf/unload8mod3.c: New file.
62693
62694 * elf/dl-close.c (_dl_close_worker): Reset private search list if
62695 it wasn't used.
62696
62697 2011-08-23 David S. Miller <davem@davemloft.net>
62698
62699 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
62700 subtract stack bias.
62701 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
62702 %sp not %fp in calculations.
62703 (_JMPBUF_UNWINDS_ADJ): Likewise.
62704
62705 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
62706 (aio_suspend): Call it to force an exception region around the
62707 AIO_MISC_WAIT() invocation.
62708
62709 2011-08-23 Andreas Schwab <schwab@redhat.com>
62710
62711 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
62712 backslash.
62713
62714 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
62715
62716 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
62717 protection macro.
62718 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
62719 and <dl-machine.h>.
62720 (Elf64_FuncDesc): Remove.
62721
62722 2011-08-22 David S. Miller <davem@davemloft.net>
62723
62724 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
62725 sigaltstack check, add missing cfi directives.
62726 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
62727 missing cfi directives, and sigaltstack handling.
62728
62729 2011-08-16 Andreas Schwab <schwab@redhat.com>
62730
62731 [BZ #11724]
62732 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
62733 object is seen twice.
62734 * elf/dl-fini.c (_dl_sort_fini): Likewise.
62735
62736 * elf/Makefile (distribute): Add tst-initorder2.c.
62737 (tests): Add tst-initorder2.
62738 (modules-names): Add tst-initorder2a tst-initorder2b
62739 tst-initorder2c tst-initorder2d. Add rules to build them.
62740 ($(objpfx)tst-initorder2.out): New rule.
62741 * elf/tst-initorder2.c: New file.
62742 * elf/tst-initorder2.exp: New file.
62743
62744 2011-08-22 Andreas Schwab <schwab@redhat.com>
62745
62746 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
62747
62748 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
62749 dependencies back to end of function.
62750
62751 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
62752 $(elfobjdir)/ld.so.
62753
62754 2011-08-21 Ulrich Drepper <drepper@gmail.com>
62755
62756 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
62757 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
62758 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
62759 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
62760 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
62761 of __vdso_gettimeofday.
62762 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
62763 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
62764 attribute_hidden.
62765 (_libc_vdso_platform_setup): Remove initialization of
62766 __vdso_gettimeofday and __vdso_time.
62767
62768 2011-08-20 Ulrich Drepper <drepper@gmail.com>
62769
62770 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
62771 and fgetc_unlocked.
62772 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
62773 getc_unlocked.
62774
62775 * elf/dl-open.c (add_to_global): Report additions to the global scope
62776 for LD_DEBUG=scopes.
62777 (dl_open_worker): Also print scope of newly loaded dependencies.
62778 (_dl_show_scope): Indicate if there is no scope.
62779
62780 [BZ #13114]
62781 * stdio-common/Makefile (tests): Add bug24.
62782 * stdio-common/bug24.c: New file.
62783
62784 2011-08-19 Andreas Jaeger <aj@suse.de>
62785
62786 [BZ #13114]
62787 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
62788 non-existant file when using close-on-exec mode.
62789
62790 2011-08-20 Ulrich Drepper <drepper@gmail.com>
62791
62792 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
62793 the very first instruction.
62794
62795 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
62796 the CFI state in the end.
62797 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
62798 inclusion of dl-trampoline.h.
62799 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
62800
62801 2011-08-19 Andreas Schwab <schwab@redhat.com>
62802
62803 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
62804 expectations for long double.
62805
62806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
62807 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
62808
62809 2011-08-14 David S. Miller <davem@davemloft.net>
62810
62811 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
62812 artificual limit depends upon the system page size.
62813
62814 2011-08-17 Ulrich Drepper <drepper@gmail.com>
62815
62816 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
62817 * resolv/Makefile: Define CFLAGS-libresolv.
62818
62819 2011-08-17 Andreas Schwab <schwab@redhat.com>
62820
62821 * nss/makedb.c (compute_tables): Make variables used in nested
62822 function static.
62823
62824 2011-08-17 Ulrich Drepper <drepper@gmail.com>
62825
62826 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
62827 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
62828 if buffer was too small.
62829
62830 * elf/pldd.c (main): Attach to all threads in the process.
62831 Rewrite /proc handling to use *at functions.
62832
62833 2011-08-16 Ulrich Drepper <drepper@gmail.com>
62834
62835 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
62836 specifies first scope to show.
62837 (dl_open_worker): Update callers. Move printing scope of new
62838 object to before the relocation.
62839 * elf/rtld.c (dl_main): Update _dl_show_scope call.
62840 * sysdeps/generic/ldsodefs.h: Update declaration.
62841
62842 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
62843 string for the scope number.
62844
62845 2011-08-14 Ulrich Drepper <drepper@gmail.com>
62846
62847 * nscd/servicescache.c (cache_addserv): Make sure written is always
62848 initialized.
62849
62850 2011-08-14 Roland McGrath <roland@hack.frob.com>
62851
62852 * sysdeps/i386/i486/bits/atomic.h
62853 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
62854 statement expression, so as to suppress "set but not used" warning.
62855 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
62856
62857 * string/strncat.c (STRNCAT): Use prototype definition.
62858
62859 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
62860 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
62861 -Iprograms here.
62862 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
62863 (localedef-modules): Add localedef.
62864 (locale-modules): Add locale.
62865
62866 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
62867 * elf/rtld.c (dl_main): Invert order of assignment in last change,
62868 to avoid a warning.
62869
62870 2011-08-14 David S. Miller <davem@davemloft.net>
62871
62872 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
62873 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
62874
62875 2011-08-13 Ulrich Drepper <drepper@gmail.com>
62876
62877 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
62878 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
62879 * elf/rtld.c (dl_main): Set l_name of vDSO.
62880 Call _dl_show_scope when DL_DEBUG_SCOPES.
62881 (process_dl_debug): Recognize scopes flag and also set it for all.
62882 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
62883 Declare _dl_show_scope.
62884
62885 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
62886 (do_dlopen): Pass caller_dlopen to dl_open.
62887 (__libc_dlopen_mode): Initialize caller_dlopen.
62888
62889 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
62890 of libc. Make tolower call locale-independent. Optimize a bit by
62891 using isdigit instead of isalnum.
62892 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
62893
62894 2011-08-12 Ulrich Drepper <drepper@gmail.com>
62895
62896 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
62897 was a dependency or dynamically loaded.
62898
62899 2011-08-11 Ulrich Drepper <drepper@gmail.com>
62900
62901 * intl/l10nflist.c: Allow architecture-specific pop function.
62902 * sysdeps/x86_64/l10nflist.c: New file.
62903
62904 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
62905 classification.
62906
62907 2011-08-10 Andreas Schwab <schwab@redhat.com>
62908
62909 * include/dirent.h: Add libc_hidden_proto for scandirat and
62910 scandirat64. Don't declare __scandirat64.
62911 * dirent/scandirat.c: Add libc_hidden_def.
62912 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
62913 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
62914
62915 2011-08-10 David S. Miller <davem@davemloft.net>
62916
62917 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
62918 enum.
62919 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
62920 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
62921 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
62922
62923 2011-08-09 Ulrich Drepper <drepper@gmail.com>
62924
62925 * Versions.def [libc]: Add GLIBC_2.15.
62926 * dirent/Makefile (routines): Add scandirat and scandirat64.
62927 * dirent/Versions [libc]: Export scandirat and scandirat64 for
62928 GLIBC_2.15.
62929 * dirent/dirent.h: Declare scandirat and scandirat64.
62930 * dirent/scandirat.c: New file.
62931 * dirent/scandirat64.c: New file.
62932 * sysdeps/wordsize-64/scandirat.c: New file.
62933 * sysdeps/wordsize-64/scandirat64.c: New file.
62934 * dirent/opendir.c: Define opendirat.
62935 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
62936 using scandirat.
62937 * dirent/scandir64.c: Adjust for scandir.c change.
62938 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
62939 __scandirat64, and __scandir_cancel_handler.
62940 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
62941 additional parameter and use openat instead of open (outside of ld.so).
62942 Add new __opendir as wrapper around __opendirat.
62943 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
62944 here without requiring old scandirat implementation.
62945
62946 2011-08-08 Ulrich Drepper <drepper@gmail.com>
62947
62948 * dirent/scandir.c (cancel_handler): Renamed to
62949 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
62950 defined. Adjust users.
62951 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
62952 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
62953
62954 2011-08-04 Ulrich Drepper <drepper@gmail.com>
62955
62956 * string/test-string.h (IMPL): Use __STRING to expand name and then
62957 stringify it.
62958
62959 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
62960 of cleanups.
62961
62962 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
62963
62964 * string/Makefile: Update.
62965 (strop-tests): Append strncat.
62966 * string/test-wcscmp.c: New file.
62967 New comprehensive test for wcscmp.
62968 * string/test-strcmp.c: Update.
62969 (WIDE): New define.
62970
62971 2011-07-22 Andreas Schwab <schwab@redhat.com>
62972
62973 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
62974 line.
62975
62976 2011-07-26 Andreas Schwab <schwab@redhat.com>
62977
62978 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
62979 encoding to ACE if AI_IDN.
62980
62981 2011-08-01 Jakub Jelinek <jakub@redhat.com>
62982
62983 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
62984 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
62985
62986 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
62987
62988 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
62989 Fix overflow bug in strncat.
62990 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
62991
62992 * string/test-strncat.c: Update.
62993 Add new tests for checking overflow bugs.
62994
62995 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
62996
62997 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
62998 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
62999 * sysdeps/i386/i686/multiarch/strcat.S: New file.
63000 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
63001 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
63002 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
63003 * sysdeps/i386/i686/multiarch/strncat.S: New file.
63004 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
63005 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
63006
63007 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
63008 (USE_AS_STRCAT): Define.
63009 Add strcat and strncat support.
63010 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
63011
63012 2011-07-25 Andreas Schwab <schwab@redhat.com>
63013
63014 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
63015 __n bigger than INT_MAX+1.
63016 (__strncmp_g): Likewise.
63017
63018 2011-07-23 Ulrich Drepper <drepper@gmail.com>
63019
63020 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
63021 * libio/stido.h: Likewise.
63022
63023 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
63024 (AF_NFC): Define.
63025 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
63026 (AF_NFC): Define.
63027
63028 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
63029 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
63030 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
63031 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
63032 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
63033
63034 [BZ #13021]
63035 * scripts/test-installation.pl: Don't expect libnss_test1 to be
63036 installed.
63037
63038 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
63039 typo.
63040 (_dl_x86_64_save_sse): Likewise.
63041
63042 2011-07-22 Ulrich Drepper <drepper@gmail.com>
63043
63044 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
63045 OSXSAVE.
63046 (_dl_x86_64_save_sse): Likewise.
63047
63048 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
63049
63050 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
63051
63052 2011-07-21 Andreas Schwab <schwab@redhat.com>
63053
63054 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
63055 change.
63056 (_dl_x86_64_save_sse): Use correct AVX check.
63057
63058 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
63059
63060 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
63061 bug in strncpy/strncat.
63062 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
63063
63064 2011-07-21 Ulrich Drepper <drepper@gmail.com>
63065
63066 * string/tester.c (test_strcat): Add tests for different alignments
63067 of source and destination.
63068 (test_strncat): Likewise.
63069
63070 2011-07-20 Ulrich Drepper <drepper@gmail.com>
63071
63072 [BZ #12852]
63073 * posix/glob.c (glob): Check passed in values before using them in
63074 expressions to avoid some overflows.
63075 (glob_in_dir): Likewise.
63076
63077 [BZ #13007]
63078 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
63079 check for AVX enablement so that we don't crash with old kernels and
63080 new hardware.
63081 * elf/tst-audit4.c: Add same checks here.
63082 * elf/tst-audit6.c: Likewise.
63083
63084 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
63085
63086 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
63087
63088 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
63089
63090 2011-07-20 Ulrich Drepper <drepper@gmail.com>
63091
63092 * po/cs.po: Update from translation team.
63093 * po/bg.po: Likewise.
63094
63095 2011-07-12 Marek Polacek <mpolacek@redhat.com>
63096
63097 * misc/sys/cdefs.h: Add support for const attribute.
63098 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
63099 to gnu_dev_{major,minor,makedev} functions.
63100
63101 2011-07-20 Marek Polacek <mpolacek@redhat.com>
63102
63103 * intl/dcigettext.c (get_output_charset): Add missing bracket.
63104
63105 2011-07-20 Andreas Schwab <schwab@redhat.com>
63106
63107 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
63108 strlen results.
63109
63110 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
63111
63112 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
63113 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
63114 register in order to avoid conflicts with the soft frame pointer
63115 being held in r11 when necessary.
63116 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
63117 (INTERNAL_VSYSCALL_NCS): Likewise.
63118
63119 2011-07-14 Marek Polacek <mpolacek@redhat.com>
63120
63121 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
63122 * elf/dl-fini.c (_dl_fini): Adjust caller.
63123 * elf/dl-close.c (_dl_close_worker): Likewise.
63124 * sysdeps/generic/ldsodefs.h: Adjust declaration.
63125
63126 2011-07-15 Marek Polacek <mpolacek@redhat.com>
63127
63128 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
63129 "aux_cache->nlibs < 0".
63130
63131 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
63132 in the reload-count case.
63133
63134 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
63135
63136 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
63137 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
63138 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
63139 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
63140 * sysdeps/x86_64/multiarch/strcat.S: New file.
63141 * sysdeps/x86_64/multiarch/strncat.S: New file.
63142 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
63143 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
63144 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
63145 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
63146 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
63147 (USE_AS_STRCAT): Define.
63148 Add strcat and strncat support.
63149 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
63150 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
63151 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
63152 * string/strncat.c: Update.
63153 (USE_AS_STRNCAT): Define.
63154 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63155 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
63156 and i7.
63157 * sysdeps/x86_64/multiarch/init-arch.h
63158 (bit_Prefer_PMINUB_for_stringop): New.
63159 (index_Prefer_PMINUB_for_stringop): Likewise.
63160 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
63161 bit_Prefer_PMINUB_for_stringop.
63162
63163 2011-07-19 Ulrich Drepper <drepper@gmail.com>
63164
63165 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
63166 buffer64.
63167 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
63168 of casting of buffer.
63169 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
63170 buffer32 and buffer64.
63171 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
63172 writes instead of casting of buffer.
63173 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
63174 buffer32.
63175 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
63176 casting of buffer.
63177
63178 2011-07-19 Andreas Schwab <schwab@redhat.com>
63179
63180 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
63181
63182 2011-07-19 Ulrich Drepper <drepper@gmail.com>
63183
63184 * nscd/nscd.c (termination_handler): Don't do anything for a database
63185 if it has not yet been initialized.
63186
63187 2011-07-18 Ulrich Drepper <drepper@gmail.com>
63188
63189 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
63190
63191 2011-07-15 Marek Polacek <mpolacek@redhat.com>
63192
63193 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
63194
63195 2011-07-18 Ulrich Drepper <drepper@gmail.com>
63196
63197 * po/nl.po: Update from translation team.
63198 * po/sv.po: Likewise.
63199
63200 2011-07-16 Roland McGrath <roland@hack.frob.com>
63201
63202 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
63203 now disallowed by GCC.
63204
63205 * configure.in (use-default-link): Default to yes if a test -shared
63206 link meets our qualifications.
63207 * configure: Regenerated.
63208
63209 * config.make.in (output-format): New variable.
63210 * configure.in: Check for ld --print-output-format support.
63211 * configure: Regenerated.
63212 * Makerules ($(common-objpfx)format.lds)
63213 [$(output-format) != unknown]: Just use $(output-format),
63214 instead of the linker-script munging.
63215
63216 2011-07-14 Roland McGrath <roland@hack.frob.com>
63217
63218 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
63219 of $(common-objpfx)shlib.lds.
63220 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
63221
63222 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
63223 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
63224
63225 * configure.in (-z relro check): Adjust test code to add a large
63226 writable data section after it.
63227 * configure: Regenerated.
63228
63229 2011-07-11 Roland McGrath <roland@hack.frob.com>
63230
63231 * configure.in (-z relro check): Fix test code to make the variable
63232 truly const.
63233 * configure: Regenerated.
63234
63235 2011-07-11 Ulrich Drepper <drepper@gmail.com>
63236
63237 * nscd/nscd.h (struct traced_file): Define.
63238 (struct database_dyn): Remove inotify_descr, reset_res, and filename
63239 elements. Add traced_files.
63240 (inotify_fd): Declare.
63241 (register_traced_file): Declare.
63242 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
63243 (inotify_fd): Export.
63244 (resolv_conf_descr): Remove.
63245 (nscd_init): Move inotify descriptor creation to main.
63246 Don't register files for notification here.
63247 (register_traced_file): New function.
63248 (invalidate_cache): Don't use reset_res to determine whether to call
63249 res_init, go through the list of registered files.
63250 (main_loop_poll): The inotify descriptors are now stored in the
63251 structures for the traced files.
63252 (main_loop_epoll): Likewise
63253 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
63254 to __nss_disable_nscd.
63255 * nscd/cache.c (prune_cache): There is no single inotify descriptor
63256 for a database anymore. Check the records for all the registered
63257 files instead.
63258 * nss/Makefile (libnss_files-routines): Add files-init.
63259 (libnss_db-routines): Add db-init.
63260 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
63261 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
63262 * nss/nss_db/db-init.c: New file.
63263 * nss/nss_files/files-init.c: New file.
63264 * nss/nsswitch.c (nss_load_library): New function. Broken out of
63265 __nss_lookup_function.
63266 (__nss_lookup_function): Call nss_load_library.
63267 (nss_load_all_libraries): New function.
63268 (__nss_disable_nscd): Take parameter with callback function for files
63269 to register. Set is_nscd. Load all the DSOs for the NSS modules
63270 used for the cached services.
63271 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
63272 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
63273 options for features to all the files in nscd.
63274
63275 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
63276
63277 2011-07-10 Roland McGrath <roland@hack.frob.com>
63278
63279 * csu/elf-init.c (__libc_csu_init): Comment typo.
63280
63281 2011-07-09 Ulrich Drepper <drepper@gmail.com>
63282
63283 * po/pl.po: Update from translation team.
63284 * po/ja.po: Likewise.
63285 * po/ru.po: Likewise.
63286 * po/ko.po: Likewise.
63287 * po/fr.po: Likewise.
63288
63289 2011-07-09 Roland McGrath <roland@hack.frob.com>
63290
63291 * configure.in (.ctors/.dtors header and trailer check):
63292 Use an empirical test on a built program.
63293 * configure: Regenerated.
63294
63295 * configure.in (-z relro check): Use an empirical test on a built DSO.
63296 Detect, but do not require, on ia64.
63297 * configure: Regenerated.
63298
63299 * configure.in (READELF): Find it with AC_CHECK_TOOL.
63300 Update tests that use readelf to use $READELF instead.
63301 * configure: Regenerated.
63302
63303 2011-07-08 Ulrich Drepper <drepper@gmail.com>
63304
63305 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
63306 if the result is not used.
63307
63308 2011-07-05 Andreas Jaeger <aj@suse.de>
63309
63310 [BZ#9696]
63311 * stdlib/tst-strtod.c: Add testcase.
63312
63313 2011-07-07 Ulrich Drepper <drepper@gmail.com>
63314
63315 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
63316 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
63317 The latter has a higher limit. Take additional parameter to pass to
63318 the new function.
63319 (__pathconf): Pass file to __statfs_link_max.
63320 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
63321 __statfs_link_max.
63322 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
63323 __statfs_link_max.
63324
63325 [BZ #12868]
63326 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
63327 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
63328 Handle Lustre.
63329 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
63330 (__statfs_filesize_max): Likewise.
63331 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
63332
63333 2011-07-05 Andreas Jaeger <aj@suse.de>
63334
63335 * resolv/res_comp.c (dn_skipname): Remove unused variable.
63336
63337 2011-07-06 Marek Polacek <mpolacek@redhat.com>
63338
63339 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
63340 `status' variable.
63341 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
63342 Likewise.
63343
63344 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
63345
63346 * Makefile (strop-tests): Add strncat.
63347 * string/test-strncat.c: New file.
63348
63349 2011-06-30 Marek Polacek <mpolacek@redhat.com>
63350
63351 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
63352
63353 2011-06-21 Andreas Jaeger <aj@suse.de>
63354
63355 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
63356 Copy rule from iconvdata/Makefile.
63357
63358 2011-07-06 Ulrich Drepper <drepper@gmail.com>
63359
63360 [BZ #12922]
63361 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
63362 but no long options are defined, just return 'W'.
63363
63364 2011-06-22 Marek Polacek <mpolacek@redhat.com>
63365
63366 [BZ #9696]
63367 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
63368
63369 2011-07-06 Ulrich Drepper <drepper@gmail.com>
63370
63371 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
63372 netgroups to read.
63373 (innetgr): Likewise.
63374
63375 2011-07-05 Roland McGrath <roland@hack.frob.com>
63376
63377 * config.make.in (install_root): Default to $(DESTDIR).
63378
63379 2011-07-05 Ulrich Drepper <drepper@gmail.com>
63380
63381 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
63382
63383 2011-07-02 Roland McGrath <roland@hack.frob.com>
63384
63385 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
63386
63387 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
63388 containing directory rather than embedding absolute directory names.
63389
63390 * scripts/check-local-headers.sh: Rewritten using awk.
63391 Match by word, not by line. Print error messages for matches.
63392 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
63393
63394 * Makerules [shlib-lds-flags empty]:
63395 ($(common-objpfx)libc_pic.opts): New target.
63396 ($(common-objpfx)libc_pic.os.clean): New target.
63397 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
63398
63399 * config.make.in (OBJCOPY): New variable.
63400 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
63401 * configure: Regenerated.
63402
63403 * config.make.in (use-default-link): New variable.
63404 * configure.in (use_default_link): Grok --with-default-link to set it.
63405 * configure: Regenerated.
63406 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
63407 (shlib-lds, shlib-lds-flags): Define to empty.
63408
63409 * Makerules (shlib-lds): New variable.
63410 (shlib-lds-flags): New variable.
63411 (build-shlib, build-moduile, build-module-asneeded): Use it.
63412 ($(common-objpfx)libc.so): Use $(shlib-lds).
63413 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
63414 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
63415
63416 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
63417 DT_FLAGS/DT_FLAGS_1 with zero flags.
63418
63419 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
63420 linker script munging.
63421
63422 2011-07-02 Ulrich Drepper <drepper@gmail.com>
63423
63424 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
63425 as 128-bit value.
63426 * crypt/sha512.c (sha512_process_block): Perform total addition using
63427 128-bit if possible.
63428 (__sha512_finish_ctx): Likewise.
63429 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
63430 as 64-bit value.
63431 * crypt/sha256.c (SWAP64): Define.
63432 (sha256_process_block): Perform total addition using 64-bit if
63433 possible.
63434 (__sha256_finish_ctx): Likewise.
63435
63436 2011-07-01 Ulrich Drepper <drepper@gmail.com>
63437
63438 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
63439 * nscd/initgrcache.c (addinitgroupsX): Likewise.
63440 * nscd/hstcache.c (cache_addhst): Likewise.
63441 * nscd/grpcache.c (cache_addgr): Likewise.
63442 * nscd/aicache.c (addhstaiX): Likewise
63443 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
63444
63445 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
63446
63447 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
63448 * nscd/initgrcache.c (addinitgroupsX): Likewise.
63449 * nscd/hstcache.c (cache_addhst): Likewise.
63450 * nscd/grpcache.c (cache_addgr): Likewise.
63451 * nscd/aicache.c (addhstaiX): Likewise
63452
63453 2011-07-01 Andreas Schwab <schwab@redhat.com>
63454
63455 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
63456 domain only when needed.
63457
63458 2011-06-30 Andreas Schwab <schwab@redhat.com>
63459
63460 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
63461 is always restored.
63462
63463 2011-06-29 Ulrich Drepper <drepper@gmail.com>
63464
63465 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
63466 are re-adding the entry.
63467 * nscd/servicescache.c (cache_addserv): Likewise.
63468
63469 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
63470
63471 * sysdeps/generic/dl-irel.h: fix protection against multiple
63472 inclusions.
63473 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
63474
63475 2011-06-28 Ulrich Drepper <drepper@gmail.com>
63476
63477 [BZ #12935]
63478 * malloc/memusage.sh: Fix quoting in message.
63479 * debug/xtrace.sh: Likewise.
63480
63481 * configure.in: Remove support for --experimental-malloc option, make
63482 it the default.
63483 * config.make.in: Likewise.
63484 * malloc/Makefile: Likewise.
63485
63486 2011-06-27 Andreas Schwab <schwab@redhat.com>
63487
63488 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
63489 two-byte characters.
63490
63491 2011-06-27 Roland McGrath <roland@hack.frob.com>
63492
63493 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
63494 AC_CACHE_CHECK invocation.
63495 * configure: Regenerated.
63496
63497 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
63498
63499 2011-06-27 Ulrich Drepper <drepper@gmail.com>
63500
63501 [BZ #12350]
63502 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
63503 bit from old_res_options.
63504
63505 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
63506
63507 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
63508 value type for setfct.
63509
63510 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
63511
63512 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
63513 __gettimeofday instead of gettimeofday.
63514
63515 2011-06-26 Ulrich Drepper <drepper@gmail.com>
63516
63517 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
63518
63519 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
63520
63521 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
63522
63523 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
63524 info.
63525
63526 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
63527
63528 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
63529 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
63530 strcpy-sse2-unaligned strncpy-sse2-unaligned
63531 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
63532 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
63533 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
63534 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
63535 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
63536 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
63537 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
63538 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
63539 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
63540 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
63541 (STRCPY): Support SSE2 and SSSE3 versions.
63542
63543 2011-06-24 Ulrich Drepper <drepper@gmail.com>
63544
63545 [BZ #12874]
63546 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
63547 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
63548 kernels which artificially limit size of requests.
63549
63550 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
63551
63552 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
63553 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
63554 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
63555 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
63556 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
63557 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
63558 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
63559 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
63560 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
63561 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
63562 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
63563 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
63564 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
63565 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
63566 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
63567 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63568 Enable unaligned load optimization for Intel Core i3, i5 and i7
63569 processors.
63570 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
63571 Define.
63572 (index_Fast_Unaligned_Load): Define.
63573 (HAS_FAST_UNALIGNED_LOAD): Define.
63574
63575 2011-06-23 Marek Polacek <mpolacek@redhat.com>
63576
63577 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
63578
63579 2011-06-22 Ulrich Drepper <drepper@gmail.com>
63580
63581 [BZ #12907]
63582 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
63583 until it is clear that the information is realy needed.
63584 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
63585
63586 2011-06-22 Andreas Schwab <schwab@redhat.com>
63587
63588 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
63589
63590 2011-06-22 Ulrich Drepper <drepper@gmail.com>
63591
63592 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
63593 /sys/devices/system/cpu/online if it is usable.
63594
63595 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
63596 reading the information from the /proc filesystem to once a second.
63597
63598 2011-06-21 Andreas Jaeger <aj@suse.de>
63599
63600 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
63601 NULL after inclusion of kernel headers.
63602
63603 2011-06-21 Ulrich Drepper <drepper@gmail.com>
63604
63605 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
63606 calls to internal_setent.
63607
63608 [BZ #12885]
63609 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
63610 addresses using gethostbyname4_r ignore IPv4 addresses.
63611
63612 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
63613 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
63614
63615 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
63616
63617 2011-06-20 David S. Miller <davem@davemloft.net>
63618
63619 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
63620 inclusions.
63621 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
63622
63623 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
63624 (elf_irel): Use it.
63625 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
63626 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
63627 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
63628 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
63629 * sysdeps/x86_64/dl-irel.h: Likewise.
63630
63631 * elf/dl-runtime.c: Use elf_ifunc_invoke.
63632 * elf/dl-sym.c: Likewise.
63633
63634 2011-06-15 Ulrich Drepper <drepper@gmail.com>
63635
63636 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
63637 need to dereference resplen2.
63638
63639 2011-06-14 Andreas Schwab <schwab@redhat.com>
63640
63641 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
63642
63643 2011-06-15 Ulrich Drepper <drepper@gmail.com>
63644
63645 * Makeconfig: Define vardbdir and inst_vardbdir.
63646 * nss/Makefile: Add rules to install db-Makefile.
63647
63648 * nss/nss_db/db-XXX.c: Cleanup.
63649
63650 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
63651 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
63652 GLIBC_PRIVATE.
63653 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
63654 * nss/makedb.c: Implement -g option to specify that value strings
63655 are generated and should not be added to table iterated over for
63656 get*ent calls.
63657 * nss/nss_db/db-initgroups.c: New file.
63658
63659 * nss/getent.c: Add support for initgroups lookups through getgrouplist
63660 interface.
63661
63662 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
63663 (internal_getgrouplist): Adjust to name change.
63664 Update use_initgroups_entry if this is not the first call.
63665 * nss/databases.def: Add initgroups entry.
63666
63667 * nss/makedb.c (compute_tables): Check result of multiple hash table
63668 sizes to minimize maximum chain length.
63669
63670 2011-06-14 Ulrich Drepper <drepper@gmail.com>
63671
63672 * Versions.def: Add entry for libnss_db.
63673 * shlib-versions: Likewise.
63674 * nss/Makefile: Add rules to build libnss_db.
63675 * nss/Versions: Add libnss_db information. Organize libnss_files
63676 entries better.
63677 * nss/db-Makefile: Add gshadow support. Change rules for the new
63678 makedb progra. Some minor improvements to generate smaller files.
63679 * nss/nss_db/nss_db.h: Move NSS database header data structures to
63680 here from...
63681 * nss/makedb.c: ...here.
63682 Improve database format to be smaller and require less memory at
63683 runtime.
63684 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
63685 db anymore.
63686 * nss/nss_db/db-netgrp.c: Likewise.
63687 * nss/nss_db/db-open.c: Likewise.
63688 * nss/nss_files/flies-XXX.x: Adjust comments.
63689 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
63690 * nss/nss_files/files-grp.c: Likewise.
63691 * nss/nss_files/files-hosts.c: Likewise.
63692 * nss/nss_files/files-network.c: Likewise.
63693 * nss/nss_files/files-proto.c: Likewise.
63694 * nss/nss_files/files-pwd.c: Likewise.
63695 * nss/nss_files/files-rpc.c: Likewise.
63696 * nss/nss_files/files-service.c: Likewise.
63697 * nss/nss_files/files-sgrp.c: Likewise.
63698 * nss/nss_files/files-spwd.c: Likewise.
63699 * nss/nss_db/db-alias.c: Removed.
63700 * nss/nss_db/dummy-db.h: Removed.
63701
63702 2011-06-02 Ulrich Drepper <drepper@gmail.com>
63703
63704 * nss/makedb.c: Rewritten to not use database library.
63705 * nss/Makefile: Update to build new makedb program.
63706
63707 2011-06-14 Andreas Jaeger <aj@suse.de>
63708
63709 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
63710 memset declaration.
63711
63712 2011-06-10 Andreas Schwab <schwab@redhat.com>
63713
63714 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
63715 tmpbuf.
63716
63717 2011-06-10 Roland McGrath <roland@hack.frob.com>
63718
63719 * Makerules (shlib.lds): Fail if the linker script comes out empty.
63720 * elf/Makefile ($(objpfx)ld.so): Likewise.
63721
63722 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
63723 Don't list ld.so twice in dependencies.
63724
63725 * posix/bug-regex31.c: Include <stdlib.h>.
63726
63727 * nscd/hstcache.c (cache_addhst): Remove unused variable.
63728
63729 * nis/nss_compat/compat-spwd.c
63730 (getspent_next_nss_netgr): Remove unused variable.
63731 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
63732
63733 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
63734 nonmembers" output to use the right array.
63735
63736 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
63737
63738 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
63739
63740 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
63741 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
63742 * catgets/gencat.c (read_input_file): Likewise.
63743 * locale/programs/locarchive.c (enlarge_archive): Likewise.
63744
63745 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
63746 variable definition inside #if's controlling its use.
63747
63748 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
63749
63750 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
63751
63752 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
63753
63754 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
63755 unreachable code.
63756
63757 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
63758
63759 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
63760 * configure: Regenerated.
63761
63762 * Makerules: Revert last change.
63763 * elf/Makefile: Likewise.
63764
63765 2011-06-09 Roland McGrath <roland@hack.frob.com>
63766
63767 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
63768 * elf/Makefile ($(objpfx)librtld.os): Likewise.
63769 (reloc-link): Likewise.
63770
63771 2011-06-09 Ulrich Drepper <drepper@gmail.com>
63772
63773 * elf/Makefile: Add rules to build pldd.
63774 * elf/pldd.c: New file.
63775 * elf/pldd-xx.c: New file.
63776
63777 2011-06-07 Ulrich Drepper <drepper@gmail.com>
63778
63779 * version.h: Update for 2.15 development version.
63780
63781 2011-06-07 David S. Miller <davem@davemloft.net>
63782
63783 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
63784 ifuncs.
63785 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
63786 elf_machine_lazy_rel): Likewise.
63787 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
63788 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
63789 elf_machine_lazy_rel): Likewise.
63790 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
63791 dl_hwcap via passed in argument.
63792 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
63793 Likewise.
63794
63795 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
63796
63797 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
63798
63799 2011-06-06 Roland McGrath <roland@hack.frob.com>
63800
63801 [BZ #12849]
63802 * manual/fdl-1.1.texi: New file, verbatim from:
63803 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
63804 * manual/lgpl-2.1.texi: New file, verbatim from:
63805 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
63806 * manual/Makefile (licenses): New variable, list those new file names.
63807 (texis): Use it.
63808 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
63809
63810 * manual/fdl.texi: File removed.
63811 * manual/lesser.texi: File removed.
63812 * manual/libc.texinfo (Copying, Documentation License):
63813 Use new @include file names, put @appendix directive before @include.
63814
63815 2011-06-04 Jakub Jelinek <jakub@redhat.com>
63816
63817 [BZ #12841]
63818 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
63819 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
63820 (mq_open): Add __NTH.
63821
63822 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
63823
63824 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63825 Assume Intel Core i3/i5/i7 processor if AVX is available.
63826
63827 2011-05-31 Ulrich Drepper <drepper@gmail.com>
63828
63829 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
63830 typo.
63831
63832 2011-05-31 Andreas Schwab <schwab@redhat.com>
63833
63834 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
63835 memory. Use alloca_account. Fix memory leak when retrying.
63836
63837 2011-05-31 Ulrich Drepper <drepper@gmail.com>
63838
63839 * version.h (RELEASE): Bump for 2.14 release.
63840 * include/features.h (__GLIBC_MINOR__): Bump to 14.
63841
63842 * config.make.in (RANLIB): Remove entry.
63843
63844 2011-05-30 Ulrich Drepper <drepper@gmail.com>
63845
63846 * po/Makefile (po-sed-cmd): Add ksh to extensions.
63847 (libc.pot): Work around missing support for .ksh extension in xgettext.
63848
63849 [BZ #12684]
63850 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
63851 if both request failed.
63852 (send_dg): In case of server errors clear resplen or *resplen2.
63853
63854 [BZ #12454]
63855 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
63856 when there are multiple maps.
63857 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
63858 (_dl_fini): Remove test here.
63859
63860 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
63861
63862 2011-05-29 Ulrich Drepper <drepper@gmail.com>
63863
63864 [BZ #12350]
63865 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
63866 bit from old_res_options.
63867 (gaih_inet): Likewise.
63868
63869 [BZ #11099]
63870 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
63871 as signed.
63872
63873 * resolv/res_init.c (res_setoptions): Make the code more compact.
63874
63875 [BZ #11558]
63876 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
63877 set RES_USEVC.
63878
63879 [BZ #11634]
63880 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
63881
63882 * malloc/malloc.h: Mark malloc hook variables as deprecated.
63883
63884 [BZ #11781]
63885 * malloc/malloc.h: Declare malloc hook variables as volatile.
63886
63887 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
63888 in last patch.
63889
63890 [BZ #11799]
63891 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
63892 raise in the comment.
63893 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
63894 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
63895 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
63896
63897 2011-05-28 Ulrich Drepper <drepper@gmail.com>
63898
63899 [BZ #12811]
63900 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
63901 grow the buffers more if it already has to be sufficient.
63902 (build_wcs_upper_buffer): Likewise.
63903 * posix/regexec.c (check_matching): Likewise.
63904 (clean_state_log_if_needed): Likewise.
63905 (extend_buffers): Don't enlarge buffers beyond size of the input
63906 buffer.
63907 Patches mostly by Emil Wojak <emil@wojak.eu>.
63908 * posix/bug-regex32.c: New file.
63909 * posix/Makefile (tests): Add bug-regex32.
63910
63911 * locale/findlocale.c (_nl_find_locale): Return right away if
63912 _nl_explode_name failed.
63913 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
63914
63915 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
63916
63917 * debug/xtrace.sh: Unify messages.
63918 * malloc/memusage.sh: Likewise.
63919
63920 [BZ #12813]
63921 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
63922 time symbol from vDSO. Substitute with vsyscall if not available.
63923 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
63924 __vdso_time.
63925
63926 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
63927 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
63928 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
63929 Add sendmmsg and internal_sendmmsg.
63930 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
63931 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
63932 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
63933
63934 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
63935 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
63936 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
63937
63938 2011-05-27 Ulrich Drepper <drepper@gmail.com>
63939
63940 [BZ #12813]
63941 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
63942 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
63943 available.
63944 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
63945 __vdso_getcpu.
63946
63947 [BZ #12814]
63948 * iconvdata/Makefile (tests): Add bug-iconv9.
63949 * iconvdata/bug-iconv9.c: New file.
63950
63951 2011-05-27 Andreas Schwab <schwab@redhat.com>
63952
63953 [BZ #12814]
63954 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
63955
63956 2011-05-25 Jakub Jelinek <jakub@redhat.com>
63957
63958 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
63959 (struct user_regs_struct): Change intcs field back to cs.
63960
63961 2011-05-25 Ulrich Drepper <drepper@gmail.com>
63962
63963 * po/ja.po: Update from translation team.
63964
63965 2011-05-23 Ulrich Drepper <drepper@gmail.com>
63966
63967 [BZ #12795]
63968 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
63969 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
63970
63971 2011-05-20 Andreas Schwab <schwab@redhat.com>
63972
63973 * stdlib/longlong.h: Update from GCC.
63974
63975 2011-05-23 Andreas Schwab <schwab@redhat.com>
63976
63977 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
63978 parameter name.
63979 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
63980 Add parameter name.
63981 (__sysconf): Pass it down.
63982
63983 2011-05-22 Ulrich Drepper <drepper@gmail.com>
63984
63985 [BZ #12671]
63986 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
63987 some situations.
63988 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
63989 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
63990 add in in __libc_use_alloca calls. Adjust callers.
63991 (glob): Use malloc in some situations.
63992
63993 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
63994 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
63995 pltexit.
63996
63997 2011-05-21 Ulrich Drepper <drepper@gmail.com>
63998
63999 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
64000 and CLOCK_BOOTTIME_ALARM.
64001
64002 [BZ #12782]
64003 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
64004 is returned.
64005
64006 * string/_strerror.c (__strerror_r): Print negative errors as signed
64007 numbers.
64008
64009 [BZ #12777]
64010 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
64011 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
64012 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
64013
64014 * configure.in: Fix typo in redirection and correct removal of test
64015 files in two cases.
64016
64017 [BZ #12788]
64018 * locale/setlocale.c (new_composite_name): Fix test to check for
64019 identical name of all categories.
64020
64021 [BZ #12792]
64022 * libio/filedoalloc.c (local_isatty): New function.
64023 (_IO_file_doallocate): Use local_isatty.
64024 * stdio-common/perror.c (perror): In case a new stream is used
64025 forward the stream error.
64026 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
64027 error flag.
64028
64029 2011-05-20 Ulrich Drepper <drepper@gmail.com>
64030
64031 [BZ #11869]
64032 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
64033 alloca.
64034 * include/alloca.h (extend_alloca_account): Define.
64035
64036 [BZ #11857]
64037 * posix/regex.h: Fix comments with documentation of user-accessible
64038 fields after compilation and describe correct free'ing of pattern
64039 after re_compile_pattern.
64040 Patch by Reuben Thomas <rrt@sc3d.org>.
64041
64042 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
64043
64044 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
64045 and -mno-altivec to prevent the compiler from using Altivec and/or
64046 VSX instructions when the corresponding registers are not available.
64047
64048 2011-05-19 Andreas Schwab <schwab@redhat.com>
64049
64050 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
64051
64052 2011-05-19 Ulrich Drepper <drepper@gmail.com>
64053
64054 * libio/freopen.c (freopen): Use __dup2, not dup2.
64055 * libio/freopen64.c (freopen64): Likewise.
64056
64057 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
64058
64059 [BZ #12775]
64060 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
64061 * math/Makefile (tests): Add test-powl.
64062 (CFLAGS-test-powl.c): Define.
64063 * math/test-powl.c: New file.
64064
64065 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
64066
64067 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
64068
64069 2011-05-17 Ulrich Drepper <drepper@gmail.com>
64070
64071 [BZ #11837]
64072 * iconvdata/gb18030.c: Update to GB18020-2005.
64073
64074 2011-05-16 Ulrich Drepper <drepper@gmail.com>
64075
64076 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
64077 RE_SYNTAX_POSIX_AWK): Update to match recent development.
64078 Patch by Aharon Robbins <arnold@skeeve.com>.
64079
64080 [BZ #11892]
64081 * stdlib/putenv.c (putenv): Don't always create copy of the variable
64082 on the stack.
64083
64084 [BZ #11895]
64085 * misc/pselect.c (__pselect): Handle timeout value errors hidden
64086 through underflows.
64087
64088 [BZ #12766]
64089 * misc/error.c (error_at_line): Ensure file_name and old_file_name
64090 point to strings before performing equality test for error_one_per_line
64091 mode.
64092
64093 [BZ #11697]
64094 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
64095
64096 [BZ #11820]
64097 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
64098 (struct user_fpregs_struct): Avoid __uint*_t types.
64099
64100 [BZ #6420]
64101 * malloc/mtrace.c (tr_where): Add additional parameter to point to
64102 symbol info. Use it instead of calling _dl_addr locally.
64103 (lock_and_info): New function.
64104 (tr_freehook): Call lock_and_info and pass symbol info as additional
64105 parameter to tr_where.
64106 (tr_mallochook): Likewise.
64107 (tr_reallochook): Likewise.
64108 (tr_memalignhook): Likewise.
64109
64110 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
64111 used and couldn't be at all thread-safe.
64112
64113 2011-05-15 Ulrich Drepper <drepper@gmail.com>
64114
64115 * libio/freopen.c (freopen): Don't close old file descriptor
64116 before the new one is opened. Instead dup the new file descriptor
64117 to the old one after the new stream is created.
64118 * libio/freopen64.c (freopen64): Likewise.
64119 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
64120 * libio/fileops.c (_IO_new_file_close_it): Handle new
64121 _IO_FLAGS2_NOCLOSE flag.
64122 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
64123 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
64124 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
64125 _IO_FLAGS2_NOCLOSE flag.
64126 * include/unistd.h: Add hidden_proto for dup3.
64127 Define __have_dup3.
64128 * io/dup3.c: Define hidden symbol.
64129 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
64130
64131 [BZ #7101]
64132 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
64133 when an incomplete long option is used.
64134 * posix/tst-getopt_long1.c: New file.
64135 * posix/Makefile (tests): Add tst-getopt_long1.
64136
64137 [BZ #10138]
64138 * scripts/config.guess: Update from autoconf-2.68.
64139 * scripts/config.sub: Likewise.
64140
64141 [BZ #10157]
64142 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
64143 tests into ...
64144 (has_cpuclock): ...this. New function.
64145 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
64146 macro here based on has_cpuclock code.
64147
64148 [BZ #10149]
64149 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
64150 First byte (not low byte) is now always NUL.
64151 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
64152
64153 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
64154 Use non-cancelable interfaces.
64155
64156 [BZ #9809]
64157 * locale/iso-639.def: Add entry for Sorani.
64158
64159 [BZ #11901]
64160 * include/stdlib.h: Move include protection to the right place.
64161 Define abort_msg_s. Declare __abort_msg with it.
64162 * stdlib/abort.c (__abort_msg): Adjust type.
64163 * assert/assert.c (__assert_fail_base): New function. Majority
64164 of code from __assert_fail. Allocate memory for __abort_msg with
64165 mmap.
64166 (__assert_fail): Now call __assert_fail_base.
64167 * assert/assert-perr.c: Remove bulk of implementation. Use
64168 __assert_fail_base.
64169 * include/assert.hL Declare __assert_fail_base.
64170 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
64171 mmap.
64172 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
64173
64174 2011-05-14 Ulrich Drepper <drepper@gmail.com>
64175
64176 [BZ #11952]
64177 [BZ #12453]
64178 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
64179 until all modules are registered in the DTV.
64180 * elf/Makefile: Add rules to build and run tst-tls19.
64181 * elf/tst-tls19.c: New file.
64182 * elf/tst-tls19mod1.c: New file.
64183 * elf/tst-tls19mod2.c: New file.
64184 * elf/tst-tls19mod3.c: New file.
64185 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
64186
64187 [BZ #12083]
64188 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
64189 correctly.
64190
64191 [BZ #12601]
64192 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
64193 two-byte sequence errors.
64194 * iconvdata/Makefile (tests): Add bug-iconv8.
64195 * iconvdata/bug-iconv8.c: New file.
64196
64197 [BZ #12626]
64198 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
64199 buf2 definition.
64200
64201 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
64202
64203 [BZ #12432]
64204 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
64205 (dummy_getcfa): New function.
64206 (init): Get _Unwind_GetCFA address, use dummy if not found.
64207 (backtrace_helper): In recursion check, also check whether CFA changes.
64208 (__backtrace): Completely initialize arg.
64209
64210 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
64211 storing incomplete byte sequence in state object. Avoid testing for
64212 guaranteed too small input if we know there is enough data available.
64213
64214 2011-05-11 Andreas Schwab <schwab@redhat.com>
64215
64216 * Makeconfig (+link-pie): Indent.
64217 * Rules (binaries-pie): Define if $(have-fpie) and
64218 $(build-shared).
64219 (binaries-shared): Also filter out $(binaries-pie).
64220 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
64221 * nscd/Makefile (others-pie): Add nscd.
64222 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
64223 ($(objpfx)nscd): Remove command override.
64224 * login/Makefile (others-pie): Add pt_chown.
64225 ($(objpfx)pt_chown): Remove command override.
64226 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
64227 remove command overrides.
64228
64229 2011-05-13 Ulrich Drepper <drepper@gmail.com>
64230
64231 * libio/tst_putwc.c: Fix error messages.
64232
64233 [BZ #12724]
64234 * libio/fileops.c (_IO_new_file_close_it): Always flush when
64235 currently writing and seek to current position when not.
64236 * libio/Makefile (tests): Add bug-fclose1.
64237 * libio/bug-fclose1.c: New file.
64238
64239 2011-05-12 Ulrich Drepper <drepper@gmail.com>
64240
64241 [BZ #12511]
64242 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
64243 don't set DF_1_NODELETE here.
64244 (do_lookup_x): When entering new entry test for copy relocation
64245 and if necessary set DF_1_NODELETE flag.
64246 * elf/tst-unique4.cc: New file.
64247 * elf/tst-unique4.h: New file.
64248 * elf/tst-unique4lib.cc: New file.
64249 * elf/Makefile: Add rules to build and run tst-unique4.
64250 Patch by Piotr Bury <pbury@goahead.com>.
64251
64252 2011-05-11 Ulrich Drepper <drepper@gmail.com>
64253
64254 [BZ #12052]
64255 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
64256
64257 [BZ #12625]
64258 * misc/mntent_r.c (addmntent): Flush the stream after the output
64259
64260 [BZ #12393]
64261 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
64262 (is_trusted_path_normalize): Skip initial colon. Append slash
64263 to empty buffer. Duplicate is_trusted_path code but allow
64264 constructed patch to be prefix.
64265 (is_dst): Allow $ORIGIN followed by /.
64266 (_dl_dst_substitute): Correct clearing of check_for_trusted.
64267 Correct testing of result of is_trusted_path_normalize
64268 (decompose_rpath): Fix warning.
64269
64270 2011-05-10 Ulrich Drepper <drepper@gmail.com>
64271
64272 [BZ #11257]
64273 * grp/initgroups.c (internal_getgrouplist): When we found the service
64274 list through the initgroups entry in nsswitch.conf do not always
64275 continue on a successful lookup. Don't always use the
64276 __nss_group_database value if it is set.
64277 * nss/nsswitch.conf (initgroups): Change action for successful db
64278 lookup to continue for compatibility.
64279
64280 2011-05-09 Ulrich Drepper <drepper@gmail.com>
64281
64282 [BZ #11532]
64283 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
64284 and CP774 modules.
64285 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
64286 and CP774 modules.
64287 * iconvdata/tst-tables.sh: Likewise.
64288 * iconvdata/cp770.c: New file.
64289 * iconvdata/cp771.c: New file.
64290 * iconvdata/cp772.c: New file.
64291 * iconvdata/cp773.c: New file.
64292 * iconvdata/cp774.c: New file.
64293 * iconvdata/testdata/CP770: New file.
64294 * iconvdata/testdata/CP770..UTF8: New file.
64295 * iconvdata/testdata/CP771: New file.
64296 * iconvdata/testdata/CP771..UTF8: New file.
64297 * iconvdata/testdata/CP772: New file.
64298 * iconvdata/testdata/CP772..UTF8: New file.
64299 * iconvdata/testdata/CP773: New file.
64300 * iconvdata/testdata/CP773..UTF8: New file.
64301 * iconvdata/testdata/CP774: New file.
64302 * iconvdata/testdata/CP774..UTF8: New file.
64303
64304 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
64305 END CHARMAP line.
64306 * iconvdata/gen-8bit-gap.sh: Likewise.
64307 * iconvdata/gen-8bit.sh: Likewise.
64308
64309 * locale/iso-639.def: Add ary entry.
64310
64311 [BZ #11258]
64312 * locale/C-translit.h.in: Add U20A1 transliteration.
64313
64314 [BZ #12178]
64315 * locale/iso-639.def: Add wae entry.
64316 Patch by Kevin Bortis <bortis@translate-wae.ch>.
64317
64318 [BZ #12545]
64319 * locale/programs/localedef.c (construct_output_path): Use ssize_t
64320 for n.
64321
64322 [BZ #12711]
64323 * locale/C-translit.h.in: Add entry for U20B9.
64324 Patch by pravin.d.s@gmail.com.
64325
64326 2011-05-08 Ulrich Drepper <drepper@gmail.com>
64327
64328 [BZ #12713]
64329 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
64330 ENAMETOOLONG use generic getcwd.
64331 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
64332 in rtld. Use *stat64.
64333 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
64334 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
64335 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
64336 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
64337 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
64338 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
64339 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
64340 __fstatat64 macros.
64341 * include/dirent.h: Add libc_hidden_proto for rewinddir.
64342 * dirent/rewinddir.c: Add libc_hidden_def.
64343 * sysdeps/mach/hurd/rewinddir.c: Likewise.
64344 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
64345
64346 * include/dirent.h (__alloc_dir): Add flags parameter.
64347 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
64348 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
64349 __alloc_dir.
64350 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
64351 from fdopendir if O_CLOEXEC is already set.
64352
64353 2011-03-15 Alan Modra <amodra@gmail.com>
64354
64355 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
64356 l_tls_firstbyte_offset non-zero. Save padding offset in
64357 l_tls_firstbyte_offset for later use.
64358 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
64359 freeing static tls block.
64360
64361 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
64362
64363 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
64364 where #ifdef was intended. The intent is to prevent ARG_MAX from
64365 being defined by the kernel headers.
64366
64367 2011-05-07 Ulrich Drepper <drepper@gmail.com>
64368
64369 [BZ #12734]
64370 * resolv/resolv.h: Define RES_NOTLDQUERY.
64371 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
64372 no-tld-query and set RES_NOTLDQUERY.
64373 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
64374 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
64375 modern BIND to search name as TLD unless forbidden.
64376
64377 2011-05-07 Petr Baudis <pasky@suse.cz>
64378 Ulrich Drepper <drepper@gmail.com>
64379
64380 [BZ #12393]
64381 * elf/dl-load.c (fillin_rpath): Move trusted path check...
64382 (is_trusted_path): ...to here.
64383 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
64384 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
64385 using is_trusted_path_normalize() in setuid scripts.
64386
64387 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
64388
64389 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
64390 __BEGIN/__END_DECLS.
64391
64392 2011-05-06 Ulrich Drepper <drepper@gmail.com>
64393
64394 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
64395 NSS_STATUS_NOTFOUND if no record was found.
64396
64397 2011-05-05 Andreas Schwab <schwab@redhat.com>
64398
64399 * sunrpc/Makefile (headers): Add rpc/netdb.h.
64400 (headers-not-in-tirpc): Remove rpc/netdb.h
64401 * resolv/netdb.h: Revert last change.
64402
64403 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
64404
64405 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
64406 circular dependency between libgcc.a and libc.a.
64407
64408 2011-05-05 Andreas Schwab <schwab@redhat.com>
64409
64410 * resolv/netdb.h: Don't include <rpc/netdb.h>.
64411 * nis/Makefile: Don't install rpcsvc/*.
64412 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
64413 instead of <rpc/types.h>.
64414 (MAXHOSTNAMELEN): Define.
64415
64416 2011-05-03 Andreas Schwab <schwab@redhat.com>
64417
64418 * elf/ldconfig.c (add_dir): Don't crash on empty path.
64419
64420 2011-04-28 Maciej Babinski <mbabinski@google.com>
64421
64422 [BZ #12714]
64423 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
64424 gethostbyname4_r when IPv6 results are possible.
64425
64426 2011-05-02 Ulrich Drepper <drepper@gmail.com>
64427
64428 [BZ #12723]
64429 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
64430 _PC_PIPE_BUF handling.
64431
64432 2011-04-30 Bruno Haible <bruno@clisp.org>
64433
64434 [BZ #12717]
64435 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
64436 * resolv/netdb.h (getnameinfo): Change type of flags parameter
64437 to 'int'.
64438 * inet/getnameinfo.c (getnameinfo): Likewise.
64439
64440 2011-04-29 Ulrich Drepper <drepper@gmail.com>
64441
64442 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
64443 to groups setting in database lookup.
64444 * nss/nsswitch.conf: Add initgroups entry.
64445
64446 2011-04-22 Ulrich Drepper <drepper@gmail.com>
64447
64448 [BZ #12685]
64449 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
64450 mode string.
64451 Patch by Eric Blake <eblake@redhat.com>.
64452
64453 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
64454
64455 * sunrpc/Makefile (need-export-routines): Add svc_run.
64456 (routines): Remove svc_run.
64457 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
64458 * sunrpc/clnt_perr.c (clnt_perrno): Export.
64459 * sunrpc/svc_run.c (svc_run): Likewise.
64460 * sunrpc/svc_udp.c (svcudp_create): Likewise.
64461
64462 2011-04-21 Ulrich Drepper <drepper@gmail.com>
64463
64464 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
64465 problem in reallocation in last patch.
64466
64467 2011-04-20 Ulrich Drepper <drepper@gmail.com>
64468
64469 * sunrpc/Makefile: Move inclusion of Rules.
64470
64471 2011-04-19 Ulrich Drepper <drepper@gmail.com>
64472
64473 * nss/nss_files/files-initgroups.c: New file.
64474 * nss/Makefile (libnss_files-routines): Add files-initgroups.
64475 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
64476 _nss_files_initgroups_dyn.
64477
64478 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
64479
64480 * elf/elf.h (R_ARM_IRELATIVE): Define.
64481
64482 2011-04-19 Ulrich Drepper <drepper@gmail.com>
64483
64484 * po/ru.po: Update from translation team.
64485
64486 2011-04-17 Ulrich Drepper <drepper@gmail.com>
64487
64488 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
64489 dependencies.
64490
64491 2011-02-06 Mike Frysinger <vapier@gentoo.org>
64492
64493 [BZ #12653]
64494 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
64495 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
64496 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
64497 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
64498 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
64499
64500 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
64501
64502 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
64503 differing bytes.
64504 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
64505 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
64506 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
64507
64508 2011-04-17 Ulrich Drepper <drepper@gmail.com>
64509
64510 [BZ #12420]
64511 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
64512 storing it.
64513 * stdlib/bug-getcontext.c: New file.
64514 * stdlib/Makefile: Add rules to build and run bug-getcontext.
64515
64516 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
64517
64518 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
64519 instructions into .machine "z9-109".
64520 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
64521 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
64522
64523 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
64524
64525 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
64526 between environment variables and auxiliary vector.
64527
64528 2011-04-16 Ulrich Drepper <drepper@gmail.com>
64529
64530 * Makefile: Add rules to build linkobj/libc.so.
64531 * include/libc-symbols.h: Define libc_hidden_nolink.
64532 * include/rpc/auth.h: Mark functions which are to be hidden.
64533 * include/rpc/auth_des.h: Likewise.
64534 * include/rpc/auth_unix.h: Likewise.
64535 * include/rpc/clnt.h: Likewise.
64536 * include/rpc/des_crypt.h: Likewise.
64537 * include/rpc/key_prot.h: Likewise.
64538 * include/rpc/pmap_clnt.h: Likewise.
64539 * include/rpc/pmap_prot.h: Likewise.
64540 * include/rpc/pmap_rmt.h: Likewise.
64541 * include/rpc/rpc_msg.h: Likewise.
64542 * include/rpc/svc.h: Likewise.
64543 * include/rpc/svc_auth.h: Likewise.
64544 * include/rpc/xdr.h: Likewise.
64545 * nis/Makefile: Link all DSOs against linkobj/libc.so.
64546 * nss/Makefile: Likewise.
64547 * sunrpc/Makefile: Don't install headers. Build library with normal
64548 entry points. Don't build rpcinfo. Link RPC tests appropriately.
64549 * sunrpc/auth_des.c: Hide exported symbols by default, export some
64550 for the compat linking library. Remove use of INTDEF/INTUSE.
64551 * sunrpc/auth_none.c: Likewise.
64552 * sunrpc/auth_unix.c: Likewise.
64553 * sunrpc/authdes_prot.c: Likewise.
64554 * sunrpc/authuxprot.c: Likewise.
64555 * sunrpc/clnt_gen.c: Likewise.
64556 * sunrpc/clnt_perr.c: Likewise.
64557 * sunrpc/clnt_raw.c: Likewise.
64558 * sunrpc/clnt_simp.c: Likewise.
64559 * sunrpc/clnt_tcp.c: Likewise.
64560 * sunrpc/clnt_udp.c: Likewise.
64561 * sunrpc/clnt_unix.c: Likewise.
64562 * sunrpc/des_crypt.c: Likewise.
64563 * sunrpc/des_soft.c: Likewise.
64564 * sunrpc/get_myaddr.c: Likewise.
64565 * sunrpc/key_call.c: Likewise.
64566 * sunrpc/key_prot.c: Likewise.
64567 * sunrpc/netname.c: Likewise.
64568 * sunrpc/pm_getmaps.c: Likewise.
64569 * sunrpc/pm_getport.c: Likewise.
64570 * sunrpc/pmap_clnt.c: Likewise.
64571 * sunrpc/pmap_prot.c: Likewise.
64572 * sunrpc/pmap_prot2.c: Likewise.
64573 * sunrpc/pmap_rmt.c: Likewise.
64574 * sunrpc/publickey.c: Likewise.
64575 * sunrpc/rpc_cmsg.c: Likewise.
64576 * sunrpc/rpc_common.c: Likewise.
64577 * sunrpc/rpc_dtable.c: Likewise.
64578 * sunrpc/rpc_prot.c: Likewise.
64579 * sunrpc/rpc_thread.c: Likewise.
64580 * sunrpc/rtime.c: Likewise.
64581 * sunrpc/svc.c: Likewise.
64582 * sunrpc/svc_auth.c: Likewise.
64583 * sunrpc/svc_authux.c: Likewise.
64584 * sunrpc/svc_raw.c: Likewise.
64585 * sunrpc/svc_run.c: Likewise.
64586 * sunrpc/svc_simple.c: Likewise.
64587 * sunrpc/svc_tcp.c: Likewise.
64588 * sunrpc/svc_udp.c: Likewise.
64589 * sunrpc/svc_unix.c: Likewise.
64590 * sunrpc/svcauth_des.c: Likewise.
64591 * sunrpc/xcrypt.c: Likewise.
64592 * sunrpc/xdr.c: Likewise.
64593 * sunrpc/xdr_array.c: Likewise.
64594 * sunrpc/xdr_float.c: Likewise.
64595 * sunrpc/xdr_intXX_t.c: Likewise.
64596 * sunrpc/xdr_mem.c: Likewise.
64597 * sunrpc/xdr_rec.c: Likewise.
64598 * sunrpc/xdr_ref.c: Likewise.
64599 * sunrpc/xdr_sizeof.c: Likewise.
64600 * sunrpc/xdr_stdio.c: Likewise.
64601
64602 2011-04-10 Ulrich Drepper <drepper@gmail.com>
64603
64604 [BZ #12650]
64605 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
64606 * sysdeps/ia64/dl-tls.h: Likewise.
64607 * sysdeps/powerpc/dl-tls.h: Likewise.
64608 * sysdeps/s390/dl-tls.h: Likewise.
64609 * sysdeps/sh/dl-tls.h: Likewise.
64610 * sysdeps/sparc/dl-tls.h: Likewise.
64611 * sysdeps/x86_64/dl-tls.h: Likewise.
64612 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
64613
64614 2011-03-14 Andreas Schwab <schwab@redhat.com>
64615
64616 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
64617 rpath element also skip the following colon.
64618 (expand_dynamic_string_token): Add is_path parameter and pass
64619 down to DL_DST_REQUIRED and _dl_dst_substitute.
64620 (decompose_rpath): Call expand_dynamic_string_token with
64621 non-zero is_path. Ignore empty rpaths.
64622 (_dl_map_object_from_fd): Call expand_dynamic_string_token
64623 with zero is_path.
64624
64625 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
64626
64627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
64628 Make cancelable.
64629
64630 2011-04-09 Ulrich Drepper <drepper@gmail.com>
64631
64632 [BZ #12655]
64633 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
64634 Patch by Filipe David Manana <fdmanana@apache.org>.
64635
64636 2011-04-07 Andreas Schwab <schwab@redhat.com>
64637
64638 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
64639 Maintain aligned stack.
64640 (CHECK_RSP): Remove unused macro.
64641
64642 2011-04-03 Ulrich Drepper <drepper@gmail.com>
64643
64644 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
64645 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
64646
64647 2011-04-02 Ulrich Drepper <drepper@gmail.com>
64648
64649 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
64650
64651 * include/features.h: Mention __USE_XOPEN2K8 in comment.
64652
64653 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
64654
64655 [BZ #12518]
64656 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
64657 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
64658 * sysdeps/x86_64/memmove.c: New file.
64659 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
64660 (memcpy): Renamed to ...
64661 (__new_memcpy): This.
64662 (memcpy): Provide GLIBC_2_14 memcpy.
64663 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
64664 (memcpy): Provide GLIBC_2_2_5 memcpy.
64665
64666 2011-04-01 Ulrich Drepper <drepper@gmail.com>
64667
64668 [BZ #12631]
64669 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
64670
64671 2011-03-30 Andreas Schwab <schwab@redhat.com>
64672
64673 * misc/syncfs.c: New file.
64674 * misc/Makefile (routines): Add syncfs.
64675 * posix/unistd.h: Declare syncfs.
64676 * sysdeps/unix/syscalls.list: Add syncfs.
64677
64678 2011-04-01 Andreas Schwab <schwab@redhat.com>
64679
64680 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
64681 open_by_handle_at.
64682 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
64683 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
64684 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
64685 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
64686 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
64687 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
64688 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
64689
64690 2011-04-01 Ulrich Drepper <drepper@gmail.com>
64691
64692 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
64693 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
64694 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
64695 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
64696 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
64697 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
64698 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
64699
64700 * io/Makefile: Compile fallocate.c, fallocate64.c, and
64701 sync_file_range.c with -fexceptions.
64702 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
64703 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
64704 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
64705 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
64706 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
64707 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
64708 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
64709 sync_file_range as cancellation point
64710 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
64711 now a wrapper around __call_sync_file_range with cancellation handling.
64712 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
64713 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
64714 function name to __call_sync_file_range.
64715 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
64716 Add call_sync_file_range.
64717
64718 2011-04-01 Andreas Schwab <schwab@redhat.com>
64719
64720 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64721 bits/timex.h.
64722
64723 2011-04-01 Ulrich Drepper <drepper@gmail.com>
64724
64725 * iconv/iconv.h: Fix typo in comment.
64726 * io/fcntl.h: Likewise.
64727 * libio/stdio.h: Likewise.
64728 * posix/spawn.h: Likewise.
64729 * posix/unistd.h: Likewise.
64730 * stdlib/stdlib.h: Likewise.
64731 * time/time.h: Likewise.
64732 * wcsmbs/wchar.h: Likewise.
64733
64734 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
64735 open_by_handle): Add.
64736 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
64737 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
64738 Augment a few comments.
64739 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
64740 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
64741 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
64742 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
64743 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
64744 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
64745 open_by_handle.
64746
64747 * io/fcntl.h (AT_EMPTY_PATH): Define.
64748
64749 2011-03-30 Ulrich Drepper <drepper@gmail.com>
64750
64751 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
64752 * sysdeps/unix/sysv/linux/bits/time.h: New file.
64753 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
64754 to...
64755 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
64756 * Versions.def: Add GLIBC_2.14.
64757 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
64758 Export.
64759
64760 2011-03-22 Ulrich Drepper <drepper@gmail.com>
64761
64762 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
64763 round counter.
64764 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
64765
64766 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
64767
64768 [BZ #12597]
64769 * string/test-strncmp.c (do_page_test): New function.
64770 (check2): Likewise.
64771 (test_main): Call check2.
64772 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
64773
64774 2011-03-20 Ulrich Drepper <drepper@gmail.com>
64775
64776 [BZ #12587]
64777 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
64778 Handle cache information in CPU leaf 4.
64779 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
64780
64781 2011-03-18 Ulrich Drepper <drepper@gmail.com>
64782
64783 [BZ #12583]
64784 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
64785 character representation.
64786 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
64787
64788 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
64789
64790 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
64791 END(__isnan) to END(__isnanf) to match function entry point/label
64792 EALIGN(__isnanf,...).
64793
64794 2011-03-10 Jakub Jelinek <jakub@redhat.com>
64795
64796 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
64797
64798 2011-03-10 Ulrich Drepper <drepper@gmail.com>
64799
64800 [BZ #12510]
64801 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
64802 copy from the symbol referenced in the relocation to initialize the
64803 used variable.
64804 Patch by Piotr Bury <pbury@goahead.com>.
64805 * elf/Makefile: Add rules to build and tst-unique3.
64806 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
64807 * elf/tst-unique3.cc: New file.
64808 * elf/tst-unique3.h: New file.
64809 * elf/tst-unique3lib.cc: New file.
64810 * elf/tst-unique3lib2.cc: New file.
64811
64812 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
64813
64814 2011-03-10 Mike Frysinger <vapier@gentoo.org>
64815
64816 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
64817 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
64818 to _start.
64819
64820 2011-03-06 Ulrich Drepper <drepper@gmail.com>
64821
64822 * elf/dl-load.c (_dl_map_object): If we are looking for the first
64823 to-be-loaded object along a path to loader is ld.so.
64824
64825 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
64826 Ulrich Drepper <drepper@gmail.com>
64827
64828 * sysdeps/x86_64/memset.S: After aligning destination, code
64829 branches to different locations depending on the value of
64830 misalignment, when multiarch is enabled. Fix this.
64831
64832 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
64833
64834 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
64835 Set _x86_64_preferred_memory_instruction for AMD processsors.
64836 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
64837 Set bit_Prefer_SSE_for_memop for AMD processors.
64838
64839 2011-03-04 Ulrich Drepper <drepper@gmail.com>
64840
64841 * libio/fmemopen.c (fmemopen): Optimize a bit.
64842
64843 2011-03-03 Andreas Schwab <schwab@redhat.com>
64844
64845 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
64846
64847 2011-03-03 Roland McGrath <roland@redhat.com>
64848
64849 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
64850
64851 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
64852
64853 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
64854 __bzero_ultra1 instead of __memset_ultra1.
64855
64856 2011-02-23 Andreas Schwab <schwab@redhat.com>
64857 Ulrich Drepper <drepper@gmail.com>
64858
64859 [BZ #12509]
64860 * include/link.h (struct link_map): Add l_orig_initfini.
64861 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
64862 returning unsuccessfully.
64863 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
64864 close of a file loaded at startup, restore the original l_initfini
64865 list.
64866 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
64867 list, store the pointer.
64868 * elf/Makefile ($(objpfx)noload-mem): New rule.
64869 (noload-ENV): Define.
64870 (tests): Add $(objpfx)noload-mem.
64871 * elf/noload.c: Include <memcheck.h>.
64872 (main): Call mtrace. Close all opened handles.
64873
64874 2011-02-17 Andreas Schwab <schwab@redhat.com>
64875
64876 [BZ #12454]
64877 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
64878 dependencies are missing.
64879
64880 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
64881
64882 Fix __if_freereq crash: Unlike the generic version which uses free,
64883 Hurd needs munmap.
64884 * sysdeps/mach/hurd/ifreq.h: New file.
64885
64886 2011-01-27 Petr Baudis <pasky@suse.cz>
64887 Ulrich Drepper <drepper@gmail.com>
64888
64889 [BZ 12445]#
64890 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
64891 to extend_alloca().
64892 * stdio-common/bug23.c: New file.
64893 * stdio-common/Makefile (tests): Add bug23.
64894
64895 2010-09-28 Andreas Schwab <schwab@redhat.com>
64896 Ulrich Drepper <drepper@gmail.com>
64897
64898 [BZ #12489]
64899 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
64900 before performing relro protection. At old place add assertion
64901 to make sure nothing changed.
64902
64903 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
64904 Glauber de Oliveira Costa <glommer@gmail.com>
64905
64906 * elf/elf.h: Add new ARM TLS relocs.
64907
64908 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
64909
64910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
64911 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
64912 cast from r3.
64913 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
64914 'tests' variable.
64915 * sysdeps/wordsize-64/tst-writev.c: New file.
64916
64917 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
64918
64919 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
64920 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
64921 insns in _dl_start to prevent a TOC reference before relocs are
64922 resolved.
64923
64924 2011-02-15 Ulrich Drepper <drepper@gmail.com>
64925
64926 [BZ #12469]
64927 * Makeconfig: Remove RANLIB definition.
64928 * Makerules: Don't use RANLIB.
64929 * aclocal.m4: Remove ranlib test.
64930 * configure.in: No need to check for ranlib.
64931 * elf/rtld-Rules: Don't use RANLIB.
64932
64933 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
64934
64935 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
64936 protection macro.
64937 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
64938 inclusion protection macro.
64939
64940 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
64941 SIGRTMIN and SIGRTMAX and print information in that case only when
64942 SIGRTMIN is defined.
64943
64944 2011-02-11 Jakub Jelinek <jakub@redhat.com>
64945
64946 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
64947 arginfo fn returning -1.
64948
64949 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
64950 and thousands string is zero terminated.
64951
64952 2011-02-03 Andreas Schwab <schwab@redhat.com>
64953
64954 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
64955 sysdeps/unix/sysv/linux/bits/socket.h.
64956
64957 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
64958
64959 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
64960 (__CPU_COUNT): Remove old macros.
64961 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
64962 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
64963 (__CPU_ALLOC, __CPU_FREE): Add macros.
64964 (__sched_cpualloc, __sched_cpufree): Add declarations.
64965
64966 2011-02-05 Ulrich Drepper <drepper@gmail.com>
64967
64968 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
64969 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
64970 * nscd/aicache.c (addhstaiX): Return timeout of added value.
64971 (readdhstai): Return value of addhstaiX call.
64972 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
64973 (addgrbyX): Return value returned by cache_addgr.
64974 (readdgrbyname): Return value returned by addgrbyX.
64975 (readdgrbygid): Likewise.
64976 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
64977 (addpwbyX): Return value returned by cache_addpw.
64978 (readdpwbyname): Return value returned by addhstbyX.
64979 (readdpwbyuid): Likewise.
64980 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
64981 (addservbyX): Return value returned by cache_addserv.
64982 (readdservbyname): Return value returned by addservbyX:
64983 (readdservbyport): Likewise.
64984 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
64985 (addhstbyX): Return value returned by cache_addhst.
64986 (readdhstbyname): Return value returned by addhstbyX.
64987 (readdhstbyaddr): Likewise.
64988 (readdhstbynamev6): Likewise.
64989 (readdhstbyaddrv6): Likewise.
64990 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
64991 (readdinitgroups): Return value returned by addinitgroupsX.
64992 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
64993 (prune_cache): Keep track of timeout value of re-added entries.
64994 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
64995 * nscd/nscd.h: Adjust prototypes of readd* functions.
64996
64997 2011-02-04 Roland McGrath <roland@redhat.com>
64998
64999 * nis/nis_server.c (nis_servstate): Use the right name for 0.
65000 (nis_stats): Likewise.
65001 * nis/nis_modify.c (nis_modify): Likewise.
65002 * nis/nis_remove.c (nis_remove): Likewise.
65003 * nis/nis_add.c (nis_add): Likewise.
65004
65005 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
65006
65007 * posix/fnmatch_loop.c: Add some consts.
65008
65009 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
65010
65011 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
65012
65013 [BZ #12460]
65014 * config.make.in (config-cflags-novzeroupper): Define.
65015 * configure.in: Substitute libc_cv_cc_novzeroupper.
65016 * elf/Makefile (AVX-CFLAGS): Define.
65017 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
65018 (CFLAGS-tst-auditmod4a.c): Likewise.
65019 (CFLAGS-tst-auditmod4b.c): Likewise.
65020 (CFLAGS-tst-auditmod6b.c): Likewise.
65021 (CFLAGS-tst-auditmod6c.c): Likewise.
65022 (CFLAGS-tst-auditmod7b.c): Likewise.
65023 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
65024
65025 2011-02-02 Ulrich Drepper <drepper@gmail.com>
65026
65027 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
65028 function to the callback.
65029 Patch partly by Jiri Olsa <jolsa@redhat.com>.
65030
65031 2011-02-02 Andreas Schwab <schwab@redhat.com>
65032
65033 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
65034 of errno.
65035
65036 2011-01-19 Ulrich Drepper <drepper@gmail.com>
65037
65038 [BZ #11724]
65039 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
65040 of constructors.
65041 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
65042 of destructors.
65043 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
65044
65045 [BZ #11724]
65046 * elf/Makefile: Add rules to build and run new test.
65047 * elf/tst-initorder.c: New file.
65048 * elf/tst-initorder.exp: New file.
65049 * elf/tst-initordera1.c: New file.
65050 * elf/tst-initordera2.c: New file.
65051 * elf/tst-initordera3.c: New file.
65052 * elf/tst-initordera4.c: New file.
65053 * elf/tst-initorderb1.c: New file.
65054 * elf/tst-initorderb2.c: New file.
65055 * elf/tst-order-a1.c: New file.
65056 * elf/tst-order-a2.c: New file.
65057 * elf/tst-order-a3.c: New file.
65058 * elf/tst-order-a4.c: New file.
65059 * elf/tst-order-b1.c: New file.
65060 * elf/tst-order-b2.c: New file.
65061 * elf/tst-order-main.c: New file.
65062 New test case by George Gensure <werkt0@gmail.com>.
65063
65064 2010-10-01 Andreas Schwab <schwab@redhat.com>
65065
65066 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
65067 decoding ACE if AI_CANONIDN.
65068
65069 2011-01-18 Ulrich Drepper <drepper@gmail.com>
65070
65071 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
65072
65073 2011-01-17 Ulrich Drepper <drepper@gmail.com>
65074
65075 * version.h (RELEASE): Bump for 2.13 release.
65076 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
65077
65078 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
65079
65080 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
65081 MADV_NOHUGEPAGE.
65082 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
65083 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
65084 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
65085 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
65086 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
65087 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
65088
65089 * posix/getconf.c: Update copyright year.
65090 * catgets/gencat.c: Likewise.
65091 * csu/version.c: Likewise.
65092 * debug/catchsegv.sh: Likewise.
65093 * debug/xtrace.sh: Likewise.
65094 * elf/ldconfig.c: Likewise.
65095 * elf/ldd.bash.in: Likewise.
65096 * elf/sprof.c (print_version): Likewise.
65097 * iconv/iconv_prog.c: Likewise.
65098 * iconv/iconvconfig.c: Likewise.
65099 * locale/programs/locale.c: Likewise.
65100 * locale/programs/localedef.c: Likewise.
65101 * malloc/memusage.sh: Likewise.
65102 * malloc/mtrace.pl: Likewise.
65103 * nscd/nscd.c (print_version): Likewise.
65104 * nss/getent.c: Likewise.
65105
65106 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
65107 PF_CAIF, and PF_ALG.
65108 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
65109
65110 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
65111
65112 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
65113 (modules-names): Use them.
65114 (ifunc-test-modules, ifunc-pie-tests): Define.
65115 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
65116 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
65117 (test-extras): Likewise.
65118 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
65119 $(compile-command.c).
65120 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
65121 (all-built-dso): Define.
65122 (check-textrel.out, check-execstack.out): Depend on it.
65123
65124 * configure.in: Don't override --enable-multi-arch.
65125
65126 2011-01-15 Ulrich Drepper <drepper@gmail.com>
65127
65128 [BZ #6812]
65129 * nscd/hstcache.c (tryagain): Define.
65130 (cache_addhst): Return tryagain not notfound for temporary errors.
65131 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
65132 failed.
65133
65134 2011-01-14 Ulrich Drepper <drepper@gmail.com>
65135
65136 [BZ #10563]
65137 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
65138 to make the syscall.
65139 * sysdeps/unix/sysv/linux/setgroups.c: New file.
65140
65141 [BZ #12378]
65142 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
65143 and fall back to matching as normal character if the string ends before
65144 the matching ']' is found. This is what POSIX requires.
65145 * posix/testfnm.c: Adjust test result.
65146 * posix/globtest.sh: Adjust test result. Add new test.
65147 * posix/tst-fnmatch.input: Likewise.
65148 * posix/tst-fnmatch2.c: Add new test.
65149
65150 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
65151
65152 * elf/Makefile (check-execstack): Revert last change. Depend on
65153 check-execstack.h.
65154 (check-execstack.h): New target.
65155 (generated): Add check-execstack.h.
65156 * elf/check-execstack.c: Include "check-execstack.h".
65157 (main): Revert last change.
65158 (handle_file): Return zero if GNU_STACK is absent and
65159 DEFAULT_STACK_PERMS doesn't include PF_X.
65160
65161 2011-01-13 Ulrich Drepper <drepper@gmail.com>
65162
65163 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
65164 in child fails because the descriptor is already closed.
65165 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
65166 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
65167 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
65168
65169 [BZ #12397]
65170 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
65171 syscall.
65172
65173 [BZ #10484]
65174 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
65175 temporary buffer used to handle multi lookups locally.
65176 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
65177
65178 2011-01-12 Ulrich Drepper <drepper@gmail.com>
65179
65180 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
65181 loader is ld.so.
65182
65183 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
65184
65185 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
65186 alignment for SSE2.
65187
65188 2011-01-12 Ulrich Drepper <drepper@gmail.com>
65189
65190 [BZ #12394]
65191 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
65192 characters. When rounding increased number of integer digits recompute
65193 number of groups.
65194 * stdio-common/tst-grouping.c: New file.
65195 * stdio-common/Makefile: Add rules to build and run tst-grouping.
65196
65197 2011-01-09 Ulrich Drepper <drepper@gmail.com>
65198
65199 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
65200 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
65201
65202 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
65203 void.
65204 * bits/select.h: Likewise.
65205
65206 2011-01-08 Ulrich Drepper <drepper@gmail.com>
65207
65208 * po/ja.po: Update from translation team.
65209
65210 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
65211
65212 [BZ #11155]
65213 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
65214 implementation just like for lxstat, fxstatat, et al.
65215
65216 2010-12-27 Jim Meyering <meyering@redhat.com>
65217
65218 [BZ #12348]
65219 * posix/regexec.c (build_trtable): Return failure indication upon
65220 calloc failure. Otherwise, re_search_internal could infloop on OOM.
65221
65222 2010-12-25 Ulrich Drepper <drepper@gmail.com>
65223
65224 [BZ #12201]
65225 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
65226 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
65227 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
65228 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
65229
65230 [BZ #12207]
65231 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
65232
65233 [BZ #12204]
65234 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
65235 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
65236
65237 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
65238
65239 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
65240 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
65241 script has SORT_BY_INIT_PRIORITY.
65242 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
65243 NO_CTORS_DTORS_SECTIONS is defined.
65244 * elf/soinit.c: Likewise.
65245 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
65246 NO_CTORS_DTORS_SECTIONS is defined.
65247 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
65248 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
65249 * sysdeps/sh/init-first.c: Likewise.
65250 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
65251
65252 2010-12-24 Ulrich Drepper <drepper@gmail.com>
65253
65254 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
65255 always use the slow path.
65256
65257 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
65258
65259 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
65260 similar rule which adds the sysdep directories to the header search in
65261 order to pick up the correct platform stackinfo.h.
65262 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
65263 perform test if it is, otherwise return successfully without testing.
65264 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
65265 DEFAULT_STACK_PERMS define in stackinfo.h.
65266 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
65267 defined in stackinfo.h.
65268 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
65269 DEFAULT_STACK_PERMS defined in stackinfo.h.
65270 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
65271 * sysdeps/ia64/stackinfo.h: Likewise.
65272 * sysdeps/s390/stackinfo.h: Likewise.
65273 * sysdeps/sh/stackinfo.h: Likewise.
65274 * sysdeps/sparc/stackinfo.h: Likewise.
65275 * sysdeps/x86_64/stackinfo.h: Likewise.
65276 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
65277 PF_X for powerpc64. Retain PF_X for powerpc32.
65278
65279 2010-12-19 Ulrich Drepper <drepper@gmail.com>
65280
65281 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
65282 accurately.
65283 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
65284 GETDENTS_64BIT_ALIGNED.
65285
65286 2010-12-14 Ulrich Drepper <dreper@gmail.com>
65287
65288 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
65289
65290 2010-12-10 Andreas Schwab <schwab@redhat.com>
65291
65292 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
65293 _GNU_SOURCE.
65294
65295 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
65296 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
65297 Remove __restrict.
65298 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
65299 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
65300
65301 2010-12-09 Ulrich Drepper <drepper@gmail.com>
65302
65303 [BZ #11655]
65304 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
65305 are initialized.
65306
65307 2010-12-09 Jakub Jelinek <jakub@redhat.com>
65308
65309 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
65310
65311 2010-12-03 Ulrich Drepper <drepper@gmail.com>
65312
65313 * po/it.po: Update from translation team.
65314
65315 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
65316
65317 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
65318 unused codes.
65319
65320 2010-11-30 Ulrich Drepper <drepper@gmail.com>
65321
65322 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
65323
65324 2010-11-24 Andreas Schwab <schwab@redhat.com>
65325
65326 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
65327 specially.
65328 (gaih_getanswer_slice): Likewise.
65329
65330 2010-10-20 Jakub Jelinek <jakub@redhat.com>
65331
65332 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
65333
65334 2010-05-31 Petr Baudis <pasky@suse.cz>
65335
65336 [BZ #11149]
65337 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
65338 silently even in the chroot mode.
65339
65340 2010-11-22 Ulrich Drepper <drepper@gmail.com>
65341
65342 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
65343 last patch a bit. Pretty printing
65344
65345 2010-05-31 Petr Baudis <pasky@suse.cz>
65346
65347 [BZ #10085]
65348 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
65349 initialization of skip_initgroups_dyn.
65350
65351 2010-11-19 Ulrich Drepper <drepper@gmail.com>
65352
65353 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
65354 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
65355
65356 2010-11-16 Ulrich Drepper <drepper@gmail.com>
65357
65358 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
65359
65360 2010-11-11 Andreas Schwab <schwab@redhat.com>
65361
65362 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
65363 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
65364 (tst-fnmatch-ENV): Set MALLOC_TRACE.
65365 ($(objpfx)tst-fnmatch-mem): New rule.
65366 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
65367 * posix/tst-fnmatch.c (main): Call mtrace.
65368
65369 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
65370
65371 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65372 Support Intel processor model 6 and model 0x2c.
65373
65374 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
65375
65376 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
65377 signed comparison.
65378
65379 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
65380
65381 [BZ #12205]
65382 * string/test-strncasecmp.c (check_result): New function.
65383 (do_one_test): Use it.
65384 (check1): New function.
65385 (test_main): Use it.
65386 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
65387 Support strcasecmp and strncasecmp.
65388
65389 2010-11-08 Ulrich Drepper <drepper@gmail.com>
65390
65391 [BZ #12194]
65392 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
65393 * sysdeps/x86_64/bits/byteswap.h: Likewise.
65394
65395 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
65396
65397 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
65398 IFUNC support.
65399 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
65400 memset-x86-64.
65401 * sysdeps/x86_64/multiarch/bzero.S: New file.
65402 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
65403 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
65404 * sysdeps/x86_64/multiarch/memset.S: New file.
65405 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
65406 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65407 Set bit_Prefer_SSE_for_memop for Intel processors.
65408 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
65409 Define.
65410 (index_Prefer_SSE_for_memop): Define.
65411 (HAS_PREFER_SSE_FOR_MEMOP): Define.
65412
65413 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
65414
65415 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
65416 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
65417
65418 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
65419
65420 [BZ #12191]
65421 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
65422 (__x86_64_raw_data_cache_size_half): Likewise.
65423 (__x86_64_raw_shared_cache_size): Likewise.
65424 (__x86_64_raw_shared_cache_size_half): Likewise.
65425
65426 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
65427 (__x86_64_raw_data_cache_size_half): Likewise.
65428 (__x86_64_raw_shared_cache_size): Likewise.
65429 (__x86_64_raw_shared_cache_size_half): Likewise.
65430 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
65431 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
65432 and __x86_64_raw_shared_cache_size_half. Round
65433 __x86_64_data_cache_size_half, __x86_64_data_cache_size
65434 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
65435 to multiple of 256 bytes.
65436
65437 2010-11-03 Ulrich Drepper <drepper@gmail.com>
65438
65439 [BZ #12167]
65440 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
65441 of inacessible symlinks. Verify result of symlink before returning it.
65442 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
65443 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
65444
65445 2010-10-28 Erich Ritz <erichritz@gmail.com>
65446
65447 * math/math.h (isinf): Fix typo in comment.
65448
65449 2010-11-01 Ulrich Drepper <drepper@gmail.com>
65450
65451 * po/da.po: Update from translation team.
65452
65453 2010-10-26 Ulrich Drepper <drepper@gmail.com>
65454
65455 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
65456 is added to the list.
65457
65458 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
65459 Ulrich Drepper <drepper@gmail.com>
65460
65461 * elf/dl-object.c (_dl_new_object): Don't append the new object to
65462 the global list here. Move code to...
65463 (_dl_add_to_namespace_list): ...here. New function.
65464 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
65465 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
65466 * elf/dl-load.c (lose): Don't remove the element from the list.
65467 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
65468 (_dl_map_object): Likewise.
65469
65470 2010-10-25 Ulrich Drepper <drepper@gmail.com>
65471
65472 [BZ #12159]
65473 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
65474 into all bytes of SSE register.
65475 Patch by Richard Li <richardpku@gmail.com>.
65476
65477 2010-10-24 Ulrich Drepper <drepper@gmail.com>
65478
65479 [BZ #12140]
65480 * malloc/malloc.c (_int_free): Fill correct number of bytes when
65481 perturbing.
65482
65483 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
65484
65485 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
65486 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
65487 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
65488 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
65489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
65490 submachine.
65491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
65492
65493 2010-10-22 Andreas Schwab <schwab@redhat.com>
65494
65495 * include/dlfcn.h (__RTLD_SECURE): Define.
65496 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
65497 mode & __RTLD_SECURE instead.
65498 (open_path): Rename preloaded parameter to secure.
65499 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
65500 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
65501 * elf/dl-deps.c (openaux): Likewise.
65502 * elf/rtld.c (struct map_args): Remove is_preloaded.
65503 (map_doit): Don't use it.
65504 (dl_main): Likewise.
65505 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
65506 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
65507
65508 2010-09-09 Andreas Schwab <schwab@redhat.com>
65509
65510 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
65511 (sysd-rules-targets): Remove duplicates.
65512 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
65513 rtld-%.$o dependency.
65514
65515 2010-10-18 Andreas Schwab <schwab@redhat.com>
65516
65517 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
65518 _dl_map_object do it.
65519
65520 2010-10-19 Ulrich Drepper <drepper@gmail.com>
65521
65522 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
65523 fast fma builtins, define the macros in the C99 standard.
65524 (FP_FAST_FMAF): Likewise.
65525 (FP_FAST_FMAL): Likewise.
65526 * sysdeps/x86_64/bits/mathdef.h: Likewise.
65527
65528 * bits/mathdef.h: Update copyright year.
65529 * sysdeps/powerpc/bits/mathdef.h: Likewise.
65530
65531 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
65532
65533 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
65534 builtins, define the macros in the C99 standard.
65535 (FP_FAST_FMAF): Likewise.
65536 (FP_FAST_FMAL): Likewise.
65537 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
65538 multiply/add.
65539 (FP_FAST_FMAF): Likewise.
65540
65541 2010-10-15 Jakub Jelinek <jakub@redhat.com>
65542
65543 [BZ #3268]
65544 * math/libm-test.inc (fma_test): Some new testcases.
65545 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
65546 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
65547 y and infinite z. Do multiplication by C already in long double.
65548 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
65549 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
65550 y and infinite z. Do bitwise or of inexact bit into u.d.
65551 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
65552 * sysdeps/i386/fpu/s_fmaf.S: Removed.
65553 * sysdeps/i386/fpu/s_fma.S: Removed.
65554 * sysdeps/i386/fpu/s_fmal.S: Removed.
65555
65556 2010-10-16 Jakub Jelinek <jakub@redhat.com>
65557
65558 [BZ #3268]
65559 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
65560 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
65561 computation is not scheduled after fetestexcept. Fix value
65562 of minimum denormal long double.
65563
65564 2010-10-14 Jakub Jelinek <jakub@redhat.com>
65565
65566 [BZ #3268]
65567 * math/libm-test.inc (fma_test): Add some more tests.
65568 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
65569 correctly.
65570
65571 2010-10-15 Andreas Schwab <schwab@redhat.com>
65572
65573 * scripts/data/localplt-s390-linux-gnu.data: New file.
65574 * scripts/data/localplt-s390x-linux-gnu.data: New file.
65575
65576 2010-10-13 Jakub Jelinek <jakub@redhat.com>
65577
65578 [BZ #3268]
65579 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
65580 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
65581 instead of dbl-64.
65582 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
65583 inlines.
65584 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
65585 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
65586 if one of x and y is very large and the other is subnormal.
65587 * sysdeps/s390/fpu/s_fmaf.c: New file.
65588 * sysdeps/s390/fpu/s_fma.c: New file.
65589 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
65590 * sysdeps/powerpc/fpu/s_fma.S: New file.
65591 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
65592 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
65593 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
65594
65595 2010-10-12 Jakub Jelinek <jakub@redhat.com>
65596
65597 [BZ #3268]
65598 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
65599 fma tests.
65600 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
65601 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
65602 * sysdeps/i386/i686/multiarch/s_fma.c: Include
65603 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
65604 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
65605 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
65606 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
65607
65608 2010-10-12 Ulrich Drepper <drepper@redhat.com>
65609
65610 [BZ #12078]
65611 * posix/regcomp.c (parse_branch): One more memory leak plugged.
65612 * posix/bug-regex31.input: Add test case.
65613
65614 2010-10-11 Ulrich Drepper <drepper@gmail.com>
65615
65616 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
65617 * posix/bug-regex31.input: New file.
65618
65619 [BZ #12078]
65620 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
65621 (parse_sub_exp): Fix last change, use postorder.
65622
65623 * posix/bug-regex31.c: New file.
65624 * posix/Makefile: Add rules to build and run bug-regex31.
65625
65626 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
65627
65628 [BZ #12078]
65629 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
65630
65631 [BZ #12108]
65632 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
65633 to have entries in sys_siglist.
65634
65635 [BZ #12093]
65636 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
65637 be NULL.
65638
65639 2010-10-07 Jakub Jelinek <jakub@redhat.com>
65640
65641 [BZ #3268]
65642 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
65643 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
65644 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
65645 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
65646 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
65647 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
65648 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
65649 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
65650 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
65651 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
65652 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
65653 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
65654 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
65655 * math/ftestexcept.c (fetestexcept): Likewise.
65656 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
65657 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
65658 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
65659 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
65660 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
65661 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
65662 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
65663
65664 2010-10-11 Ulrich Drepper <drepper@gmail.com>
65665
65666 [BZ #12107]
65667 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
65668 newline.
65669
65670 2010-10-06 Ulrich Drepper <drepper@gmail.com>
65671
65672 * string/bug-strstr1.c: New file.
65673 * string/Makefile: Add rules to build and run bug-strstr1.
65674
65675 2010-10-05 Eric Blake <eblake@redhat.com>
65676
65677 [BZ #12092]
65678 * string/str-two-way.h (two_way_long_needle): Always clear memory
65679 when skipping input due to the shift table.
65680
65681 2010-10-03 Ulrich Drepper <drepper@gmail.com>
65682
65683 [BZ #12005]
65684 * malloc/mcheck.c: Handle large requests.
65685
65686 [BZ #12077]
65687 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
65688 for strncmp and strncasecmp.
65689 * string/stratcliff.c: Add tests for strcmp and strncmp.
65690 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
65691
65692 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
65693
65694 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
65695 __set_fpscr.
65696
65697 2010-09-30 Andreas Jaeger <aj@suse.de>
65698
65699 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
65700 (CGROUP_SUPER_MAGIC): Define.
65701 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
65702 Handle btrfs and cgroup file systems.
65703 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
65704 Likewise.
65705
65706 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
65707
65708 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
65709 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
65710
65711 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
65712
65713 [BZ #12067]
65714 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
65715 trying to locate the ELF header.
65716
65717 2010-09-27 Andreas Schwab <schwab@redhat.com>
65718
65719 [BZ #11611]
65720 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
65721 Mask out sign-bit copies when constructing f_fsid.
65722
65723 2010-09-24 Petr Baudis <pasky@suse.cz>
65724
65725 * debug/stack_chk_fail_local.c: Add missing licence exception.
65726 * debug/warning-nop.c: Likewise.
65727
65728 2010-09-15 Joseph Myers <joseph@codesourcery.com>
65729
65730 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
65731 implementing getdents64 using getdents syscall, set d_type if
65732 __ASSUME_GETDENTS32_D_TYPE.
65733
65734 2010-09-16 Andreas Schwab <schwab@redhat.com>
65735
65736 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
65737 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
65738
65739 2010-09-21 Ulrich Drepper <drepper@redhat.com>
65740
65741 [BZ #12037]
65742 * posix/unistd.h: Undo change of feature selection for ftruncate from
65743 2010-01-11.
65744
65745 2010-09-20 Ulrich Drepper <drepper@redhat.com>
65746
65747 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
65748 detection.
65749
65750 2010-09-20 Andreas Schwab <schwab@redhat.com>
65751
65752 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
65753 fanotify_mark.
65754 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
65755
65756 2010-09-14 Andreas Schwab <schwab@redhat.com>
65757
65758 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
65759 variables after CHECK_SP call.
65760 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
65761
65762 2010-09-13 Andreas Schwab <schwab@redhat.com>
65763 Ulrich Drepper <drepper@redhat.com>
65764
65765 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
65766 re-relocationg ld.so.
65767 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
65768 _dl_init_paths call.
65769 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
65770 here anymore.
65771
65772 2010-09-14 Ulrich Drepper <drepper@redhat.com>
65773
65774 * resolv/res_init.c (__res_vinit): Count the default server we added.
65775
65776 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
65777 Ulrich Drepper <drepper@redhat.com>
65778
65779 [BZ #11968]
65780 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
65781 (____longjmp_chk): Use %ebx for saving value across system call.
65782 Add unwind info.
65783
65784 2010-09-06 Andreas Schwab <schwab@redhat.com>
65785
65786 * manual/Makefile: Don't mix pattern rules with normal rules.
65787
65788 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
65789
65790 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
65791 operation.
65792 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
65793 * libio/iofopncook.c (_IO_cookie_init): Likewise.
65794 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
65795 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
65796 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
65797 Likewise.
65798
65799 2010-09-04 Ulrich Drepper <drepper@redhat.com>
65800
65801 [BZ #11979]
65802 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
65803 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
65804
65805 2010-09-02 Ulrich Drepper <drepper@redhat.com>
65806
65807 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
65808 * sysdeps/x86_64/addmul_1.S: Likewise.
65809 * sysdeps/x86_64/lshift.S: Likewise.
65810 * sysdeps/x86_64/mul_1.S: Likewise.
65811 * sysdeps/x86_64/rshift.S: Likewise.
65812 * sysdeps/x86_64/sub_n.S: Likewise.
65813 * sysdeps/x86_64/submul_1.S: Likewise.
65814
65815 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
65816
65817 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
65818 Define __sched_param instead of SCHED_* and sched_param when
65819 <bits/sched.h> is included with __need_schedparam defined.
65820 * bits/sched.h [__need_schedparam]
65821 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
65822 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
65823 (__defined_schedparam): Define to 1.
65824 (__sched_param): New structure, identical to sched_param.
65825 (__need_schedparam): Undefine.
65826
65827 2010-08-31 Mike Frysinger <vapier@gentoo.org>
65828
65829 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
65830 (epoll_create1): Declare.
65831
65832 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
65833
65834 2010-08-31 Andreas Schwab <schwab@redhat.com>
65835
65836 [BZ #7066]
65837 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
65838 shifting retval into place.
65839
65840 2010-09-01 Ulrich Drepper <drepper@redhat.com>
65841
65842 * nis/rpcsvc/nis.h: Update copyright notice.
65843 * nis/rpcsvc/nis.x: Likewise.
65844 * nis/rpcsvc/nis_callback.h: Likewise.
65845 * nis/rpcsvc/nis_callback.x: Likewise.
65846 * nis/rpcsvc/nis_object.x: Likewise.
65847 * nis/rpcsvc/nis_tags.h: Likewise.
65848 * nis/rpcsvc/yp.h: Likewise.
65849 * nis/rpcsvc/yp.x: Likewise.
65850 * nis/rpcsvc/ypupd.h: Likewise.
65851 * nis/yp_xdr.c: Likewise.
65852 * nis/ypupdate_xdr.c: Likewise.
65853
65854 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
65855 mainly the body of pmap_getport. Add parameters to specify timeouts.
65856 (pmap_getport): Use __libc_rpc_getport.
65857 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
65858 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
65859 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
65860
65861 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
65862
65863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
65864 fanotify_mark.
65865
65866 2010-08-27 Roland McGrath <roland@redhat.com>
65867
65868 * sysdeps/i386/i686/multiarch/Makefile
65869 (CFLAGS-varshift.c): New variable.
65870
65871 2010-08-27 Ulrich Drepper <drepper@redhat.com>
65872
65873 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
65874 * sysdeps/i386/i686/multiarch/varshift.c: New file.
65875
65876 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
65877
65878 * sysdeps/x86_64/strlen.S: Minimal code improvement.
65879
65880 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
65881
65882 * sysdeps/x86_64/strlen.S: Unroll the loop.
65883 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
65884 strlen-sse2 strlen-sse2-bsf.
65885 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
65886 __strlen_no_bsf if bit_Slow_BSF is set.
65887 (__strlen_sse42): Removed.
65888 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
65889 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
65890
65891 2010-08-25 Roland McGrath <roland@redhat.com>
65892
65893 * sysdeps/x86_64/multiarch/varshift.S: File removed.
65894 * sysdeps/x86_64/multiarch/varshift.c: New file.
65895 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
65896 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
65897 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
65898 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
65899
65900 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
65901
65902 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
65903 strlen-sse2 strlen-sse2-bsf.
65904 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
65905 __strlen_sse2_bsf if bit_Slow_BSF is unset.
65906 (__strlen_sse2): Removed.
65907 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
65908 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
65909 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
65910 bit_Slow_BSF for Atom.
65911 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
65912 (index_Slow_BSF): Define.
65913 (HAS_SLOW_BSF): Define.
65914
65915 2010-08-25 Ulrich Drepper <drepper@redhat.com>
65916
65917 [BZ #10851]
65918 * resolv/res_init.c (__res_vinit): When no server address at all
65919 is given default to loopback.
65920
65921 2010-08-24 Roland McGrath <roland@redhat.com>
65922
65923 * configure.in: Remove config-name.h generation.
65924 * configure: Regenerated.
65925 * config-name.in: File removed.
65926 * scripts/config-uname.sh: New file.
65927 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
65928 ($(objdir)config-name.h): New target.
65929
65930 * sunrpc/rpc_parse.h: Avoid nested comment.
65931
65932 2010-08-24 Richard Henderson <rth@redhat.com>
65933 Ulrich Drepper <drepper@redhat.com>
65934 H.J. Lu <hongjiu.lu@intel.com>
65935
65936 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
65937 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
65938 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
65939 Replace _mm_srli_si128 with __m128i_shift_right. Replace
65940 _mm_alignr_epi8 with _mm_loadu_si128.
65941 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
65942 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
65943 (__m128i_shift_right): Removed.
65944 * sysdeps/i386/i686/multiarch/varshift.h: New file.
65945 * sysdeps/i386/i686/multiarch/varshift.S: New file.
65946 * sysdeps/x86_64/multiarch/varshift.h: New file.
65947 * sysdeps/x86_64/multiarch/varshift.S: New file.
65948
65949 2010-08-21 Mike Frysinger <vapier@gentoo.org>
65950
65951 * configure.in: Move assembler checks to before sysdep dir checking.
65952
65953 2010-08-20 Petr Baudis <pasky@suse.cz>
65954
65955 * LICENSES: Sync the sunrpc license.
65956
65957 2010-08-19 Ulrich Drepper <drepper@redhat.com>
65958
65959 * sunrpc/auth_des.c: Update copyright notice once again.
65960 * sunrpc/auth_none.c: Likewise.
65961 * sunrpc/auth_unix.c: Likewise.
65962 * sunrpc/authdes_prot.c: Likewise.
65963 * sunrpc/authuxprot.c: Likewise.
65964 * sunrpc/bindrsvprt.c: Likewise.
65965 * sunrpc/clnt_gen.c: Likewise.
65966 * sunrpc/clnt_perr.c: Likewise.
65967 * sunrpc/clnt_raw.c: Likewise.
65968 * sunrpc/clnt_simp.c: Likewise.
65969 * sunrpc/clnt_tcp.c: Likewise.
65970 * sunrpc/clnt_udp.c: Likewise.
65971 * sunrpc/clnt_unix.c: Likewise.
65972 * sunrpc/des_crypt.c: Likewise.
65973 * sunrpc/des_soft.c: Likewise.
65974 * sunrpc/get_myaddr.c: Likewise.
65975 * sunrpc/getrpcport.c: Likewise.
65976 * sunrpc/key_call.c: Likewise.
65977 * sunrpc/key_prot.c: Likewise.
65978 * sunrpc/openchild.c: Likewise.
65979 * sunrpc/pm_getmaps.c: Likewise.
65980 * sunrpc/pm_getport.c: Likewise.
65981 * sunrpc/pmap_clnt.c: Likewise.
65982 * sunrpc/pmap_prot.c: Likewise.
65983 * sunrpc/pmap_prot2.c: Likewise.
65984 * sunrpc/pmap_rmt.c: Likewise.
65985 * sunrpc/rpc/auth.h: Likewise.
65986 * sunrpc/rpc/auth_unix.h: Likewise.
65987 * sunrpc/rpc/clnt.h: Likewise.
65988 * sunrpc/rpc/des_crypt.h: Likewise.
65989 * sunrpc/rpc/key_prot.h: Likewise.
65990 * sunrpc/rpc/netdb.h: Likewise.
65991 * sunrpc/rpc/pmap_clnt.h: Likewise.
65992 * sunrpc/rpc/pmap_prot.h: Likewise.
65993 * sunrpc/rpc/pmap_rmt.h: Likewise.
65994 * sunrpc/rpc/rpc.h: Likewise.
65995 * sunrpc/rpc/rpc_des.h: Likewise.
65996 * sunrpc/rpc/rpc_msg.h: Likewise.
65997 * sunrpc/rpc/svc.h: Likewise.
65998 * sunrpc/rpc/svc_auth.h: Likewise.
65999 * sunrpc/rpc/types.h: Likewise.
66000 * sunrpc/rpc/xdr.h: Likewise.
66001 * sunrpc/rpc_clntout.c: Likewise.
66002 * sunrpc/rpc_cmsg.c: Likewise.
66003 * sunrpc/rpc_common.c: Likewise.
66004 * sunrpc/rpc_cout.c: Likewise.
66005 * sunrpc/rpc_dtable.c: Likewise.
66006 * sunrpc/rpc_hout.c: Likewise.
66007 * sunrpc/rpc_main.c: Likewise.
66008 * sunrpc/rpc_parse.c: Likewise.
66009 * sunrpc/rpc_parse.h: Likewise.
66010 * sunrpc/rpc_prot.c: Likewise.
66011 * sunrpc/rpc_sample.c: Likewise.
66012 * sunrpc/rpc_scan.c: Likewise.
66013 * sunrpc/rpc_scan.h: Likewise.
66014 * sunrpc/rpc_svcout.c: Likewise.
66015 * sunrpc/rpc_tblout.c: Likewise.
66016 * sunrpc/rpc_util.c: Likewise.
66017 * sunrpc/rpc_util.h: Likewise.
66018 * sunrpc/rpcinfo.c: Likewise.
66019 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
66020 * sunrpc/rpcsvc/key_prot.x: Likewise.
66021 * sunrpc/rpcsvc/klm_prot.x: Likewise.
66022 * sunrpc/rpcsvc/mount.x: Likewise.
66023 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
66024 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
66025 * sunrpc/rpcsvc/rex.x: Likewise.
66026 * sunrpc/rpcsvc/rstat.x: Likewise.
66027 * sunrpc/rpcsvc/rusers.x: Likewise.
66028 * sunrpc/rpcsvc/sm_inter.x: Likewise.
66029 * sunrpc/rpcsvc/spray.x: Likewise.
66030 * sunrpc/rpcsvc/yppasswd.x: Likewise.
66031 * sunrpc/rtime.c: Likewise.
66032 * sunrpc/svc.c: Likewise.
66033 * sunrpc/svc_auth.c: Likewise.
66034 * sunrpc/svc_authux.c: Likewise.
66035 * sunrpc/svc_raw.c: Likewise.
66036 * sunrpc/svc_run.c: Likewise.
66037 * sunrpc/svc_simple.c: Likewise.
66038 * sunrpc/svc_tcp.c: Likewise.
66039 * sunrpc/svc_udp.c: Likewise.
66040 * sunrpc/svc_unix.c: Likewise.
66041 * sunrpc/svcauth_des.c: Likewise.
66042 * sunrpc/xcrypt.c: Likewise.
66043 * sunrpc/xdr.c: Likewise.
66044 * sunrpc/xdr_array.c: Likewise.
66045 * sunrpc/xdr_float.c: Likewise.
66046 * sunrpc/xdr_mem.c: Likewise.
66047 * sunrpc/xdr_rec.c: Likewise.
66048 * sunrpc/xdr_ref.c: Likewise.
66049 * sunrpc/xdr_sizeof.c: Likewise.
66050 * sunrpc/xdr_stdio.c: Likewise.
66051
66052 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
66053 handling.
66054
66055 2010-08-19 Andreas Schwab <schwab@redhat.com>
66056
66057 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
66058
66059 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
66060
66061 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
66062 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
66063 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
66064 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
66065 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
66066 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
66067 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
66068 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
66069 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
66070 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
66071 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
66072 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
66073 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
66074 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
66075
66076 2010-07-26 Anton Blanchard <anton@samba.org>
66077
66078 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
66079 * malloc/arena.c (heap_trim): Likewise.
66080
66081 2010-08-16 Ulrich Drepper <drepper@redhat.com>
66082
66083 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
66084 here. Not...
66085 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
66086 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
66087
66088 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
66089
66090 * sysdeps/i386/elf/Makefile: New file.
66091
66092 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
66093
66094 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
66095 from fanotify_init.
66096 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
66097 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
66098
66099 2010-08-15 Ulrich Drepper <drepper@redhat.com>
66100
66101 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
66102 of strncasecmp_l.
66103 * sysdeps/multiarch/strcmp.S: Likewise.
66104
66105 2010-08-14 Ulrich Drepper <drepper@redhat.com>
66106
66107 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
66108 strncase_l-nonascii.
66109 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
66110 Add strncase_l-ssse3.
66111 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
66112 * sysdeps/x86_64/strcmp.S: Likewise.
66113 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
66114 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
66115 * sysdeps/x86_64/strncase.S: New file.
66116 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
66117 * sysdeps/x86_64/strncase_l.S: New file.
66118 * string/Makefile (strop-tests): Add strncasecmp.
66119 * string/test-strncasecmp.c: New file.
66120
66121 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
66122 warning.
66123
66124 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
66125 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
66126
66127 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
66128
66129 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
66130
66131 2010-08-12 Ulrich Drepper <drepper@redhat.com>
66132
66133 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
66134 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
66135 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
66136
66137 2010-05-01 Alan Modra <amodra@gmail.com>
66138
66139 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
66140 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
66141 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
66142 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
66143 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
66144 tidying. Don't tail-call __sigjmp_save for static lib.
66145 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
66146 save location.
66147 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
66148 (CALL_MCOUNT): Add eh info, and nop after bl.
66149 (TAIL_CALL_SYSCALL_ERROR): New macro.
66150 (PSEUDO_RET): Use it.
66151 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
66152 Correct save location of integer regs and cr.
66153 (_dl_profile_resolve): Correct cr save location. Delete nops
66154 after bl when SHARED. Reduce cfi size a little by better
66155 placement of cfi directives.
66156 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
66157 make a stack frame. Instead use parm save area as a temp.
66158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
66159 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
66160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
66161 Don't make a stack frame for parent, use parm save area.
66162 Increase child stack frame to 112 bytes. Don't save unused reg,
66163 and adjust reg usage. Set up cfi on error recovery and
66164 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
66165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
66166 (__makecontext): Add dummy nop after jump to exit.
66167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
66168 Use correct parm save area and cr save, reduce stack frame.
66169 Correct cfi for possible PSEUDO_RET frame setup.
66170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
66171 Branch to local label emitted by PSEUDO_RET rather than
66172 __syscall_error.
66173
66174 2010-08-12 Andreas Schwab <schwab@redhat.com>
66175
66176 [BZ #11904]
66177 * locale/programs/locale.c (print_assignment): New function.
66178 (show_locale_vars): Use it.
66179
66180 2010-08-11 Ulrich Drepper <drepper@redhat.com>
66181
66182 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
66183 field.
66184 (struct statfs64): Likewise.
66185 (_STATFS_F_FLAGS): Define.
66186 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
66187 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
66188 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
66189 (ST_VALID): Define locally.
66190 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
66191 __statvfs_getflags, use the provided value.
66192 * sysdeps/unix/sysv/linux/kernel-features.h: Define
66193 __ASSUME_STATFS_F_FLAGS.
66194
66195 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
66196
66197 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
66198 Add sys/fanotify.h.
66199 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
66200 fanotify_mask for GLIBC_2.13.
66201 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
66202 fanotify_init and fanotify_mark.
66203 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
66204 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
66205
66206 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
66207 Add prlimit.
66208 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
66209 prlimit64 for GLIBC_2.13.
66210 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
66211 prlimit64.
66212 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
66213 syscall.
66214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
66215 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
66216 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
66217 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
66218 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
66219 add prlimit alias.
66220 * sysdeps/unix/sysv/linux/prlimit.c: New file.
66221
66222 [BZ #11903]
66223 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
66224 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
66225
66226 * nss/Makefile: Add rules to build and run tst-nss-test1.
66227 * shlib-versions: Add entry for libnss_test1.
66228 * nss/nss_test1.c: New file.
66229 * nss/tst-nss-test1.c: New file.
66230
66231 * nss/nsswitch.c (__nss_database_custom): Define new variable.
66232 (__nss_configure_lookup): Set appropriate entry in
66233 __nss_configure_lookup to true.
66234 * nss/nsswitch.h: Define enum with indeces of databases in
66235 databases and __nss_database_custom arrays. Declare
66236 __nss_database_custom.
66237 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
66238 to avoid using nscd when custom rules are installed.
66239 * nss/getXXbyYY_r.c: Likewise.
66240 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
66241
66242 * nss/nss_files/files-parse.c: Whitespace fixes.
66243
66244 2010-08-09 Ulrich Drepper <drepper@redhat.com>
66245
66246 [BZ #11883]
66247 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
66248 * posix/fnmatch_loop.c: Likewise.
66249
66250 2010-07-17 Andi Kleen <ak@linux.intel.com>
66251
66252 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
66253 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
66254 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
66255 * Versions.def [GLIBC_2.13]: Add.
66256
66257 2010-08-06 Ulrich Drepper <drepper@redhat.com>
66258
66259 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
66260 Also fail if tpwd after pwuid call is NULL.
66261
66262 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
66263
66264 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
66265 when converting to ms.
66266
66267 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
66268
66269 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
66270 EOPNOTSUPP errors with ENOTTY.
66271 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
66272 EOPNOTSUPP errors with ENOTTY.
66273
66274 2010-07-31 Ulrich Drepper <drepper@redhat.com>
66275
66276 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
66277 Add strcasecmp_l-ssse3.
66278 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
66279 strcasecmp.
66280 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
66281 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
66282 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
66283
66284 2010-07-30 Ulrich Drepper <drepper@redhat.com>
66285
66286 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
66287
66288 * string/Makefile (strop-tests): Add strcasecmp.
66289 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
66290 strcasecmp_l-nonascii.
66291 (gen-as-const-headers): Add locale-defines.sym.
66292 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
66293 * sysdeps/x86_64/strcasecmp.S: New file.
66294 * sysdeps/x86_64/strcasecmp_l.S: New file.
66295 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
66296 * sysdeps/x86_64/locale-defines.sym: New file.
66297 * string/test-strcasecmp.c: New file.
66298
66299 * string/test-strcasestr.c: Test both ends of the range of characters.
66300 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
66301
66302 2010-07-29 Roland McGrath <roland@redhat.com>
66303
66304 [BZ #11856]
66305 * manual/locale.texi (Yes-or-No Questions): Fix example code.
66306
66307 2010-07-27 Ulrich Drepper <drepper@redhat.com>
66308
66309 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
66310 for ld.so.
66311
66312 2010-07-27 Andreas Schwab <schwab@redhat.com>
66313
66314 * manual/memory.texi (Malloc Tunable Parameters): Document
66315 M_PERTURB.
66316
66317 2010-07-26 Roland McGrath <roland@redhat.com>
66318
66319 [BZ #11840]
66320 * configure.in (-fgnu89-inline check): Set and substitute
66321 gnu89_inline, not libc_cv_gnu89_inline.
66322 * configure: Regenerated.
66323 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
66324
66325 2010-07-26 Ulrich Drepper <drepper@redhat.com>
66326
66327 * string/test-strnlen.c: New file.
66328 * string/Makefile (strop-tests): Add strnlen.
66329 * string/tester.c (test_strnlen): Add a few more test cases.
66330 * string/tst-strlen.c: Better error reporting.
66331
66332 * sysdeps/x86_64/strnlen.S: New file.
66333
66334 2010-07-24 Ulrich Drepper <drepper@redhat.com>
66335
66336 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
66337 lower-latency instructions.
66338
66339 2010-07-23 Ulrich Drepper <drepper@redhat.com>
66340
66341 * string/test-strcasestr.c: New file.
66342 * string/test-strstr.c: New file.
66343 * string/Makefile (strop-tests): Add strstr and strcasestr.
66344 * string/str-two-way.h: Don't undefine MAX.
66345 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
66346
66347 2010-07-21 Andreas Schwab <schwab@redhat.com>
66348
66349 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
66350 strcasestr-nonascii.
66351 (CFLAGS-strcasestr-nonascii.c): Define.
66352 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
66353 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
66354 Remove unused attribute.
66355
66356 2010-07-20 Roland McGrath <roland@redhat.com>
66357
66358 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
66359 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
66360 ld.so.cache was broken. With it, there is no way to disable dsocaps
66361 like LD_HWCAP_MASK can disable hwcaps.
66362
66363 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
66364
66365 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
66366
66367 2010-07-16 Ulrich Drepper <drepper@redhat.com>
66368
66369 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
66370 call in strcasestr.
66371 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
66372 __strcasestr_sse42_nonascii.
66373 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
66374 strcasestr-nonascii.c.
66375 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
66376
66377 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
66378
66379 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
66380 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
66381 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
66382 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
66383
66384 2010-07-09 Ulrich Drepper <drepper@redhat.com>
66385
66386 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
66387 fcntl.
66388
66389 2010-07-06 Andreas Schwab <schwab@redhat.com>
66390
66391 [BZ #11577]
66392 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
66393 dl_signal_cerror.
66394
66395 2010-07-06 Ulrich Drepper <drepper@redhat.com>
66396
66397 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
66398 _PC_PIPE_BUF using F_GETPIPE_SZ.
66399
66400 2010-07-05 Roland McGrath <roland@redhat.com>
66401
66402 * manual/arith.texi (Rounding Functions): Fix rint description
66403 implicit in round description.
66404
66405 2010-07-02 Ulrich Drepper <drepper@redhat.com>
66406
66407 * elf/Makefile: Fix linking for a few tests to make recent linker
66408 happy.
66409
66410 2010-06-30 Andreas Schwab <schwab@redhat.com>
66411
66412 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
66413 $(common-objpfx)libc_nonshared.a.
66414
66415 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
66416
66417 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
66418 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
66419 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
66420 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
66421 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
66422 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
66423 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
66424 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
66425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
66426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
66427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
66428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
66429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
66430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
66431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
66432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
66433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
66434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
66435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
66436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
66437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
66438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
66439 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
66440 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
66441 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
66442 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
66443 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
66444 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
66445 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
66446 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
66447 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
66448 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
66449 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
66450 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
66451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
66452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
66453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
66454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
66455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
66456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
66457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
66458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
66459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
66460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
66461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
66462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
66463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
66464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
66465
66466 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
66467
66468 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
66469 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
66470 * string/memmove.c (memmove): Renamed to ...
66471 (MEMMOVE): ...this. Default to memmove.
66472 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
66473 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
66474 (END_CHK): Define.
66475 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
66476 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
66477 mempcpy-ssse3-back memmove-ssse3-back.
66478 * sysdeps/x86_64/multiarch/bcopy.S: New file .
66479 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
66480 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
66481 * sysdeps/x86_64/multiarch/memcpy.S: New file.
66482 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
66483 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
66484 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
66485 * sysdeps/x86_64/multiarch/memmove.c: New file.
66486 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
66487 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
66488 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
66489 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
66490 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
66491 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
66492 Define.
66493 (index_Fast_Copy_Backward): Define.
66494 (HAS_ARCH_FEATURE): Define.
66495 (HAS_FAST_REP_STRING): Define.
66496 (HAS_FAST_COPY_BACKWARD): Define.
66497
66498 2010-06-21 Andreas Schwab <schwab@redhat.com>
66499
66500 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
66501 Restore proper fallback handling.
66502
66503 2010-06-19 Ulrich Drepper <drepper@redhat.com>
66504
66505 [BZ #11701]
66506 * posix/group_member.c (__group_member): Correct checking loop.
66507
66508 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
66509 OOM in getpwuid_r correctly. Return error number when the caller
66510 should return, otherwise -1.
66511 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
66512 call returning > 0 value.
66513 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
66514
66515 2010-06-07 Andreas Schwab <schwab@redhat.com>
66516
66517 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
66518 libc_nonshared.a from targets in modules-names.
66519
66520 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
66521
66522 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
66523 requires it.
66524
66525 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
66526
66527 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
66528 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
66529 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
66530 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
66531
66532 2010-06-02 Andreas Schwab <schwab@redhat.com>
66533
66534 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
66535
66536 2010-06-14 Ulrich Drepper <drepper@redhat.com>
66537
66538 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
66539 and F_GETPIPE_SZ.
66540 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
66541 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
66542 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
66543 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
66544 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
66545 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
66546
66547 2010-06-14 Roland McGrath <roland@redhat.com>
66548
66549 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
66550
66551 2010-06-07 Jakub Jelinek <jakub@redhat.com>
66552
66553 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
66554 __REDIRECT followed by __THROW.
66555 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
66556 * posix/getopt.h (getopt): Likewise.
66557
66558 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
66559
66560 * hurd/lookup-at.c (__file_name_lookup_at): Accept
66561 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
66562 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
66563 in AT_FLAGS.
66564 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
66565 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
66566
66567 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
66568
66569 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
66570
66571 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
66572
66573 [BZ #11640]
66574 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
66575 Properly check family and model.
66576
66577 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
66578
66579 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
66580
66581 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
66582
66583 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
66584
66585 2010-05-21 Ulrich Drepper <drepper@redhat.com>
66586
66587 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
66588 symbol reference.
66589
66590 2010-05-19 Andreas Schwab <schwab@redhat.com>
66591
66592 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
66593 symbol reference.
66594
66595 2010-05-21 Andreas Schwab <schwab@redhat.com>
66596
66597 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
66598 and internal_recvmmsg.
66599 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
66600 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
66601 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
66602 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
66603
66604 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
66605 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
66606 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
66607
66608 2010-05-20 Andreas Schwab <schwab@redhat.com>
66609
66610 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
66611
66612 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
66613
66614 POWER7 optimizations.
66615 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
66616 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
66617
66618 2010-05-19 Ulrich Drepper <drepper@redhat.com>
66619
66620 * version.h: Update for 2.13 development version.
66621
66622 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
66623
66624 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
66625 exceptions. Return 0.
66626
66627 2010-05-07 Roland McGrath <roland@redhat.com>
66628
66629 * elf/ldconfig.c (main): Add a const.
66630
66631 2010-05-06 Ulrich Drepper <drepper@redhat.com>
66632
66633 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
66634 (args_options): Add no-idn option.
66635 (ahosts_keys_int): Add idn_flags to ai_flags.
66636 (parse_option): Handle 'i' option to clear idn_flags.
66637
66638 * malloc/malloc.c (_int_free): Possible race in the most recently
66639 added check. Only act on the data if no current modification
66640 happened.
66641
66642 See ChangeLog.17 for earlier changes.