]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
Fix ldbl-128ibm log1pl (-1) sign of infinity (bug 19076).
[thirdparty/glibc.git] / ChangeLog
1 2015-10-06 Joseph Myers <joseph@codesourcery.com>
2
3 [BZ #19076]
4 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
5 constant 0.0L when computing infinite result.
6
7 2015-10-06 Florian Weimer <fweimer@redhat.com>
8
9 [BZ #10432]
10 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
11 malloc_usable_size.
12
13 2015-10-06 Florian Weimer <fweimer@redhat.com>
14
15 [BZ #19018]
16 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
17 Mangle function pointer before storing it.
18 (__call_tls_dtors): Demangle function pointer before calling it.
19
20 2015-10-05 Paul Pluzhnikov <ppluzhnikov@google.com>
21
22 [BZ #19012]
23 * iconv/gconv_db.c (gen_steps): Check for additional errors.
24 Clean up on failure.
25
26 2015-10-05 Joseph Myers <joseph@codesourcery.com>
27
28 [BZ #19071]
29 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
30 long int variable to store possibly incremented high part of
31 mantissa.
32 * math/libm-test.inc (lround_test_data): Add tests used for
33 llround. Use [LONG_MAX > 0x7fffffff] consistently as condition
34 for tests requiring 64-bit long. Do not condition tests on
35 [TEST_FLOAT] unnecessarily.
36 (llround_test_data): Add tests used for lround. Add another
37 expectation for the "inexact" exception. Do not condition tests
38 on [TEST_FLOAT] unnecessarily.
39
40 [BZ #887]
41 [BZ #19049]
42 [BZ #19050]
43 * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
44 * sysdeps/ieee754/dbl-64/e_log10.c: Include
45 <fix-int-fp-convert-zero.h>.
46 (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
47 * sysdeps/ieee754/dbl-64/e_log2.c: Include
48 <fix-int-fp-convert-zero.h>.
49 (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
50 * sysdeps/ieee754/dbl-64/s_erf.c: Include
51 <fix-int-fp-convert-zero.h>.
52 (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
53 * sysdeps/ieee754/dbl-64/s_logb.c: Include
54 <fix-int-fp-convert-zero.h>.
55 (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
56 * sysdeps/ieee754/flt-32/e_log10f.c: Include
57 <fix-int-fp-convert-zero.h>.
58 (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
59 * sysdeps/ieee754/flt-32/e_log2f.c: Include
60 <fix-int-fp-convert-zero.h>.
61 (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
62 * sysdeps/ieee754/flt-32/s_erff.c: Include
63 <fix-int-fp-convert-zero.h>.
64 (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
65 * sysdeps/ieee754/flt-32/s_logbf.c: Include
66 <fix-int-fp-convert-zero.h>.
67 (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
68 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
69 <fix-int-fp-convert-zero.h>.
70 (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
71 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
72 <fix-int-fp-convert-zero.h>.
73 (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
74 * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
75 * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
76 * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
77 file.
78 * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
79
80 2015-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
81
82 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
83
84 2015-10-02 Joseph Myers <joseph@codesourcery.com>
85
86 [BZ #19059]
87 * math/s_nexttowardf.c (__nexttowardf): Do not return value from
88 overflowing computation.
89 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
90 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
91 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
92 Likewise.
93 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
94 Likewise.
95 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
96 Likewise.
97 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
98 Likewise.
99 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
100 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
101 Likewise.
102 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
103 Likewise.
104 * math/libm-test.inc (nexttoward_test_data): Add more tests.
105
106 * nss/rewrite_field.c (__nss_rewrite_field): Use
107 internal_function.
108 * nss/valid_field.c (__nss_valid_field): Likewise.
109 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
110
111 2015-10-02 Florian Weimer <fweimer@redhat.com>
112
113 [BZ #18724]
114 * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
115 (__nss_invalid_field_characters, __nss_valid_field)
116 (__nss_valid_list_field, __nss_rewrite_field): Declare.
117 * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
118 tst-field.c: New file.
119 * nss/Makefile (routines): Add valid_field, rewrite_field.
120 (tests-static): Define unconditionally.
121 (tests): Include tests-static.
122 [build-static-nss] (tests-static): Use append.
123 [build-static-nss] (tests): Remove modification.
124 * nss/getent.c (print_group): Call putgrent. Report error.
125 (print_gshadow): Call putsgent. Report error.
126 (print_passwd): Call putpwent. Report error.
127 (print_shadow): Call putspent. Report error.
128 * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
129 * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
130 * pwd/putpwent.c (putpwent): Use ISO function definition. Check
131 name, password, directory, shell fields for valid syntax. Rewrite
132 GECOS field to match syntax.
133 * pwd/Makefile (tests): Add tst-putpwent.
134 * pwd/tst-putpwent.c: New file.
135 * grp/putgrent.c (putgrent): Convert to ISO function definition.
136 Check grName, grpasswd, gr_mem fields for valid syntax.
137 Change loop variable i to size_t.
138 * grp/Makefile (tests): Add tst-putgrent.
139 * grp/tst-putgrent.c: New file.
140 * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
141 valid syntax.
142 * shadow/Makefile (tests): Add tst-putspent.
143 * shadow/tst-putspent.c: New file.
144 * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
145 sg_mem fields for valid syntax.
146 * gshadow/Makefile (tests): Add tst-putsgent.
147 * gshadow/tst-putsgent.c: New file.
148
149 2015-10-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
150
151 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
152 assembly instructions.
153
154 2015-10-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
155
156 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
157 prefix from operands.
158
159 2015-10-01 Joseph Myers <joseph@codesourcery.com>
160
161 [BZ #16347]
162 [BZ #19046]
163 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
164 <libc-internal.h>.
165 (MAXLGM): Do not use diagnostic control macros.
166 [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
167 threshold for ldbl-128ibm.
168 (__ieee754_lgammal_r): For large arguments, multiply by log - 1
169 instead of multiplying by log then subtracting.
170 * math/auto-libm-test-in: Add more tests of lgamma.
171 * math/auto-libm-test-out: Regenerated.
172
173 * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
174 (TYPE_HEX_DIG): Likewise.
175 (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
176 precisions when printing floating-point numbers.
177 (check_float_internal): Likewise.
178
179 2015-09-30 Joseph Myers <joseph@codesourcery.com>
180
181 [BZ #16620]
182 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
183 of log (10) rounded downward to 48 bits.
184 (log10_low): Use corresponding low part of log (10).
185
186 [BZ #19032]
187 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
188 compute result as (x - x) / (x - x) not as 0 / 0.
189 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
190 * math/libm-test.inc (acosh_test_data): Add another test of acosh.
191
192 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
193 atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
194 and expm1.
195 * math/auto-libm-test-out: Regenerated.
196 * math/libm-test.inc (acos_test_data): Add more tests.
197 (asin_test_data): Likewise.
198 (asinh_test_data): Likewise.
199 (atan_test_data): Likewise.
200 (atanh_test_data): Likewise.
201 (atan2_test_data): Likewise.
202 (cbrt_test_data): Likewise.
203 (ceil_test_data): Likewise.
204 (copysign_test_data): Likewise.
205 (cos_test_data): Likewise.
206 (cosh_test_data): Likewise.
207 (erf_test_data): Likewise.
208 (erfc_test_data): Likewise.
209 (exp_test_data): Likewise.
210 (exp10_test_data): Likewise.
211 (exp2_test_data): Likewise.
212 (expm1_test_data): Likewise.
213 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
214
215 2015-09-30 H.J. Lu <hongjiu.lu@intel.com>
216
217 [BZ #19006]
218 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
219 to ...
220 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
221 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
222 to ...
223 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
224 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
225 to ...
226 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
227 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
228 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
229 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
230 to ...
231 * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
232 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
233 Moved to ...
234 * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
235 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
236 Moved to ...
237 * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
238 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
239 to ...
240 * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
241 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
242 Moved to ...
243 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
244 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
245 to ...
246 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
247 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
248 Removed.
249 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
250 Likewise.
251 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
252 Likewise.
253 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
254 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
255 Likewise.
256 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
257 Likewise.
258 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
259 Likewise.
260 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
261 Likewise.
262 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
263 Likewise.
264 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
265 Likewise.
266 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
267 Likewise.
268 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
269 Likewise.
270 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
271 Likewise.
272 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
273 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
274 Likewise.
275 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
276 Likewise.
277 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
278 Likewise.
279 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
280 Likewise.
281 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
282 Likewise.
283 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
284 Replace ../i486/pthread_cond_timedwait.S with
285 ../pthread_cond_timedwait.S.
286
287 2015-09-30 Joseph Myers <joseph@codesourcery.com>
288
289 * math/libm-test.inc (acos_test_data): Refine expectations for
290 errno and "inexact" exceptions.
291 (acosh_test_data): Likewise.
292 (asin_test_data): Likewise.
293 (asinh_test_data): Likewise.
294 (atan_test_data): Likewise.
295 (atanh_test_data): Likewise.
296 (atan2_test_data): Likewise.
297 (cbrt_test_data): Likewise.
298 (ceil_test_data): Likewise.
299 (copysign_test_data): Likewise.
300 (cosh_test_data): Likewise.
301 (erf_test_data): Likewise.
302 (erfc_test_data): Likewise.
303 (exp_test_data): Likewise.
304 (exp10_test_data): Likewise.
305 (exp2_test_data): Likewise.
306 (expm1_test_data): Likewise.
307 (fabs_test_data): Likewise.
308 (floor_test_data): Likewise.
309 (fma_test_data): Likewise.
310 (fmax_test_data): Likewise.
311 (fmin_test_data): Likewise.
312 (fmod_test_data): Likewise.
313 (fpclassify_test_data): Likewise.
314 (frexp_test_data): Likewise.
315 (hypot_test_data): Likewise.
316 (ilogb_test_data): Likewise.
317 (isgreater_test_data): Likewise.
318 (isgreaterequal_test_data): Likewise.
319 (isinf_test_data): Likewise.
320 (isless_test_data): Likewise.
321 (islessequal_test_data): Likewise.
322 (islessgreater_test_data): Likewise.
323 (isnan_test_data): Likewise.
324 (isnormal_test_data): Likewise.
325 (issignaling_test_data): Likewise.
326 (isunordered_test_data): Likewise.
327 (j0_test_data): Likewise.
328 (j1_test_data): Likewise.
329 (jn_test_data): Likewise.
330 (lgamma_test_data): Likewise.
331 (lrint_test_data): Likewise.
332 (llrint_test_data): Likewise.
333 (log_test_data): Likewise.
334 (log10_test_data): Likewise.
335 (log1p_test_data): Likewise.
336 (log2_test_data): Likewise.
337 (logb_test_data): Likewise.
338 (lround_test_data): Likewise.
339 (llround_test_data): Likewise.
340 (modf_test_data): Likewise.
341 (nearbyint_test_data): Likewise.
342 (nextafter_test_data): Likewise.
343 (nexttoward_test_data): Likewise.
344 (pow_test_data): Likewise.
345 (remainder_test_data): Likewise.
346 (remquo_test_data): Likewise.
347 (rint_test_data): Likewise.
348 (round_test_data): Likewise.
349 (signbit_test_data): Likewise.
350 (sinh_test_data): Likewise.
351 (sqrt_test_data): Likewise.
352 (tanh_test_data): Likewise.
353 (tgamma_test_data): Likewise.
354 (trunc_test_data): Likewise.
355 (y0_test_data): Likewise.
356 (y1_test_data): Likewise.
357 (yn_test_data): Likewise.
358 (significand_test_data): Likewise.
359
360 2015-09-29 Carlos O'Donell <carlos@redhat.com>
361
362 * manual/filesys.texi (Storage Allocation): Document that
363 posix_fallocate emulation fails when fd is open with O_WRONLY.
364
365 2015-09-28 Joseph Myers <joseph@codesourcery.com>
366
367 [BZ #19016]
368 * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
369 allow more cases with X^2 + Y^2 >= 0.5.
370 * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise. Add -1 as
371 normal element in sum instead of special-casing based on values of
372 arguments.
373 * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
374 * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise. Add
375 -1 as normal element in sum instead of special-casing based on
376 values of arguments.
377 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
378 * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
379 (__x2y2m1): Update comment.
380 * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise. Add -1
381 as normal element in sum instead of special-casing based on values
382 of arguments.
383 * math/s_clog.c (__clog): Handle more cases using log1p without
384 hypot.
385 * math/s_clog10.c (__clog10): Likewise.
386 * math/s_clog10f.c (__clog10f): Likewise.
387 * math/s_clog10l.c (__clog10l): Likewise.
388 * math/s_clogf.c (__clogf): Likewise.
389 * math/s_clogl.c (__clogl): Likewise.
390 * math/auto-libm-test-in: Add more tests of clog and clog10.
391 * math/auto-libm-test-out: Regenerated.
392 * sysdeps/i386/fpu/libm-test-ulps: Update.
393 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
394
395 2015-09-28 Martin Sebor <msebor@redhat.com>
396
397 [BZ #18969]
398 * string/Makefile (LOCALES): Define.
399 (gen-locales.mk): Include.
400 (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
401 (tst-strxfrm2.out): Add deppendency on $(gen-locales).
402 * string/tst-strxfrm2.c (do_test): Print the name of the locale
403 on setlocale failure.
404
405 2015-09-26 Paul Pluzhnikov <ppluzhnikov@google.com>
406
407 [BZ #18985]
408 * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
409 (__strftime_internal): Likewise.
410 * time/tst-strftime.c (do_bz18985): New test.
411 (do_test): Call it.
412
413 2015-09-26 Joseph Myers <joseph@codesourcery.com>
414
415 [BZ #18956]
416 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
417 not 0x0040000 for high bit of mantissa. Mask with 0xfffff000 when
418 extracting high part.
419 * math/auto-libm-test-in: Add another test of pow.
420 * math/auto-libm-test-out: Regenerated.
421 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
422
423 2015-09-25 Joseph Myers <joseph@codesourcery.com>
424
425 [BZ #18825]
426 * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
427 New macro.
428 (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
429 (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
430 * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
431 (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
432 DBL_NARROW_EVAL, reloading the PIC register as needed.
433 * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
434 (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
435 FLT_NARROW_EVAL. Use separate return path for case when first
436 argument is NaN.
437 * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>. Use
438 DEFINE_LDBL_MIN.
439 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
440 PIC register.
441 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
442 math_check_force_underflow_nonneg.
443 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
444 underflow for subnormal result.
445 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
446 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
447 math_check_force_underflow_nonneg.
448 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
449 math_check_force_underflow.
450 * sysdeps/x86_64/fpu/x86_64-math-asm.h
451 (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
452 * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>. Use
453 DEFINE_LDBL_MIN.
454 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
455 * math/auto-libm-test-in: Add more tests of pow.
456 * math/auto-libm-test-out: Regenerated.
457
458 2015-09-25 Florian Weimer <fweimer@redhat.com>
459
460 * nss/bug17079.c (init_test_items): Add diagnostic for
461 inconsistent entries.
462 (test_buffer_size): Skip inconsistent entries.
463
464 2015-09-25 Joseph Myers <joseph@codesourcery.com>
465
466 [BZ #13304]
467 * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
468 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
469 * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
470
471 [BZ #13304]
472 * sysdeps/microblaze/s_fma.c: New file.
473 * sysdeps/microblaze/s_fmaf.c: Likewise.
474 * sysdeps/microblaze/sfp-machine.h: Likewise.
475
476 2015-09-25 Maciej W. Rozycki <macro@imgtec.com>
477
478 [BZ #17250]
479 * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
480 member.
481
482 2015-09-24 Joseph Myers <joseph@codesourcery.com>
483
484 [BZ #18803]
485 * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
486 (MO): New macro.
487 (__ieee754_hypot) [PIC]: Load PIC register.
488 (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
489 DBL_NARROW_EVAL.
490 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
491 math_check_force_underflow_nonneg in case where result might be
492 tiny.
493 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
494 Likewise.
495 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
496 Likewise.
497 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
498 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
499 * math/auto-libm-test-in: Add more tests of hypot.
500 * math/auto-libm-test-out: Regenerated.
501
502 2015-09-24 Steve Ellcey <sellcey@imgtec.com>
503
504 * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
505
506 2015-09-24 Joseph Myers <joseph@codesourcery.com>
507
508 * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
509 * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
510 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
511 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
512 * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
513 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
514 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
515
516 * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
517 LOAD_PIC_REG.
518
519 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
520 (FLT_CHECK_FORCE_UFLOW): Likewise.
521 (DBL_CHECK_FORCE_UFLOW): Likewise.
522 (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
523 (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
524 (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
525 (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
526 (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
527 (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
528 (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
529 (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
530 * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
531 (dbl_min): Replace with use of DEFINE_DBL_MIN.
532 (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
533 * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
534 (flt_min): Replace with use of DEFINE_FLT_MIN.
535 (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
536 * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
537 (dbl_min): Replace with use of DEFINE_DBL_MIN.
538 (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
539 * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
540 (flt_min): Replace with use of DEFINE_FLT_MIN.
541 (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
542 * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
543 (dbl_min): Replace with use of DEFINE_DBL_MIN.
544 (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
545 * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
546 (flt_min): Replace with use of DEFINE_FLT_MIN.
547 (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
548 * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
549 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
550 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
551 * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
552 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
553 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
554 * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
555 (dbl_min): Replace with use of DEFINE_DBL_MIN.
556 (__atan): Use DBL_CHECK_FORCE_UFLOW.
557 * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
558 (flt_min): Replace with use of DEFINE_FLT_MIN.
559 (__atanf): Use FLT_CHECK_FORCE_UFLOW.
560 * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
561 (dbl_min): Replace with use of DEFINE_DBL_MIN.
562 (__expm1): Use DBL_CHECK_FORCE_UFLOW. Move underflow check after
563 main computation.
564 * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
565 (flt_min): Replace with use of DEFINE_FLT_MIN.
566 (__expm1f): Use FLT_CHECK_FORCE_UFLOW. Move underflow check after
567 main computation.
568 * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
569 (dbl_min): Replace with use of DEFINE_DBL_MIN.
570 (MO): New macro.
571 (__log1p): Use MO. Use DBL_CHECK_FORCE_UFLOW_NONNAN.
572 * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
573 (flt_min): Replace with use of DEFINE_FLT_MIN.
574 (MO): New macro.
575 (__log1pf): Use MO. Use FLT_CHECK_FORCE_UFLOW_NONNAN.
576 * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
577 (__log1pl): Use MO.
578
579 [BZ #19003]
580 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
581 $(config-cflags-nofma).
582
583 2015-09-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
584
585 * sysdeps/aarch64/libm-test-ulps: Regenerated.
586
587 2015-09-23 Joseph Myers <joseph@codesourcery.com>
588
589 * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
590 (TWO127): Likewise.
591
592 * sysdeps/generic/math_private.h (fabs_tg): New macro.
593 (min_of_type): Likewise.
594 (math_check_force_underflow): Likewise.
595 (math_check_force_underflow_nonneg): Likewise.
596 (math_check_force_underflow_complex): Likewise.
597 * math/e_exp2l.c (__ieee754_exp2l): Use
598 math_check_force_underflow_nonneg.
599 * math/k_casinh.c (__kernel_casinh): Likewise.
600 * math/k_casinhf.c (__kernel_casinhf): Likewise.
601 * math/k_casinhl.c (__kernel_casinhl): Likewise.
602 * math/s_catan.c (__catan): Use
603 math_check_force_underflow_complex.
604 * math/s_catanf.c (__catanf): Likewise.
605 * math/s_catanh.c (__catanh): Likewise.
606 * math/s_catanhf.c (__catanhf): Likewise.
607 * math/s_catanhl.c (__catanhl): Likewise.
608 * math/s_catanl.c (__catanl): Likewise.
609 * math/s_ccosh.c (__ccosh): Likewise.
610 * math/s_ccoshf.c (__ccoshf): Likewise.
611 * math/s_ccoshl.c (__ccoshl): Likewise.
612 * math/s_cexp.c (__cexp): Likewise.
613 * math/s_cexpf.c (__cexpf): Likewise.
614 * math/s_cexpl.c (__cexpl): Likewise.
615 * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
616 * math/s_clog10.c (__clog10): Likewise.
617 * math/s_clog10f.c (__clog10f): Likewise.
618 * math/s_clog10l.c (__clog10l): Likewise.
619 * math/s_clogf.c (__clogf): Likewise.
620 * math/s_clogl.c (__clogl): Likewise.
621 * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
622 * math/s_csinf.c (__csinf): Likewise.
623 * math/s_csinh.c (__csinh): Likewise.
624 * math/s_csinhf.c (__csinhf): Likewise.
625 * math/s_csinhl.c (__csinhl): Likewise.
626 * math/s_csinl.c (__csinl): Likewise.
627 * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
628 * math/s_csqrtf.c (__csqrtf): Likewise.
629 * math/s_csqrtl.c (__csqrtl): Likewise.
630 * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
631 * math/s_ctanf.c (__ctanf): Likewise.
632 * math/s_ctanh.c (__ctanh): Likewise.
633 * math/s_ctanhf.c (__ctanhf): Likewise.
634 * math/s_ctanhl.c (__ctanhl): Likewise.
635 * math/s_ctanl.c (__ctanl): Likewise.
636 * stdlib/strtod_l.c (round_and_return): Use math_force_eval
637 instead of volatile.
638 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
639 math_check_force_underflow.
640 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
641 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
642 volatile when forcing underflow.
643 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
644 math_check_force_underflow_nonneg.
645 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
646 Likewise.
647 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
648 math_check_force_underflow.
649 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
650 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
651 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
652 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
653 math_check_force_underflow_nonneg.
654 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
655 math_check_force_underflow.
656 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
657 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
658 instead of volatile.
659 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
660 math_check_force_underflow.
661 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
662 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
663 math_check_force_underflow_nonneg.
664 * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
665 math_check_force_underflow.
666 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
667 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
668 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
669 math_check_force_underflow_nonneg.
670 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
671 Likewise.
672 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
673 math_check_force_underflow.
674 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
675 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
676 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
677 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
678 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
679 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
680 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
681 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
682 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
683 * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
684 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
685 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
686 Likewise.
687 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
688 math_check_force_underflow_nonneg.
689 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
690 Likewise.
691 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
692 math_check_force_underflow.
693 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
694 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
695 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
696 Likewise.
697 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
698 * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
699 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
700 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
701 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
702 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
703 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
704 instead of volatile.
705 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
706 math_check_force_underflow.
707 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
708 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
709 math_check_force_underflow.
710 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
711 Likewise.
712 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
713 Use math_check_force_underflow_nonneg.
714 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
715 math_check_force_underflow.
716 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
717 Likewise.
718 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
719 Likewise.
720 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
721 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
722 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
723 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
724 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
725 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
726 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
727 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
728 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
729 math_check_force_underflow_nonneg.
730 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
731 math_check_force_underflow.
732 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
733 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
734 * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
735 * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
736 math_check_force_underflow_nonneg.
737 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
738 math_check_force_underflow.
739 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
740 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
741 instead of volatile.
742 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
743 math_check_force_underflow.
744
745 * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
746 * stdlib/strtod_l.c: Include <math_private.h>.
747 (overflow_value): Use math_narrow_eval.
748 (underflow_value): Likewise.
749 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
750 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
751 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
752 (__ieee754_gamma_r): Likewise.
753 * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
754 Likewise.
755 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
756 Likewise.
757 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
758 * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
759 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
760 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
761 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
762 (__ieee754_gammaf_r): Likewise.
763 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
764 Likewise.
765 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
766 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
767 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
768 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
769 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
770 volatile.
771 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
772 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
773 math_narrow_eval.
774 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
775 Likewise.
776 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
777 Likewise.
778 * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
779 Likewise.
780 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
781 volatile.
782 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
783 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
784 math_narrow_eval.
785 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
786 Likewise.
787 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
788 Likewise.
789
790 2015-09-22 H.J. Lu <hongjiu.lu@intel.com>
791
792 * nptl/Versions: Remove ignored symbols.
793
794 2015-09-22 Florian Weimer <fweimer@redhat.com>
795
796 * nss/bug17079.c: Renamed from nss/bug18287.c. Add description.
797 * nss/Makefile (tests): Update.
798
799 2015-09-22 Florian Weimer <fweimer@redhat.com>
800
801 * nss/bug18287.c: New file.
802 * nss/Makefile (tests): Add bug18287.
803
804 2015-09-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
805
806 * mach/Versions (__mach_host_self_): Add symbol.
807
808 2015-09-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
809
810 * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
811 vm_page_size.
812
813 2015-09-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
814
815 Really fix sysdeps/i386/fpu/s_scalbn.S build
816
817 * math/Versions (libc: GLIBC_2_20): New (empty) version set.
818 (libc: GLIBC_2_22): Remove unused version set.
819
820 2015-09-18 Mike Frysinger <vapier@gentoo.org>
821
822 * config.make.in (enable-timezone-tools): New variable.
823 * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
824 (enable_timezone_tools): Export to generated files.
825 * configure: Regenerate.
826 * INSTALL: Regenerate.
827 * manual/install.texi (--disable-timezone-tools): Document new flag.
828 * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
829 ifeq ($(enable-timezone-tools),yes) check.
830
831 2015-09-18 Joseph Myers <joseph@codesourcery.com>
832
833 * timezone/Makefile: Revert previous change.
834
835 [BZ #18980]
836 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
837 (DEFINE_DBL_MIN): Likewise.
838 (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
839 (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
840 (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
841 (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
842 * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
843 (dbl_min): Replace with use of DEFINE_DBL_MIN.
844 (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
845 (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
846 * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
847 (dbl_min): Replace with use of DEFINE_DBL_MIN.
848 (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
849 * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
850 (flt_min): Replace with use of DEFINE_FLT_MIN.
851 (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
852 * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
853 (dbl_min): Replace with use of DEFINE_DBL_MIN.
854 (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
855 * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
856 (flt_min): Replace with use of DEFINE_FLT_MIN.
857 (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
858 * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
859 (flt_min): Replace with use of DEFINE_FLT_MIN.
860 (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
861 (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
862 * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
863 (__ieee754_hypot): Use DBL_NARROW_EVAL.
864 * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
865 (__ieee754_hypotf): Use FLT_NARROW_EVAL.
866 * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
867 (__ieee754_pow): Use DBL_NARROW_EVAL.
868 * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
869 (__ieee754_powf): Use FLT_NARROW_EVAL.
870 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
871 (__ieee754_expf_sse2): Convert double-precision result to single
872 precision.
873 * sysdeps/i386/fpu/libm-test-ulps: Update.
874
875 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
876
877 * timezone/Makefile: Ignore unused variable errors due to private.h
878 (time_t_min) and (time_t_max).
879 * timezone/private.h (time_t_min): Revert removal. (time_t_max):
880 Likewise.
881
882 2015-09-18 Joseph Myers <joseph@codesourcery.com>
883
884 [BZ #18981]
885 * sysdeps/i386/fpu/i386-math-asm.h: New file.
886 * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
887 (__ieee754_scalb): Use DBL_NARROW_EVAL.
888 * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
889 (__ieee754_scalbf): Use FLT_NARROW_EVAL.
890 * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
891 (__scalbn): Use DBL_NARROW_EVAL.
892 * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
893 (__scalbnf): Use FLT_NARROW_EVAL.
894
895 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
896
897 * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
898 * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
899 * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
900 * stdio-common/printf_fp.c (___printf_fp):
901 Use signbit to get the sign. Use isinf macro to allow inlining.
902 * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
903 * stdio-common/printf_size.c (__printf_size): Likewise.
904
905 2015-09-18 Mike Frysinger <vapier@gentoo.org>
906
907 * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
908
909 2015-09-18 Joseph Myers <joseph@codesourcery.com>
910
911 [BZ #18980]
912 * sysdeps/generic/math_private.h: Include <float.h>.
913 (math_narrow_eval): New macro.
914 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
915 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
916 math_narrow_eval on overflowing return value.
917 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
918 Likewise.
919 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
920 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
921 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
922 Likewise.
923 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
924
925 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
926
927 * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
928 * math/Makefile: Remove isinf_ns.c.
929 * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
930 * math/multc3.c (__multc3): Likewise.
931 * math/s_casin.c (__casin): Likewise.
932 * math/s_casinf.c (__casinf): Likewise.
933 * math/s_casinl.c (__casinl): Likewise.
934 * math/s_cproj.c (__cproj): Likewise.
935 * math/s_cprojf.c (__cprojf): Likewise.
936 * math/s_cprojl.c (__cprofl): Likewise.
937 * math/s_ctan.c (__ctan): Likewise.
938 * math/s_ctanf.c (__ctanf): Likewise.
939 * math/s_ctanh.c (__ctanh): Likewise.
940 * math/s_ctanhf.c (__ctanhf): Likewise.
941 * math/s_ctanhl.c (__ctanhl): Likewise.
942 * math/s_ctanl.c (__ctanl): Likewise.
943 * math/w_fmod.c (__fmod): Likewise.
944 * math/w_fmodf.c (__fmodf): Likewise.
945 * math/w_fmodl.c (_fmodl): Likewise.
946 * math/w_remainder.c (__remainder): Likewise.
947 * math/w_remainderf.c (__remainderf): Likewise.
948 * math/w_remainderl.c (__remainderl): Likewise.
949 * math/w_scalb.c (__scalb): Likewise.
950 * math/w_scalbf.c (__scalbf): Likewise.
951 * math/w_scalbl.c (__scalbl): Likewise.
952 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
953 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
954 with isinf.
955 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
956 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
957 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
958 __isinf_nsf with isinf.
959 * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
960 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
961 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
962 * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
963 with isinf.
964 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
965 __isinf_nsl with isinf.
966 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
967 with isinf.
968 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
969 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
970 __isinf_nsl with isinf.
971 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
972 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
973 with isinf.
974
975 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
976
977 * resolv/base64.c (rcsid): Remove unused static.
978 * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
979 static. (tqpi1): Likewise.
980 * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
981 * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
982 * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
983 * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
984 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
985 * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
986 * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
987 * timezone/private.h (time_t_min): Likewise. (time_t_max):
988 Likewise.
989
990 2015-09-18 H.J. Lu <hongjiu.lu@intel.com>
991
992 * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
993 <nptl/pthreadP.h>.
994 (_longjmp_unwind): Use __libc_ptf_call.
995 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
996
997 2015-09-18 David Lamparter <equinox-gentoo@diac24.net>
998
999 * sysdeps/arm/setjmp.S: Change PIC to SHARED.
1000 * sysdeps/arm/__longjmp.S: Likewise
1001
1002 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
1003
1004 * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
1005 Use __builtin_signbit.
1006 * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
1007 Use __builtin_signbitf.
1008 * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
1009 Use __builtin_signbitl.
1010 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
1011 * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
1012
1013 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
1014
1015 [BZ #15367]
1016 [BZ #17441]
1017
1018 * math/Makefile: Build test-snan.c with -fsignaling-nans.
1019 * math/math.h (fpclassify): Use __builtin_fpclassify when
1020 available. (signbit): Use __builtin_signbit(f/l).
1021 (isfinite): Use__builtin_isfinite. (isnormal): Use
1022 __builtin_isnormal. (isnan): Use __builtin_isnan.
1023 (isinf): Use __builtin_isinf_sign.
1024
1025 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
1026
1027 * benchtests/Makefile: Add bench-math-inlines, link with libm.
1028 * benchtests/bench-math-inlines.c: New benchmark.
1029 * benchtests/bench-util.h: New file.
1030 * benchtests/bench-util.c: New file.
1031 * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
1032
1033 2015-09-18 Carlos O'Donell <carlos@redhat.com>
1034
1035 * elf/tst-dlmopen1.c: Define TEST_SO.
1036 (do_test): Use TEST_SO.
1037
1038 * elf/dl-load.c: Include libc-internal.h.
1039 (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
1040
1041 2015-09-18 Vincent Bernat <vincent@bernat.im>
1042
1043 [BZ #17887]
1044 * time/strptime_l.c (__strptime_internal): Make %z accept
1045 [+-]HH:MM time zones.
1046
1047 2015-09-18 Vincent Bernat <vincent@bernat.im>
1048
1049 [BZ #17886]
1050 * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
1051 valid time zone.
1052
1053 2015-09-17 Mike Frysinger <vapier@gentoo.org>
1054
1055 * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
1056 * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
1057 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1058 (__ASSUME_FDATASYNC): Delete.
1059
1060 2015-09-17 Joseph Myers <joseph@codesourcery.com>
1061
1062 * conform/linknamespace.pl: Require weak undefined symbols to be
1063 in the standard namespace.
1064 (%strong_syms): Rename to %seen_syms.
1065 (%strong_seen): Rename to %seen_where.
1066
1067 2015-09-17 H.J. Lu <hongjiu.lu@intel.com>
1068
1069 [BZ #18970]
1070 * misc/error.c (error): Replace pthread_setcancelstate with
1071 __pthread_setcancelstate.
1072 (error_at_line): Likewise.
1073 * posix/wordexp.c (parse_comm): Likewise.
1074 * stdlib/fmtmsg.c (fmtmsg): Likewise.
1075 * nptl/forward.c (pthread_setcancelstate): Renamed to ...
1076 (__pthread_setcancelstate): This.
1077 (pthread_setcancelstate): Add an alias.
1078 * nptl/nptl-init.c (pthread_functions): Replace
1079 ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
1080 * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
1081 * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
1082 hidden_proto.
1083 * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
1084 it with hidden_def.
1085 * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
1086 (pthread_setcancelstate): Renamed to ...
1087 (__pthread_setcancelstate): This.
1088 * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
1089 __libc_ptf_call with __pthread_setcancelstate.
1090
1091 2015-09-17 Joseph Myers <joseph@codesourcery.com>
1092 Andreas Schwab <schwab@suse.de>
1093
1094 [BZ #17118]
1095 * math/s_ctan.c (__ctan): Determine sign of zero real part of
1096 result when imaginary part of argument is infinite using sine and
1097 cosine.
1098 * math/s_ctanf.c (__ctanf): Likewise.
1099 * math/s_ctanl.c (__ctanl): Likewise.
1100 * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
1101 of result when real part of argument is infinite using sine and
1102 cosine.
1103 * math/s_ctanhf.c (__ctanhf): Likewise.
1104 * math/s_ctanhl.c (__ctanhl): Likewise.
1105 * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
1106 (ctanh_test_data): Add more tests of ctanh.
1107
1108 2015-09-17 Joseph Myers <joseph@codesourcery.com>
1109
1110 [BZ #15384]
1111 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
1112 bit-mask as in subtraction.
1113 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
1114 Likewise.
1115 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
1116 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
1117 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
1118
1119 [BZ #18951]
1120 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
1121 underflow exception for small results.
1122 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
1123 Likewise.
1124 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
1125 Likewise.
1126 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
1127 Likewise.
1128 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
1129 Likewise.
1130 * math/auto-libm-test-in: Add more tests of tgamma.
1131 * math/auto-libm-test-out: Regenerated.
1132
1133 2015-09-17 Andreas Schwab <schwab@suse.de>
1134
1135 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
1136
1137 2015-09-16 Joseph Myers <joseph@codesourcery.com>
1138
1139 [BZ #18977]
1140 * math/bits/mathcalls.h
1141 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
1142 not declare.
1143 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
1144 Likewise.
1145 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
1146 Likewise.
1147 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
1148 Likewise.
1149 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
1150 Likewise.
1151 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
1152 Likewise.
1153 * conform/data/math.h-data
1154 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
1155 function.
1156 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
1157 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
1158 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
1159 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
1160 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
1161 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
1162 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
1163 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
1164 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
1165 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
1166 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
1167
1168 [BZ #6803]
1169 * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
1170 [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
1171 * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
1172 * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
1173 * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
1174 * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
1175 * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
1176 * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
1177 [NO_LONG_DOUBLE] (scalbnl): Likewise.
1178 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
1179 Likewise.
1180 [NO_LONG_DOUBLE] (scalbnl): Likewise.
1181 * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
1182 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
1183 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
1184 long_double_symbol calls.
1185 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
1186 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
1187 strong alias of __ldexpl.
1188 (scalbnl): Define using long_double_symbol.
1189 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
1190 Remove alias.
1191 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
1192 * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
1193 * math/libm-test.inc (scalbn_test_data): Add errno expectations.
1194 (scalbln_test_data): Add more errno expectations.
1195
1196 2015-09-16 Justus Winter <4winter@informatik.uni-hamburg.de>
1197
1198 Cache the host port like we cache the task port. This way we do not
1199 need to call the kernel just to get the port. Furthermore, we no
1200 longer increase the reference count on every invocation of
1201 `mach_host_self'.
1202
1203 * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
1204 Protect declarations against the macro expansion.
1205 * mach/mach_init.c (__mach_host_self_): New variable.
1206 (mach_init): Initialize `__mach_host_self_'.
1207 * mach/mach_init.h (__mach_host_self_): New declaration.
1208 (__mach_host_self, mach_host_self): New macros.
1209 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
1210 Release reference.
1211
1212 2015-09-16 Joseph Myers <joseph@codesourcery.com>
1213
1214 [BZ #4404]
1215 * po/de.po: Update from Translation Project.
1216
1217 [BZ #16415]
1218 * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
1219 (__expm1l): Remove code to handle positive infinity and overflow.
1220 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
1221 variable.
1222 (__expm1l): Remove code to handle positive infinity and overflow.
1223
1224 2015-09-16 Paul Eggert <eggert@cs.ucla.edu>
1225 Paul Pluzhnikov <ppluzhnikov@google.com>
1226
1227 [BZ #18872]
1228 * stdio-common/Makefile (tst-printf-bz18872): New test.
1229 (tst-printf-bz18872-mem.out): Likewise.
1230 * stdio-common/tst-printf-bz18872.sh: Generate new test.
1231 * stdio-common/vfprintf.c: Fix memory leaks.
1232
1233 2015-09-16 Andreas Schwab <schwab@suse.de>
1234
1235 [BZ #17244]
1236 * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
1237 Remove extra va_start/va_end calls.
1238
1239 [BZ #17243]
1240 * posix/execl.c (execl): Add missing va_end.
1241 * posix/execle.c (execle): Likewise.
1242 * posix/execlp.c (execlp): Likewise.
1243
1244 2015-09-15 Roland McGrath <roland@hack.frob.com>
1245
1246 * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
1247 (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
1248
1249 2015-09-15 Joseph Myers <joseph@codesourcery.com>
1250
1251 [BZ #18967]
1252 * math/math.h (__MATH_DECLARING_DOUBLE): New macro. Define and
1253 undefine around includes of <bits/mathcalls.h>.
1254 * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
1255 not declare function.
1256 [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
1257 [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
1258 (scalb): Likewise.
1259 * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
1260 not define macro.
1261 * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
1262 variable.
1263 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
1264 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
1265 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
1266
1267 [BZ #18857]
1268 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
1269 return non-finite argument without doing ordered comparisons on
1270 it.
1271
1272 [BZ #16296]
1273 * math/fenv.h (fegetround): Use __attribute_pure__.
1274 * include/fenv.h (__fegetround): Likewise.
1275
1276 [BZ #18595]
1277 * math/s_ctan.c (__ctan): Force underflow exception for results
1278 whose real or imaginary part has small absolute value.
1279 * math/s_ctanf.c (__ctanf): Likewise.
1280 * math/s_ctanh.c (__ctanh): Likewise.
1281 * math/s_ctanhf.c (__ctanhf): Likewise.
1282 * math/s_ctanhl.c (__ctanhl): Likewise.
1283 * math/s_ctanl.c (__ctanl): Likewise.
1284 * math/auto-libm-test-in: Do not allow missing underflow for ctan
1285 and ctanh. Add more tests of ctan and ctanh.
1286
1287 [BZ #15918]
1288 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
1289 handling of cases where one argument is an infinity.
1290
1291 [BZ #18875]
1292 [BZ #18966]
1293 * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
1294 (MO): New macro.
1295 (__ieee754_exp10): For small results, force underflow exception
1296 and remove excess range and precision from return value.
1297 * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
1298 (MO): New macro.
1299 (__ieee754_exp10f): For small results, force underflow exception
1300 and remove excess range and precision from return value.
1301 * math/auto-libm-test-in: Add more tests of exp10.
1302 * math/auto-libm-test-out: Regenerated.
1303
1304 2015-09-14 Joseph Myers <joseph@codesourcery.com>
1305
1306 [BZ #18875]
1307 [BZ #18961]
1308 * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
1309 (MO): New macro.
1310 (__ieee754_exp): For small results, force underflow exception and
1311 remove excess range and precision from return value.
1312 (__exp_finite): Likewise.
1313 * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
1314 (MO): New macro.
1315 (__ieee754_expf): For small results, force underflow exception and
1316 remove excess range and precision from return value.
1317 (__expf_finite): Likewise.
1318 * math/auto-libm-test-in: Add more tests of exp.
1319 * math/auto-libm-test-out: Regenerated.
1320
1321 [BZ #16521]
1322 [BZ #18875]
1323 * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
1324 small results.
1325 * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
1326 (MO): New macro.
1327 (__ieee754_exp2): For small results, force underflow exception and
1328 remove excess range and precision from return value.
1329 * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
1330 (MO): New macro.
1331 (__ieee754_exp2f): For small results, force underflow exception
1332 and remove excess range and precision from return value.
1333 * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
1334 (MO): New macro.
1335 (__ieee754_exp2l): Force underflow exception for small results.
1336 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
1337 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
1338 * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
1339 (MO): New macro.
1340 (__ieee754_exp2l): Force underflow exception for small results.
1341 * math/auto-libm-test-in: Add more tests or exp2.
1342 * math/auto-libm-test-out: Regenerated.
1343
1344 2015-09-14 Carlos O'Donell <carlos@redhat.com>
1345
1346 * malloc/malloc.c (systrim): Use ALIGN_DOWN.
1347
1348 * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
1349 /dev/null.
1350
1351 2015-09-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
1352
1353 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
1354 io fs process)): Drop spurious backslash.
1355
1356 2015-09-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1357
1358 * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
1359 Use sysinfo system call instead of parsing /proc/meminfo.
1360 * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
1361 Likewise.
1362
1363 2015-09-11 Mike Frysinger <vapier@gentoo.org>
1364
1365 [BZ #16985]
1366 * programs/localedef.c (main): Display argv[remaining] when
1367 output_path is NULL.
1368
1369 2015-09-11 Joseph Myers <joseph@codesourcery.com>
1370
1371 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
1372 asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
1373 exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
1374 tanh.
1375 * math/auto-libm-test-out: Regenerated.
1376 * sysdeps/i386/fpu/libm-test-ulps: Update.
1377 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
1378 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1379 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1380
1381 2015-09-11 Roland McGrath <roland@hack.frob.com>
1382
1383 * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
1384 Use 'override' keyword to freeze the value here, preventing
1385 the addition of sys/mtio.h by sysdeps/gnu/Makefile.
1386
1387 2015-09-11 Joseph Myers <joseph@codesourcery.com>
1388
1389 [BZ #14912]
1390 * sysdeps/aarch64/bits/atomic.h: Move to ...
1391 * sysdeps/aarch64/atomic-machine.h: ...here.
1392 (_AARCH64_BITS_ATOMIC_H): Rename macro to
1393 _AARCH64_ATOMIC_MACHINE_H.
1394 * sysdeps/alpha/bits/atomic.h: Move to ...
1395 * sysdeps/alpha/atomic-machine.h: ...here.
1396 * sysdeps/arm/bits/atomic.h: Move to ...
1397 * sysdeps/arm/atomic-machine.h: ...here. Update comments.
1398 * bits/atomic.h: Move to ...
1399 * sysdeps/generic/atomic-machine.h: ...here.
1400 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
1401 * sysdeps/i386/bits/atomic.h: Move to ...
1402 * sysdeps/i386/atomic-machine.h: ...here.
1403 * sysdeps/ia64/bits/atomic.h: Move to ...
1404 * sysdeps/ia64/atomic-machine.h: ...here.
1405 * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
1406 * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
1407 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
1408 * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
1409 * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
1410 * sysdeps/microblaze/bits/atomic.h: Move to ...
1411 * sysdeps/microblaze/atomic-machine.h: ...here.
1412 * sysdeps/mips/bits/atomic.h: Move to ...
1413 * sysdeps/mips/atomic-machine.h: ...here.
1414 (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
1415 * sysdeps/powerpc/bits/atomic.h: Move to ...
1416 * sysdeps/powerpc/atomic-machine.h: ...here. Update comments.
1417 * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
1418 * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here. Update
1419 comments. Include <atomic-machine.h> instead of <bits/atomic.h>.
1420 * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
1421 * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here. Include
1422 <atomic-machine.h> instead of <bits/atomic.h>.
1423 * sysdeps/s390/bits/atomic.h: Move to ...
1424 * sysdeps/s390/atomic-machine.h: ...here.
1425 * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
1426 * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
1427 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
1428 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
1429 * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
1430 * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
1431 * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
1432 * sysdeps/tile/bits/atomic.h: Move to ...
1433 * sysdeps/tile/atomic-machine.h: ...here.
1434 * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
1435 * sysdeps/tile/tilegx/atomic-machine.h: ...here. Include
1436 <sysdeps/tile/atomic-machine.h> instead of
1437 <sysdeps/tile/bits/atomic.h>.
1438 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
1439 * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
1440 * sysdeps/tile/tilepro/atomic-machine.h: ...here. Include
1441 <sysdeps/tile/atomic-machine.h> instead of
1442 <sysdeps/tile/bits/atomic.h>.
1443 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
1444 * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
1445 * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here. Include
1446 <sysdeps/arm/atomic-machine.h> instead of
1447 <sysdeps/arm/bits/atomic.h>.
1448 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
1449 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
1450 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
1451 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
1452 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
1453 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
1454 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
1455 * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
1456 (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
1457 * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
1458 * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
1459 * sysdeps/x86_64/bits/atomic.h: Move to ...
1460 * sysdeps/x86_64/atomic-machine.h: ...here.
1461 * include/atomic.h: Include <atomic-machine.h> instead of
1462 <bits/atomic.h>.
1463
1464 * sysdeps/mips/mips32/libm-test-ulps: Update.
1465 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1466
1467 [BZ #18952]
1468 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
1469 not convert non-integer negative arguments to int to determine the
1470 value of signgam.
1471 * math/auto-libm-test-in: Add more tests of lgamma.
1472 * math/auto-libm-test-out: Regenerated.
1473
1474 * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
1475 cosh, csqrt, erfc, expm1 and lgamma.
1476 * math/auto-libm-test-out: Regenerated.
1477 * sysdeps/i386/fpu/libm-test-ulps: Update.
1478 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1479
1480 2015-09-10 Joseph Myers <joseph@codesourcery.com>
1481
1482 [BZ #2542]
1483 [BZ #2543]
1484 [BZ #2558]
1485 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
1486 __lgamma_neg for arguments from -28.0 to -2.0.
1487 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
1488 __lgamma_negf for arguments from -15.0 to -2.0.
1489 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
1490 Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
1491 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
1492 Call __lgamma_negl for arguments from -33.0 to -2.0.
1493 * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
1494 * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
1495 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
1496 * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
1497 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
1498 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
1499 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
1500 * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
1501 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
1502 * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
1503 * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
1504 * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
1505 (__lgamma_neg): Likewise.
1506 (__lgamma_negl): Likewise.
1507 (__lgamma_product): Likewise.
1508 (__lgamma_productl): Likewise.
1509 * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
1510 * math/auto-libm-test-in: Add more tests of lgamma.
1511 * math/auto-libm-test-out: Regenerated.
1512 * sysdeps/i386/fpu/libm-test-ulps: Update.
1513 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1514
1515 2015-09-09 Justin Maggard <jmaggard@netgear.com>
1516
1517 [BZ #18675]
1518 * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
1519
1520 2015-09-08 Joseph Myers <joseph@codesourcery.com>
1521
1522 [BZ #14912]
1523 * bits/libc-lock.h: Move to ...
1524 * sysdeps/generic/libc-lock.h: ...here.
1525 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
1526 * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
1527 * sysdeps/mach/hurd/libc-lock.h: ...here.
1528 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
1529 [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
1530 * sysdeps/mach/bits/libc-lock.h: Move to ...
1531 * sysdeps/mach/libc-lock.h: ...here.
1532 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
1533 * sysdeps/nptl/bits/libc-lock.h: Move to ...
1534 * sysdeps/nptl/libc-lock.h: ...here.
1535 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
1536 * sysdeps/nptl/bits/libc-lockP.h: Move to ...
1537 * sysdeps/nptl/libc-lockP.h: ...here.
1538 (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
1539 * crypt/crypt_util.c: Include <libc-lock.h> instead of
1540 <bits/libc-lock.h>.
1541 * dirent/scandir-tail.c: Likewise.
1542 * dlfcn/dlerror.c: Likewise.
1543 * elf/dl-close.c: Likewise.
1544 * elf/dl-iteratephdr.c: Likewise.
1545 * elf/dl-lookup.c: Likewise.
1546 * elf/dl-open.c: Likewise.
1547 * elf/dl-support.c: Likewise.
1548 * elf/dl-writev.h: Likewise.
1549 * elf/rtld.c: Likewise.
1550 * grp/fgetgrent.c: Likewise.
1551 * gshadow/fgetsgent.c: Likewise.
1552 * gshadow/sgetsgent.c: Likewise.
1553 * iconv/gconv_conf.c: Likewise.
1554 * iconv/gconv_db.c: Likewise.
1555 * iconv/gconv_dl.c: Likewise.
1556 * iconv/gconv_int.h: Likewise.
1557 * iconv/gconv_trans.c: Likewise.
1558 * include/link.h: Likewise.
1559 * inet/getnameinfo.c: Likewise.
1560 * inet/getnetgrent.c: Likewise.
1561 * inet/getnetgrent_r.c: Likewise.
1562 * intl/bindtextdom.c: Likewise.
1563 * intl/dcigettext.c: Likewise.
1564 * intl/finddomain.c: Likewise.
1565 * intl/gettextP.h: Likewise.
1566 * intl/loadmsgcat.c: Likewise.
1567 * intl/localealias.c: Likewise.
1568 * intl/textdomain.c: Likewise.
1569 * libidn/idn-stub.c: Likewise.
1570 * libio/libioP.h: Likewise.
1571 * locale/duplocale.c: Likewise.
1572 * locale/freelocale.c: Likewise.
1573 * locale/newlocale.c: Likewise.
1574 * locale/setlocale.c: Likewise.
1575 * login/getutent_r.c: Likewise.
1576 * login/getutid_r.c: Likewise.
1577 * login/getutline_r.c: Likewise.
1578 * login/utmp-private.h: Likewise.
1579 * login/utmpname.c: Likewise.
1580 * malloc/mtrace.c: Likewise.
1581 * misc/efgcvt.c: Likewise.
1582 * misc/error.c: Likewise.
1583 * misc/fstab.c: Likewise.
1584 * misc/getpass.c: Likewise.
1585 * misc/mntent.c: Likewise.
1586 * misc/syslog.c: Likewise.
1587 * nis/nis_call.c: Likewise.
1588 * nis/nis_callback.c: Likewise.
1589 * nis/nss-default.c: Likewise.
1590 * nis/nss_compat/compat-grp.c: Likewise.
1591 * nis/nss_compat/compat-initgroups.c: Likewise.
1592 * nis/nss_compat/compat-pwd.c: Likewise.
1593 * nis/nss_compat/compat-spwd.c: Likewise.
1594 * nis/nss_nis/nis-alias.c: Likewise.
1595 * nis/nss_nis/nis-ethers.c: Likewise.
1596 * nis/nss_nis/nis-grp.c: Likewise.
1597 * nis/nss_nis/nis-hosts.c: Likewise.
1598 * nis/nss_nis/nis-network.c: Likewise.
1599 * nis/nss_nis/nis-proto.c: Likewise.
1600 * nis/nss_nis/nis-pwd.c: Likewise.
1601 * nis/nss_nis/nis-rpc.c: Likewise.
1602 * nis/nss_nis/nis-service.c: Likewise.
1603 * nis/nss_nis/nis-spwd.c: Likewise.
1604 * nis/nss_nisplus/nisplus-alias.c: Likewise.
1605 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
1606 * nis/nss_nisplus/nisplus-grp.c: Likewise.
1607 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
1608 * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
1609 * nis/nss_nisplus/nisplus-network.c: Likewise.
1610 * nis/nss_nisplus/nisplus-proto.c: Likewise.
1611 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
1612 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
1613 * nis/nss_nisplus/nisplus-service.c: Likewise.
1614 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
1615 * nis/ypclnt.c: Likewise.
1616 * nptl/libc_pthread_init.c: Likewise.
1617 * nss/getXXbyYY.c: Likewise.
1618 * nss/getXXent.c: Likewise.
1619 * nss/getXXent_r.c: Likewise.
1620 * nss/nss_db/db-XXX.c: Likewise.
1621 * nss/nss_db/db-netgrp.c: Likewise.
1622 * nss/nss_db/nss_db.h: Likewise.
1623 * nss/nss_files/files-XXX.c: Likewise.
1624 * nss/nss_files/files-alias.c: Likewise.
1625 * nss/nsswitch.c: Likewise.
1626 * posix/regex_internal.h: Likewise.
1627 * posix/wordexp.c: Likewise.
1628 * pwd/fgetpwent.c: Likewise.
1629 * resolv/res_hconf.c: Likewise.
1630 * resolv/res_libc.c: Likewise.
1631 * shadow/fgetspent.c: Likewise.
1632 * shadow/lckpwdf.c: Likewise.
1633 * shadow/sgetspent.c: Likewise.
1634 * socket/opensock.c: Likewise.
1635 * stdio-common/reg-modifier.c: Likewise.
1636 * stdio-common/reg-printf.c: Likewise.
1637 * stdio-common/reg-type.c: Likewise.
1638 * stdio-common/vfprintf.c: Likewise.
1639 * stdio-common/vfscanf.c: Likewise.
1640 * stdlib/abort.c: Likewise.
1641 * stdlib/cxa_atexit.c: Likewise.
1642 * stdlib/fmtmsg.c: Likewise.
1643 * stdlib/random.c: Likewise.
1644 * stdlib/setenv.c: Likewise.
1645 * string/strsignal.c: Likewise.
1646 * sunrpc/auth_none.c: Likewise.
1647 * sunrpc/bindrsvprt.c: Likewise.
1648 * sunrpc/create_xid.c: Likewise.
1649 * sunrpc/key_call.c: Likewise.
1650 * sunrpc/rpc_thread.c: Likewise.
1651 * sysdeps/arm/backtrace.c: Likewise.
1652 * sysdeps/generic/ldsodefs.h: Likewise.
1653 * sysdeps/generic/stdio-lock.h: Likewise.
1654 * sysdeps/generic/unwind-dw2-fde.c: Likewise.
1655 * sysdeps/i386/backtrace.c: Likewise.
1656 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
1657 * sysdeps/m68k/backtrace.c: Likewise.
1658 * sysdeps/mach/hurd/cthreads.c: Likewise.
1659 * sysdeps/mach/hurd/dirstream.h: Likewise.
1660 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
1661 * sysdeps/nptl/malloc-machine.h: Likewise.
1662 * sysdeps/nptl/stdio-lock.h: Likewise.
1663 * sysdeps/posix/dirstream.h: Likewise.
1664 * sysdeps/posix/getaddrinfo.c: Likewise.
1665 * sysdeps/posix/system.c: Likewise.
1666 * sysdeps/pthread/aio_suspend.c: Likewise.
1667 * sysdeps/s390/s390-32/backtrace.c: Likewise.
1668 * sysdeps/s390/s390-64/backtrace.c: Likewise.
1669 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
1670 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
1671 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
1672 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
1673 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
1674 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
1675 * sysdeps/unix/sysv/linux/system.c: Likewise.
1676 * sysdeps/x86_64/backtrace.c: Likewise.
1677 * time/alt_digit.c: Likewise.
1678 * time/era.c: Likewise.
1679 * time/tzset.c: Likewise.
1680 * wcsmbs/wcsmbsload.c: Likewise.
1681 * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
1682 instead of <bits/libc-lock.h> in comment.
1683
1684 2015-09-08 Andrew Bennett <andrew.bennett@imgtec.com>
1685
1686 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
1687 Only use .set mips2 if the current ISA is below mips2.
1688 * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
1689 Likewise.
1690 * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
1691 mips32r2 if the current ISA is below mips32r2.
1692 * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
1693 (TLS_IE): Updated to use the TLD_RDHWR macro.
1694 (TLS_LE): Likewise.
1695 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
1696 __ASSEMBLER__ condition.
1697
1698 2015-09-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
1699
1700 Fix parallel build of before-compile targets.
1701
1702 * sysdeps/mach/Makefile ($(patsubst
1703 mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
1704 mach-before-compile target.
1705 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
1706 io fs process)): Move rule to dedicated hurd-before-compile target.
1707
1708 2015-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
1709
1710 Fix rules generating headers in hurd/ and mach/ when initial make call
1711 has subdir= explicitly set.
1712
1713 * sysdeps/mach/Makefile ($(patsubst
1714 mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
1715 calling $(MAKE).
1716 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
1717 io fs process)): Force subdir to hurd when calling $(MAKE).
1718 ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
1719 subdir to mach when calling $(MAKE).
1720
1721 2015-09-06 Manolis Ragkousis <manolis837@gmail.com>
1722
1723 Check sysheaders when looking for Mach and Hurd headers
1724
1725 * sysdeps/mach/configure.ac: Add sysheaders check.
1726 * sysdeps/mach/configure: Regenerate.
1727 * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
1728 * sysdeps/mach/hurd/configure: Regenerate.
1729
1730 2015-09-04 Roland McGrath <roland@hack.frob.com>
1731
1732 [BZ #18921]
1733 * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
1734 Fix inverted sense of test of 'o_directory_works' value.
1735 Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
1736 Bernhard Voelker <mail@bernhard-voelker.de>.
1737
1738 2015-09-04 Joseph Myers <joseph@codesourcery.com>
1739
1740 [BZ #14912]
1741 * bits/linkmap.h: Move to ...
1742 * sysdeps/generic/linkmap.h: ...here.
1743 * sysdeps/aarch64/bits/linkmap.h: Move to ...
1744 * sysdeps/aarch64/linkmap.h: ...here.
1745 * sysdeps/arm/bits/linkmap.h: Move to ...
1746 * sysdeps/arm/linkmap.h: ...here.
1747 * sysdeps/hppa/bits/linkmap.h: Move to ...
1748 * sysdeps/hppa/linkmap.h: ...here.
1749 * sysdeps/ia64/bits/linkmap.h: Move to ...
1750 * sysdeps/ia64/linkmap.h: ...here.
1751 * sysdeps/mips/bits/linkmap.h: Move to ...
1752 * sysdeps/mips/linkmap.h: ...here.
1753 * sysdeps/s390/bits/linkmap.h: Move to ...
1754 * sysdeps/s390/linkmap.h: ...here.
1755 * sysdeps/sh/bits/linkmap.h: Move to ...
1756 * sysdeps/sh/linkmap.h: ...here.
1757 * sysdeps/x86/bits/linkmap.h: Move to ...
1758 * sysdeps/x86/linkmap.h: ...here.
1759 * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
1760
1761 2015-09-04 Andreas Schwab <schwab@suse.de>
1762
1763 [BZ #18635]
1764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
1765 (__makecontext): Terminate FDE before return label.
1766 (__novec_makecontext): Likewise.
1767
1768 2015-09-04 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
1769
1770 * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
1771 first member of struct sv in syscall macro.
1772
1773 2015-09-04 Joseph Myers <joseph@codesourcery.com>
1774
1775 [BZ #14912]
1776 * bits/stdio-lock.h: Move to ...
1777 * sysdeps/generic/stdio-lock.h: ...here.
1778 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
1779 * sysdeps/nptl/bits/stdio-lock.h: Move to ...
1780 * sysdeps/nptl/stdio-lock.h: ...here.
1781 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
1782 * include/libio.h: Include <stdio-lock.h> instead of
1783 <bits/stdio-lock.h>.
1784 * sysdeps/nptl/fork.c: Likewise.
1785 * sysdeps/pthread/flockfile.c: Likewise.
1786 * sysdeps/pthread/ftrylockfile.c: Likewise.
1787 * sysdeps/pthread/funlockfile.c: Likewise.
1788
1789 [BZ #14912]
1790 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
1791 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
1792 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
1793 <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
1794 * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
1795 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
1796 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
1797
1798 2015-09-03 Roland McGrath <roland@hack.frob.com>
1799
1800 * elf/Makefile (test-xfail-tst-protected1a): New variable.
1801 (test-xfail-tst-protected1b): New variable.
1802
1803 2015-09-03 Joseph Myers <joseph@codesourcery.com>
1804
1805 [BZ #14912]
1806 * bits/libc-tsd.h: Move to ...
1807 * sysdeps/generic/libc-tsd.h: ...here.
1808 (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
1809 * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
1810 * sysdeps/mach/hurd/libc-tsd.h: ...here.
1811 (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
1812 * include/ctype.h: Include <libc-tsd.h> instead of
1813 <bits/libc-tsd.h>.
1814 * include/rpc/rpc.h: Likewise.
1815 * locale/localeinfo.h: Likewise.
1816 * sunrpc/rpc_thread.c: Likewise.
1817 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
1818 * sysdeps/nptl/malloc-machine.h: Likewise.
1819
1820 * Makefile (headers): Remove bits/libc-lock.h.
1821 * libio/Makefile (headers): Remove bits/stdio-lock.h.
1822
1823 * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
1824 <bits/stdio-lock.h> and commented-out include of <comthread.h>.
1825 * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
1826 <bits/stdio-lock.h>.
1827 * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
1828 * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
1829
1830 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
1831
1832 [BZ #18757]
1833 * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
1834 * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
1835 BZ #18757.
1836
1837 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
1838
1839 * malloc/mtrace.pl: Filter out NULL entries.
1840
1841 2015-09-01 Joseph Myers <joseph@codesourcery.com>
1842
1843 * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
1844 * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
1845 macro.
1846
1847 * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
1848 (TCP_CC_INFO): Likewise.
1849 (TCP_SAVE_SYN): Likewise.
1850 (TCP_SAVED_SYN): Likewise.
1851
1852 2015-08-31 Brett Neumeier <brett@neumeier.us>
1853
1854 [BZ #18870]
1855 * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
1856
1857 2015-08-31 Paul Eggert <eggert@cs.ucla.edu>
1858
1859 [BZ #18873]
1860 Fix broken overflow check in posix_fallocate
1861 * sysdeps/posix/posix_fallocate.c (posix_fallocate):
1862 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
1863 Fix parenthesization typo.
1864
1865 2015-08-28 Mike Frysinger <vapier@gentoo.org>
1866
1867 [BZ #18887]
1868 * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
1869 tst-mntent-blank-passno.
1870 * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
1871 * misc/tst-mntent-blank-corrupt.c: New test.
1872 * misc/tst-mntent-blank-passno.c: New test ripped from ...
1873 * misc/tst-mntent.c (do_test): ... here.
1874
1875 2015-08-29 Mike Frysinger <vapier@gentoo.org>
1876
1877 [BZ #4404]
1878 * po/de.po: Fix SIGALRM typo.
1879
1880 2015-08-28 James Perkins <james@loowit.net>
1881
1882 * time/tst-strptime2.c (tests): Replace short list of test
1883 strings for strptime %z specifier with code which exhaustively
1884 tests every combination of sign and 0 to 5 digits. Tests for
1885 rejection of invalid strings.
1886
1887 2015-08-28 James Perkins <james@loowit.net>
1888
1889 [BZ #16141]
1890 * time/strptime_l.c (__strptime_internal): Fix %z minutes
1891 calculation, removing incorrect decimal time rounding, so that
1892 all minute values result in a valid seconds value.
1893 * time/strptime_l.c (__strptime_internal): Extend %z time zone
1894 offset range limits to UTC-99:59 through UTC+99:59 to parse
1895 current and historical use cases.
1896 * time/tst-strptime2.c (tests): Modify and add tests for the
1897 strptime %z input field descriptor, specifically conversion of
1898 minutes to seconds and validating an offset range of -9959 to
1899 +9959.
1900
1901 2015-08-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1902 Dmitry V. Levin <ldv@altlinux.org>
1903
1904 [BZ #18877]
1905 * posix/Makefile (tests): Add tst-mmap-offset.
1906 * posix/tst-mmap.c: New file.
1907 * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
1908 offset calculation for negative values.
1909
1910 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
1911
1912 * sysdeps/i386/init-arch.h: New file.
1913 * sysdeps/i386/i586/init-arch.h: Likewise.
1914 * sysdeps/i386/i686/init-arch.h: Likewise.
1915 * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
1916 bit if CX8 is available. Set bit_I686 bit if CMOV is available.
1917 * sysdeps/x86/cpu-features.h (bit_I586): New.
1918 (bit_I686): Likewise.
1919 (bit_CX8): Likewise.
1920 (bit_CMOV): Likewise.
1921 (index_CX8): Likewise.
1922 (index_CMOV): Likewise.
1923 (index_I586): Likewise.
1924 (index_I686): Likewise.
1925 (reg_CX8): Likewise.
1926 (reg_CMOV): Likewise.
1927 (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
1928 available at compile-time.
1929 (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
1930 available at compile-time.
1931 * sysdeps/x86/init-arch.h (USE_I586): New macro.
1932 (USE_I686): Likewise.
1933
1934 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
1935
1936 * sysdeps/i386/bcopy.S: New file.
1937 * sysdeps/i386/bzero.S: Likewise.
1938 * sysdeps/i386/memcpy.S: Likewise.
1939 * sysdeps/i386/memmove.S: Likewise.
1940 * sysdeps/i386/mempcpy.S: Likewise.
1941 * sysdeps/i386/memset.S: Likewise.
1942 * sysdeps/i386/bzero.c: Removed.
1943 * sysdeps/i386/memset.c: Likewise.
1944 * sysdeps/i386/i586/memcpy_chk.S: Likewise.
1945 * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
1946 * sysdeps/i386/i586/memset_chk.S: Likewise.
1947 * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
1948 * sysdeps/i386/memcpy_chk.S: Here.
1949 * sysdeps/i386/i686/memmove_chk.S: Moved to ...
1950 * sysdeps/i386/memmove_chk.S: Here.
1951 * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
1952 * sysdeps/i386/mempcpy_chk.S: Likewise.
1953 * sysdeps/i386/i686/memset_chk.S: Moved to ...
1954 * sysdeps/i386/memset_chk.S: Likewise.
1955
1956 2015-08-27 Steve Ellcey <sellcey@imgtec.com>
1957
1958 * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
1959 Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
1960 file, move DIAG_POP_NEEDS_COMMENT to end of file.
1961 * soft-fp/fmadf4.c: Ditto.
1962 * soft-fp/fmatf4.c: Ditto.
1963
1964 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
1965
1966 * sysdeps/i386/i586/Implies: Removed.
1967 * sysdeps/i386/i686/Implies: Likewise.
1968
1969 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
1970
1971 * sysdeps/i386/i486/strlen.S: Moved to ...
1972 * sysdeps/i386/strlen.S: Here.
1973
1974 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
1975
1976 * sysdeps/i386/i486/strcat.S: Moved to ...
1977 * sysdeps/i386/strcat.S: Here.
1978
1979 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
1980
1981 * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
1982 * sysdeps/i386/pthread_spin_trylock.S: Here.
1983 * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
1984 * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
1985
1986 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
1987
1988 * sysdeps/i386/i486/string-inlines.c: Moved to ...
1989 * sysdeps/i386/string-inlines.c: Here.
1990
1991 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
1992
1993 * sysdeps/i386/i486/htonl.S: Moved ...
1994 * sysdeps/i386/htonl.S: here.
1995
1996 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
1997
1998 * sysdeps/i386/i486/bits/atomic.h: Moved to ...
1999 * sysdeps/i386/bits/atomic.h: Here.
2000
2001 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
2002
2003 * sysdeps/i386/i486/Versions: Removed.
2004
2005 2015-08-27 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
2006
2007 [BZ #2898]
2008 * misc/mktemp.c: Add mkdtemp to the link_warning message.
2009 Based on patch by Aurelien Jarno.
2010
2011 2015-08-26 Stan Shebs <stanshebs@google.com>
2012
2013 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
2014 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
2015
2016 2015-08-26 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
2017
2018 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
2019 * sysdeps/powerpc/dl-procinfo.c:
2020 (_dl_powerpc_cap_flags): Added descriptor for this hwcap
2021 feature so it shows when LD_SHOW_AUXV=1.
2022
2023 2015-08-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2024
2025 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
2026 (__arch_compare_and_exchange_val_32_acq): Remove and use common
2027 definition. ISA 2.07B no longer requires full sync.
2028
2029 2015-08-26 Mike Frysinger <vapier@gentoo.org>
2030
2031 [BZ #18863]
2032 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
2033 (si_call_addr): Define.
2034 (si_syscall): Define.
2035 (si_arch): Define.
2036
2037 2015-08-26 H.J. Lu <hongjiu.lu@intel.com>
2038
2039 * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
2040 * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
2041 * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
2042 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
2043 (__memset_zero_constant_len_parameter): New.
2044 * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
2045 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
2046 (__memset_zero_constant_len_parameter): Don't define if
2047 __memset_chk or USE_AS_BZERO are defined.
2048
2049 * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
2050 Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
2051 * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
2052
2053 * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
2054 tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
2055 * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
2056 tests-special, $(objpfx)tst-ld-sse-use.out): Here. Update
2057 comments.
2058 * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
2059 -mno-mmx for $(all-rtld-routines).
2060 * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
2061 * sysdeps/i386/tst-ld-sse-use.sh: Here. Replace x86-64 with
2062 i386.
2063
2064 2015-08-26 Stefan Liebler <stli@linux.vnet.ibm.com>
2065
2066 * sysdeps/generic/unwind.h
2067 (_Unwind_Word): Use __mode__(__unwind_word__)
2068 instead of __mode__(__word__).
2069 (_Unwind_Sword): Likewise.
2070
2071 * sysdeps/s390/s390-64/utf8-utf16-z9.c
2072 (MAX_NEEDED_INPUT): New define.
2073 (MAX_NEEDED_OUTPUT): New define.
2074
2075 * NEWS: New item for IBM z13 string optimizations.
2076
2077 * sysdeps/s390/multiarch/memrchr-c.c: New File.
2078 * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
2079 * sysdeps/s390/multiarch/memrchr.c: Likewise.
2080 * sysdeps/s390/multiarch/Makefile
2081 (sysdep_routines): Add memrchr functions.
2082 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
2083 (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
2084
2085 * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
2086 * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
2087 * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
2088 * sysdeps/s390/multiarch/Makefile
2089 (sysdep_routines): Add wmemcmp functions.
2090 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
2091 (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
2092 * benchtests/bench-wmemcmp.c: New File.
2093 * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
2094
2095 * sysdeps/s390/multiarch/wmemset-c.c: New File.
2096 * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
2097 * sysdeps/s390/multiarch/wmemset.c: Likewise.
2098 * sysdeps/s390/multiarch/Makefile
2099 (sysdep_routines): Add wmemset functions.
2100 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
2101 (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
2102 * wcsmbs/wmemset.c: Use WMEMSET if defined.
2103 * string/test-memset.c: Add wmemset support.
2104 * wcsmbs/test-wmemset.c: New File.
2105 * wcsmbs/Makefile (strop-tests): Add wmemset.
2106 * benchtests/bench-memset.c: Add wmemset support.
2107 * benchtests/bench-wmemset.c: New File.
2108 * benchtests/Makefile (wcsmbs-bench): Add wmemset.
2109
2110 * sysdeps/s390/multiarch/memccpy-c.c: New File.
2111 * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
2112 * sysdeps/s390/multiarch/memccpy.c: Likewise.
2113 * sysdeps/s390/multiarch/Makefile
2114 (sysdep_routines): Add memccpy functions.
2115 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
2116 (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
2117 * string/memccpy.c: Use MEMCCPY if defined.
2118
2119 * sysdeps/s390/multiarch/memchr-vx.S: New File.
2120 * sysdeps/s390/multiarch/memchr.c: Likewise.
2121 * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
2122 * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
2123 * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
2124 * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
2125 * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
2126 * sysdeps/s390/multiarch/wmemchr.c: Likewise.
2127 * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
2128 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
2129 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
2130 and rawmemchr functions.
2131 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
2132 (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
2133 and wmemchr.
2134 * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
2135 * string/test-memchr.c: Add wmemchr support.
2136 * wcsmbs/test-wmemchr.c: New File.
2137 * wcsmbs/Makefile (strop-tests): Add wmemchr.
2138 * benchtests/bench-memchr.c: Add wmemchr support.
2139 * benchtests/bench-wmemchr.c: New File.
2140 * benchtests/Makefile (wcsmbs-bench): wmemchr.
2141
2142 * sysdeps/s390/multiarch/strcspn-c.c: New File.
2143 * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
2144 * sysdeps/s390/multiarch/strcspn.c: Likewise.
2145 * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
2146 * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
2147 * sysdeps/s390/multiarch/wcscspn.c: Likewise.
2148 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
2149 wcscspn functions.
2150 * sysdeps/s390/multiarch/ifunc-impl-list.c
2151 (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
2152 * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
2153 * string/test-strcspn.c: Add wcscspn support.
2154 * wcsmbs/test-wcscspn.c: New File.
2155 * wcsmbs/Makefile (strop-tests): Add wcscspn.
2156 * benchtests/bench-strcspn.c: Add wcscspn support.
2157 * benchtests/bench-wcscspn.c: New File.
2158 * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
2159
2160 * sysdeps/s390/multiarch/strpbrk-c.c: New File.
2161 * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
2162 * sysdeps/s390/multiarch/strpbrk.c: Likewise.
2163 * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
2164 * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
2165 * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
2166 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
2167 wcspbrk functions.
2168 * sysdeps/s390/multiarch/ifunc-impl-list.c
2169 (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
2170 * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
2171 * string/test-strpbrk.c: Add wcspbrk support.
2172 * wcsmbs/test-wcspbrk.c: New File.
2173 * wcsmbs/Makefile (strop-tests): Add wcspbrk.
2174 * benchtests/bench-strpbrk.c: Add wcspbrk support.
2175 * benchtests/bench-wcspbrk.c: New File.
2176 * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
2177
2178 * sysdeps/s390/multiarch/strspn-c.c: New File.
2179 * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
2180 * sysdeps/s390/multiarch/strspn.c: Likewise.
2181 * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
2182 * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
2183 * sysdeps/s390/multiarch/wcsspn.c: Likewise.
2184 * wcsmbs/wcsspn.c: Use WCSSPN if defined.
2185 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
2186 wcsspn functions.
2187 * sysdeps/s390/multiarch/ifunc-impl-list.c
2188 (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
2189 * string/test-strspn.c: Add wcsspn support.
2190 * wcsmbs/test-wcsspn.c: New File.
2191 * wcsmbs/Makefile (strop-tests): Add wcsspn.
2192 * benchtests/bench-strspn.c: Add wcsspn support.
2193 * benchtests/bench-wcsspn.c: New File.
2194 * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
2195
2196 * sysdeps/s390/multiarch/strrchr-c.c: New File.
2197 * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
2198 * sysdeps/s390/multiarch/strrchr.c: Likewise.
2199 * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
2200 * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
2201 * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
2202 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
2203 wcsrchr functions.
2204 * sysdeps/s390/multiarch/ifunc-impl-list.c
2205 (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
2206 * benchtests/bench-wcsrchr.c: New File.
2207 * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
2208
2209 * sysdeps/s390/multiarch/strchrnul-c.c: New File.
2210 * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
2211 * sysdeps/s390/multiarch/strchrnul.c: Likewise.
2212 * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
2213 * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
2214 * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
2215 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
2216 wcschrnul functions.
2217 * sysdeps/s390/multiarch/ifunc-impl-list.c
2218 (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
2219 * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
2220 * string/test-strchr.c: Add wcschrnul support.
2221 * wcsmbs/test-wcschrnul.c: New File.
2222 * wcsmbs/Makefile (strop-tests): Add wcschrnul.
2223 * benchtests/bench-strchr.c: Add wcschrnul support.
2224 * benchtests/bench-wcschrnul.c: New File.
2225 * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
2226
2227 * sysdeps/s390/multiarch/strchr-c.c: New File.
2228 * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
2229 * sysdeps/s390/multiarch/strchr.c: Likewise.
2230 * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
2231 * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
2232 * sysdeps/s390/multiarch/wcschr.c: Likewise.
2233 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
2234 wcschr functions.
2235 * sysdeps/s390/multiarch/ifunc-impl-list.c
2236 (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
2237 * string/strchr.c (STRCHR): Define and use macro.
2238 * benchtests/bench-wcschr.c: New File.
2239 * benchtests/Makefile (wcsmbs-bench): Add wcschr.
2240
2241 * sysdeps/s390/multiarch/strncmp-c.c: New File.
2242 * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
2243 * sysdeps/s390/multiarch/strncmp.c: Likewise.
2244 * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
2245 * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
2246 * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
2247 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
2248 wcsncmp functions.
2249 * sysdeps/s390/multiarch/ifunc-impl-list.c
2250 (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
2251 * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
2252 * benchtests/bench-strncmp.c: Add wcsncmp support.
2253 * benchtests/bench-wcsncmp.c: New File.
2254 * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
2255
2256 * sysdeps/s390/multiarch/strcmp-vx.S: New File.
2257 * sysdeps/s390/multiarch/strcmp.c: Likewise.
2258 * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
2259 * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
2260 * sysdeps/s390/multiarch/wcscmp.c: Likewise.
2261 * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
2262 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
2263 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
2264 wcscmp functions.
2265 * sysdeps/s390/multiarch/ifunc-impl-list.c
2266 (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
2267 * string/strcmp.c (STRCMP): Define and use macro.
2268 * benchtests/bench-wcscmp.c: New File.
2269 * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
2270 * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
2271 instead of _HAVE_STRING_ARCH_memchr.
2272
2273 * sysdeps/s390/multiarch/strncat-c.c: New File.
2274 * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
2275 * sysdeps/s390/multiarch/strncat.c: Likewise.
2276 * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
2277 * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
2278 * sysdeps/s390/multiarch/wcsncat.c: Likewise.
2279 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
2280 wcsncat functions.
2281 * sysdeps/s390/multiarch/ifunc-impl-list.c
2282 (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
2283 * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
2284 * string/test-strncat.c: Add wcsncat support.
2285 * wcsmbs/test-wcsncat.c: New File.
2286 * wcsmbs/Makefile (strop-tests): Add wcsncat.
2287 * benchtests/bench-strncat.c: Add wcsncat support.
2288 * benchtests/bench-wcsncat.c: New File.
2289 * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
2290
2291 * sysdeps/s390/multiarch/strcat-c.c: New File.
2292 * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
2293 * sysdeps/s390/multiarch/strcat.c: Likewise.
2294 * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
2295 * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
2296 * sysdeps/s390/multiarch/wcscat.c: Likewise.
2297 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
2298 wcscat functions.
2299 * sysdeps/s390/multiarch/ifunc-impl-list.c
2300 (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
2301 * string/strcat.c (STRCAT): Define and use macro.
2302 * wcsmbs/wcscat.c: Use WCSCAT if defined.
2303 * string/test-strcat.c: Add wcscat support.
2304 * wcsmbs/test-wcscat.c: New File.
2305 * wcsmbs/Makefile (strop-tests): Add wcscat.
2306 * benchtests/bench-strcat.c: Add wcscat support.
2307 * benchtests/bench-wcscat.c: New File.
2308 * benchtests/Makefile (wcsmbs-bench): Add wcscat.
2309
2310 * sysdeps/s390/multiarch/stpncpy-c.c: New File.
2311 * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
2312 * sysdeps/s390/multiarch/stpncpy.c: Likewise.
2313 * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
2314 * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
2315 * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
2316 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
2317 wcpncpy functions.
2318 * sysdeps/s390/multiarch/ifunc-impl-list.c
2319 (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
2320 * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
2321 * string/test-stpncpy.c: Add wcpncpy support.
2322 * wcsmbs/test-wcpncpy.c: New File.
2323 * wcsmbs/Makefile (strop-tests): Add wcpncpy.
2324 * benchtests/bench-stpncpy.c: Add wcpncpy support.
2325 * benchtests/bench-wcpncpy.c: New File.
2326 * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
2327
2328 * sysdeps/s390/multiarch/strncpy-vx.S: New File.
2329 * sysdeps/s390/multiarch/strncpy.c: Likewise.
2330 * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
2331 * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
2332 * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
2333 * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
2334 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
2335 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
2336 wcsncpy functions.
2337 * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
2338 * sysdeps/s390/multiarch/ifunc-impl-list.c
2339 (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
2340 * string/test-strncpy.c: Add wcsncpy support.
2341 * wcsmbs/test-wcsncpy.c: New File.
2342 * wcsmbs/Makefile (strop-tests): Add wcsncpy.
2343 * benchtests/bench-strncpy.c: Add wcsncpy support.
2344 * benchtests/bench-wcsncpy.c: New File.
2345 * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
2346
2347 * sysdeps/s390/multiarch/stpcpy-c.c: New File.
2348 * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
2349 * sysdeps/s390/multiarch/stpcpy.c: Likewise.
2350 * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
2351 * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
2352 * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
2353 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
2354 wcpcpy functions.
2355 * string/stpcpy.c: Use STPCPY if defined.
2356 * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
2357 * sysdeps/s390/multiarch/ifunc-impl-list.c
2358 (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
2359 * string/test-stpcpy.c: Add wcpcpy support.
2360 * wcsmbs/test-wcpcpy.c: New File.
2361 * wcsmbs/Makefile (strop-tests): Add wcpcpy.
2362 * benchtests/bench-stpcpy.c: Add wcpcpy support.
2363 * benchtests/bench-wcpcpy.c: New File.
2364 * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
2365
2366 * sysdeps/s390/multiarch/strcpy-vx.S: New File.
2367 * sysdeps/s390/multiarch/strcpy.c: Likewise.
2368 * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
2369 * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
2370 * sysdeps/s390/multiarch/wcscpy.c: Likewise.
2371 * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
2372 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
2373 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
2374 wcscpy functions.
2375 * sysdeps/s390/multiarch/ifunc-impl-list.c
2376 (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
2377 * benchtests/bench-wcscpy.c: New File.
2378 * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
2379
2380 * sysdeps/s390/multiarch/strnlen-c.c: New File.
2381 * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
2382 * sysdeps/s390/multiarch/strnlen.c: Likewise.
2383 * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
2384 * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
2385 * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
2386 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
2387 wcsnlen functions.
2388 * sysdeps/s390/multiarch/ifunc-impl-list.c
2389 (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
2390 * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
2391 * string/test-strnlen.c: Add wcsnlen support.
2392 * wcsmbs/test-wcsnlen.c: New File.
2393 * wcsmbs/Makefile (strop-tests): Add wcsnlen.
2394 * benchtests/bench-strnlen.c: Add wcsnlen support.
2395 * benchtests/bench-wcsnlen.c: New File.
2396 * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
2397
2398 * sysdeps/s390/multiarch/Makefile: New File.
2399 * sysdeps/s390/multiarch/strlen-c.c: Likewise.
2400 * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
2401 * sysdeps/s390/multiarch/strlen.c: Likewise.
2402 * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
2403 * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
2404 * sysdeps/s390/multiarch/wcslen.c: Likewise.
2405 * string/strlen.c (STRLEN): Define and use macro.
2406 * sysdeps/s390/multiarch/ifunc-impl-list.c
2407 (IFUNC_VX_IMPL): New macro function.
2408 (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
2409 * benchtests/Makefile (wcsmbs-bench): New variable.
2410 (string-bench-all): Added wcsmbs-bench.
2411 * benchtests/bench-wcslen.c: New File.
2412
2413 * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
2414 s390_vx_libc_ifunc2): New macro function.
2415
2416 * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
2417 * sysdeps/s390/configure.ac: Add test for S390 vector instruction
2418 assembler support.
2419 * sysdeps/s390/configure: Regenerated.
2420
2421 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
2422 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
2423
2424 * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
2425 * sysdeps/s390/dl-procinfo.h: Add vector capability.
2426 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
2427
2428 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
2429 Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
2430 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
2431 * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
2432 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
2433 (memcmp, bcmp): Use __memcmp_default as alias source.
2434 * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
2435 * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
2436 Rename to __memcmp_default.
2437 * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
2438 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
2439 (memcpy): Use __memcpy_default as alias source.
2440 * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
2441 * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
2442 Rename to __memcpy_default.
2443 * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
2444 * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
2445 (memset): Use __memset_default as alias source.
2446 * sysdeps/s390/s390-32/multiarch/memset.c: New File.
2447 * sysdeps/s390/s390-32/memset.S (__memset_g5):
2448 Rename to __memset_default.
2449 * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
2450 Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
2451 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
2452 * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
2453 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
2454 (memcmp, bcmp): Use __memcmp_default as alias source.
2455 * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
2456 * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
2457 Rename to __memcmp_default.
2458 * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
2459 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
2460 (memcpy): Use __memcpy_default as alias source.
2461 * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
2462 * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
2463 Rename to __memcpy_default.
2464 * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
2465 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
2466 (memset): Use __memset_default as alias source.
2467 * sysdeps/s390/s390-64/multiarch/memset.c: New File.
2468 * sysdeps/s390/s390-64/memset.S (__memset_z900):
2469 Rename to __memset_default.
2470 * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
2471 * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
2472
2473 [BZ #18610]
2474 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
2475 __ieee_instruction_pointer to __unused.
2476 * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
2477 __ieee_instruction_pointer.
2478 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
2479 * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
2480 * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
2481 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
2482 * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
2483 Mark dxc-field as reserved.
2484
2485 2015-08-25 Roland McGrath <roland@hack.frob.com>
2486
2487 * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
2488 if the weak reference is not null.
2489
2490 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
2491
2492 * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
2493
2494 [BZ #11214]
2495 * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
2496
2497 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2498
2499 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
2500 * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
2501 * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
2502 * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
2503 * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
2504 * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
2505 * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
2506 * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
2507 * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
2508 * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
2509 * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
2510 * sysdeps/unix/sysv/linux/send.c: Call direct system call.
2511 * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
2512 * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
2513 * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
2514 * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
2515 * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
2516 * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
2517
2518 2015-08-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2519
2520 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
2521 register other than r0 for tabort, it has special meaning.
2522 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise
2523 * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
2524 transaction before starting syscall.
2525
2526 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2527
2528 * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
2529
2530 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
2531
2532 * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
2533
2534 * sysdeps/x86_64/rtld-memcmp.c: Removed.
2535 * sysdeps/x86_64/rtld-memset.S: Likewise.
2536 * sysdeps/x86_64/rtld-strchr.S: Likewise.
2537 * sysdeps/x86_64/rtld-strlen.S: Likewise.
2538 * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
2539 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
2540
2541 * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
2542
2543 2015-08-25 Ondřej Bílka <neleai@seznam.cz>
2544
2545 * debug/strcpy_chk.c: Improve performance.
2546 * debug/stpcpy_chk.c: Likewise.
2547 * sysdeps/x86_64/strcpy_chk.S: Remove.
2548 * sysdeps/x86_64/stpcpy_chk.S: Remove.
2549
2550 [BZ #18240]
2551 * misc/hsearch_r.c (__hcreate_r): Handle overflow.
2552
2553 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
2554
2555 [BZ #15128]
2556 * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
2557 ifuncmain8.
2558 (modules-names): Add ifuncmod8.
2559 ($(objpfx)ifuncmain8): New rule.
2560 * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
2561 <cpuid.h>.
2562 (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
2563 _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
2564 _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
2565 _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
2566 * sysdeps/x86_64/dl-trampoline.S: Rewrite.
2567 * sysdeps/x86_64/dl-trampoline.h: Likewise.
2568 * sysdeps/x86_64/ifuncmain8.c: New file.
2569 * sysdeps/x86_64/ifuncmod8.c: Likewise.
2570 * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
2571 Removed.
2572 * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
2573 (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
2574 Change rtld_savespace_sse to __glibc_unused2.
2575 (RTLD_CHECK_FOREIGN_CALL): Removed.
2576 (RTLD_ENABLE_FOREIGN_CALL): Likewise.
2577 (RTLD_PREPARE_FOREIGN_CALL): Likewise.
2578 (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
2579
2580 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
2581
2582 * sysdeps/aarch64/bzero.S (__bzero): Remove.
2583
2584 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
2585
2586 * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
2587 Unconditionally set __fpcr to avoid uninialized warning.
2588 (libc_feholdsetround_noex_aarch64_ctx): Likewise.
2589
2590 2015-08-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2591
2592 * malloc/arena.c (arena_get_retry): Don't use main_arena if it
2593 is corrupt.
2594
2595 * malloc/arena.c (arena_get2): Drop unused argument.
2596 (arena_lock): Adjust.
2597 (arena_get_retry): Likewise.
2598
2599 2015-08-24 Andreas Schwab <schwab@suse.de>
2600
2601 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
2602 Don't define.
2603 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
2604 (__ASSUME_IPC64): Don't undef.
2605 * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
2606 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
2607 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
2608 * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
2609 * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
2610 * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
2611 * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
2612 * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
2613 * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
2614 * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
2615 * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
2616 * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
2617 * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
2618 * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
2619 * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
2620 * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
2621 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
2622 * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
2623 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
2624 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
2625 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
2626
2627 2015-08-21 Mike Frysinger <vapier@gentoo.org>
2628
2629 * manual/Makefile (install): Only build manual when perl is available.
2630
2631 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
2632
2633 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
2634 '#undef memcpy' by '#undef memchr'.
2635
2636 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
2637
2638 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
2639 memchr not point to the internal __GI_memchr implementation.
2640
2641 2015-08-20 Joseph Myers <joseph@codesourcery.com>
2642
2643 * timezone/Makefile (CFLAGS-zdump.c): Remove
2644 -Wno-strict-prototypes.
2645 (CFLAGS-zic.c): Likewise.
2646 (CFLAGS-ialloc.c): Likewise.
2647 (CFLAGS-scheck.c): Likewise.
2648
2649 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
2650 -Wno-error=undef.
2651
2652 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
2653
2654 * i386/i686/multiarch/strcasestr-c.c: Removed.
2655 * x86_64/multiarch/strcasestr.c: Likewise.
2656 * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2657 Remove strcasestr.
2658
2659 2015-08-20 Joseph Myers <joseph@codesourcery.com>
2660
2661 * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
2662
2663 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
2664 variables for high and low parts before possibly modifying them.
2665
2666 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
2667
2668 * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
2669 * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
2670 * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
2671 of "multiarch/init-arch.h".
2672 * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
2673 * sysdeps/x86/init-arch.h: This.
2674
2675 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
2676
2677 * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
2678 * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
2679
2680 2015-08-20 Ondřej Bílka <neleai@seznam.cz>
2681
2682 [BZ #17787]
2683 * manual/macros.texi: Add twoexp macro.
2684 * manual/filesys.texi: Fix exponents.
2685 * manual/llio.texi: Likewise.
2686 * manual/stdio.texi: Likewise.
2687
2688 2015-08-20 Florian Weimer <fweimer@redhat.com>
2689
2690 * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
2691 incorrect use.
2692
2693 2015-08-19 Joseph Myers <joseph@codesourcery.com>
2694
2695 [BZ #18370]
2696 * math/s_csqrt.c (__csqrt): Force underflow exception for results
2697 whose real or imaginary part has small absolute value.
2698 * math/s_csqrtf.c (__csqrtf): Likewise.
2699 * math/s_csqrtl.c (__csqrtl): Likewise.
2700 * math/auto-libm-test-in: Add more tests of csqrt.
2701 * math/auto-libm-test-out: Regenerated.
2702 * sysdeps/i386/fpu/libm-test-ulps: Update.
2703
2704 2015-08-19 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2705
2706 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
2707 __ppc_set_ppr_very_low): New functions.
2708 * manual/platform.texi: Add documentation about
2709 __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
2710
2711 2015-08-19 Wilco Dijkstra <wdijkstr@arm.com>
2712
2713 * string/stpncpy.c (stpncpy): Improve performance using
2714 __strnlen/memcpy/memset.
2715
2716 2015-08-19 Andrew Senkevich <andrew.senkevich@intel.com>
2717
2718 [BZ #18796]
2719 * scripts/test-installation.pl: Don't add -lmvec to build options if
2720 libmvec wasn't built.
2721
2722 2015-08-19 Petar Jovanovic <petar.jovanovic@rt-rk.com>
2723
2724 [BZ #14341]
2725 * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
2726 case when there is a gap between DT_REL and DT_JMPREL sections.
2727 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
2728 (LDFLAGS-tst-split-dynreloc): New.
2729 (tst-split-dynreloc-ENV): Likewise.
2730 * sysdeps/x86_64/tst-split-dynreloc.c: New file.
2731 * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
2732
2733 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
2734
2735 [BZ #18822]
2736 * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
2737 attribute_hidden.
2738 (__xstat64_conv): Likewise.
2739 (__xstat32_conv): Likewise.
2740
2741 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
2742
2743 [BZ #18822]
2744 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
2745 Don't load %ebx when calling __setcontext. Call __setcontext
2746 with HIDDEN_JUMPTARGET.
2747 * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
2748 libc_hidden_def.
2749
2750 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
2751
2752 * sysdeps/i386/i686/Makefile
2753 [$(subdir) == string] (sysdep_routines): Moved to ...
2754 * sysdeps/i386/Makefile: Here.
2755 * sysdeps/i386/i686/cacheinfo.c: Moved to ...
2756 * sysdeps/i386/cacheinfo.c: Here.
2757 * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
2758 * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
2759 * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
2760 * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
2761
2762 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
2763
2764 * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
2765 __i586__ is defined.
2766 (HAS_I686): Defined to 1 if __i686__ is defined.
2767
2768 2015-08-19 Joseph Myers <joseph@codesourcery.com>
2769
2770 * elf/Makefile [$(have-z-execstack) = yes]
2771 (CPPFLAGS-tst-execstack.c): New variable.
2772
2773 * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
2774 conditional to [defined UTMPX || _HAVE_UT_TYPE].
2775 [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
2776 UTMPX || _HAVE_UT_TV].
2777 [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
2778 UTMPX || _HAVE_UT_TV - 0].
2779
2780 2015-08-18 Joseph Myers <joseph@codesourcery.com>
2781
2782 * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
2783 conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
2784 * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
2785
2786 2015-08-18 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
2787
2788 * sysdeps/powerpc/dl-procinfo.c:
2789 (_dl_powerpc_cap_flags): Added missing strings for some
2790 hwcap features.
2791 * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
2792
2793 2015-08-18 Paul Eggert <eggert@cs.ucla.edu>
2794
2795 Port the 0x7efe...feff pattern to GCC 6.
2796 See Steve Ellcey's bug report in:
2797 https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
2798 * string/memrchr.c (MEMRCHR):
2799 * string/rawmemchr.c (RAWMEMCHR):
2800 * string/strchr.c (strchr):
2801 * string/strchrnul.c (STRCHRNUL):
2802 Rewrite code to avoid issues with signed shift overflow.
2803
2804 2015-08-18 H.J. Lu <hongjiu.lu@intel.com>
2805
2806 * sysdeps/x86/cpu-features.c (init_cpu_features): Check
2807 whether cpuid is available only if HAS_CPUID is 0.
2808 * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
2809 (HAS_I586): Likewise.
2810 (HAS_I686): Likewise.
2811
2812 2015-08-18 Zack Weinberg <zackw@panix.com>
2813
2814 * misc/Versions (libc): Add GLIBC_2.23.
2815
2816 2015-08-18 Alan Modra <amodra@gmail.com>
2817
2818 [BZ #18421]
2819 * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
2820 .Lp__global.
2821 (_start): Load %dp via .Lp__global.
2822 [!SHARED]: Use .section .rodata.
2823
2824 2015-08-18 Mike Frysinger <vapier@gentoo.org>
2825
2826 * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
2827 * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
2828
2829 2015-08-18 Mike Frysinger <vapier@gentoo.org>
2830
2831 * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
2832 * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
2833
2834 2015-08-18 Mike Frysinger <vapier@gentoo.org>
2835
2836 * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
2837 * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
2838
2839 2015-08-18 Mike Frysinger <vapier@gentoo.org>
2840
2841 * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
2842 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
2843
2844 2015-08-18 Mike Frysinger <vapier@gentoo.org>
2845
2846 * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
2847 * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
2848
2849 2015-08-18 Mike Frysinger <vapier@gentoo.org>
2850
2851 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
2852 SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
2853
2854 2015-08-18 Mike Frysinger <vapier@gentoo.org>
2855
2856 * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
2857
2858 2015-08-18 Mike Frysinger <vapier@gentoo.org>
2859
2860 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
2861 kernel-features.h include. Delete __ASSUME_LWS_CAS checks.
2862 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2863 (__ASSUME_LWS_CAS): Delete.
2864
2865 2015-08-18 Mike Frysinger <vapier@gentoo.org>
2866
2867 * sysdeps/hppa/configure.ac: Delete binutils tls checks.
2868 * sysdeps/hppa/configure: Regenerated.
2869 * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
2870 * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
2871 * sysdeps/hppa/nptl/tls.h: Likewise.
2872
2873 2015-08-17 Joseph Myers <joseph@codesourcery.com>
2874
2875 [BZ #18823]
2876 * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
2877 for scaling up small arguments.
2878 * math/s_csqrtf.c (__csqrtf): Likewise.
2879 * math/s_csqrtl.c (__csqrtl): Likewise.
2880 * math/auto-libm-test-in: Add more tests of csqrt.
2881 * math/auto-libm-test-out: Regenerated.
2882
2883 2015-08-17 Andreas Schwab <schwab@suse.de>
2884
2885 * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
2886 version set GLIBC_2.19.
2887
2888 2015-08-16 Zack Weinberg <zackw@panix.com>
2889
2890 [BZ #18681]
2891 * misc/regexp.h: This interface is no longer supported.
2892 Remove all contents, leaving only an #error directive.
2893 * misc/regexp.c (loc1, loc2, locs, step, advance):
2894 Demote to compatibility symbols.
2895
2896 2015-08-15 Paul Pluzhnikov <ppluzhnikov@google.com>
2897
2898 [BZ #18084]
2899 * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
2900 * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
2901 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
2902 * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
2903 * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
2904 * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
2905 * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
2906 * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
2907 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
2908
2909 2015-08-15 Zack Weinberg <zackw@panix.com>
2910
2911 [BZ #18795]
2912 * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
2913 buffer length is known to be too large, not if it's known to be
2914 small enough.
2915 * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
2916 overflow at runtime, involving a length parameter, twice: once
2917 with a compile-time constant length parameter, once without.
2918
2919 2015-08-14 Joseph Myers <joseph@codesourcery.com>
2920
2921 [BZ #18824]
2922 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
2923 scaling x * y up instead of down.
2924 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2925 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2926 * math/auto-libm-test-in: Add more tests of fma.
2927 * math/auto-libm-test-out: Regenerated.
2928
2929 2015-08-14 Paul Pluzhnikov <ppluzhnikov@google.com>
2930
2931 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2932
2933 2015-08-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2934
2935 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
2936 unnecessary movq.
2937 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
2938 Likewise.
2939
2940 2015-08-13 Joseph Myers <joseph@codesourcery.com>
2941
2942 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
2943 asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
2944 exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
2945 and tgamma.
2946 * math/auto-libm-test-out: Regenerated.
2947 * sysdeps/i386/fpu/libm-test-ulps: Update.
2948 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2949
2950 [BZ #16520]
2951 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
2952 (__tanh): Force underflow exception for arguments with small
2953 absolute value.
2954 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
2955 (__tanhf): Force underflow exception for arguments with small
2956 absolute value.
2957 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
2958 (__tanhl): Force underflow exception for arguments with small
2959 absolute value.
2960 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
2961 (__tanhl): Force underflow exception for arguments with small
2962 absolute value.
2963 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
2964 (__tanhl): Force underflow exception for arguments with small
2965 absolute value.
2966 * math/auto-libm-test-in: Add more tests of tanh.
2967 * math/auto-libm-test-out: Regenerated.
2968 * sysdeps/i386/fpu/libm-test-ulps: Update.
2969
2970 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
2971
2972 * sysdeps/x86/cpu-features.c (init_cpu_features): Call
2973 __get_cpuid_max if not compiling for i586, i686 nor x86-64.
2974
2975 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
2976
2977 * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
2978 <cpuid.h>.
2979
2980 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
2981
2982 * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
2983 Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
2984
2985 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
2986
2987 * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
2988 Remove $(objpfx)init-arch.o.
2989 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
2990 init-arch.
2991 * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
2992 (INIT_ARCH_EXT): Defined as empty.
2993 (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
2994 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
2995 __init_cpu_features call. Replace HAS_XXX with
2996 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
2997 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
2998 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
2999 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
3000 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
3001 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
3002 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
3003 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
3004 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
3005 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
3006 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
3007 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
3008 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
3009 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
3010 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
3011 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
3012 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
3013 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
3014 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
3015 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
3016 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
3017 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
3018 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
3019 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
3020 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
3021 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
3022 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
3023 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
3024 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
3025 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
3026 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
3027 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
3028 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
3029 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
3030 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
3031 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
3032
3033 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
3034
3035 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
3036 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
3037 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
3038 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
3039 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
3040 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
3041 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
3042 * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
3043 * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
3044 * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
3045 call. Merge SHARED and !SHARED. Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
3046 Use LOAD_FUNC_GOT_EAX to load function address. Replace HAS_XXX
3047 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
3048 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3049 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3050 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3051 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3052 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3053 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3054 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3055 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3056 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3057 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3058 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3059 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3060 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3061 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3062 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3063 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3064 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3065 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3066 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3067 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3068 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3069 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3070 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3071 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3072 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3073 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3074 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3075 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3076 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3077 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3078
3079 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
3080
3081 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
3082 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
3083 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
3084 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
3085 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
3086 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
3087 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
3088 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
3089 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
3090 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
3091 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
3092 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
3093 LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
3094 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
3095 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
3096 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
3097 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
3098 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
3099 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
3100 * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
3101 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
3102 * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
3103 * sysdeps/x86_64/multiarch/strstr.c: Likewise.
3104 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3105 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
3106 * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
3107 * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
3108 call. Add LOAD_RTLD_GLOBAL_RO_RDX. Replace HAS_XXX with
3109 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
3110 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
3111 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3112 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3113 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3114 * sysdeps/x86_64/multiarch/memset.S: Likewise.
3115 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3116 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
3117 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
3118 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3119 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
3120 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
3121 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3122 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
3123 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
3124
3125 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
3126
3127 * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
3128 (dl_platform_init): Call init_cpu_features.
3129 * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
3130 * sysdeps/i386/i686/cacheinfo.c
3131 (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
3132 * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
3133 * sysdeps/i386/i686/multiarch/Versions: Removed.
3134 * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
3135 Removed.
3136 * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
3137 * sysdeps/unix/sysv/linux/x86/Makefile
3138 (libpthread-sysdep_routines): Remove init-arch.
3139 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
3140 <sysdeps/x86_64/dl-procinfo.c> instead of
3141 sysdeps/generic/dl-procinfo.c>.
3142 * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
3143 Add cpu-features-offsets.sym and rtld-global-offsets.sym.
3144 [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
3145 [$(subdir) == elf] (tests): Add tst-get-cpu-features.
3146 [$(subdir) == elf] (tests-static): Add
3147 tst-get-cpu-features-static.
3148 * sysdeps/x86/Versions: New file.
3149 * sysdeps/x86/cpu-features-offsets.sym: Likewise.
3150 * sysdeps/x86/cpu-features.c: Likewise.
3151 * sysdeps/x86/cpu-features.h: Likewise.
3152 * sysdeps/x86/dl-get-cpu-features.c: Likewise.
3153 * sysdeps/x86/libc-start.c: Likewise.
3154 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
3155 * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
3156 * sysdeps/x86/tst-get-cpu-features.c: Likewise.
3157 * sysdeps/x86_64/dl-procinfo.c: Likewise.
3158 * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
3159 Assume USE_MULTIARCH is defined and don't check it.
3160 (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
3161 (is_amd): Likewise.
3162 (max_cpuid): Likewise.
3163 (intel_check_word): Likewise.
3164 (__cache_sysconf): Don't call __init_cpu_features.
3165 (__x86_preferred_memory_instruction): Removed.
3166 (init_cacheinfo): Don't call __init_cpu_features. Replace
3167 __cpu_features with GLRO(dl_x86_cpu_features).
3168 * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
3169 (dl_platform_init): Call init_cpu_features.
3170 * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
3171 * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
3172 * sysdeps/x86_64/multiarch/Versions: Removed.
3173 * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
3174 * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
3175 * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
3176 Removed.
3177 * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
3178
3179 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
3180
3181 [BZ #18820]
3182 * libio/Makefile (test-fmemopen-mem): New test.
3183 * libio/test-fmemopen.c (do_bz18820): New test.
3184 * libio/fmemopen.c (__fmemopen): Fix memory leak.
3185 * libio/oldfmemopen.c (__old_fmemopen): Likewise.
3186
3187 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
3188
3189 [BZ #16734]
3190 * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
3191 (FREE_BUF): Delete.
3192 * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
3193 * libio/genops.c (_IO_setb): Use malloc and free directly.
3194 (_IO_default_doallocate, _IO_default_finish): Likewise.
3195 ( _IO_unbuffer_all): Likewise.
3196 ( libc_freeres_fn): Likewise.
3197 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
3198 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
3199 * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
3200 (_IO_wdefault_doallocate): Likewise.
3201
3202 2015-08-11 Paul Pluzhnikov <ppluzhnikov@google.com>
3203
3204 [BZ #18086]
3205 * sysdeps/posix/nice.c (nice): Restore old errno.
3206 * posix/tst-nice.c (do_test): Add test for BZ #18086.
3207
3208 2015-08-10 Ondrej Bilka <neleai@seznam.cz>
3209
3210 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
3211
3212 2015-08-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3213
3214 * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
3215 __bcopy and add a weak_alias to bcopy.
3216 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
3217 for static build.
3218
3219 * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
3220 cleanup macro usage.
3221 * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
3222 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
3223 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
3224 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
3225 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
3226 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
3227 * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
3228 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
3229 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
3230 * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
3231 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
3232 [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
3233 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
3234 [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
3235 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
3236 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
3237 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
3238 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
3239 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
3240
3241 * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
3242 libc_hidden_def.
3243 (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
3244
3245 * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
3246 (sysdep_routines): Add strstr-ppc64.
3247 * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
3248
3249 2015-08-10 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
3250
3251 [BZ #18778]
3252 * elf/Makefile (tests): Add Add tst-nodelete2.
3253 (modules-names): Add tst-nodelete2mod.
3254 (tst-nodelete2mod.so-no-z-defs): New.
3255 ($(objpfx)tst-nodelete2): Likewise.
3256 ($(objpfx)tst-nodelete2.out): Likewise.
3257 (LDFLAGS-tst-nodelete2): Likewise.
3258 * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
3259 out of loop through all loaded libraries.
3260 * elf/tst-nodelete2.c: New file.
3261 * elf/tst-nodelete2mod.c: Likewise.
3262 * elf/tst-znodelete-zlib.cc: Delete.
3263
3264 2015-08-11 Andreas Schwab <schwab@suse.de>
3265
3266 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
3267 * sysdeps/unix/sysv/linux/wordsize-64/openat.c
3268 (__openat64_nocancel): Likewise.
3269
3270 2015-08-11 Joseph Myers <joseph@codesourcery.com>
3271
3272 * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
3273 atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
3274 expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
3275 * math/auto-libm-test-out: Regenerated.
3276 * sysdeps/i386/fpu/libm-test-ulps: Update.
3277 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3278
3279 2015-08-10 Joseph Myers <joseph@codesourcery.com>
3280
3281 [BZ #18790]
3282 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
3283 threshold for returning +/- 1.
3284 * math/auto-libm-test-in: Add more tests of tanh.
3285 * math/auto-libm-test-out: Regenerated.
3286 * sysdeps/i386/fpu/libm-test-ulps: Update.
3287
3288 2015-08-10 Andreas Schwab <schwab@suse.de>
3289
3290 [BZ #18781]
3291 * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
3292 MORE_OFLAGS to oflag.
3293 * io/test-lfs.c (do_test): Test openat64.
3294
3295 2015-08-10 Joseph Myers <joseph@codesourcery.com>
3296
3297 [BZ #18789]
3298 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
3299 smaller threshold for returning the argument.
3300 * math/auto-libm-test-in: Add more tests of sinh.
3301 * math/auto-libm-test-out: Regenerated.
3302 * sysdeps/i386/fpu/libm-test-ulps: Update.
3303
3304 2015-08-09 H.J. Lu <hongjiu.lu@intel.com>
3305
3306 [BZ #18674]
3307 * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
3308 break.
3309
3310 2015-08-09 Andreas Schwab <schwab@linux-m68k.org>
3311
3312 * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
3313 (generated): Don't add $(addprefix z.,$(tzfiles)).
3314
3315 2015-08-09 Mike Frysinger <vapier@gentoo.org>
3316
3317 * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
3318 * scripts/sysd-rules.awk: Likewise.
3319
3320 2015-08-09 Mike Frysinger <vapier@gentoo.org>
3321
3322 * iconvdata/tst-tables.sh: Change echo -n to printf.
3323 * nss/db-Makefile: Likewise.
3324 * posix/tst-getconf.sh: Likewise.
3325 * stdio-common/tst-unbputc.sh: Likewise.
3326
3327 2015-08-09 Mike Frysinger <vapier@gentoo.org>
3328
3329 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
3330 MADV_*_PAGES defines behind this feature check.
3331
3332 2015-08-09 John David Anglin <danglin@gcc.gnu.org>
3333
3334 [BZ #18480]
3335 * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
3336 LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
3337 Define.
3338 (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
3339 LOAD_REGS_5, LOAD_REGS_6): Update.
3340 (INTERNAL_SYSCALL): Update using new LOAD defines.
3341 (INTERNAL_SYSCALL_NCS): Likewise.
3342 * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
3343
3344 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
3345
3346 [BZ #16734]
3347 * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
3348
3349 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
3350
3351 [BZ #17905]
3352 * catgets/Makefile (tst-catgets-mem): New test.
3353 * catgets/catgets.c (catopen): Don't use unbounded alloca.
3354 * catgets/open_catalog.c (__open_catalog): Likewise.
3355 * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
3356
3357 2015-08-08 John David Anglin <danglin@gcc.gnu.org>
3358
3359 [BZ #18787]
3360 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
3361 clobber registers.
3362 (atomic_compare_and_exchange_val_acq): Use register asms to assign
3363 operand registers. Use register %r20 for EAGAIN and EDEADLOCK checks.
3364 Cast return to __typeof (oldval).
3365
3366 2015-08-08 Mike Frysinger <vapier@gentoo.org>
3367
3368 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
3369 in _LINUX_MICROBLAZE_SYSDEP_H defines. Include sysdeps/unix/sysdep.h
3370 and delete sys/syscall.h include.
3371
3372 2015-08-07 Joseph Myers <joseph@codesourcery.com>
3373
3374 [BZ #16517]
3375 * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
3376 (tan): Force underflow exception for arguments with small absolute
3377 value.
3378 * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
3379 (__kernel_tanf): Force underflow exception for arguments with
3380 small absolute value.
3381 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
3382 (__kernel_tanl): Force underflow exception for arguments with
3383 small absolute value.
3384 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
3385 (__kernel_tanl): Force underflow exception for arguments with
3386 small absolute value.
3387 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
3388 (__kernel_tanl): Force underflow exception for arguments with
3389 small absolute value.
3390 * math/auto-libm-test-in: Add more tests of tan.
3391 * math/auto-libm-test-out: Regenerated.
3392
3393 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
3394
3395 Fix sysdeps/i386/fpu/s_scalbn.S build
3396
3397 * math/Versions (libc: GLIBC_2_22): New (empty) version set.
3398
3399 2015-08-07 Mike Frysinger <vapier@gentoo.org>
3400
3401 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
3402
3403 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
3404
3405 Fix gcrt0.o compilation
3406
3407 When static-start-installed-name is different from
3408 start-installed-name, we must not use the shared objects.
3409
3410 * csu/Makefile
3411 (extra-objs): Add gmon-start.o when building shared library and
3412 $(static-start-installed-name) is different from
3413 $(start-installed-name).
3414 $(objpfx)g$(static-start-installed-name): When building shared
3415 library and $(static-start-installed-name) is different from
3416 $(static-start-installed-name), revert to non-shared rule,
3417 i.e. using $(objpfx)% and gmon-start.o.
3418
3419 2015-08-06 Joseph Myers <joseph@codesourcery.com>
3420
3421 [BZ #16519]
3422 * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
3423 (__ieee754_sinh): Force underflow exception for arguments with
3424 small absolute value.
3425 * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
3426 (__ieee754_sinhf): Force underflow exception for arguments with
3427 small absolute value.
3428 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
3429 (__ieee754_sinhl): Force underflow exception for arguments with
3430 small absolute value.
3431 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
3432 (__ieee754_sinhl): Force underflow exception for arguments with
3433 small absolute value.
3434 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
3435 (__ieee754_sinhl): Force underflow exception for arguments with
3436 small absolute value.
3437 * math/auto-libm-test-in: Add more tests of sinh.
3438 * math/auto-libm-test-out: Regenerated.
3439 * sysdeps/i386/fpu/libm-test-ulps: Update.
3440
3441 2015-08-06 Paul Pluzhnikov <ppluzhnikov@google.com>
3442
3443 * libio/oldfileops.c: Include unistd.h.
3444
3445 2015-08-06 Mike Frysinger <vapier@gentoo.org>
3446
3447 * stdlib/isomac.c: Include ctype.h.
3448
3449 2015-08-06 Arjun Shankar <arjun.is@lostca.se>
3450
3451 * dirent/tst-seekdir.c (main): Converted to ...
3452 (do_test): ... this.
3453 (TEST_FUNCTION): New macro.
3454 Include test-skeleton.c.
3455 * elf/tst-dlmodcount.c (main): Converted to ...
3456 (do_test): ... this.
3457 (TEST_FUNCTION): New macro.
3458 Include test-skeleton.c.
3459 * elf/tst-order-main.c (main): Converted to ...
3460 (do_test): ... this.
3461 (TEST_FUNCTION): New macro.
3462 Include test-skeleton.c.
3463 * elf/tst-pie2.c (main): Converted to ...
3464 (do_test): ... this.
3465 (TEST_FUNCTION): New macro.
3466 Include test-skeleton.c.
3467 * inet/tst-ether_aton.c (main): Converted to ...
3468 (do_test): ... this.
3469 (TEST_FUNCTION): New macro.
3470 Include test-skeleton.c.
3471 * misc/tst-mntent.c (main): Converted to ...
3472 (do_test): ... this.
3473 (TEST_FUNCTION): New macro.
3474 Include test-skeleton.c.
3475 * misc/tst-tsearch.c (main): Converted to ...
3476 (do_test): ... this.
3477 (TEST_FUNCTION): New macro.
3478 Include test-skeleton.c.
3479 * posix/tst-regexloc.c (main): Converted to ...
3480 (do_test): ... this.
3481 (TEST_FUNCTION): New macro.
3482 Include test-skeleton.c.
3483 * resolv/tst-aton.c (main): Converted to ...
3484 (do_test): ... this.
3485 (TEST_FUNCTION): New macro.
3486 Include test-skeleton.c.
3487 * stdio-common/test-fwrite.c (main): Converted to ...
3488 (do_test): ... this.
3489 (TEST_FUNCTION): New macro.
3490 Include test-skeleton.c.
3491 * stdio-common/tst-ferror.c (main): Converted to ...
3492 (do_test): ... this.
3493 (TEST_FUNCTION): New macro.
3494 Include test-skeleton.c.
3495 * stdio-common/tst-printf.c (main): Converted to ...
3496 (do_test): ... this.
3497 (TEST_FUNCTION): New macro.
3498 Include test-skeleton.c.
3499 * stdio-common/tst-printfsz.c (main): Converted to ...
3500 (do_test): ... this.
3501 (TEST_FUNCTION): New macro.
3502 Include test-skeleton.c.
3503 * stdlib/tst-strtod.c (main): Converted to ...
3504 (do_test): ... this.
3505 (TEST_FUNCTION): New macro.
3506 Include test-skeleton.c.
3507 * string/tst-strlen.c (main): Converted to ...
3508 (do_test): ... this.
3509 (TEST_FUNCTION): New macro.
3510 Include test-skeleton.c.
3511 * string/tst-svc.c (main): Converted to ...
3512 (do_test): ... this.
3513 (TEST_FUNCTION): New macro.
3514 Include test-skeleton.c.
3515 * time/tst-strptime.c (main): Converted to ...
3516 (do_test): ... this.
3517 (TEST_FUNCTION): New macro.
3518 Include test-skeleton.c.
3519 * timezone/tst-timezone.c (main): Converted to ...
3520 (do_test): ... this.
3521 (TEST_FUNCTION): New macro.
3522 Include test-skeleton.c.
3523
3524 2015-08-05 Zack Weinberg <zackw@panix.com>
3525
3526 * misc/regexp.h: Update comments.
3527
3528 2015-08-05 Andreas Schwab <schwab@linux-m68k.org>
3529
3530 [BZ #18635]
3531 * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
3532 before return label.
3533
3534 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
3535
3536 [BZ #18661]
3537 * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
3538 when calling __errno_location.
3539 * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
3540 * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
3541
3542 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
3543
3544 [BZ #18661]
3545 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
3546 (__lll_timedwait_tid): Align stack to 16 bytes when calling
3547 __gettimeofday.
3548
3549 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
3550
3551 [BZ #18661]
3552 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
3553 (__start_context): Don't use pop to restore %rdi so that stack
3554 is aligned to 16 bytes when calling __setcontext.
3555
3556 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
3557
3558 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
3559 only for libc.
3560 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
3561
3562 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
3563
3564 * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
3565 (__mempcpy): Likewise. (__mempcpy_inline): New inline function.
3566 * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
3567
3568 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
3569
3570 * string/memccpy.c (memccpy):
3571 Improve performance by using memchr/memcpy/__mempcpy.
3572
3573 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
3574
3575 * string/strncpy.c (strncpy):
3576 Improve performance by using __strnlen/memcpy.
3577
3578 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
3579
3580 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
3581 Optimize to avoid an unnecessary FPCR read.
3582
3583 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
3584
3585 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
3586 Optimize to reduce FPCR/FPSR accesses.
3587
3588 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
3589
3590 * locale/loadarchive.c (_nl_archive_subfreeres): Also check
3591 dead->data[category] != NULL.
3592
3593 2015-08-05 Joseph Myers <joseph@codesourcery.com>
3594
3595 [BZ #18647]
3596 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
3597 and |x| close to 1, use absolute value of x when computing log.
3598 * math/auto-libm-test-in: Add more tests of pow.
3599 * math/auto-libm-test-out: Regenerated.
3600
3601 2015-08-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3602
3603 * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
3604 * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
3605 * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
3606
3607 2015-08-05 Marko Myllynen <myllynen@redhat.com>
3608
3609 [BZ #18525]
3610 * locales/km_KH: Remove timezone definition.
3611 * locales/lo_LA: Likewise.
3612 * locales/my_MM: Likewise.
3613 * locales/nan_TW@latin: Likewise.
3614 * locales/th_TH: Likewise.
3615 * locales/uk_UA: Likewise.
3616
3617 2015-08-05 Daniel Marjamäki <daniel.marjamaki@evidente.se>
3618
3619 [BZ #18265]
3620 * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
3621 (wcsncat): Likewise.
3622 (wcscmp): Likewise.
3623 (wcsncmp): Likewise.
3624
3625 2015-08-05 Mike Frysinger <vapier@gentoo.org>
3626
3627 * test-skeleton.c (usage): New function.
3628 (main): Call usage when opt is '?'.
3629
3630 2015-08-05 Mike Frysinger <vapier@gentoo.org>
3631
3632 * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
3633 before first use.
3634
3635 2015-08-05 Mike Frysinger <vapier@gentoo.org>
3636
3637 * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
3638 bottom and under _STACK_GROWS_DOWN. Move the stacktop assignment
3639 in there too.
3640
3641 2015-08-05 Carlos O'Donell <carlos@systemhalted.org>
3642
3643 * version.h (RELEASE): Set to "development".
3644 (VERSION): Set to "2.22.90"
3645
3646 * version.h (RELEASE): Set to "stable".
3647 (VERSION): Set to "2.22"
3648 * include/features.h (__GLIBC_MINOR__): Set to 22.
3649
3650 2015-08-04 Chris Metcalf <cmetcalf@ezchip.com>
3651
3652 * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
3653 Restructure macro to avoid "value computed is not used" warning.
3654 (atomic_compare_and_exchange_val_acq): Likewise.
3655
3656 2015-08-04 Andreas Schwab <schwab@suse.de>
3657
3658 [BZ #18635]
3659 * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
3660 ret.
3661 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
3662
3663 2015-08-01 Carlos O'Donell <carlos@redhat.com>
3664
3665 * po/pl.po: Updated translation.
3666 * po/uk.po: Likewise.
3667 * po/fi.po: Likewise.
3668 * po/ko.po: Likewise.
3669 * po/ru.po: Likewise.
3670 * po/vi.po: Likewise.
3671
3672 2015-07-31 Zack Weinberg <zackw@panix.com>
3673
3674 [BZ #18681]
3675 * regexp.h: Add unconditional #warning stating that this header
3676 will be removed soon. Revise banner comment to match.
3677 (compile): Consistently use ERROR instead of RETURN to report
3678 errors (partial fix for bz#18681).
3679 * regexp.c: Don't include regexp.h. Remove some unnecessary
3680 declarations.
3681
3682 2015-07-31 Carlos O'Donell <carlos@redhat.com>
3683
3684 * po/libc.pot: Regenerated.
3685
3686 2015-07-30 Andrew Senkevich <andrew.senkevich@intel.com>
3687
3688 [BZ #18740]
3689 * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
3690 float-vlen4-arch-ext-cflags): Removed.
3691 * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
3692 CFLAGS-test-float-vlen4-wrappers.c): Likewise.
3693
3694 2015-07-30 Mike Frysinger <vapier@gentoo.org>
3695
3696 [BZ #14113]
3697 * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
3698 aligned to __aligned__.
3699 (pthread_cond_t, pthread_rwlock_t): Likewise.
3700
3701 2015-07-30 Torvald Riegel <triegel@redhat.com>
3702
3703 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
3704
3705 2015-07-30 Mike Frysinger <vapier@gentoo.org>
3706
3707 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
3708 (struct sigaction): Change sa_flags from a long to an int, and add
3709 __glibc_reserved0 before it for padding when __WORDSIZE is 64.
3710
3711 2015-07-30 Mike Frysinger <vapier@gentoo.org>
3712
3713 * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
3714 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
3715 sysdeps/generic/sysdep.h include.
3716 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
3717 _LINUX_HPPA_SYSDEP_H defines. Include sysdeps/unix/sysdep.h and
3718 sysdeps/hppa/sysdep.h.
3719 (ENTRY, PSEUDO): Undefine before defining.
3720
3721 2015-07-30 Mike Frysinger <vapier@gentoo.org>
3722
3723 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
3724 from scratch to use INTERNAL_SYSCALL.
3725
3726 2015-07-29 H.J. Lu <hongjiu.lu@intel.com>
3727
3728 [BZ #18078]
3729 * scripts/check-localplt.awk: Support alternate relocations.
3730 * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
3731 sections.
3732 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
3733 malloc entries with + REL R_386_GLOB_DAT.
3734 * sysdeps/x86_64/localplt.data: New file.
3735
3736 2015-07-29 Andrew Senkevich <andrew.senkevich@intel.com>
3737
3738 [BZ #18731]
3739 * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
3740 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3741 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3742
3743 2015-07-27 Mike Frysinger <vapier@gentoo.org>
3744
3745 * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
3746
3747 2015-07-27 Mike Frysinger <vapier@gentoo.org>
3748
3749 * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
3750 directly in terms of __sync_fetch_and_add and delete (int) cast.
3751
3752 2015-07-27 Mike Frysinger <vapier@gentoo.org>
3753
3754 * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
3755 the -D_ASM_IA64_CURRENT_H flag.
3756
3757 2015-07-27 Mike Frysinger <vapier@gentoo.org>
3758
3759 [BZ #18641]
3760 * pwd/pwd.h (putpwent): Delete __nonnull markings.
3761
3762 2015-07-27 Andreas Schwab <schwab@suse.de>
3763
3764 * conform/conformtest.pl (checknamespace): Filter out string
3765 literals while tokenizing.
3766
3767 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
3768
3769 * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
3770 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
3771 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
3772
3773 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
3774
3775 * nptl/tst-join7mod.c: Add #include <string.h>.
3776
3777 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
3778
3779 * sysdeps/nios2/libm-test-ulps: Update.
3780
3781 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
3782
3783 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
3784 Fix order of arguments to the rt_sigprocmask syscall.
3785 * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
3786 Likewise.
3787
3788 2015-07-24 Roland McGrath <roland@hack.frob.com>
3789
3790 * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
3791
3792 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3793
3794 [BZ #18457]
3795 * nptl/Makefile (tests): New test case tst-join7.
3796 (modules-names): New test case module tst-join7mod.
3797 * nptl/tst-join7.c: New file.
3798 * nptl/tst-join7mod.c: New file.
3799 * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
3800 all translation units in libc.so, libpthread.so and rtld.
3801
3802 2015-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3803
3804 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3805
3806 2015-07-24 Andrew Senkevich <andrew.senkevich@intel.com>
3807
3808 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
3809 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
3810 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
3811 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
3812 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
3813 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
3814 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
3815 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
3816 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
3817 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
3818 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
3819 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
3820 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
3821 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
3822 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
3823 implementation.
3824
3825 2015-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
3826
3827 [BZ #17711]
3828 * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
3829 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
3830 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
3831 * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
3832 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
3833 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
3834
3835 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3836
3837 * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
3838 instead of just saying load lock in the comments.
3839
3840 2015-07-23 Roland McGrath <roland@hack.frob.com>
3841
3842 * sysdeps/unix/Subdirs: Moved ...
3843 * sysdeps/posix/Subdirs: ... here.
3844 * login/pty.h (struct termios, struct winsize): Add forward decls.
3845 * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
3846 * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
3847 * sysdeps/arm/nacl/libc.abilist: Updated.
3848 * sysdeps/nacl/libutil.abilist: New file.
3849
3850 * bits/signum.h: Update comments to mention 1003.1-2013 too.
3851 (SIGWINCH): New macro.
3852
3853 * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
3854 * sysdeps/arm/nacl/libc.abilist: Add it.
3855
3856 2015-07-23 Mike Frysinger <vapier@gentoo.org>
3857
3858 * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
3859
3860 2015-07-23 Mike Frysinger <vapier@gentoo.org>
3861
3862 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
3863 Swap __glibc_reserved0 and sa_flags order.
3864
3865 2015-07-23 Siddhesh Poyarekar <siddhesh@redhat.com>
3866
3867 [BZ #18657]
3868 * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
3869 are pending TLS destructor calls.
3870 * include/link.h (struct link_map): Add concurrency note for
3871 L_TLS_DTOR_COUNT.
3872 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
3873 Don't touch the link map flag. Atomically increment
3874 l_tls_dtor_count.
3875 (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
3876 Avoid taking the load lock and don't touch the link map flag.
3877 * stdlib/tst-tls-atexit-nodelete.c: New test case.
3878 * stdlib/Makefile (tests): Use it.
3879 * stdlib/tst-tls-atexit.c (do_test): dlopen
3880 tst-tls-atexit-lib.so again before dlclose. Add conditionals
3881 to allow tst-tls-atexit-nodelete test case to use it.
3882
3883 2015-07-22 Mike Frysinger <vapier@gentoo.org>
3884
3885 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
3886 to bits/types.h.
3887 (msgqnum_t): New typedef.
3888 (msglen_t): Likewise.
3889 (struct msqid_ds): Update comment. Change msg_qnum type to msgqnum_t
3890 and msg_qbytes type to msglen_t.
3891
3892 2015-07-22 Mike Frysinger <vapier@gentoo.org>
3893
3894 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
3895 pad0 to __glibc_reserved0.
3896 (struct stat64): Likewise.
3897
3898 2015-07-22 Mike Frysinger <vapier@gentoo.org>
3899
3900 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
3901 Change sa_flags from a long to an int and add __glibc_reserved0 before
3902 it for padding.
3903
3904 2015-07-22 Mike Frysinger <vapier@gentoo.org>
3905
3906 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
3907 anonymous by deleting "siginfo" name.
3908
3909 2015-07-21 Roland McGrath <roland@hack.frob.com>
3910
3911 * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
3912 * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
3913 rather than __nacl_irt_filename.
3914 * sysdeps/nacl/xstat.c (__xstat): Likewise.
3915
3916 * NEWS: New item for arm-nacl port.
3917 * sysdeps/arm/nacl/libc.abilist: New file.
3918 * sysdeps/nacl/ld.abilist: New file.
3919 * sysdeps/nacl/libBrokenLocale.abilist: New file.
3920 * sysdeps/nacl/libanl.abilist: New file.
3921 * sysdeps/nacl/libcrypt.abilist: New file.
3922 * sysdeps/nacl/libdl.abilist: New file.
3923 * sysdeps/nacl/libm.abilist: New file.
3924 * sysdeps/nacl/libpthread.abilist: New file.
3925 * sysdeps/nacl/libresolv.abilist: New file.
3926 * sysdeps/nacl/librt.abilist: New file.
3927
3928 2015-07-21 Chris Metcalf <cmetcalf@ezchip.com>
3929
3930 * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
3931 __startcontext to initialize the new context.
3932 * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
3933 up CFI directive to forbid further backtracing.
3934
3935 2015-07-21 Marko Myllynen <myllynen@redhat.com>
3936
3937 * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
3938 reference.
3939 * charmaps/ANSI_X3.4-1968: Likewise.
3940 * charmaps/BS_4730: Likewise.
3941 * charmaps/BS_VIEWDATA: Likewise.
3942 * charmaps/CP1250: Likewise.
3943 * charmaps/CP1251: Likewise.
3944 * charmaps/CP1252: Likewise.
3945 * charmaps/CP1253: Likewise.
3946 * charmaps/CP1254: Likewise.
3947 * charmaps/CP1255: Likewise.
3948 * charmaps/CP1256: Likewise.
3949 * charmaps/CSN_369103: Likewise.
3950 * charmaps/EBCDIC-DK-NO: Likewise.
3951 * charmaps/GB_1988-80: Likewise.
3952 * charmaps/GREEK-CCITT: Likewise.
3953 * charmaps/GREEK7: Likewise.
3954 * charmaps/INIS-8: Likewise.
3955 * charmaps/ISIRI-3342: Likewise.
3956 * charmaps/ISO_2033-1983: Likewise.
3957 * charmaps/ISO_5427-EXT: Likewise.
3958 * locales/POSIX: Likewise.
3959 * locales/ar_SA: Likewise.
3960 * locales/be_BY: Likewise.
3961 * locales/be_BY@latin: Likewise.
3962 * locales/ca_ES: Likewise.
3963 * locales/cs_CZ: Likewise.
3964 * locales/da_DK: Likewise.
3965 * locales/de_BE: Likewise.
3966 * locales/de_CH: Likewise.
3967 * locales/de_LU: Likewise.
3968 * locales/en_AU: Likewise.
3969 * locales/en_BW: Likewise.
3970 * locales/en_CA: Likewise.
3971 * locales/en_DK: Likewise.
3972 * locales/en_GB: Likewise.
3973 * locales/en_IE: Likewise.
3974 * locales/en_NZ: Likewise.
3975 * locales/en_ZA: Likewise.
3976 * locales/en_ZW: Likewise.
3977 * locales/es_AR: Likewise.
3978 * locales/es_BO: Likewise.
3979 * locales/es_CL: Likewise.
3980 * locales/es_CO: Likewise.
3981 * locales/es_DO: Likewise.
3982 * locales/es_EC: Likewise.
3983 * locales/es_ES: Likewise.
3984 * locales/es_HN: Likewise.
3985 * locales/es_MX: Likewise.
3986 * locales/es_PA: Likewise.
3987 * locales/es_PE: Likewise.
3988 * locales/es_PY: Likewise.
3989 * locales/es_SV: Likewise.
3990 * locales/es_US: Likewise.
3991 * locales/es_UY: Likewise.
3992 * locales/es_VE: Likewise.
3993 * locales/et_EE: Likewise.
3994 * locales/fa_IR: Likewise.
3995 * locales/fo_FO: Likewise.
3996 * locales/fr_CA: Likewise.
3997 * locales/fr_CH: Likewise.
3998 * locales/gv_GB: Likewise.
3999 * locales/he_IL: Likewise.
4000 * locales/hr_HR: Likewise.
4001 * locales/id_ID: Likewise.
4002 * locales/is_IS: Likewise.
4003 * locales/it_CH: Likewise.
4004 * locales/iw_IL: Likewise.
4005 * locales/kl_GL: Likewise.
4006 * locales/ko_KR: Likewise.
4007 * locales/kw_GB: Likewise.
4008 * locales/lg_UG: Likewise.
4009 * locales/lt_LT: Likewise.
4010 * locales/lv_LV: Likewise.
4011 * locales/mi_NZ: Likewise.
4012 * locales/nhn_MX: Likewise.
4013 * locales/nl_BE: Likewise.
4014 * locales/pl_PL: Likewise.
4015 * locales/sk_SK: Likewise.
4016 * locales/sl_SI: Likewise.
4017 * locales/sv_FI: Likewise.
4018 * locales/tl_PH: Likewise.
4019 * locales/tr_TR: Likewise.
4020 * locales/vi_VN: Likewise.
4021
4022 2015-07-21 Khem Raj <raj.khem@gmail.com>
4023
4024 [BZ #17475]
4025 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
4026 of tu_IN and bh_IN.
4027
4028 2015-07-21 Mike Frysinger <vapier@gentoo.org>
4029
4030 [BZ #18694]
4031 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
4032 bits/wordsize.h.
4033 (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
4034
4035 2015-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4036
4037 * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
4038 * stdlib/tst-tls-atexit.c: (is_loaded): New function.
4039 (spawn_thread): New function.
4040 (load): Rename to reg_dtor_and_close. Move dlopen to...
4041 (do_test): ... here. Use IS_LOADED to test for its
4042 availability.
4043
4044 2015-07-21 Andreas Schwab <schwab@linux-m68k.org>
4045
4046 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
4047
4048 2015-07-20 H.J. Lu <hongjiu.lu@intel.com>
4049
4050 [BZ #18696]
4051 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
4052 si_addr_bnd.
4053 (si_lower): New.
4054 (si_upper): Likewise.
4055
4056 2015-07-16 David S. Miller <davem@davemloft.net>
4057
4058 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
4059
4060 2015-07-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4061
4062 * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
4063 buffer.
4064 * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
4065 fail output information.
4066
4067 2015-07-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4068
4069 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
4070 and strstr-ppc64..
4071 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
4072 * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
4073 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
4074 * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
4075 * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
4076
4077 2015-07-16 Mike Frysinger <vapier@gentoo.org>
4078
4079 * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
4080 * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
4081 * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
4082 * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
4083
4084 2015-07-16 Mike Frysinger <vapier@gentoo.org>
4085
4086 * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
4087 * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
4088 rtld_hidden_proto.
4089 * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
4090
4091 2015-07-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4092
4093 * tst-nodelete-opened.c (do_test): Add comment to clarify how
4094 the test can fail.
4095
4096 * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
4097
4098 [BZ #18676]
4099 * elf/tst-nodelete-opened.c: New test case.
4100 * elf/tst-nodelete-opened-lib.c: New test case module.
4101 * elf/Makefile (tests, modules-names): Use them.
4102 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
4103 early.
4104
4105 2015-07-15 David S. Miller <davem@davemloft.net>
4106
4107 * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
4108 futex-intenal.h
4109 * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
4110 * sysdeps/sparc/sparc64/Makefile: Likewise.
4111 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
4112 Remove space from macro define.
4113 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
4114
4115 2015-07-15 Pravin Satpute <psatpute@redhat.com>
4116
4117 [BZ #17475]
4118 * locale/iso-639.def: Update Bhili and Tulu language codes as
4119 per iso639-3.
4120
4121 2015-07-15 Arjun Shankar <arjun.is@lostca.se>
4122
4123 * elf/tst-leaks1.c (main): Converted to ...
4124 (do_test): ... this.
4125 (TEST_FUNCTION): New macro.
4126 Include test-skeleton.c.
4127 * localedata/tst-langinfo.c (main): Converted to ...
4128 (do_test): ... this.
4129 (TEST_FUNCTION): New macro.
4130 Include test-skeleton.c.
4131 * math/test-fpucw.c (main): Converted to ...
4132 (do_test): ... this.
4133 (TEST_FUNCTION): New macro.
4134 Include test-skeleton.c.
4135 * math/test-tgmath.c (main): Converted to ...
4136 (do_test): ... this.
4137 (TEST_FUNCTION): New macro.
4138 Include test-skeleton.c.
4139 * math/test-tgmath2.c (main): Converted to ...
4140 (do_test): ... this.
4141 (TEST_FUNCTION): New macro.
4142 Include test-skeleton.c.
4143 * setjmp/tst-setjmp.c (main): Converted to ...
4144 (do_test): ... this.
4145 (TEST_FUNCTION): New macro.
4146 Include test-skeleton.c.
4147 * stdio-common/tst-sscanf.c (main): Converted to ...
4148 (do_test): ... this.
4149 (TEST_FUNCTION): New macro.
4150 Include test-skeleton.c.
4151 * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
4152 (do_test): ... this.
4153 (TEST_FUNCTION): New macro.
4154 Include test-skeleton.c.
4155
4156 * elf/tst-audit9.c (main): Converted to ...
4157 (do_test): ... this.
4158 (TEST_FUNCTION): New macro.
4159 Include test-skeleton.c.
4160
4161 2015-07-15 Mike Frysinger <vapier@gentoo.org>
4162
4163 * timezone/tst-tzset.c (TIMEOUT): Define to 5.
4164
4165 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
4166
4167 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
4168 New variable.
4169
4170 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
4171
4172 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
4173
4174 2015-07-14 Roland McGrath <roland@hack.frob.com>
4175
4176 * sysdeps/generic/dl-fileid.h: New file.
4177 * sysdeps/posix/dl-fileid.h: New file.
4178 * sysdeps/nacl/dl-fileid.h: New file.
4179 * include/link.h: Include <dl-fileid.h>.
4180 (struct link_map): Replace l_dev and l_ino with l_file_id.
4181 * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
4182 than __fxstat64. Use _dl_file_id_match_p rather than comparing l_dev
4183 and l_ino directly. Initialize l_file_id rather than l_dev and l_ino.
4184
4185 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4186
4187 * stdlib/tst-tls-atexit.c (do_test): Fix typo.
4188
4189 2015-07-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4190
4191 * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
4192 Add iff $CXX is set.
4193 [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
4194 Likewise.
4195 (tst-nodelete-zmodiff): Likewise.
4196 * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
4197
4198 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4199
4200 * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
4201
4202 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
4203
4204 * sysdeps/aarch64/fpu/math_private.h
4205 (define math_opt_barrier): Add AArch64 version.
4206 (math_force_eval): Likewise.
4207
4208 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
4209
4210 * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
4211
4212 2015-07-11 H.J. Lu <hongjiu.lu@intel.com>
4213
4214 * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
4215 %ld with %jd and cast to intmax_t.
4216 (do_test_length_zero): Likewise.
4217
4218 2015-07-10 Roland McGrath <roland@hack.frob.com>
4219
4220 * sysdeps/nacl/pthread_condattr_setclock.c: New file.
4221
4222 2015-07-10 Chris Metcalf <cmetcalf@ezchip.com>
4223
4224 * sysdeps/tile/libm-test-ulps: Regenerated.
4225
4226 * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
4227 Comment out the whole function, not just its body.
4228
4229 2015-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4230
4231 * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
4232 locks.
4233
4234 * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
4235
4236 2015-07-10 Torvald Riegel <triegel@redhat.com>
4237
4238 * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
4239 (sem_assume_only_signals_cause_futex_EINTR): Remove.
4240
4241 2015-07-10 Torvald Riegel <triegel@redhat.com>
4242
4243 * sysdeps/nptl/futex-internal.h: New file.
4244 * sysdeps/nacl/futex-internal.h: New file.
4245 * sysdeps/unix/sysv/linux/futex-internal.h: New file.
4246 * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
4247 error checking.
4248 (setxid_unmark_thread): Likewise.
4249 (__nptl_setxid): Likewise.
4250 (__wait_lookup_done): Likewise.
4251 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
4252 * nptl/nptl-init.c (sighandler_setxid): Likewise.
4253 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
4254 * nptl/pthread_once.c (clear_once_control): Likewise.
4255 (__pthread_once_slow): Likewise.
4256 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
4257 * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
4258 * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
4259 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
4260 * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
4261 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
4262 Likewise.
4263 (__pthread_rwlock_rdlock): Likewise.
4264 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
4265 Likewise.
4266 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
4267 Likewise.
4268 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
4269 Likewise.
4270 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
4271 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
4272 Likewise.
4273 * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
4274 __ASSUME_PRIVATE_FUTEX check.
4275 * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
4276 Check that shared futexes are supported.
4277 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
4278 wrappers with error checking.
4279 * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
4280 remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
4281 * nptl/pthread_barrierattr_setpshared.c
4282 (pthread_barrierattr_setpshared): Check that shared futexes are
4283 supported.
4284 * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
4285 Likewise.
4286 * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
4287 Likewise.
4288 * nptl/sem_init.c (futex_private_if_supported): Remove.
4289 (__new_sem_init): Adapt and check that shared futexes are supported.
4290 * nptl/sem_open.c (sem_open): Likewise.
4291 * nptl/sem_post.c (futex_wake): Remove.
4292 * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
4293 (do_futex_wait): Use futex wrappers with error checking.
4294 * nptl/sem_wait.c: Include lowlevellock.h.
4295 * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
4296 Use futex_supports_pshared.
4297 * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
4298 Use futex wrappers with error checking.
4299 * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
4300 Likewise.
4301 * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
4302 * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
4303 * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
4304 * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
4305 (futex_wake): Likewise.
4306 (sem_assume_only_signals_cause_futex_EINTR): Likewise.
4307 (do_futex_wait): Use futex wrappers with error checking.
4308 (__new_sem_wait_slow): Update EINTR handling.
4309 * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
4310
4311 2015-07-09 Martin Sebor <msebor@redhat.com>
4312
4313 [BZ #18435]
4314 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
4315 Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
4316 * nptl/Makefile (test-xfail-tst-once5): Define.
4317
4318 2015-07-09 Roland McGrath <roland@hack.frob.com>
4319
4320 * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
4321 * elf/dl-minimal.c: For readability, reorder some definitions and
4322 introduce more page breaks. Include <stdio.h>.
4323 (__libc_fatal): New function.
4324
4325 * include/unistd.h: Add rtld_hidden_proto for _exit.
4326 * posix/_exit.c: Add rtld_hidden_def.
4327 * sysdeps/mach/hurd/_exit.c: Likewise.
4328 * sysdeps/nacl/_exit.c: Likewise.
4329 * sysdeps/unix/sysv/linux/_exit.c: Likewise.
4330 * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
4331
4332 2015-07-09 H.J. Lu <hongjiu.lu@intel.com>
4333
4334 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
4335 bndmov encoding with zero displacement.
4336
4337 2015-07-09 Igor Zamyatin <igor.zamyatin@intel.com>
4338 H.J. Lu <hongjiu.lu@intel.com>
4339
4340 [BZ #18134]
4341 * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
4342 * sysdeps/i386/configure: Regenerated.
4343 * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
4344 (_dl_runtime_profile): Save and restore Intel MPX return bound
4345 registers when calling _dl_call_pltexit. Add
4346 PRESERVE_BND_REGS_PREFIX before return.
4347 * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
4348 (LRV_BND1_OFFSET): Likewise.
4349 * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
4350 lrv_bnd1.
4351 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
4352 typo in bndmov encoding.
4353 * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
4354 Intel MPX bound registers. Add PRESERVE_BND_REGS_PREFIX before
4355 branch instructions to preserve bounds.
4356
4357 2015-07-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4358
4359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
4360 [GLIBC_2.22]: Add fmemopen.
4361
4362 2015-07-09 Samuel Thibault <samuel.thibault@ens-lyon.org>
4363
4364 * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
4365 returns an error, also try to use host port from __mach_host_self for
4366 the __vm_wire call.
4367 * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
4368
4369 2015-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
4370
4371 [BZ #18400]
4372 [BZ #18648]
4373 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
4374 Fix pr_uid and pr_gid members.
4375 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
4376 definition to elf_greg_t.
4377
4378 2015-07-08 Roland McGrath <roland@hack.frob.com>
4379
4380 [BZ #18383]
4381 * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
4382 Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
4383 * sysdeps/arm/configure: Regenerated.
4384 * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
4385 (test-xfail-tst-tlsalign-static): Variable removed.
4386
4387 * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
4388 * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
4389 rather than explicit 'ln -s'.
4390
4391 * resolv/rpc/netdb.h: New file.
4392 * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
4393
4394 2015-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4395
4396 * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
4397 length buffers.
4398 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
4399 test-skeleton.c.
4400
4401 [BZ #6544]
4402 [BZ #11216]
4403 [BZ #12836]
4404 [BZ #13151]
4405 [BZ #13152]
4406 [BZ #14292]
4407 * include/stdio.h (fmemopen): Remove hidden prototype.
4408 (__fmemopen): Add new hidden prototype.
4409 * libio/Makefile: Add oldfmemopen object.
4410 * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
4411 * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
4412 compliance.
4413 * libio/oldfmemopen.c: New file: old fmemopen implementation for
4414 symbol compatibility.
4415 * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
4416 * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
4417 fmemopen.
4418 * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
4419 on append and read mode.
4420 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
4421 fmemopen.
4422 * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
4423 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
4424 * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
4425 * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
4426 Likewise.
4427 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
4428 [GLIBC_2.22]: Likewise.
4429 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
4430 Likewise.
4431 * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
4432 Likewise.
4433 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
4434 [GLIBC_2.22]: Likewise.
4435 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
4436 [GLIBC_2.22]: Likewise.
4437 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
4438 [GLIBC_2.22]: Likewise.
4439 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
4440 [GLIBC_2.22]: Likewise.
4441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
4442 [GLIBC_2.22]: Likewise.
4443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
4444 [GLIBC_2.22]: Likewise.
4445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
4446 [GLIBC_2.22]: Likewise.
4447 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
4448 Likewise.
4449 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
4450 Likewise.
4451 * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
4452 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
4453 [GLIBC_2.22]: Likewise.
4454 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
4455 [GLIBC_2.22]: Likewise.
4456 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
4457 [GLIBC_2.22]: Likewise.
4458 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
4459 [GLIBC_2.22]: Likewise.
4460 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
4461 Likewise.
4462 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
4463 Likewise.
4464 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
4465 Likewise.
4466 * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
4467 * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
4468
4469 2015-07-08 Carlos O'Donell <carlos@redhat.com>
4470
4471 [BZ #18643]
4472 * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
4473 IPV6_PATHMTU, and IPV6_DONTFRAG.
4474
4475 2015-07-08 Feng Gao <gfree.wind@gmail.com>
4476
4477 * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
4478 and _IO_UNBUFFERED.
4479 * libio/oldfileops.c: Likewise.
4480 * libio/wfileops.c: Likewise.
4481
4482 2015-07-08 Mike Frysinger <vapier@gentoo.org>
4483
4484 * nscd/selinux.c: Delete selinux/flask.h include.
4485
4486 2015-07-08 Mike Frysinger <vapier@gentoo.org>
4487
4488 [BZ #18641]
4489 * pwd/pwd.h (fgetpwent): Add __nonnull markings.
4490 (putpwent): Likewise.
4491 (getpwnam): Likewise.
4492 (getpwent_r): Likewise.
4493 (getpwuid_r): Likewise.
4494 (getpwnam_r): Likewise.
4495 (fgetpwent_r): Likewise.
4496
4497 2015-07-08 Carlos O'Donell <carlos@redhat.com>
4498
4499 [BZ #18557]
4500 * inet/rcmd.c (__validuser2_sa): Check user first to
4501 short-circuit host check.
4502
4503 2015-07-07 Pavel Kopyl <p.kopyl@samsung.com>
4504 Mikhail Ilin <m.ilin@samsung.com>
4505
4506 [BZ #17833]
4507 * elf/Makefile (tests): Add tst-nodelete.
4508 (modules-names): Add tst-nodelete-uniquemod.
4509 (tst-nodelete-uniquemod.so-no-z-defs): New.
4510 (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
4511 (tst-nodelete-zmod.so-no-z-defs): Likewise.
4512 ($(objpfx)tst-nodelete): Likewise.
4513 ($(objpfx)tst-nodelete.out): Likewise.
4514 (LDFLAGS-tst-nodelete): Likewise.
4515 (LDFLAGS-tst-nodelete-zmod.so): Likewise.
4516 * elf/dl-close.c (_dl_close_worker): Add a parameter to
4517 implement forced object deletion.
4518 (_dl_close): Pass false to _dl_close_worker.
4519 * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
4520 * elf/tst-nodelete.cc: New file.
4521 * elf/tst-nodeletelib.cc: Likewise.
4522 * elf/tst-znodeletelib.cc: Likewise.
4523 * include/dlfcn.h (_dl_close_worker): Add a new parameter.
4524
4525 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
4526
4527 [BZ #18508]
4528 * stdlib/Makefile ($(objpfx)tst-makecontext3):
4529 Depend on $(libdl).
4530 * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
4531 is not called infinitely times.
4532 (backtrace_helper): New function.
4533 (trace_arg): New struct.
4534 (st1): Enlarge stack size.
4535 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
4536 (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
4537 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
4538 Likewise.
4539
4540 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
4541
4542 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
4543
4544 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
4545
4546 * sysdeps/unix/sysv/linux/s390/bits/sem.h:
4547 Include sys/types.h instead of bits/types.h.
4548 Remove inclusion of bits/wordsize.h.
4549
4550 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
4551
4552 * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
4553 * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
4554 * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
4555 * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
4556 * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
4557 * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
4558
4559 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
4560
4561 * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
4562 link-defines.sym.
4563 * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
4564 (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
4565 LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
4566 and LR_SIZE.
4567 * sysdeps/i386/link-defines.sym: New file.
4568
4569 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
4570
4571 * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
4572 (modules-names): Add tst-auditmod3a tst-auditmod3b.
4573 ($(objpfx)tst-audit3): New rule.
4574 ($(objpfx)tst-audit3.out): Likewise.
4575 * sysdeps/i386/tst-audit3.c: New file.
4576 * sysdeps/i386/tst-audit3.h: Likewise.
4577 * sysdeps/i386/tst-auditmod3a.c: Likewise.
4578 * sysdeps/i386/tst-auditmod3b.c: Likewise.
4579
4580 2015-07-07 Torvald Riegel <triegel@redhat.com>
4581
4582 [BZ #18633]
4583 * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
4584 pointer in C code.
4585 (__strcat_c): Likewise.
4586 (__strcat_g): Likewise.
4587
4588 2015-07-07 Cyril Hrubis <chrubis@suse.cz>
4589
4590 [BZ #18592]
4591 * misc/sbrk.c: Set errno to ENOMEM on overflow.
4592
4593 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
4594
4595 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
4596 New function. (__ieee754_sqrtf): New function.
4597 * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
4598 New function.
4599 * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
4600 New function.
4601
4602 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
4603
4604 * sysdeps/ieee754/support.c: Remove unused file.
4605
4606 2015-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
4607
4608 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
4609 registers instead of d ones so the layout is kernel abi compatible.
4610 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
4611 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
4612 Likewise.
4613
4614 2015-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
4615
4616 * sysdeps/aarch64/libm-test-ulps: Regenerated.
4617
4618 2015-07-01 Joseph Myers <joseph@codesourcery.com>
4619
4620 [BZ #18619]
4621 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
4622 and return argument in case of subnormal argument.
4623
4624 2015-07-01 Martin Sebor <msebor@redhat.com>
4625
4626 [BZ #18435]
4627 * nptl/Makefile: Add tst-once5.cc.
4628 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
4629 Remove macro redefinitions.
4630 * nptl/tst-once5.cc: New test.
4631
4632 2015-07-01 Joseph Myers <joseph@codesourcery.com>
4633
4634 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4635
4636 * sysdeps/arm/libm-test-ulps: Regenerated.
4637
4638 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
4639 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4640
4641 2015-06-30 Torvald Riegel <triegel@redhat.com>
4642
4643 * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
4644 lll_lock_wait_private and lll_futex_wake probes.
4645
4646 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
4647 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
4648 Likewise.
4649 * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
4650 atomic_spin_nop.
4651 * sysdeps/x86_64/bits/atomic.h: Likewise.
4652 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
4653 to atomic_spin_nop and move ...
4654 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
4655 ... here and ...
4656 * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
4657 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
4658 atomic_spin_nop instead of BUSY_WAIT_NOP.
4659 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
4660 Likewise.
4661 * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
4662 * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
4663 (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
4664 * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
4665 instead of atomic_delay.
4666
4667 2015-06-29 Joseph Myers <joseph@codesourcery.com>
4668
4669 [BZ #18613]
4670 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
4671 X_ADJ not X when adjusting exponent.
4672 (__ieee754_gamma_r): Do intermediate computations in
4673 round-to-nearest then adjust overflowing and underflowing results
4674 as needed.
4675 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
4676 of X_ADJ not X when adjusting exponent.
4677 (__ieee754_gammaf_r): Do intermediate computations in
4678 round-to-nearest then adjust overflowing and underflowing results
4679 as needed.
4680 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
4681 log of X_ADJ not X when adjusting exponent.
4682 (__ieee754_gammal_r): Do intermediate computations in
4683 round-to-nearest then adjust overflowing and underflowing results
4684 as needed. Use 1.0L not 1.0f as numerator of division.
4685 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
4686 log of X_ADJ not X when adjusting exponent.
4687 (__ieee754_gammal_r): Do intermediate computations in
4688 round-to-nearest then adjust overflowing and underflowing results
4689 as needed. Use 1.0L not 1.0f as numerator of division.
4690 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
4691 of X_ADJ not X when adjusting exponent.
4692 (__ieee754_gammal_r): Do intermediate computations in
4693 round-to-nearest then adjust overflowing and underflowing results
4694 as needed. Use 1.0L not 1.0f as numerator of division.
4695 * math/libm-test.inc (tgamma_test_data): Remove one test. Moved
4696 to auto-libm-test-in.
4697 (tgamma_test): Use ALL_RM_TEST.
4698 * math/auto-libm-test-in: Add one test of tgamma. Mark some other
4699 tests of tgamma with spurious-overflow.
4700 * math/auto-libm-test-out: Regenerated.
4701 * math/gen-libm-have-vector-test.sh: Do not check for START.
4702 * sysdeps/i386/fpu/libm-test-ulps: Update.
4703 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4704
4705 [BZ #18612]
4706 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
4707 arguments, just return 0.5 times the argument, with underflow
4708 forced as needed.
4709 * math/auto-libm-test-in: Add more tests of j1.
4710 * math/auto-libm-test-out: Regenerated.
4711
4712 [BZ #16559]
4713 * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
4714 (__ieee754_j1): Force underflow exception for small results.
4715 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
4716 * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
4717 (__ieee754_j1f): Force underflow exception for small results.
4718 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
4719 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
4720 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
4721 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
4722 (__ieee754_j1l): Force underflow exception for small results.
4723 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
4724 * math/auto-libm-test-in: Add more tests of j1 and jn.
4725 * math/auto-libm-test-out: Regenerated.
4726
4727 * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
4728 * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
4729 (PF_MPLS): Likewise.
4730 (AF_IB): Likewise.
4731 (AF_MPLS): Likewise.
4732 * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
4733 value and macro.
4734 (MS_RMT_MASK): Include MS_LAZYTIME.
4735
4736 2015-06-26 Mel Gorman <mgorman@suse.de>
4737
4738 [BZ #18502]
4739 * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
4740 already minimal.
4741
4742 2015-06-26 Matthew Fortune <matthew.fortune@imgtec.com>
4743
4744 * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
4745 (DT_MIPS_NUM): Update.
4746 * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
4747 DT_MIPS_RLD_MAP_REL.
4748
4749 2015-06-25 Joseph Myers <joseph@codesourcery.com>
4750
4751 [BZ #16559]
4752 [BZ #18602]
4753 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
4754 round-to-nearest internally then recompute results that
4755 underflowed to zero in the original rounding mode.
4756 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
4757 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
4758 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
4759 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
4760 * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
4761 * sysdeps/i386/fpu/libm-test-ulps: Update.
4762 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4763
4764 2015-06-25 Andrew Senkevich <andrew.senkevich@intel.com>
4765
4766 * NEWS: Fixed description of link with vector math library.
4767
4768 2015-06-25 Andreas Schwab <schwab@suse.de>
4769
4770 [BZ #18549]
4771 * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
4772 * libio/test-fmemopen.c (do_test): Add test for it.
4773
4774 2015-06-25 H.J. Lu <hongjiu.lu@intel.com>
4775
4776 [BZ #17841]
4777 * Makeconfig (no-pie-ldflag): New.
4778 (+link): Set to $(+link-pie) if default to PIE.
4779 (+link-tests): Set to $(+link-pie-tests) if default to PIE.
4780 * config.make.in (build-pie-default): New.
4781 * configure.ac (libc_cv_pie_default): New. Set to yes if -fPIE
4782 is default. AC_SUBST.
4783 * configure: Regenerated.
4784 * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
4785
4786 2015-06-24 Roland McGrath <roland@hack.frob.com>
4787
4788 * nptl/descr.h (struct pthread): Change type of field setxid_futex
4789 to 'unsigned int'.
4790
4791 * resolv/gai_misc.h (struct waitlist): Change type of field
4792 counterp to 'volatile unsigned int *'.
4793 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
4794 FUTEXADDR and OLDVAL.
4795 * resolv/getaddrinfo_a.c (getaddrinfo_a):
4796 Give local variable TOTAL type 'volatile unsigned int'.
4797 (struct async_waitlist): Change type of field counter to 'unsigned int'.
4798 * resolv/gai_suspend.c (gai_suspend):
4799 Give local variable CNTR type 'unsigned int'.
4800
4801 * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
4802 counterp to 'volatile unsigned int *'.
4803 * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
4804 (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
4805 (aio_suspend): Give local variable CNTR type 'unsigned int'.
4806 * sysdeps/pthread/lio_listio.c (lio_listio_internal):
4807 Give local variable TOTAL type 'volatile unsigned int'.
4808 (struct async_waitlist): Change type of field counter to 'unsigned int'.
4809
4810 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
4811
4812 [BZ #18383]
4813 * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
4814 TCB_OFFSET to MAX_ALIGN, not just TCBALIGN. Add comment.
4815 * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
4816 comment for i386/x86-64.
4817 (test-xfail-tst-tlsalign-extern-static): Removed.
4818
4819 2015-06-24 Joseph Myers <joseph@codesourcery.com>
4820
4821 * math/test-double.h: New file.
4822 * math/test-float.h: Likewise.
4823 * math/test-ldouble.h: Likewise.
4824 * math/test-math-inline.h: Likewise.
4825 * math/test-math-no-inline.h: Likewise.
4826 * math/test-math-scalar.h: Likewise.
4827 * math/test-math-vector.h: Likewise.
4828 * math/test-vec-loop.h: Remove file. Contents moved into
4829 test-math-vector.h.
4830 * math/libm-test.inc (MATHCONST): Do not document macro.
4831 * math/test-double.c: Include test-double.h, test-math-no-inline.h
4832 and test-math-scalar.h.
4833 (FUNC): Remove macro.
4834 (FUNC_TEST): Likewise.
4835 (FLOAT): Likewise.
4836 (MATHCONST): Likewise.
4837 (PRINTF_EXPR): Likewise.
4838 (PRINTF_XEXPR): Likewise.
4839 (PRINTF_NEXPR): Likewise.
4840 (TEST_DOUBLE): Likewise.
4841 (TEST_MATHVEC): Likewise.
4842 (__NO_MATH_INLINES): Likewise.
4843 * math/test-float.c: Include test-float.h, test-math-no-inline.h
4844 and test-math-scalar.h.
4845 (FUNC): Remove macro.
4846 (FUNC_TEST): Likewise.
4847 (FLOAT): Likewise.
4848 (MATHCONST): Likewise.
4849 (PRINTF_EXPR): Likewise.
4850 (PRINTF_XEXPR): Likewise.
4851 (PRINTF_NEXPR): Likewise.
4852 (TEST_FLOAT): Likewise.
4853 (TEST_MATHVEC): Likewise.
4854 (__NO_MATH_INLINES): Likewise.
4855 * math/test-idouble.c: Include test-double.h, test-math-inline.h
4856 and test-math-scalar.h.
4857 (FUNC): Remove macro.
4858 (FUNC_TEST): Likewise.
4859 (FLOAT): Likewise.
4860 (MATHCONST): Likewise.
4861 (PRINTF_EXPR): Likewise.
4862 (PRINTF_XEXPR): Likewise.
4863 (PRINTF_NEXPR): Likewise.
4864 (TEST_DOUBLE): Likewise.
4865 (TEST_MATHVEC): Likewise.
4866 (TEST_INLINE): Likewise.
4867 (__NO_MATH_INLINES): Likewise.
4868 * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
4869 test-math-scalar.h.
4870 (FUNC): Remove macro.
4871 (FUNC_TEST): Likewise.
4872 (FLOAT): Likewise.
4873 (MATHCONST): Likewise.
4874 (PRINTF_EXPR): Likewise.
4875 (PRINTF_XEXPR): Likewise.
4876 (PRINTF_NEXPR): Likewise.
4877 (TEST_FLOAT): Likewise.
4878 (TEST_MATHVEC): Likewise.
4879 (TEST_INLINE): Likewise.
4880 (__NO_MATH_INLINES): Likewise.
4881 * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
4882 and test-math-scalar.h.
4883 (FUNC): Remove macro.
4884 (FUNC_TEST): Likewise.
4885 (FLOAT): Likewise.
4886 (MATHCONST): Likewise.
4887 (PRINTF_EXPR): Likewise.
4888 (PRINTF_XEXPR): Likewise.
4889 (PRINTF_NEXPR): Likewise.
4890 (TEST_LDOUBLE): Likewise.
4891 (TEST_MATHVEC): Likewise.
4892 (TEST_INLINE): Likewise.
4893 (__NO_MATH_INLINES): Likewise.
4894 * math/test-ldouble.c: Include test-ldouble.h,
4895 test-math-no-inline.h and test-math-scalar.h.
4896 (FUNC): Remove macro.
4897 (FUNC_TEST): Likewise.
4898 (FLOAT): Likewise.
4899 (MATHCONST): Likewise.
4900 (PRINTF_EXPR): Likewise.
4901 (PRINTF_XEXPR): Likewise.
4902 (PRINTF_NEXPR): Likewise.
4903 (TEST_LDOUBLE): Likewise.
4904 (TEST_MATHVEC): Likewise.
4905 (__NO_MATH_INLINES): Likewise.
4906 * math/test-double-vlen2.h: Include test-double.h,
4907 test-math-no-inline.h and test-math-vector.h.
4908 (FLOAT): Remove macro.
4909 (FUNC): Likewise.
4910 (MATHCONST): Likewise.
4911 (PRINTF_EXPR): Likewise.
4912 (PRINTF_XEXPR): Likewise.
4913 (PRINTF_NEXPR): Likewise.
4914 (TEST_DOUBLE): Likewise.
4915 (TEST_MATHVEC): Likewise.
4916 (__NO_MATH_INLINES): Likewise.
4917 (CNCT): Likewise.
4918 (CONCAT): Likewise.
4919 (WRAPPER_NAME): Likewise.
4920 (WRAPPER_DECL): Likewise.
4921 (WRAPPER_DECL_ff): Likewise.
4922 (WRAPPER_DECL_fFF): Likewise.
4923 (VECTOR_WRAPPER): Likewise.
4924 (VECTOR_WRAPPER_ff): Likewise.
4925 (VECTOR_WRAPPER_fFF): Likewise.
4926 (VEC_LEN): New macro.
4927 * math/test-double-vlen4.h: Include test-double.h,
4928 test-math-no-inline.h and test-math-vector.h.
4929 (FLOAT): Remove macro.
4930 (FUNC): Likewise.
4931 (MATHCONST): Likewise.
4932 (PRINTF_EXPR): Likewise.
4933 (PRINTF_XEXPR): Likewise.
4934 (PRINTF_NEXPR): Likewise.
4935 (TEST_DOUBLE): Likewise.
4936 (TEST_MATHVEC): Likewise.
4937 (__NO_MATH_INLINES): Likewise.
4938 (CNCT): Likewise.
4939 (CONCAT): Likewise.
4940 (WRAPPER_NAME): Likewise.
4941 (WRAPPER_DECL): Likewise.
4942 (WRAPPER_DECL_ff): Likewise.
4943 (WRAPPER_DECL_fFF): Likewise.
4944 (VECTOR_WRAPPER): Likewise.
4945 (VECTOR_WRAPPER_ff): Likewise.
4946 (VECTOR_WRAPPER_fFF): Likewise.
4947 (VEC_LEN): New macro.
4948 * math/test-double-vlen8.h: Include test-double.h,
4949 test-math-no-inline.h and test-math-vector.h.
4950 (FLOAT): Remove macro.
4951 (FUNC): Likewise.
4952 (MATHCONST): Likewise.
4953 (PRINTF_EXPR): Likewise.
4954 (PRINTF_XEXPR): Likewise.
4955 (PRINTF_NEXPR): Likewise.
4956 (TEST_DOUBLE): Likewise.
4957 (TEST_MATHVEC): Likewise.
4958 (__NO_MATH_INLINES): Likewise.
4959 (CNCT): Likewise.
4960 (CONCAT): Likewise.
4961 (WRAPPER_NAME): Likewise.
4962 (WRAPPER_DECL): Likewise.
4963 (WRAPPER_DECL_ff): Likewise.
4964 (WRAPPER_DECL_fFF): Likewise.
4965 (VECTOR_WRAPPER): Likewise.
4966 (VECTOR_WRAPPER_ff): Likewise.
4967 (VECTOR_WRAPPER_fFF): Likewise.
4968 (VEC_LEN): New macro.
4969 * math/test-float-vlen4.h: Include test-float.h,
4970 test-math-no-inline.h and test-math-vector.h.
4971 (FLOAT): Remove macro.
4972 (FUNC): Likewise.
4973 (MATHCONST): Likewise.
4974 (PRINTF_EXPR): Likewise.
4975 (PRINTF_XEXPR): Likewise.
4976 (PRINTF_NEXPR): Likewise.
4977 (TEST_FLOAT): Likewise.
4978 (TEST_MATHVEC): Likewise.
4979 (__NO_MATH_INLINES): Likewise.
4980 (CNCT): Likewise.
4981 (CONCAT): Likewise.
4982 (WRAPPER_NAME): Likewise.
4983 (WRAPPER_DECL): Likewise.
4984 (WRAPPER_DECL_ff): Likewise.
4985 (WRAPPER_DECL_fFF): Likewise.
4986 (VECTOR_WRAPPER): Likewise.
4987 (VECTOR_WRAPPER_ff): Likewise.
4988 (VECTOR_WRAPPER_fFF): Likewise.
4989 (VEC_LEN): New macro.
4990 * math/test-float-vlen8.h: Include test-float.h,
4991 test-math-no-inline.h and test-math-vector.h.
4992 (FLOAT): Remove macro.
4993 (FUNC): Likewise.
4994 (MATHCONST): Likewise.
4995 (PRINTF_EXPR): Likewise.
4996 (PRINTF_XEXPR): Likewise.
4997 (PRINTF_NEXPR): Likewise.
4998 (TEST_FLOAT): Likewise.
4999 (TEST_MATHVEC): Likewise.
5000 (__NO_MATH_INLINES): Likewise.
5001 (CNCT): Likewise.
5002 (CONCAT): Likewise.
5003 (WRAPPER_NAME): Likewise.
5004 (WRAPPER_DECL): Likewise.
5005 (WRAPPER_DECL_ff): Likewise.
5006 (WRAPPER_DECL_fFF): Likewise.
5007 (VECTOR_WRAPPER): Likewise.
5008 (VECTOR_WRAPPER_ff): Likewise.
5009 (VECTOR_WRAPPER_fFF): Likewise.
5010 (VEC_LEN): New macro.
5011 * math/test-float-vlen16.h: Include test-float.h,
5012 test-math-no-inline.h and test-math-vector.h.
5013 (FLOAT): Remove macro.
5014 (FUNC): Likewise.
5015 (MATHCONST): Likewise.
5016 (PRINTF_EXPR): Likewise.
5017 (PRINTF_XEXPR): Likewise.
5018 (PRINTF_NEXPR): Likewise.
5019 (TEST_FLOAT): Likewise.
5020 (TEST_MATHVEC): Likewise.
5021 (__NO_MATH_INLINES): Likewise.
5022 (CNCT): Likewise.
5023 (CONCAT): Likewise.
5024 (WRAPPER_NAME): Likewise.
5025 (WRAPPER_DECL): Likewise.
5026 (WRAPPER_DECL_ff): Likewise.
5027 (WRAPPER_DECL_fFF): Likewise.
5028 (VECTOR_WRAPPER): Likewise.
5029 (VECTOR_WRAPPER_ff): Likewise.
5030 (VECTOR_WRAPPER_fFF): Likewise.
5031 (VEC_LEN): New macro.
5032 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
5033 test-vec-loop.h.
5034 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
5035 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
5036 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
5037 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
5038 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
5039 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
5040 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
5041
5042 2015-06-24 Roland McGrath <roland@hack.frob.com>
5043
5044 * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
5045 (__getlogin_r): ... this.
5046
5047 2015-06-24 Joseph Myers <joseph@codesourcery.com>
5048
5049 [BZ #18594]
5050 * math/s_ccosh.c (__ccosh): Compare with least normal value
5051 instead of comparing class with FP_SUBNORMAL.
5052 * math/s_ccoshf.c (__ccoshf): Likewise.
5053 * math/s_ccoshl.c (__ccoshl): Likewise.
5054 * math/s_cexp.c (__cexp): Likewise.
5055 * math/s_cexpf.c (__cexpf): Likewise.
5056 * math/s_cexpl.c (__cexpl): Likewise.
5057 * math/s_csin.c (__csin): Likewise.
5058 * math/s_csinf.c (__csinf): Likewise.
5059 * math/s_csinh.c (__csinh): Likewise.
5060 * math/s_csinhf.c (__csinhf): Likewise.
5061 * math/s_csinhl.c (__csinhl): Likewise.
5062 * math/s_csinl.c (__csinl): Likewise.
5063 * math/s_ctan.c (__ctan): Likewise.
5064 * math/s_ctanf.c (__ctanf): Likewise.
5065 * math/s_ctanh.c (__ctanh): Likewise.
5066 * math/s_ctanhf.c (__ctanhf): Likewise.
5067 * math/s_ctanhl.c (__ctanhl): Likewise.
5068 * math/s_ctanl.c (__ctanl): Likewise.
5069 * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
5070 csin, csinh, ctan and ctanh.
5071 * math/auto-libm-test-out: Regenerated.
5072 * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
5073 * sysdeps/i386/fpu/libm-test-ulps: Update.
5074 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5075
5076 2015-06-24 Roland McGrath <roland@hack.frob.com>
5077
5078 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
5079 return value is wrong, print the expected value too.
5080
5081 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
5082
5083 [BZ #18585]
5084 * elf/readlib.c (is_gdb_python_file): New.
5085 (process_file): Don't issue errors on filenames with -gdb.py
5086 suffix.
5087
5088 2015-06-24 Joseph Myers <joseph@codesourcery.com>
5089
5090 * math/auto-libm-test-in: Add more tests of csin and csinh.
5091 * math/auto-libm-test-out: Regenerated.
5092 * math/libm-test.inc (csin_test_data): Remove tests moved to
5093 auto-libm-test-in.
5094 (csinh_test_data): Likewise.
5095
5096 [BZ #18593]
5097 * math/s_csin.c (__csin): Negate before rather than after possibly
5098 overflowing multiplication.
5099 * math/s_csinf.c (__csinf): Likewise.
5100 * math/s_csinh.c (__csinh): Likewise.
5101 * math/s_csinhf.c (__csinhf): Likewise.
5102 * math/s_csinhl.c (__csinhl): Likewise.
5103 * math/s_csinl.c (__csinl): Likewise.
5104 * math/auto-libm-test-in: Add some tests of csin and csinh.
5105 * math/auto-libm-test-out: Regenerated.
5106 * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
5107 (csinh_test_data): Likewise.
5108 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5109
5110 [BZ #18586]
5111 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
5112 underflow exception for small results.
5113
5114 2015-06-24 Andrew Senkevich <andrew.senkevich@intel.com>
5115
5116 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
5117 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
5118 variable and included header.
5119 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
5120 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
5121 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
5122 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
5123 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
5124 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
5125 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
5126 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
5127 * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
5128 * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
5129 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
5130 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
5131 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
5132 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
5133 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
5134 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
5135
5136 2015-06-23 Joseph Myers <joseph@codesourcery.com>
5137
5138 [BZ #16526]
5139 [BZ #16538]
5140 * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
5141 (__sin): Force underflow exception for arguments with small
5142 absolute value.
5143 * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
5144 (__kernel_sinf): Force underflow exception for arguments with
5145 small absolute value.
5146 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
5147 (__kernel_sincosl): Force underflow exception for arguments with
5148 small absolute value.
5149 * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
5150 (__kernel_sinl): Force underflow exception for arguments with
5151 small absolute value.
5152 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
5153 (__kernel_sincosl): Force underflow exception for arguments with
5154 small absolute value.
5155 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
5156 (__kernel_sinl): Force underflow exception for arguments with
5157 small absolute value.
5158 * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
5159 (__kernel_sinl): Force underflow exception for arguments with
5160 small absolute value.
5161 * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
5162 (__kernel_sinf): Force underflow exception for arguments with
5163 small absolute value.
5164 * math/auto-libm-test-in: Add more tests of sin and sincos.
5165 * math/auto-libm-test-out: Regenerated.
5166
5167 [BZ #18245]
5168 [BZ #18583]
5169 * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
5170 (__kernel_standard_l): Use feholdexcept and fesetenv around
5171 conversion to double instead of special-casing overflow and
5172 underflow.
5173 * math/libm-test.inc (fmod_test_data): Add more tests.
5174 (remainder_test_data): Likewise.
5175 (sqrt_test_data): Likewise.
5176
5177 2015-06-23 Torvald Riegel <triegel@redhat.com>
5178
5179 [BZ #17403]
5180 * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
5181 atomic_read_barrier, atomic_write_barrier): Define.
5182 * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
5183 atomic_read_barrier, atomic_write_barrier): Define.
5184
5185 2015-06-23 Joseph Myers <joseph@codesourcery.com>
5186
5187 * math/Makefile [$(PERL) != no]
5188 ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
5189 dependency on libm-test.stmp below the inclusion of Rules.
5190
5191 2015-06-23 Andrew Senkevich <andrew.senkevich@intel.com>
5192
5193 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
5194 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
5195 and included header.
5196 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
5197 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
5198 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
5199 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
5200 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
5201 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
5202 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
5203 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
5204 * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
5205 * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
5206 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
5207 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
5208 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
5209 * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
5210 * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
5211 * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
5212 * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
5213 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
5214 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
5215
5216 2015-06-23 Joseph Myers <joseph@codesourcery.com>
5217
5218 [BZ #18371]
5219 * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
5220 intermediate but not final result might underflow.
5221 * math/s_csqrtf.c (__csqrtf): Likewise.
5222 * math/s_csqrtl.c (__csqrtl): Likewise.
5223 * math/auto-libm-test-in: Add more tests of csqrt.
5224 * math/auto-libm-test-out: Regenerated.
5225 * sysdeps/i386/fpu/libm-test-ulps: Update.
5226
5227 [BZ #18219]
5228 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
5229 threshold on absolute value of exponent for which scaling is used.
5230 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
5231 * math/auto-libm-test-in: Add more tests of exp2.
5232 * math/auto-libm-test-out: Regenerated.
5233
5234 2015-06-23 Dmitry V. Levin <ldv@altlinux.org>
5235
5236 [BZ #17977]
5237 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
5238 when initializing interface list, based on the bug analysis
5239 and the patch proposed by Eric Newton.
5240 * resolv/tst-res_hconf_reorder.c: New test.
5241 * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
5242 tst-res_hconf_reorder.
5243 ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
5244 and $(shared-thread-library).
5245 (tst-res_hconf_reorder-ENV): New variable.
5246
5247 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
5248 in comment.
5249
5250 2015-06-22 Joseph Myers <joseph@codesourcery.com>
5251
5252 [BZ #16353]
5253 * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
5254 (__expm1): Force underflow exception for arguments with small
5255 absolute value.
5256 * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
5257 (__expm1f): Force underflow exception for arguments with small
5258 absolute value.
5259 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
5260 (__expm1): Force underflow exception for arguments with small
5261 absolute value.
5262 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
5263 (__expm1f): Force underflow exception for arguments with small
5264 absolute value.
5265 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
5266 Check for small arguments before calling __expm1.
5267 * math/auto-libm-test-in: Do not mark underflow exceptions as
5268 possibly missing for bug 16353.
5269 * math/auto-libm-test-out: Regenerated.
5270
5271 2015-06-22 Andreas Schwab <schwab@suse.de>
5272
5273 [BZ #18513]
5274 * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
5275 PTR queries.
5276
5277 2015-06-22 Leonhard Holz <leonhard.holz@web.de>
5278
5279 * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
5280
5281 * string/strcoll_l.c: Remove unused struct element idxnow.
5282
5283 2015-06-21 Joseph Myers <joseph@codesourcery.com>
5284
5285 [BZ #18569]
5286 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
5287 underflow and return argument in case of subnormal argument.
5288 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
5289 Likewise.
5290 * math/auto-libm-test-in: Add more tests of expm1.
5291 * math/auto-libm-test-out: Regenerated.
5292
5293 [BZ #16361]
5294 * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
5295 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
5296 tiny results.
5297 * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
5298 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
5299 tiny results.
5300 * math/auto-libm-test-in: Add more tests of exp and exp10. Do not
5301 mark underflow exceptions as possibly missing for bug 16361.
5302 * math/auto-libm-test-out: Regenerated.
5303
5304 2015-06-19 Joseph Myers <joseph@codesourcery.com>
5305
5306 * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
5307 * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
5308 Remove variable.
5309 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
5310 (test-xfail-XOPEN2K8/utmpx.h/conform).
5311
5312 * conform/conformtest.pl ($xerrors): New variable.
5313 (note_error): New function.
5314 (compiletest): New argument $xfail. Use not_error.
5315 (runtest): Likewise.
5316 (top level): Handle xfail- lines. Update calls to compiletest and
5317 runtest. Handle xfail- and optional- in headers listed with
5318 allow-header.
5319 * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
5320 (O_EXEC): Likewise.
5321 (O_SEARCH): Likewise.
5322 * conform/data/stropts.h-data (ioctl): Likewise.
5323 * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
5324 * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
5325 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
5326 (msghdr.msg_controllen): Likewise.
5327 (cmsghdr.cmsg_len): Likewise.
5328 * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
5329 * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
5330 variable.
5331 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
5332 (test-xfail-XPG4/stropts.h/conform): Likewise.
5333 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
5334 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
5335 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
5336 (test-xfail-UNIX98/stropts.h/conform): Likewise.
5337 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
5338 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
5339 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
5340 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
5341 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
5342 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
5343 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
5344 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
5345 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
5346 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
5347 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
5348 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
5349 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
5350 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
5351 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
5352
5353 2015-06-19 Andrew Senkevich <andrew.senkevich@intel.com>
5354
5355 * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
5356 __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
5357 definitions for proper unfolding of __MATHDECL_VEC.
5358
5359 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
5360
5361 * benchtests/bench-strcoll.c:
5362 Include string.h.
5363 (main): Remove unused variable res.
5364
5365 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
5366
5367 * timezone/Makefile (%/UTC %/Universal):
5368 Generate test-result files for UTC and Universal.
5369
5370 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
5371
5372 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
5373
5374 2015-06-18 Joseph Myers <joseph@codesourcery.com>
5375
5376 [BZ #16350]
5377 * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
5378 for arguments with small absolute value.
5379 * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
5380 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
5381 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
5382 (__asinh): Force underflow exception for arguments with small
5383 absolute value.
5384 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
5385 (__asinhf): Force underflow exception for arguments with small
5386 absolute value.
5387 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
5388 (__asinhl): Force underflow exception for arguments with small
5389 absolute value.
5390 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
5391 (__asinhl): Force underflow exception for arguments with small
5392 absolute value.
5393 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
5394 (__asinhl): Force underflow exception for arguments with small
5395 absolute value.
5396 * math/auto-libm-test-in: Do not mark underflow exceptions as
5397 possibly missing for bug 16350.
5398 * math/auto-libm-test-out: Regenerated.
5399
5400 * include/bits/ipc.h: Remove file.
5401 * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
5402 variable.
5403 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
5404 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
5405 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
5406 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
5407 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
5408 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
5409 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
5410 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
5411 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
5412
5413 * math/auto-libm-test-in: Remove spurious underflow allowance for
5414 tests of cexp.
5415 * math/auto-libm-test-out: Regenerated.
5416
5417 [BZ #18558]
5418 * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
5419 unconditional definition.
5420 (MCAST_BLOCK_SOURCE): Likewise.
5421 (MCAST_UNBLOCK_SOURCE): Likewise.
5422 (MCAST_LEAVE_GROUP): Likewise.
5423 (MCAST_JOIN_SOURCE_GROUP): Likewise.
5424 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
5425 (MCAST_MSFILTER): Likewise.
5426 * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
5427 Remove variable.
5428 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
5429 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
5430 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
5431 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
5432 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
5433
5434 2015-06-18 Andrew Senkevich <andrew.senkevich@intel.com>
5435
5436 * NEWS: Mention addition of x86_64 vector sincosf.
5437 * math/test-float-vlen16.h: Added wrapper for sincosf tests.
5438 * math/test-float-vlen4.h: Likewise.
5439 * math/test-float-vlen8.h: Likewise.
5440 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
5441 * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
5442 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5443 * sysdeps/x86_64/fpu/Versions: New versions added.
5444 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5445 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
5446 Added build of SSE, AVX2 and AVX512 IFUNC versions.
5447 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
5448 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
5449 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
5450 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
5451 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
5452 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
5453 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
5454 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
5455 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
5456 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
5457 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
5458 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
5459 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
5460 * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
5461 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
5462 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
5463 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
5464 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
5465 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
5466 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
5467 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
5468
5469 * NEWS: Mention addition of x86_64 vector sincos.
5470 * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
5471 * math/math.h (__MATHDECL_VEC): New macro.
5472 * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
5473 * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
5474 declaration under condition.
5475 * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
5476 * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
5477 TEST_VEC_LOOP change.
5478 * math/test-double-vlen4.h: Likewise.
5479 * math/test-double-vlen8.h: Likewise.
5480 * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
5481 * math/test-float-vlen4.h: Likewise.
5482 * math/test-float-vlen8.h: Likewise.
5483 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
5484 * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
5485 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5486 * sysdeps/x86_64/fpu/Versions: New versions added.
5487 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5488 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
5489 Added build of SSE, AVX2 and AVX512 IFUNC versions.
5490 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
5491 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
5492 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
5493 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
5494 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
5495 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
5496 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
5497 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
5498 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
5499 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
5500 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
5501 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
5502 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
5503 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
5504 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
5505 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
5506 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
5507 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
5508 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
5509 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
5510 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
5511
5512 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
5513 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
5514 redirections for powf.
5515 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5516 * sysdeps/x86_64/fpu/Versions: New versions added.
5517 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5518 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
5519 Added build of SSE, AVX2 and AVX512 IFUNC versions.
5520 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
5521 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
5522 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
5523 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
5524 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
5525 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
5526 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
5527 * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
5528 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
5529 * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
5530 * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
5531 * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
5532 * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
5533 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
5534 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
5535 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
5536 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
5537 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
5538 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
5539 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
5540 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
5541 * math/test-float-vlen16.h: Fixed 2 argument macro.
5542 * math/test-float-vlen4.h: Likewise.
5543 * math/test-float-vlen8.h: Likewise.
5544 * NEWS: Mention addition of x86_64 vector powf.
5545
5546 2015-06-17 Joseph Myers <joseph@codesourcery.com>
5547
5548 * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5549 and redefine.
5550 * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5551 and redefine.
5552 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
5553 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
5554 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
5555
5556 [BZ #18553]
5557 * resource/getpriority.c (getpriority): Rename to __getpriority
5558 and define as weak alias of __getpriority.
5559 * resource/setpriority.c (setpriority): Rename to __setpriority
5560 and define as weak alias of __setpriority.
5561 * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
5562 __getpriority and define as weak alias of __getpriority.
5563 * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
5564 __setpriority and define as weak alias of __setpriority.
5565 * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
5566 strong name.
5567 (setpriority): Use __setpriority as strong name.
5568 * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
5569 __getpriority and define as weak alias of __getpriority.
5570 * include/sys/resource.h (__getpriority): Declare. Use
5571 libc_hidden_proto.
5572 (__setpriority): Likewise.
5573 (getpriority): Don't use libc_hidden_proto.
5574 (setpriority): Likewise.
5575 * sysdeps/posix/nice.c (nice): Call __getpriority instead of
5576 getpriority. Call __setpriority instead of setpriority.
5577 * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
5578 Remove variable.
5579
5580 [BZ #18547]
5581 * misc/getttyent.c (getttynam): Rename to __getttynam and define
5582 as weak alias of __getttynam. Use prototype function definition.
5583 Call __setttyent, __getttyent and __endttyent instead of
5584 setttyent, getttyent and endttyent.
5585 (getttyent): Rename to __getttyent and define as weak alias of
5586 __getttyent. Call __setttyent instead of setttyent. Call
5587 __fgets_unlocked instead of fgets_unlocked.
5588 (setttyent): Rename to __setttyent and define as weak alias of
5589 __setttyent.
5590 (endttyent): Rename to __endttyent and define as weak alias of
5591 __endttyent.
5592 * include/ttyent.h (__getttyent): Declare. Use libc_hidden_proto.
5593 (__setttyent): Likewise.
5594 (__endttyent): Likewise.
5595 (getttyent): Don't use libc_hidden_proto.
5596 (setttyent): Likewise.
5597 (endttyent): Likewise.
5598 * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
5599 __endttyent instead of setttyent, getttyent and endttyent.
5600 * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
5601 Remove variable.
5602
5603 [BZ #18546]
5604 * socket/recv.c (__recv): Use libc_hidden_def.
5605 * socket/socket.c (__socket): Likewise.
5606 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
5607 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
5608 * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
5609 * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
5610 * sysdeps/unix/sysv/linux/socket.c (__socket): Use
5611 libc_hidden_def.
5612 * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
5613 libc_hidden_weak.
5614 * include/sys/socket.h (__socket): Do not use attribute_hidden.
5615 Use libc_hidden_proto.
5616 (__recv): Likewise.
5617 * socket/Versions (libc): Export __recv and __socket at version
5618 GLIBC_PRIVATE.
5619 * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
5620 instead of recv.
5621 (init_mq_netlink): Call __socket instead of socket.
5622 * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
5623 Remove variable.
5624
5625 [BZ #18545]
5626 * rt/mq_timedreceive.c (mq_timedreceive): Rename to
5627 __mq_timedreceive and define as alias of __mq_timedreceive. Use
5628 hidden_weak.
5629 * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
5630 define as alias of __mq_timedsend. Use hidden_weak.
5631 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
5632 __mq_timedsend as strong name.
5633 (mq_timedreceive): Use __mq_timedreceive as strong name.
5634 * include/mqueue.h (__mq_timedsend): Declare. Use hidden_proto.
5635 (__mq_timedreceive): Likewise.
5636 * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
5637 __mq_timedreceive instead of mq_timedreceive.
5638 * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
5639 instead of mq_timedsend.
5640 * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
5641 Remove variable.
5642
5643 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
5644 hidden_def and hidden_weak instead of libc_hidden_def and
5645 libc_hidden_weak.
5646 (top level): Refer to hidden_def in comment.
5647 * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
5648 macro. Use it instead of libc_hidden_def.
5649 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
5650 specify __GI_* name explicitly.
5651 (mq_timedreceive): Likewise.
5652 (mq_setattr): Likewise.
5653
5654 [BZ #18544]
5655 * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
5656 __pthread_barrier_init and define as weak alias of
5657 __pthread_barrier_init.
5658 * sysdeps/sparc/nptl/pthread_barrier_init.c
5659 (pthread_barrier_init): Likewise.
5660 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
5661 __pthread_barrier_wait and define as weak alias of
5662 __pthread_barrier_wait.
5663 * sysdeps/sparc/nptl/pthread_barrier_wait.c
5664 (pthread_barrier_wait): Likewise.
5665 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
5666 (pthread_barrier_wait): Likewise.
5667 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
5668 (pthread_barrier_wait): Likewise.
5669 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
5670 (pthread_barrier_wait): Likewise.
5671 * nptl/Versions (libpthread): Export __pthread_barrier_init and
5672 __pthread_barrier_wait at version GLIBC_PRIVATE.
5673 * include/pthread.h (__pthread_barrier_init): Declare.
5674 (__pthread_barrier_wait): Likewise.
5675 * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
5676 Call __pthread_barrier_wait instead of pthread_barrier_wait.
5677 (helper_thread): Likewise.
5678 (init_mq_netlink): Call __pthread_barrier_init instead of
5679 pthread_barrier_init.
5680
5681 [BZ #18542]
5682 * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
5683 (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
5684 * include/wchar.h (__vswscanf): Declare. Use libc_hidden_proto.
5685 * libio/swscanf.c (__swscanf): Call __vswscanf instead of
5686 vswscanf.
5687 * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
5688 Remove variable.
5689
5690 [BZ #18540]
5691 * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
5692 strong alias of _IO_fflush. Use libc_hidden_def.
5693 * libio/iofflush_u.c (fflush_unlocked): Rename to
5694 __fflush_unlocked and define as weak alias of __fflush_unlocked.
5695 Use libc_hidden_weak.
5696 * include/stdio.h (__fflush_unlocked): Declare. Use
5697 libc_hidden_proto.
5698 * misc/getpass.c (getpass): Call __fflush_unlocked instead of
5699 fflush_unlocked.
5700 * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
5701 Remove variable.
5702
5703 [BZ #18539]
5704 * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
5705 define as weak alias of __addseverity.
5706 * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
5707 Remove variable.
5708 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
5709 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
5710 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
5711
5712 [BZ #18536]
5713 * misc/tsearch.c (__tsearch): Use libc_hidden_def.
5714 (__tfind): Likewise.
5715 (__tdelete): Likewise.
5716 (__twalk): Likewise.
5717 * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
5718 __twalk to GLIBC_PRIVATE.
5719 * include/search.h (__tsearch): Use libc_hidden_proto.
5720 (__tfind): Likewise.
5721 (__tdelete): Likewise.
5722 (__twalk): Likewise.
5723 * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
5724 Call __tdelete instead of tdelete.
5725 * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
5726 tfind. Call __tsearch instead of tsearch.
5727 * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
5728 * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
5729 Remove variable.
5730 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
5731
5732 [BZ #18534]
5733 * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
5734 (dprintf): Define as a weak alias of __dprintf, not a strong
5735 alias.
5736 * include/stdio.h (__dprintf): Declare. Use libc_hidden_proto.
5737 * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
5738 dprintf.
5739 * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
5740 Remove variable.
5741 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
5742 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
5743
5744 [BZ #18533]
5745 * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
5746 not a strong alias.
5747 * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
5748 Remove variable.
5749
5750 [BZ #18532]
5751 * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
5752 define as weak alias of __in6addr_any. Use libc_hidden_data_weak.
5753 (in6addr_loopback): Rename to __in6addr_loopback and define as
5754 weak alias of __in6addr_loopback. Use libc_hidden_data_weak.
5755 * include/netinet/in.h (__in6addr_loopback): Declare. Use
5756 libc_hidden_proto.
5757 (__in6addr_any): Likewise.
5758 * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
5759 in6addr_any.
5760 * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
5761 variable.
5762 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
5763
5764 2015-06-17 Andrew Senkevich <andrew.senkevich@intel.com>
5765
5766 * bits/libm-simd-decl-stubs.h: Added stubs for pow.
5767 * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
5768 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
5769 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
5770 redirections for pow.
5771 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5772 * sysdeps/x86_64/fpu/Versions: New versions added.
5773 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5774 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
5775 build of SSE, AVX2 and AVX512 IFUNC versions.
5776 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
5777 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
5778 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
5779 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
5780 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
5781 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
5782 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
5783 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
5784 * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
5785 * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
5786 * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
5787 * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
5788 * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
5789 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
5790 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
5791 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
5792 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
5793 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
5794 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
5795 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
5796 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
5797 * NEWS: Mention addition of x86_64 vector pow.
5798
5799 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
5800 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
5801 redirections for expf.
5802 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5803 * sysdeps/x86_64/fpu/Versions: New versions added.
5804 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5805 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
5806 build of SSE, AVX2 and AVX512 IFUNC versions.
5807 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
5808 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
5809 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
5810 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
5811 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
5812 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
5813 * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
5814 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
5815 * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
5816 * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
5817 * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
5818 * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
5819 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
5820 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
5821 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
5822 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
5823 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
5824 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
5825 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
5826 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
5827 * NEWS: Mention addition of x86_64 vector expf.
5828
5829 * bits/libm-simd-decl-stubs.h: Added stubs for exp.
5830 * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
5831 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
5832 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
5833 redirections for exp.
5834 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5835 * sysdeps/x86_64/fpu/Versions: New versions added.
5836 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5837 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
5838 build of SSE, AVX2 and AVX512 IFUNC versions.
5839 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
5840 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
5841 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
5842 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
5843 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
5844 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
5845 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
5846 * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
5847 * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
5848 * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
5849 * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
5850 * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
5851 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
5852 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
5853 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
5854 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
5855 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
5856 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
5857 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
5858 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
5859 * NEWS: Mention addition of x86_64 vector exp.
5860
5861 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
5862 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
5863 redirections for logf.
5864 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5865 * sysdeps/x86_64/fpu/Versions: New versions added.
5866 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5867 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
5868 build of SSE, AVX2 and AVX512 IFUNC versions.
5869 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
5870 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
5871 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
5872 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
5873 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
5874 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
5875 * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
5876 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
5877 * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
5878 * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
5879 * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
5880 * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
5881 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
5882 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
5883 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
5884 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
5885 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
5886 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
5887 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
5888 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
5889 * NEWS: Mention addition of x86_64 vector logf.
5890
5891 * bits/libm-simd-decl-stubs.h: Added stubs for log.
5892 * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
5893 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
5894 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
5895 redirections for log.
5896 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5897 * sysdeps/x86_64/fpu/Versions: New versions added.
5898 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5899 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
5900 build of SSE, AVX2 and AVX512 IFUNC versions.
5901 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
5902 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
5903 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
5904 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
5905 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
5906 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
5907 * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
5908 * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
5909 * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
5910 * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
5911 * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
5912 * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
5913 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
5914 test.
5915 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
5916 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
5917 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
5918 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
5919 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
5920 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
5921 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
5922 * NEWS: Mention addition of x86_64 vector log.
5923
5924 2015-06-17 Szabolcs Nagy <szabolcs.nagy@arm.com>
5925
5926 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
5927 cfi_adjust_cfa_offset argument.
5928 (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
5929 (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
5930
5931 [BZ #18034]
5932 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
5933 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
5934 (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
5935 ordering using ldar.
5936 (_dl_tlsdesc_dynamic): Likewise.
5937 (_dl_tlsdesc_return_lazy): Likewise.
5938 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
5939 relaxed atomics instead of volatile and synchronize with release store.
5940 (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
5941 volatile.
5942 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
5943
5944 2015-06-15 Andrew Senkevich <andrew.senkevich@intel.com>
5945
5946 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
5947 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
5948 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5949 * sysdeps/x86_64/fpu/Versions: New versions added.
5950 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5951 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
5952 build of SSE, AVX2 and AVX512 IFUNC versions.
5953 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
5954 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
5955 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
5956 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
5957 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
5958 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
5959 * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
5960 * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
5961 * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
5962 * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
5963 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
5964 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
5965 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
5966 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
5967 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
5968 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
5969 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
5970 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
5971 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
5972 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
5973 * NEWS: Mention addition of x86_64 vector sinf.
5974
5975 2015-06-14 Joseph Myers <joseph@codesourcery.com>
5976
5977 * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
5978 and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
5979 * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
5980 Remove variable.
5981 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
5982 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
5983
5984 2015-06-12 Joseph Myers <joseph@codesourcery.com>
5985
5986 [BZ #18530]
5987 * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
5988 strong alias of _IO_fputs. Use libc_hidden_def.
5989 * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
5990 and define as weak alias of __fputs_unlocked. Use
5991 libc_hidden_weak.
5992 * include/stdio.h (__fputs_unlocked): Declare. Use
5993 libc_hidden_proto.
5994 * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
5995 fputs_unlocked.
5996
5997 [BZ #18529]
5998 * resolv/netdb.h [__USE_POSIX]: Change condition to
5999 [__USE_XOPEN2K].
6000 * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
6001 not expect.
6002 [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
6003 [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
6004 [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
6005 [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
6006 [XPG4 || UNIX98] (AI_ALL): Likewise.
6007 [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
6008 [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
6009 [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
6010 [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
6011 [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
6012 [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
6013 [XPG4 || UNIX98] (NI_DGRAM): Likewise.
6014 [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
6015 [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
6016 [XPG4 || UNIX98] (EAI_FAIL): Likewise.
6017 [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
6018 [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
6019 [XPG4 || UNIX98] (EAI_NONAME): Likewise.
6020 [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
6021 [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
6022 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
6023 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
6024 [XPG4 || UNIX98] (freeaddrinfo): Likewise.
6025 [XPG4 || UNIX98] (gai_strerror): Likewise.
6026 [XPG4 || UNIX98] (getaddrinfo): Likewise.
6027 [XPG4 || UNIX98] (getnameinfo): Likewise.
6028
6029 [BZ #18528]
6030 * grp/grp.h (endgrent): Condition on [__USE_MISC ||
6031 __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
6032 __USE_XOPEN2K8].
6033 (getgrent): Likewise.
6034 * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
6035 expect.
6036 [XPG3 || POSIX2008] (endgrent): Likewise.
6037 [XPG3] (setgrent): Likewise.
6038 * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
6039 variable.
6040 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
6041
6042 [BZ #18527]
6043 * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
6044 define as weak alias of __getlogin_r. Use libc_hidden_weak.
6045 * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
6046 * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
6047 * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
6048 * include/unistd.h (__getlogin_r): Declare. Use
6049 libc_hidden_proto.
6050 * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
6051 * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
6052 variable.
6053 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
6054 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
6055 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
6056
6057 2015-06-12 Martin Sebor <msebor@redhat.com>
6058
6059 [BZ #18512]
6060 * Makerules (check-install-supported): New target.
6061 (install): Add check-install-supported as a dependency.
6062 * manual/install.texi (Installing the C Library): Document
6063 that overriding prefix and exec_prefix is not supported.
6064 Mention DESTDIR.
6065 * INSTALL: Regenerate from the above.
6066
6067 2015-06-12 Joseph Myers <joseph@codesourcery.com>
6068
6069 [BZ #18519]
6070 * posix/Versions (libc): Export __libc_pread at version
6071 GLIBC_PRIVATE.
6072 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
6073 instead of pread.
6074 * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
6075 variable.
6076
6077 [BZ #18522]
6078 * misc/efgcvt_r.c
6079 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
6080 (cvt_symbol): Use weak_alias instead of strong_alias.
6081 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
6082 * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
6083 Remove variable.
6084 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
6085 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
6086
6087 [BZ #18520]
6088 * inet/herrno.c (h_errno): Rename to __h_errno.
6089 (__libc_h_errno): Define as alias of __h_errno not h_errno.
6090 * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
6091 to __h_errno instead of h_errno.
6092 * nptl/herrno.c (h_errno): Rename to __h_errno.
6093 (__h_errno_location): Refer to __h_errno not h_errno.
6094 * resolv/Versions (h_errno): Rename to __h_errno.
6095 * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
6096 Remove variable.
6097 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
6098
6099 2015-06-11 Andrew Senkevich <andrew.senkevich@intel.com>
6100
6101 * configure.ac: More strict check for AVX512 assembler support.
6102 * configure: Regenerated.
6103
6104 * bits/libm-simd-decl-stubs.h: Added stubs for sin.
6105 * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
6106 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
6107 * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
6108 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
6109 * sysdeps/x86_64/fpu/Versions: New versions added.
6110 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6111 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
6112 Added build of SSE, AVX2 and AVX512 IFUNC versions.
6113 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
6114 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
6115 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
6116 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
6117 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
6118 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
6119 * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
6120 * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
6121 * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
6122 * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
6123 * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
6124 * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
6125 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
6126 test.
6127 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
6128 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
6129 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
6130 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
6131 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
6132 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
6133 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
6134 * NEWS: Mention addition of x86_64 vector sin.
6135
6136 2015-06-11 Florian Weimer <fweimer@redhat.com>
6137
6138 * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
6139 comment.
6140
6141 2015-06-10 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
6142
6143 [BZ #18479]
6144 * nptl/pt-interp.c: New file.
6145 * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
6146 Add pt-interp.
6147 [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
6148 $(common-objpfx)runtime-linker.h.
6149
6150 2015-06-10 Dmitry V. Levin <ldv@altlinux.org>
6151
6152 * Makeconfig (+interp): Remove unused variable.
6153 * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
6154 only. Depend on $(common-objpfx)runtime-linker.h instead of
6155 $(elf-objpfx)runtime-linker.h.
6156 ($(elf-objpfx)runtime-linker.h): Rename to
6157 $(common-objpfx)runtime-linker.h and move ...
6158 * Makerules [$(build-shared) = yes]: ... here.
6159 * elf/interp.c: Include <runtime-linker.h> instead of
6160 <elf/runtime-linker.h>.
6161
6162 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6163
6164 * sysdeps/unix/sysv/linux/i386/gettimeofday.c
6165 (__gettimeofday_syscall): Remove vsyscall fallback.
6166 * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
6167 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
6168 Add syscall fallback function.
6169 (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
6170 if vDSO is not present.
6171 * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
6172 fallback function.
6173 (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
6174 present.
6175 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
6176 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
6177
6178 2015-06-09 Joseph Myers <joseph@codesourcery.com>
6179
6180 [BZ #18497]
6181 * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
6182 of wcscmp.
6183 (wcscmp): Define as weak alias of WCSCMP.
6184 * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
6185 wcscoll.
6186 (USE_HIDDEN_DEF): Define.
6187 [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
6188 __wcscoll. Don't use libc_hidden_weak.
6189 * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
6190 wcscmp.
6191 * sysdeps/i386/i686/multiarch/wcscmp-c.c
6192 [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
6193 __GI_wcscmp.
6194 (weak_alias): Undefine and redefine.
6195 * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
6196 __wcscmp and define as weak alias of __wcscmp.
6197 * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
6198 * include/wchar.h (__wcscmp): Declare. Use libc_hidden_proto.
6199 (__wcscoll): Likewise.
6200 (wcscmp): Don't use libc_hidden_proto.
6201 (wcscoll): Likewise.
6202 * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
6203 wcscoll.
6204 * posix/regexec.c (check_node_accept_bytes): Likewise.
6205 * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
6206 variable.
6207 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
6208 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
6209
6210 [BZ #18507]
6211 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
6212 __fstatvfs and define as weak alias of __fstatvfs. Use
6213 libc_hidden_weak.
6214 * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
6215 and define as weak alias of __statvfs. Use libc_hidden_weak.
6216 * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
6217 Define as alias of __fstatvfs, not fstatvfs.
6218 (fstatvfs64): Likewise.
6219 * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
6220 Define as alias of __statvfs, not statvfs.
6221 (statvfs64): Likewise.
6222 * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
6223 Remove variable.
6224
6225 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6226
6227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6228 (HAVE_GETCPU_VSYSCALL): Define.
6229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
6230 (HAVE_GETCPU_VSYSCALL): Likewise.
6231 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
6232 * sysdeps/unix/sysv/linux/sched_getcpu.c
6233 (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
6234 (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
6235 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
6236 prototype.
6237 * sysdeps/unix/sysv/linux/x86_64/init-first.c
6238 (__vdso_platform_setup): Remove vsyscall getcpu fallback.
6239 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
6240 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
6241 Define.
6242 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
6243 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
6244 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
6245 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
6246
6247 2015-06-09 Andrew Senkevich <andrew.senkevich@intel.com>
6248
6249 * sysdeps/x86_64/fpu/Makefile: New file.
6250 * sysdeps/x86_64/fpu/Versions: New file.
6251 * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
6252 * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
6253 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
6254 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
6255 * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
6256 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
6257 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
6258 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
6259 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
6260 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
6261 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
6262 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
6263 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
6264 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
6265 Added build of SSE, AVX2 and AVX512 IFUNC versions.
6266 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
6267 * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
6268 * sysdeps/x86_64/configure.ac: Options for libmvec build.
6269 * sysdeps/x86_64/configure: Regenerated.
6270 * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
6271 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
6272 * manual/install.texi (Configuring and compiling): Document
6273 --disable-mathvec.
6274 * INSTALL: Regenerated.
6275 * NEWS: Mention addition of libmvec and x86_64 vector cos.
6276
6277 * math/Makefile: Added rules for vector tests.
6278 * math/gen-libm-have-vector-test.sh: Added generation of wrapper
6279 declaration under condition.
6280 * math/test-double-vlen2.h: New file.
6281 * math/test-double-vlen4.h: New file.
6282 * math/test-double-vlen8.h: New file.
6283 * math/test-vec-loop.h: Added initialization macro.
6284 * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
6285 * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
6286 * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
6287 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
6288 * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
6289 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
6290 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
6291 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
6292 * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
6293 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
6294 * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
6295
6296 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
6297 * sysdeps/x86_64/fpu/Versions: New versions added.
6298 * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
6299 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
6300 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
6301 * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
6302 * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
6303 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
6304 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
6305 * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
6306 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
6307 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
6308 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
6309 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
6310 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
6311 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
6312 Added build of SSE, AVX2 and AVX512 IFUNC versions.
6313 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
6314 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
6315 * NEWS: Mention addition of x86_64 vector cosf.
6316
6317 * math/Makefile: Added CFLAGS for new tests.
6318 * math/test-float-vlen16.h: New file.
6319 * math/test-float-vlen4.h: New file.
6320 * math/test-float-vlen8.h: New file.
6321 * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
6322 * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
6323 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6324 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
6325 * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
6326 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
6327 * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
6328 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
6329 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
6330 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
6331 * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
6332
6333 2015-06-09 Marko Myllynen <myllynen@redhat.com>
6334
6335 * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
6336 * locale/programs/ld-ctype.c: Likewise.
6337
6338 2015-06-08 Andrew Senkevich <andrew.senkevich@intel.com>
6339
6340 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
6341 bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
6342 bit_ZMM16_31_state): New macro.
6343 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6344 Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
6345
6346 2015-06-08 Joseph Myers <joseph@codesourcery.com>
6347
6348 * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
6349
6350 2015-06-06 Justus Winter <4winter@informatik.uni-hamburg.de>
6351
6352 * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
6353
6354 2015-06-05 Joseph Myers <joseph@codesourcery.com>
6355
6356 [BZ #18498]
6357 * libio/memstream.c (open_memstream): Rename to __open_memstream
6358 and define as weak alias of __open_memstream.
6359 * include/stdio.h (__open_memstream): Declare. Use
6360 libc_hidden_proto.
6361 (open_memstream): Don't use libc_hidden_proto.
6362 * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
6363 open_memstream.
6364 * posix/getopt.c (_getopt_internal_r): Likewise.
6365 * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
6366 variable.
6367 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
6368 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
6369 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
6370
6371 [BZ #18496]
6372 * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
6373 instead of wcrtomb.
6374
6375 [BZ #18483]
6376 * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
6377 [__USE_XOPEN2K8]. Remove redundant #endif.
6378 [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
6379 Remove redundant #if.
6380 * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
6381 Remove variable.
6382 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
6383 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
6384
6385 [BZ #18495]
6386 * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
6387 (__iswlower): Likewise.
6388 * include/wctype.h (__iswalnum): Declare. Use libc_hidden_proto.
6389 (__iswlower): Likewise.
6390 * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
6391 instead of towlower.
6392 * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
6393 instead of iswlower. Call __towupper instead of towupper.
6394 * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
6395 instead of iswalnum.
6396
6397 2015-06-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6398
6399 * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
6400 errors to stderr.
6401
6402 2015-06-05 Florian Weimer <fweimer@redhat.com>
6403
6404 [BZ #15661]
6405 [BZ #17322]
6406 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
6407 Check for overflow properly. Check for O_APPEND. Ignore large
6408 file system block sizes. Add comments about problems.
6409 * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
6410 * manual/filesys.texi (Storage Allocation): New node.
6411
6412 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6413
6414 * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
6415 cancellable syscalls.
6416 (SYS_ify): Add guard to no redefine it.
6417 (INLINE_SYSCALL): Likewise.
6418 * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
6419 LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
6420 SYSCALL_CANCEL instead.
6421 * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
6422 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
6423 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
6424 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
6425 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
6426 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
6427 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
6428 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
6429 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
6430 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
6431 * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
6432 * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
6433 * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
6434 * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
6435 * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
6436 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
6437 Likewise.
6438 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
6439 (__libc_pread64): Likewise.
6440 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
6441 (__libc_preadv): Likewise.
6442 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
6443 (__libc_readv64): Likewise.
6444 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
6445 (__libc_pwrite): Likewise.
6446 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
6447 (__libc_pwrite64): Likewise.
6448 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
6449 (__libc_pwritev): Likewise.
6450 * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
6451 (__libc_pwritev64): Likewise.
6452 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
6453 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
6454 (sync_file_range): Likewise.
6455 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
6456 Likewise.
6457 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
6458 Likewise.
6459 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
6460 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
6461 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
6462 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
6463 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
6464 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
6465 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
6466 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
6467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
6468 Likewise.
6469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
6470 (__libc_read64): Likewise.
6471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
6472 Likewise.
6473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
6474 Likewise.
6475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
6476 Likewise.
6477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
6478 Likewise.
6479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
6480 (__libc_pread64): Likewise.
6481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
6482 Likewise.
6483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
6484 (__libc_pwrite64): Likewise.
6485 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
6486 (sync_file_range): Likewise.
6487 * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
6488 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
6489 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
6490 * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
6491 * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
6492 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
6493 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
6494 * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
6495 * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
6496 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
6497 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
6498 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
6499 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
6500 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
6501 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
6502 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
6503 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
6504 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
6505 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
6506 Likewise.
6507 * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
6508 Likewise.
6509 * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
6510 * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
6511 Likewise.
6512 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
6513 * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
6514 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
6515 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
6516 Likewise.
6517 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
6518 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
6519 * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
6520 * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
6521 * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
6522
6523 2015-06-04 Nathan Lynch <nathan_lynch@codesourcery.com>
6524
6525 * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
6526 Include dl-vdso.
6527 * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
6528 Use VDSO routines for gettimeofday, clock_gettime if
6529 available.
6530 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
6531 Declare VDSO symbols.
6532 * sysdeps/unix/sysv/linux/arm/sysdep.h:
6533 [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
6534 [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
6535 * sysdeps/unix/sysv/linux/arm/Versions: Add
6536 __vdso_clock_gettime.
6537
6538 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6539
6540 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
6541 be an inline implementation regardless of library is built within.
6542 (open_not_cancel_2): Likewise.
6543 (__read_nocancel): Likewise.
6544 (__write_nocancel): Likewise.
6545 (openat_not_cancel): Likewise.
6546 (openat_not_cancel_3): Likewise.
6547 (openat64_not_cancel): Likewise.
6548 (openat64_not_cancel_3): Likewise.
6549 (__close_nocancel): Likewise.
6550 (pause_not_cancel): Likewise.
6551 (nanosleep_not_cancel): Likewise.
6552 (sigsuspend_not_cancel): Likewise.
6553
6554 2015-06-04 Torvald Riegel <triegel@redhat.com>
6555
6556 [BZ #14958]
6557 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
6558 wake-up.
6559 (__pthread_rwlock_rdlock_slow): Likewise.
6560 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
6561 Likewise.
6562 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
6563 Likewise.
6564 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
6565 * nptl/tst-rwlock16.c: New file.
6566 * nptl/Makefile (tests): Add new test.
6567
6568 2015-06-04 Torvald Riegel <triegel@redhat.com>
6569
6570 [BZ #18324]
6571 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
6572 missing wake-up of readers.
6573 * nptl/tst-rwlock15.c: New file.
6574 * nptl/Makefile (tests): Add new test.
6575
6576 2015-06-03 Roland McGrath <roland@hack.frob.com>
6577
6578 * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
6579 (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
6580 * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
6581 and __nacl_supply_interface_rtld.
6582 * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
6583 * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
6584 * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
6585 Add __nacl_supply_interface_rtld.
6586 (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
6587
6588 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
6589
6590 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
6591 isfinite.
6592 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6593 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
6594
6595 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
6596
6597 * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
6598 __signbit* with standard C99 macros.
6599 * math/e_exp10l.c: Likewise.
6600 * math/e_exp2l.c: Likewise.
6601 * math/e_scalb.c: Likewise.
6602 * math/e_scalbf.c: Likewise.
6603 * math/e_scalbl.c: Likewise.
6604 * math/s_ldexp.c: Likewise.
6605 * math/s_ldexpf.c: Likewise.
6606 * math/s_ldexpl.c: Likewise.
6607 * math/w_atan2.c: Likewise.
6608 * math/w_atan2f.c: Likewise.
6609 * math/w_atan2l.c: Likewise.
6610 * math/w_cosh.c: Likewise.
6611 * math/w_coshf.c: Likewise.
6612 * math/w_coshl.c: Likewise.
6613 * math/w_exp10.c: Likewise.
6614 * math/w_exp10f.c: Likewise.
6615 * math/w_exp10l.c: Likewise.
6616 * math/w_exp2.c: Likewise.
6617 * math/w_exp2f.c: Likewise.
6618 * math/w_exp2l.c: Likewise.
6619 * math/w_fmod.c: Likewise.
6620 * math/w_fmodf.c: Likewise.
6621 * math/w_fmodl.c: Likewise.
6622 * math/w_hypot.c: Likewise.
6623 * math/w_hypotf.c: Likewise.
6624 * math/w_hypotl.c: Likewise.
6625 * math/w_jnl.c: Likewise.
6626 * math/w_lgamma.c: Likewise.
6627 * math/w_lgamma_r.c: Likewise.
6628 * math/w_lgammaf.c: Likewise.
6629 * math/w_lgammaf_r.c: Likewise.
6630 * math/w_lgammal.c: Likewise.
6631 * math/w_lgammal_r.c: Likewise.
6632 * math/w_pow.c: Likewise.
6633 * math/w_powf.c: Likewise.
6634 * math/w_powl.c: Likewise.
6635 * math/w_remainder.c: Likewise.
6636 * math/w_remainderf.c: Likewise.
6637 * math/w_remainderl.c: Likewise.
6638 * math/w_scalb.c: Likewise.
6639 * math/w_scalbf.c: Likewise.
6640 * math/w_scalbl.c: Likewise.
6641 * math/w_scalbln.c: Likewise.
6642 * math/w_scalblnf.c: Likewise.
6643 * math/w_scalblnl.c: Likewise.
6644 * math/w_sinh.c: Likewise.
6645 * math/w_sinhf.c: Likewise.
6646 * math/w_sinhl.c: Likewise.
6647 * math/w_tgamma.c: Likewise.
6648 * math/w_tgammaf.c: Likewise.
6649 * math/w_tgammal.c: Likewise.
6650 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6651 * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
6652 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6653 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6654 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6655 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6656 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
6657 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
6658 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6659 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6660 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
6661 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
6662 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6663 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6664 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6665 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6666 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6667 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
6668 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
6669 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6670 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6671 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
6672 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6673 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6674 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
6675 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
6676 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
6677 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
6678 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6679 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
6680 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
6681 * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
6682 * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
6683 * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
6684 * stdio-common/printf_fp.c: Likewise.
6685 * stdio-common/printf_fphex.c: Likewise.
6686 * stdio-common/printf_size.c: Likewise.
6687
6688 2015-06-03 Joseph Myers <joseph@codesourcery.com>
6689
6690 [BZ #18470]
6691 * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
6692 strnlen.
6693 * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
6694 Remove variable.
6695 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
6696 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
6697 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
6698 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
6699 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
6700 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
6701 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
6702 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
6703 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
6704 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
6705
6706 [BZ #18468]
6707 * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
6708 weak alias of __wmemchr. Use libc_hidden_weak.
6709 * include/wchar.h (__wmemchr): Declare. Use libc_hidden_proto.
6710 * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
6711 instead of wmemchr.
6712
6713 2015-06-02 Roland McGrath <roland@hack.frob.com>
6714
6715 [BZ #18383]
6716 * elf/tst-tlsalign-extern.c: New file.
6717 * elf/tst-tlsalign-extern-static.c: New file.
6718 * elf/tst-tlsalign-vars.c: New file.
6719 * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
6720 [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
6721 ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
6722 ($(objpfx)tst-tlsalign-extern-static): Likewise.
6723 (test-xfail-tst-tlsalign-extern-static): New variable.
6724
6725 2015-06-02 Joseph Myers <joseph@codesourcery.com>
6726
6727 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
6728 Use variable name _sc_err instead of err.
6729 [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
6730 instead of ret.
6731 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
6732 (INLINE_SYSCALL): Use variable name _sc_err instead of err.
6733 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
6734 (INLINE_SYSCALL): Likewise.
6735
6736 * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
6737 * include/string.h (__strnlen): Use libc_hidden_proto.
6738 * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
6739 * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
6740 (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
6741 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
6742 (libc_hidden_def): Undefine and redefine.
6743 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
6744 [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
6745 __GI_strnlen.
6746 * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
6747 libc_hidden_def.
6748 * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
6749
6750 [BZ #18469]
6751 * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
6752 weak alias of __towlower. Use libc_hidden_weak.
6753 (towupper): Rename to __towupper and define as weak alias of
6754 __towupper. Use libc_hidden_weak.
6755 * include/wctype.h (__towlower): Declare. Use libc_hidden_proto.
6756 (__towupper): Likewise.
6757 * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
6758 __towlower instead of towlower.
6759
6760 2015-06-02 Roland McGrath <roland@hack.frob.com>
6761
6762 * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
6763 "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
6764
6765 2015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
6766
6767 * sysdeps/aarch64/libm-test-ulps: Update.
6768
6769 2015-06-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6770
6771 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
6772 Define.
6773 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
6774 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
6775 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
6776 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
6777 * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
6778 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
6779 * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
6780
6781 2015-06-01 Martin Sebor <msebor@redhat.com>
6782
6783 [BZ #18116]
6784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
6785 (__setcontext): Use extended four-operand version of mtsf whenever
6786 possible.
6787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
6788 (__novec_swapcontext): Likewise.
6789
6790 2015-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
6791
6792 * benchtests/scripts/compare_bench.py: New file.
6793 * benchtests/scripts/import_bench.py (mean): New function.
6794 (split_list): Likewise.
6795 (do_for_all_timings): Likewise.
6796 (compress_timings): Likewise.
6797
6798 * benchtests/scripts/import_bench.py: New file.
6799 * benchtests/scripts/validate_benchout.py: Import import_bench
6800 instead of jsonschema.
6801 (validate_bench): Remove function.
6802 (main): Use import_bench.
6803
6804 2015-06-01 Steve Ellcey <sellcey@imgtec.com>
6805
6806 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
6807 copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
6808
6809 2015-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6810
6811 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6812
6813 2015-05-28 Roland McGrath <roland@hack.frob.com>
6814
6815 * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
6816 set THREAD_SELF->tid to a magic value and futex-wake it.
6817 Pass its address to the thread_exit system call.
6818 * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
6819 bit is clear.
6820 * sysdeps/nacl/lowlevellock.h: New file.
6821 * sysdeps/nacl/lll_timedwait_tid.c: New file.
6822
6823 * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
6824 Add TIMEOUT to current time, don't subtract it.
6825
6826 2015-05-28 H.J. Lu <hongjiu.lu@intel.com>
6827
6828 [BZ #2981]
6829 [BZ #18422]
6830 * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
6831 ($(objpfx)tst-audit2.out): Also depend on
6832 $(objpfx)tst-auditmod9b.so.
6833 * elf/tst-audit2.c: Include <dlfcn.h>.
6834 (calloc_called): New.
6835 (calloc): Allow to be called more than once.
6836 (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
6837
6838 2015-05-28 Wilco Dijkstra <wdijkstr@arm.com>
6839
6840 * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
6841 * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
6842
6843 2015-05-27 Marko Myllynen <myllynen@redhat.com>
6844
6845 * stdlib/monetary.h: Fix comment.
6846
6847 2015-05-26 Chris Metcalf <cmetcalf@ezchip.com>
6848
6849 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
6850 Avoid using variables in #defines that might cause shadowing.
6851 (INTERNAL_VSYSCALL_CALL): Likewise.
6852
6853 2015-05-26 Roland McGrath <roland@hack.frob.com>
6854
6855 * sysdeps/nacl/lll_timedlock_wait.c: New file.
6856
6857 * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
6858 * nptl/lll_timedlock_wait.c: ... to this new file.
6859 * nptl/Makefile (libpthread-routines): Add it.
6860 * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
6861 * nptl/lll_timedwait_tid.c: ... to this new file.
6862 * nptl/Makefile (libpthread-routines): Add it.
6863 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
6864 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
6865 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
6866 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
6867 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
6868 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
6869 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
6870 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
6871 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
6872 * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
6873
6874 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6875
6876 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
6877 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
6878 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
6879 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
6880 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
6881 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
6882 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
6883 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
6884 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
6885 * sysdeps/unix/sysv/linux/tile/sysdep.h
6886 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
6887 * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
6888 using vDSO syscall macro.
6889
6890 2015-05-26 Andriy Rysin <arysin@gmail.com>
6891
6892 [BZ #17293]
6893 * uk_UA: Fix sorting order for Ukrainian locale
6894
6895 2015-05-26 Marko Myllynen <myllynen@redhat.com>
6896
6897 * stdlib/monetary.h: Fix comment.
6898
6899 2015-05-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
6900
6901 [BZ #18234]
6902 * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
6903 st_mtim and st_ctim members.
6904 * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
6905 st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
6906 * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
6907 (struct stat64): Likewise.
6908 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
6909 (struct stat64): Likewise.
6910 * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
6911 (struct stat64): Likewise.
6912
6913 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6914
6915 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
6916 Define and include sysdep-vdso.h.
6917 * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
6918 Likewise.
6919 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
6920 Likewise.
6921 * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
6922 Define with VDSO_SYMBOL and use PTR_MANGLE.
6923 (__vdso_clock_gettime): Likewise.
6924 (__vdso_clock_getres): Likewise.
6925 (_libc_vdso_platform_setup): Likewise.
6926 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
6927 Likewise.
6928 (_libc_vdso_platform_setup): Likewise.
6929 * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
6930 Likewise.
6931 (__vdso_clock_gettime): Likewise.
6932 (__vdso_clock_getres): Likewise.
6933 (__vdso_get_tbfreq): Likewise.
6934 (__vdso_getcpu): Likewise.
6935 (__vdso_time): Likewise.
6936 (__vdso_sigtramp_rt64): Likewise.
6937 (__vdso_signtramp32): Likewise.
6938 (__vdso_sigtramp_rt32): Likewise.
6939 (_libc_vdso_platform_setup): Likewise.
6940 * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
6941 Likewise.
6942 (__vdso_clock_gettime): Likewise.
6943 (__vdso_clock_getres): Likewise.
6944 (_libc_vdso_platform_setup): Likewise.
6945 * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
6946 Likewise.
6947 (__vdso_clock_gettime): Likewise.
6948 (_libc_vdso_platform_setup): Likewise.
6949 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
6950 Likewise.
6951 (__vdso_getcpu): Likewise.
6952 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
6953 Use VDSO_SYMBOL macro to define.
6954 (__vdso_clock_gettime): Likewise.
6955 (__vdso_clock_getres): Likewise.
6956 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
6957 Likewise.
6958 (__vdso_clock_gettime): Likewise.
6959 (__vdso_clock_getres): Likewise.
6960 (__vdso_get_tbfreq): Likewise.
6961 (__vdso_getcpu): Likewise.
6962 (__vdso_time): Likewise.
6963 (__vdso_sigtramp_rt64): Likewise.
6964 (__vdso_signtramp32): Likewise.
6965 (__vdso_sigtramp_rt32): Likewise.
6966 * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
6967 Likewise.
6968 (__vdso_clock_gettime): Likewise.
6969 (__vdso_clock_getres): Likewise.
6970 * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
6971 Likewise.
6972 (__vdso_clock_gettime): Likewise.
6973 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
6974 Likewise.
6975 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove
6976 macro.
6977 (INTERNAL_VSYSCALL): Likewise.
6978 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
6979 Remove macro.
6980 (INTERNAL_VSYSCALL): Likewise.
6981 (INTERNAL_VSYSCALL_NCS): Likewise.
6982 (INTERNAL_VSYSCALL_CALL): New macro.
6983 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
6984 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
6985 Likewise.
6986 (INTERNAL_VSYSCALL): Likewise.
6987 (INTERNAL_VSYSCALL_NCS): Likewise.
6988 (INTERNAL_VSYSCALL_CALL): New macro.
6989 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
6990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6991 (INLINE_VSYSCALL): Remove macro.
6992 (INTERNAL_VSYSCALL): Remove macro.
6993 (INTERNAL_VSYSCALL_NCS): Remove macro.
6994 (INTERNAL_VSYSCALL_CALL): New macro.
6995 (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
6996 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
6997 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
6998 (HAVE_CLOCK_GETRES_VSYSCALL): New define.
6999 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
7000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
7001 (INLINE_VSYSCALL): Remove macro.
7002 (INTERNAL_VSYSCALL): Likewise.
7003 (INTERNAL_VSYSCALL_NCS): Likewise.
7004 (INTERNAL_VSYSCALL_CALL): New macro.
7005 (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
7006 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
7007 PTR_DEMANGLE on vDSO pointer.
7008 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
7009 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
7010 macro.
7011 (INTERNAL_SYSCALL): Likewise.
7012 (INTERNAL_VSYSCALL_NCS): Remove macro.
7013 (INTERNAL_VSYSCALL_CALL): New macro.
7014 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
7015 Remove macro.
7016 (INTERNAL_VSYSCALL): Likewise.
7017 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
7018 sysdep-vdso.h instead of libc-vdso.h.
7019 * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
7020 definition.
7021 (INLINE_VSYSCALL): Likewise.
7022 (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
7023 * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
7024 definition.
7025 (INLINE_VSYSCALL): Likewise.
7026 (INTERNAL_VSYSCALL): Likewise.
7027 (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
7028 * sysdeps/unix/sysv/linux/timespec_get.c
7029 (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
7030 (timespec_get): Use ANSI prototype.
7031 * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
7032 and definition for Linux.
7033
7034 2015-05-25 Andrew Senkevich <andrew.senkevich@intel.com>
7035
7036 * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
7037 * include/libc-symbols.h: libmvec_hidden_* macro series added.
7038
7039 2015-05-22 H.J. Lu <hongjiu.lu@intel.com>
7040
7041 [BZ #2981]
7042 [BZ #18410]
7043 * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
7044 for missing DT_PLTRELSZ.
7045
7046 2015-05-22 Paul Eggert <eggert@cs.ucla.edu>
7047
7048 Remove obsolete aliases that broke 'locale -a'
7049 [BZ #18412]
7050 * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
7051 which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
7052 breaking some applications that use 'locale -a' output.
7053 Change the encoding of this file from Latin-1 to ASCII to avoid
7054 other potential problems with people grepping this file.
7055
7056 2015-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7057
7058 * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
7059 -fasynchronous-unwind-tables.
7060 (CFLAGS-sendto.c): Likewise.
7061 (CFLAGS-sendmsg.c): Likewise.
7062 (CFLAGS-connect.c): Likewise.
7063 (CFLAGS-recvmsg.c): Likewise.
7064 (CFLAGS-recvfrom.c): Likewise.
7065 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
7066 (SOCKETCALL): New macro: non-cancellable socketcall.
7067 (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
7068 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
7069 internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
7070 * sysdeps/unix/sysv/linux/accept.c: New file.
7071 * sysdeps/unix/sysv/linux/bind.c: Likewise.
7072 * sysdeps/unix/sysv/linux/connect.c: Likewise.
7073 * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
7074 * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
7075 * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
7076 * sysdeps/unix/sysv/linux/listen.c: Likewise.
7077 * sysdeps/unix/sysv/linux/recv.c: Likewise.
7078 * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
7079 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
7080 * sysdeps/unix/sysv/linux/send.c: Likewise.
7081 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
7082 * sysdeps/unix/sysv/linux/sendto.c: Likewise.
7083 * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
7084 * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
7085 * sysdeps/unix/sysv/linux/socket.c: Likewise.
7086 * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
7087 * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
7088 prototype.
7089 (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
7090 (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
7091 instead of __internal_xxx function.
7092 * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
7093 prototype.
7094 (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
7095 (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
7096 instead of __internal_xxx function.
7097 * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
7098 prototype.
7099 (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
7100 (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
7101 instead of __internal_xxx function.
7102 * sysdeps/unix/sysv/linux/accept.S: Remove file.
7103 * sysdeps/unix/sysv/linux/bind.S: Likewise.
7104 * sysdeps/unix/sysv/linux/connect.S: Likewise.
7105 * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
7106 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
7107 * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
7108 * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
7109 * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
7110 * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
7111 * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
7112 * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
7113 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
7114 * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
7115 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
7116 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
7117 * sysdeps/unix/sysv/linux/listen.S: Likewise.
7118 * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
7119 * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
7120 * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
7121 * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
7122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
7123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
7124 * sysdeps/unix/sysv/linux/recv.S: Likewise.
7125 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
7126 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
7127 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
7128 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
7129 * sysdeps/unix/sysv/linux/send.S: Likewise.
7130 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
7131 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
7132 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
7133 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
7134 * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
7135 * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
7136 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
7137 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
7138 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
7139 * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
7140 * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
7141 socketcall is implemented in GLIBC.
7142
7143 2015-05-22 Joseph Myers <joseph@codesourcery.com>
7144
7145 * soft-fp/fmadf4.c: Include <libc-internal.h>.
7146 (__fma): Ignore uninitialized warnings around packing.
7147 * soft-fp/fmasf4.c: Include <libc-internal.h>.
7148 (__fmaf): Ignore uninitialized warnings around packing.
7149 * soft-fp/fmatf4.c: Include <libc-internal.h>.
7150 (__fmal): Ignore uninitialized warnings around packing.
7151
7152 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
7153 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
7154 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
7155 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
7156
7157 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
7158 switch statement into default case.
7159 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
7160
7161 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
7162 a conditional in forcing "inexact".
7163 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
7164 Likewise.
7165
7166 2015-05-22 Roland McGrath <roland@hack.frob.com>
7167
7168 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
7169 Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
7170 for each INTERNAL_SYSCALL use.
7171
7172 2015-05-22 Joseph Myers <joseph@codesourcery.com>
7173
7174 [BZ #438]
7175 * posix/unistd.h (_POSIX2_C_VERSION): New macro.
7176 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
7177 variable.
7178
7179 [BZ #18444]
7180 * string/basename.c (basename): Rename to __basename and define as
7181 weak alias of __basename. Use libc_hidden_weak.
7182 * include/string.h (__basename): Declare. Use libc_hidden_proto.
7183 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
7184 __basename instead of basename.
7185 * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
7186 Remove variable.
7187 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
7188
7189 2015-05-18 Florian Weimer <fweimer@redhat.com>
7190
7191 * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
7192 (_IO_JUMPS_FILE_plus): New.
7193 (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
7194 _IO_CAST_FIELD_ACCESS.
7195 * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
7196 mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
7197 * libio/freopen.c (freopen): Likewise.
7198 * libio/freopen64.c (freopen64): Likewise.
7199 * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
7200 * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
7201 * libio/iofwide.c (_IO_fwide): Likewise.
7202 * libio/memstream.c (open_memstream): Likewise.
7203 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
7204 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
7205 * libio/oldiopopen.c (_IO_old_popen): Likewise.
7206
7207 2015-05-21 Joseph Myers <joseph@codesourcery.com>
7208
7209 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
7210 (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
7211 NADJ.
7212 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
7213 (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
7214 NADJ.
7215 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
7216 (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
7217 NADJ.
7218
7219 * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
7220 (p == 4) case.
7221
7222 * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
7223 * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
7224 Remove variable.
7225 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
7226 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
7227 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
7228
7229 2015-05-21 Florian Weimer <fweimer@redhat.com>
7230
7231 * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
7232 Adjust jump table label generation macros.
7233
7234 2015-05-21 Florian Weimer <fweimer@redhat.com>
7235
7236 * stdio-common/vfprintf.c (vfprintf): Move local variables
7237 args_malloced, specs, specs_malloced, and the code after
7238 do_positional to the printf_positional function.
7239 (printf_positional): New function.
7240
7241 2015-05-21 Florian Weimer <fweimer@redhat.com>
7242
7243 * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
7244 function.
7245 (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
7246 STEP4_TABLE, process_arg): Move macro definitions
7247 out of the vfprintf function. (Cosmetic change only.)
7248
7249 2015-05-21 Carlos O'Donell <carlos@redhat.com>
7250
7251 * benchtests/Makefile (stdio-common-bench): Define.
7252 (benchset): Add stdio-common-bench.
7253 * sprintf-inputs: New file.
7254 * sprintf-source.c: New file.
7255
7256 2015-05-21 Andreas Schwab <schwab@suse.de>
7257
7258 [BZ #13028]
7259 [BZ #17053]
7260 * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
7261 of struct __res_state.
7262 * resolv/res_send.c (__libc_res_nsend): Likewise.
7263 (get_nsaddr): New function.
7264 (res_ourserver_p, send_vc, reopen): Use it instead of accessing
7265 statp directly.
7266
7267 2015-05-20 Joseph Myers <joseph@codesourcery.com>
7268
7269 * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
7270 -D_POSIX_C_SOURCE=199506L.
7271
7272 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
7273
7274 * conform/data/unistd.h-data (_POSIX_VERSION): Require.
7275 (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
7276 Do not mention otherwise.
7277 [POSIX] (_XOPEN_VERSION): Do not expect.
7278 [POSIX] (_XOPEN_XCU_VERSION): Likewise.
7279 [POSIX] (_POSIX2_C_BIND): Likewise.
7280 [POSIX] (_POSIX2_VERSION): Likewise.
7281 [POSIX] (_XOPEN_XPG2): Likewise.
7282 [POSIX] (_XOPEN_XPG3): Likewise.
7283 [POSIX] (_XOPEN_XPG4): Likewise.
7284 [POSIX] (_XOPEN_UNIX): Likewise.
7285 [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
7286 [POSIX] (_POSIX_BARRIERS): Likewise.
7287 [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
7288 [POSIX] (_POSIX_CPUTIME): Likewise.
7289 [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
7290 [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
7291 [POSIX] (_POSIX_SHELL): Likewise.
7292 [POSIX] (_POSIX_SPAWN): Likewise.
7293 [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
7294 [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
7295 [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
7296 [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
7297 [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
7298 [POSIX] (_XBS5_ILP32_OFF32): Likewise.
7299 [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
7300 [POSIX] (_XBS5_LP64_OFF64): Likewise.
7301 [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
7302 [POSIX] (_POSIX_TIMEOUTS): Likewise.
7303 [POSIX] (_POSIX2_PBS): Likewise.
7304 [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
7305 [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
7306 [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
7307 [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
7308 [POSIX] (_POSIX2_PBS_TRACK): Likewise.
7309 [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
7310 [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
7311 [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
7312 [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
7313 [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
7314 [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
7315 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
7316 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
7317 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
7318 [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
7319 [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
7320 [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
7321 [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
7322 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
7323 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
7324 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
7325 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
7326 [POSIX] (_SC_2_C_BIND): Likewise.
7327 [POSIX] (_SC_2_C_VERSION): Likewise.
7328 [POSIX] (_SC_2_PBS): Likewise.
7329 [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
7330 [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
7331 [POSIX] (_SC_2_PBS_LOCATE): Likewise.
7332 [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
7333 [POSIX] (_SC_2_PBS_TRACK): Likewise.
7334 [POSIX] (_SC_ATEXIT_MAX): Likewise.
7335 [POSIX] (_SC_BARRIERS): Likewise.
7336 [POSIX] (_SC_BASE): Likewise.
7337 [POSIX] (_SC_CLOCK_SELECTION): Likewise.
7338 [POSIX] (_SC_DEVICE_IO): Likewise.
7339 [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
7340 [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
7341 [POSIX] (_SC_FD_MGMT): Likewise.
7342 [POSIX] (_SC_FIFO): Likewise.
7343 [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
7344 [POSIX] (_SC_FILE_LOCKING): Likewise.
7345 [POSIX] (_SC_FILE_SYSTEM): Likewise.
7346 [POSIX] (_SC_IOV_MAX): Likewise.
7347 [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
7348 [POSIX] (_SC_NETWORKING): Likewise.
7349 [POSIX] (_SC_PAGE_SIZE): Likewise.
7350 [POSIX] (_SC_PASS_MAX): Likewise.
7351 [POSIX] (_SC_PIPE): Likewise.
7352 [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
7353 [POSIX] (_SC_REGEXP): Likewise.
7354 [POSIX] (_SC_SHELL): Likewise.
7355 [POSIX] (_SC_SIGNALS): Likewise.
7356 [POSIX] (_SC_SINGLE_PROCESS): Likewise.
7357 [POSIX] (_SC_SPIN_LOCKS): Likewise.
7358 [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
7359 [POSIX] (_SC_USER_GROUPS): Likewise.
7360 [POSIX] (_SC_USER_GROUPS_R): Likewise.
7361 [POSIX] (_SC_STREAMS): Likewise.
7362 [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
7363 [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
7364 [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
7365 [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
7366 [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
7367 [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
7368 [POSIX] (_PC_FILESIZEBITS): Likewise.
7369 [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
7370 [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
7371 [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
7372 [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
7373 [POSIX] (uid_t): Likewise.
7374 [POSIX] (gid_t): Likewise.
7375 [POSIX] (off_t): Likewise.
7376 [POSIX] (pid_t): Likewise.
7377 [POSIX] (cuserid): Allow.
7378 (_SC_2_CHAR_TERM): Require constant.
7379 (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
7380 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
7381 variable.
7382
7383 2015-05-20 Roland McGrath <roland@hack.frob.com>
7384
7385 * sysdeps/nacl/pthread-pids.h: New file.
7386 * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
7387 (create_thread): Use __nacl_get_tid to initialize PD->tid.
7388
7389 * nptl/pthread-pids.h: New file.
7390 * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
7391 * nptl/nptl-init.c: Include <pthread-pids.h>.
7392 (__pthread_initialize_minimal_internal):
7393 Call __pthread_initialize_pids instead of set_tid_address syscall.
7394
7395 * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
7396 * sysdeps/posix/usleep.c: ... here.
7397
7398 2015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7399
7400 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
7401 call_pselect6 object.
7402 [$(subdir) = io]: Remove call_sync_file_range object.
7403 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
7404 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
7405 * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
7406 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
7407
7408 2015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
7409
7410 * math/s_cproj.c: Add include "math_private.h".
7411 * math/s_cprojf.c: Likewise.
7412 * math/s_cprojl.c: Likewise.
7413
7414 2015-05-19 Joseph Myers <joseph@codesourcery.com>
7415
7416 [BZ #18244]
7417 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
7418 high mantissa bit when testing whether P is a NaN.
7419 * math/libm-test.inc (remainder_test_data): Add more tests.
7420 (remquo_test_data): Likewise.
7421
7422 [BZ #18049]
7423 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
7424 below -32, return the argument, with underflow if subnormal.
7425 * math/auto-libm-test-in: Add more tests of atanh.
7426 * math/auto-libm-test-out: Regenerated.
7427
7428 2015-05-19 Roland McGrath <roland@hack.frob.com>
7429
7430 [BZ #18434]
7431 * nptl/tst-sem15.c: New file.
7432 * nptl/Makefile (tests): Add it.
7433 * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
7434 s/<</>>/ to fix typo in EOVERFLOW check.
7435 * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
7436
7437 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7438
7439 * manual/strings.texi (envz_remove): Fix typo in safety
7440 annotations.
7441
7442 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
7443 Steve Ellcey <sellcey@imgtec.com>
7444
7445 * inet/rcmd.c (rresvport_af): Change ss to anonymous union
7446 in order to avoid strict alias warnings.
7447 (iruserok_af): Ditto for ra.
7448
7449 2015-05-19 James Lemke <jwlemke@codesourcery.com>
7450
7451 [BZ #17581]
7452 * malloc/hooks.c
7453 (magicbyte): Convert to a function and avoid returning 0x01.
7454 (mem2mem_check): Avoid using a length byte equal to the magic byte.
7455 (mem2chunk_check): Fix unsigned comparisons to zero.
7456 Hoist defs of sz and magic.
7457
7458 2015-05-19 Richard Henderson <rth@redhat.com>
7459
7460 * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
7461
7462 * sysdeps/alpha/fpu/libm-test-ulps: Update.
7463
7464 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7465
7466 [BZ #16159]
7467 * malloc/Makefile (tests): New test case tst-malloc-backtrace.
7468 * malloc/arena.c (arena_lock): Check if arena is corrupt.
7469 (reused_arena): Find a non-corrupt arena.
7470 (heap_trim): Pass arena to unlink.
7471 * malloc/hooks.c (malloc_check_get_size): Pass arena to
7472 malloc_printerr.
7473 (top_check): Likewise.
7474 (free_check): Likewise.
7475 (realloc_check): Likewise.
7476 * malloc/malloc.c (malloc_printerr): Add arena argument.
7477 (unlink): Likewise.
7478 (munmap_chunk): Adjust.
7479 (ARENA_CORRUPTION_BIT): New macro.
7480 (arena_is_corrupt): Likewise.
7481 (set_arena_corrupt): Likewise.
7482 (sysmalloc): Use mmap if there are no usable arenas.
7483 (_int_malloc): Likewise.
7484 (__libc_malloc): Don't fail if arena_get returns NULL.
7485 (_mid_memalign): Likewise.
7486 (__libc_calloc): Likewise.
7487 (__libc_realloc): Adjust for additional argument to
7488 malloc_printerr.
7489 (_int_free): Likewise.
7490 (malloc_consolidate): Likewise.
7491 (_int_realloc): Likewise.
7492 (_int_memalign): Don't touch corrupt arenas.
7493 * malloc/tst-malloc-backtrace.c: New test case.
7494
7495 * Makefile (summarize-tests): Fix return value on success.
7496
7497 * manual/string.texi (Envz Functions): Add envz_remove.
7498
7499 2015-05-18 Roland McGrath <roland@hack.frob.com>
7500
7501 * sysdeps/posix/opendir.c: Include <stdbool.h>.
7502 (invalid_name): New function, broken out of ...
7503 (__opendirat): ... here. Call it.
7504 (need_isdir_precheck): New function, broken out of ...
7505 (__opendirat): ... here. Call it.
7506 Use __fxstatat64, not __xstatat64.
7507 (opendir_oflags): New function, broken out of ...
7508 (__opendirat): ... here. Call it.
7509 (opendir_tail): New function, broken out of ...
7510 (__opendirat): ... here. Call it.
7511 (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
7512 opendir_tail, rather than punting to __opendirat.
7513 (__opendirat): Conditionalize function definition on [IS_IN (libc)].
7514
7515 2015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7516
7517 * .gitignore: Ignore generated *.pyc.
7518
7519 2015-05-18 Arjun Shankar <arjun.is@lostca.se>
7520
7521 * include/stdio.h: Define __need_wint_t.
7522 * test-skeleton.c: Avoid `for' loop initial declaration.
7523 * nptl/tst-initializers1.c: Use test-skeleton.c.
7524
7525 2015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7526
7527 [BZ #18418]
7528 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
7529
7530 2015-05-15 Joseph Myers <joseph@codesourcery.com>
7531
7532 [BZ #16352]
7533 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
7534 (__ieee754_atanh): Force underflow exception for results with
7535 small absolute value.
7536 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
7537 (__ieee754_atanhf): Force underflow exception for results with
7538 small absolute value.
7539 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
7540 (__ieee754_atanh): Force underflow exception for results with
7541 small absolute value.
7542 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
7543 (__ieee754_atanhf): Force underflow exception for results with
7544 small absolute value.
7545 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
7546 (__ieee754_atanhl): Force underflow exception for results with
7547 small absolute value.
7548 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
7549 (__ieee754_atanhl): Force underflow exception for results with
7550 small absolute value.
7551 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
7552 (__ieee754_atanhl): Force underflow exception for results with
7553 small absolute value.
7554 * math/auto-libm-test-in: Do not allow missing underflow
7555 exceptions from atanh.
7556 * math/auto-libm-test-out: Regenerated.
7557
7558 [BZ #18221]
7559 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
7560 2**-28 as threshold for returning x or +/- 1/x.
7561 * math/auto-libm-test-in: Add more tests of tan.
7562 * math/auto-libm-test-out: Regenerated.
7563
7564 [BZ #18220]
7565 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
7566 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
7567 * math/auto-libm-test-in: Add another test of lgamma.
7568 * math/auto-libm-test-out: Regenerated.
7569
7570 2015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
7571
7572 * stdio-common/printf_fp.c (___printf_fp): Use abs.
7573 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
7574 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
7575 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
7576 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
7577 (ADD2A): Use fabs. (SUB2A): Use fabs.
7578 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
7579 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
7580 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
7581 (log1): Use fabs. (my_log2): Use fabs.
7582 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
7583 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
7584 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
7585 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
7586 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
7587 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
7588 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
7589 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
7590 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
7591 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
7592 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
7593
7594 2015-05-15 Joseph Myers <joseph@codesourcery.com>
7595
7596 [BZ #18217]
7597 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
7598 as threshold for returning 1 - x.
7599 * math/auto-libm-test-in: Add more tests of erfc.
7600 * math/auto-libm-test-out: Regenerated.
7601
7602 2015-05-14 Joseph Myers <joseph@codesourcery.com>
7603
7604 [BZ #18196]
7605 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
7606 threshold for large arguments.
7607 * math/auto-libm-test-in: Add another test of atan.
7608 * math/auto-libm-test-out: Regenerated.
7609
7610 [BZ #16339]
7611 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
7612 (__log1p): Force underflow exception for results with small
7613 absolute value.
7614 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
7615 (__log1pf): Force underflow exception for results with small
7616 absolute value.
7617 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
7618 (__log1p): Force underflow exception for results with small
7619 absolute value.
7620 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
7621 (__log1pf): Force underflow exception for results with small
7622 absolute value.
7623 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
7624 (__log1pl): Force underflow exception for results with small
7625 absolute value.
7626 * math/auto-libm-test-in: Do not allow missing underflow
7627 exceptions from log1p.
7628 * math/auto-libm-test-out: Regenerated.
7629
7630 2015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
7631 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7632
7633 [BZ #16704]
7634 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
7635
7636 2015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
7637
7638 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
7639 (libmvec): New variable.
7640 * configure.ac: Added option for mathvec build.
7641 * configure: Regenerated.
7642 * mathvec/Depend: New file.
7643 * mathvec/Makefile: New file.
7644 * shlib-versions: Added libmvec.
7645 * math/Makefile: Added rule for libm.so installation.
7646
7647 * bits/math-vector.h: New file.
7648 * bits/libm-simd-decl-stubs.h: New header.
7649 * math/Makefile (headers): Added new header
7650 libm-simd-decl-stubs.h.
7651 * math/math.h (__MATHCALL_VEC): New macro.
7652
7653 * math/gen-libm-have-vector-test.sh: Script generates series of macros
7654 for conditions in testing functions.
7655 * math/Makefile: Added call of libm-have-vector-test.sh.
7656 * math/libm-test.inc (HAVE_VECTOR): New macros.
7657
7658 * math/libm-test.inc: START refactored.
7659 * math/test-double.c (TEST_MATHVEC): Add define.
7660 * math/test-float.c: Likewise.
7661 * math/test-idouble.c: Likewise.
7662 * math/test-ifloat.c: Likewise.
7663 * math/test-ildoubl.c: Likewise.
7664 * math/test-ldouble.c: Likewise.
7665 * sysdeps/generic/math-tests-arch.h
7666 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
7667 architecture check.
7668
7669 * math/test-double.c (FUNC_TEST): New macro.
7670 * math/test-float.c: Likewise.
7671 * math/test-idouble.c: Likewise.
7672 * math/test-ifloat.c: Likewise.
7673 * math/test-ildoubl.c: Likewise.
7674 * math/test-ldouble.c: Likewise.
7675 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
7676
7677 2015-05-13 Roland McGrath <roland@hack.frob.com>
7678
7679 * sysdeps/nacl/fdopendir.c: New file.
7680
7681 * dirent/scandir-tail.c: New file.
7682 * dirent/scandir64-tail.c: New file.
7683 * dirent/Makefile (routines): Add them.
7684 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
7685 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
7686 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
7687 [!SCANDIR] (SCANDIR_TAIL): New macro.
7688 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
7689 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
7690 (SCANDIRAT): Macro removed.
7691 (SCANDIR_TAIL): New macro.
7692 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
7693 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
7694 (SCANDIRAT): Just call __opendirat and __scandir_tail.
7695 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
7696 (READDIR): Macro removed.
7697 (SCANDIR_TAIL): New macro.
7698 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
7699 (SCANDIR_TAIL): New macro.
7700
7701 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
7702 * dirent/scandir-cancel.c: ... to this new file.
7703 * dirent/Makefile (routines): Add it.
7704 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
7705 * sysdeps/unix/sysv/linux/i386/scandir64.c
7706 (SKIP_SCANDIR_CANCEL): Macro removed.
7707 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
7708
7709 * dirent/tst-scandir.c: New file.
7710 * dirent/tst-scandir64.c: New file.
7711 * dirent/Makefile (tests): Add them.
7712
7713 2015-05-13 H.J. Lu <hongjiu.lu@intel.com>
7714
7715 [BZ #18409]
7716 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
7717
7718 2015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
7719
7720 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
7721 list.
7722
7723 2015-05-13 Leonhard Holz <leonhard.holz@web.de>
7724
7725 * benchtests/bench-strcoll.c: New benchmark.
7726 * benchtests/Makefile: Generate locales and run benchmark.
7727 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
7728 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
7729 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
7730 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
7731 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
7732 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
7733 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
7734 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
7735 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
7736 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
7737 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
7738 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
7739 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
7740 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
7741 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
7742 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
7743 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
7744 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
7745 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
7746 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
7747 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
7748 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
7749 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
7750 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
7751
7752 2015-05-12 Ondřej Bílka <neleai@seznam.cz>
7753
7754 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
7755 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
7756
7757 2015-05-12 Roland McGrath <roland@hack.frob.com>
7758
7759 * posix/uname-values.h: New file.
7760 * posix/uname.c: Include that instead of <config-name.h>.
7761 * sysdeps/nacl/uname-values.h: New file.
7762 * sysdeps/arm/nacl/uname-values.h: New file.
7763
7764 2015-05-12 Joseph Myers <joseph@codesourcery.com>
7765
7766 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
7767 splitting into fields.
7768
7769 2015-05-12 Leonhard Holz <leonhard.holz@web.de>
7770
7771 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
7772 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
7773 * locale/localeinfo.h: Add enum collation_encoding_type.
7774 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
7775 * programs/ld-collate.c (collate_output): Add encoding type info.
7776 * string/strcoll_l.c (STRDIFF): New function.
7777 * (STRCOLL): Use STRDIFF to skip over equal prefix.
7778 * wcsmbs/wcscoll_l.c: Define STRDIFF.
7779
7780 2015-05-11 Joseph Myers <joseph@codesourcery.com>
7781
7782 [BZ #18397]
7783 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
7784 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
7785 <fpu_control.h> instead of <math/fpu_control.c>.
7786 * sysdeps/mips/mips32/fpu/Makefile: New file.
7787
7788 2015-05-11 Andreas Schwab <schwab@suse.de>
7789
7790 [BZ #18007]
7791 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
7792 nss_endgrent.
7793 (_nss_compat_endgrent): Call nss_endgrent.
7794 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
7795 nss_endpwent.
7796 (_nss_compat_endpwent): Call nss_endpwent.
7797 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
7798 needent, call nss_setspent only if non-zero.
7799 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
7800 (internal_endspent): Don't call nss_endspent.
7801 (_nss_compat_endspent): Call nss_endspent.
7802 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
7803 Remove. All uses removed.
7804 (internal_setent): Remove parameter stayopen, add parameter
7805 stream. Use it instead of global variable.
7806 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
7807 (internal_endent, internal_getent): Add parameter stream. Use it
7808 instead of global variable.
7809 (CONCAT(_nss_files_end,ENTNAME))
7810 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
7811 (_nss_files_get##name##_r): Pass local stream. Remove locking.
7812 * nss/nss_files/files-alias.c (position, last_use): Remove. All
7813 uses removed.
7814 (internal_setent, internal_endent): Add parameter stream. Use it
7815 instead of global variable.
7816 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
7817 stream.
7818 (get_next_alias): Add parameter stream.
7819 (_nss_files_getaliasent_r): Pass global stream.
7820 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
7821 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
7822 (_nss_files_gethostbyname4_r): Pass local stream to
7823 internal_setent, internal_getent and internal_endent. Remove
7824 locking.
7825
7826 2015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
7827
7828 * tst-strfmon1.c (tests): Update expected currency symbol.
7829
7830 2015-05-08 Roland McGrath <roland@hack.frob.com>
7831
7832 * sysdeps/nacl/gethostname.c: New file.
7833
7834 2015-05-08 Joseph Myers <joseph@codesourcery.com>
7835
7836 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
7837 and sinh.
7838 * math/auto-libm-test-out: Regenerated.
7839 * sysdeps/i386/fpu/libm-test-ulps: Update.
7840 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7841
7842 2015-05-08 Carlos O'Donell <carlos@redhat.com>
7843
7844 [BZ #18125]
7845 * stdlib/tst-setcontext3.c: New file.
7846 * stdlib/tst-setcontext3.sh: New file.
7847 * stdlib/Makefile (tests): Add tst-setcontext3.
7848 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
7849 to verify test program created output file.
7850 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
7851 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
7852 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
7853 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
7854
7855 2015-05-06 Roland McGrath <roland@hack.frob.com>
7856
7857 [BZ #18383]
7858 * elf/tst-tlsalign.c: New file.
7859 * elf/tst-tlsalign-static.c: New file.
7860 * elf/tst-tlsalign-lib.c: New file.
7861 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
7862 (tests-static): Add tst-tlsalign-static.
7863 (modules-names): Add tst-tlsalign-lib.
7864 (test-xfail-tst-tlsalign): New variable.
7865 (test-xfail-tst-tlsalign-static): New variable.
7866
7867 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
7868 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
7869
7870 2015-05-06 Joseph Myers <joseph@codesourcery.com>
7871
7872 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
7873 csqrt, erfc, sin and sincos.
7874 * math/auto-libm-test-out: Regenerated.
7875 * sysdeps/i386/fpu/libm-test-ulps: Update.
7876 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7877
7878 2015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
7879
7880 * sysdeps/aarch64/libm-test-ulps: Update.
7881
7882 2015-05-05 Joseph Myers <joseph@codesourcery.com>
7883
7884 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
7885 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
7886 * math/auto-libm-test-out: Regenerated.
7887 * sysdeps/i386/fpu/libm-test-ulps: Update.
7888 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7889
7890 2015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
7891
7892 [BZ #18265]
7893 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
7894 (wcsncpy): Likewise.
7895
7896 2015-05-05 Florian Weimer <fweimer@redhat.com>
7897
7898 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
7899 Assume __ASSUME_FALLOCATE is always true.
7900 * sysdeps/unix/sysv/linux/posix_fallocate64.c
7901 (__posix_fallocate64_l64): Likweise.
7902 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
7903 (posix_fallocate): Likewise.
7904 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
7905 (__posix_fallocate64_l64): Likewise.
7906 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
7907 [!__ASSUME_FALLOCATE]: Add comment.
7908
7909 2015-05-05 Florian Weimer <fweimer@redhat.com>
7910
7911 * sysdeps/unix/sysv/linux/i386/Makefile
7912 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
7913 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
7914 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
7915 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
7916 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
7917 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
7918 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
7919
7920 2015-05-02 Joseph Myers <joseph@codesourcery.com>
7921
7922 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
7923 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
7924 tgamma.
7925 * math/auto-libm-test-out: Regenerated.
7926 * sysdeps/i386/fpu/libm-test-ulps: Update.
7927 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7928
7929 2015-05-01 Joseph Myers <joseph@codesourcery.com>
7930
7931 * math/auto-libm-test-in: Add more tests of tgamma.
7932 * math/auto-libm-test-out: Regenerated.
7933 * sysdeps/i386/fpu/libm-test-ulps: Update.
7934 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7935
7936 * math/auto-libm-test-in: Add more tests of tanh.
7937 * math/auto-libm-test-out: Regenerated.
7938 * sysdeps/i386/fpu/libm-test-ulps: Update.
7939 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7940
7941 * math/auto-libm-test-in: Add more tests of tan.
7942 * math/auto-libm-test-out: Regenerated.
7943 * sysdeps/i386/fpu/libm-test-ulps: Update.
7944 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7945
7946 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
7947 * math/auto-libm-test-out: Regenerated.
7948 * sysdeps/i386/fpu/libm-test-ulps: Update.
7949 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7950
7951 * math/auto-libm-test-in: Add another test of pow.
7952 * math/auto-libm-test-out: Regenerated.
7953 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7954
7955 * math/auto-libm-test-in: Add more tests of lgamma.
7956 * math/auto-libm-test-out: Regenerated.
7957 * sysdeps/i386/fpu/libm-test-ulps: Update.
7958 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7959
7960 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
7961 log1p.
7962 * math/auto-libm-test-out: Regenerated.
7963 * sysdeps/i386/fpu/libm-test-ulps: Update.
7964 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7965
7966 2015-05-01 Mark Wielaard <mjw@redhat.com>
7967
7968 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
7969 Elf64_Chdr structs and ELFCOMPRESS constants.
7970
7971 2015-05-01 Joseph Myers <joseph@codesourcery.com>
7972
7973 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
7974 expm1.
7975 * math/auto-libm-test-out: Regenerated.
7976 * sysdeps/i386/fpu/libm-test-ulps: Update.
7977 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7978
7979 * math/auto-libm-test-in: Add more tests of erf and erfc.
7980 * math/auto-libm-test-out: Regenerated.
7981 * sysdeps/i386/fpu/libm-test-ulps: Update.
7982 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7983
7984 2015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
7985
7986 * config.h.in (HAVE_AARCH64_BE): Add.
7987
7988 2015-04-30 Joseph Myers <joseph@codesourcery.com>
7989
7990 * math/auto-libm-test-in: Add more tests of csqrt.
7991 * math/auto-libm-test-out: Regenerated.
7992 * sysdeps/i386/fpu/libm-test-ulps: Update.
7993 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7994
7995 * math/auto-libm-test-in: Add more tests of cosh and sinh.
7996 * math/auto-libm-test-out: Regenerated.
7997 * sysdeps/i386/fpu/libm-test-ulps: Update.
7998 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7999
8000 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
8001
8002 2015-04-29 Roland McGrath <roland@hack.frob.com>
8003
8004 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
8005 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
8006
8007 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
8008 (euidaccess, eaccess): Define as weak aliases.
8009
8010 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
8011 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
8012 but __suseconds_t is often 'long int' so some sources assume that
8013 type is being used (e.g. they use %ld to print tv_usec).
8014
8015 2015-04-29 Florian Weimer <fweimer@redhat.com>
8016
8017 [BZ #18007]
8018 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
8019 (CVE-2014-8121)
8020 * nss/tst-nss-getpwent.c: New file.
8021 * nss/Makefile (tests): Add new test.
8022
8023 2015-04-28 Joseph Myers <joseph@codesourcery.com>
8024
8025 [BZ #18346]
8026 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
8027 exponents less than 48 as cases where high part of mantissa needs
8028 examining to determine whether argument is integral.
8029 * math/libm-test.inc (round_test_data): Add more tests.
8030
8031 2015-04-28 Mark Wielaard <mjw@redhat.com>
8032
8033 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
8034
8035 2015-04-27 David S. Miller <davem@davemloft.net>
8036
8037 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
8038 __tls_get_addr.
8039 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
8040
8041 2015-04-27 H.J. Lu <hongjiu.lu@intel.com>
8042
8043 [BZ#18333]
8044 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
8045
8046 2015-04-27 Florian Weimer <fweimer@redhat.com>
8047
8048 [BZ#18333]
8049 * time/tzset.c (parse_tzname): Return error on memory allocation
8050 failure.
8051 * test-skeleton.c (struct temp_name_list): Change type of name
8052 member to non-const.
8053 (add_temp_file): Create a copy of the file name.
8054 (delete_temp_files): Deallocate memory.
8055 (create_temp_file): Add comment.
8056
8057 2015-04-24 Florian Weimer <fweimer@redhat.com>
8058
8059 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
8060 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
8061
8062 2015-04-24 Roland McGrath <roland@hack.frob.com>
8063
8064 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
8065 * sysdeps/arm/configure: Regenerated.
8066
8067 2015-04-24 Florian Weimer <fweimer@redhat.com>
8068
8069 [BZ #17715]
8070 * time/tzfile.c (__tzfile_read): Check for large values of
8071 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
8072 * time/tzset.c (__tzstring_len): New function, based on the old
8073 __tzstring function.
8074 (__tzstring): Call __tzstring_len.
8075 (parse_tzname): New helper function extracted from
8076 __tzset_parse_tz. Call __tzstring_len, without making a copy of
8077 the input string.
8078 (parse_offset): New helper function extracted from
8079 __tzset_parse_tz. Replace switch with fallthrough with
8080 initialization before sscanf.
8081 (parse_rule): Likewise.
8082 (__tzset_parse_tz): Rewrite using the new helper functions. Use
8083 new-style function definition.
8084 * timezone/Makefile (tests): Add tst-tzset.
8085 (tst-tzset.out): Dependencies on time zone files.
8086 (tst-tzset-ENV): Set TZDIR.
8087 (testdata/XT%): Copy crafted time zone files.
8088 * timezone/README: Mention crafted time zone files.
8089 * timezone/testdata/XT1, timezone/testdata/XT2,
8090 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
8091 files.
8092 * timezone/tst-tzset.c: New test.
8093
8094 2015-04-24 Florian Weimer <fweimer@redhat.com>
8095
8096 * Makeconfig (+gccwarn): Remove -Winline.
8097
8098 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
8099
8100 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
8101
8102 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
8103
8104 * NEWS: Mention sysconf() cache information support for s390.
8105 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
8106
8107 2015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
8108
8109 * math/k_casinh.c (__kernel_casinh): Use __copysign.
8110 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
8111 (__nearbyint): Likewise.
8112 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
8113 (copysignl): Likewise.
8114
8115 2015-04-21 Arjun Shankar <arjun.is@lostca.se>
8116
8117 [BZ #18287]
8118 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
8119 based on padding. (CVE-2015-1781)
8120
8121 2015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8122
8123 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
8124 libc-vdso.h.
8125 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
8126 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
8127 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
8128 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
8129 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
8130 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
8131 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
8132 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
8133 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
8134 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
8135 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
8136 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
8137 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
8138 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
8139 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
8140 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
8141 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
8142 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
8143 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
8144 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
8145 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
8146 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
8147 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
8148
8149 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
8150
8151 * stdlib/setenv.c (__add_to_environ):
8152 Dump core quickly if setenv (..., NULL, ...) is called.
8153 This time, do it the right way, and pacify GCC with a pragma.
8154
8155 2015-04-17 Roland McGrath <roland@hack.frob.com>
8156
8157 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
8158 IMAP->l_prev cannot be null, and #if out the code for the contrary
8159 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
8160 believe that NS (&_dl_ns[NSID]) could point outside the array.
8161
8162 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
8163 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
8164 before using NSID as an index.
8165
8166 2015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
8167
8168 [BZ #17825]
8169 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
8170 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
8171 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
8172
8173 2015-04-17 Roland McGrath <roland@hack.frob.com>
8174
8175 Add preliminary port to Google Native Client on ARM.
8176 * abi-tags (.*-.*-nacl.*): New entry.
8177 * sysdeps/arm/nacl: New directory.
8178 * sysdeps/nacl: New directory.
8179
8180 2015-04-16 David S. Miller <davem@davemloft.net>
8181
8182 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
8183 lowlevellock-futex.h
8184
8185 2015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
8186
8187 * sysdeps/tile/configure.ac: New file.
8188 * sysdeps/tile/configure: Regenerated.
8189
8190 2015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8191
8192 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
8193 conditionals for weak_alias and libc_hidden_weak.
8194 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
8195 libc_hidden_weak and weak_alias.
8196 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
8197 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
8198 and weak_alias for static one.
8199
8200 2015-04-15 David S. Miller <davem@davemloft.net>
8201
8202 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
8203
8204 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
8205
8206 [BZ #18206]
8207 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
8208 Use signed comparision instead of substraction to avoid
8209 overflow bug.
8210 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
8211 Take the sign of ret.
8212 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
8213 Do not expect precise return values. Only the sign matters.
8214 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
8215 * wcsmbs/test-wcsncmp.c: New File.
8216 * string/test-strncmp.c: Add wcsncmp support.
8217
8218 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
8219
8220 [BZ #6792]
8221 * math/w_log1p.c: New file.
8222 * math/w_log1pf.c: Likewise.
8223 * math/w_log1pl.c: Likewise.
8224 * math/Makefile (libm-calls): Add w_log1p.
8225 * math/s_log1pl.c (log1pl): Remove weak_alias.
8226 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
8227 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
8228 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
8229 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
8230 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
8231 [NO_LONG_DOUBLE] (log1pl): Likewise.
8232 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
8233 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
8234 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
8235 (log1p): Remove long_double_symbol.
8236 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
8237 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
8238 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
8239 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
8240 remove weak_alias for corresponding log1p function.
8241 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
8242 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
8243 * sysdeps/ia64/fpu/w_log1p.c: New file.
8244 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
8245 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
8246 * math/libm-test.inc (log1p_test_data): Add errno expectations.
8247
8248 2015-04-10 Joseph Myers <joseph@codesourcery.com>
8249
8250 [BZ #18247]
8251 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
8252 decimal exponent by 1.
8253 * stdlib/tst-strtod-round-data: Add more tests.
8254 * stdlib/tst-strtod-round.c (tests): Regenerated.
8255
8256 2015-04-09 Joseph Myers <joseph@codesourcery.com>
8257
8258 * math/auto-libm-test-in: Add more tests of clog and clog10.
8259 * math/auto-libm-test-out: Regenerated.
8260 * sysdeps/i386/fpu/libm-test-ulps: Update.
8261 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8262
8263 2015-04-09 Roland McGrath <roland@hack.frob.com>
8264
8265 * Makeconfig (module-cppflags): Exclude all .v.i files.
8266 (skip-module-cppflags): Variable removed.
8267
8268 * configure.ac (libc_config_ok): Initialize before reading
8269 preconfigure scripts, not after.
8270 * configure: Regenerated.
8271
8272 * test-skeleton.c (TIMEOUT): Move #define to top level.
8273 (main): Grok environment variable TEST_DIRECT. If set, print
8274 test expectation details into that file and then behave as if
8275 given --direct.
8276
8277 2015-04-09 Florian Weimer <fweimer@redhat.com>
8278
8279 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
8280 warning on 32-bit.
8281
8282 2015-04-08 David S. Miller <davem@davemloft.net>
8283
8284 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8285
8286 2015-04-08 Joseph Myers <joseph@codesourcery.com>
8287
8288 * math/auto-libm-test-in: Add more tests of atanh.
8289 * math/auto-libm-test-out: Regenerated.
8290 * sysdeps/i386/fpu/libm-test-ulps: Update.
8291 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8292
8293 * math/auto-libm-test-in: Add more tests of atan.
8294 * math/auto-libm-test-out: Regenerated.
8295 * sysdeps/i386/fpu/libm-test-ulps: Update.
8296 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8297
8298 2015-04-08 Florian Weimer <fweimer@redhat.com>
8299
8300 * elf/pldd.c (main): Rewrite to use struct
8301 scratch_buffer instead of extend_alloca.
8302 * elf/pldd-xx.c (find_maps): Likewise.
8303 * grp/initgroups.c: Include <scratch_buffer.h> instead of
8304 <alloca.h>.
8305 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
8306 scratch_buffer instead of extend_alloca.
8307 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
8308 grp/compat-initgroups.c.
8309 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
8310 Rewrite to use struct scratch_buffer instead of extend_alloca.
8311 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
8312 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
8313
8314 2015-04-08 Joseph Myers <joseph@codesourcery.com>
8315
8316 * math/auto-libm-test-in: Add more tests of cbrt.
8317 * math/auto-libm-test-out: Regenerated.
8318 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8319
8320 * math/auto-libm-test-in: Add more tests of cabs.
8321 * math/auto-libm-test-out: Regenerated.
8322 * sysdeps/i386/fpu/libm-test-ulps: Update.
8323 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8324
8325 [BZ #18210]
8326 [BZ #18211]
8327 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
8328 (__ieee754_atan2): Set FE_TONEAREST mode for internal
8329 computations.
8330 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
8331 clog10.
8332 * math/auto-libm-test-out: Regenerated.
8333 * sysdeps/i386/fpu/libm-test-ulps: Update.
8334 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8335
8336 [BZ #18197]
8337 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
8338 (atan): Set FE_TONEAREST mode for internal computations.
8339 * math/auto-libm-test-in: Add more tests of atan.
8340 * math/auto-libm-test-out: Regenerated.
8341
8342 2015-04-07 James Cowgill <james410@cowgill.org.uk>
8343
8344 [BZ #17930]
8345 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
8346
8347 2015-04-07 Florian Weimer <fweimer@redhat.com>
8348
8349 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
8350
8351 2015-04-07 Florian Weimer <fweimer@redhat.com>
8352
8353 * include/scratch_buffer.h: New file.
8354 * malloc/scratch_buffer_grow.c: Likewise.
8355 * malloc/scratch_buffer_grow_preserve.c: Likewise.
8356 * malloc/scratch_buffer_set_array_size.c: Likewise.
8357 * malloc/tst-scratch_buffer.c: Likewise.
8358 * malloc/Makefile (routines): Add scratch_buffer_grow.
8359 (tests): Add test case.
8360 * malloc/Versions (GLIBC_PRIVATE): Export
8361 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
8362 __libc_scratch_buffer_set_array_size.
8363
8364 2015-04-06 Richard Henderson <rth@redhat.com>
8365
8366 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
8367 * sysdeps/alpha/fpu/libm-test-ulps: Update.
8368
8369 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
8370 unsigned int before printing.
8371
8372 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8373
8374 [BZ #17596]
8375 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
8376 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
8377
8378 2015-04-02 Florian Weimer <fweimer@redhat.com>
8379
8380 * include/libc-internal.h (libc_max_align_t): Define.
8381
8382 2015-04-02 Andreas Schwab <schwab@suse.de>
8383
8384 [BZ #16850]
8385 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
8386
8387 2015-04-02 Mel Gorman <mgorman@suse.de>
8388
8389 [BZ #17195]
8390 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
8391 as well as the main arena.
8392
8393 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
8394
8395 [BZ #18185]
8396 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
8397 sharing L2 cache to 2 for Silvermont/Knights Landing.
8398
8399 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
8400
8401 [BZ #17711]
8402 * config.make.in (have-protected-data): New.
8403 * configure.ac: Check linker support for protected data symbol.
8404 * configure: Regenerated.
8405 * elf/Makefile (modules-names): Add tst-protected1moda and
8406 tst-protected1modb if $(have-protected-data) is yes.
8407 (tests): Add tst-protected1a and tst-protected1b if
8408 $(have-protected-data) is yes.
8409 ($(objpfx)tst-protected1a): New.
8410 ($(objpfx)tst-protected1b): Likewise.
8411 (tst-protected1modb.so-no-z-defs): Likewise.
8412 * elf/tst-protected1a.c: New file.
8413 * elf/tst-protected1b.c: Likewise.
8414 * elf/tst-protected1mod.h: Likewise.
8415 * elf/tst-protected1moda.c: Likewise.
8416 * elf/tst-protected1modb.c: Likewise.
8417
8418 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
8419
8420 [BZ #17711]
8421 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
8422 indicates it is called from do_lookup_x on relocation against
8423 protected data, skip the data definion in the executable from
8424 copy reloc.
8425 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
8426 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
8427 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
8428 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
8429 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
8430 otherwise to 0.
8431 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
8432 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
8433 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
8434 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
8435 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
8436 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
8437
8438 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
8439
8440 * sysdeps/nptl/pthread.h: Remove duplicate definition of
8441 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
8442
8443 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
8444
8445 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
8446 THREAD_SETMEM_NC.
8447 * sysdeps/x86_64/nptl/tls.h: Ditto.
8448
8449 2015-03-27 Roland McGrath <roland@hack.frob.com>
8450
8451 * dlfcn/tststatic.c (main): Converted to ...
8452 (do_test): ... this.
8453 (TEST_FUNCTION): New macro.
8454 Include test-skeleton.c.
8455
8456 2015-03-26 Alan Modra <amodra@gmail.com>
8457
8458 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
8459 Don't segfault if ifunc resolver returns a NULL. Do set plt to
8460 zero for undefined weak.
8461 (elf_machine_plt_conflict): Similarly.
8462
8463 2015-03-25 Joseph Myers <joseph@codesourcery.com>
8464
8465 * math/auto-libm-test-in: Add more tests of acosh, asinh and
8466 atanh.
8467 * math/auto-libm-test-out: Regenerated.
8468 * sysdeps/i386/fpu/libm-test-ulps: Update.
8469 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8470
8471 * math/auto-libm-test-in: Add another test of asin.
8472 * math/auto-libm-test-out: Regenerated.
8473 * sysdeps/i386/fpu/libm-test-ulps: Update.
8474 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8475
8476 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
8477 Remove macro.
8478 (LLL_EBX_REG): Likewise.
8479 (LLL_ENTER_KERNEL): Likewise.
8480
8481 * math/auto-libm-test-in: Add more tests of asin.
8482 * math/auto-libm-test-out: Regenerated.
8483 * sysdeps/i386/fpu/libm-test-ulps: Update.
8484 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8485
8486 [BZ #18138]
8487 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
8488 libc_do_syscall_args): New structure.
8489 (INTERNAL_SYSCALL_MAIN_0): New macro.
8490 (INTERNAL_SYSCALL_MAIN_1): Likewise.
8491 (INTERNAL_SYSCALL_MAIN_2): Likewise.
8492 (INTERNAL_SYSCALL_MAIN_3): Likewise.
8493 (INTERNAL_SYSCALL_MAIN_4): Likewise.
8494 (INTERNAL_SYSCALL_MAIN_5): Likewise.
8495 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
8496 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
8497 Replace conditional definitions by conditional definitions of ....
8498 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
8499 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
8500 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
8501 (libpthread-sysdep_routines): Add libc-do-syscall.
8502 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
8503 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
8504 to __NR_futex not 240.
8505
8506 2015-03-25 Alan Modra <amodra@gmail.com>
8507
8508 * NEWS: Advertise TLS optimization.
8509 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
8510 (DT_PPC_NUM): Increment.
8511 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
8512 (CHECK_STATIC_TLS): Use here.
8513 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
8514 TLS descriptors.
8515 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
8516 * sysdeps/powerpc/dl-tls.c: New file.
8517 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
8518 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
8519 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
8520 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
8521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
8522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
8523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
8524
8525 2015-03-25 Alan Modra <amodra@gmail.com>
8526
8527 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
8528 for overlapping .opd entries" to "support...".
8529 * sysdeps/powerpc/powerpc64/configure: Regenerate
8530
8531 2015-03-25 Joseph Myers <joseph@codesourcery.com>
8532
8533 * math/auto-libm-test-in: Add more tests of acos.
8534 * math/auto-libm-test-out: Regenerated.
8535 * sysdeps/i386/fpu/libm-test-ulps: Update.
8536 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8537
8538 * math/auto-libm-test-in: Add more tests of expm1.
8539 * math/auto-libm-test-out: Regenerated.
8540 * sysdeps/i386/fpu/libm-test-ulps: Update.
8541 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8542
8543 2015-03-24 Joseph Myers <joseph@codesourcery.com>
8544
8545 * math/auto-libm-test-in: Add more tests of cosh and sinh.
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 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
8551 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8552
8553 * math/auto-libm-test-in: Add more tests of log2.
8554 * math/auto-libm-test-out: Regenerated.
8555 * sysdeps/i386/fpu/libm-test-ulps: Update.
8556 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8557
8558 2015-03-23 Roland McGrath <roland@hack.frob.com>
8559
8560 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
8561 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
8562 _IO_IS_APPENDING bit in READ_WRITE instead.
8563
8564 2015-03-23 Florian Weimer <fweimer@redhat.com>
8565
8566 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
8567 (__determine_cpumask_size): Replace extend_alloca with a
8568 variable-length array. Do not treat res == 0 as an error.
8569
8570 2015-03-23 Florian Weimer <fweimer@redhat.com>
8571
8572 [BZ #18100]
8573 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
8574 and integer overflow.
8575 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
8576 (main): Add integer overflow tests.
8577 * manual/pattern.texi (Calling Wordexp): Document additional use
8578 for WRDE_SYNTAX.
8579
8580 2015-03-23 Alan Modra <amodra@gmail.com>
8581
8582 * config.h.in: Remove HAVE_ASM_PPC_REL16.
8583 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
8584 and false branch of conditional.
8585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
8586 Likewise.
8587
8588 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
8589
8590 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
8591 libc-modules.h
8592 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
8593 unused declaration of _hurd_intr_rpc_msg_in_trap.
8594 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
8595 defined instead of whether it is non-zero.
8596 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
8597 input constraint instead of both input and output constraint. Use ecx
8598 clobber instead of %ecx.
8599 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
8600 mutex_unlock): Use a statement expression instead of an expression list.
8601 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
8602 type to vm_size_t instead of vm_address_t.
8603 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
8604 defined instead of whether it is non-zero.
8605 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
8606 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
8607 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
8608 comparisons with mapaddr.
8609 * nscd/nscd-client.h: Include <time.h>.
8610 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
8611 9th parameter to __vm_region instead of int.
8612 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
8613 * scripts/check-local-headers.sh (exclude): Add device/,
8614 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
8615 cthreads.h.
8616
8617 2015-03-19 Roland McGrath <roland@hack.frob.com>
8618
8619 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
8620 to account for alignment padding.
8621 * sysdeps/arm/memmove.S: Likewise.
8622
8623 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
8624
8625 * sysdeps/unix/sysv/linux/generic/README: New file.
8626
8627 2015-03-18 Joseph Myers <joseph@codesourcery.com>
8628
8629 [BZ #18138]
8630 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
8631 (futex_abstimed_wait)
8632 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
8633 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
8634 of lll_futex_timed_wait.
8635
8636 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
8637
8638 [BZ #17542]
8639 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
8640
8641 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
8642
8643 [BZ #17090]
8644 [BZ #17620]
8645 [BZ #17621]
8646 [BZ #17628]
8647 * NEWS: Update.
8648 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
8649 entries with Static TLS too. Skip entries past the end of the
8650 allocated DTV, from Alan Modra.
8651 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
8652 Static TLS DTV entry set up from...
8653 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
8654 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
8655 * nptl/allocatestack.c (init_one_static_tls): ... and here...
8656 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
8657 for Static TLS.
8658 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
8659 that the slot we find is associated with the given map before
8660 using its generation count.
8661 * nptl_db/db_info.c: Include ldsodefs.h.
8662 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
8663 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
8664 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
8665 (link_map::l_tls_offset): New struct field.
8666 (dtv_t::counter): Likewise.
8667 (rtld_global): New struct.
8668 (_rtld_global): New rtld variable.
8669 (dl_tls_dtv_slotinfo_list): New rtld global field.
8670 (dtv_slotinfo_list): New struct.
8671 (dtv_slotinfo): Likewise.
8672 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
8673 (td_lookup): Rename to...
8674 (td_mod_lookup): ... this. Use new mod parameter instead of
8675 LIBPTHREAD_SO.
8676 * nptl_db/td_thr_tlsbase.c: Include link.h.
8677 (dtv_slotinfo_list, dtv_slotinfo): New functions.
8678 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
8679 addresses even if the DTV is out of date or missing them.
8680 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
8681 index zero-length arrays.
8682 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
8683 (td_lookup): Make it a macro implemented in terms of...
8684 (td_mod_lookup): ... this declaration.
8685 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
8686 (DB_MAIN_VARIABLE): Likewise.
8687
8688 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
8689
8690 [BZ #18134]
8691 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
8692
8693 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
8694
8695 * stdlib/setenv.c (__add_to_environ): Revert previous change.
8696
8697 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
8698
8699 [BZ #18128]
8700 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
8701 (atomic_add, atomic_increment_and_test)
8702 (atomic_decrement_and_test): Fix 64-bit arithmetic.
8703
8704 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
8705
8706 * stdlib/setenv.c (__add_to_environ):
8707 Dump core quickly if setenv (..., NULL, ...) is called.
8708
8709 2015-03-13 Roland McGrath <roland@hack.frob.com>
8710
8711 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
8712 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
8713 all the necessary asm magic in one place.
8714 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
8715 using those.
8716
8717 2015-03-13 Carlos O'Donell <carlos@redhat.com>
8718
8719 [BZ #14906]
8720 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
8721 traced file mtime. Use consistent log message.
8722 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
8723 (register_traced_file): Call install_watches. Always set mtime.
8724 (invalidate_cache): Iterate over all trace files. Call install_watches.
8725 (inotify_check_files): Don't inline. Handle watching parent
8726 directories and configuration file movement in and out.
8727 (handle_inotify_events): New function.
8728 (main_loop_poll): Call handle_inotify_events.
8729 (main_loop_epoll): Likewise.
8730 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
8731 (struct traced_file): Use array of inotify fds. Add parent directory,
8732 and basename.
8733 (struct database_dyn): Remove unused file_mtime.
8734 (init_traced_file): New inline function.
8735 (define_traced_file): New macro.
8736 * nss/nss_db/db-init.c: Use define_traced_file.
8737 (_nss_db_init): Use init_traced_file.
8738 * nss/nss_files/files-init.c: Use define_traced_file.
8739 (_nss_files_init): Use init_traced_file.
8740
8741 2015-03-12 Joseph Myers <joseph@codesourcery.com>
8742
8743 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
8744 [_LIBC]: Do not include <stdlib.h>.
8745 [!_LIBC] (abort): Remove declaration.
8746 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
8747 _FP_STATIC_ASSERT instead of conditionally calling abort.
8748 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
8749 (_FP_EXTEND_CNAN): Likewise.
8750 (FP_TRUNC): Likewise.
8751 (__FP_CLZ): Likewise.
8752 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
8753
8754 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
8755
8756 * manual/string.texi (XPG basename): Fix prototype.
8757
8758 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
8759
8760 [BZ #18080]
8761 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
8762 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
8763 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
8764 (__setcontext): Likewise.
8765 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
8766 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
8767 Call rt_sigprocmask syscall one time to set new signal mask
8768 and retrieve the current signal mask instead of two calls.
8769 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
8770 (__swapcontext): Likewise.
8771 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
8772 * stdlib/tst-setcontext2.c: New file.
8773
8774 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
8775
8776 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8777
8778 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
8779
8780 [BZ #18093]
8781 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
8782 the wrong size.
8783
8784 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
8785
8786 [BZ #18043]
8787 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
8788
8789 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
8790
8791 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
8792 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
8793 Remove define.
8794 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
8795 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
8796 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
8797 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
8798 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
8799 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
8800 define.
8801 * nptl_db/td_symbol_list.c (td_lookup): Remove
8802 HAVE_ASM_GLOBAL_DOT_NAME code.
8803 * sysdeps/powerpc/powerpc64/configure.ac: Remove
8804 HAVE_ASM_GLOBAL_DOT_NAME check.
8805 * sysdeps/powerpc/powerpc64/configure: Regenerate.
8806 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
8807 (DOT_LABEL): Remove define.
8808 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
8809 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
8810 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
8811 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
8812 (__TLS_GET_ADDR): Likewise.
8813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
8814 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
8815
8816 2015-03-11 Carlos O'Donell <carlos@redhat.com>
8817
8818 [BZ #18111]
8819 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
8820 (_FPU_SETCW): Initialize cw from fpsr before storing.
8821 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
8822 (fesetexceptflag): Rewrite using fpu_control.h.
8823 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
8824
8825 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
8826
8827 [BZ #18110]
8828 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
8829 asms.
8830 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
8831
8832 2015-03-11 Joseph Myers <joseph@codesourcery.com>
8833
8834 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
8835 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
8836 abort.
8837 (_FP_FMA): Likewise.
8838 (_FP_DIV): Likewise.
8839
8840 2015-03-10 Roland McGrath <roland@hack.frob.com>
8841
8842 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
8843 with 0 in that case.
8844 * Makefile (summarize-tests): New canned sequence, factored out of
8845 commands for targets tests and xtests. Display summary lines that
8846 don't start with PASS: or XFAIL: rather than ones that do start with
8847 ERROR: or FAIL:. Make the commands fail if any summary lines fail
8848 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
8849 do start with ERROR: or FAIL:.
8850 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
8851 (except for [$(build-shared) = yes]).
8852 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
8853 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
8854 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
8855 * nptl/Makefile: Revert 2015-03-04 changes.
8856 [$(CXX) empty] (tests-unsupported): New variable.
8857 * debug/Makefile: Likewise.
8858
8859 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
8860 gnulib file. Replace __attribute with __attribute__ throughout.
8861
8862 2015-03-10 Carlos O'Donell <carlos@redhat.com>
8863
8864 * sysdeps/hppa/fpu/libm-test-ulps: Update.
8865
8866 2015-03-10 Joseph Myers <joseph@codesourcery.com>
8867
8868 [BZ #18104]
8869 * math/auto-libm-test-in: Add another test of pow.
8870 * math/auto-libm-test-out: Regenerated.
8871
8872 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8873
8874 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
8875 $(config-cflags-nofma).
8876
8877 2015-03-10 Joseph Myers <joseph@codesourcery.com>
8878
8879 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
8880 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
8881 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
8882 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
8883 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
8884 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
8885 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
8886 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
8887 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
8888 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
8889 Add comment on closing #endif.
8890
8891 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
8892
8893 * posix/wordexp.c (CHAR_IN_SET): New macro.
8894 (parse_param): Use it.
8895
8896 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8897
8898 * sysdeps/powerpc/fpu/libm-test-ulps: update.
8899
8900 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
8901
8902 [BZ #18043]
8903 * posix/wordexp.c (parse_param): Fix buffer overflow.
8904 * posix/wordexp-test.c (test_case): Add test case.
8905
8906 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
8907
8908 [BZ #18042]
8909 * posix/wordexp.c (parse_backtick): Fix off-by-one.
8910 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
8911
8912 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
8913
8914 [BZ #18043]
8915 * posix/wordexp-test.c (test_case): Add test for BZ #18043
8916 (do_bz18043): Delete.
8917 (at_page_end): New.
8918 (testit): Refactor to have words at the edge of unreadable page.
8919
8920 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
8921
8922 [BZ #16734]
8923 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
8924 Cleanup read-only streams as well.
8925 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
8926
8927 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
8928
8929 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
8930 <bits/libc-lockP.h>
8931
8932 2015-03-07 Joseph Myers <joseph@codesourcery.com>
8933
8934 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
8935 on [__KERNEL__].
8936 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
8937 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
8938 * soft-fp/op-common.h (_FP_DECL): Likewise.
8939
8940 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
8941
8942 * elf/ifuncdep2.c (global): Replace
8943 __attribute__((visibility("protected"))) with
8944 asm (".protected global").
8945 * elf/ifuncmod1.c (global): Likewise.
8946 * elf/ifuncmod5.c (global): Likewise.
8947
8948 2015-03-06 Joseph Myers <joseph@codesourcery.com>
8949
8950 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
8951 <asm/sfp-machine.h> instead of <sfp-machine.h>.
8952
8953 2015-03-06 Roland McGrath <roland@hack.frob.com>
8954
8955 * manual/install.texi (Configuring and compiling):
8956 Document test-wrapper-env-only.
8957 * INSTALL: Regenerated.
8958
8959 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8960
8961 [BZ #18043]
8962 * posix/wordexp.c (parse_param): Fix buffer overflow.
8963 * posix/wordexp-test.c (do_bz18043): Add test case.
8964
8965 2015-03-06 Vincent Bernat <vincent@bernat.im>
8966
8967 * time/tst-strptime2.c (do_test): Ensure failing tests are
8968 reported correctly.
8969 * time/tst-strptime3.c (do_test): Likewise.
8970
8971 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
8972
8973 Fix aio_error thread-safety.
8974 * sysdeps/pthread/aio_error.c: New file
8975 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
8976 synchronization.
8977
8978 2015-03-06 Florian Weimer <fweimer@redhat.com>
8979
8980 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
8981 (group_number, vfprintf): Use it.
8982 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
8983 (JUMP, REF): Use it.
8984 (WORK_BUFFER_SIZE): New enum constant.
8985 (process_arg, vfprintf): Use it.
8986
8987 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
8988
8989 * manual/errno.texi (Error Messages): Complete example function
8990 by adding missing #define.
8991 (program_invocation_name): Add statement indicating GNU
8992 extension and reference which header file declares the variable.
8993 (program_invocation_short_name): Likewise.
8994
8995 2015-03-06 Mike Frysinger <vapier@gentoo.org>
8996
8997 * manual/errno.texi (Error Messages): Delete strerror ISO C89
8998 compatibility note.
8999
9000 2015-03-05 Roland McGrath <roland@hack.frob.com>
9001
9002 * Makeconfig (test-wrapper-env-only): New variable.
9003 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
9004 then use that with $(test-wrapper-env-only) rather than using
9005 $(test-wrapper-env) $(run-program-env) $($*-ENV).
9006
9007 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
9008
9009 [BZ #18082]
9010 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
9011 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
9012 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
9013 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
9014 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
9015 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
9016 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
9017 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
9018 Likewise.
9019 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
9020 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
9021 Likewise.
9022 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
9023 Likewise.
9024 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
9025 Likewise.
9026 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
9027 Likewise.
9028 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
9029 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
9030 Likewise.
9031 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
9032 Likewise.
9033 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
9034 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
9035
9036 2015-03-04 Roland McGrath <roland@hack.frob.com>
9037
9038 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
9039 (ETH_ALEN): New macro.
9040 (struct ether_addr): Use it for length of ether_addr_octet.
9041
9042 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
9043 (setdb): Don't call __nss_configure_lookup for "rpc".
9044 (do_test): Don't call test_rpc.
9045 (output_rpcent, test_rpc): Functions moved ...
9046 * sunrpc/test-rpcent.c: ... to this new file.
9047 * sunrpc/Makefile (tests): Add it.
9048
9049 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
9050 __xpg_sigpause.
9051 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
9052 * nptl/tst-signal6.c: Likewise.
9053 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
9054 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
9055
9056 * configure.ac (libc_cv_cxx_link_ok): New check.
9057 Reset CXX to empty if it fails to link.
9058 * configure: Regenerated.
9059 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
9060 bug-atexit3-lib only if $(CXX) is nonempty.
9061 * nptl/Makefile (tests): Likewise for tst-cancel24.
9062 (tests, tests-static): Likewise for tst-cancel24-static.
9063 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
9064 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
9065 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
9066 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
9067
9068 2015-03-04 Andreas Schwab <schwab@suse.de>
9069
9070 [BZ #17631]
9071 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
9072 for non-GCC compilers.
9073 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
9074 Likewise.
9075
9076 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
9077
9078 [BZ #17776]
9079 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
9080 integer before bitwise and assembly operations.
9081 (feclearexcept): Likewise.
9082 * math/test-fenvinline.c: New file.
9083 * math/Makefile: Add test-fenvinline test.
9084
9085 2015-03-03 Alan Modra <amodra@gmail.com>
9086
9087 [BZ #16512]
9088 * scripts/localplt.awk: Strip off symbol version.
9089 * NEWS: Mention bug fix.
9090
9091 2015-03-02 Roland McGrath <roland@hack.frob.com>
9092
9093 * sysdeps/pthread/timer_routines.c
9094 (timer_free_list, thread_free_list, thread_active_list): Make static.
9095
9096 2015-03-02 Joseph Myers <joseph@codesourcery.com>
9097
9098 [BZ #17779]
9099 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
9100 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
9101 Undefine.
9102 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9103 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
9104 Likewise.
9105 * sysdeps/unix/sysv/linux/sh/kernel-features.h
9106 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
9107 Likewise.
9108
9109 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
9110
9111 [BZ #18036]
9112 * posix/fnmatch_loop.c (END): Detect invalid pattern.
9113 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
9114
9115 2015-03-02 Andreas Schwab <schwab@suse.de>
9116
9117 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
9118 variable name.
9119
9120 2015-03-02 Florian Weimer <fweimer@redhat.com>
9121
9122 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
9123 Return error status.
9124
9125 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
9126
9127 [BZ #15969]
9128 * locale/findlocale.c (_nl_find_locale): Introduce const
9129 version of loc_name and drop unsafe type casts.
9130
9131 2015-02-27 Roland McGrath <roland@hack.frob.com>
9132
9133 * dlfcn/tststatic2.c (main): Converted to ...
9134 (do_test): ... this.
9135 (TEST_FUNCTION): New macro.
9136 Include test-skeleton.c.
9137
9138 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
9139
9140 [BZ #17711]
9141 * elf/Makefile (tests): Add vismain only if PIE is enabled.
9142 (tests-pie): Add vismain.
9143 (CFLAGS-vismain.c): New.
9144 * elf/vismain.c: Add comments for PIE requirement.
9145
9146 2015-02-27 Joseph Myers <joseph@codesourcery.com>
9147
9148 [BZ #18046]
9149 [BZ #18047]
9150 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
9151 0x1p-56L as threshold for just returning the argument.
9152 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
9153 0x1p-32L as threshold for just returning the argument.
9154 * math/auto-libm-test-in: Add more tests of atanh.
9155 * math/auto-libm-test-out: Regenerated.
9156 * sysdeps/i386/fpu/libm-test-ulps: Update.
9157 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
9158
9159 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
9160
9161 * string/bcopy.c (bcopy): Call memmove for performance.
9162
9163 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
9164
9165 * string/bzero.c (__bzero): Call memset for performance.
9166
9167 2015-02-27 John David Anglin <dave.anglin@bell.net>
9168
9169 [BZ #18068]
9170 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
9171 to 00100000.
9172
9173 2015-02-27 Joseph Myers <joseph@codesourcery.com>
9174
9175 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
9176
9177 2015-02-26 Joseph Myers <joseph@codesourcery.com>
9178
9179 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
9180 (__kernel_standard): Use CSTR macro when setting exc.name.
9181 * sysdeps/ieee754/Makefile [$(subdir) = math]
9182 (CFLAGS-k_standard.c): Remove variable.
9183
9184 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
9185 setting p and q from "else if" to "else".
9186 (qzero): Likewise.
9187 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
9188 (qone): Likewise.
9189 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
9190 (qzerof): Likewise.
9191 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
9192 (qonef): Likewise.
9193 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
9194 (qzero): Likewise.
9195 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
9196 (qone): Likewise.
9197
9198 [BZ #18038]
9199 [BZ #18039]
9200 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
9201 return pi/2 for arguments below 0x1p-113L.
9202 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
9203 return pi/2 for arguments below 0x1p-106L.
9204 * math/auto-libm-test-in: Add more tests of acos.
9205 * math/auto-libm-test-out: Regenerated.
9206
9207 [BZ #16351]
9208 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
9209 (MO): New macro.
9210 (__ieee754_asin): Force underflow exception for results with small
9211 absolute value.
9212 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
9213 (MO): New macro.
9214 (__ieee754_asinf): Force underflow exception for results with
9215 small absolute value.
9216 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
9217 (__ieee754_asin): Force underflow exception for results with small
9218 absolute value.
9219 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
9220 (__ieee754_asinf): Force underflow exception for results with
9221 small absolute value.
9222 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
9223 (__ieee754_asinl): Force underflow exception for results with
9224 small absolute value.
9225 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
9226 (__ieee754_asinl): Force underflow exception for results with
9227 small absolute value.
9228 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
9229 (__ieee754_asinl): Force underflow exception for results with
9230 small absolute value.
9231 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
9232 Include <math.h>.
9233 * math/auto-libm-test-in: Do not mark underflow exceptions as
9234 possibly missing for bug 16351.
9235 * math/auto-libm-test-out: Regenerated.
9236
9237 [BZ #18030]
9238 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
9239 of power of 2 down when low part has opposite sign.
9240 * math/libm-test.inc (logb_test_data): Add more tests.
9241
9242 2015-02-26 Andreas Schwab <schwab@suse.de>
9243
9244 [BZ #18032]
9245 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
9246 over collating symbol inside a bracket expression. Minor cleanup.
9247 * posix/tst-fnmatch3.c (do_test): Add test case.
9248
9249 2015-02-26 Joseph Myers <joseph@codesourcery.com>
9250
9251 [BZ #18029]
9252 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
9253 Adjust exponent of power of 2 down when low part has opposite
9254 sign.
9255 * math/libm-test.inc (ilogb_test_data): Add more tests.
9256
9257 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
9258
9259 [BZ #15969]
9260 * locale/findlocale.c (_nl_find_locale): Fix constness error in
9261 the previous change.
9262
9263 [BZ #15969]
9264 * locale/findlocale.c (_nl_find_locale): Retry archive search
9265 after alias expansion.
9266
9267 2015-02-25 Roland McGrath <roland@hack.frob.com>
9268
9269 * iconv/tst-iconv3.c (main): Converted to ...
9270 (do_test): ... this.
9271 (TEST_FUNCTION): New macro.
9272 Include test-skeleton.c.
9273
9274 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
9275 (convert): Make function static.
9276 (test_unalign): Likewise. Add const to argument pointee types.
9277 (main): Replace with static function do_test.
9278 Print "Succeeded." only if RET is zero.
9279 (TEST_FUNCTION): New macro.
9280 Include test-skeleton.c.
9281
9282 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
9283 returns a null pointer.
9284
9285 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9286
9287 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
9288 to __memcpy_ppc only for static builds.
9289
9290 2015-02-25 Joseph Myers <joseph@codesourcery.com>
9291
9292 [BZ #18020]
9293 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
9294 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
9295 * math/auto-libm-test-in: Add more tests of asinh.
9296 * math/auto-libm-test-out: Regenerated.
9297 * sysdeps/i386/fpu/libm-test-ulps: Update.
9298 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9299
9300 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
9301
9302 [BZ #15850]
9303 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
9304 and ip6_mtuinfo definitions here.
9305 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
9306 in this define too. Update comment.
9307
9308 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
9309
9310 * elf/sprof.c (load_shobj): Tweak error message to match others.
9311
9312 2015-02-24 Kevin Easton <kevin@guarana.org>
9313
9314 [BZ #16145] (partial fix)
9315 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
9316 to reduce lock contention.
9317
9318 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
9319
9320 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
9321 (struct timex): Update time comment.
9322 (ADJ_SETOFFSET): Define.
9323
9324 2015-02-24 Joseph Myers <joseph@codesourcery.com>
9325
9326 [BZ #18019]
9327 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
9328 2**56 not 2**28 as threshold for log (2x) formula.
9329 * math/auto-libm-test-in: Add more tests of acosh.
9330 * math/auto-libm-test-out: Regenerated.
9331 * sysdeps/i386/fpu/libm-test-ulps: Update.
9332 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9333
9334 2015-02-24 Mike Frysinger <vapier@gentoo.org>
9335
9336 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
9337 parenthesis around the buf assignment.
9338 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
9339
9340 2015-02-24 Joseph Myers <joseph@codesourcery.com>
9341
9342 [BZ #16783]
9343 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
9344 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
9345 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
9346 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
9347 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
9348 * math/libm-test.inc (scalb_test_data): Add more tests.
9349
9350 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
9351
9352 [BZ #17916]
9353 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
9354 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
9355
9356 2015-02-24 Eric Rannaud <e@nanocritical.com>
9357
9358 [BZ #17523]
9359 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
9360 * io/bits/fcntl2.h (open): Use it.
9361 (openat): Likewise.
9362 * io/open.c (__libc_open): Likewise.
9363 * io/open64.c (__libc_open64): Likewise.
9364 * io/open64_2.c (__open64_2): Likewise.
9365 * io/open_2.c (__open_2): Likewise.
9366 * io/openat.c (__openat): Likewise.
9367 * io/openat64.c (__openat64): Likewise.
9368 * io/openat64_2.c (__openat64_2): Likewise.
9369 * io/openat_2.c (__openat_2): Likewise.
9370 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
9371 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
9372 * sysdeps/posix/open64.c (__libc_open64): Likewise.
9373 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
9374 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
9375 (__open_nocancel): Likewise.
9376 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
9377 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
9378 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
9379
9380 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9381
9382 [BZ #14841]
9383 * resolv/gethnamaddr.c (getanswer): Skip logging if
9384 RES_USE_DNSSEC is set.
9385 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
9386
9387 2015-02-24 Mike Frysinger <vapier@gentoo.org>
9388
9389 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
9390
9391 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
9392
9393 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
9394 201304L, for Unicode 7.
9395
9396 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
9397
9398 [BZ #17836]
9399 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
9400 shared library. Add gmon-start.os otherwise.
9401 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
9402 $(objpfx)gmon-start.os if builing shared library.
9403 ($(objpfx)g$(static-start-installed-name)): Likewise.
9404
9405 2015-02-23 Andreas Schwab <schwab@suse.de>
9406
9407 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
9408
9409 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
9410
9411 [BZ #17269]
9412 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
9413 (enlarge_userbuf): Likewise.
9414
9415 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
9416
9417 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
9418 * math/atest-exp.c (TIMEOUT): Adjust to 200.
9419 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
9420 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
9421
9422 2015-02-20 Joseph Myers <joseph@codesourcery.com>
9423
9424 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
9425 expression inside statement expression.
9426
9427 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
9428
9429 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
9430 <sysdeps/nptl/lowlevellock.h> and remove macros and
9431 functions that are now defined there.
9432 (SYS_futex): Remove.
9433 (lll_compare_and_swap): Remove.
9434 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
9435
9436 2015-02-19 Joseph Myers <joseph@codesourcery.com>
9437
9438 [BZ #17999]
9439 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
9440 instead of scandirat.
9441 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
9442 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
9443 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
9444 __scandirat.
9445 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
9446 (__scandirat): Declare. Use libc_hidden_proto.
9447 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
9448 Remove variable.
9449 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
9450
9451 2015-02-18 Joseph Myers <joseph@codesourcery.com>
9452
9453 [BZ #15319]
9454 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
9455 (MO): New macro.
9456 (__ieee754_atan2): For results with small absolute value, force
9457 underflow exception and remove excess range and precision from
9458 return value.
9459 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
9460 (MO): New macro.
9461 (__ieee754_atan2f): For results with small absolute value, force
9462 underflow exception and remove excess range and precision from
9463 return value.
9464 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
9465 (MO): New macro.
9466 (__atan): For results with small absolute value, force underflow
9467 exception and remove excess range and precision from return value.
9468 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
9469 (MO): New macro.
9470 (__atanf): For results with small absolute value, force underflow
9471 exception and remove excess range and precision from return value.
9472 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
9473 <math.h>.
9474 (__ieee754_atan2): Force underflow exception for results with
9475 small absolute value.
9476 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
9477 <math_private.h>.
9478 (atan): Force underflow exception for results with small absolute
9479 value.
9480 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
9481 (__atanf): Force underflow exception for results with small
9482 absolute value.
9483 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
9484 <math.h>.
9485 (__atanl): Force underflow exception for results with small
9486 absolute value.
9487 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
9488 (__atanl): Force underflow exception for results with small
9489 absolute value.
9490 * sysdeps/x86/fpu/bits/mathinline.h
9491 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
9492 (__ieee754_atan2): Only define inline for long double.
9493 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
9494 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
9495 * math/auto-libm-test-in: Do not mark underflow exceptions as
9496 possibly missing for bug 15319. Add more tests of atan2.
9497 * math/auto-libm-test-out: Regenerated.
9498 * math/libm-test.inc (casin_test_data): Do not mark underflow
9499 exceptions as possibly missing for bug 15319.
9500 (casinh_test_data): Likewise.
9501 * sysdeps/i386/fpu/libm-test-ulps: Update.
9502
9503 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
9504
9505 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
9506 * sysdeps/mips/bits/endian.h: Fix comments.
9507
9508 2015-02-18 Joseph Myers <joseph@codesourcery.com>
9509
9510 [BZ #17996]
9511 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
9512 (hdestroy_r): Likewise.
9513 (hsearch_r): Likewise.
9514 (__hcreate_r): Declare and use libc_hidden_proto.
9515 (__hdestroy_r): Likewise.
9516 (__hsearch_r): Likewise.
9517 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
9518 (hcreate): Call __hcreate_r instead of hcreate_r.
9519 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
9520 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
9521 as weak alias of __hcreate_r.
9522 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
9523 __hdestroy_r.
9524 (hsearch_r): Rename to __hsearch_r and define as weak alias of
9525 __hsearch_r.
9526 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
9527 Remove variable.
9528 (test-xfail-XPG4/search.h/linknamespace): Likewise.
9529 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
9530 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
9531 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
9532
9533 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9534
9535 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
9536 arena_lock into a single arena_get.
9537
9538 2015-02-17 Carlos O'Donell <carlos@redhat.com>
9539
9540 * dl-reloc.c: Inlucde libc-internal.h.
9541 (_dl_try_allocate_static_tls): Call ALIGN_UP.
9542 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
9543 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
9544 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
9545 (grow_heap): Likewise.
9546 * malloc/malloc.c: Include libc-internal.h.
9547 (do_check_malloc): Call powerof2.
9548 (sysmalloc): Use pagesize. Call ALIGN_UP.
9549 (systrim): Use pagesize.
9550 (mremap_chunk): Use pagesize. Call ALIGN_UP.
9551 (__libc_valloc): Use pagesize.
9552 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
9553
9554 2015-02-17 Joseph Myers <joseph@codesourcery.com>
9555
9556 [BZ #17991]
9557 * include/sys/resource.h (__getrlimit64): Declare. Use
9558 libc_hidden_proto.
9559 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
9560 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
9561 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
9562 getrlimit64.
9563 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
9564 __getrlimit64.
9565 [!getrlimit64] (getrlimit64): Define as weak alias of
9566 __getrlimit64. Use libc_hidden_weak.
9567 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
9568 using __getrlimit64 not __new_getrlimit64.
9569 (__GI_getrlimit64): Likewise.
9570 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
9571 Likewise.
9572 (__GI_getrlimit64): Likewise.
9573 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
9574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
9575 (getrlimit): Add __getrlimit64 alias.
9576 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
9577 Likewise.
9578 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
9579 Remove variable.
9580 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
9581 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
9582
9583 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
9584
9585 * libio/fileops.c: Add missing sys/mman.h
9586 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
9587
9588 2015-02-17 Joseph Myers <joseph@codesourcery.com>
9589
9590 * manual/math.texi (Errors in Math Functions): Clarify goals
9591 regarding inexact and underflow exceptions.
9592
9593 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
9594
9595 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
9596 * sysdeps/mips/memset.S: Ditto.
9597
9598 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
9599
9600 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
9601
9602 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
9603
9604 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
9605 (__v1longjmp): Remove versioned symbol.
9606 (__v1siglongjmp): Remove alias and versioned symbol.
9607 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
9608 (__v2siglongjmp): Likewise.
9609
9610 2015-02-16 Torvald Riegel <triegel@redhat.com>
9611
9612 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
9613
9614 2015-02-16 Mike Frysinger <vapier@gentoo.org>
9615
9616 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
9617
9618 2015-02-16 Joseph Myers <joseph@codesourcery.com>
9619
9620 [BZ #17987]
9621 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
9622 zero result does not depend on the sign resulting from
9623 subtraction.
9624 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
9625 Likewise.
9626 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
9627 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
9628 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
9629 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
9630 * math/libm-test.inc (remquo_test_data): Add more tests.
9631
9632 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
9633
9634 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
9635 Problem reported by J William Piggott.
9636
9637 2015-02-16 Joseph Myers <joseph@codesourcery.com>
9638
9639 [BZ #17978]
9640 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
9641 products 4 * y and 2 * y where those would overflow.
9642 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
9643 Likewise.
9644 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
9645 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
9646 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
9647 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
9648 * math/libm-test.inc (remquo_test_data): Add more tests.
9649
9650 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
9651
9652 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
9653 [defined _COMPILING_NEWLIB].
9654 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
9655 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
9656
9657 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
9658 [!defined __mips_isa_rev || __mips_isa_rev < 6].
9659
9660 2015-02-16 Torvald Riegel <triegel@redhat.com>
9661
9662 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
9663 acquired.
9664
9665 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
9666
9667 [BZ #17792]
9668 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
9669 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
9670 HOST_STACK_END_ADDR): Likewise.
9671
9672 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
9673
9674 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
9675 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
9676 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
9677
9678 2015-02-13 Roland McGrath <roland@hack.frob.com>
9679
9680 * sysdeps/generic/c++-types.data: New file.
9681 * sysdeps/generic/ld.abilist: New file.
9682 * sysdeps/generic/libBrokenLocale.abilist: New file.
9683 * sysdeps/generic/libanl.abilist: New file.
9684 * sysdeps/generic/libc.abilist: New file.
9685 * sysdeps/generic/libcrypt.abilist: New file.
9686 * sysdeps/generic/libdl.abilist: New file.
9687 * sysdeps/generic/libm.abilist: New file.
9688 * sysdeps/generic/libpthread.abilist: New file.
9689 * sysdeps/generic/libresolv.abilist: New file.
9690 * sysdeps/generic/librt.abilist: New file.
9691
9692 2015-02-13 Joseph Myers <joseph@codesourcery.com>
9693
9694 [BZ #17569]
9695 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
9696 Compute absolute value of x as modified by fmod, not original
9697 value of x.
9698 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
9699 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
9700 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
9701 RUN_TEST_ffI_f1_mod8.
9702 (remquo_test_data): Add more tests.
9703
9704 2015-02-13 Roland McGrath <roland@hack.frob.com>
9705
9706 * sysdeps/init_array/pt-crti.S: New file.
9707
9708 2015-02-13 Joseph Myers <joseph@codesourcery.com>
9709
9710 [BZ #17967]
9711 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
9712 __builtin_fmaf instead of relying on contraction of a * b + c.
9713
9714 2015-02-12 J William Piggott <elseifthen@gmx.com>
9715
9716 [BZ #17969]
9717 * manual/time.texi: correct the zoneinfo path in the TZ Variable
9718 node.
9719
9720 2015-02-12 Joseph Myers <joseph@codesourcery.com>
9721
9722 [BZ #17964]
9723 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
9724 __builtin_fma instead of relying on contraction of a * b + c.
9725
9726 2015-02-12 Roland McGrath <roland@hack.frob.com>
9727
9728 * Makeconfig (ASFLAGS): Add -Werror=undef.
9729 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
9730 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
9731 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
9732
9733 * Makeconfig (after-link): New variable.
9734 (+link-pie, +link-pie-tests): Use it.
9735 (+link-static, +link-static-tests): Likewise.
9736 (+link, +link-tests): Likewise.
9737 * Makerules (build-module, build-module-asneeded): Likewise.
9738 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
9739 Likewise.
9740 * elf/Makefile ($(objpfx)ld.so): Likewise.
9741
9742 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
9743
9744 [BZ #17965]
9745 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
9746 both struct timeval and struct timespec.
9747
9748 2015-02-12 Joseph Myers <joseph@codesourcery.com>
9749
9750 [BZ #16560]
9751 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
9752 and redefine.
9753 (__ieee754_exp2l): Do not multiply small fractional parts by
9754 M_LN2l.
9755 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
9756 small argument.
9757 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
9758 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
9759 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
9760 * math/auto-libm-test-in: Add more tests of exp2.
9761 * math/auto-libm-test-out: Regenerated.
9762
9763 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9764
9765 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
9766 unaligned path.
9767
9768 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9769
9770 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
9771 little endian.
9772
9773 2015-02-12 Andreas Schwab <schwab@suse.de>
9774
9775 [BZ #15790]
9776 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
9777 Filter out elision flags from value returned in kind.
9778 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
9779 * nptl/tst-pthread-mutexattr.c: New file.
9780
9781 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
9782
9783 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
9784 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
9785 into gnu-gnu, and update comment to refer to abi-tags.
9786
9787 2015-02-11 Joseph Myers <joseph@codesourcery.com>
9788
9789 [BZ #15467]
9790 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
9791 (__sincos): Set errno to EDOM for infinite argument.
9792 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
9793 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
9794 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
9795 (__sincosl): Set errno to EDOM for infinite argument.
9796 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
9797 (__sincosl): Set errno to EDOM for infinite argument.
9798 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
9799 (__sincosl): Set errno to EDOM for infinite argument.
9800 * math/libm-test.inc (sincos_test_data): Test errno setting.
9801
9802 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
9803
9804 * string/strxfrm_l.c: Remove #define STRCMP.
9805 * string/strcoll_l.c: Remove #define STRLEN.
9806 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
9807 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
9808
9809 2015-02-10 Joseph Myers <joseph@codesourcery.com>
9810
9811 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
9812 * sysdeps/mips/mips32/sfp-machine.h: ... here.
9813 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
9814 * sysdeps/mips/mips64/Makefile: ... here.
9815 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
9816 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
9817 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
9818 * sysdeps/mips/mips64/sfp-machine.h: ... here.
9819 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
9820 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
9821 * sysdeps/mips/mips64/n64/Implies: Likewise.
9822
9823 2015-02-10 Roland McGrath <roland@hack.frob.com>
9824
9825 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
9826 <sys/time.h>, <string.h>, and <errno.h>.
9827 (dest_offset, dest_address, value, zero): Remove unused variables.
9828 (ldouble): Remove typedef.
9829 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
9830 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
9831 1). Fix code style.
9832 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
9833 (check): Function removed.
9834 (CHECK): New macro.
9835 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
9836 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
9837 Don't call set_sigaction_FP and remove_sigaction_FP here.
9838 (ldouble_test): Just use 'long double' as macro argument, no need for
9839 the 'ldouble' typedef.
9840 (do_test): Set up SIGFPE handler at start, using plain signal rather
9841 than sigaction. Fix code style.
9842
9843 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
9844
9845 [BZ #17949]
9846 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
9847 jump label.
9848
9849 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
9850
9851 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
9852 * sysdeps/powerpc/powerpc32/configure: Regenerated.
9853
9854 * sysdeps/powerpc/configure.ac: Remove file.
9855 * sysdeps/powerpc/configure: Likewise.
9856
9857 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
9858 [sysdep_routines]: Remove wordcopy-power6 object.
9859 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
9860 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
9861 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
9862 (__memmove_ppc32): Likewise.
9863 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
9864 file.
9865 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
9866 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
9867 Remove preprocessor.
9868
9869 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
9870 [sysdep_routines]: Remove wide chars objects.
9871 [wcsmbs]: New rule for wide char objects.
9872
9873 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9874 Remove wordcopy-power6 obejct.
9875 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
9876 Use local call for wordcopy and memcpy symbols.
9877 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
9878 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
9879 implementation for loader.
9880 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
9881
9882 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9883 Remove wordcopy-power7 object.
9884 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
9885 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
9886 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
9887 (_wordcopy_fwd_dest_aligned): Likewise.
9888 (_wordcopy_bwd_aligned): Likewise.
9889 (_wordcopy_bwd_dest_aligned): Likewise.
9890
9891 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
9892 Rewrite to call __memmove_ppc instead of include default
9893 implementation.
9894
9895 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9896 Remove wide chars objects.
9897 [wcsmbs]: New rule for wide char objects.
9898
9899 2015-02-09 Andreas Schwab <schwab@suse.de>
9900
9901 [BZ #17912]
9902 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
9903 in terms of __O_DIRECTORY.
9904
9905 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
9906
9907 * time/getdate.c: Include <stdbool.h>.
9908 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
9909 call PTR_MANGLE.
9910 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
9911 PTR_DEMANGLE.
9912
9913 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
9914
9915 Add ersatz _Static_assert on older C hosts
9916 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
9917 pre-C11 C platform that is not known to support _Static_assert.
9918
9919 2015-02-07 Richard Braun <rbraun@sceen.net>
9920
9921 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
9922 sigstate.
9923 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
9924
9925 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
9926
9927 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
9928 priority against unexistent AIO_PRIO_DELTA_MAX.
9929 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
9930 instead of int.
9931 * misc/fchflags.c (fchflags): Likewise.
9932 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
9933 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
9934 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
9935 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
9936 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
9937 Declare macros.
9938 [__USE_MISC] (chflags, fchflags): Declare functions.
9939 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
9940 EINVAL when nfds is greater than FD_SETSIZE.
9941 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
9942 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
9943 45.
9944 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
9945 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
9946 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
9947 MACH_RCV_TIMED_OUT.
9948 * hurd/hurd/signal.h (_hurd_self_sigstate,
9949 _hurd_critical_section_lock, _hurd_critical_section_unlock):
9950 Explicit casts from void *.
9951 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
9952 * abi-tags: Rename gnu-gnu os into gnu.
9953
9954 [BZ #4719]
9955 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
9956 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
9957 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
9958 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
9959 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
9960 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
9961
9962 [BZ #17944]
9963 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
9964 duplicates ADDR->sun_path with sockaddr LEN limitation.
9965 * sysdeps/mach/hurd/connect.c: Include <string.h>
9966 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
9967 * sysdeps/mach/hurd/sendmsg.c: Likewise.
9968 * sysdeps/mach/hurd/sendto.c: Likewise.
9969 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
9970 implementing it by hand.
9971
9972 2015-02-06 Roland McGrath <roland@hack.frob.com>
9973
9974 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
9975 Use sfi_breg on ldr.
9976 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
9977 Likewise.
9978
9979 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
9980 it's defined.
9981 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
9982 Test SIGSETXID only if it's defined.
9983
9984 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
9985
9986 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
9987 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
9988
9989 * nptl/tst-align2.c: Moved ...
9990 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
9991 * nptl/Makefile (tests): Remove tst-align2.
9992 * sysdeps/unix/sysv/linux/Makefile
9993 [$(subdir) = nptl] (tests): Add tst-align-clone.
9994 * nptl/tst-getpid1.c: Moved ...
9995 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
9996 * nptl/tst-getpid2.c: Moved ...
9997 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
9998 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
9999 * sysdeps/unix/sysv/linux/Makefile
10000 [$(subdir) = nptl] (tests): ... here.
10001 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
10002 * sysdeps/unix/sysv/linux/Makefile
10003 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
10004
10005 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
10006 Drop trailing \n from perror argument. Use return rather than exit.
10007
10008 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
10009 on [SA_SIGINFO].
10010 * nptl/tst-cancel21.c (do_test): Likewise.
10011 * debug/tst-backtrace6.c: Include <signal.h> first thing.
10012 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
10013 [!SA_SIGINFO]: Make it a stub test.
10014
10015 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
10016 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
10017
10018 * posix/tst-getlogin.c: Move to ...
10019 * login/tst-getlogin.c: ... here.
10020 * posix/Makefile (tests): Move tst-getlogin to ...
10021 * login/Makefile (tests): ... here.
10022
10023 * libio/tst-atime.c (do_test): Move local variables SV and E
10024 inside [ST_NOATIME] conditional.
10025
10026 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
10027
10028 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
10029
10030 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
10031 (wait_code): New function replaces macro.
10032 Call nanosleep rather than syscall.
10033
10034 * nptl/pt-system.c: Rewritten. Put everything under
10035 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
10036 Use IFUNC to redirect when possible.
10037
10038 * nptl/pt-longjmp.c: Rewritten. Put everything under
10039 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
10040 Use IFUNC to redirect when possible.
10041
10042 * nptl/pt-fork.c: Rewritten. Put everything under
10043 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
10044 Use IFUNC to redirect when possible.
10045 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
10046
10047 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
10048 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
10049 unconditionally nowadays. This included the only reference to
10050 __vdso_clock_gettime that appears outside libc proper.
10051 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
10052 Remove version set (containing only __vdso_clock_gettime).
10053 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
10054 Add attribute_hidden.
10055 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
10056 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
10057 libc_hidden_data_def.
10058 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
10059 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
10060
10061 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
10062 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
10063 setrpcent, and getrpcport to ...
10064 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
10065 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
10066 getrpcbynumber_r, and getrpcent_r to ...
10067 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
10068 * inet/getrpcbyname.c: Moved ...
10069 * sunrpc/getrpcbyname.c: ... here.
10070 * inet/getrpcbyname_r.c: Moved ...
10071 * sunrpc/getrpcbyname_r.c: ... here.
10072 * inet/getrpcbynumber.c: Moved ...
10073 * sunrpc/getrpcbynumber.c: ... here.
10074 * inet/getrpcbynumber_r.c: Moved ...
10075 * sunrpc/getrpcbynumber_r.c: ... here.
10076 * inet/getrpcent.c: Moved ...
10077 * sunrpc/getrpcent.c: ... here.
10078 * inet/getrpcent_r.c: Moved ...
10079 * sunrpc/getrpcent_r.c: ... here.
10080 * inet/Makefile (routines): Move those to ...
10081 * sunrpc/Makefile (routines): ... here.
10082 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
10083 the $(subdirs) list.
10084 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
10085 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
10086 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
10087 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
10088
10089 * elf/Makefile (routines): Include $(all-dl-routines), not just
10090 $(dl-routines).
10091 (rtld-routines): Likewise. Use = rather than :=.
10092 * sysdeps/aarch64/Makefile [$(subdir) = elf]
10093 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
10094 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
10095 * sysdeps/arm/Makefile: Likewise.
10096 * sysdeps/i386/Makefile: Likewise.
10097 * sysdeps/x86_64/Makefile: Likewise.
10098 * sysdeps/hppa/Makefile [$(subdir) = elf]
10099 (sysdep_routines, sysdep-rtld-routines): Don't add
10100 $(sysdep-dl-routines) to these.
10101 * sysdeps/ia64/Makefile: Likewise.
10102 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
10103 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
10104 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
10105 Don't add dl-static to these; sysdep-dl-routines alone is enough.
10106 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
10107 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
10108 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
10109 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
10110 * sysdeps/powerpc/Makefile [$(subdir) = elf]
10111 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
10112 these; sysdep-dl-routines alone is enough.
10113
10114 2015-02-06 Joseph Myers <joseph@codesourcery.com>
10115
10116 [BZ #17932]
10117 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
10118 where multiplication results in zero and third argument is finite
10119 and nonzero.
10120 * math/auto-libm-test-in: Add more tests of fma.
10121 * math/auto-libm-test-out: Regenerated.
10122
10123 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
10124 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
10125 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
10126 (_FP_CMP_EQ): Likewise.
10127 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
10128
10129 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
10130 extra argument CHECK_NAN. Redefine as wrapper around
10131 _FP_EXTEND_CNAN.
10132
10133 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
10134
10135 * version.h (RELEASE): Set to "stable".
10136 (VERSION): Set to "2.21"
10137 * include/features.h (__GLIBC_MINOR__): Set to 21.
10138
10139 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
10140
10141 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
10142 Paul Eggert <eggert@cs.ucla.edu>
10143
10144 [BZ #16618]
10145 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
10146 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
10147 size in bytes. Store needed elements in wpmax. Use needed size
10148 in bytes for extend_alloca.
10149
10150 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
10151
10152 * manual/install.texi: Latest tested versions are GCC 4.9.2,
10153 binutls 2.25, and texinfo 5.2.
10154 * INSTALL: Regenerate.
10155 * sysdeps/nios2/configure: Regenerate.
10156 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
10157 * manual/contrib.texi: Update.
10158 * po/be.po: Update.
10159 * po/bg.po: Update.
10160 * po/ca.po: Update.
10161 * po/cs.po: Update.
10162 * po/da.po: Update.
10163 * po/de.po: Update.
10164 * po/el.po: Update.
10165 * po/eo.po: Update.
10166 * po/es.po: Update.
10167 * po/fi.po: Update.
10168 * po/fr.po: Update.
10169 * po/gl.po: Update.
10170 * po/hr.po: Update.
10171 * po/hu.po: Update.
10172 * po/ia.po: Update.
10173 * po/id.po: Update.
10174 * po/it.po: Update.
10175 * po/ja.po: Update.
10176 * po/ko.po: Update.
10177 * po/lt.po: Update.
10178 * po/nb.po: Update.
10179 * po/nl.po: Update.
10180 * po/pl.po: Update.
10181 * po/pt_BR.po: Update.
10182 * po/ru.po: Update.
10183 * po/rw.po: Update.
10184 * po/sk.po: Update.
10185 * po/sl.po: Update.
10186 * po/sv.po: Update.
10187 * po/tr.po: Update.
10188 * po/uk.po: Update.
10189 * po/vi.po: Update.
10190 * po/zh_CN.po: Update.
10191 * po/zh_TW.po: Update.
10192
10193 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
10194 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
10195 * sysdeps/hppa/dl-irel.h: Remove #warning.
10196 * sysdeps/hppa/entry.h: Provide prototype for
10197 __canonicalize_funcptr_for_compare and cast argument.
10198 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
10199 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
10200 * sysdeps/hppa/sotruss-lib.c: New file.
10201 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
10202 (atomic_compare_and_exchange_val_acq): Use __typeof__.
10203 (atomic_compare_and_exchange_bool_acq): Likewise.
10204 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
10205 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
10206
10207 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
10208 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
10209 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
10210
10211 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
10212
10213 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
10214 called function in non-PIC case.
10215
10216 2015-01-31 David S. Miller <davem@davemloft.net>
10217
10218 * sysdeps/sparc/sparc32/bits/atomic.h
10219 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
10220 unlock not after it.
10221 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
10222 volatile register usage warnings from the compiler.
10223
10224 * sysdeps/sparc/nptl/sem_init.c: Delete.
10225 * sysdeps/sparc/nptl/sem_post.c: Delete.
10226 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
10227 * sysdeps/sparc/nptl/sem_wait.c: Delete.
10228 * sysdeps/sparc/sparc32/sem_init.c: New file.
10229 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
10230 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
10231 padding explicitly initialized.
10232 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
10233 padding for in-semaphore spinlock.
10234 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
10235 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
10236 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
10237 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
10238 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
10239 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
10240 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
10241 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
10242 version.
10243 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
10244 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
10245
10246 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
10247
10248 [BZ #17801]
10249 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10250 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
10251 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
10252 New.
10253 (index_AVX_Fast_Unaligned_Load): Likewise.
10254 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
10255 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
10256 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
10257 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
10258 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
10259 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
10260 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
10261 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
10262 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
10263
10264 2015-01-29 Andreas Schwab <schwab@suse.de>
10265
10266 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
10267
10268 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10269
10270 [BZ #17892]
10271 * nscd/nscd_stat.c (send_stats): Initialize DATA.
10272
10273 2015-01-28 Martin Sebor <msebor@redhat.com>
10274
10275 * math/README.libm-test: Clarify. Add "How to read the test output."
10276
10277 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
10278
10279 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
10280 Define to 0.
10281
10282 2015-01-28 Joseph Myers <joseph@codesourcery.com>
10283
10284 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
10285 (__HAVE_64B_ATOMICS): Define to 0.
10286
10287 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
10288
10289 [BZ #17885]
10290 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
10291 value to set as new flag.
10292
10293 [BZ #16576]
10294 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
10295 and use _ARCH_PPCSQ instead.
10296 (__ieee754_sqrt): Likewise.
10297 (__ieee754_sqrtf): Likewise.
10298 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
10299 _ARCH_PPCSQ is defined.
10300 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
10301 fsqrt instruction.
10302 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
10303 _ARCH_PPCSQ is defined.
10304 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
10305 fsqrts instruction.
10306 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
10307
10308 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10309
10310 * iconv/loop.c: Suppress array out of bound warning caused by GCC
10311 bug (GCC BZ #64739).
10312
10313 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
10314
10315 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
10316 Mark _retval as used.
10317 (lll_futex_wake_unlock): Likewise.
10318 (lll_futex_timed_wait_requeue_pi): Likewise.
10319
10320 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
10321 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
10322 register variables.
10323
10324 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
10325 libm_hidden_def.
10326
10327 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
10328 (__bswap_64): Mark as __always_inline.
10329
10330 2015-01-25 Bram <bug_rh@spam.wizbit.be>
10331
10332 [BZ #15378]
10333 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
10334 when none of the search directories exist.
10335
10336 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
10337
10338 [BZ #17869]
10339 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
10340 power8 in .machine directive.
10341
10342 [BZ #17868]
10343 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
10344 set dependency from opd value.
10345
10346 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
10347
10348 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10349 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
10350 architecture.
10351
10352 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
10353
10354 [BZ #17870]
10355 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
10356 with uint64_t.
10357 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
10358 (uint64_t) 1.
10359 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
10360 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
10361 Replace 1UL with (uint64_t) 1.
10362 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
10363 int with uint64_t.
10364
10365 2015-01-23 Roland McGrath <roland@hack.frob.com>
10366
10367 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
10368 (if_freenameindex): Likewise.
10369
10370 * resource/getrlimit64.c: Add missing libc_hidden_def.
10371
10372 2015-01-22 Joseph Myers <joseph@codesourcery.com>
10373
10374 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
10375 __label__.
10376 (_FP_FMA): Likewise.
10377 (_FP_TO_INT_ROUND): Likewise.
10378 (_FP_FROM_INT): Likewise.
10379
10380 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10381
10382 [BZ #16418]
10383 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
10384 Make code racy and cancel safe.
10385
10386 2015-01-21 Carlos O'Donell <carlos@redhat.com>
10387
10388 * sysdeps/arm/unwind-resume.h: Fix copyright year.
10389 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
10390 attribution.
10391
10392 * pwd/tst-getpw.c: Rewrite.
10393
10394 [BZ #17702]
10395 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
10396 (modules-names): Add moddummy1 and moddummy2.
10397 ($(objpfx)tst-rec-dlopen): Define.
10398 * dlfcn/moddummy1.c: New file.
10399 * dlfcn/moddummy2.c: New file.
10400 * dlfcn/tst-rec-dlopen.c: New file.
10401 * elf/dl-cache.c (_dl_load_cache_lookup):
10402 Return char*. Copy result with alloca/strcpy/strdup.
10403 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
10404 returns char*. Free cached. If not saving realname
10405 free cached.
10406 * elf/dl-open.c (dl_open_worker): Do not assert that
10407 _r_debug->r_state is RT_CONSISTENT.
10408 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
10409 returns char*.
10410
10411 2015-01-21 Torvald Riegel <triegel@redhat.com>
10412 Carlos O'Donell <carlos@redhat.com>
10413
10414 [BZ #12674]
10415 * nptl/sem_waitcommon.c: New file.
10416 * nptl/sem_wait.c: Include sem_waitcommon.c.
10417 (__sem_wait_cleanup, do_futex_wait): Remove.
10418 (__new_sem_wait): Adapt.
10419 (__new_sem_trywait): New function.
10420 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
10421 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
10422 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
10423 (sem_timedwait): Adapt.
10424 * nptl/sem_post.c (__new_sem_post): Adapt.
10425 (futex_wake): New function.
10426 (__old_sem_post): Add release MO fence.
10427 * nptl/sem_open.c (sem_open): Adapt.
10428 * nptl/sem_init.c (__new_sem_init): Adapt.
10429 (futex_private_if_supported): New function.
10430 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
10431 (__old_sem_getvalue): Add using previous code.
10432 * sysdeps/nptl/internaltypes.h: Adapt.
10433 * nptl/tst-sem13.c (do_test): Adapt.
10434 * nptl/tst-sem11.c (main): Adapt.
10435 * nptl/sem_trywait.c: Remove.
10436 * nptl/DESIGN-sem.txt: Remove.
10437 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
10438 (gen-as-const-headers): Remove structsem.sym.
10439 * nptl/structsem.sym: Remove.
10440 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
10441 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
10442 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
10443 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
10444 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
10445 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
10446 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
10447 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
10448 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
10449 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
10450 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
10451 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
10452 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
10453 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
10454 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
10455 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
10456 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
10457 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
10458 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
10459 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
10460 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
10461 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
10462
10463 2015-01-20 Carlos O'Donell <carlos@redhat.com>
10464
10465 * INSTALL: Regenerated.
10466
10467 * po/libc.pot: Regenerated.
10468
10469 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
10470 Sandra Loosemore <sandra@codesourcery.com>
10471 Andrew Jenner <andrew@codesourcery.com>
10472 Joseph Myers <joseph@codesourcery.com>
10473 Nathan Sidwell <nathan@codesourcery.com>
10474
10475 * NEWS: Mention new Nios II port.
10476 * sysdeps/nios2/Implies: New file.
10477 * sysdeps/nios2/Makefile: New file.
10478 * sysdeps/nios2/Subdirs: New file.
10479 * sysdeps/nios2/Versions: New file.
10480 * sysdeps/nios2/__longjmp.S: New file.
10481 * sysdeps/nios2/abort-instr.h: New file.
10482 * sysdeps/nios2/backtrace.c: New file.
10483 * sysdeps/nios2/bits/endian.h: New file.
10484 * sysdeps/nios2/bits/fenv.h: New file.
10485 * sysdeps/nios2/bits/link.h: New file.
10486 * sysdeps/nios2/bits/setjmp.h: New file.
10487 * sysdeps/nios2/bsd-_setjmp.S: New file.
10488 * sysdeps/nios2/bsd-setjmp.S: New file.
10489 * sysdeps/nios2/configure: New generated file.
10490 * sysdeps/nios2/configure.ac: New file.
10491 * sysdeps/nios2/crti.S: New file.
10492 * sysdeps/nios2/crtn.S: New file.
10493 * sysdeps/nios2/dl-init.c: New file.
10494 * sysdeps/nios2/dl-machine.h: New file.
10495 * sysdeps/nios2/dl-sysdep.h: New file.
10496 * sysdeps/nios2/dl-tls.h: New file.
10497 * sysdeps/nios2/dl-trampoline.S: New file.
10498 * sysdeps/nios2/gccframe.h: New file.
10499 * sysdeps/nios2/gmp-mparam.h: New file.
10500 * sysdeps/nios2/jmpbuf-offsets.h: New file.
10501 * sysdeps/nios2/jmpbuf-unwind.h: New file.
10502 * sysdeps/nios2/ldsodefs.h: New file.
10503 * sysdeps/nios2/libc-tls.c: New file.
10504 * sysdeps/nios2/libm-test-ulps: New file.
10505 * sysdeps/nios2/machine-gmon.h: New file.
10506 * sysdeps/nios2/math-tests.h: New file.
10507 * sysdeps/nios2/math_private.h: New file.
10508 * sysdeps/nios2/memusage.h: New file.
10509 * sysdeps/nios2/nptl/Makefile: New file.
10510 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
10511 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
10512 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
10513 * sysdeps/nios2/nptl/pthreaddef.h: New file.
10514 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
10515 * sysdeps/nios2/nptl/tls.h: New file.
10516 * sysdeps/nios2/preconfigure: New file.
10517 * sysdeps/nios2/s_fma.c: New file.
10518 * sysdeps/nios2/s_fmaf.c: New file.
10519 * sysdeps/nios2/setjmp.S: New file.
10520 * sysdeps/nios2/sfp-machine.h: New file.
10521 * sysdeps/nios2/sotruss-lib.c: New file.
10522 * sysdeps/nios2/stackguard-macros.h: New file.
10523 * sysdeps/nios2/stackinfo.h: New file.
10524 * sysdeps/nios2/start.S: New file.
10525 * sysdeps/nios2/sysdep.h: New file.
10526 * sysdeps/nios2/tls-macros.h: New file.
10527 * sysdeps/nios2/tst-audit.h: New file.
10528 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
10529 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
10530 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
10531 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
10532 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
10533 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
10534 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
10535 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
10536 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
10537 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
10538 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
10539 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
10540 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
10541 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
10542 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
10543 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
10544 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
10545 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
10546 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
10547 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
10548 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
10549 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
10550 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
10551 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
10552 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
10553 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
10554 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
10555 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
10556 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
10557 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
10558 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
10559 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
10560 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
10561 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
10562 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
10563 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
10564 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
10565 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
10566 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
10567 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
10568 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
10569 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
10570 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
10571 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
10572
10573 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
10574
10575 [BZ #17844]
10576 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
10577 (getutent): Use weak_alias in non SHARED case
10578 and default_symbol_version in SHARED case.
10579 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
10580 (getutent_r, pututline): Likewise.
10581 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
10582 (getutid): Likewise.
10583 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
10584 (getutid_r): Likewise.
10585 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
10586 (getutline): Likewise.
10587 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
10588 (getutline_r): Likewise.
10589 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
10590 (updwtmp): Likewise.
10591
10592 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
10593
10594 [BZ #17848]
10595 * sysdeps/s390/s390-32/memcmp.S
10596 (memcmp_g5): Rename to __memcmp_g5.
10597 * sysdeps/s390/s390-32/memcpy.S
10598 (memcpy_g5): Rename to __memcpy_g5.
10599 Jump to __memcpy_mvcle instead of memcpy_mvcle.
10600 (memcpy_mvcle) Rename to __memcpy_mvcle.
10601 * sysdeps/s390/s390-32/memset.S
10602 (memset_g5): Rename to __memset_g5.
10603 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
10604 (IFUNC_RESOLVE): Prefix ifunc-resolve function
10605 and use prefixed functions.
10606 * sysdeps/s390/s390-32/multiarch/memcmp.S
10607 (memcmp_z196): Rename to __memcmp_z196.
10608 (memcmp_z10): Rename to __memcmp_z10.
10609 (memcmp): Set alias to __memcmp_g5.
10610 (bcmp): Set alias to __memcmp_g5.
10611 * sysdeps/s390/s390-32/multiarch/memcpy.S
10612 (memcpy_z196): Rename to __memcpy_z196.
10613 Jump to __memcpy_mvcle instead of memcpy_mvcle.
10614 (memcpy_z10): Rename to __memcpy_z10.
10615 Jump to __memcpy_mvcle instead of memcpy_mvcle.
10616 (memcpy): Set alias to __memcpy_g5.
10617 * sysdeps/s390/s390-32/multiarch/memset.S
10618 (memset_z196): Rename to __memset_z196.
10619 Jump to __memset_mvcle instead of memset_mvcle.
10620 (memset_z10): Rename to __memset_z10.
10621 Jump to __memset_mvcle instead of memset_mvcle.
10622 (memset_mvcle) Rename to __memset_mvcle.
10623 (memset): Set alias to __memset_g5.
10624 * sysdeps/s390/s390-64/memcmp.S
10625 (memcmp_z900): Rename to __memcmp_z900.
10626 * sysdeps/s390/s390-64/memcpy.S
10627 (memcpy_z900): Rename to __memcpy_z900.
10628 Jump to __memcpy_mvcle instead of memcpy_mvcle.
10629 (memcpy_mvcle) Rename to __memcpy_mvcle.
10630 * sysdeps/s390/s390-64/memset.S
10631 (memset_z900): Rename to __memset_z900.
10632 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
10633 (IFUNC_RESOLVE): Prefix ifunc-resolve function
10634 and use prefixed functions.
10635 * sysdeps/s390/s390-64/multiarch/memcmp.S
10636 (memcmp_z196): Rename to __memcmp_z196.
10637 (memcmp_z10): Rename to __memcmp_z10.
10638 (memcmp): Set alias to __memcmp_z900.
10639 (bcmp): Set alias to __memcmp_z900.
10640 * sysdeps/s390/s390-64/multiarch/memcpy.S
10641 (memcpy_z196): Rename to __memcpy_z196.
10642 Jump to __memcpy_mvcle instead of memcpy_mvcle.
10643 (memcpy_z10): Rename to __memcpy_z10.
10644 Jump to __memcpy_mvcle instead of memcpy_mvcle.
10645 (memcpy): Set alias to __memcpy_z900.
10646 * sysdeps/s390/s390-64/multiarch/memset.S
10647 (memset_z196): Rename to __memset_z196.
10648 Jump to __memset_mvcle instead of memset_mvcle.
10649 (memset_z10): Rename to __memset_z10.
10650 Jump to __memset_mvcle instead of memset_mvcle.
10651 (memset_mvcle) Rename to __memset_mvcle.
10652 (memset): Set alias to __memset_z900.
10653
10654 2015-01-14 Joseph Myers <joseph@codesourcery.com>
10655
10656 [BZ #17748]
10657 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
10658 __fesetenv instead of fesetenv.
10659
10660 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
10661
10662 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
10663 macro.
10664
10665 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10666
10667 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
10668 regression on LE.
10669
10670 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
10671 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
10672 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
10673 strncmp-power8 object.
10674 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10675 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
10676 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
10677 * NEWS: Update.
10678
10679 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10680 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10681
10682 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
10683 trailing byte check.
10684
10685 2015-01-13 David S. Miller <davem@davemloft.net>
10686
10687 * include/signal.h (__sigreturn): Guard with __USE_MISC.
10688
10689 2015-01-13 Roland McGrath <roland@hack.frob.com>
10690
10691 * login/logout.c (logout): Use memset rather than bzero.
10692 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
10693 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
10694 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
10695 (_gethtbyaddr): Likewise.
10696 * locale/programs/simple-hash.c (bcopy): Macro removed.
10697
10698 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10699
10700 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10701 Add strcmp-power8 object.
10702 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10703 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
10704 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
10705 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
10706 __strcmp_power8 implementation.
10707 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
10708 * NEWS: Update.
10709
10710 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10711 Add strncpy-power8 and stpncpy-power8 objects.
10712 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10713 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
10714 implementations.
10715 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
10716 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
10717 __stpncpy_power8 implementation.
10718 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
10719 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
10720 __strncpy_power8 implementation.
10721 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
10722 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
10723 * NEWS: Update.
10724
10725 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
10726 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
10727 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
10728
10729 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
10730 strncat-power8 object.
10731 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
10732 __strcat_power8 implementation.
10733 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10734 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
10735 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
10736 optimized strcat for power8.
10737
10738 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
10739 strcpy-power8 and stpcpy-power8 objects.
10740 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10741 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
10742 implementations.
10743 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
10744 multiarch stpcpy implementation for POWER8.
10745 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
10746 multiarch strcpy implementation for POWER8.
10747 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
10748 __strcpy_power8 function.
10749 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
10750 stpcpy for POWER8.
10751 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
10752 strcpy for POWER8.
10753 * NEWS: Update.
10754
10755 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
10756
10757 [BZ #16009]
10758 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
10759 weights and rules. Use do_xfrm_cached if data fits in cache,
10760 do_xfrm otherwise. Moved former main loop to...
10761 * (do_xfrm_cached): New function.
10762 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
10763 find_idx, find_position and stack_push.
10764 * (find_idx): New function.
10765 * (find_position): Likewise.
10766 * localedata/sort-test.sh: Added test run for do_xfrm.
10767 * localedata/xfrm-test.c (main): Added command line option
10768 -nocache to run the test with strings that are too large for
10769 the STRXFRM cache.
10770
10771 2015-01-13 Torvald Riegel <triegel@redhat.com>
10772
10773 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
10774 variable to lll_futex_wake call, not the value itself.
10775
10776 2015-01-12 Joseph Myers <joseph@codesourcery.com>
10777
10778 [BZ #17803]
10779 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
10780 twom64. Adjust value to 0x1p-64L.
10781 (__scalblnl): Only return standard underflowing result for K <=
10782 -64 not K <= -63; adjust exponent for underflowing result by 64
10783 not 63.
10784 * math/libm-test.inc (scalbn_test_data): Add more tests.
10785 (scalbln_test_data): Likewise.
10786
10787 [BZ #17834]
10788 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
10789 0x1p63L.
10790 (__scalblnl): Get new exponent of adjusted subnormal value from ES
10791 not HX.
10792 * math/libm-test.inc (scalbn_test_data): Add more tests.
10793 (scalbln_test_data): Likewise.
10794
10795 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10796 Stefani Seibold <stefani@seibold.net>
10797
10798 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
10799 (sysdep_routines): Add dl-vdso here, ...
10800 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
10801 (sysdep_routines): ... not here.
10802 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
10803 fallback when vDSO is not presented.
10804 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
10805 Define with libc_hidden_proto/libc_hidden_data_def definitions.
10806 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
10807 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
10808 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
10809 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
10810 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
10811 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
10812 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
10813 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
10814 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
10815 fallback configurable symbol when vDSO is not available.
10816 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
10817 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
10818 be able to redefine fallback symbol when vDSO is not available.
10819 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
10820 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
10821
10822 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10823
10824 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
10825 (TLS_INIT_TP): Add tm_capable initialization.
10826 (TLS_DEFINE_INIT_TP): Likewise.
10827 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
10828 TCB.
10829 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
10830 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
10831 calculation.
10832 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
10833 transactoion is lock elision is built and TCB tm_capable is set.
10834 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
10835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10836 (INTERNAL_SYSCALL_NCS): Likewise.
10837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
10838 (INTERNAL_SYSCALL_NCS): Likewise.
10839 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
10840
10841 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
10842 for powerpc.
10843 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
10844 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
10845 and remove it for 32 bits case.
10846 [pthread_rwlock_t] (__rwelision): New field for lock elision.
10847 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
10848 initialization.
10849 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
10850 Disable lock elision with rdlocks if elision is not available.
10851
10852 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
10853 (sysdep_routines): Add lock elision objects.
10854 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
10855 [pthread_mutex_t] (__spins): Rework to add lock elision field.
10856 [pthread_mutex_t] (__elision): Add field.
10857 [__PTHREAD_SPINS]: Adjust to init lock elision field.
10858 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
10859 elision definitions for powerpc.
10860 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
10861 implementation of lock elision for powerpc.
10862 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
10863 implementation of timed lock elision for powerpc.
10864 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
10865 implementation of trylock with lock elision for powerpc.
10866 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
10867 implementaion of unlock for lock elision for powerpc.
10868 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
10869 automatic enable lock elision for mutexes.
10870 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
10871 transaction execution definitions for powerpc.
10872 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
10873 definitions.
10874 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
10875 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
10876 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
10877 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
10878 * NEWS: Update.
10879
10880 2015-01-09 Roland McGrath <roland@hack.frob.com>
10881
10882 * sysdeps/posix/shm-directory.c: Use <> rather than ""
10883 for #include of <shm-directory.h>.
10884
10885 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
10886
10887 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
10888 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
10889
10890 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
10891
10892 [BZ #17791]
10893 * NEWS: Mention bug fix.
10894 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
10895 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
10896 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
10897
10898 2015-01-09 Torvald Riegel <triegel@redhat.com>
10899
10900 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
10901
10902 2015-01-09 Torvald Riegel <triegel@redhat.com>
10903
10904 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
10905
10906 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
10907
10908 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
10909 pointer and cast to uintptr_t.
10910
10911 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
10912
10913 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
10914 removed.
10915 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
10916
10917 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
10918
10919 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
10920 of 0.
10921
10922 2015-01-08 Roland McGrath <roland@hack.frob.com>
10923
10924 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
10925 <nptl/pthreadP.h> instead.
10926 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
10927
10928 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
10929 already defined.
10930 [__SIGRTMIN] (init): Function removed.
10931 [__SIGRTMIN] (initialized): Variable removed.
10932 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
10933 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
10934 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
10935 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
10936 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
10937 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
10938 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
10939 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
10940 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
10941 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
10942 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
10943 * sysdeps/nptl/allocrtsig.c: New file.
10944 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
10945 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
10946 * sysdeps/generic/testrtsig.h: File removed.
10947
10948 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
10949 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
10950
10951 * nptl/nptl-init.c (pthread_functions): Conditionalize
10952 .ptr__nptl_setxid initialization on [SIGSETXID].
10953
10954 * sysdeps/nptl/sys/procfs.h: New file.
10955 * nptl_db/Makefile (headers): Add it.
10956 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
10957
10958 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
10959 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
10960 * nptl/pthread_attr_setaffinity.c: Include it.
10961 * nptl/pthread_setattr_default_np.c: Likewise.
10962 * nptl/check-cpuset.h: New file.
10963
10964 2015-01-08 Richard Henderson <rth@redhat.com>
10965
10966 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
10967 (CFLAGS-tst-execstack-prog.c): Likewise.
10968 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
10969
10970 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
10971 Sandra Loosemore <sandra@codesourcery.com>
10972 Andrew Jenner <andrew@codesourcery.com>
10973 Joseph Myers <joseph@codesourcery.com>
10974 Nathan Sidwell <nathan@codesourcery.com>
10975
10976 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
10977 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
10978 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
10979 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
10980 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
10981 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
10982 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
10983 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
10984 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
10985 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
10986 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
10987 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
10988 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
10989 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
10990 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
10991 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
10992 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
10993
10994 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10995
10996 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
10997 timespec struct member in syscall macro.
10998 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
10999 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
11000 first timeval struct member in syscall macro.
11001 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
11002
11003 2015-01-07 Joseph Myers <joseph@codesourcery.com>
11004
11005 [BZ #17748]
11006 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
11007 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
11008 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
11009 __feupdateenv and define as weak alias of __feupdateenv. Use
11010 libm_hidden_weak.
11011 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
11012 libm_hidden_def.
11013 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
11014 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
11015 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
11016 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
11017 libm_hidden_def.
11018 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
11019 __feupdateenv and define as weak alias of __feupdateenv. Use
11020 libm_hidden_weak.
11021 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
11022 libm_hidden_def.
11023 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
11024 __feupdateenv and define as weak alias of __feupdateenv. Use
11025 libm_hidden_weak.
11026 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
11027 libm_hidden_def.
11028 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
11029 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
11030 (__feupdateenv): Likewise.
11031 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
11032 __feupdateenv and define as weak alias of __feupdateenv. Use
11033 libm_hidden_weak.
11034 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
11035 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
11036 libm_hidden_def.
11037 * sysdeps/tile/math_private.h (__feupdateenv): New inline
11038 function.
11039 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
11040 libm_hidden_def.
11041 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
11042 __feupdateenv instead of feupdateenv.
11043 (default_libc_feupdateenv_test): Likewise.
11044 (libc_feresetround_ctx): Likewise.
11045
11046 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11047
11048 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
11049 prototype.
11050
11051 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
11052
11053 * posix/regcomp.c (parse_bracket_exp): Initialize type to
11054 COLL_SYM in a couple of places to avoid uninitialized variable
11055 wanings on tilegx gcc 4.8.2.
11056
11057 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
11058
11059 * sysdeps/aarch64/strcpy.S: New file.
11060 * sysdeps/aarch64/stpcpy.S: New file.
11061 * NEWS: Updated.
11062
11063 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
11064
11065 * sysdeps/aarch64/strrchr.S: New file.
11066 * NEWS: Updated.
11067
11068 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
11069
11070 [BZ #17658]
11071 * stdlib/setenv.c: Fix memory leak when setting large,
11072 duplicate string.
11073
11074 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
11075
11076 [BZ #17273]
11077 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
11078 and tabs from buffer before parsing fstab entry.
11079 * misc/tst-mntent.c (main): Add test for mount entry with
11080 trailing spaces and tabs.
11081
11082 2015-01-06 Joseph Myers <joseph@codesourcery.com>
11083
11084 [BZ #17748]
11085 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
11086 * math/fesetround.c (fesetround): Rename to __fesetround and
11087 define as weak alias of __fesetround. Use libm_hidden_weak.
11088 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
11089 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
11090 * sysdeps/arm/fesetround.c (fesetround): Likewise.
11091 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
11092 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
11093 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
11094 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
11095 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
11096 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
11097 __fesetround_inline.
11098 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
11099 __fesetround_inline instead of __fesetround.
11100 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
11101 __fesetround and define as weak alias of __fesetround. Use
11102 libm_hidden_weak. Call __fesetround_inline instead of
11103 __fesetround.
11104 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
11105 __fesetround and define as weak alias of __fesetround. Use
11106 libm_hidden_weak.
11107 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
11108 Likewise.
11109 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
11110 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
11111 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
11112 * sysdeps/tile/math_private.h (__fesetround): New inline function.
11113 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
11114 __fesetround and define as weak alias of __fesetround. Use
11115 libm_hidden_weak.
11116 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
11117 __fesetround instead of fesetround.
11118 (default_libc_feholdexcept_setround): Likewise.
11119 (libc_feholdsetround_ctx): Likewise.
11120 (libc_feholdsetround_noex_ctx): Likewise.
11121
11122 [BZ #17748]
11123 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
11124 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
11125 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
11126 and define as weak alias of __fesetenv. Use libm_hidden_weak.
11127 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
11128 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
11129 define as weak alias of __fesetenv. Use libm_hidden_weak.
11130 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
11131 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
11132 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
11133 define as weak alias of __fesetenv. Use libm_hidden_weak.
11134 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
11135 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
11136 define as weak alias of __fesetenv. Use libm_hidden_weak.
11137 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
11138 libm_hidden_def.
11139 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
11140 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
11141 Likewise.
11142 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
11143 define as weak alias of __fesetenv. Use libm_hidden_weak.
11144 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
11145 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
11146 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
11147 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
11148 and define as weak alias of __fesetenv. Use libm_hidden_weak.
11149 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
11150 __fesetenv instead of fesetenv.
11151 (libc_feresetround_noex_ctx): Likewise.
11152 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
11153 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
11154 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
11155 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
11156 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
11157 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
11158 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
11159 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
11160 (__feupdateenv): Likewise.
11161 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
11162 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
11163 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
11164 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
11165
11166 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
11167
11168 [BZ #17806]
11169 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
11170 addresses have been freed.
11171
11172 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
11173
11174 * resolv/res_init.c (__res_vinit): Improve comments about nserv
11175 and nservall.
11176
11177 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
11178
11179 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
11180 Clean up check_pf allocation pattern. addresses
11181
11182 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11183
11184 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
11185 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
11186 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
11187 * nptl/pthread_exit.c (__pthread_exit): Likewise.
11188 * nptl/pthread_join.c (pthread_join): Likewise.
11189 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
11190 * sysdeps/posix/waitid.c (__waitid): Likewise.
11191 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
11192 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
11193 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
11194 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
11195 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
11196 Likewise.
11197 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
11198 (__libc_pread64): Likewise.
11199 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
11200 (__libc_pwrite): Likewise.
11201 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
11202 (__libc_pwrite64): Likewsie.
11203 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
11204 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
11205 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
11206 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
11207 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
11208 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
11209 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
11210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
11211 Likewise.
11212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
11213 (__libc_pread64): Likewise.
11214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
11215 Likewise.
11216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
11217 (__libc_pwrite64): Likewise.
11218 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
11219 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
11220 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
11221 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
11222 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
11223 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
11224 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
11225 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
11226 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
11227 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
11228 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
11229 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
11230 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
11231 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
11232 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
11233 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
11234 Likewise.
11235
11236 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
11237
11238 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
11239 (CFLAGS-test-double.c): Likewise.
11240 (CFLAGS-test-ldouble.c): Likewise.
11241 (CPPFLAGS-test-ifloat.c): Likewise.
11242 (CPPFLAGS-test-idouble.c): Likewise.
11243 (CPPFLAGS-test-ildoubl.c): Likewise.
11244 (CFLAGS-test-test-fenv.c): Remove variable.
11245 (CFLAGS-test-misc.c): Likewise.
11246
11247 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
11248
11249 [BZ #17797]
11250 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
11251 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
11252 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
11253 CLOCKS_PER_SEC == 1000000.
11254 * time/clocktest.c (main): Replace %ld with %jd and cast to
11255 intmax_t.
11256
11257 2015-01-05 Roland McGrath <roland@hack.frob.com>
11258
11259 * sysdeps/generic/unwind-resume.h: New file.
11260 * sysdeps/gnu/unwind-resume.c: Include it.
11261 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
11262 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
11263 argument list.
11264 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
11265 global rather than static.
11266 (_Unwind_Resume): Update user.
11267 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
11268 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
11269 rather than static. Add __attribute__ ((cold)).
11270 (_Unwind_Resume, __gcc_personality_v0): Update callers.
11271 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
11272 * sysdeps/arm/arm-unwind-resume.S: New file.
11273 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
11274 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
11275 * sysdeps/arm/Makefile [$(subdir) = csu]
11276 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
11277 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
11278 Add rt-arm-unwind-resume.
11279 [$(subdir) = nptl]
11280 (libpthread-sysdep_routines, libpthread-shared-only-routines):
11281 Add pt-arm-unwind-resume.
11282 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
11283 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
11284
11285 2015-01-05 Joseph Myers <joseph@codesourcery.com>
11286
11287 [BZ #17748]
11288 * include/fenv.h (__feholdexcept): Declare. Use
11289 libm_hidden_proto.
11290 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
11291 define as weak alias of __feholdexcept. Use libm_hidden_weak.
11292 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
11293 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
11294 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
11295 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
11296 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
11297 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
11298 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
11299 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
11300 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
11301 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
11302 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
11303 (feholdexcept): Likewise.
11304 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
11305 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
11306 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
11307 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
11308 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
11309 __feholdexcept instead of feholdexcept.
11310 (default_libc_feholdexcept_setround): Likewise.
11311
11312 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
11313
11314 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
11315 to avoid using stl/str to align destination.
11316
11317 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
11318
11319 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
11320
11321 2015-01-05 Joseph Myers <joseph@codesourcery.com>
11322
11323 [BZ #17796]
11324 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
11325 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
11326 Define as weak alias not strong alias.
11327
11328 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
11329
11330 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
11331 bltzal with addiupc.
11332 (RTLD_START): Ditto.
11333
11334 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
11335
11336 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
11337 for __vdso_* functions in declarations.
11338 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
11339 definitions.
11340 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
11341 INTERNAL_VSYSCALL): Use struct return types to check for error.
11342
11343 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
11344 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
11345 function with cast from llround().
11346 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
11347 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
11348 Define.
11349
11350 2015-01-05 Joseph Myers <joseph@codesourcery.com>
11351
11352 [BZ #17793]
11353 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
11354 Define as weak alias not strong alias.
11355
11356 [BZ #17635]
11357 * ctype/ctype-c99.c: New file. isblank implementation moved from
11358 ...
11359 * ctype/ctype-extn.c: ... here.
11360 (__isblank_l): Move to ...
11361 * ctype/ctype-c99_l.c: ... here. New file.
11362 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
11363 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
11364 Remove variable.
11365 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
11366 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
11367 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
11368 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
11369 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
11370
11371 [BZ #17777]
11372 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
11373 (posix_fadvise64): Define as weak alias not strong alias.
11374 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
11375 (posix_fallocate64): Likewise.
11376 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
11377 Remove variable.
11378 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
11379 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
11380 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
11381 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
11382 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
11383
11384 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
11385
11386 [BZ #16191]
11387 * NEWS: Mention bug fix.
11388 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
11389 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
11390 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
11391 (HOST_STACK_END_ADDR): Likewise.
11392
11393 2015-01-02 Joseph Myers <joseph@codesourcery.com>
11394
11395 [BZ #17748]
11396 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
11397 * math/fegetround.c (fegetround): Rename to __fegetround and
11398 define as weak alias of __fegetround. Use libm_hidden_weak.
11399 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
11400 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
11401 * sysdeps/arm/fegetround.c (fegetround): Likewise.
11402 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
11403 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
11404 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
11405 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
11406 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
11407 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
11408 Undefine after rather than before function definition; use
11409 parentheses around function name in definition.
11410 (__fegetround): Also undefine macro after function definition.
11411 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
11412 __fegetround and define as weak alias of __fegetround. Use
11413 libm_hidden_weak. Do not undefine as macro.
11414 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
11415 Likewise.
11416 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
11417 __fegetround and define as weak alias of __fegetround. Use
11418 libm_hidden_weak.
11419 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
11420 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
11421 * sysdeps/tile/math_private.h (__fegetround): New inline function.
11422 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
11423 __fegetround and define as weak alias of __fegetround. Use
11424 libm_hidden_weak.
11425 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
11426 __fegetround instead of fegetround.
11427
11428 [BZ #17782]
11429 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
11430 Condition macro definition on [__USE_MISC].
11431
11432 [BZ #17781]
11433 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
11434 (struct sigaction): Change type of sa_flags field to int.
11435
11436 [BZ #17780]
11437 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
11438 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
11439 __glibc_reserved0.
11440
11441 * nptl/version.c (banner): Use single year in copyright notice.
11442
11443 * NEWS: Update copyright dates.
11444 * catgets/gencat.c (print_version): Likewise.
11445 * csu/version.c (banner): Likewise.
11446 * debug/catchsegv.sh: Likewise.
11447 * debug/pcprofiledump.c (print_version): Likewise.
11448 * debug/xtrace.sh (do_version): Likewise.
11449 * elf/ldconfig.c (print_version): Likewise.
11450 * elf/ldd.bash.in: Likewise.
11451 * elf/pldd.c (print_version): Likewise.
11452 * elf/sotruss.sh: Likewise.
11453 * elf/sprof.c (print_version): Likewise.
11454 * iconv/iconv_prog.c (print_version): Likewise.
11455 * iconv/iconvconfig.c (print_version): Likewise.
11456 * locale/programs/locale.c (print_version): Likewise.
11457 * locale/programs/localedef.c (print_version): Likewise.
11458 * login/programs/pt_chown.c (print_version): Likewise.
11459 * malloc/memusage.sh (do_version): Likewise.
11460 * malloc/memusagestat.c (print_version): Likewise.
11461 * malloc/mtrace.pl: Likewise.
11462 * manual/libc.texinfo: Likewise.
11463 * nptl/version.c (banner): Likewise.
11464 * nscd/nscd.c (print_version): Likewise.
11465 * nss/getent.c (print_version): Likewise.
11466 * nss/makedb.c (print_version): Likewise.
11467 * posix/getconf.c (main): Likewise.
11468 * scripts/test-installation.pl: Likewise.
11469 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
11470
11471 2015-01-02 Will Newton <will.newton@linaro.org>
11472
11473 * sysdeps/arm/armv7/configure: Removed.
11474 * sysdeps/arm/armv7/configure.ac: Likewise.
11475
11476 2015-01-02 Joseph Myers <joseph@codesourcery.com>
11477
11478 * All files with FSF copyright notices: Update copyright dates
11479 using scripts/update-copyrights.
11480 * intl/plural.c: Regenerated.
11481 * locale/programs/charmap-kw.h: Likewise.
11482 * locale/programs/locfile-kw.h: Likewise.
11483
11484 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11485
11486 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
11487
11488 2014-12-31 Joseph Myers <joseph@codesourcery.com>
11489
11490 [BZ #17748]
11491 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
11492 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
11493 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
11494 and define as weak alias of __fegetenv. Use libm_hidden_weak.
11495 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
11496 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
11497 define as weak alias of __fegetenv. Use libm_hidden_weak.
11498 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
11499 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
11500 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
11501 define as weak alias of __fegetenv. Use libm_hidden_weak.
11502 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
11503 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
11504 define as weak alias of __fegetenv. Use libm_hidden_weak.
11505 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
11506 libm_hidden_def.
11507 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
11508 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
11509 Likewise.
11510 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
11511 define as weak alias of __fegetenv. Use libm_hidden_weak.
11512 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
11513 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
11514 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
11515 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
11516 and define as weak alias of __fegetenv. Use libm_hidden_weak.
11517 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
11518 __fegetenv instead of fegetenv.
11519 (libc_feholdsetround_noex_ctx): Likewise.
11520
11521 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
11522
11523 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
11524 (Elf_MIPS_ABIFlags_v0): New structure.
11525 (EF_MIPS_FP64): Define.
11526 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
11527 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
11528 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
11529 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
11530 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
11531 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
11532 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
11533 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
11534 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
11535 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
11536 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
11537 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
11538 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
11539 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
11540 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
11541 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
11542 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
11543 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
11544 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
11545 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
11546 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
11547 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
11548 field.
11549 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
11550 EF_MIPS_FP64.
11551 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
11552 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
11553 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
11554 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
11555 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
11556 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
11557 * sysdeps/mips/tst-abi-interlink.c: Likewise.
11558 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
11559 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
11560 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
11561 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
11562 record the current FP ABI extension.
11563 (mips-mode-switch): Define to show if kernel headers support mode
11564 switching.
11565 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
11566 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
11567 supported SYSV ABI version to 3.
11568 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
11569 feature.
11570
11571 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11572 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11573
11574 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
11575 path.
11576 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
11577
11578 2014-12-31 Joseph Myers <joseph@codesourcery.com>
11579
11580 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
11581 __fegetround and redefine to call __fegetround. Remove condition
11582 on [!__NO_MATH_INLINES].
11583 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
11584 function.
11585 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
11586 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
11587 Remove macro.
11588 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
11589 instead of <fenv_libc.h>.
11590 (__llrintl): Call fegetround instead of __fegetround.
11591 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
11592 instead of <fenv_libc.h>.
11593 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
11594 (__lrintl): Call fegetround instead of __fegetround.
11595 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
11596 instead of <fenv_libc.h>.
11597 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
11598 (__rintl): Call fegetround instead of __fegetround.
11599
11600 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
11601
11602 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
11603 arrays.
11604
11605 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
11606
11607 [BZ #17775]
11608 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
11609 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
11610 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
11611
11612 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
11613
11614 * sysdeps/i386/tls-macros.h: Include <features.h>.
11615 (TLS_LE): Use non-PIC version for GCC >= 5.0.
11616 (TLS_IE): Likewise.
11617 (TLS_LD): Likewise.
11618 (TLS_GD): Likewise.
11619 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
11620 define for GCC >= 5.0.
11621
11622 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
11623
11624 * math/test-fenv.c (test_single_exception, set_single_exc,
11625 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
11626 feexcp_mask_test, feenable_test, fe_single_test): Add
11627 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
11628 case where they are not used.
11629 * math/libm-test.inc: Likewise.
11630 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
11631 unused in the absence of FP rounding/exception support.
11632 * stdio-common/tst-printf-round.c: Likewise.
11633 * stdlib/tst-strtod-round.c: Likewise.
11634 * stdlib/tst-strtod-underflow.c: Likewise.
11635
11636 2014-12-30 Joseph Myers <joseph@codesourcery.com>
11637
11638 [BZ #17723]
11639 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
11640 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
11641 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
11642 __feraiseexcept and define as weak alias of __feraiseexcept. Use
11643 libm_hidden_weak.
11644 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
11645 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
11646 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
11647 libm_hidden_def.
11648 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
11649 __feraiseexcept and define as weak alias of __feraiseexcept. Use
11650 libm_hidden_weak.
11651 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
11652 Likewise.
11653 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
11654 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
11655 __feraiseexcept and define as weak alias of __feraiseexcept. Use
11656 libm_hidden_weak.
11657 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
11658 libm_hidden_def.
11659 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
11660 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
11661 (__feraiseexcept): Likewise.
11662 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
11663 __feraiseexcept and define as weak alias of __feraiseexcept. Use
11664 libm_hidden_weak.
11665 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
11666 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
11667 libm_hidden_def.
11668 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
11669 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
11670 Use libm_hidden_def.
11671 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
11672 libm_hidden_def.
11673 (feraiseexcept): Define as weak not strong alias. Use
11674 libm_hidden_weak.
11675 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
11676 New inline function. Factored out of ...
11677 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
11678 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
11679 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
11680 feraiseexcept.
11681 * math/w_acos.c (__acos): Likewise.
11682 * math/w_asin.c (__asin): Likewise.
11683 * math/w_ilogb.c (__ilogb): Likewise.
11684 * math/w_j0.c (y0): Likewise.
11685 * math/w_j1.c (y1): Likewise.
11686 * math/w_jn.c (yn): Likewise.
11687 * math/w_log.c (__log): Likewise.
11688 * math/w_log10.c (__log10): Likewise.
11689 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
11690 * sysdeps/aarch64/fpu/math_private.h
11691 (libc_feupdateenv_test_aarch64): Likewise.
11692 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
11693 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
11694 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
11695 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
11696 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
11697 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
11698 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
11699 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
11700 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
11701 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
11702
11703 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
11704
11705 [BZ #17732]
11706 * io/test-utime.c (main): Replace %ld with %jd and cast to
11707 intmax_t.
11708 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
11709 * nptl/tst-mutex5.c: Include <stdint.h>.
11710 (do_test): Replace %ld with %jd and cast to intmax_t.
11711 * posix/tst-regex.c (run_test): Likewise.
11712 (run_test_backwards): Likewise.
11713 * rt/tst-clock.c: Include <stdint.h>.
11714 (clock_test): Replace %ld with %jd and cast to intmax_t.
11715 * rt/tst-cpuclock1.c: Include <stdint.h>.
11716 (do_test): Replace %lu with %ju and cast to uintmax_t.
11717 * rt/tst-cpuclock2.c: Include <stdint.h>.
11718 (do_test): Replace %lu with %ju and cast to uintmax_t.
11719 * rt/tst-mqueue1.c: Include <stdint.h>.
11720 (check_attrs): Replace %ld with %jd and cast to intmax_t.
11721 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
11722 intmax_t.
11723 * rt/tst-mqueue4.c (do_test): Likewise.
11724 * rt/tst-timer4.c: Include <stdint.h>.
11725 (check_ts): Replace %ld with %jd and cast to intmax_t.
11726 (do_test): Likewise.
11727 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
11728 and cast to intmax_t.
11729 * sysdeps/pthread/tst-timer.c (main): Likewise.
11730 * time/clocktest.c (main): Likewise.
11731 * time/tst-posixtz.c (do_test): Likewise.
11732 * timezone/tst-timezone.c (main): Likewise.
11733
11734 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
11735 H.J. Lu <hongjiu.lu@intel.com>
11736
11737 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
11738 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
11739 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
11740 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
11741 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
11742 version if bit_Fast_Unaligned_Load is set.
11743 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11744 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11745 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11746 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11747 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11748 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11749 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11750 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
11751 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
11752 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
11753 to 4.
11754 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
11755 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
11756 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
11757 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
11758
11759 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
11760
11761 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
11762 instead of #if to avoid a Wundef warning.
11763 * stdlib/tst-limits.c (do_test): Likewise.
11764
11765 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
11766 parallel other exception macros.
11767 (fegetenv): Convert from macro to extern inline so that it applies
11768 retroactively to inline functions already seen by the compiler.
11769 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
11770
11771 * posix/Makefile (before-compile): Use $(objpfx) for
11772 posix-conf-vars-def.h.
11773
11774 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11775
11776 * posix/getconf.c (main): Use size_t for type of I.
11777 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
11778 NSPEC.
11779
11780 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
11781 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
11782 * posix/posix-envs.def: Likewise.
11783 * sysdeps/posix/sysconf.c: Likewise.
11784 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
11785 (specs): Remove array.
11786 * scripts/gen-posix-conf-vars.awk: Support generation of specs
11787 array.
11788
11789 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
11790 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
11791 (__sysconf): Use CONF_IS_* macros.
11792
11793 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
11794 ($(objpfx)posix-conf-vars-def.h): New target.
11795 * posix/posix-conf-vars.list: New file.
11796 * posix/posix-conf-vars.h: New file.
11797 * posix/confstr.c: Include posix-conf-vars.h.
11798 (confstr): Use CONF_IS_* macros.
11799 * posix/posix-envs.def: Include posix-conf-vars.h. Use
11800 CONF_IS_* macros.
11801 * scripts/gen-posix-conf-vars.awk: New file.
11802
11803 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
11804
11805 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
11806 fegetround): Add no-op macros to avoid linknamespace issues.
11807
11808 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
11809 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
11810
11811 * sysdeps/unix/sysv/linux/tile/sysdep.h
11812 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
11813 assembly-specific section to avoid a redefinition warning.
11814
11815 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
11816 long before casting to pointer to avoid a cast warning.
11817
11818 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
11819
11820 * sysdeps/tile/tilegx/Implies: New file.
11821
11822 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
11823
11824 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
11825
11826 2014-12-23 Florian Weimer <fweimer@redhat.com>
11827
11828 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
11829
11830 2014-12-22 Joseph Myers <joseph@codesourcery.com>
11831
11832 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
11833 not define.
11834 * sysdeps/unix/sysv/linux/utimes.c: Do not include
11835 <kernel-features.h>.
11836 (__utimes) [__NR_utimes]: Make code unconditional.
11837 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
11838 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11839 (__ASSUME_UTIMES): Do not undefine.
11840 * sysdeps/unix/sysv/linux/tile/kernel-features.h
11841 (__ASSUME_UTIMES): Likewise.
11842 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
11843 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
11844 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
11845 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
11846
11847 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
11848
11849 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
11850
11851 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
11852
11853 [BZ #17747]
11854 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
11855 alias to weak alias for j0l, y0l.
11856 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
11857 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
11858
11859 [BZ #17746]
11860 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
11861 conversion.
11862
11863 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
11864
11865 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
11866 to zero if not already defined.
11867
11868 2014-12-22 Joseph Myers <joseph@codesourcery.com>
11869
11870 [BZ #17724]
11871 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
11872 (__kernel_standard_f): Remove. Moved to k_standardf.c.
11873 (__kernel_standard_l): Remove. Moved to k_standardl.c with
11874 (char *) casts added.
11875 * sysdeps/ieee754/k_standardf.c: New file.
11876 * sysdeps/ieee754/k_standardl.c: Likewise.
11877 * math/Makefile (libm-support): Remove k_standard.
11878 (libm-calls): Add k_standard.
11879
11880 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
11881
11882 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
11883 Optimize to avoid an unnecessary FPCR read.
11884
11885 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
11886
11887 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
11888 Optimize to reduce FPCR/FPSR accesses.
11889
11890 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
11891
11892 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
11893 Call libc_fetestexcept_aarch64.
11894
11895 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
11896
11897 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
11898 Call libc_fesetround_aarch64.
11899
11900 2014-12-22 Joseph Myers <joseph@codesourcery.com>
11901
11902 [BZ #17733]
11903 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
11904 (__bind): Do not define as weak alias.
11905 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
11906 define.
11907 (__getsockname): Do not define as weak alias.
11908
11909 2014-12-22 Will Newton <will.newton@linaro.org>
11910
11911 * manual/install.texi: Document that we require bison 2.7
11912 or above.
11913 * INSTALL: Regenerate.
11914 * configure.ac: Use AC_CHECK_PROG_VER instead of
11915 AC_PATH_PROG when checking for bison and check for
11916 version 2.7 or above.
11917 * configure: Regenerate.
11918
11919 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
11920
11921 [BZ #17745]
11922 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
11923 * sysdeps/tile/ffsll.c (ffsll): To here.
11924
11925 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
11926
11927 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
11928
11929 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
11930 if not defined.
11931 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
11932 definition.
11933 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
11934 hidden ___tls_get_addr.
11935 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
11936 hidden __tls_get_addr.
11937 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
11938 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
11939 Likewise.
11940
11941 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
11942
11943 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
11944 _dl_init call.
11945
11946 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
11947
11948 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
11949 from "call _dl_init@PLT".
11950 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
11951
11952 2014-12-21 Anders Kaseorg <andersk@mit.edu>
11953
11954 * manual/search.texi: (Array Sort Function): Clarify stable sorting
11955 guarantees.
11956
11957 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
11958
11959 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
11960
11961 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
11962
11963 [BZ #17744]
11964 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
11965 strnlen.
11966
11967 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
11968
11969 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
11970 of multu on MIPSr6.
11971 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
11972 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
11973 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
11974 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
11975 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
11976
11977 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
11978
11979 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
11980 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
11981 (PTR_SUBU): Use subu for mips32r6/mips64r6.
11982 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
11983 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
11984 mips32r6/mips64r6.
11985 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
11986
11987 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
11988
11989 * string/strncat.c (STRNCAT): Simplify implementation.
11990
11991 2014-12-19 David S. Miller <davem@davemloft.net>
11992
11993 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
11994 access the quad as both a long double and as a series of 4 words.
11995
11996 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
11997 link_map->l_info array access.
11998
11999 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
12000
12001 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
12002
12003 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
12004 * math/atest-exp2.c (TIMEOUT): Likewise.
12005 * math/atest-sincos.c (TIMEOUT): Likewise.
12006
12007 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
12008
12009 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
12010 -Wno-error with -fno-builtin-lround.
12011
12012 2014-12-19 Torvald Riegel <triegel@redhat.com>
12013
12014 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
12015 Contains futex constants and functions moved over from ...
12016 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
12017 <lowlevellock-futex.h>.
12018 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
12019 (lll_timedwait_tid): Add comments and parentheses around macro
12020 arguments.
12021
12022 2014-12-19 Torvald Riegel <triegel@redhat.com>
12023
12024 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
12025 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
12026 (__lll_private_flag): Remove.
12027 (lll_futex_wait): Likewise.
12028 (lll_futex_timed_wait): Likewise.
12029 (lll_futex_wake): Likewise.
12030 (lll_futex_requeue): Likewise.
12031 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
12032 (__lll_timedwait_tid): Spell out argument names.
12033 (lll_timedwait_tid): Add comments and parentheses around macro
12034 arguments.
12035 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
12036 LLL_SHARED and LLL_PRIVATE usable from assembly code.
12037
12038 2014-12-19 Torvald Riegel <triegel@redhat.com>
12039
12040 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
12041 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
12042 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
12043 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
12044 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
12045 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
12046 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
12047 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
12048 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
12049 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
12050 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
12051 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
12052 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
12053 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
12054 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
12055 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
12056 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
12057 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
12058 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
12059
12060 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
12061
12062 * sysdeps/x86_64/x32/Makefile: New file.
12063
12064 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
12065
12066 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
12067 1L with (mp_limb_t) 1.
12068
12069 2014-12-17 Roland McGrath <roland@hack.frob.com>
12070
12071 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
12072 * nptl/libc_pthread_init.c: ... here.
12073 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
12074 * nptl/register-atfork.c: ... here.
12075
12076 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
12077 Use pthread_sigmask rather than INTERNAL_SYSCALL.
12078 Use assert_perror to check its return value.
12079 (__gai_create_helper_thread): Likewise.
12080
12081 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
12082
12083 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
12084
12085 2014-12-17 Joseph Myers <joseph@codesourcery.com>
12086
12087 [BZ #17725]
12088 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
12089 __profil_counter.
12090 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
12091 Likewise.
12092 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
12093 Likewise.
12094 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
12095 Likewise.
12096 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
12097 (profil_counter): Likewise.
12098 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
12099 (profil_counter): Likewise.
12100 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
12101 Likewise.
12102 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
12103 Likewise.
12104 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
12105 (profil_counter): Likewise.
12106 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
12107 Likewise.
12108 [!__profil_counter] (profil_counter): Define as weak alias of
12109 __profil_counter.
12110 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
12111 (profil_counter): Rename to __profil_counter.
12112 [!__profil_counter] (profil_counter): Define as weak alias of
12113 __profil_counter.
12114 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
12115 (profil_counter): Rename to __profil_counter.
12116 [!__profil_counter] (profil_counter): Define as weak alias of
12117 __profil_counter.
12118 * sysdeps/posix/profil.c: Update comment referring to
12119 profil_counter.
12120 (__profil): Use __profil_counter instead of profil_counter.
12121 * sysdeps/posix/sprofil.c (profil_counter): Rename to
12122 __profil_counter. Use __profil_counter_ushort and
12123 __profil_counter_uint in definitions.
12124 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
12125 instead of profil_counter_uint and profil_counter_ushort.
12126
12127 [BZ #17722]
12128 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
12129 define as weak alias of __inet_makeaddr.
12130 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
12131 as weak alias of __inet_addr.
12132 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
12133 as weak alias of __inet_pton. Use libc_hidden_weak.
12134 * include/arpa/inet.h (__inet_pton): Declare. Use
12135 libc_hidden_proto.
12136 (inet_makeaddr): Don't use libc_hidden_proto.
12137 (__inet_makeaddr): Declare. Use libc_hidden_proto.
12138 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
12139 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
12140 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
12141 Remove variable.
12142 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
12143 (test-xfail-POSIX/time.h/linknamespace): Likewise.
12144
12145 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
12146
12147 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
12148
12149 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
12150
12151 * stdio-common/bug-vfprintf-nargs.c (do_test):
12152 Cast value to intptr_t to avoid format warning
12153 for usage with PRIdPTR printing macro.
12154
12155 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
12156
12157 * libio/tst-widetext.c (do_test):
12158 Use format type %td instead of %Zd for ptrdiff_t
12159 in order to avoid format warning.
12160
12161 2014-12-17 Andreas Schwab <schwab@suse.de>
12162
12163 * nscd/mem.c (gc): Add size_t cast to match printf format.
12164
12165 2014-12-16 Roland McGrath <roland@hack.frob.com>
12166
12167 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
12168 (init): Apply PTR_MANGLE to pointers before storing them.
12169 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
12170 before using them.
12171
12172 2014-12-16 Joseph Myers <joseph@codesourcery.com>
12173
12174 [BZ #17719]
12175 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
12176 define as weak alias of __memrchr.
12177 (__memrchr): Do not define as strong alias of memrchr.
12178 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
12179 Remove variable.
12180 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
12181 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
12182 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
12183
12184 [BZ #17717]
12185 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
12186 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
12187 (if_indextoname): Rename to __if_indextoname and define as weak
12188 alias of __if_indextoname. Use libc_hidden_weak.
12189 (if_freenameindex): Rename to __if_freenameindex and define as
12190 weak alias of __if_freenameindex.
12191 (if_nameindex): Rename to __if_nameindex and define as weak alias
12192 of __if_nameindex.
12193 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
12194 __if_nametoindex and define as weak alias of __if_nametoindex.
12195 Use libc_hidden_weak.
12196 (if_freenameindex): Rename to __if_freenameindex and define as
12197 weak alias of __if_freenameindex.
12198 (if_nameindex): Rename to __if_nameindex and define as weak alias
12199 of __if_nameindex.
12200 (if_indextoname): Rename to __if_indextoname and define as weak
12201 alias of __if_indextoname. Use libc_hidden_weak.
12202 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
12203 __if_nametoindex and define as weak alias of __if_nametoindex.
12204 Use libc_hidden_weak.
12205 (if_freenameindex): Rename to __if_freenameindex and define as
12206 weak alias of __if_freenameindex. Use libc_hidden_weak.
12207 (if_nameindex_netlink): Use __if_freenameindex instead of
12208 if_freenameindex.
12209 (if_nameindex): Rename to __if_nameindex and define as weak alias
12210 of __if_nameindex. Use libc_hidden_weak.
12211 (if_indextoname): Rename to __if_indextoname and define as weak
12212 alias of __if_indextoname. Use libc_hidden_weak.
12213 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
12214 libc_hidden_proto.
12215 [!_ISOMAC] (__if_freenameindex): Likewise.
12216 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
12217 if_nametoindex.
12218 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
12219 variable.
12220 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
12221 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
12222 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
12223 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
12224 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
12225 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
12226 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
12227
12228 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
12229 Remove variable.
12230 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
12231 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
12232
12233 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12234
12235 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
12236 subscript above bounds'
12237
12238 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
12239 bounds.
12240
12241 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
12242
12243 * libio/tst-fopenloc.c: Use test-skeleton.c.
12244
12245 * stdlib/tst-bsearch.c: Use test-skeleton.c.
12246 (entry): Rename to ITEM.
12247 (do_test, comp): Adjust.
12248
12249 * stdio-common/tst-fseek.c: Use test-skeleton.c.
12250
12251 2014-12-16 Torvald Riegel <triegel@redhat.com>
12252
12253 * string/tester.c: Include <libc-internal.h>.
12254 (test_memset): Ignore -Wmemset-transposed-args.
12255
12256 2014-12-16 Torvald Riegel <triegel@redhat.com>
12257
12258 * misc/tst-mntent2.c (do_test): Fix warning.
12259
12260 2014-12-16 Torvald Riegel <triegel@redhat.com>
12261
12262 * elf/tst-unique4lib.cc(a): Mark as used.
12263
12264 2014-12-16 Florian Weimer <fweimer@redhat.com>
12265
12266 [BZ #17630]
12267 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
12268 names.
12269
12270 2014-12-16 Allan McRae <allan@archlinux.org>
12271
12272 * stdio-common/Makefile (tests): Re-add bug26.
12273
12274 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
12275
12276 [BZ #17657]
12277 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
12278 static array.
12279
12280 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
12281
12282 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
12283 (__lll_lock_wait): Likewise.
12284 (__lll_timedlock_wait): Likewise.
12285 (__lll_timedwait_tid): Likewise.
12286 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
12287 (__lll_robust_timedlock_wait): Likewise.
12288 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
12289 (lll_cond_trylock): Likewise.
12290 (__lll_lock): Likewise.
12291 (__lll_robust_lock): Likewise.
12292 (__lll_cond_lock): Likewise.
12293 (lll_robust_cond_lock): Likewise.
12294 (__lll_timedlock): Likewise.
12295 (__lll_robust_timedlock): Likewise.
12296 (__lll_unlock): Likewise.
12297 (__lll_robust_unlock): Likewise.
12298 (lll_wait_tid): Likewise.
12299 (lll_timedwait_tid): Likewise.
12300
12301 2014-12-15 Torvald Riegel <triegel@redhat.com>
12302
12303 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
12304
12305 2014-12-15 Torvald Riegel <triegel@redhat.com>
12306
12307 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
12308
12309 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
12310
12311 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
12312 * stdio-common/tst-sprintf.c: Likewise.
12313
12314 2014-12-15 Torvald Riegel <triegel@redhat.com>
12315
12316 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
12317
12318 2014-12-15 Jeff Law <law@redhat.com>
12319
12320 [BZ #16617]
12321 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
12322 on the heap. (CVE-2012-3406)
12323 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
12324 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
12325 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
12326
12327 2014-12-15 Will Newton <will.newton@linaro.org>
12328
12329 * manual/install.texi: Bump required version of texinfo
12330 to 4.7 from 4.5.
12331 * INSTALL: Regenerated.
12332 * configure.ac: Check for makeinfo version 4.7 and above.
12333 * configure: Regenerated.
12334
12335 2014-12-12 Roland McGrath <roland@hack.frob.com>
12336
12337 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
12338 PREFIX, string constant to insert between directory and name.
12339 * sysdeps/posix/shm_open.c: Update caller.
12340 * sysdeps/posix/shm_unlink.c: Likewise.
12341 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
12342 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
12343 (SEM_SHM_PREFIX): New macro.
12344 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
12345 [$(have-thread-library) = no].
12346 * nptl/Makefile (libpthread-routines): Add shm-directory.
12347 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
12348 * sysdeps/nptl/shm-directory.h: New file.
12349 * sysdeps/posix/shm-directory.c
12350 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
12351 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
12352 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
12353 INTERNAL_SYSCALL.
12354 (__where_is_shmfs): Function removed.
12355 (mountpoint, defaultmount, defaultdir, __namedsem_once):
12356 Variables removed.
12357 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
12358 Use SHM_GET_NAME.
12359 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
12360
12361 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
12362 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
12363 unconditional for use inside libpthread.
12364 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
12365
12366 2014-12-12 Roland McGrath <roland@hack.frob.com>
12367
12368 * nptl/pthread_getaffinity.c: New file.
12369 * nptl/pthread_setaffinity.c: New file.
12370 * nptl/pthread_getname.c: New file.
12371 * nptl/pthread_setname.c: New file.
12372
12373 * nptl/pthread_create.c (START_THREAD_DEFN)
12374 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
12375
12376 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
12377 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12378
12379 * resolv/res_send.c (send_vc): Disable warning resplen may
12380 be used uninitialized.
12381
12382 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
12383
12384 * nptl/tst-mutex6.c
12385 (ATTR_NULL): New define checks ATTR against NULL.
12386 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
12387 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
12388
12389 2014-12-11 James Lemke <jwlemke@codesourcery.com>
12390
12391 [BZ #17581]
12392 * malloc/hooks.c
12393 (mem2mem_check): Revert my previous change.
12394 (malloc_check_get_size): Revert my previous change.
12395 (mem2chunk_check): Revert my previous change.
12396
12397 2014-12-11 Roland McGrath <roland@hack.frob.com>
12398
12399 * sysdeps/posix/shm-directory.c: New file.
12400 * sysdeps/posix/shm-directory.h: New file.
12401 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
12402 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
12403 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
12404 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
12405 Transmute EPERM to EACCES.
12406 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
12407 from ...
12408 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
12409 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
12410
12411 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12412
12413 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
12414 pointer and cast to uintptr_t.
12415 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
12416 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
12417 Add cast to avoid warning.
12418 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
12419
12420 2014-12-11 Joseph Myers <joseph@codesourcery.com>
12421
12422 * nptl/semaphore.h: Move to ...
12423 * sysdeps/pthread/semaphore.h: ... here.
12424 * Makefile (installed-headers): Change nptl/semaphore.h to
12425 sysdeps/pthread/semaphore.h.
12426
12427 2014-12-11 Roland McGrath <roland@hack.frob.com>
12428
12429 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
12430 generated error format strings.
12431
12432 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
12433 -Wformat-extra-args warnings for scanf formats.
12434 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
12435 test of zero-length format (duh).
12436 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
12437 corner-case scanf format test.
12438 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
12439 generated fprintf format string.
12440 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
12441 corner-case sprintf format tests.
12442 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
12443 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
12444 -Wformat-extra-args warnings throughout.
12445 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
12446 (CFLAGS-scanf4.c): Likewise.
12447 (CFLAGS-scanf7.c): Likewise.
12448 (CFLAGS-tst-sprintf.c): Likewise.
12449 (CFLAGS-tst-printf.c): Likewise.
12450 (CFLAGS-tst-printfsz.c): Likewise.
12451
12452 2014-12-11 Joseph Myers <joseph@codesourcery.com>
12453
12454 * include/cpio.h: New file.
12455 * include/fmtmsg.h: Likewise.
12456
12457 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
12458 corresponding format argument to size_t.
12459 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
12460 arguments.
12461 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
12462 corresponding format argument to size_t.
12463 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
12464 arguments.
12465 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
12466 corresponding format argument to size_t.
12467 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
12468 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
12469 (CFLAGS-tst-mbswcs2.c): Likewise.
12470 (CFLAGS-tst-mbswcs3.c): Likewise.
12471 (CFLAGS-tst-mbswcs4.c): Likewise.
12472 (CFLAGS-tst-mbswcs5.c): Likewise.
12473 (CFLAGS-tst-trans.c): Likewise
12474
12475 2014-12-11 Roland McGrath <roland@hack.frob.com>
12476
12477 * posix/regexbug1.c (main): Use "%s" format with regerror results,
12478 rather than assuming they won't contain any '%'s.
12479
12480 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
12481
12482 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
12483 inhibit_loop_to_libcall to avoid recursive calls.
12484 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
12485 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
12486
12487 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
12488
12489 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
12490 prototype.
12491
12492 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
12493
12494 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
12495 integer value instead of boolean.
12496
12497 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
12498
12499 * malloc/malloc.c: Fix powerof2 check.
12500
12501 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
12502
12503 * locale/programs/locfile.h (maybe_swap_uint32):
12504 Remove inline and add unused attribute.
12505
12506 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
12507
12508 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
12509 Truncating assembler expression to a .long expression.
12510
12511 2014-12-11 Andreas Schwab <schwab@suse.de>
12512
12513 * elf/rtld.c (struct map_args): Constify str member.
12514 (do_preload): Constify fname argument.
12515
12516 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12517
12518 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
12519 constants definition.
12520
12521 2014-12-11 Andreas Schwab <schwab@suse.de>
12522
12523 [BZ #16657]
12524 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
12525 FORCE_ELISION instead of DO_ELISION.
12526 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
12527 Remove.
12528 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
12529 Likewise.
12530
12531 * iconvdata/gconv-modules: Remove duplicate entry.
12532
12533 2014-12-11 Will Newton <will.newton@linaro.org>
12534
12535 Merge gettext 0.19.3 into intl/.
12536
12537 This involves a number of cosmetic changes to comments
12538 and ANSI function definitions and prototypes throughout
12539 all the files. The gettext copyright header is used but
12540 with the date ranges taken from the glibc copy.
12541
12542 * NEWS: Add gettext merge to 2.21.
12543 * intl/bindtextdom.c: Switch to gettext copyright.
12544 Use ANSI definitions and prototypes.
12545 Use gl_* locking primitives rather than __libc_* ones.
12546 Use __builtin_expect rather than __glibc_likely/unlikely.
12547 * intl/dcgettext.c: Switch to gettext copyright.
12548 Use ANSI definitions and prototypes.
12549 * intl/dcigettext.c: Switch to gettext copyright.
12550 Use ANSI definitions and prototypes.
12551 (INTDIV0_RAISES_SIGFPE): New define.
12552 Use gl_* locking primitives rather than __libc_* ones.
12553 Include eval-plural.h instead of plural-eval.c.
12554 Use __builtin_expect rather than __glibc_likely/unlikely.
12555 * intl/dcngettext.c: Switch to gettext copyright.
12556 Use ANSI definitions and prototypes.
12557 * intl/dgettext.c: Likewise.
12558 * intl/dngettext.c: Likewise.
12559 * intl/plural-eval.c: Renamed to...
12560 * intl/eval-plural.h: ...this.
12561 * intl/explodename.c: Switch to gettext copyright.
12562 Use ANSI definitions and prototypes.
12563 (_nl_explode_name): Use strchr instead of __rawmemchr.
12564 * intl/finddomain.c: Switch to gettext copyright.
12565 Use ANSI definitions and prototypes.
12566 Use gl_* locking primitives rather than __libc_* ones.
12567 (_nl_find_domain): Use malloc rather than alloca for
12568 allocation of temporary locale name.
12569 * intl/gettext.c: Switch to gettext copyright.
12570 Use ANSI definitions and prototypes.
12571 * intl/gettextP.h: Switch to gettext copyright.
12572 Use ANSI definitions and prototypes.
12573 Use gl_* locking primitives rather than __libc_* ones.
12574 * intl/gmo.h: Switch to gettext copyright.
12575 (struct sysdep_string): Move struct segment_pair outside of
12576 struct definition.
12577 * intl/hash-string.c: Use ANSI definitions and prototypes.
12578 * intl/hash-string.h: Switch to gettext copyright.
12579 Use ANSI definitions and prototypes.
12580 * intl/l10nflist.c: Switch to gettext copyright.
12581 Use ANSI definitions and prototypes.
12582 (_nl_normalize_codeset): Avoid integer overflow.
12583 * intl/loadinfo.h: Switch to gettext copyright.
12584 Use ANSI definitions and prototypes.
12585 (LIBINTL_DLL_EXPORTED): New define.
12586 (PATH_SEPARATOR): New define.
12587 * intl/loadmsgcat.c: Switch to gettext copyright.
12588 * intl/localealias.c: Switch to gettext copyright.
12589 Use ANSI definitions and prototypes.
12590 (_nl_expand_alias): Use PATH_SEPARATOR.
12591 * intl/ngettext.c: Switch to gettext copyright.
12592 Use ANSI definitions and prototypes.
12593 * intl/plural-exp.c: Likewise.
12594 * intl/plural-exp.h: Switch to gettext copyright.
12595 Use ANSI definitions and prototypes.
12596 (struct expression): Move definition of enum operator outside
12597 of struct definition.
12598 * intl/plural.c: Regenerate.
12599 * intl/plural.y: Switch to gettext copyright.
12600 Use ANSI definitions and prototypes.
12601 Port to bison 3.0.
12602 * intl/textdomain.c: Switch to gettext copyright.
12603 Use ANSI definitions and prototypes.
12604 Use gl_* locking primitives rather than __libc_* ones.
12605
12606 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
12607
12608 * debug/warning-nop.c: Add used atrribute.
12609
12610 2014-12-10 Joseph Myers <joseph@codesourcery.com>
12611
12612 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
12613
12614 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
12615 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
12616 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
12617
12618 2014-12-10 Joseph Myers <joseph@codesourcery.com>
12619 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12620
12621 [BZ #17634]
12622 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
12623 Undefine after defining function. Define as weak alias of
12624 __wcschr. Use libc_hidden_weak.
12625 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
12626 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
12627 (libc_hidden_def): Also define __GI___wcschr alias.
12628 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
12629 __wcschr and define as weak alias of __wcschr.
12630 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
12631 __wcschr.
12632 [!WCSCHR] (DEFAULT_WCSCHR): Define.
12633 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
12634 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
12635 libc_hidden_weak. Do not use libc_hidden_def.
12636 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
12637 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
12638 __GI___wcschr alias.
12639 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
12640 [IS_IN (libc)] (wcschr): Define as macro expanding to
12641 __redirect_wcschr.
12642 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
12643 [IS_IN (libc)] (__wcschr_power6): Likewise.
12644 [IS_IN (libc)] (__wcschr_power7): Likewise.
12645 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
12646 instead of wcschr.
12647 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
12648 __libc_wcschr.
12649 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
12650 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
12651 __wcschr and define as weak alias of __wcschr. Use
12652 libc_hidden_builtin_def.
12653 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
12654 as weak alias of __wcschr. Use libc_hidden_weak.
12655 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
12656 wcschr.
12657 * time/era.c (_nl_init_era_entries): Likewise.
12658 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
12659 variable.
12660 (test-xfail-XPG3/time.h/linknamespace): Likewise.
12661 (test-xfail-XPG4/time.h/linknamespace): Likewise.
12662
12663 2014-12-10 Joseph Myers <joseph@codesourcery.com>
12664
12665 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
12666 format for long int variable.
12667
12668 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
12669
12670 [BZ #10672]
12671 * manual/search.texi: (Array Sort Function): Remove claim how to make
12672 qsort stable.
12673
12674 2014-12-10 Andreas Schwab <schwab@suse.de>
12675
12676 [BZ #12847]
12677 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
12678 user-controlled locks.
12679
12680 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
12681
12682 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
12683 register.
12684
12685 2014-12-10 Joseph Myers <joseph@codesourcery.com>
12686
12687 * configure.ac (--disable-werror): New configure option.
12688 (enable_werror): New AC_SUBST.
12689 * configure: Regenerated.
12690 * config.make.in (enable-werror): New variable.
12691 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
12692 -Wno-error=undef.
12693 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
12694 * manual/install.texi (Configuring and compiling): Document
12695 --disable-werror.
12696 * INSTALL: Regenerated.
12697 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
12698 (CFLAGS-tst-chk2.c): Likewise.
12699 (CFLAGS-tst-chk3.c): Likewise.
12700 (CFLAGS-tst-chk4.cc): Likewise.
12701 (CFLAGS-tst-chk5.cc): Likewise.
12702 (CFLAGS-tst-chk6.cc): Likewise.
12703 (CFLAGS-tst-lfschk1.c): Likewise.
12704 (CFLAGS-tst-lfschk2.c): Likewise.
12705 (CFLAGS-tst-lfschk3.c): Likewise.
12706 (CFLAGS-tst-lfschk4.cc): Likewise.
12707 (CFLAGS-tst-lfschk5.cc): Likewise.
12708 (CFLAGS-tst-lfschk6.cc): Likewise.
12709
12710 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
12711 (main): Disable -Wdeprecated-declarations around calls to
12712 register_printf_function.
12713
12714 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
12715 (do_test): Disable -Wdiv-by-zero around some calls to
12716 fwrite_unlocked and fread_unlocked.
12717
12718 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
12719 (DIAG_POP_NEEDS_COMMENT): Likewise.
12720 (_DIAG_STR1): Likewise.
12721 (_DIAG_STR): Likewise.
12722 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
12723 * stdio-common/bug21.c: Include <libc-internal.h>.
12724 (do_test): Disable -Wformat around call to sscanf.
12725 * stdio-common/scanf14.c: Include <libc-internal.h>.
12726 (main): Disable -Wformat around some calls to scanf functions.
12727
12728 2014-12-09 Torvald Riegel <triegel@redhat.com>
12729
12730 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
12731
12732 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12733
12734 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
12735 stack variable alignment.
12736
12737 2014-12-06 Joseph Myers <joseph@codesourcery.com>
12738
12739 [BZ #17682]
12740 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
12741 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
12742 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
12743 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
12744 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
12745 __getrlimit instead of getrlimit.
12746 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
12747 __gettimeofday instead of gettimeofday.
12748 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
12749 Likewise.
12750 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
12751 Likewise.
12752 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
12753 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
12754 Remove variable.
12755 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
12756 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
12757
12758 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12759
12760 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
12761 for wide-character tests.
12762
12763 2014-12-04 Roland McGrath <roland@hack.frob.com>
12764
12765 * io/openat64.c: #include <libc-internal.h>
12766 (__openat64): Prototypify. Use ignore_value on MODE.
12767 * io/openat.c: Likewise.
12768 * misc/reboot.c: #include <libc-internal.h>
12769 (reboot): Prototypify. Use ignore_value on HOWTO.
12770 * misc/ptrace.c: #include <libc-internal.h>
12771 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
12772
12773 2014-12-04 Joseph Myers <joseph@codesourcery.com>
12774
12775 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
12776 XPG4, UNIX98 and XOPEN2K.
12777 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
12778 Remove variable.
12779 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
12780
12781 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12782
12783 * libio/fileops.c: Use ISO C style for function definitions.
12784 * libio/iofopen.c: Likewise.
12785 * libio/wfileops.c: Likewise.
12786
12787 [BZ #17653]
12788 * libio/fileops.c (_IO_new_file_underflow): Unset cached
12789 offset on EOF.
12790 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
12791 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
12792 (fgets_func): Function pointer to fgets and fgetws.
12793 (do_ftell_test): Add test to verify ftell value after read
12794 EOF.
12795 (do_test): Set fgets_func.
12796
12797 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
12798 O_TRUNC flag for w and w+ modes.
12799 (do_rewind_test): Likewise.
12800 (do_ftell_test): Likewise.
12801 (do_write_test): Likewise.
12802
12803 [BZ #17647]
12804 * libio/fileops.c (do_ftell): Seek only when there are
12805 unflushed writes.
12806 * libio/wfileops.c (do_ftell_wide): Likewise.
12807 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
12808 test case.
12809 (do_one_test): Call it.
12810
12811 2014-12-03 Joseph Myers <joseph@codesourcery.com>
12812
12813 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
12814 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
12815 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
12816 Remove variable.
12817 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
12818 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
12819 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
12820
12821 2014-12-02 Joseph Myers <joseph@codesourcery.com>
12822
12823 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
12824 Remove variable.
12825 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
12826
12827 [BZ #17668]
12828 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
12829 as weak alias of __getifaddrs. Use libc_hidden_weak.
12830 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
12831 __freeifaddrs. Use libc_hidden_weak.
12832 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
12833 define as weak alias of __getifaddrs. Use libc_hidden_weak.
12834 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
12835 __freeifaddrs. Use libc_hidden_weak.
12836 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
12837 __getifaddrs and define as weak alias of __getifaddrs. Use
12838 libc_hidden_weak.
12839 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
12840 __freeifaddrs. Use libc_hidden_weak.
12841 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
12842 Remove variable.
12843 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
12844 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
12845
12846 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
12847
12848 [BZ #17601]
12849 * sysdeps/mips/start.S (__start): Use indirect jump to call
12850 __libc_start_main.
12851
12852 2014-12-02 Joseph Myers <joseph@codesourcery.com>
12853
12854 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
12855
12856 * nptl/tst-mutex1.c: Include <stdbool.h>.
12857 [!ATTR] (ATTR_NULL): New macro.
12858 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
12859 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
12860 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
12861
12862 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
12863 to char *.
12864
12865 [BZ #17665]
12866 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
12867 Change conditional to [__USE_MISC].
12868
12869 [BZ #17664]
12870 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
12871 fgets_unlocked.
12872 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
12873 __fgets_unlocked.
12874 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
12875 fgets_unlocked.
12876 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
12877 Remove variable.
12878 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
12879 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
12880 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
12881 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
12882 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
12883 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
12884 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
12885 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
12886 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
12887
12888 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
12889
12890 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12891
12892 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12893 Remove strpbrk objects.
12894 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12895 (__libc_ifunc_impl_list): Remove strpbrk implementation.
12896 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
12897 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
12898 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
12899 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
12900
12901 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12902 Remove strcspn objects.
12903 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12904 (__libc_ifunc_impl_list): Remove strcspn implementation.
12905 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
12906 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
12907 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
12908 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
12909
12910 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12911 Remove strspn objetcs.
12912 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12913 (__libc_ifunc_impl_list): Remove strspn implementation.
12914 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
12915 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
12916 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
12917 * sysdeps/powerpc/powerpc64/strspn.S: New file.
12918
12919 2014-12-01 James Lemke <jwlemke@codesourcery.com>
12920
12921 [BZ #17581]
12922 * malloc/hooks.c
12923 (mem2mem_check): Add a terminator to the chain of checking blocks.
12924 (malloc_check_get_size): Use it here.
12925 (mem2chunk_check): Ditto.
12926
12927 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12928
12929 * sysdeps/powerpc/powerpc64/strtok.S: New file.
12930 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
12931
12932 2014-11-29 Carlos O'Donell <carlos@redhat.com>
12933
12934 * bits/ioctl-types.h: Indent preprocessor directives correctly.
12935
12936 * nptl/nptl-init.c: Include libc-internal.h.
12937 (__pthread_initialize_minimal_internal): Use ROUND_UP.
12938
12939 * elf/ldconfig.c (search_dir): Expand comment.
12940
12941 2014-11-29 Joseph Myers <joseph@codesourcery.com>
12942
12943 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
12944 variable.
12945 (linknamespace-symlist-stdlibs-tests): Likewise.
12946 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
12947 instead of $(objpfx)symlist-stdlibs.
12948 (linknamespace-libs-isoc): New variable.
12949 (linknamespace-libs): Use $(linknamespace-libs-isoc).
12950 (linknamespace-libs-ISO): New variable.
12951 (linknamespace-libs-ISO99): Likewise.
12952 (linknamespace-libs-ISO11): Likewise.
12953 (linknamespace-libs-XPG3): Likewise.
12954 (linknamespace-libs-XPG4): Likewise.
12955 (linknamespace-libs-POSIX): Likewise.
12956 (linknamespace-libs-UNIX98): Likewise.
12957 (linknamespace-libs-XOPEN2K): Likewise.
12958 (linknamespace-libs-POSIX2008): Likewise.
12959 (linknamespace-libs-XOPEN2K8): Likewise.
12960 ($(objpfx)symlist-stdlibs): Replace by
12961 $(linknamespace-symlist-stdlibs-tests). Use
12962 $(linknamespace-libs-$*) as set of libraries.
12963 ($(linknamespace-header-tests)): Update dependencies. Use
12964 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
12965 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
12966 * conform/linknamespace.pl: Remove comment about considering
12967 definitions of symbols from irrelevant libraries.
12968
12969 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
12970
12971 [BZ #13862]
12972 * elf/dl-tls.c: Include <atomic.h>.
12973 (oom): Remove #ifdef SHARED/#endif.
12974 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
12975 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
12976 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
12977 big enough.
12978 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
12979 * nptl/Makefile (tests): Add tst-stack4.
12980 (modules-names): Add tst-stack4mod.
12981 ($(objpfx)tst-stack4): New.
12982 (tst-stack4mod.sos): Likewise.
12983 ($(objpfx)tst-stack4.out): Likewise.
12984 ($(tst-stack4mod.sos)): Likewise.
12985 (clean): Likewise.
12986 * nptl/tst-stack4.c: New file.
12987 * nptl/tst-stack4mod.c: Likewise.
12988
12989 2014-11-27 J. Brown <jb999@gmx.de>
12990
12991 * sysdeps/x86/bits/string.h: Add recent CPUs.
12992
12993 2014-11-27 Joseph Myers <joseph@codesourcery.com>
12994
12995 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
12996 sigblock.
12997
12998 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
12999 feof.
13000
13001 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
13002 variable.
13003
13004 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
13005
13006 * nscd/connections.c: Include libc-internal.h because of macro
13007 usage ignore_value.
13008
13009 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13010
13011 * string/bits/string3.h (__warn_memset_zero_len): Don't
13012 declare for gcc newer than 5.0.
13013 (memset): Don't test for zero-length __LEN for gcc newer than
13014 5.0.
13015
13016 2014-11-27 Joseph Myers <joseph@codesourcery.com>
13017
13018 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
13019 size_t for %zu format.
13020
13021 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
13022 difference, not %ju.
13023
13024 2014-11-26 Joseph Myers <joseph@codesourcery.com>
13025
13026 * include/libc-internal.h (ignore_value): New macro.
13027 * nscd/connections.c (restart): Wrap calls to setuid and setgid
13028 with ignore_value.
13029
13030 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
13031 definition.
13032
13033 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
13034 pthread_cleanup_push to void *.
13035
13036 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
13037 Undefine.
13038
13039 [BZ #16619]
13040 [BZ #16740]
13041 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
13042 instead of 1L << 52.
13043
13044 * libio/bug-rewind.c (do_test): Check fwscanf return values.
13045 * libio/bug-rewind2.c (do_test): Likewise.
13046
13047 * debug/test-stpcpy_chk-ifunc.c: Remove file.
13048 * debug/test-strcpy_chk-ifunc.c: Likewise.
13049 * wcsmbs/test-wcschr-ifunc.c: Likewise.
13050 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
13051 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
13052 * wcsmbs/test-wcslen-ifunc.c: Likewise.
13053 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
13054 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
13055 * Rules [$(multi-arch) = no] (tests): Do not filter out
13056 $(tests-ifunc).
13057 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
13058 * debug/Makefile (tests-ifunc): Remove variable.
13059 (tests): Do not add $(tests-ifunc).
13060 * wcsmbs/Makefile (tests-ifunc): Remove variable.
13061 (tests): Do not add $(tests-ifunc).
13062 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
13063 [TEST_IFUNC]: Remove conditionals.
13064 * string/test-string.h (TEST_IFUNC): Remove macro.
13065 [TEST_IFUNC]: Remove conditionals.
13066
13067 * string/test-strchr.c [!WIDE] (L): New macro.
13068 [WIDE] (L): Likewise.
13069 (check1): Use CHAR instead of char. Use L on string and character
13070 constants.
13071
13072 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
13073
13074 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
13075 tests.
13076 * sysdeps/powerpc/bits/atomic.h
13077 (__arch_atomic_exchange_and_add_32_acq): Add definition.
13078 (__arch_atomic_exchange_and_add_32_rel): Likewise.
13079 (atomic_exchange_and_add_acq): Likewise.
13080 (atomic_exchange_and_add_rel): Likewise.
13081 * sysdeps/powerpc/powerpc32/bits/atomic.h
13082 (__arch_atomic_exchange_and_add_64_acq): Add definition.
13083 (__arch_atomic_exchange_and_add_64_rel): Likewise.
13084 * sysdeps/powerpc/powerpc64/bits/atomic.h
13085 (__arch_atomic_exchange_and_add_64_acq): Add definition.
13086 (__arch_atomic_exchange_and_add_64_rel): Likewise.
13087
13088 2014-11-26 Torvald Riegel <triegel@redhat.com>
13089
13090 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
13091 Change synchronization of __sched_fifo_min_prio and
13092 __sched_fifo_max_prio.
13093 * nptl/pthread_mutexattr_getprioceiling.c
13094 (pthread_mutexattr_getprioceiling): Likewise.
13095 * nptl/pthread_mutexattr_setprioceiling.c
13096 (pthread_mutexattr_setprioceiling): Likewise.
13097 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
13098 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
13099 Likewise.
13100
13101 2014-11-26 Joseph Myers <joseph@codesourcery.com>
13102
13103 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
13104 void.
13105
13106 2014-11-25 Joseph Myers <joseph@codesourcery.com>
13107
13108 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
13109 third argument const.
13110
13111 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
13112
13113 fnmatch: work around GCC compiler warning bug with uninit var
13114 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
13115 This works around a bug with x86-64 GCC 4.9.2 and earlier
13116 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
13117 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
13118 used uninitialized in this function [-Wmaybe-uninitialized]".
13119
13120 2014-11-25 Joseph Myers <joseph@codesourcery.com>
13121
13122 * posix/bug-regex31.c (main): Return RES not 0.
13123
13124 2014-11-25 Anton Blanchard <anton@samba.org>
13125
13126 * sysdeps/powerpc/bits/atomic.h
13127 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
13128
13129 2014-11-24 Sterling Augustine <saugustine@google.com>
13130
13131 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
13132
13133 2014-11-24 Ryan Cumming <etaoins@gmail.com>
13134
13135 [BZ #17608]
13136 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
13137
13138 2014-11-24 Joseph Myers <joseph@codesourcery.com>
13139
13140 [BZ #17633]
13141 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
13142 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
13143 variable.
13144 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
13145 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
13146
13147 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
13148
13149 * string/strncpy.c (strncpy): Improve performance by using memset.
13150
13151 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
13152
13153 * string/strcpy.c (strcpy):
13154 Improve performance by using strlen and memcpy.
13155
13156 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
13157
13158 * string/strcoll_l.c (get_next_seq): __always_inline.
13159 * string/strcoll_l.c (do_compare): __always_inline.
13160
13161 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
13162
13163 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
13164 defined.
13165 * include/mqueue.h: Likewise.
13166 * include/stdlib.h: Likewise.
13167
13168 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
13169 (get_null_defines): Adjust.
13170 * sunrpc/Makefile: Adjust comment.
13171 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
13172 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
13173 (CFLAGS-interp.c): Likewise.
13174 (CFLAGS-ldconfig.c): Likewise.
13175 (CPPFLAGS-.os): Likewise.
13176 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
13177 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
13178 * extra-modules.mk (extra-modules.mk): Likewise.
13179 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
13180 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
13181 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
13182 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
13183 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
13184 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
13185 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
13186 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
13187 * iconvdata/Makefile (CPPFLAGS): Likewise.
13188 (cpp-srcs-left): Add libof for all iconvdata routines.
13189 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
13190 * include/assert.h: Likewise.
13191 * include/ctype.h: Likewise.
13192 * include/errno.h: Likewise.
13193 * include/libc-symbols.h: Likewise.
13194 * include/math.h: Likewise.
13195 * include/netdb.h: Likewise.
13196 * include/resolv.h: Likewise.
13197 * include/stdio.h: Likewise.
13198 * include/stdlib.h: Likewise.
13199 * include/string.h: Likewise.
13200 * include/sys/stat.h: Likewise.
13201 * include/wctype.h: Likewise.
13202 * intl/l10nflist.c: Likewise.
13203 * libidn/idn-stub.c: Likewise.
13204 * libio/libioP.h: Likewise.
13205 * nptl/libc_multiple_threads.c: Likewise.
13206 * nptl/pthreadP.h: Likewise.
13207 * posix/regex_internal.h: Likewise.
13208 * resolv/res_hconf.c: Likewise.
13209 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
13210 * sysdeps/arm/memmove.S: Likewise.
13211 * sysdeps/arm/sysdep.h: Likewise.
13212 * sysdeps/generic/_itoa.h: Likewise.
13213 * sysdeps/generic/symbol-hacks.h: Likewise.
13214 * sysdeps/gnu/errlist.awk: Likewise.
13215 * sysdeps/gnu/errlist.c: Likewise.
13216 * sysdeps/i386/i586/memcpy.S: Likewise.
13217 * sysdeps/i386/i586/memset.S: Likewise.
13218 * sysdeps/i386/i686/memcpy.S: Likewise.
13219 * sysdeps/i386/i686/memmove.S: Likewise.
13220 * sysdeps/i386/i686/mempcpy.S: Likewise.
13221 * sysdeps/i386/i686/memset.S: Likewise.
13222 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
13223 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
13224 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
13225 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
13226 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
13227 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
13228 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
13229 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
13230 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
13231 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
13232 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
13233 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
13234 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
13235 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
13236 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
13237 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
13238 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
13239 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
13240 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
13241 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
13242 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
13243 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
13244 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
13245 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
13246 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
13247 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
13248 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
13249 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
13250 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
13251 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
13252 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
13253 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
13254 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
13255 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13256 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
13257 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
13258 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
13259 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
13260 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
13261 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
13262 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
13263 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
13264 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
13265 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
13266 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
13267 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
13268 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
13269 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
13270 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
13271 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
13272 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
13273 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
13274 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
13275 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
13276 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
13277 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
13278 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
13279 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
13280 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
13281 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
13282 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
13283 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
13284 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
13285 * sysdeps/nptl/bits/libc-lock.h: Likewise.
13286 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
13287 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
13288 * sysdeps/posix/closedir.c: Likewise.
13289 * sysdeps/posix/opendir.c: Likewise.
13290 * sysdeps/posix/readdir.c: Likewise.
13291 * sysdeps/posix/rewinddir.c: Likewise.
13292 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
13293 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
13294 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
13295 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
13296 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
13297 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
13298 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
13299 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
13300 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
13301 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
13302 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
13303 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
13304 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
13305 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
13306 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
13307 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
13308 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
13309 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
13310 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
13311 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
13312 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
13313 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
13314 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
13315 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
13316 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
13317 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
13318 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
13319 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
13320 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
13321 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
13322 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
13323 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
13324 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
13325 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
13326 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
13327 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
13328 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
13329 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
13330 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
13331 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
13332 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
13333 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
13334 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
13335 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
13336 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
13337 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
13338 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
13339 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
13340 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
13341 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
13342 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
13343 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
13344 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
13345 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
13346 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
13347 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
13348 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
13349 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
13350 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
13351 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
13352 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
13353 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
13354 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
13355 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
13356 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
13357 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
13358 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
13359 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
13360 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
13361 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
13362 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
13363 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
13364 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
13365 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
13366 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
13367 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
13368 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
13369 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
13370 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
13371 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
13372 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
13373 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
13374 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
13375 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
13376 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
13377 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
13378 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
13379 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
13380 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
13381 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
13382 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
13383 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
13384 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
13385 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
13386 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
13387 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
13388 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
13389 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
13390 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
13391 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
13392 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13393 * sysdeps/unix/alpha/sysdep.S: Likewise.
13394 * sysdeps/unix/alpha/sysdep.h: Likewise.
13395 * sysdeps/unix/make-syscalls.sh: Likewise.
13396 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
13397 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
13398 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
13399 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
13400 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
13401 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
13402 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
13403 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
13404 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
13405 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
13406 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
13407 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
13408 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
13409 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
13410 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
13411 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
13412 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
13413 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
13414 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
13415 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
13416 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
13417 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
13418 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
13419 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
13420 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
13421 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
13422 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
13423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
13424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
13425 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
13426 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
13427 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
13428 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
13429 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13430 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
13431 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
13432 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
13433 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13434 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
13435 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
13436 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
13437 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
13438 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
13439 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
13440 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
13441 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
13442 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
13443 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
13444 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
13445 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13446 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
13447 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
13448 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
13449 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
13450 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
13451 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
13452 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
13453 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13454 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
13455 * sysdeps/x86_64/memcpy.S: Likewise.
13456 * sysdeps/x86_64/memmove.c: Likewise.
13457 * sysdeps/x86_64/memset.S: Likewise.
13458 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
13459 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
13460 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
13461 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
13462 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
13463 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
13464 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
13465 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
13466 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
13467 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
13468 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
13469 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
13470 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
13471 * sysdeps/x86_64/multiarch/memset.S: Likewise.
13472 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13473 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
13474 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
13475 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
13476 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
13477 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
13478 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
13479 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
13480 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
13481 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
13482 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
13483 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
13484 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
13485 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
13486 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
13487 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
13488 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
13489 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
13490 * sysdeps/x86_64/strcmp.S: Likewise.
13491
13492 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
13493
13494 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
13495 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
13496 * elf/rtld-Rules: Likewise.
13497 * elf/setup-vdso.h: Likewise.
13498 * include/assert.h: Likewise.
13499 * include/bits/stdlib-float.h: Likewise.
13500 * include/errno.h: Likewise.
13501 * include/sys/stat.h: Likewise.
13502 * include/unistd.h: Likewise.
13503 * sysdeps/aarch64/setjmp.S: Likewise.
13504 * sysdeps/alpha/setjmp.S: Likewise.
13505 * sysdeps/arm/__longjmp.S: Likewise.
13506 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
13507 * sysdeps/arm/setjmp.S: Likewise.
13508 * sysdeps/arm/sysdep.h: Likewise.
13509 * sysdeps/generic/_itoa.h: Likewise.
13510 * sysdeps/generic/dl-sysdep.h: Likewise.
13511 * sysdeps/generic/ldsodefs.h: Likewise.
13512 * sysdeps/i386/dl-tls.h: Likewise.
13513 * sysdeps/i386/setjmp.S: Likewise.
13514 * sysdeps/m68k/setjmp.c: Likewise.
13515 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
13516 * sysdeps/mach/hurd/opendir.c: Likewise.
13517 * sysdeps/posix/getcwd.c: Likewise.
13518 * sysdeps/posix/opendir.c: Likewise.
13519 * sysdeps/posix/profil.c: Likewise.
13520 * sysdeps/powerpc/dl-procinfo.h: Likewise.
13521 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
13522 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
13523 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
13524 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
13525 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
13526 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
13527 * sysdeps/s390/dl-tls.h: Likewise.
13528 * sysdeps/s390/s390-32/setjmp.S: Likewise.
13529 * sysdeps/s390/s390-64/setjmp.S: Likewise.
13530 * sysdeps/sh/sh3/setjmp.S: Likewise.
13531 * sysdeps/sh/sh4/setjmp.S: Likewise.
13532 * sysdeps/unix/alpha/sysdep.h: Likewise.
13533 * sysdeps/unix/arm/sysdep.S: Likewise.
13534 * sysdeps/unix/i386/sysdep.S: Likewise.
13535 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
13536 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
13537 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
13538 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
13539 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
13540 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
13541 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
13542 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
13543 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
13544 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
13545 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
13546 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
13547 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
13548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
13549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13550 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
13551 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13552 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13553 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
13554 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
13555 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
13556 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
13557 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13558 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
13559 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
13560 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
13561 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13562 * sysdeps/unix/x86_64/sysdep.S: Likewise.
13563 * sysdeps/x86_64/setjmp.S: Likewise.
13564
13565 * include/math.h: Use IS_IN instead of IS_IN_libm.
13566 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
13567 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
13568 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
13569 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
13570 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
13571 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
13572 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
13573 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
13574 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13575 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
13576 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
13577 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
13578 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
13579 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
13580 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
13581 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
13582 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
13583 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
13584 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
13585 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
13586 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
13587 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
13588 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
13589 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
13590 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
13591 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
13592 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
13593 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
13594 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
13595 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
13596 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
13597 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
13598 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
13599 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
13600 Likewise.
13601 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
13602 Likewise.
13603 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
13604 Likewise.
13605 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
13606 Likewise.
13607 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
13608 Likewise.
13609 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
13610 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
13611 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
13612 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
13613 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
13614 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
13615 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
13616 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
13617 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
13618 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
13619 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
13620 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
13621 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
13622 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
13623 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
13624 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
13625 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
13626 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
13627 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
13628 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
13629 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
13630 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
13631 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
13632 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
13633 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
13634 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
13635 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
13636
13637 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
13638 * nptl/pthreadP.h: Likewise.
13639 * nptl_db/structs.def: Likewise.
13640 * sysdeps/arm/sysdep.h: Likewise.
13641 * sysdeps/nptl/bits/libc-lock.h: Likewise.
13642 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
13643 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
13644 * sysdeps/unix/alpha/sysdep.h: Likewise.
13645 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
13646 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
13647 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
13648 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
13649 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
13650 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
13651 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
13652 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
13653 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
13654 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
13655 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
13656 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
13657 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
13658 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
13659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
13660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
13661 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
13662 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
13663 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
13664 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
13665 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
13666 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
13667 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
13668 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
13669 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
13670 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
13671
13672 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
13673 * nptl/pthreadP.h: Likewise.
13674 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
13675 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
13676 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
13677 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
13678 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
13679 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
13680 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
13681 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
13682 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
13683 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
13684 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
13685 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
13686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
13687 Likewise.
13688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
13689 Likewise.
13690 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
13691 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
13692 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
13693 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
13694 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
13695 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
13696 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
13697 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
13698
13699 * dlfcn/dladdr.c: Use IS_IN.
13700 * dlfcn/dladdr1.c: Likewise.
13701 * dlfcn/dlclose.c: Likewise.
13702 * dlfcn/dlerror.c: Likewise.
13703 * dlfcn/dlinfo.c: Likewise.
13704 * dlfcn/dlmopen.c: Likewise.
13705 * dlfcn/dlopen.c: Likewise.
13706 * dlfcn/dlsym.c: Likewise.
13707 * dlfcn/dlvsym.c: Likewise.
13708
13709 * include/ifaddrs.h: Use IS_IN.
13710 * inet/check_pf.c: Likewise.
13711 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
13712 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
13713
13714 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
13715 IS_IN_ldconfig.
13716 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
13717 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
13718
13719 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
13720 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
13721 IS_IN (libc).
13722
13723 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
13724
13725 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
13726 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
13727 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
13728 * include/libc-symbols.h (IS_IN_LIB): New macro.
13729 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
13730 * include/netdb.h: Likewise.
13731 * include/stap-probe.h: Remove all uses of IN_LIB.
13732
13733 * Makeconfig (module-cppflags-real): Define MODULE_NAME
13734 instead of IN_MODULE.
13735 * include/libc-symbols.h (IN_MODULE): Define using
13736 MODULE_NAME.
13737 (PASTE_NAME, PASTE_NAME1): New macros.
13738 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
13739 of IN_LIB.
13740 (STAP_PROBE_ASM): Likewise.
13741
13742 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
13743
13744 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
13745 __mach_init in dlopened libc.
13746
13747 2014-11-22 Mike Frysinger <vapier@gentoo.org>
13748
13749 * sysdeps/arm/preconfigure.ac: Delete EABI check.
13750 * sysdeps/arm/preconfigure: Regenerate.
13751
13752 2014-11-21 Roland McGrath <roland@hack.frob.com>
13753
13754 * nptl/pthread_create.c (__pthread_create_2_1): Set
13755 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
13756 when copying values from IATTR into PD.
13757
13758 2014-11-21 Will Newton <will.newton@linaro.org>
13759 Andrew Pinski <andrew.pinski@caviumnetworks.com>
13760
13761 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
13762 Refactor inline-asm. Also add comment.
13763
13764 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
13765 ElfW macro instead of hardcoded Elf64 types.
13766 (la_aarch64_gnu_pltenter): Likewise.
13767 * sysdeps/aarch64/dl-machine.h
13768 (elf_machine_runtime_setup): Use ElfW(Addr).
13769
13770 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
13771 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
13772 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
13773 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
13774 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
13775 (R_AARCH64_TLS_DTPMOD64): Rename to ..
13776 (R_AARCH64_TLS_DTPMOD): This.
13777 (R_AARCH64_TLS_DTPREL64): Rename to ...
13778 (R_AARCH64_TLS_DTPREL): This.
13779 (R_AARCH64_TLS_TPREL64): Rename to ...
13780 (R_AARCH64_TLS_TPREL): This.
13781 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
13782 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
13783 R_AARCH64_TLS_TPREL64.
13784 (elf_machine_rela): Likewise.
13785
13786 2014-11-21 Torvald Riegel <triegel@redhat.com>
13787
13788 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
13789 by setting it to 0. 64b atomics are not supported currently.
13790
13791 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
13792
13793 [BZ #16469]
13794 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
13795 search domain names.
13796
13797 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
13798
13799 [BZ #16469]
13800 * NEWS: Update.
13801 * resolv/res_query.c (__libc_res_nquerydomain): Retain
13802 trailing dot.
13803 * posix/tst-getaddrinfo5.c: New.
13804 * posix/Makefile (tests): Add it.
13805
13806 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
13807
13808 [BZ #14498]
13809 * NEWS: Fixed.
13810 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
13811 after parsing line but before break_if_match.
13812 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
13813 if there is a protocol mismatch.
13814
13815 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
13816
13817 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
13818 because the potential race is on the user-supplied stream.
13819
13820 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
13821
13822 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
13823 string literal if not passed a buffer.
13824 * manual/job.texi (ctermid): Update reasoning, note deviation
13825 from posix, suggest mtasurace when not passed a buffer, for
13826 future non-preliminary safety notes.
13827
13828 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
13829
13830 * manual/users.texi (cuserid): Fix MT-Safety note for the case
13831 of not passing it a buffer.
13832 Reported by Peng Haitao.
13833
13834 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
13835
13836 * manual/Makefile ($(objpfx)stamp-summary): Require
13837 check-safety.sh to pass.
13838 * manual/check-safety.sh: Wish for verification that every
13839 @deftypefn and @deftypefun is followed by a @safety remark.
13840
13841 2014-11-20 Roland McGrath <roland@hack.frob.com>
13842
13843 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
13844
13845 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
13846 PTHREAD_CANCEL_ASYNCHRONOUS.
13847 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
13848 send SIGCANCEL.
13849
13850 * nptl/default-sched.h: New file.
13851 * sysdeps/unix/sysv/linux/default-sched.h: New file.
13852 * nptl/pthread_create.c: Include it.
13853 (__pthread_create_2_1): Use collect_default_sched instead of making
13854 Linux syscalls here directly.
13855
13856 2014-11-20 Torvald Riegel <triegel@redhat.com>
13857
13858 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
13859 __pthread_once): Use C11 atomics.
13860
13861 2014-11-20 Torvald Riegel <triegel@redhat.com>
13862
13863 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
13864
13865 2014-11-20 Torvald Riegel <triegel@redhat.com>
13866
13867 * include/atomic.h (__atomic_link_error, __atomic_check_size,
13868 atomic_thread_fence_acquire, atomic_thread_fence_release,
13869 atomic_thread_fence_seq_cst, atomic_load_relaxed,
13870 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
13871 atomic_compare_exchange_weak_relaxed,
13872 atomic_compare_exchange_weak_acquire,
13873 atomic_compare_exchange_weak_release,
13874 atomic_exchange_acquire, atomic_exchange_release,
13875 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
13876 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
13877 atomic_fetch_and_acquire,
13878 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
13879
13880 2014-11-20 Torvald Riegel <triegel@redhat.com>
13881
13882 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
13883 USE_ATOMIC_COMPILER_BUILTINS): Define.
13884 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
13885 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13886 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
13887 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13888 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
13889 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13890 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
13891 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13892 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
13893 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13894 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
13895 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13896 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
13897 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13898 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
13899 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13900 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
13901 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13902 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
13903 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13904 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
13905 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13906 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
13907 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13908 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
13909 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13910 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
13911 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13912 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
13913 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13914 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
13915 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13916 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
13917 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13918 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
13919 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13920 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
13921 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13922 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
13923 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13924
13925 2014-11-19 Roland McGrath <roland@hack.frob.com>
13926
13927 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
13928 the sched_priority value here. It was already checked when the user
13929 called pthread_attr_setschedparam.
13930
13931 * nptl/tst-bad-schedattr.c: New file.
13932 * nptl/Makefile (tests): Add it.
13933
13934 2014-11-19 Carlos O'Donell <carlos@redhat.com>
13935 Florian Weimer <fweimer@redhat.com>
13936 Joseph Myers <joseph@codesourcery.com>
13937 Adam Conrad <adconrad@0c3.net>
13938 Andreas Schwab <schwab@suse.de>
13939 Brooks <bmoses@google.com>
13940
13941 [BZ #17625]
13942 * wordexp-test.c (__dso_handle): Add prototype.
13943 (__register_atfork): Likewise.
13944 (__app_register_atfork): New function.
13945 (registered_forks): New global.
13946 (register_fork): New function.
13947 (test_case): Add 3 new tests for WRDE_CMDSUB.
13948 (main): Call __app_register_atfork.
13949 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
13950 fork count is non-zero fail the test.
13951 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
13952 is set.
13953 (parse_dollars): Remove check for WRDE_NOCMD.
13954 (parse_dquote): Likewise.
13955
13956 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13957
13958 * Makeconfig (built-modules): List non-library modules to be
13959 built.
13960 (module-cppflags): Include libc-modules.h for
13961 everything except shlib-versions.v.i.
13962 (CPPFLAGS): Use it.
13963 (before-compile): Add libc-modules.h.
13964 ($(common-objpfx)libc-modules.h,
13965 $(common-objpfx)libc-modules.stmp): New targets.
13966 (common-generated): Add libc-modules.h and libc-modules.stmp.
13967 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
13968 * include/libc-symbols.h: Don't include libc-modules.h.
13969 * include/libc-modules.h: Remove file.
13970 * scripts/gen-libc-modules.awk: New script to generate
13971 libc-modules.h.
13972 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
13973 Depend on libc-modules.stmp.
13974
13975 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
13976
13977 * Makeconfig (in-module): Get value of libof set for the
13978 translation unit.
13979 (CPPFLAGS): Use $(in-module).
13980 * Makerules: Don't suffix routine names for nonlib.
13981 * include/libc-modules.h: New file.
13982 * include/libc-symbols.h: Include libc-modules.h
13983 (IS_IN): New macro to replace IS_IN_* macros.
13984 * elf/Makefile: Set libof-* for each routine.
13985 * elf/rtld-Rules: Likewise.
13986 * extra-modules.mk: Likewise.
13987 * iconv/Makefile: Likewise.
13988 * iconvdata/Makefile: Likewise.
13989 * locale/Makefile: Likewise.
13990 * malloc/Makefile: Likewise.
13991 * nss/Makefile: Likewise.
13992 * sysdeps/gnu/Makefile: Likewise.
13993 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
13994 * sysdeps/unix/sysv/linux/Makefile: Likewise.
13995 * sysdeps/s390/s390-64/Makefile: Likewise.
13996 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
13997 CPPFLAGS for nscd instead of nonlib.
13998
13999 2014-11-18 Roland McGrath <roland@hack.frob.com>
14000
14001 * nptl/createthread.c: New file.
14002
14003 * nptl/createthread.c: Moved ...
14004 * sysdeps/unix/sysv/linux/createthread.c: ... here.
14005
14006 * nptl/createthread.c: Add proper top-line comment.
14007 (do_clone): Folded into ...
14008 (create_thread): ... here. Take new arguments STOPPED_START and
14009 THREAD_RAN. Always set PD->stopped_start to something here. Don't
14010 increment __nptl_threads, do event-reporting logic, do
14011 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
14012 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
14013 resource cleanup if sched_setaffinity or sched_setscheduler fails,
14014 just send SIGCANCEL.
14015 * nptl/pthread_create.c: Forward-declare create_thread before
14016 including createthread.c.
14017 (start_thread): Use new macro START_THREAD_DEFN to replace defining
14018 declaration, and new macro START_THREAD_SELF to replace argument.
14019 Remove return statement.
14020 (report_thread_creation): New function.
14021 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
14022 synchronization logic, and __nptl_nthreads increment here, around
14023 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
14024 PD->parent_cancelhandling here, before create_thread. When
14025 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
14026 __deallocate_stack, and ENOMEM translation here.
14027
14028 2014-11-18 Joseph Myers <joseph@codesourcery.com>
14029
14030 [BZ #17616]
14031 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
14032 (mptwo): Rename to __mptwo.
14033 (__inv): Use __mptwo instead of mptwo.
14034 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
14035 (mptwo): Rename to __mptwo.
14036 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
14037 of mpone and __mptwo instead of mptwo.
14038 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
14039 instead of mpone.
14040 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
14041 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
14042 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
14043 of mpone and __mptwo instead of mptwo.
14044 (__mpranred): Use __mpone instead of mpone.
14045 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
14046 variable.
14047 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
14048 (test-xfail-ISO99/math.h/linknamespace): Likewise.
14049 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
14050 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
14051 (test-xfail-ISO11/math.h/linknamespace): Likewise.
14052 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
14053 (test-xfail-XPG3/math.h/linknamespace): Likewise.
14054 (test-xfail-XPG4/math.h/linknamespace): Likewise.
14055 (test-xfail-POSIX/math.h/linknamespace): Likewise.
14056 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
14057 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
14058 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
14059 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
14060 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
14061 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
14062 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
14063 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
14064 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
14065 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
14066
14067 2014-11-18 Tom de Vries <tom@codesoucery.com>
14068
14069 * manual/signal.texi (Primitives Interrupted by Signals): In section,
14070 replace BSD Handler xref with BSD Signal Handling.
14071
14072 2014-11-17 Richard Henderson <rth@redhat.com>
14073
14074 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
14075 (_FP_PACK_RAW_2): Remove.
14076 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
14077 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
14078 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
14079 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
14080 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
14081 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
14082 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
14083 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
14084 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
14085 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
14086 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
14087 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
14088 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
14089 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
14090 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
14091 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
14092
14093 2014-11-14 Roland McGrath <roland@hack.frob.com>
14094
14095 * signal/signal.h [__USE_MISC]
14096 (struct sigvec): Remove type.
14097 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
14098 (sigvec): Remove declaration.
14099 * sysdeps/posix/sigvec.c: Moved ...
14100 * signal/sigvec.c: ... here, replacing old file.
14101 (struct sigvec): New type, copied from old signal.h definition.
14102 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
14103 (__sigvec): Convert definition to prototype.
14104 (sigvec): Replace weak_alias with compat_symbol.
14105 * signal/Versions (libc: GLIBC_2.21): New version set.
14106 * include/signal.h: Remove __sigvec declaration.
14107 * sysdeps/unix/bsd/sigvec.c: Remove file.
14108 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
14109 * manual/signal.texi (BSD Handler): Remove subsection.
14110 Move siginterrupt up to ...
14111 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
14112 (Blocking in BSD): Fold subsection into its parent.
14113 * NEWS: Mention sigvec removal.
14114
14115 2014-11-14 Joseph Myers <joseph@codesourcery.com>
14116
14117 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
14118 (DLA_FMS): Make definition conditional only on [__FMA4__].
14119 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
14120 definition.
14121
14122 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
14123 Make definition conditional only on [PROF].
14124 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
14125 definition.
14126 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
14127 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
14128
14129 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
14130 !__GNUC__].
14131 * include/signal.h (__sigpause): Move declaration above call to
14132 libc_hidden_proto.
14133 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
14134 variable.
14135 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
14136 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
14137
14138 2014-11-14 David S. Miller <davem@davemloft.net>
14139
14140 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
14141 Define before including <string/memcpy.c> and <string/mempcpy.c>.
14142
14143 2014-11-14 Joseph Myers <joseph@codesourcery.com>
14144
14145 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
14146 * configure: Regenerated.
14147 * manual/install.texi (Tools for Compilation): Document a
14148 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
14149 compiler verified to work.
14150 * INSTALL: Regenerated.
14151
14152 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
14153 redeclare with asm name.
14154 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
14155 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
14156 including <string.h>.
14157 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
14158 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
14159 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
14160 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
14161 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
14162 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
14163 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
14164
14165 2014-11-13 Joseph Myers <joseph@codesourcery.com>
14166
14167 * stdlib/strtol.c (__strtol): Use prototype definition.
14168
14169 [BZ #17594]
14170 * stdlib/strtol.c (SYM__): New macro.
14171 (SYM__1): Likewise.
14172 (__strtol): Likewise.
14173 (strtol): Rename to __strtol and define as weak alias of
14174 __strtol. Use libc_hidden_weak.
14175
14176 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
14177
14178 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
14179 Use numbered labels in inline assembly.
14180
14181 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
14182
14183 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
14184 Add setjmp LIBC_PROBE.
14185 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
14186 Likewise.
14187 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
14188 Add longjmp, longjmp_target LIBC_PROBE.
14189 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
14190 Likewise.
14191
14192 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
14193
14194 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
14195 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
14196 to get rid of unused variable warning.
14197
14198 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
14199
14200 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
14201 Check for unwind_backtrace == NULL only in SHARED case.
14202 (__backchain_backtrace): Compile only in SHARED case.
14203 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
14204 Likewise.
14205 (__backchain_backtrace): Declare as static.
14206
14207 2014-11-12 Roland McGrath <roland@hack.frob.com>
14208
14209 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
14210 (__libc_multiple_threads_ptr): Variable moved ...
14211 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
14212
14213 2014-11-12 Joseph Myers <joseph@codesourcery.com>
14214
14215 * conform/GlibcConform.pm: New file.
14216 * conform/conformtest.pl: Use GlibcConform module.
14217 * conform/linknamespace.pl: New file.
14218 * conform/list-header-symbols.pl: Likewise.
14219 * conform/Makefile (linknamespace-symlists-base): New variable.
14220 (linknamespace-symlists-tests): Likewise.
14221 (linknamespace-header-base): Likewise.
14222 (linknamespace-header-tests): Likewise.
14223 (tests-special): Add new tests.
14224 ($(linknamespace-symlists-tests)): New rule.
14225 (linknamespace-libs): New variable.
14226 ($(objpfx)symlist-stdlibs): New rule.
14227 ($(linknamespace-header-tests)): Likewise.
14228 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
14229 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
14230 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
14231 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
14232 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
14233 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
14234 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
14235 (test-xfail-ISO/math.h/linknamespace): Likewise.
14236 (test-xfail-ISO/signal.h/linknamespace): Likewise.
14237 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
14238 (test-xfail-ISO/time.h/linknamespace): Likewise.
14239 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
14240 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
14241 (test-xfail-ISO99/math.h/linknamespace): Likewise.
14242 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
14243 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
14244 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
14245 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
14246 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
14247 (test-xfail-ISO11/math.h/linknamespace): Likewise.
14248 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
14249 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
14250 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
14251 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
14252 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
14253 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
14254 (test-xfail-XPG3/math.h/linknamespace): Likewise.
14255 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
14256 (test-xfail-XPG3/search.h/linknamespace): Likewise.
14257 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
14258 (test-xfail-XPG3/time.h/linknamespace): Likewise.
14259 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
14260 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
14261 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
14262 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
14263 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
14264 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
14265 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
14266 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
14267 (test-xfail-XPG4/math.h/linknamespace): Likewise.
14268 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
14269 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
14270 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
14271 (test-xfail-XPG4/search.h/linknamespace): Likewise.
14272 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
14273 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
14274 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
14275 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
14276 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
14277 (test-xfail-XPG4/time.h/linknamespace): Likewise.
14278 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
14279 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
14280 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
14281 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
14282 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
14283 (test-xfail-POSIX/math.h/linknamespace): Likewise.
14284 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
14285 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
14286 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
14287 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
14288 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
14289 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
14290 (test-xfail-POSIX/time.h/linknamespace): Likewise.
14291 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
14292 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
14293 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
14294 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
14295 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
14296 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
14297 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
14298 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
14299 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
14300 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
14301 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
14302 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
14303 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
14304 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
14305 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
14306 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
14307 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
14308 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
14309 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
14310 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
14311 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
14312 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
14313 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
14314 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
14315 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
14316 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
14317 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
14318 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
14319 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
14320 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
14321 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
14322 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
14323 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
14324 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
14325 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
14326 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
14327 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
14328 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
14329 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
14330 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
14331 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
14332 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
14333 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
14334 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
14335 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
14336 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
14337 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
14338 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
14339 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
14340 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
14341 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
14342 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
14343 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
14344 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
14345 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
14346 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
14347 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
14348 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
14349 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
14350 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
14351 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
14352 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
14353 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
14354 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
14355 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
14356 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
14357 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
14358 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
14359 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
14360 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
14361 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
14362 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
14363 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
14364 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
14365 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
14366 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
14367 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
14368 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
14369 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
14370 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
14371 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
14372 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
14373 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
14374 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
14375 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
14376 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
14377 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
14378 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
14379 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
14380 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
14381 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
14382 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
14383 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
14384 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
14385 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
14386 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
14387 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
14388 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
14389
14390 [BZ #17589]
14391 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
14392 of fgets_unlocked.
14393
14394 [BZ #17585]
14395 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
14396 (memmem): Rename to __memmem and define as weak alias of
14397 __memmem. Use libc_hidden_weak.
14398 (__memmem): Use libc_hidden_def.
14399 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
14400 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
14401 memmem.
14402
14403 [BZ #17582]
14404 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
14405 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
14406 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
14407 and define as weak alias of __fgets_unlocked. Use
14408 libc_hidden_weak.
14409 (__fgets_unlocked): Use libc_hidden_def.
14410 * include/stdio.h (__fgets_unlocked): Declare. Use
14411 libc_hidden_proto.
14412 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
14413 __fgets_unlocked instead of fgets_unlocked.
14414 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
14415 (GET_NPROCS_CONF_PARSER): Likewise.
14416 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
14417 (GET_NPROCS_CONF_PARSER): Likewise.
14418
14419 [BZ #17574]
14420 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
14421 weak alias of __wmemset. Use libc_hidden_weak.
14422 (__wmemset): Use libc_hidden_def.
14423 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
14424 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
14425 of wmemset.
14426
14427 [BZ #17573]
14428 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
14429 with asm name __mempcpy.
14430 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
14431
14432 [BZ #17572]
14433 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
14434 and define as weak alias of __rawmemchr.
14435 (__rawmemchr): Do not define as strong alias of rawmemchr.
14436
14437 [BZ #17571]
14438 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
14439 alias of __qsort_r.
14440 (qsort): Call __qsort_r instead of qsort_r.
14441 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
14442 (__qsort_r): Declare. Call libc_hidden_proto.
14443 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
14444 instead of qsort_r.
14445 * nscd/gai.c (__qsort_r): Define to qsort_r.
14446 * posix/tst-rfc3484.c (__qsort_r): Likewise.
14447 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
14448 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
14449
14450 [BZ #17570]
14451 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
14452 define as weak alias of __malloc_info.
14453
14454 [BZ #17584]
14455 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
14456 as weak alias of __rewinddir. Don't use libc_hidden_def.
14457 (__rewinddir): Use libc_hidden_def.
14458 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
14459 as weak alias of __rewinddir. Don't use libc_hidden_def.
14460 (__rewinddir): Use libc_hidden_def.
14461 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
14462 weak alias of __rewinddir. Don't use libc_hidden_def.
14463 (__rewinddir): Use libc_hidden_def.
14464 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
14465 (__rewinddir): Use libc_hidden_proto.
14466 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
14467 rewinddir.
14468 (__getcwd): Use __rewinddir instead of rewinddir.
14469
14470 [BZ #17583]
14471 * libio/fileno.c (fileno): Rename to __fileno and define as weak
14472 alias of __fileno. Use libc_hidden_weak.
14473 (__fileno): Use libc_hidden_def.
14474 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
14475 * libio/ftello.c (ftello): Rename to __ftello and define as weak
14476 alias of __ftello.
14477 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
14478 __ftello.
14479 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
14480 (__fread_unlocked): Define as strong alias of _IO_fread. Use
14481 libc_hidden_def.
14482 (fread_unlocked): Don't use libc_hidden_ver.
14483 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
14484 and define as weak alias of __fread_unlocked. Don't use
14485 libc_hidden_def.
14486 (__fread_unlocked): Use libc_hidden_def.
14487 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
14488 (ftello): Don't use libc_hidden_proto.
14489 (__ftello): Declare. Use libc_hidden_proto.
14490 (fread_unlocked): Don't use libc_hidden_proto.
14491 (__fread_unlocked): Declare. Use libc_hidden_proto.
14492 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
14493 and __ftello instead of fileno, fread_unlocked and ftello.
14494
14495 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
14496
14497 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
14498 GOT12.
14499 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
14500 Likewise.
14501 (_dl_start_user): Likewise.
14502 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
14503
14504 2014-11-12 Carlos O'Donell <carlos@redhat.com>
14505 Siddhesh Poyarekar <siddhesh@redhat.com>
14506
14507 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
14508 Move argv and envp down instead of moving argc up.
14509 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
14510
14511 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
14512
14513 [BZ #17506]
14514 * test-skeleton.c (main): Return successful if one of
14515 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
14516 * string/tst-strcoll-overflow.c: Define expected status.
14517
14518 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
14519
14520 [BZ #17475]
14521 * locale/iso-639.def: Define Bhili and Tulu language codes.
14522
14523 2014-11-11 Alan Hayward <alan.hayward@arm.com>
14524
14525 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
14526
14527 2014-11-10 Renlin Li <Renlin.Li@arm.com>
14528
14529 [BZ #17555]
14530 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
14531
14532 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
14533
14534 * configure.ac: Updated check of minimal required version to
14535 2.22.
14536 * manual/install.texi (Tools for Compilation): Updated version
14537 number.
14538 * configure: Regenerated.
14539 * INSTALL: Likewise.
14540
14541 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
14542
14543 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
14544 __tls_get_addr.
14545
14546 2014-11-07 Joseph Myers <joseph@codesourcery.com>
14547
14548 * include/sys/wait.h (__libc_waitpid): Remove declaration.
14549 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
14550 (__waitpid): Don't define as alias. Use libc_hidden_def not
14551 libc_hidden_weak.
14552 (waitpid): Define as alias of __waitpid.
14553 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
14554 __waitpid.
14555 (__waitpid): Don't define as alias. Use libc_hidden_def not
14556 libc_hidden_weak.
14557 (waitpid): Define as alias of __waitpid.
14558 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
14559 __libc_waitpid alias.
14560 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
14561 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
14562 Likewise.
14563 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
14564 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
14565 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
14566 alias.
14567 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
14568 __waitpid.
14569 (__waitpid): Don't define as alias. Use libc_hidden_def not
14570 libc_hidden_weak.
14571 (waitpid): Define as alias of __waitpid.
14572
14573 2014-11-06 Carlos O'Donell <carlos@redhat.com>
14574
14575 * manual/llio.texi: Add comment that write safety has been
14576 fixed in Linux.
14577
14578 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
14579 (localplt-build-dso): Add elf/ld.so.
14580 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
14581 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
14582 and free for ld.so.
14583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
14584 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
14585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
14586 Likewise.
14587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
14588 Likewise.
14589 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
14590 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
14591 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
14592 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
14593 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
14594 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
14595 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
14596 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
14597 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
14598 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
14599 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
14600
14601 2014-11-05 Joseph Myers <joseph@codesourcery.com>
14602
14603 [BZ #14132]
14604 * include/libc-symbols.h (INTUSE): Remove macro.
14605 (INTDEF): Likewise.
14606 (INTVARDEF): Likewise.
14607 (_INTVARDEF): Likewise.
14608 (INTDEF2): Likewise.
14609 (INTVARDEF2): Likewise.
14610 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
14611 rtld_hidden_def instead of INTVARDEF.
14612 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
14613 (_dl_starting_up_internal): Remove declaration.
14614 (_dl_starting_up): Use rtld_hidden_proto.
14615 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
14616 declaration.
14617 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
14618 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
14619 _dl_starting_up.
14620 * elf/dl-writev.h (_dl_writev): Likewise.
14621 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
14622 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
14623 _dl_starting_up_internal.
14624
14625 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14626
14627 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
14628 test-skeleton.c.
14629
14630 2014-11-05 Will Newton <will.newton@linaro.org>
14631
14632 * benchtests/Makefile: (bench-malloc): Add malloc thread
14633 scalability benchmark.
14634 * benchtests/bench-malloc-threads.c: New file.
14635
14636 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
14637
14638 * sysdeps/aarch64/strchrnul.S: New file.
14639
14640 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14641
14642 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
14643 definition.
14644 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
14645 Likwise.
14646 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
14647 Likewise.
14648 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
14649 Likewise.
14650 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
14651 Likewise.
14652 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
14653 Likewise.
14654
14655 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
14656
14657 * catgets/test-gencat.c: Use test-skeleton.c.
14658 * catgets/tst-catgets.c: Likewise.
14659 * csu/tst-empty.c: Likewise.
14660 * elf/tst-audit2.c: Likewise.
14661 * elf/tst-global1.c: Likewise.
14662 * elf/tst-pathopt.c: Likewise.
14663 * elf/tst-piemod1.c: Likewise.
14664 * elf/tst-tls10.c: Likewise.
14665 * elf/tst-tls11.c: Likewise.
14666 * elf/tst-tls12.c: Likewise.
14667 * gnulib/tst-gcc.c: Likewise.
14668 * iconvdata/tst-e2big.c: Likewise.
14669 * iconvdata/tst-loading.c: Likewise.
14670 * iconv/tst-iconv1.c: Likewise.
14671 * iconv/tst-iconv2.c: Likewise.
14672 * inet/test-inet6_opt.c: Likewise.
14673 * inet/tst-gethnm.c: Likewise.
14674 * inet/tst-network.c: Likewise.
14675 * inet/tst-ntoa.c: Likewise.
14676 * intl/tst-codeset.c: Likewise.
14677 * intl/tst-gettext2.c: Likewise.
14678 * intl/tst-gettext3.c: Likewise.
14679 * intl/tst-ngettext.c: Likewise.
14680 * intl/tst-translit.c: Likewise.
14681 * io/test-stat.c: Likewise.
14682 * libio/test-fmemopen.c: Likewise.
14683 * libio/tst-freopen.c: Likewise.
14684 * libio/tst-sscanf.c: Likewise.
14685 * libio/tst-ungetwc1.c: Likewise.
14686 * libio/tst-ungetwc2.c: Likewise.
14687 * libio/tst-widetext.c: Likewise.
14688 * localedata/tst-ctype.c: Likewise.
14689 * localedata/tst-digits.c: Likewise.
14690 * localedata/tst-leaks.c: Likewise.
14691 * localedata/tst-mbswcs1.c: Likewise.
14692 * localedata/tst-mbswcs2.c: Likewise.
14693 * localedata/tst-mbswcs3.c: Likewise.
14694 * localedata/tst-mbswcs4.c: Likewise.
14695 * localedata/tst-mbswcs5.c: Likewise.
14696 * localedata/tst-setlocale.c: Likewise.
14697 * localedata/tst-trans.c: Likewise.
14698 * localedata/tst-wctype.c: Likewise.
14699 * localedata/tst-xlocale1.c: Likewise.
14700 * login/tst-grantpt.c: Likewise.
14701 * malloc/tst-calloc.c: Likewise.
14702 * malloc/tst-malloc.c: Likewise.
14703 * malloc/tst-mallocstate.c: Likewise.
14704 * malloc/tst-mcheck.c: Likewise.
14705 * malloc/tst-mtrace.c: Likewise.
14706 * malloc/tst-obstack.c: Likewise.
14707 * math/atest-exp2.c: Likewise.
14708 * math/atest-exp.c: Likewise.
14709 * math/atest-sincos.c: Likewise.
14710 * math/test-matherr.c: Likewise.
14711 * math/test-misc.c: Likewise.
14712 * math/test-powl.c: Likewise.
14713 * math/tst-definitions.c: Likewise.
14714 * misc/tst-dirname.c: Likewise.
14715 * misc/tst-efgcvt.c: Likewise.
14716 * misc/tst-fdset.c: Likewise.
14717 * misc/tst-hsearch.c: Likewise.
14718 * misc/tst-mntent2.c: Likewise.
14719 * nptl/tst-sem7.c: Likewise.
14720 * nptl/tst-sem8.c: Likewise.
14721 * nptl/tst-sem9.c: Likewise.
14722 * nss/test-netdb.c: Likewise.
14723 * posix/tst-fnmatch.c: Likewise.
14724 * posix/tst-getlogin.c: Likewise.
14725 * posix/tst-gnuglob.c: Likewise.
14726 * posix/tst-mmap.c: Likewise.
14727 * pwd/tst-getpw.c: Likewise.
14728 * resolv/tst-inet_ntop.c: Likewise.
14729 * rt/tst-timer.c: Likewise.
14730 * stdio-common/test-fseek.c: Likewise.
14731 * stdio-common/test-popen.c: Likewise.
14732 * stdio-common/test-vfprintf.c: Likewise.
14733 * stdio-common/tst-cookie.c: Likewise.
14734 * stdio-common/tst-fileno.c: Likewise.
14735 * stdio-common/tst-gets.c: Likewise.
14736 * stdio-common/tst-obprintf.c: Likewise.
14737 * stdio-common/tst-perror.c: Likewise.
14738 * stdio-common/tst-sprintf2.c: Likewise.
14739 * stdio-common/tst-sprintf3.c: Likewise.
14740 * stdio-common/tst-sprintf.c: Likewise.
14741 * stdio-common/tst-swprintf.c: Likewise.
14742 * stdio-common/tst-tmpnam.c: Likewise.
14743 * stdio-common/tst-unbputc.c: Likewise.
14744 * stdio-common/tst-wc-printf.c: Likewise.
14745 * stdlib/tst-environ.c: Likewise.
14746 * stdlib/tst-fmtmsg.c: Likewise.
14747 * stdlib/tst-limits.c: Likewise.
14748 * stdlib/tst-rand48-2.c: Likewise.
14749 * stdlib/tst-rand48.c: Likewise.
14750 * stdlib/tst-random2.c: Likewise.
14751 * stdlib/tst-random.c: Likewise.
14752 * stdlib/tst-strtol.c: Likewise.
14753 * stdlib/tst-strtoll.c: Likewise.
14754 * stdlib/tst-tls-atexit.c: Likewise.
14755 * stdlib/tst-xpg-basename.c: Likewise.
14756 * string/test-ffs.c: Likewise.
14757 * string/tst-bswap.c: Likewise.
14758 * string/tst-inlcall.c: Likewise.
14759 * string/tst-strtok.c: Likewise.
14760 * string/tst-strxfrm.c: Likewise.
14761 * sysdeps/x86_64/tst-audit10.c: Likewise.
14762 * sysdeps/x86_64/tst-audit3.c: Likewise.
14763 * sysdeps/x86_64/tst-audit4.c: Likewise.
14764 * sysdeps/x86_64/tst-audit5.c: Likewise.
14765 * time/tst-ftime_l.c: Likewise.
14766 * time/tst-getdate.c: Likewise.
14767 * time/tst-mktime3.c: Likewise.
14768 * time/tst-mktime.c: Likewise.
14769 * time/tst-posixtz.c: Likewise.
14770 * time/tst-strptime2.c: Likewise.
14771 * time/tst-strptime3.c: Likewise.
14772 * wcsmbs/tst-btowc.c: Likewise.
14773 * wcsmbs/tst-mbrtowc.c: Likewise.
14774 * wcsmbs/tst-mbsrtowcs.c: Likewise.
14775 * wcsmbs/tst-wchar-h.c: Likewise.
14776 * wcsmbs/tst-wcpncpy.c: Likewise.
14777 * wcsmbs/tst-wcrtomb.c: Likewise.
14778 * wcsmbs/tst-wcsnlen.c: Likewise.
14779 * wcsmbs/tst-wcstof.c: Likewise.
14780
14781 2014-11-04 Joseph Myers <joseph@codesourcery.com>
14782
14783 [BZ #14132]
14784 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
14785 INTDEF.
14786 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
14787 declaration.
14788 (_dl_mcount): Use rtld_hidden_proto.
14789 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
14790 _dl_mcount.
14791 * elf/rtld.c (_rtld_global_ro): Likewise.
14792
14793 [BZ #14132]
14794 * elf/dl-init.c (_dl_init): Don't use INTDEF.
14795 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
14796 of _dl_init_internal.
14797 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
14798 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
14799 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
14800 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
14801 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
14802 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
14803 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
14804 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
14805 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
14806 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
14807 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
14808 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
14809 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
14810 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
14811 * sysdeps/tile/dl-start.S (_start): Likewise.
14812 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
14813 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
14814
14815 [BZ #14132]
14816 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
14817 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
14818 (rtld_progname): Make macro definition unconditional.
14819 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
14820 INTDEF.
14821 (dlmopen_doit): Do not use INTUSE with _dl_argv.
14822 (dl_main): Likewise.
14823 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
14824 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
14825 instead of _dl_argv_internal.
14826 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
14827 __GI__dl_argv instead of INTUSE(_dl_argv).
14828 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
14829 __GI__dl_argv instead of _dl_argv_internal.
14830
14831 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
14832 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
14833 macro.
14834 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
14835 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
14836 New macro.
14837 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
14838 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
14839 macro.
14840 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
14841 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
14842
14843 2014-11-04 Andreas Schwab <schwab@suse.de>
14844
14845 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
14846
14847 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14848
14849 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
14850 mtvsrd instruction in binary form.
14851
14852 2014-11-03 Andreas Schwab <schwab@suse.de>
14853
14854 [BZ #17522]
14855 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
14856 for less than MB_LEN_MAX use a local buffer of that size.
14857 * libio/tst-fputws.c: New file.
14858 * libio/Makefile (tests): Add tst-fputws.
14859
14860 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
14861
14862 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
14863 the size of the fpu_fr.fpu_dregs[] array.
14864
14865 2014-11-01 Joseph Myers <joseph@codesourcery.com>
14866
14867 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
14868 (__nanosleep): Do not define as alias.
14869 (nanosleep): Define as alias of __nanosleep.
14870 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
14871 __libc_nanosleep name.
14872
14873 2014-10-31 Joseph Myers <joseph@codesourcery.com>
14874
14875 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
14876 install.texi in comment.
14877
14878 2014-10-31 Torvald Riegel <triegel@redhat.com>
14879
14880 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
14881 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
14882 ... add here and use lwsync or sync ...
14883 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
14884 ... and add here using lwsync.
14885
14886 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
14887
14888 * elf/dl-machine-reject-phdr.h: New file.
14889 * elf/dl-load.c: #include that.
14890 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
14891 if that returned true.
14892
14893 2014-10-31 Roland McGrath <roland@hack.frob.com>
14894
14895 [BZ #17496]
14896 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
14897 gen-as-const-headers chunk. Add a big scare comment after the last
14898 safe place to touch before-compile.
14899
14900 2014-10-31 Joseph Myers <joseph@codesourcery.com>
14901
14902 * manual/install.texi (Tools for Compilation): Update autoconf
14903 version requirements.
14904 * INSTALL: Regenerated.
14905
14906 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
14907 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
14908 (__libc_pselect): Likewise.
14909
14910 [BZ #14138]
14911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
14912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
14913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
14914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
14915
14916 2014-10-31 Torvald Riegel <triegel@redhat.com>
14917
14918 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
14919 correct barrier instruction.
14920 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
14921 Likewise.
14922 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
14923 Likewise.
14924
14925 2014-10-30 Roland McGrath <roland@hack.frob.com>
14926
14927 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
14928 after defining inlines. Instead, just use parens to defeat macro
14929 expansion of __isctype in its declaration.
14930
14931 2014-10-30 Joseph Myers <joseph@codesourcery.com>
14932
14933 * include/sys/uio.h (__libc_readv): Remove declaration.
14934 (__libc_writev): Likewise.
14935 * misc/readv.c (__libc_readv): Rename to __readv.
14936 (__readv): Do not define as alias.
14937 (readv): Define as alias of __readv.
14938 * misc/writev.c (__libc_writev): Rename to __writev.
14939 (__writev): Do not define as alias.
14940 (writev): Define as alias of __writev.
14941 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
14942 (__readv): Do not define as alias.
14943 (readv): Define unconditionally as alias of __readv.
14944 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
14945 (__writev): Do not define as alias.
14946 (writev): Define unconditionally as alias of __writev.
14947 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
14948 name.
14949 (writev): Do not define __libc_writev name.
14950
14951 2014-10-30 Roland McGrath <roland@hack.frob.com>
14952
14953 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
14954 (convert_charseq): New function, broken out of ...
14955 (use_from_charmap): ... here. Call it.
14956 (use_to_charmap): Use convert_charseq and free instead of duplicating
14957 its code with a variable-length stack struct.
14958
14959 2014-10-30 Joseph Myers <joseph@codesourcery.com>
14960
14961 * include/fcntl.h (__libc_creat): Remove declaration.
14962 * io/creat.c (__libc_creat): Rename to creat.
14963 (creat): Do not define as alias.
14964 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
14965 of creat instead of __libc_creat.
14966 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
14967 to creat.
14968 (creat): Do not define as alias.
14969 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
14970 __libc_creat.
14971 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
14972 __libc_creat name.
14973 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
14974 Likewise.
14975
14976 2014-10-29 Carlos O'Donell <carlos@redhat.com>
14977
14978 * manual/llio.texi: Add comments discussing why write() may be
14979 considered MT-unsafe on Linux.
14980
14981 2014-10-28 Carlos O'Donell <carlos@redhat.com>
14982
14983 * dl-load.c (local_strdup): Remove.
14984 (expand_dynamic_string_token): Use __strdup.
14985 (decompose_rpath): Likewise.
14986 (_dl_map_object): Likewise.
14987
14988 2014-10-28 Joseph Myers <joseph@codesourcery.com>
14989
14990 [BZ #14132]
14991 * sysdeps/generic/unwind-dw2-fde.c
14992 (__register_frame_info_bases_internal): Do not declare.
14993 (__register_frame_info_table_bases_internal): Likewise.
14994 (__deregister_frame_info_bases_internal): Likewise.
14995 (__register_frame_info_bases): Declare and use hidden_proto before
14996 definition. Use hidden_def instead of INTDEF.
14997 (__register_frame_info_table_bases): Likewise.
14998 (__deregister_frame_info_bases): Likewise.
14999 (__register_frame_info): Do not use INTUSE.
15000 (__register_frame): Likewise.
15001 (__register_frame_info_table): Likewise.
15002 (__register_frame_table): Likewise.
15003 (__deregister_frame_info): Likewise.
15004 (__deregister_frame): Likewise.
15005
15006 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
15007
15008 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15009 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
15010 not undefine.
15011 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
15012 Likewise.
15013 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
15014 Likewise.
15015
15016 2014-10-27 Joseph Myers <joseph@codesourcery.com>
15017
15018 [BZ #14138]
15019 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
15020 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
15021 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
15022 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
15023 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
15024 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
15025 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
15026 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
15027 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
15028 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
15029 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
15030 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
15031 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
15032 syscall.
15033 (setfsuid): Likewise.
15034 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
15035 (setfsuid): Likewise.
15036 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
15037 (setfsuid): Likewise.
15038 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
15039 Likewise.
15040 (setfsuid): Likewise.
15041 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
15042 (setfsuid): Likewise.
15043 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
15044 Likewise.
15045 (setfsuid): Likewise.
15046
15047 2014-10-27 Andreas Schwab <schwab@suse.de>
15048
15049 [BZ #17501]
15050 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
15051 check for Slow_SSE4_2 feature bit.
15052 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
15053 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
15054 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
15055 Likewise. Fix check for Fast_Unaligned_Load feature bit.
15056
15057 2014-10-24 Roland McGrath <roland@hack.frob.com>
15058
15059 * configure.ac: Validate compiler version with a empirical test of
15060 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
15061 $CC -v output.
15062 * configure: Regenerated.
15063
15064 * inet/htons.c (htons): Prototypify.
15065 * inet/htonl.c (htonl): Likewise.
15066
15067 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
15068
15069 * string/strncat.c (strncat): Improve performance by using strlen.
15070
15071 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
15072
15073 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
15074
15075 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
15076
15077 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
15078 Call libc_fetestexcept_aarch64.
15079
15080 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
15081
15082 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
15083 Call libc_feholdexcept_aarch64.
15084
15085 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
15086
15087 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
15088 Call get_rounding_mode.
15089
15090 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
15091
15092 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
15093 Simplify logic.
15094
15095 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
15096
15097 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
15098 Simplify logic.
15099
15100 2014-10-24 Joseph Myers <joseph@codesourcery.com>
15101
15102 [BZ #14138]
15103 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
15104 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
15105 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
15106 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
15107 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
15108 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
15109 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
15110 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
15111 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
15112 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
15113 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
15114 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
15115 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
15116 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
15117 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
15118 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
15119 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
15120 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
15121 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
15122 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
15123 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
15124 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
15125 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
15126 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
15127 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
15128 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
15129 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
15130 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
15131 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
15132 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
15133 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
15134 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
15135 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
15136 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
15137 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
15138 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
15139 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
15140 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
15141 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
15142 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
15143 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
15144 syscall.
15145 (geteuid): Likewise.
15146 (getgid): Likewise.
15147 (getuid): Likewise.
15148 (getresgid): Likewise.
15149 (getresuid): Likewise.
15150 (getgroups): Likewise.
15151 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
15152 (geteuid): Likewise.
15153 (getgid): Likewise.
15154 (getuid): Likewise.
15155 (getresgid): Likewise.
15156 (getresuid): Likewise.
15157 (getgroups): Likewise.
15158 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
15159 (geteuid): Likewise.
15160 (getgid): Likewise.
15161 (getuid): Likewise.
15162 (getresgid): Likewise.
15163 (getresuid): Likewise.
15164 (getgroups): Likewise.
15165 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
15166 Likewise.
15167 (geteuid): Likewise.
15168 (getgid): Likewise.
15169 (getuid): Likewise.
15170 (getresgid): Likewise.
15171 (getresuid): Likewise.
15172 (getgroups): Likewise.
15173 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
15174 (geteuid): Likewise.
15175 (getgid): Likewise.
15176 (getuid): Likewise.
15177 (getresgid): Likewise.
15178 (getresuid): Likewise.
15179 (getgroups): Likewise.
15180 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
15181 Likewise.
15182 (geteuid): Likewise.
15183 (getgid): Likewise.
15184 (getuid): Likewise.
15185 (getgroups): Likewise.
15186
15187 [BZ #14138]
15188 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
15189 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
15190 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
15191 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
15192 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
15193 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
15194 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
15195 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
15196 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
15197 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
15198 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
15199 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
15200 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
15201 __chown.
15202 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
15203 (lchown): Likewise.
15204 (fchown): Likewise.
15205 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
15206 Likewise.
15207 (lchown): Likewise.
15208 (fchown): Likewise.
15209 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
15210 (lchown): Likewise.
15211 (fchown): Likewise.
15212 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
15213 Likewise.
15214 (lchown): Likewise.
15215 (fchown): Likewise.
15216
15217 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
15218
15219 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
15220 Simplify logic.
15221
15222 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
15223
15224 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
15225 Cleanup logic.
15226
15227 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
15228
15229 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
15230 Remove unused include.
15231
15232 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
15233
15234 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
15235 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
15236 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
15237 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
15238
15239 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
15240 Helge Deller <deller@gmx.de>
15241
15242 [BZ #17508]
15243 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
15244 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
15245 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
15246
15247 2014-10-23 Joseph Myers <joseph@codesourcery.com>
15248
15249 [BZ #14132]
15250 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
15251 Remove macro definition.
15252 (__ashrdi3_v_glibc20): Likewise.
15253 (__lshrdi3_v_glibc20): Likewise.
15254 (__cmpdi2_v_glibc20): Likewise.
15255 (__ucmpdi2_v_glibc20): Likewise.
15256 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
15257 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
15258 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
15259 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
15260 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
15261 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
15262
15263 2014-10-22 Roland McGrath <roland@hack.frob.com>
15264
15265 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
15266 old GNU extension [0] syntax.
15267 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
15268 alloca rather than an array member with variable length.
15269 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
15270 * nscd/nscd.c (invalidate_db): New function, broken out of ...
15271 (parse_opt): ... here. Likewise use alloca there.
15272 Validate the -i argument before checking for rootness.
15273 (send_shutdown): New function, broken out of ...
15274 (parse_opt): ... here.
15275
15276 2014-10-22 Roland McGrath <roland@hack.frob.com>
15277
15278 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
15279 macro to get at the _rt_local_ro field.
15280 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
15281 ([PIC] case) or _dl_hwcap ([!PIC] case).
15282 * sysdeps/arm/setjmp.S: Likewise.
15283
15284 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
15285 * sysdeps/arm/configure.ac: New check to define it.
15286 * sysdeps/arm/configure: Regenerated.
15287 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
15288 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
15289 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
15290 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
15291 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
15292 Use move/movt pair instead of a load.
15293 (LDST_GLOBAL): Macro removed.
15294 (LDR_GLOBAL): New macro replaces it.
15295 (LDR_HIDDEN): New macro.
15296 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
15297 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
15298
15299 * setjmp/tst-setjmp-static.c: New file.
15300 * setjmp/Makefile (tests): Add it.
15301 (tests-static): New variable.
15302
15303 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
15304
15305 [BZ #17485]
15306 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
15307
15308 2014-10-21 Joseph Myers <joseph@codesourcery.com>
15309
15310 [BZ #14132]
15311 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
15312
15313 2014-10-21 Roland McGrath <roland@hack.frob.com>
15314
15315 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
15316
15317 2014-10-20 Roland McGrath <roland@hack.frob.com>
15318
15319 * io/fts.c (dirent_not_directory): New function.
15320 (fts_build): Call it.
15321
15322 2014-10-20 Roland McGrath <roland@hack.frob.com>
15323
15324 * nptl/version.c (__nptl_main): Use normal __write rather than
15325 INTERNAL_SYSCALL.
15326 (banner): Update copyright years.
15327
15328 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
15329 gettimeofday.
15330 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
15331 * nptl/pthread_cond_timedwait.c: Likewise.
15332 * nptl/pthread_mutex_timedlock.c: Likewise.
15333 * nptl/sem_timedwait.c: Likewise.
15334
15335 * sysdeps/nptl/bits/libc-lock.h
15336 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
15337 (__libc_lock_init_recursive): Return void, not 0.
15338 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
15339 (__libc_rwlock_init): Likewise.
15340 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
15341
15342 2014-10-20 Torvald Riegel <triegel@redhat.com>
15343
15344 [BZ #15215]
15345 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
15346 (__pthread_once_slow): ... here.
15347 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
15348 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
15349
15350 2014-10-20 Torvald Riegel <triegel@redhat.com>
15351
15352 [BZ #15215]
15353 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
15354 __PTHREAD_ONCE_FORK_GEN_INCR): New.
15355 * sysdeps/nptl/fork.c (__libc_fork): Use them.
15356 * nptl/pthread_once.c (__pthread_once): Likewise.
15357 Update comments.
15358
15359 2014-10-20 Joseph Myers <joseph@codesourcery.com>
15360
15361 [BZ #14138]
15362 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
15363 name.
15364 (writev): Use __libc_writev as strong name.
15365 * sysdeps/unix/sysv/linux/readv.c: Remove file.
15366 * sysdeps/unix/sysv/linux/writev.c: Likewise.
15367
15368 2014-10-17 Roland McGrath <roland@hack.frob.com>
15369
15370 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
15371
15372 * sysdeps/i386/nptl/tls.h
15373 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
15374 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
15375 New macros.
15376 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
15377 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
15378 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
15379 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
15380 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
15381 Call CHECK_THREAD_SYSINFO instead of doing an assert.
15382
15383 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
15384 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
15385 on [__NR_futex].
15386 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
15387 broken out of ...
15388 (__pthread_mutex_init): ... here. Call it.
15389 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
15390 Conditionalize PI cases on [__NR_futex].
15391 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
15392 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
15393 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
15394
15395 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
15396 conditional on [SIGSETXID].
15397 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
15398 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
15399 is defined. Likewise for SIGSETXID.
15400 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
15401 Conditionalize definitions on [SIGSETXID].
15402 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
15403 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
15404 unblocking on [SIGCANCEL].
15405
15406 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
15407 [__NR_set_robust_list].
15408
15409 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15410
15411 * string/strcoll_l.c (get_next_seq): Fix up formatting.
15412 (do_compare): Likewise.
15413
15414 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
15415
15416 [BZ #15884]
15417 * string/strcoll_l.c: Don't include stdio.h.
15418 (coll_seq): Remove members idxarr and rulearr.
15419 (get_next_seq_cached): Remove function.
15420 (get_next_seq): Likewise.
15421 (get_next_seq_nocache): Rename to get_next_seq.
15422 (do_compare): Remove function.
15423 (do_compare_nocache): Rename to do_compare.
15424 (STRCOLL): Remove weight and rules cache.
15425
15426 2014-10-16 Roland McGrath <roland@hack.frob.com>
15427
15428 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
15429 * sysdeps/arm/sfp-machine.h: ... to here.
15430 * sysdeps/arm/Implies: Remove arm/soft-fp.
15431
15432 2014-10-14 Joseph Myers <joseph@codesourcery.com>
15433
15434 * conform/data/sys/utsname.h-data (*_t): Allow.
15435 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
15436 [POSIX] (WEXITED): Do not expect constant.
15437 [POSIX] (WSTOPPED): Likewise.
15438 [POSIX] (WNOHANG): Likewise.
15439 [POSIX] (WNOWAIT): Likewise.
15440 [POSIX] (siginfo_t): Do not expect type or elements.
15441 [POSIX] (pid_t): Do not expect type.
15442 [POSIX] (signal.h): Do not allow header.
15443 [POSIX] (sys/resource.h): Likewise.
15444 [POSIX] (si_*): Do not allow pattern.
15445 [POSIX] (W*): Likewise.
15446 [POSIX] (P_*): Likewise.
15447 [POSIX] (BUS_*): Likewise.
15448 [POSIX] (CLD_*): Likewise.
15449 [POSIX] (FPE_*): Likewise.
15450 [POSIX] (ILL_*): Likewise.
15451 [POSIX] (POLL_*): Likewise.
15452 [POSIX] (SEGV_*): Likewise.
15453 [POSIX] (SI_*): Likewise.
15454 [POSIX] (TRAP_*): Likewise.
15455 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
15456 variable.
15457
15458 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
15459
15460 [BZ #12926]
15461 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
15462 infinite loop when __recvmsg returns 0.
15463
15464 2014-10-10 Joseph Myers <joseph@codesourcery.com>
15465
15466 * CANCEL-FCT-WAIVE: Remove file.
15467 * CANCEL-FILE-WAIVE: Likewise.
15468
15469 [BZ #14132]
15470 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
15471 instead of INTVARDEF.
15472 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
15473 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
15474 rtld_hidden_data_def instead of INTVARDEF.
15475 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
15476 * elf/dl-deps.c (expand_dst): Likewise.
15477 * elf/dl-load.c (_dl_dst_count): Likewise.
15478 (_dl_dst_substitute): Likewise.
15479 (decompose_rpath): Likewise.
15480 (_dl_init_paths): Likewise.
15481 (open_path): Likewise.
15482 (_dl_map_object): Likewise.
15483 * elf/rtld.c (dl_main): Likewise.
15484 (process_dl_audit): Likewise.
15485 (process_envvars): Likewise.
15486 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
15487 Remove declaration.
15488 (__libc_enable_secure): Use rtld_hidden_proto.
15489
15490 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
15491
15492 * elf/dl-load.c
15493 (add_path): New function broken out of _dl_rtld_di_serinfo.
15494 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
15495
15496 2014-10-09 Joseph Myers <joseph@codesourcery.com>
15497
15498 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
15499 parentheses around macro arguments.
15500 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
15501 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
15502 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
15503 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
15504 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
15505 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
15506 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
15507 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
15508 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
15509 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
15510 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
15511 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
15512 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
15513 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
15514 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
15515 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
15516 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
15517 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
15518 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
15519 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
15520 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
15521 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
15522 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
15523 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
15524 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
15525 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
15526 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
15527 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
15528 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
15529 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
15530 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
15531 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
15532 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
15533 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
15534 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
15535 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
15536 Likewise.
15537 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
15538 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
15539 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
15540 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
15541 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
15542 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
15543 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
15544 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
15545 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
15546 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
15547 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
15548 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
15549 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
15550 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
15551 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
15552 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
15553 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
15554 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
15555 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
15556 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
15557 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
15558 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
15559 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
15560 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
15561 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
15562 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
15563 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
15564 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
15565 (_FP_FRAC_SRS_1): Likewise.
15566 (_FP_FRAC_CLZ_1): Likewise.
15567 (_FP_MUL_MEAT_1_imm): Likewise.
15568 (_FP_MUL_MEAT_1_wide): Likewise.
15569 (_FP_MUL_MEAT_1_hard): Likewise.
15570 (_FP_SQRT_MEAT_1): Likewise.
15571 (_FP_FRAC_ASSEMBLE_1): Likewise.
15572 (_FP_FRAC_DISASSEMBLE_1): Likewise.
15573 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
15574 (__FP_CLZ_2): Likewise.
15575 (_FP_MUL_MEAT_2_wide): Likewise.
15576 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
15577 (_FP_MUL_MEAT_2_gmp): Likewise.
15578 (_FP_MUL_MEAT_2_120_240_double): Likewise.
15579 (_FP_SQRT_MEAT_2): Likewise.
15580 (_FP_FRAC_ASSEMBLE_2): Likewise.
15581 (_FP_FRAC_DISASSEMBLE_2): Likewise.
15582 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
15583 (_FP_FRAC_CLZ_4): Likewise.
15584 (_FP_MUL_MEAT_4_wide): Likewise.
15585 (_FP_MUL_MEAT_4_gmp): Likewise.
15586 (_FP_SQRT_MEAT_4): Likewise.
15587 (_FP_FRAC_ASSEMBLE_4): Likewise.
15588 (_FP_FRAC_DISASSEMBLE_4): Likewise.
15589 * soft-fp/op-common.h (_FP_CMP): Likewise.
15590 (_FP_CMP_EQ): Likewise.
15591 (_FP_CMP_UNORD): Likewise.
15592 (_FP_TO_INT): Likewise.
15593 (_FP_FROM_INT): Likewise.
15594 [!__FP_CLZ] (__FP_CLZ): Likewise.
15595 (_FP_DIV_HELP_imm): Likewise.
15596 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
15597 Likewise.
15598 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
15599 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
15600 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
15601 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
15602 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
15603 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
15604 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
15605 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
15606 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
15607 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
15608 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
15609 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
15610 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
15611 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
15612 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
15613 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
15614 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
15615 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
15616 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
15617 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
15618 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
15619 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
15620 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
15621 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
15622 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
15623 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
15624 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
15625 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
15626 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
15627 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
15628 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
15629 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
15630 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
15631 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
15632 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
15633 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
15634 (FP_UNPACK_RAW_SP): Likewise.
15635 (FP_PACK_RAW_S): Likewise.
15636 (FP_PACK_RAW_SP): Likewise.
15637 (FP_UNPACK_S): Likewise.
15638 (FP_UNPACK_SP): Likewise.
15639 (FP_UNPACK_SEMIRAW_S): Likewise.
15640 (FP_UNPACK_SEMIRAW_SP): Likewise.
15641 (FP_PACK_S): Likewise.
15642 (FP_PACK_SP): Likewise.
15643 (FP_PACK_SEMIRAW_S): Likewise.
15644 (FP_PACK_SEMIRAW_SP): Likewise.
15645 (_FP_SQRT_MEAT_S): Likewise.
15646 (FP_CMP_S): Likewise.
15647 (FP_CMP_EQ_S): Likewise.
15648 (FP_CMP_UNORD_S): Likewise.
15649 (FP_TO_INT_S): Likewise.
15650 (FP_FROM_INT_S): Likewise.
15651
15652 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
15653
15654 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
15655 (FP_EX_INVALID_IMZ): Likewise.
15656 (FP_EX_INVALID_IMZ_FMA): Likewise.
15657 (FP_EX_INVALID_ISI): Likewise.
15658 (FP_EX_INVALID_ZDZ): Likewise.
15659 (FP_EX_INVALID_IDI): Likewise.
15660 (FP_EX_INVALID_SQRT): Likewise.
15661 (FP_EX_INVALID_CVI): Likewise.
15662 (FP_EX_INVALID_VC): Likewise.
15663 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
15664 "invalid" exceptions.
15665 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
15666 (_FP_ADD_INTERNAL): Likewise.
15667 (_FP_MUL): Likewise.
15668 (_FP_FMA): Likewise.
15669 (_FP_DIV): Likewise.
15670 (_FP_CMP_CHECK_NAN): Likewise.
15671 (_FP_SQRT): Likewise.
15672 (_FP_TO_INT): Likewise.
15673 (FP_EXTEND): Likewise.
15674
15675 2014-10-09 Allan McRae <allan@archlinux.org>
15676
15677 * po/fr.po: Update French translation from translation project.
15678
15679 2014-10-09 Joseph Myers <joseph@codesourcery.com>
15680
15681 [BZ #14132]
15682 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
15683 of INTDEF.
15684 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
15685 (__cxa_atexit): Use libc_hidden_proto.
15686 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
15687
15688 [BZ #14132]
15689 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
15690 declaration.
15691 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
15692 [!_ISOMAC] (__iswspace_l_internal): Likewise.
15693 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
15694 [!_ISOMAC] (__iswctype_internal): Likewise.
15695 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
15696 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
15697 alias.
15698 (fcntl): Remove __fcntl_internal alias.
15699 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
15700 __connect_internal alias.
15701 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
15702 Likewise.
15703
15704 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
15705 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
15706 FP_DENORM_ZERO.
15707 (_FP_CHECK_FLUSH_ZERO): New macro.
15708 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
15709 (_FP_CMP): Likewise.
15710 (_FP_CMP_EQ): Likewise.
15711 (_FP_TO_INT): Do not set inexact for subnormal arguments if
15712 FP_DENORM_ZERO.
15713 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
15714 (FP_TRUNC): Likewise.
15715
15716 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
15717 treated as invalid conversion, not as normal exponent.
15718
15719 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
15720 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
15721 (_FP_CMP_EQ): Likewise.
15722 (_FP_CMP_UNORD): Likewise.
15723 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
15724 (FP_CMP_EQ_D): Likewise.
15725 (FP_CMP_UNORD_D): Likewise.
15726 * soft-fp/extended.h (FP_CMP_E): Likewise.
15727 (FP_CMP_EQ_E): Likewise.
15728 (FP_CMP_UNORD_E): Likewise.
15729 * soft-fp/quad.h (FP_CMP_Q): Likewise.
15730 (FP_CMP_EQ_Q): Likewise.
15731 (FP_CMP_UNORD_Q): Likewise.
15732 * soft-fp/single.h (FP_CMP_S): Likewise.
15733 (FP_CMP_EQ_S): Likewise.
15734 (FP_CMP_UNORD_S): Likewise.
15735 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
15736 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
15737 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
15738 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
15739 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
15740 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
15741 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
15742 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
15743 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
15744 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
15745 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
15746 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
15747 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
15748 to FP_CMP_Q.
15749 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
15750 FP_CMP_Q.
15751 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
15752 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
15753 FP_CMP_EQ_Q.
15754 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
15755 FP_CMP_Q.
15756 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
15757 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
15758 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
15759 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
15760 FP_CMP_EQ_Q.
15761 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
15762 FP_CMP_Q.
15763 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
15764 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
15765 FP_CMP_EQ_Q.
15766 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
15767 FP_CMP_Q.
15768 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
15769 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
15770 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
15771 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
15772 FP_CMP_EQ_Q.
15773
15774 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
15775 a subnormal result, set the underflow exception if trapping on
15776 underflow is enabled.
15777 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
15778 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
15779 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
15780 redefine to 0.
15781 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
15782 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
15783 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
15784 * soft-fp/extendxftf2.c (__extendxftf2): Use
15785 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
15786
15787 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
15788 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
15789 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
15790 FP_HANDLE_EXCEPTIONS.
15791 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
15792 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
15793 FP_HANDLE_EXCEPTIONS.
15794 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
15795 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
15796 FP_HANDLE_EXCEPTIONS.
15797 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
15798 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
15799 FP_HANDLE_EXCEPTIONS.
15800
15801 2014-10-08 Joseph Myers <joseph@codesourcery.com>
15802
15803 [BZ #14132]
15804 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
15805 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
15806 use INTUSE.
15807 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
15808 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
15809 Remove alias.
15810 (__adjtimex): Define using libc_hidden_ver.
15811 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
15812 Remove declaration.
15813 (ntp_gettime): Call __adjtimex directly.
15814 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
15815 Remove declaration.
15816 (ntp_gettimex): Call __adjtimex directly.
15817 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
15818 __adjtimex_internal alias.
15819
15820 2014-10-08 Roland McGrath <roland@hack.frob.com>
15821
15822 [BZ #17460]
15823 * nscd/nscd.c (more_help): Rewrite list of tables collection
15824 using xstrdup and asprintf.
15825
15826 * nscd/nscd_conf.c: Remove local xstrdup declaration.
15827
15828 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
15829 Roland McGrath <roland@hack.frob.com>
15830
15831 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
15832 (do_lookup_unique): ... local function 'enter' here; update callers.
15833
15834 2014-10-06 Joseph Myers <joseph@codesourcery.com>
15835
15836 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
15837 compat_symbol calls on [SHARED].
15838 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
15839 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
15840 Remove.
15841 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
15842 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
15843 (oldsetrlimit): Remove.
15844 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
15845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
15846 (lchown): New syscall entry.
15847 (oldsetrlimit): Remove.
15848 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
15849 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
15850 (oldsetrlimit): Remove.
15851 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
15852
15853 [BZ #14138]
15854 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
15855 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
15856 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
15857 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
15858 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
15859 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
15860 (fchown): Likewise.
15861 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
15862 (fchown): Likewise.
15863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
15864 Likewise.
15865
15866 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15867
15868 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
15869 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
15870 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
15871 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
15872 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
15873 Likewise.
15874 (__old_sem_post): Likewise.
15875
15876 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
15877
15878 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
15879 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
15880 HAVE_CLOCK_GETTIME_VSYSCALL macros.
15881 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
15882 Use INLINE_VSYSCALL macro.
15883 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
15884 __vdso_clock_gettime.
15885 * sysdeps/unix/sysv/linux/tile/init-first.c
15886 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
15887 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
15888 __vdso_clock_gettime.
15889
15890 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
15891 to set up frame more cleanly.
15892
15893 * sysdeps/tile/memcmp.c: New file.
15894
15895 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
15896
15897 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
15898 * sysdeps/tile/tilegx/strcasestr.c: New file.
15899 * sysdeps/tile/tilegx/strnlen.c: New file.
15900 * sysdeps/tile/tilegx/strstr.c: New file.
15901
15902 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
15903
15904 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
15905
15906 * nptl/tst-setuid3.c: Write errors to stdout.
15907
15908 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
15909
15910 * elf/dl-deps.c
15911 (preload): New functions broken out of _dl_map_object_deps.
15912 (_dl_map_object_deps): Remove a nested function. Update call sites.
15913
15914 2014-10-01 Joseph Myers <joseph@codesourcery.com>
15915
15916 [BZ #14138]
15917 * sysdeps/unix/sysv/linux/execve.c: Remove file.
15918 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
15919
15920 2014-10-01 Steve Ellcey <sellcey@mips.com>
15921
15922 * sysdeps/mips/strcmp.S: New.
15923
15924 2014-09-30 Joseph Myers <joseph@codesourcery.com>
15925
15926 [BZ #14138]
15927 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
15928 (linkat): Likewise.
15929 (mkdirat): Likewise.
15930 (readlinkat): Likewise.
15931 (renameat): Likewise.
15932 (symlinkat): Likewise.
15933 (unlinkat): Likewise.
15934 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
15935 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
15936 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
15937 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
15938 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
15939 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
15940 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
15941
15942 2014-09-30 Will Newton <will.newton@linaro.org>
15943
15944 * math/math.h: Define long double math functions if
15945 _LIBC_TEST is defined.
15946 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
15947
15948 * localedata/Makefile: Move assignment to tests-special
15949 into an ifdef testing run-built-tests.
15950 * timezone/Makefile: Likewise.
15951
15952 2014-09-29 Joseph Myers <joseph@codesourcery.com>
15953
15954 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
15955 with $(BASH) not $(SHELL).
15956
15957 2014-09-29 Carlos O'Donell <carlos@redhat.com>
15958 Matthew LeGendre <legendre1@llnl.gov>
15959
15960 [BZ #17411]
15961 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
15962 l_reloc_result.
15963
15964 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
15965
15966 * stdio-common/printf_fp.c
15967 (hack_digit): New function, broken out of ...
15968 (__printf_fp): ... local function here. Update call sites.
15969 hack_digit now takes an additional parameter that is a pointer
15970 to a struct of the referenced locals. Those locals moved inside
15971 the struct and references updated.
15972
15973 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
15974
15975 * aclocal.m4: Require autoconf 2.69.
15976 * configure: Regenerated.
15977 * sysdeps/aarch64/configure: Likewise.
15978 * sysdeps/alpha/configure: Likewise.
15979 * sysdeps/arm/armv7/configure: Likewise.
15980 * sysdeps/arm/configure: Likewise.
15981 * sysdeps/ia64/configure: Likewise.
15982 * sysdeps/mach/configure: Likewise.
15983 * sysdeps/mips/configure: Likewise.
15984 * sysdeps/s390/configure: Likewise.
15985 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
15986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
15987
15988 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
15989 file.
15990 * sysdeps/ia64/configure.ac: Likewise.
15991
15992 2014-09-26 Joseph Myers <joseph@codesourcery.com>
15993
15994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
15995 specify symbol version for ld.so. Do not include entry for
15996 libpthread.
15997 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
15998 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
15999 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
16000
16001 [BZ #14171]
16002 * Makeconfig [$(build-shared) = yes]
16003 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
16004 makefiles.
16005 [$(build-shared) = yes && $(soversions.mk-done) = t]
16006 ($(common-objpfx)gnu/lib-names.h): Remove rule.
16007 [$(build-shared) = yes && $(soversions.mk-done) = t]
16008 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
16009 to Makerules.
16010 [$(build-shared) = yes && $(soversions.mk-done) = t]
16011 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
16012 here.
16013 [$(build-shared) = yes && $(soversions.mk-done) = t]
16014 (common-generated): Don't append gnu/lib-names.h and
16015 gnu/lib-names.stmp here.
16016 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
16017 (lib-names-h-abi): New variable.
16018 [$(build-shared) = yes && $(soversions.mk-done) = t]
16019 (lib-names-stmp-abi): Likewise.
16020 [$(build-shared) = yes && $(soversions.mk-done) = t &&
16021 abi-variants] (before-compile): Append
16022 $(common-objpfx)$(lib-names-h-abi).
16023 [$(build-shared) = yes && $(soversions.mk-done) = t &&
16024 abi-variants] (common-generated): Append gnu/lib-names.h.
16025 [$(build-shared) = yes && $(soversions.mk-done) = t &&
16026 abi-variants] (install-others-nosubdir): Depend on
16027 $(inst_includedir)/$(lib-names-h-abi).
16028 [$(build-shared) = yes && $(soversions.mk-done) = t &&
16029 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
16030 [$(build-shared) = yes && $(soversions.mk-done) = t]
16031 ($(common-objpfx)$(lib-names-h-abi)): New rule.
16032 [$(build-shared) = yes && $(soversions.mk-done) = t]
16033 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
16034 [$(build-shared) = yes && $(soversions.mk-done) = t]
16035 (common-generated): Append $(lib-names-h-abi) and
16036 $(lib-names-stmp-abi).
16037 * scripts/lib-names.awk: Do not handle multi being set.
16038 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
16039 Remove variable.
16040 (abi-lp64_be-ld-soname): Likewise.
16041 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
16042 Likewise.
16043 (abi-hard-ld-soname): Likewise.
16044 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
16045 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
16046 Remove variable.
16047 (abi-o32_hard-ld-soname): Likewise.
16048 (abi-o32_soft_2008-ld-soname): Likewise.
16049 (abi-o32_hard_2008-ld-soname): Likewise.
16050 (abi-n32_soft-ld-soname): Likewise.
16051 (abi-n32_hard-ld-soname): Likewise.
16052 (abi-n32_soft_2008-ld-soname): Likewise.
16053 (abi-n32_hard_2008-ld-soname): Likewise.
16054 (abi-n64_soft-ld-soname): Likewise.
16055 (abi-n64_hard-ld-soname): Likewise.
16056 (abi-n64_soft_2008-ld-soname): Likewise.
16057 (abi-n64_hard_2008-ld-soname): Likewise.
16058 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
16059 Likewise.
16060 (abi-64-v2-ld-soname): Likewise.
16061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
16062 ld.so entries.
16063 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
16064 variable.
16065 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
16066 entry.
16067 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
16068 variable.
16069 (abi-64-ld-soname): Likewise.
16070 (abi-x32-ld-soname): Likewise.
16071 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
16072 entry.
16073 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
16074
16075 2014-09-23 Joseph Myers <joseph@codesourcery.com>
16076
16077 [BZ #14138]
16078 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
16079 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
16080 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
16081 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
16082 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
16083 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
16084 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
16085 syscall entry for GLIBC_2.2 symbol version.
16086 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
16087 Likewise.
16088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
16089 (setrlimit): Likewise.
16090 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
16091 Likewise.
16092
16093 2014-09-23 Will Newton <will.newton@linaro.org>
16094
16095 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
16096 _LINUX_ARM_SYSDEP_H include guard too.
16097 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
16098 define.
16099
16100 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
16101
16102 * sysdeps/unix/sysv/linux/eventfd.c:
16103 Make first argument unsigned.
16104 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
16105 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
16106
16107 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
16108
16109 * socket/recvmmsg.c (recvmmsg): Drop const argument.
16110 * socket/sys/socket.h: Likewise
16111 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
16112
16113 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16114
16115 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
16116
16117 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
16118
16119 * time/tst-ftime.c: New test.
16120 * time/Makefile (tests): Add tst-ftime.
16121
16122 2014-09-17 Joseph Myers <joseph@codesourcery.com>
16123
16124 * soft-fp/extended.h: Fix comment formatting.
16125 * soft-fp/op-1.h: Likewise.
16126 * soft-fp/op-2.h: Likewise.
16127 * soft-fp/op-4.h: Likewise.
16128 * soft-fp/op-8.h: Likewise.
16129 * soft-fp/op-common.h: Likewise.
16130 * soft-fp/soft-fp.h: Likewise.
16131
16132 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
16133
16134 2014-09-16 Joseph Myers <joseph@codesourcery.com>
16135
16136 [BZ #6652]
16137 * Makeconfig (soversions-default-setname): Remove variable.
16138 ($(common-objpfx)soversions.i): Don't pass default_setname to
16139 soversions.awk.
16140 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
16141 oldest_abi to abi-versions.awk.
16142 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
16143 * config.make.in (oldest-abi): Remove variable.
16144 * configure.ac (--enable-oldest-abi): Remove configure option.
16145 * configure: Regenerated.
16146 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
16147 text.
16148 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
16149 * scripts/soversions.awk: Do not handle default_setname variable.
16150 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
16151 variable.
16152 * sysdeps/mach/hurd/configure: Regenerated.
16153 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
16154 variable.
16155 * sysdeps/unix/sysv/linux/configure: Regenerated.
16156
16157 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16158
16159 * elf/Makefile (CFLAGS-interp.c): Remove.
16160 ($(elf-objpfx)runtime-linker.h): Generate header with linker
16161 path string.
16162 * elf/interp.c: Include generated runtime-linker.h
16163
16164 * Makerules (lib%.so): Don't include $(+interp) in
16165 prerequisites.
16166 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
16167 * dlfcn/eval.c: Remove file.
16168
16169 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
16170 macros.
16171
16172 [BZ #17266]
16173 * misc/sys/cdefs.h: Define __extern_always_inline for clang
16174 4.2 and newer.
16175
16176 [BZ #17370]
16177 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
16178
16179 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16180 Jakub Jelinek <jakub@redhat.com>
16181
16182 [BZ #17266]
16183 * libio/stdio.h: Check definition of __fortify_function
16184 instead of __extern_always_inline to include bits/stdio2.h.
16185 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
16186 check if __extern_always_inline is defined.
16187 [__USE_MISC || __USE_XOPEN]: Likewise.
16188 [__USE_ISOC99] Likewise.
16189 * misc/sys/cdefs.h (__fortify_function): Define only if
16190 __extern_always_inline is defined.
16191 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
16192 __extern_always_inline and __extern_inline only for g++-4.3
16193 and newer or a compatible gcc.
16194
16195 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
16196
16197 [BZ #17371]
16198 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
16199 last change to handle zero prefix length.
16200
16201 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16202
16203 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
16204 _SC_REGEX_VERSION.
16205
16206 * posix/getconf.c (vars): Add _POSIX_IPV6 and
16207 _POSIX_RAW_SOCKETS.
16208
16209 2014-09-13 Allan McRae <allan@archlinux.org>
16210
16211 * po/ru.po: Update Russian translation from translation project.
16212
16213 2014-09-12 Roland McGrath <roland@hack.frob.com>
16214
16215 * locale/programs/locale.c (show_locale_vars): Inline local function
16216 into its sole call site. Clean up some style nits.
16217 (print_item): New function, broken out of ...
16218 (show_info): ... local function here. Clean up style nits.
16219
16220 * locale/programs/ld-ctype.c (set_one_default): New function, broken
16221 out of ...
16222 (set_class_defaults): ... local function set_default here.
16223 Define set_default as a macro locally to pass constant parameters.
16224 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
16225 rather than a shared local.
16226
16227 * stdlib/rpmatch.c (try): New function, broken out of ...
16228 (rpmatch): ... local function here. Also, prototypify definition.
16229
16230 2014-09-12 Joseph Myers <joseph@codesourcery.com>
16231
16232 * scripts/soversions.awk: Do not handle configuration names.
16233 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
16234 vendor and os variables to soversions.awk.
16235 * configure.ac: Do not modify gnu-* host_os.
16236 * configure: Regenerated
16237 * shlib-versions: Remove first column with configuration names.
16238 * nptl/shlib-versions: Likewise.
16239 * nptl_db/shlib-versions: Likewise.
16240 * sysdeps/hppa/shlib-versions: Likewise.
16241 * sysdeps/m68k/shlib-versions: Likewise.
16242 * sysdeps/mach/hurd/shlib-versions: Likewise.
16243 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
16244 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
16245 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
16246 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
16247 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
16248 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
16249 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
16250 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
16251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
16252 Likewise.
16253 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
16254 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
16255 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
16256 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
16257 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
16258 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
16259 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
16260 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
16261
16262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
16263 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
16264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
16265 Regenerated.
16266 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
16267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
16268 Condition symbol version definitions on [HAVE_ELFV2_ABI].
16269
16270 * shlib-versions: Remove OS-specific entries. Moved to files in
16271 sysdeps.
16272 * sysdeps/mach/hurd/shlib-versions: New file.
16273 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
16274
16275 * nptl/shlib-versions: Remove architecture-specific entries.
16276 Moved to files in sysdeps.
16277 * shlib-versions: Likewise.
16278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
16279 file.
16280 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
16281 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
16282 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
16283 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
16284
16285 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
16286 (UDP_NO_CHECK6_RX): Likewise.
16287
16288 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
16289
16290 * sysdeps/posix/sysconf.c (__sysconf): Spell
16291 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
16292
16293 2014-08-12 Florian Weimer <fweimer@redhat.com>
16294
16295 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
16296 loading.
16297 * iconv/Versions (__gconv_transliterate): Export for use from
16298 gconv modules.
16299 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
16300 (struct __gconv_trans_data, __gconv_trans_fct,
16301 __gconv_trans_context_fct, __gconv_trans_query_fct,
16302 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
16303 definitions.
16304 (struct __gconv_step_data): Remove __trans member.
16305 (__gconv_transliterate): Declaration moved from gconv_int.h. No
16306 longer hidden. Remove unused trans_data argument.
16307 * iconv/gconv_int.h (struct trans_struct): Remove definition.
16308 (__gconv_translit_find): Remove declaration.
16309 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
16310 prototype.
16311 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
16312 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
16313 trans_data argument. Add hidden definition.
16314 (__gconv_translit_find): Remove.
16315 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
16316 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
16317 * iconv/skeleton.c: Remove transliteration initialization.
16318 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
16319 __gconv_step_data initialization.
16320 * libio/iofwide.c (__libio_translit_): Remove.
16321 (_IO_fwide): Adjust struct __gconv_step_data initialization.
16322 * wcsmbs/btowc.c (__btowc): Likewise.
16323 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
16324 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
16325 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
16326 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
16327 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
16328 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
16329 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
16330 * wcsmbs/wctob.c (wctob): Likewise.
16331
16332 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
16333
16334 [BZ #16194]
16335 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
16336 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
16337 register usage.
16338 * sysdeps/x86/Makefile: Adjust.
16339
16340 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
16341 Roland McGrath <roland@hack.frob.com>
16342
16343 * locale/weight.h: Add include guard.
16344 (findidx): Make static rather than auto; take new parameters
16345 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
16346 * locale/weightwc.h: Likewise.
16347 * posix/fnmatch_loop.c
16348 (FCT): Change type of EXTRA from int32_t to wint_t.
16349 Don't include either header inside the function.
16350 Call FINDIDX rather than findidx, and pass new arguments.
16351 #undef FINDIDX at the end of the file.
16352 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
16353 FINDIDX before including fnmatch_loop.c for the non-wide version.
16354 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
16355 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
16356 for the wide version.
16357 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
16358 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
16359 Pass new arguments to findidx.
16360 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
16361 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
16362 Don't #include it inside the function. Pass new arguments to findidx.
16363 * posix/regex_internal.h
16364 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
16365 (re_string_elem_size_at): Don't #include it inside the function.
16366 Pass new arguments to findidx.
16367 * string/strcoll_l.c: #include WEIGHT_H at top level.
16368 (get_next_seq): Don't #include it inside the function.
16369 Pass new arguments to findidx.
16370 (get_next_seq_nocache): Likewise.
16371 * string/strxfrm_l.c: #include WEIGHT_H at top level.
16372 (STRXFRM): Don't #include it inside the function.
16373 Pass new arguments to findidx.
16374
16375 2014-09-11 Florian Weimer <fweimer@redhat.com>
16376
16377 [BZ #17344]
16378 * malloc/malloc.c (unlink): Turn asserts into a call to
16379 malloc_printerr.
16380
16381 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
16382
16383 [BZ #17370]
16384 * libio/wfileops (do_ftell_wide): Free OUT.
16385
16386 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
16387
16388 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
16389
16390 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16391
16392 [BZ #17363]
16393 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
16394 group if the current group is empty.
16395
16396 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16397
16398 * benchtests/bench-memset.c (test_main): Add more test from size
16399 from 32 to 512 bytes.
16400 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
16401 Add POWER8 memset object.
16402 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16403 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
16404 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
16405 implementation.
16406 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
16407 Likewise.
16408 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
16409 multiarch POWER8 memset optimization.
16410 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
16411 POWER8 memset optimization.
16412
16413 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
16414 Remove bzero multiarch objects.
16415 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
16416 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
16417 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
16418 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
16419 Remove define.
16420 [__bzero]: Redefine to specific name.
16421 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
16422 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
16423 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
16424 define.
16425 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
16426 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
16427
16428 2014-09-10 Florian Weimer <fweimer@redhat.com>
16429
16430 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
16431 warnings into errors.
16432
16433 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
16434 __cxa_thread_atexit_impl prototype.
16435
16436 2014-09-09 Steve Ellcey <sellcey@mips.com>
16437
16438 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
16439 Fix capitalization of error message.
16440
16441 2014-09-09 Steve Ellcey <sellcey@mips.com>
16442
16443 * sysdeps/mips/preconfigure: Modify ABI tests.
16444
16445 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
16446
16447 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
16448
16449 2014-09-07 Roland McGrath <roland@hack.frob.com>
16450 Carlos O'Donell <carlos@systemhalted.org>
16451
16452 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
16453 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
16454 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
16455 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
16456 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
16457 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
16458 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
16459 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
16460 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
16461 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
16462 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
16463 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
16464 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
16465 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
16466 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
16467 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
16468 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
16469 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
16470 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
16471 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
16472 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
16473 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
16474 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
16475 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
16476 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
16477 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
16478 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
16479 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
16480 Deconditionalize the code that was previously under [RESET_PID].
16481 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
16482 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
16483 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
16484 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
16485 include sysdep.h.
16486
16487 2014-09-08 Allan McRae <allan@archlinux.org>
16488
16489 * version.h (RELEASE): Set to "development".
16490 (VERSION): Set to "2.20.90"
16491
16492 2014-09-07 Allan McRae <allan@archlinux.org
16493
16494 * version.h (RELEASE): Set to "stable".
16495 (VERSION): Set to "2.20"
16496 * include/features.h (__GLIBC_MINOR__): Set to 20.
16497
16498 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
16499 Liebler.
16500
16501 * po/ko.po: Update Korean translation from translation project.
16502
16503 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
16504
16505 [BZ #17354]
16506 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
16507 macro for handling signed relocations.
16508
16509 2014-09-03 Florian Weimer <fweimer@redhat.com>
16510
16511 [BZ #17325]
16512 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
16513 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
16514 assert.
16515 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
16516 * iconvdata/ibm935.c (BODY): Likewise.
16517 * iconvdata/ibm937.c (BODY): Likewise.
16518 * iconvdata/ibm939.c (BODY): Likewise.
16519 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
16520 assert.
16521 * iconvdata/Makefile (iconv-test.out): Pass module list to test
16522 script.
16523 * iconvdata/run-iconv-test.sh: New test loop for checking for
16524 decoder crashers.
16525
16526 2014-09-02 Khem Raj <raj.khem@gmail.com>
16527
16528 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
16529 libm_hidden_ver.
16530
16531 2014-09-01 Allan McRae <allan@archlinux.org>
16532
16533 * po/eo.po: Update Esperanto translation from translation project.
16534
16535 * po/ca.po: Update Catalan translation from translation project.
16536
16537 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
16538
16539 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
16540 __proc_dostop call.
16541
16542 2014-08-27 Mark Wielaard <mjw@redhat.com>
16543
16544 [BZ #17319]
16545 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
16546 to call set_thread_area instead of hand written asm.
16547 (__NR_set_thread_area): Removed define.
16548 (TLS_FLAG_WRITABLE): Likewise.
16549 (__ASSUME_SET_THREAD_AREA): Remove check.
16550 (TLS_EBX_ARG): Remove define.
16551 (TLS_LOAD_EBX): Likewise.
16552
16553 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
16554
16555 Simplify atomicity of socket creation in bind.
16556
16557 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
16558 looking up the name after linking the file.
16559
16560 2014-08-27 Allan McRae <allan@archlinux.org>
16561
16562 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
16563
16564 2014-08-26 Florian Weimer <fweimer@redhat.com>
16565
16566 [BZ #17187]
16567 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
16568 trans_compare, open_translit, __gconv_translit_find):
16569 Remove module loading code.
16570
16571 2014-08-26 Allan McRae <allan@archlinux.org>
16572
16573 * po/vi.po: Update Vietnamese translation from translation project.
16574
16575 * po/uk.po: Update Ukrainian translation from translation project.
16576
16577 * po/fr.po: Update French translation from translation project.
16578
16579 * po/ru.po: Update Russian translation from translation project.
16580
16581 * po/pl.po: Update Polish translation from translation project.
16582
16583 * po/cs.po: Update Czech translation from translation project.
16584
16585 * po/de.po: Update German translation from translation project.
16586
16587 * po/bg.po: Update Bulgarian translation from translation project.
16588
16589 * po/sv.po: Update Sweedish translation from translation project.
16590
16591 * po/nl.po: Update Dutch translation from translation project.
16592
16593 * po/es.po: Update Spanish translation from translation project.
16594
16595 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16596
16597 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
16598
16599 * catgets/Makefile (CPPFLAGS-gencat): Remove.
16600 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
16601 (CPPFLAGS-iconvconfig): Likewise.
16602 * timezone/Makefile (CPPFLAGS-zic): Likewise.
16603
16604 * include/libc-symbols.h: Remove unnecessary check for
16605 NOT_IN_libc.
16606 * nptl/pthreadP.h: Likewise.
16607 * sysdeps/aarch64/setjmp.S: Likewise.
16608 * sysdeps/alpha/setjmp.S: Likewise.
16609 * sysdeps/arm/sysdep.h: Likewise.
16610 * sysdeps/i386/setjmp.S: Likewise.
16611 * sysdeps/m68k/setjmp.c: Likewise.
16612 * sysdeps/posix/getcwd.c: Likewise.
16613 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
16614 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
16615 * sysdeps/s390/s390-32/setjmp.S: Likewise.
16616 * sysdeps/s390/s390-64/setjmp.S: Likewise.
16617 * sysdeps/sh/sh3/setjmp.S: Likewise.
16618 * sysdeps/sh/sh4/setjmp.S: Likewise.
16619 * sysdeps/unix/alpha/sysdep.h: Likewise.
16620 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
16621 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
16622 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
16623 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
16624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
16625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
16626 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
16627 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
16628 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
16629 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
16630 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16631 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
16632 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
16633 * sysdeps/x86_64/setjmp.S: Likewise.
16634
16635 2014-08-13 Joseph Myers <joseph@codesourcery.com>
16636
16637 [BZ #17263]
16638 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
16639 <stdint.h>.
16640 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
16641 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
16642
16643 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
16644
16645 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
16646
16647 [BZ #17262]
16648 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
16649 and __x86_64__ when disabling x87 inline functions.
16650
16651 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
16652
16653 [BZ #17259]
16654 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
16655 asm statement with __cpuid_count.
16656
16657 2014-08-12 Mike Frysinger <vapier@gentoo.org>
16658
16659 * configure.ac: Change __ehdr_start code to dereference the struct.
16660 Run readelf on the output to look for relocations.
16661 * configure: Regenerated.
16662
16663 2014-08-12 Joseph Myers <joseph@codesourcery.com>
16664
16665 [BZ #17261]
16666 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
16667 value to 0.
16668 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
16669
16670 2014-08-12 Roland McGrath <roland@hack.frob.com>
16671
16672 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
16673
16674 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
16675
16676 [BZ #16892]
16677 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
16678 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
16679
16680 2014-08-12 Sean Anderson <seanga2@gmail.com>
16681
16682 * malloc/malloc.c: Fix typo in comment.
16683
16684 2014-08-09 Allan McRae <allan@archlinux.org>
16685
16686 * Regenerate libc.po.
16687
16688 2014-08-08 Mike Frysinger <vapier@gentoo.org>
16689
16690 * intl/tst-gettext2.sh: Check every lang file for creation.
16691
16692 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
16693
16694 * sysdeps/aarch64/fpu/math_private.h
16695 (libc_feholdsetround_noex_aarch64_ctx): New function.
16696
16697 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
16698
16699 * sysdeps/arm/armv6/strcpy.S (strcpy):
16700 Fix performance issue in misaligned cases.
16701
16702 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16703
16704 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
16705 Move definition from termios.h.
16706 (struct termio): Likewise.
16707 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
16708 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
16709 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
16710 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
16711 Likewise.
16712 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
16713 Move definition to ioctl-types.h
16714 (struct termio): Likewise.
16715 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
16716 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
16717 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
16718 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
16719 Likewise.
16720
16721 2014-08-05 Richard Henderson <rth@redhat.com>
16722
16723 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
16724 exceptions.
16725 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
16726 Add fraiseexcpt.
16727 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
16728 Use __feraiseexcept.
16729 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
16730 Protect libm symbols with IS_IN_libm.
16731
16732 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
16733
16734 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
16735
16736 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
16737
16738 2014-08-04 Will Newton <will.newton@linaro.org>
16739
16740 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
16741 file.
16742
16743 2014-08-04 Mike Frysinger <vapier@gentoo.org>
16744
16745 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
16746 variants for each function.
16747
16748 2014-08-04 Roland McGrath <roland@hack.frob.com>
16749
16750 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
16751 appended ...
16752 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
16753 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
16754 appended ...
16755 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
16756 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
16757 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
16758 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
16759 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
16760 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
16761 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
16762 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
16763 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
16764 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
16765 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
16766 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
16767 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
16768 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
16769 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
16770 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
16771 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
16772 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
16773 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
16774 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
16775 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
16776 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
16777 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
16778 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
16779 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
16780 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
16781 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
16782 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
16783 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
16784 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
16785 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
16786 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
16787 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
16788 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
16789 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
16790 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
16791 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
16792 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
16793 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
16794 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
16795 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
16796 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
16797 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
16798 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
16799 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
16800 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
16801 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
16802 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
16803 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
16804 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
16805 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
16806 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
16807 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
16808 Update #include.
16809 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
16810 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
16811
16812 2014-08-04 Roland McGrath <roland@hack.frob.com>
16813
16814 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
16815 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
16816 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
16817 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
16818 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
16819 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
16820
16821 2014-08-04 Roland McGrath <roland@hack.frob.com>
16822
16823 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
16824 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
16825 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16826 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
16827
16828 2014-08-04 Roland McGrath <roland@hack.frob.com>
16829
16830 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
16831 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
16832 (__libc_vfork): Define function under this name.
16833 (__vfork): Define as an alias.
16834 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
16835 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
16836
16837 2014-08-04 Roland McGrath <roland@hack.frob.com>
16838
16839 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
16840 that was previously under [RESET_PID].
16841 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
16842
16843 2014-08-04 Andreas Schwab <schwab@suse.de>
16844
16845 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
16846
16847 2014-08-03 Mike Frysinger <vapier@gentoo.org>
16848
16849 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
16850 (main): Likewise.
16851
16852 2014-08-01 Roland McGrath <roland@hack.frob.com>
16853
16854 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
16855
16856 2014-08-01 Richard Henderon <rth@redhat.com>
16857
16858 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
16859 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
16860 typo in exact zero test.
16861 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16862 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16863 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16864
16865 2014-08-01 Roland McGrath <roland@hack.frob.com>
16866
16867 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
16868 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
16869 * sysdeps/arm/sysdep.h: ... here.
16870 [!__ASSEMBLER__]: Include <stdint.h>.
16871
16872 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
16873
16874 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
16875 (HAVE_WCTYPE_H): Likewise.
16876 (HAVE_ISWCTYPE): Likewise.
16877 (ENABLE_NLS): Likewise.
16878 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
16879 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
16880
16881 * posix/regex_internal.c: Check if DEBUG is defined and is
16882 set.
16883
16884 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
16885 (HAVE_MBSRTOWCS): Likewise.
16886 * posix/fnmatch.c: Include string.h unconditionally.
16887
16888 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
16889
16890 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
16891 reversal.
16892
16893 2014-07-31 Roland McGrath <roland@hack.frob.com>
16894
16895 * sysdeps/generic/safe-fatal.h: New file.
16896 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
16897 * nptl/forward.c: Include it.
16898 (__pthread_unwind): Use __safe_fatal as default action, rather
16899 than a bogus use of INTERNAL_SYSCALL that could never work.
16900
16901 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
16902 * configure.ac (libc_cv_builtin_trap): New test.
16903 * configure: Regenerated.
16904 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
16905 (ABORT_INSTRUCTION): Define using __builtin_trap.
16906
16907 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
16908 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
16909 * sysdeps/nptl/nptl-signals.h: New file.
16910 * nptl/pthreadP.h: Include <nptl-signals.h>.
16911
16912 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
16913
16914 * sysdeps/s390/s390-64/utf16-utf32-z9.c
16915 (ONE_DIRECTION): Define.
16916 * sysdeps/s390/s390-64/utf8-utf16-z9.c
16917 (ONE_DIRECTION): Define.
16918 * sysdeps/s390/s390-64/utf8-utf32-z9.c
16919 (ONE_DIRECTION): Define.
16920
16921 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
16922
16923 * sysdeps/s390/Makefile: Delete file.
16924 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
16925 * sysdeps/s390/__longjmp.c: Delete file.
16926 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
16927 Remove fields __flags and __reserved.
16928 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
16929 and add versioning.
16930 * sysdeps/s390/rtld-__longjmp.c: Delete file.
16931 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
16932 * sysdeps/s390/rtld-setjmp.S: Likewise.
16933 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
16934 * sysdeps/s390/s390-32/__longjmp.c: ... here.
16935 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
16936 * sysdeps/s390/s390-32/setjmp.S: ... here.
16937 Add versioning.
16938 (__sigsetjmp): Remove setting __flags field.
16939 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
16940 * sysdeps/s390/s390-64/__longjmp.c: ... here.
16941 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
16942 * sysdeps/s390/s390-64/setjmp.S: ... here.
16943 Add versioning.
16944 (__sigsetjmp): Remove setting __flags field.
16945 * sysdeps/s390/setjmp.S: Delete file.
16946 * sysdeps/s390/sigjmp.c: Likewise.
16947 * sysdeps/s390/v1-longjmp.c: Likewise.
16948 * sysdeps/s390/v1-setjmp.h: Likewise.
16949 * sysdeps/s390/v1-sigjmp.c: Likewise.
16950 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
16951 Remove v1-longjmp_chk.
16952 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
16953 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
16954 Include debug/longjmp_chk.c and add versioning.
16955 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
16956 Include nptl/pt-longjmp.c and add versioning.
16957 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
16958 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
16959 Include __longjmp.c.
16960 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
16961 Move to ...
16962 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
16963 (__getcontext): Remove setting __flags field.
16964 Add versioning.
16965 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
16966 Don't restore upper high grps.
16967 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
16968 Likewise.
16969 (__swapcontext): Remove setting uc_flags field.
16970 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
16971 Delete file.
16972 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
16973 Include __longjmp.c.
16974 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
16975 Move to ...
16976 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
16977 (__getcontext): Remove setting __flags field.
16978 Add versioning.
16979 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
16980 (__swapcontext): Remove setting uc_flags field.
16981 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
16982 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
16983 Remove fields uc_high_gprs and __reserved.
16984 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
16985 New file with reverted content.
16986 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
16987 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
16988 Regenerated.
16989 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
16990 Regenerated.
16991
16992 2014-07-31 Andreas Schwab <schwab@suse.de>
16993
16994 * config.h.in (HAVE_IFUNC): Define to 0.
16995 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
16996 definedness.
16997
16998 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
16999
17000 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17001 memmove-avx-unaligned, memcpy-avx-unaligned and
17002 mempcpy-avx-unaligned.
17003 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17004 Add tests for AVX memcpy functions.
17005 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
17006 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
17007 memcpy_chk.
17008 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
17009 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
17010 memmove_chk.
17011 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
17012 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
17013 mempcpy_chk.
17014 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
17015 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
17016 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
17017
17018 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17019
17020 [BZ #17213]
17021 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
17022 powerpc64le.
17023
17024 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
17025
17026 [BZ #16839]
17027 * manual/llio.texi: Add section about open file description locks.
17028 * manual/examples/ofdlocks.c: Example of open file description
17029 lock usage.
17030 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
17031 F_OFD_SETLK, and F_OFD_SETLKW.
17032
17033 2014-07-23 Allan McRae <allan@archlinux.org>
17034
17035 * po/es.po: Update Spanish translation from translation project.
17036
17037 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
17038
17039 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
17040
17041 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
17042
17043 [BZ #17078]
17044 * sysdeps/arm/dl-machine.h (elf_machine_rela)
17045 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
17046 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
17047
17048 2014-07-17 Joseph Myers <joseph@codesourcery.com>
17049
17050 [BZ #17088]
17051 * math/fesetenv.c (__fesetenv)
17052 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
17053 * math/feupdateenv.c (__feupdateenv)
17054 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
17055
17056 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
17057 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
17058 (__ASSUME_SOCKETCALL): Do not define.
17059
17060 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
17061 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
17062 (__ASSUME_SOCKETCALL): Do not define.
17063 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
17064 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
17065 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
17066 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
17067 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17068 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
17069 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17070 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17071
17072 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
17073 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
17074 (__ASSUME_SOCKETCALL): Do not define.
17075 (__ASSUME_IPC64): Define unconditionally.
17076 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
17077 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
17078 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
17079 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17080 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
17081 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17082 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
17083 Likewise.
17084
17085 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
17086 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
17087 (__ASSUME_SOCKETCALL): Do not define.
17088 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
17089 (__ASSUME_FUTEX_LOCK_PI): Likewise.
17090 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
17091 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
17092 (__ASSUME_REQUEUE_PI): Define unconditionally.
17093 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
17094 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
17095 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17096 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
17097 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17098 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17099
17100 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
17101 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
17102 (__ASSUME_SOCKETCALL): Do not define.
17103 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
17104 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17105 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17106 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
17107 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17108 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17109
17110 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
17111 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
17112 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
17113 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
17114 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17115 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
17116 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17117 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
17118 (__ASSUME_GETCPU_SYSCALL): Likewise.
17119
17120 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
17121 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
17122 cases for individual architectures.
17123 * sysdeps/gnu/configure: Regenerated.
17124 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
17125 LIBC_SLIBDIR_RTLDDIR.
17126 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
17127 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
17128 LIBC_SLIBDIR_RTLDDIR.
17129 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
17130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
17131 LIBC_SLIBDIR_RTLDDIR.
17132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
17133 Regenerated.
17134 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
17135 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
17136 file.
17137 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
17138 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
17139 file.
17140 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
17141 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
17142 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
17143 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
17144
17145 * sysdeps/aarch64/shlib-versions: Move to ...
17146 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
17147 * sysdeps/alpha/shlib-versions: Move to ...
17148 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
17149 * sysdeps/arm/shlib-versions: Move to ...
17150 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
17151 * sysdeps/hppa/shlib-versions: Move all contents except for
17152 libgcc_s entry to ...
17153 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
17154 entry from ...
17155 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
17156 * sysdeps/ia64/shlib-versions: Move to ...
17157 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
17158 entry from ...
17159 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
17160 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
17161 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
17162 * sysdeps/microblaze/shlib-versions: Move to ...
17163 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
17164 * sysdeps/mips/shlib-versions: Move to ...
17165 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
17166 entry from ...
17167 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
17168 * sysdeps/tile/shlib-versions: Move to ...
17169 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
17170 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
17171 from ...
17172 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
17173 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
17174 entry from ...
17175 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
17176
17177 2014-07-17 Will Newton <will.newton@linaro.org>
17178
17179 * sysdeps/arm/bits/atomic.h
17180 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
17181 (__arch_compare_and_exchange_bool_16_int): Likewise.
17182 (__arch_compare_and_exchange_bool_64_int): Likewise.
17183
17184 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
17185 into an #else block.
17186
17187 2014-07-16 Roland McGrath <roland@hack.frob.com>
17188
17189 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
17190 just Linux configurations. Test empirically that the compiler sets
17191 __ARM_EABI__, rather than using the tuple to decide.
17192 * sysdeps/arm/preconfigure: Regenerated.
17193 * sysdeps/unix/sysv/linux/arm/configure: File removed.
17194 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
17195 contents appended ...
17196 * sysdeps/arm/configure.ac: ... here.
17197 * sysdeps/arm/configure: Regenerated.
17198
17199 2014-07-15 Roland McGrath <roland@hack.frob.com>
17200
17201 * nptl/pthread_kill.c: New file.
17202 * nptl/pthread_sigmask.c: New file.
17203 * nptl/pthread_sigqueue.c: New file.
17204
17205 * sysdeps/nptl/lowlevellock.h: New file.
17206 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
17207 * sysdeps/nptl/lowlevellock-futex.h: New file.
17208
17209 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
17210 Remove dead declarations.
17211
17212 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
17213
17214 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
17215 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
17216 config-cflags-avx2.
17217 * sysdeps/x86_64/configure.ac: Likewise.
17218 * sysdeps/i386/configure: Regenerated.
17219 * sysdeps/x86_64/configure: Likewise.
17220 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17221 memset-avx2 only if config-cflags-avx2 is yes.
17222 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17223 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
17224 defined.
17225 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
17226 only if HAVE_AVX2_SUPPORT is defined.
17227 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17228
17229 2014-07-14 Alan Modra <amodra@gmail.com>
17230
17231 [BZ #17153]
17232 * elf/elf.h (DT_PPC64_NUM): Correct value.
17233 * NEWS: Add to fixed bug list.
17234
17235 2014-07-13 Jim Meyering <meyering@fb.com>
17236
17237 [BZ 17150]
17238 regex: don't deref NULL upon heap allocation failure
17239 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
17240 failure in one more place.
17241 To trigger the segfault, configure grep -with-included-regex,
17242 build it, and run these commands:
17243 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
17244
17245 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
17246
17247 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
17248
17249 2014-07-11 Richard Henderson <rth@redhat.com>
17250
17251 * sysdeps/aarch64/libm-test-ulps: Update.
17252
17253 2014-07-10 Florian Weimer <fweimer@redhat.com>
17254
17255 [BZ #17135]
17256 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
17257 * nptl/allocatestack.c (__nptl_setxid_error): New function.
17258 (__nptl_setxid): Initialize error member. Call
17259 __nptl_setxid_error.
17260 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
17261 * nptl/descr.h (struct xid_command): Add error member.
17262 * nptl/tst-setuid3.c: New file.
17263 * nptl/Makefile (tests): Add it.
17264
17265 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17266
17267 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
17268 New define.
17269 (__lll_trylock): Use __lll_base_trylock.
17270 (__lll_cond_trylock): Likewise.
17271
17272 2014-07-10 Roland McGrath <roland@hack.frob.com>
17273
17274 * nptl/pthread_create.c (start_thread): Use atomic_or and
17275 lll_futex_wake directly rather than lll_robust_dead.
17276 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
17277 (lll_robust_dead): Macro removed.
17278 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
17279 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
17280 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
17281 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
17282 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
17283 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
17284 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
17285 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
17286 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
17287 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
17288 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
17289 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
17290 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
17291 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
17292 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
17293
17294 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
17295 Use atomic_compare_and_exchange_val_acq directly rather than
17296 lll_robust_trylock.
17297 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
17298 (__lll_robust_trylock, lll_robust_trylock): Removed.
17299 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
17300 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
17301 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
17302 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
17303 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
17304 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
17305 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
17306 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
17307 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
17308 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
17309 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
17310 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
17311 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
17312 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
17313
17314 2014-07-02 Florian Weimer <fweimer@redhat.com>
17315
17316 * manual/locale.texi (Locale Names): New section documenting
17317 locale name syntax. Adjust menu and node chaining accordingly.
17318 (Choosing Locale): Reference Locale Names, Locale Categories.
17319 Mention setting LC_ALL=C. Reflect that name syntax is now
17320 documented.
17321 (Locale Categories): New section title. Reference Locale Names.
17322 LC_ALL is an environment variable, but not a category.
17323 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
17324 description, now in Locale Name. Reference that section. Locale
17325 name syntax is now documented.
17326
17327 2014-07-02 Florian Weimer <fweimer@redhat.com>
17328
17329 [BZ #17137]
17330 * locale/findlocale.c (name_present, valid_locale_name): New
17331 functions.
17332 (_nl_find_locale): Use the loc_name variable to store name
17333 candidates. Call name_present and valid_locale_name to check and
17334 validate locale names. Return an error if the locale is invalid.
17335
17336 2014-07-02 Florian Weimer <fweimer@redhat.com>
17337
17338 * locale/setlocale.c (setlocale): Use strdup for allocating
17339 composite name copy.
17340
17341 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17342
17343 Sync up with gnulib.
17344 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
17345 [!_LIBC && ENABLE_NLS]: Include gettext.h.
17346 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
17347 and _GL_ARG_NONNULL.
17348 [USE_UNLOCKED_IO]: Include unlocked-io.h.
17349 [!_LIBC]: Include code for Windows and Cygwin.
17350 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
17351 Include prototype for int strerror_r.
17352 [!_LIBC] (is_open): New function.
17353 (flush_stdout): New function.
17354 (print_errno_message): Use it.
17355 (error): Likewise.
17356 (error_at_line): Likewise.
17357 (error_tail) Add function attribute macros. Use
17358 __builtin_expect.
17359
17360 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
17361
17362 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
17363
17364 * io/ftw.c: Include sys/param.h unconditionally.
17365
17366 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
17367
17368 [BZ #17125]
17369 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
17370 libc_freeres_ptr.
17371 (freecache): New function to free CACHE on exit.
17372
17373 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
17374 initialization.
17375
17376 2014-07-09 David S. Miller <davem@davemloft.net>
17377
17378 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17379
17380 * sysdeps/sparc/nptl/internaltypes.h: Delete.
17381 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
17382 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
17383 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
17384 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
17385 * sysdeps/sparc/nptl/sem_init.c: Likewise.
17386 * sysdeps/sparc/nptl/sem_post.c: Likewise.
17387 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
17388 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
17389 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
17390 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
17391 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
17392 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
17393
17394 2014-07-09 Andreas Schwab <schwab@suse.de>
17395
17396 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
17397 output.
17398 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
17399 (do_test): Likewise.
17400
17401 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
17402
17403 2014-07-09 Will Newton <will.newton@linaro.org>
17404
17405 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
17406 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
17407 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
17408 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
17409 * sysdeps/hppa/start.S (_start): Likewise.
17410
17411 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
17412
17413 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
17414
17415 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
17416 defined.
17417
17418 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
17419
17420 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
17421 after checking that it is non-NULL.
17422
17423 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
17424
17425 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17426
17427 * sysdeps/powerpc/memmove.c: Remove file.
17428 * sysdeps/powerpc/powerpc32/power4/memcopy.h
17429 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
17430 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
17431 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
17432 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
17433 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
17434 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
17435 string memmove instead of removed powerpc one.
17436
17437 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
17438 [weak_alias]: Fix compiler warning due trailing data.
17439 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
17440 [weak_alias]: Likewise.
17441 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
17442 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
17443
17444 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17445 (__libc_ifunc_impl_list): Add memmove functions.
17446
17447 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
17448
17449 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
17450 Remove code.
17451 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
17452 Likewise
17453 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
17454 Likewise
17455 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
17456 Likewise
17457 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
17458 Likewise
17459 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
17460 Likewise
17461 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
17462 Likewise
17463 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
17464 Likewise
17465 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
17466 Likewise
17467 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
17468 Likewise
17469 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
17470 Likewise
17471 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
17472 Likewise
17473 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
17474 Likewise
17475 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
17476 Likewise
17477 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
17478 Likewise
17479 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
17480 Likewise
17481 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
17482 Likewise
17483
17484 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17485
17486 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
17487 to avoid alignment traps in non-cacheable memory.
17488 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
17489
17490 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
17491 multiarch objects.
17492 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
17493 file: multiarch power7 memmove.
17494 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
17495 multiarch default memmove.
17496 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
17497 multiarch memove for powerpc32/power4.
17498
17499 * string/bcopy.c: Use full path to include memmove.c.
17500 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
17501 multiarch objects.
17502 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
17503 bcopy for powerpc64.
17504 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
17505 bcopy for powerpc64.
17506 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
17507 and memmove implementations.
17508 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
17509 optimized multiarch memmove for POWER7/powerpc64.
17510 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
17511 default multiarch memmove for powerpc64.
17512 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
17513 multiarch for powerpc64.
17514 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
17515 for POWER7/powerpc64.
17516 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
17517 memmove for POWER7/powerpc64.
17518
17519 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
17520 glibc default one.
17521
17522 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
17523 __ELF_NATIVE_CLASS equal to 64.
17524
17525 2014-07-07 Roland McGrath <roland@hack.frob.com>
17526
17527 * sysdeps/nptl/lowlevellock.h: File removed.
17528
17529 * NEWS: NPTL is no longer an add-on!
17530 * nptl/internaltypes.h: Moved ...
17531 * sysdeps/nptl/internaltypes.h: ... here.
17532 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
17533 * sysdeps/nptl/fork.c: Likewise.
17534 * sysdeps/nptl/gai_misc.h: Likewise.
17535 * sysdeps/nptl/librt-cancellation.c: Likewise.
17536 * sysdeps/nptl/jmp-unwind.c: Likewise.
17537 * sysdeps/nptl/setxid.h: Likewise.
17538 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
17539 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
17540 * sysdeps/unix/sysv/linux/arm/Implies: New file.
17541 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
17542 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
17543 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
17544 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
17545 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
17546 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
17547 * sysdeps/unix/sysv/linux/mips/Implies: New file.
17548 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
17549 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
17550 * sysdeps/unix/sysv/linux/sh/Implies: New file.
17551 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
17552 * sysdeps/unix/sysv/linux/tile/Implies: New file.
17553 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
17554 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
17555 * nptl/Makeconfig: Moved ...
17556 * sysdeps/nptl/Makeconfig: ... here.
17557 * nptl/configure: File removed.
17558 * nptl/ANNOUNCE: File removed.
17559 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
17560 * sysdeps/unix/sysv/linux/configure: Regenerated.
17561
17562 * nptl/Makefile (routines): Add libc_pthread_init,
17563 libc_multiple_threads, register-atfork and unregister-atfork.
17564 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
17565 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
17566 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
17567 pthread-pi-defines.sym, structsem.sym.
17568 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
17569 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
17570 [$(subdir) = nptl] (tests): Add tst-setgetname.
17571 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
17572 * sysdeps/unix/sysv/linux/sigaction.c: Just include
17573 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
17574 [!LIBC_SIGACTION]: Remove aliases.
17575 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
17576 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
17577 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
17578 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
17579 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
17580 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
17581 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
17582 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
17583 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
17584 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
17585 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
17586 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
17587 __libc_allocate_rtsig_private.
17588 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
17589 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
17590 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
17591 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
17592 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
17593 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
17594 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
17595 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
17596 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
17597 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
17598 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
17599 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
17600 * nptl/internaltypes.h: ... here.
17601 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
17602 * sysdeps/nptl/jmp-unwind.c: ... here.
17603 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
17604 * nptl/libc-lowlevellock.c: ... here.
17605 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
17606 * nptl/libc_multiple_threads.c: ... here.
17607 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
17608 * nptl/libc_pthread_init.c: ... here.
17609 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
17610 * nptl/lowlevelbarrier.sym: ... here.
17611 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
17612 * nptl/lowlevelcond.sym: ... here.
17613 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
17614 * nptl/lowlevellock.c: ... here.
17615 * nptl/lowlevellock.h: Moved ...
17616 * sysdeps/nptl/lowlevellock.h: ... here.
17617 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
17618 * nptl/lowlevelrobustlock.c: ... here.
17619 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
17620 * nptl/lowlevelrobustlock.sym: ... here.
17621 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
17622 * nptl/lowlevelrwlock.sym: ... here.
17623 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
17624 * nptl/pt-fork.c: ... here.
17625 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
17626 * nptl/pthread-pi-defines.sym: ... here.
17627 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
17628 * nptl/pthread_attr_getaffinity.c: ... here.
17629 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
17630 * nptl/pthread_attr_setaffinity.c: ... here.
17631 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
17632 * nptl/pthread_mutex_cond_lock.c: ... here.
17633 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
17634 Update #include.
17635 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
17636 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
17637 * nptl/pthread_once.c: ... here, replacing old file.
17638 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
17639 * nptl/pthread_yield.c: ... here.
17640 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
17641 * nptl/register-atfork.c: ... here.
17642 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
17643 * nptl/sem_post.c: ... here.
17644 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
17645 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
17646 * nptl/sem_timedwait.c: ... here.
17647 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
17648 * nptl/sem_trywait.c: ... here.
17649 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
17650 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
17651 * nptl/sem_wait.c: ... here.
17652 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
17653 * nptl/structsem.sym: ... here.
17654 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
17655 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
17656 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
17657 * nptl/unregister-atfork.c: ... here.
17658 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
17659 * nptl/unwindbuf.sym: ... here.
17660 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
17661 * sysdeps/nptl/fork.c: ... here.
17662 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
17663 * sysdeps/nptl/fork.h: ... here.
17664 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
17665 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
17666 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
17667 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
17668 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
17669 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
17670 * sysdeps/unix/sysv/linux/getpid.c: ... here.
17671 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
17672 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
17673 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
17674 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
17675 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
17676 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
17677 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
17678 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
17679 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
17680 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
17681 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
17682 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
17683 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
17684 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
17685 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
17686 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
17687 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
17688 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
17689 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
17690 * sysdeps/unix/sysv/linux/raise.c: ... here.
17691 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
17692 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
17693 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
17694 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
17695 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
17696 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
17697 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
17698 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
17699 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
17700 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
17701 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
17702 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
17703 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
17704 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
17705 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
17706
17707 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17708
17709 * sysdeps/generic/memcopy.h: Add comment for
17710 MEMCPY_OK_FOR_FWD_MEMMOVE.
17711
17712 2014-07-04 Will Newton <will.newton@linaro.org>
17713
17714 * string/memchr.c: Merge from gnulib.
17715 [_LIBC]: Remove conditionals.
17716 (__ptr_t): Remove define.
17717 (LONG_MAX_32_BITS): Likewise.
17718 (LONG_MAX): Likewise.
17719 (MEMCHR): Use ANSI prototype and optimize algorithm.
17720
17721 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
17722
17723 2014-07-03 Roland McGrath <roland@hack.frob.com>
17724
17725 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
17726 (lll_futex_timed_wait_bitset): Fix syscall argument count.
17727
17728 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
17729 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
17730 in a bare environment with no <stdlib.h> installed.
17731 * sysdeps/nptl/configure: Regenerated.
17732
17733 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
17734
17735 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
17736 AC_EGREP_CPP for kernel header checks, so they only succeed if
17737 including <linux/version.h> actually works right.
17738 * sysdeps/unix/sysv/linux/configure: Regenerated.
17739
17740 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
17741 value so it's not diagnosed as unused.
17742
17743 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
17744 thing) with "ifeq ($(subdir),rt)".
17745
17746 2014-07-03 Richard Henderson <rth@redhat.com>
17747
17748 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
17749 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
17750 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
17751
17752 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
17753 (math_force_eval): New.
17754
17755 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
17756 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
17757
17758 * sysdeps/alpha/fpu/s_round.c: Remove file.
17759 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
17760
17761 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
17762 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
17763 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
17764 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
17765 (_dl_start, print_statistics): Likewise.
17766 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
17767 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
17768
17769 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
17770 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
17771 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
17772 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
17773 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
17774 (HP_SMALL_TIMING_AVAIL): Define.
17775 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
17776 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
17777 (HP_SMALL_TIMING_AVAIL): Define.
17778 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
17779 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
17780
17781 * sysdeps/aarch64/hp-timing.h: New file.
17782
17783 * sysdeps/generic/hp-timing.h: Remove dead comment.
17784 * sysdeps/generic/hp-timing-common.h: New file.
17785 * sysdeps/alpha/hp-timing.h: Include it.
17786 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
17787 * sysdeps/i386/i686/hp-timing.h: Likewise.
17788 * sysdeps/ia64/hp-timing.h: Likewise.
17789 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
17790 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
17791 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
17792 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
17793 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
17794 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
17795 (hp_timing_t): New.
17796
17797 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
17798 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
17799 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
17800 * elf/rtld.c (_dl_start_final): Likewise.
17801 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
17802 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
17803 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
17804 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
17805 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
17806 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
17807 (HP_TIMING_DIFF_INIT): Remove.
17808 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
17809 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
17810 (HP_TIMING_DIFF_INIT): Remove.
17811 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
17812 * sysdeps/i386/i686/hp-timing.c: Remove file.
17813 * sysdeps/x86_64/hp-timing.c: Remove file.
17814 * sysdeps/ia64/hp-timing.c: Remove file.
17815 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
17816 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
17817 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
17818 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
17819
17820 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
17821 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
17822 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
17823 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
17824 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
17825 (HP_TIMING_ACCUM): Remove.
17826 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
17827 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
17828 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
17829
17830 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
17831 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
17832 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
17833 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
17834 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
17835 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
17836 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
17837 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
17838
17839 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
17840
17841 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
17842
17843 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
17844
17845 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17846
17847 Sync up with gettext.
17848 * intl/loadmsgcat.c: Define O_BINARY if not defined.
17849 [_MSC_VER]: Include malloc.h
17850 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
17851 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
17852 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
17853 TEMP_FAILURE_RETRY. Cast return of alloca.
17854 [!_LIBC] Call gl_rwlock_init.
17855 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
17856
17857 2014-07-02 Roland McGrath <roland@hack.frob.com>
17858
17859 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
17860 before checking its value.
17861
17862 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17863
17864 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
17865
17866 * debug/memcpy_chk.c: Don't include pagecopy.h.
17867 * debug/mempcpy_chk.c: Likewise.
17868 * string/memcpy.c: Likewise.
17869 * string/memmove.c: Likewise.
17870 * sysdeps/powerpc/memmove.c: Likewise.
17871 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
17872 definition of PAGE_COPY_FWD_MAYBE here...
17873 * sysdeps/generic/pagecopy.h: ... from here.
17874 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
17875
17876 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
17877 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17878
17879 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
17880 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
17881 optimizations.
17882 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17883 (__libc_ifunc_impl_list): Likewise.
17884 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
17885 multiarch strcat for PPC64.
17886 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
17887 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
17888
17889 2014-07-02 Roland McGrath <roland@hack.frob.com>
17890
17891 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
17892
17893 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17894
17895 * intl/loadmsgcat.c: Remove declaration of
17896 get_sysdep_segment_value.
17897 (get_sysdep_segment_value): Use ISO C style.
17898 (_nl_load_domain): Use ISO C style. Get rid of redundant
17899 semicolon. Fix typo and formatting in comment.
17900 (_nl_unload_domain): Use ISO C style.
17901
17902 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
17903
17904 2014-07-02 Will Newton <will.newton@linaro.org>
17905
17906 * malloc/obstack.c: Merge from gnulib master.
17907 [HAVE_CONFIG_H]: Remove conditional code.
17908 [!_LIBC]: Include config.h.
17909 [!ELIDE_CODE]: Don't include inttypes.h, include
17910 stdint.h unconditionally.
17911 (print_and_abort): Mark as _Noreturn.
17912 (_obstack_allocated_p): Mark as __attribute_pure__.
17913 (obstack_free): Rename to __obstack_free.
17914 [!__attribute__]: Remove conditional code.
17915 * malloc/obstack.h: Merge from gnulib master.
17916 [__cplusplus]: Move conditional down.
17917 [!__attribute_pure__]: Define __attribute_pure__ here
17918 if it is not already defined.
17919 (_obstack_memory_used): Mark as __attribute_pure__.
17920 [!__obstack_free]: Define as obstack_free.
17921 [__GNUC__]: Remove check for ancient NeXT gcc.
17922
17923 2014-07-02 Will Newton <will.newton@linaro.org>
17924 Paul Eggert <eggert@cs.ucla.edu>
17925
17926 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
17927
17928 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17929
17930 * resolv/gethnamaddr.c: Add comment warning that the file is
17931 not maintained.
17932
17933 2014-07-01 Carlos O'Donell <carlos@redhat.com>
17934
17935 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
17936 entries.
17937
17938 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
17939 entry for aio_cancel and aio_cancel64.
17940 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
17941 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
17942 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
17943 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
17944 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
17945 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
17946 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
17947 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
17948 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
17949 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
17950 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
17951 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
17952 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
17953
17954 2014-07-01 Roland McGrath <roland@hack.frob.com>
17955
17956 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
17957 * nptl/pthread_mutex_lock.c: Likewise.
17958 * nptl/pthread_mutex_timedlock.c: Likewise.
17959 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
17960
17961 2014-07-01 Richard henderson <rth@redhat.com>
17962
17963 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
17964 (__isnan, __isnanl): Remove.
17965 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
17966
17967 * sysdeps/alpha/fpu/libm-test-ulps: Update.
17968
17969 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
17970
17971 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17972
17973 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
17974
17975 * resolv/nss_dns/dns-host.c (getanswer_r)
17976 [MULTI_PTRS_ARE_ALIASES]: Remove code.
17977
17978 2014-07-01 Joseph Myers <joseph@codesourcery.com>
17979
17980 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17981 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
17982 undefine.
17983 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
17984 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
17985
17986 2014-07-01 Roland McGrath <roland@hack.frob.com>
17987
17988 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
17989 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
17990
17991 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
17992 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
17993
17994 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
17995 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
17996 ... here.
17997 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
17998 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
17999
18000 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
18001 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
18002 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
18003 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
18004
18005 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
18006 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
18007 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
18008 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
18009 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
18010 Moved ...
18011 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
18012 ... here.
18013 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
18014 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
18015 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
18016 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
18017 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
18018 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
18019 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
18020 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
18021 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
18022 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
18023 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
18024 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
18025 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
18026 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
18027 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
18028 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
18029 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
18030 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
18031 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
18032 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
18033 ... here.
18034 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
18035 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
18036 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
18037 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
18038 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
18039 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
18040 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
18041 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
18042
18043 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
18044
18045 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
18046 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
18047 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
18048 Add sysdep.
18049
18050 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18051
18052 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18053
18054 2014-06-30 Joseph Myers <joseph@codesourcery.com>
18055
18056 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
18057 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18058
18059 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
18060
18061 * sysdeps/arm/libm-test-ulps: Regenerated.
18062
18063 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
18064 Roland McGrath <roland@hack.frob.com>
18065
18066 * test-skeleton.c (signal_handler): Kill the whole process group
18067 before killing the child individually.
18068 (main): Report any failure on `setpgid'.
18069
18070 2014-06-30 Roland McGrath <roland@hack.frob.com>
18071
18072 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
18073 from _TLS_H to _ARM_NPTL_TLS_H.
18074 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
18075 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
18076
18077 2014-06-30 Joseph Myers <joseph@codesourcery.com>
18078
18079 [BZ #16539]
18080 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
18081 (__expm1l): Return argument unchanged when small but not
18082 subnormal.
18083
18084 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
18085 include macro name.
18086 (_FP_UNPACK_RAW_1_P): Likewise.
18087 (_FP_PACK_RAW_1): Likewise.
18088 (_FP_PACK_RAW_1_P): Likewise.
18089 (_FP_MUL_MEAT_1_wide): Likewise.
18090 (_FP_MUL_MEAT_DW_1_hard): Likewise.
18091 (_FP_MUL_MEAT_1_hard): Likewise.
18092 (_FP_DIV_MEAT_1_imm): Likewise.
18093 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
18094 (_FP_DIV_MEAT_1_udiv): Likewise.
18095 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
18096 (_FP_UNPACK_RAW_2): Likewise.
18097 (_FP_UNPACK_RAW_2_P): Likewise.
18098 (_FP_PACK_RAW_2): Likewise.
18099 (_FP_PACK_RAW_2_P): Likewise.
18100 (_FP_MUL_MEAT_DW_2_wide): Likewise.
18101 (_FP_MUL_MEAT_2_wide): Likewise.
18102 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
18103 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
18104 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
18105 (_FP_MUL_MEAT_2_gmp): Likewise.
18106 (_FP_DIV_MEAT_2_udiv): Likewise.
18107 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
18108 (_FP_FRAC_SRL_4): Likewise.
18109 (_FP_FRAC_SRST_4): Likewise.
18110 (_FP_FRAC_SRS_4): Likewise.
18111 (_FP_UNPACK_RAW_4): Likewise.
18112 (_FP_UNPACK_RAW_4_P): Likewise.
18113 (_FP_PACK_RAW_4): Likewise.
18114 (_FP_PACK_RAW_4_P): Likewise.
18115 (_FP_MUL_MEAT_DW_4_wide): Likewise.
18116 (_FP_MUL_MEAT_4_wide): Likewise.
18117 (_FP_MUL_MEAT_4_gmp): Likewise.
18118 (umul_ppppmnnn): Likewise.
18119 (_FP_DIV_MEAT_4_udiv): Likewise.
18120 (__FP_FRAC_ADD_4): Likewise.
18121 (__FP_FRAC_SUB_3): Likewise.
18122 (__FP_FRAC_SUB_4): Likewise.
18123 (__FP_FRAC_DEC_3): Likewise.
18124 (__FP_FRAC_DEC_4): Likewise.
18125 (__FP_FRAC_ADDI_4): Likewise.
18126 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
18127 (_FP_FRAC_SRL_8): Likewise.
18128 (_FP_FRAC_SRS_8): Likewise.
18129
18130 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
18131 include macro name.
18132 (FP_UNPACK_RAW_EP): Likewise.
18133 (FP_PACK_RAW_E): Likewise.
18134 (FP_PACK_RAW_EP): Likewise.
18135 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
18136 (_FP_ISSIGNAN): Likewise.
18137 (_FP_ADD_INTERNAL): Likewise.
18138 (_FP_FMA): Likewise.
18139 (_FP_CMP): Likewise.
18140 (_FP_SQRT): Likewise.
18141 (_FP_TO_INT): Likewise.
18142 (_FP_FROM_INT): Likewise.
18143 (FP_EXTEND): Likewise.
18144 (_FP_DIV_MEAT_N_loop): Likewise.
18145
18146 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
18147
18148 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
18149 throughout.
18150
18151 2014-06-29 Joseph Myers <joseph@codesourcery.com>
18152
18153 [BZ #17097]
18154 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
18155 result with correct sign in case of exponents that produce
18156 overflow except for X very close to 1.
18157
18158 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
18159
18160 mktime: merge #if/#ifdef usage from glibc
18161 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
18162 as that works with both Glibc's and Gnulib's style.
18163 See thread starting at Siddhesh Poyarekar's bug report at:
18164 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
18165
18166 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18167
18168 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
18169 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
18170 * sysdeps/tile/tilegx/memmove.c: Remove file.
18171
18172 2014-06-27 Joseph Myers <joseph@codesourcery.com>
18173
18174 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
18175 abi-name definition.
18176 * scripts/soversions.awk: Do not handle or generate ABI lines.
18177 * shlib-versions: Remove ABI entries.
18178 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
18179 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
18180
18181 2014-06-27 Roland McGrath <roland@hack.frob.com>
18182
18183 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
18184 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
18185 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
18186 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
18187 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
18188 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
18189 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
18190 Moved ...
18191 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
18192 ... here.
18193 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
18194 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
18195 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
18196 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
18197 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
18198 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
18199 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
18200 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
18201 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
18202 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
18203 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
18204 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
18205 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
18206 Moved ...
18207 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
18208 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
18209 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
18210 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
18211 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
18212 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
18213 Moved ...
18214 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
18215 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
18216 Moved ...
18217 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
18218 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
18219 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
18220 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
18221 Moved ...
18222 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
18223 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
18224 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
18225 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
18226 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
18227 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
18228 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
18229 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
18230 Moved ...
18231 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
18232 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
18233 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
18234 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
18235 Moved ...
18236 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
18237 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
18238 Moved ...
18239 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
18240 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
18241 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
18242 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
18243 Moved ...
18244 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
18245 ... here.
18246 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
18247 Identical file removed.
18248 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
18249 Moved ...
18250 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
18251 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
18252 Identical file removed.
18253 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
18254 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
18255 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
18256 Moved ...
18257 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
18258 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
18259 Identical file removed.
18260 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
18261 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
18262 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
18263 Identical file removed.
18264 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
18265 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
18266 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
18267 Identical file removed.
18268 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
18269 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
18270 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
18271 Identical file removed.
18272 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
18273 Moved ...
18274 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
18275 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
18276 Identical file removed.
18277 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
18278 Moved ...
18279 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
18280 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
18281 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
18282 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
18283 Identical file removed.
18284 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
18285 Moved ...
18286 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
18287 ... here.
18288 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
18289 Identical file removed.
18290 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
18291 Moved ...
18292 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
18293 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
18294 Identical file removed.
18295 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
18296 Moved ...
18297 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
18298 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
18299 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
18300 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
18301 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
18302 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
18303 Moved ...
18304 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
18305 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
18306 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
18307
18308 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
18309 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
18310 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
18311 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
18312 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
18313
18314 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
18315
18316 [BZ #17092]
18317 * nscd/nscd.c (monitor_child): Return exit status of child
18318 instead of return value from wait syscall.
18319
18320 2014-06-27 Joseph Myers <joseph@codesourcery.com>
18321
18322 * configure.ac (libc_commonpagesize): Remove variable.
18323 (libc_relro_required): Likewise.
18324 (libc_cv_z_relro): Remove configure test.
18325 * configure: Regenerated.
18326 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
18327 variable.
18328 (libc_relro_required): Likewise.
18329 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
18330 (libc_relro_required): Likewise.
18331 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
18332 (libc_relro_required): Likewise.
18333 * sysdeps/arm/preconfigure: Regenerated.
18334 * sysdeps/ia64/preconfigure: Remove file.
18335 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
18336 variable.
18337 (libc_relro_required): Likewise.
18338
18339 [BZ #16561]
18340 [BZ #16562]
18341 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
18342 (__ieee754_yn): Set FE_TONEAREST mode internally and then
18343 recompute overflowing results in original rounding mode.
18344 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
18345 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
18346 recompute overflowing results in original rounding mode.
18347 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
18348 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
18349 recompute overflowing results in original rounding mode.
18350 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
18351 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
18352 recompute overflowing results in original rounding mode.
18353 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
18354 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
18355 recompute overflowing results in original rounding mode.
18356 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
18357 (libc_feholdsetround_ctx): New macro.
18358 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
18359 * sysdeps/i386/fpu/libm-test-ulps: Update.
18360 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
18361
18362 2014-06-26 Joseph Myers <joseph@codesourcery.com>
18363
18364 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
18365 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
18366 corresponding .cpsetup call.
18367
18368 2014-06-26 Roland McGrath <roland@hack.frob.com>
18369
18370 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
18371 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
18372 * sysdeps/arm/Makefile [$(subdir) = csu]
18373 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
18374 (static-only-routines): Add aeabi_read_tp here.
18375 (shared-only-routines): Add libc-aeabi_read_tp here.
18376 (CFLAGS-libc-start.c): Add -fexceptions here.
18377 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
18378 (sysdep_routines, static-only-routines, shared-only-routines):
18379 Don't add to these here.
18380 (CFLAGS-libc-start.c): Likewise.
18381
18382 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
18383 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
18384 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
18385 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
18386 * sysdeps/arm/Makefile [$(subdir) = rt]
18387 (librt-sysdep_routines, librt-shared-only-routines):
18388 Append rt-aeabi_unwind_cpp_pr1 here.
18389 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
18390 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
18391 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
18392 (libpthread-sysdep_routines, libpthread-shared-only-routines):
18393 Append nptl-aeabi_unwind_cpp_pr1 here.
18394 (tests): Filter out tst-cleanupx4 here.
18395 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
18396 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
18397 Don't do those here.
18398
18399 2014-06-26 Joseph Myers <joseph@codesourcery.com>
18400
18401 * scripts/list-sources.sh: Do not handle ports specially.
18402
18403 2014-06-26 Roland McGrath <roland@hack.frob.com>
18404
18405 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
18406 * sysdeps/arm/feupdateenv.c: Likewise.
18407
18408 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
18409
18410 2014-06-26 Joseph Myers <joseph@codesourcery.com>
18411
18412 * manual/texinfo.tex: Update to version 2014-05-05.10 with
18413 trailing whitespace removed.
18414 * scripts/config.guess: Update to version 2014-03-23.
18415 * scripts/config.sub: Update to version 2014-05-01
18416 * scripts/install-sh: Update to version 2013-12-25.23.
18417 * scripts/move-if-change: Update from gnulib.
18418
18419 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18420
18421 * debug/memmove_chk.c: Remove pagecopy.h include.
18422
18423 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
18424
18425 * time/mktime.c (leapyear): Remove inline keyword. The code is now
18426 identical to gnulib mktime.
18427
18428 2014-06-26 Joseph Myers <joseph@codesourcery.com>
18429
18430 * configure.ac: Do not test for machine being rs6000. Do not test
18431 for powerpc*-*soft.
18432 * configure: Regenerated.
18433
18434 [BZ #11505]
18435 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
18436 test.
18437 * configure: Regenerated.
18438 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
18439 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
18440 Remove configure test.
18441 * sysdeps/arm/configure: Regenerated.
18442 * sysdeps/nptl/configure.ac: Do not check
18443 libc_cv_asm_cfi_directives.
18444 * sysdeps/nptl/configure: Regenerated.
18445 * sysdeps/x86_64/nptl/configure.ac: Remove file.
18446 * sysdeps/x86_64/nptl/configure: Remove generated file.
18447 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
18448 unconditional.
18449 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
18450
18451 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18452
18453 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
18454 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
18455 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
18456 it is defined.
18457
18458 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
18459 instead of whether it is defined.
18460 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
18461 * sysdeps/hppa/dl-machine.h: Likewise.
18462 * sysdeps/ia64/dl-machine.h: Likewise.
18463 * sysdeps/m68k/dl-machine.h: Likewise.
18464 * sysdeps/microblaze/dl-machine.h: Likewise.
18465 * sysdeps/mips/dl-machine.: Likewise.
18466 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
18467 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
18468 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
18469 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
18470 * sysdeps/sh/dl-machine.h: Likewise.
18471 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
18472 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
18473 * sysdeps/tile/dl-machine.h: Likewise.
18474 * sysdeps/x86_64/dl-machine.h: Likewise.
18475
18476 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
18477 code.
18478 (verify_persistent_db): Likewise.
18479
18480 2014-06-26 Roland McGrath <roland@hack.frob.com>
18481
18482 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
18483 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
18484 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
18485 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
18486 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
18487 Moved ...
18488 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
18489 ... here.
18490 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
18491 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
18492 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
18493 Identical file removed.
18494 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
18495 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
18496 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
18497 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
18498 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
18499 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
18500 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
18501 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
18502 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
18503 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
18504 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18505 Moved ...
18506 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
18507 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
18508 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
18509 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
18510 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
18511 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
18512 Moved ...
18513 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
18514 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
18515 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
18516 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
18517 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
18518 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
18519 Identical file removed.
18520 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
18521 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
18522 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
18523 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
18524 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
18525 Moved ...
18526 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
18527 ... here.
18528 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
18529 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
18530 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
18531 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
18532 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
18533 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
18534 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
18535 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
18536 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
18537 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
18538 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18539 Moved ...
18540 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
18541 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
18542 Moved ...
18543 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
18544 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
18545 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
18546 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
18547 Moved ...
18548 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
18549 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
18550 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
18551
18552 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
18553 folded into ...
18554 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
18555 * sysdeps/unix/sysv/linux/s390/Versions
18556 (libpthread: GLIBC_2.19): New version set.
18557 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
18558 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
18559 (librt: GLIBC_2.3.3): New version set.
18560 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
18561 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
18562 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
18563 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
18564 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
18565 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
18566 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
18567 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
18568 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
18569 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
18570 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
18571 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
18572 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
18573 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
18574 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
18575 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
18576 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
18577 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
18578 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
18579 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
18580 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
18581 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
18582 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
18583 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
18584 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
18585 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
18586 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
18587 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
18588 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
18589 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
18590 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
18591 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
18592 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
18593 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
18594 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
18595 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
18596 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
18597 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
18598 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
18599 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
18600 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
18601 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
18602 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
18603 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
18604 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
18605
18606 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
18607 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
18608 (__libc_vfork): Define the function under this name.
18609 [!NOT_IN_libc] (__vfork): Make this an alias.
18610 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
18611 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
18612 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
18613 (__libc_vfork): Define the function under this name.
18614 [!NOT_IN_libc] (__vfork): Make this an alias.
18615 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
18616 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
18617 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
18618 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
18619 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
18620 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
18621
18622 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
18623 code that was previously under [RESET_PID].
18624 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
18625 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
18626 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
18627
18628 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
18629 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
18630 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
18631 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
18632 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
18633 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
18634 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
18635 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
18636 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
18637 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
18638 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
18639 Moved ...
18640 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
18641 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
18642 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
18643 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
18644 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
18645 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
18646 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
18647 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
18648 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
18649 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
18650 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
18651 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
18652 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
18653 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
18654 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
18655 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
18656 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
18657 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
18658 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
18659 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
18660 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
18661 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
18662 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
18663 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
18664 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
18665 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
18666 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
18667 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
18668 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
18669
18670 2014-06-25 Roland McGrath <roland@hack.frob.com>
18671
18672 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
18673 that was previously under [RESET_PID].
18674 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
18675
18676 2014-06-25 Joseph Myers <joseph@codesourcery.com>
18677
18678 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
18679 not undefine and redefine.
18680 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
18681 [O_CLOEXEC]: Make code unconditional.
18682 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
18683 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
18684 <kernel-features.h>.
18685 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
18686 conditional variable definition.
18687 (shm_open) [O_CLOEXEC]: Make code unconditional.
18688 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
18689 code.
18690
18691 * configure.ac (USE_REGPARMS): Don't define here.
18692 * configure: Regenerated.
18693 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
18694 * sysdeps/i386/configure: Regenerated.
18695
18696 * nptl/createthread.c: Don't include kernel-features.h.
18697 * nptl/pthread_cancel.c: Likewise.
18698 * nptl/pthread_condattr_setclock.c: Likewise.
18699 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
18700 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
18701 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
18702 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
18703 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
18704 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
18705 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
18706 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
18707 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
18708 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
18709 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
18710 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
18711 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
18712 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
18713 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
18714 * nscd/gai.c: Likewise.
18715 * nss/nss_db/db-open.c: Likewise.
18716 * sysdeps/generic/ldsodefs.h: Likewise.
18717 * sysdeps/sh/nptl/tls.h: Likewise.
18718 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
18719 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
18720 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
18721 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
18722 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
18723 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
18724 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
18725 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
18726 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
18727 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
18728 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
18729 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
18730 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
18731 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
18732 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
18733 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
18734 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
18735 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
18736 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
18737 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
18738 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
18739 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
18740 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
18741 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
18742 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
18743 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
18744 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
18745 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
18746 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
18747 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
18748 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
18749 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
18750 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
18751 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
18752 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
18753 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
18754 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
18755 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
18756 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
18757 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
18758 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
18759 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
18760 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
18761 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
18762 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
18763 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
18764 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
18765 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
18766 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
18767 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
18768 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
18769 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
18770 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
18771 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
18772 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
18773 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
18774 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
18775 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
18776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
18777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
18778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
18779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
18780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
18781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
18782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
18783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
18784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
18785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
18786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
18787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
18788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
18789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
18790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
18791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
18792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
18793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
18794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
18795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
18796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
18797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
18798 * sysdeps/unix/sysv/linux/pread.c: Likewise.
18799 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
18800 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
18801 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
18802 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
18803 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
18804 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
18805 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
18806 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
18807 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
18808 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
18809 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
18810 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
18811 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
18812 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
18813 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
18814 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
18815 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
18816 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
18817 * sysdeps/unix/sysv/linux/system.c: Likewise.
18818 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
18819 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
18820 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
18821 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
18822 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
18823 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
18824 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
18825
18826 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
18827 * configure: Regenerated.
18828 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
18829
18830 * configure.ac (base_machine): Do not set specially for particular
18831 machines here.
18832 * configure: Regenerated.
18833 * sysdeps/powerpc/preconfigure: Move machine and base_machine
18834 settings from configure.ac.
18835 * sysdeps/i386/preconfigure: New file.
18836 * sysdeps/s390/preconfigure: Likewise.
18837 * sysdeps/sh/preconfigure: Likewise.
18838 * sysdeps/sparc/preconfigure: Likewise.
18839
18840 2014-06-25 Roland McGrath <roland@hack.frob.com>
18841
18842 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
18843 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
18844 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
18845 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
18846 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
18847 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
18848 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
18849 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
18850 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
18851 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
18852 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
18853 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
18854 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
18855 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
18856 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
18857 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
18858 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
18859 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
18860 * sysdeps/sparc/sparc64/Makefile: ... appended here.
18861
18862 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
18863 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
18864 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
18865 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
18866 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
18867 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
18868 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
18869 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
18870 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
18871 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
18872 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
18873 * sysdeps/sparc/sparc32/sem_post.c: ... here.
18874 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
18875 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
18876 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
18877 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
18878 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
18879 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
18880 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
18881 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
18882 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
18883 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
18884 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
18885 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
18886 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
18887 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
18888 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
18889 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
18890 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
18891 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
18892 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
18893 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
18894 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
18895 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
18896 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
18897 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
18898 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
18899 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
18900
18901 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
18902 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
18903 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
18904 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
18905 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
18906 Moved ...
18907 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
18908 ... here.
18909 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
18910 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
18911 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
18912 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
18913 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
18914 Moved ...
18915 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
18916 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
18917 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
18918 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
18919 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
18920 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
18921 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
18922 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
18923 Moved ...
18924 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
18925 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
18926 Moved ...
18927 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
18928 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
18929 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
18930 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
18931 Moved ...
18932 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
18933 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
18934 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
18935 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
18936 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
18937 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
18938 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
18939 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
18940 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
18941 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
18942 Moved ...
18943 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
18944 ... here.
18945 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
18946 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
18947 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
18948 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
18949 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
18950 Moved ...
18951 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
18952 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
18953 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
18954 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
18955 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
18956 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
18957 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
18958 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
18959 Moved ...
18960 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
18961 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
18962 Moved ...
18963 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
18964 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
18965 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
18966 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
18967 Moved ...
18968 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
18969 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
18970 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
18971 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
18972 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
18973
18974 2014-06-25 Joseph Myers <joseph@codesourcery.com>
18975
18976 * timezone/checktab.awk: Update from tzcode 2014e.
18977 * timezone/private.h: Likewise.
18978 * timezone/tzfile.h: Likewise.
18979 * timezone/zdump.c: Likewise.
18980 * timezone/zic.c: Likewise.
18981
18982 * sysdeps/unix/sysv/linux/kernel-features.h
18983 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
18984 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
18985 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
18986 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
18987 Remove conditional code.
18988
18989 2014-06-25 Will Newton <will.newton@linaro.org>
18990
18991 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
18992 (_dl_arm_cap_flags): Add HWCAP2 values.
18993 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
18994 (_DL_HWCAP_COUNT): Increase to 37.
18995 (_DL_HWCAP_LAST): New define.
18996 (_DL_HWCAP2_LAST): New define.
18997 (_dl_procinfo): Add support for printing
18998 AT_HWCAP2 entries.
18999 (_dl_string_hwcap): Use _dl_hwcap_string.
19000
19001 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19002
19003 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19004
19005 2014-06-25 Joseph Myers <joseph@codesourcery.com>
19006
19007 * README: Do not mention ports directory.
19008
19009 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
19010 Remove macro.
19011 * sysdeps/unix/sysv/linux/futimes.c: Do not include
19012 <kernel-features.h>.
19013 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
19014 conditional variable definition.
19015 (__futimes): Update comment.
19016 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
19017 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
19018
19019 [BZ #16560]
19020 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
19021 arguments close to 0.
19022 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
19023 Likewise.
19024 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
19025 Likewise.
19026 * math/auto-libm-test-in: Add more tests of exp10.
19027 * math/auto-libm-test-out: Regenerated.
19028 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19029
19030 * sysdeps/unix/sysv/linux/kernel-features.h
19031 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
19032 * sysdeps/unix/sysv/linux/readv.c: Do not include
19033 <kernel-features.h>.
19034 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
19035 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
19036 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
19037 unconditional.
19038 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
19039 conditional code.
19040 * sysdeps/unix/sysv/linux/writev.c: Do not include
19041 <kernel-features.h>.
19042 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
19043 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
19044 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
19045 unconditional.
19046 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
19047 conditional code.
19048
19049 2014-06-25 Will Newton <will.newton@linaro.org>
19050
19051 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
19052 comment changes throughout the file. Remove checks
19053 for HAVE_*_H definitions that are not required.
19054 (__gen_tempname): Call abort if an unknown kind value is
19055 passed.
19056
19057 2014-06-25 Andreas Schwab <schwab@suse.de>
19058
19059 [BZ #17086]
19060 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
19061 scalbln, scalblnf, scalblnl in libc.
19062
19063 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19064
19065 [BZ #17086]
19066 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
19067 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
19068 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
19069
19070 2014-06-24 Roland McGrath <roland@hack.frob.com>
19071
19072 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
19073 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
19074 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
19075 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
19076 Update #include.
19077 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
19078 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
19079 Update #include.
19080 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
19081 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
19082 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
19083 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
19084 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
19085 * sysdeps/x86/bits/pthreadtypes.h: ... here.
19086 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
19087 * sysdeps/x86/bits/semaphore.h: ... here.
19088 * sysdeps/x86/nptl/elide.h: Moved ...
19089 * sysdeps/x86/elide.h: ... here.
19090 * sysdeps/x86_64/nptl/Implies: File removed.
19091 * sysdeps/i386/nptl/Implies: File removed.
19092
19093 2014-06-24 Joseph Myers <joseph@codesourcery.com>
19094
19095 [BZ #16539]
19096 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
19097 return the argument for normal arguments with exponent below -64.
19098 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
19099 Likewise.
19100 * math/auto-libm-test-in: Add another test of expm1.
19101 * math/auto-libm-test-out: Regenerated.
19102
19103 [BZ #16287]
19104 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
19105 calling __erfcl for arguments at least 16.
19106 * math/auto-libm-test-in: Add more tests of erf.
19107 * math/auto-libm-test-out: Regenerated.
19108
19109 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
19110 individual architectures.
19111 * sysdeps/unix/sysv/linux/configure: Regenerated.
19112 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
19113 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
19114 * sysdeps/unix/sysv/linux/powerpc/configure.ac
19115 (ldd_rewrite_script): Define variable.
19116 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
19117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
19118 file.
19119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
19120 generated file.
19121 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
19122 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
19123 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
19124 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
19125 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
19126 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
19127 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
19128 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
19129
19130 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
19131
19132 [BZ #17084]
19133 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
19134 Rename member __data.d to __data.__elision_data.
19135
19136 2014-06-24 Wilco <wdijkstr@arm.com>
19137
19138 * NEWS: Add 16918 to fixed bug list.
19139
19140 2014-06-24 Wilco <wdijkstr@arm.com>
19141
19142 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
19143
19144 2014-06-24 Wilco <wdijkstr@arm.com>
19145
19146 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
19147 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
19148 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
19149 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
19150 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
19151 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
19152 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
19153 Use _FPU_MASK_RM.
19154
19155 2014-06-24 Wilco <wdijkstr@arm.com>
19156
19157 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
19158
19159 2014-06-24 Wilco <wdijkstr@arm.com>
19160
19161 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
19162 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
19163 * sysdeps/arm/fesetround.c (fesetround): Remove space.
19164 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
19165
19166 2014-06-24 Wilco <wdijkstr@arm.com>
19167
19168 [BZ #16918]
19169 * sysdeps/arm/feupdateenv.c (feupdateenv):
19170 Rewrite to reduce FPSCR accesses and fix return value.
19171
19172 2014-06-24 Wilco <wdijkstr@arm.com>
19173
19174 * sysdeps/arm/fclrexcpt.c (feclearexcept):
19175 Optimize to avoid unnecessary FPSCR writes.
19176 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
19177 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
19178 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
19179 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
19180
19181 2014-06-24 Wilco <wdijkstr@arm.com>
19182
19183 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
19184 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
19185 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
19186 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
19187 Call libc_fetestexcept_vfp.
19188 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
19189 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
19190 __SOFTFP__ ifdef so that they can be built for softfp.
19191
19192 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
19193
19194 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
19195 argument type signed char.
19196
19197 * Makerules (check-abi): Dump diff of symlist if the test
19198 fails.
19199
19200 2014-06-23 Roland McGrath <roland@hack.frob.com>
19201
19202 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
19203 using abort.
19204
19205 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
19206 Remove unused variable ST.
19207
19208 2014-06-23 Joseph Myers <joseph@codesourcery.com>
19209
19210 [BZ #16354]
19211 [BZ #17061]
19212 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
19213 small arguments before calling __expm1.
19214 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
19215 small arguments before calling __expm1f.
19216 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
19217 small arguments before calling __expm1l.
19218 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
19219 Likewise.
19220 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
19221 * math/auto-libm-test-in: Add more cosh tests. Do not allow
19222 spurious underflow for some cosh tests.
19223 * math/auto-libm-test-out: Regenerated.
19224 * sysdeps/i386/fpu/libm-test-ulps: Update.
19225
19226 [BZ #17050]
19227 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
19228 (__ieee754_y1): Set errno if return value overflows.
19229 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
19230 (__ieee754_y1f): Set errno if return value overflows.
19231 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
19232 (__ieee754_y1l): Set errno if return value overflows.
19233 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
19234 (__ieee754_y1l): Set errno if return value overflows.
19235 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
19236 * math/auto-libm-test-out: Regenerated.
19237
19238 * math/gen-auto-libm-tests.c: Document use of
19239 ignore-zero-inf-sign.
19240 (input_flag_type): Add value flag_ignore_zero_inf_sign.
19241 (input_flags): Add ignore-zero-inf-sign.
19242 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
19243 * math/gen-libm-test.pl (generate_testfile): Handle
19244 ignore-zero-inf-sign.
19245 * math/auto-libm-test-in: Mark some cpow tests with
19246 ignore-zero-inf-sign and some with xfail-rounding.
19247 * math/auto-libm-test-out: Regenerated.
19248 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
19249 * sysdeps/i386/fpu/libm-test-ulps: Update.
19250 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19251
19252 [BZ #16315]
19253 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
19254 overflowing or underflowing operations take place with sign of
19255 result.
19256 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
19257 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
19258 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
19259 (__ieee754_pow): Recompute overflowing and underflowing results in
19260 original rounding mode.
19261 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
19262 (__powl_helper): Allow negative argument X and scale negated value
19263 as needed. Avoid passing value outside [-1, 1] to f2xm1.
19264 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
19265 overflowing or underflowing operations take place with sign of
19266 result.
19267 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
19268 Include <math.h>.
19269 * math/auto-libm-test-in: Add more tests of pow.
19270 * math/auto-libm-test-out: Regenerated.
19271 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
19272 (pow_tonearest_test_data): Remove.
19273 (pow_test_tonearest): Likewise.
19274 (pow_towardzero_test_data): Likewise.
19275 (pow_test_towardzero): Likewise.
19276 (pow_downward_test_data): Likewise.
19277 (pow_test_downward): Likewise.
19278 (pow_upward_test_data): Likewise.
19279 (pow_test_upward): Likewise.
19280 (main): Don't call removed functions.
19281 * sysdeps/i386/fpu/libm-test-ulps: Update.
19282 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19283
19284 2014-06-23 Roland McGrath <roland@hack.frob.com>
19285
19286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
19287 Moved ...
19288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
19289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19290 Moved ...
19291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
19292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
19293 Moved ...
19294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
19295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
19296 Moved ...
19297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
19298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
19299 File removed.
19300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
19301 File removed.
19302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
19303 File removed.
19304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
19305 File removed.
19306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
19307 File removed.
19308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
19309 File removed.
19310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
19311 File removed.
19312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
19313 File removed.
19314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
19315 File removed.
19316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
19317 File removed.
19318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
19319 File removed.
19320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
19321 File removed.
19322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
19323 Moved ...
19324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
19325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
19326 Moved ...
19327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
19328 ... here.
19329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
19330 Moved ...
19331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
19332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
19333 Moved ...
19334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
19335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
19336 Moved ...
19337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
19338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
19339 Moved ...
19340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
19341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
19342 Moved ...
19343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
19344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
19345 Moved ...
19346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
19347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
19348 Moved ...
19349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
19350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
19351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
19352 ... here.
19353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
19354 Moved ...
19355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
19356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
19357 Moved ...
19358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
19359 ... here.
19360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
19361 Moved ...
19362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
19363 ... here.
19364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
19365 Moved ...
19366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
19367 ... here.
19368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
19369 Moved ...
19370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
19371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
19372 Moved ...
19373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
19374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
19375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
19376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
19377 Moved ...
19378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
19379 ... here.
19380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
19381 Moved ...
19382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
19383 ... here.
19384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
19385 Moved ...
19386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
19387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
19388 Moved ...
19389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
19390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
19391 Moved ...
19392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
19393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19394 Moved ...
19395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
19396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
19397 Moved ...
19398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
19399 ... here.
19400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
19401 Moved ...
19402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
19403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
19404 Moved ...
19405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
19406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
19407 Moved ...
19408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
19409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
19410 Moved ...
19411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
19412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
19413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
19414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
19415 Moved ...
19416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
19417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
19418 Moved ...
19419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
19420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
19421 Moved ...
19422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
19423 ... here.
19424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19425 Moved ...
19426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
19427 ... here.
19428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
19429 Moved ...
19430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
19431 ... here.
19432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
19433 Moved ...
19434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
19435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
19436 Moved ...
19437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
19438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
19439 Moved ...
19440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
19441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
19442 Moved ...
19443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
19444 ... here.
19445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
19446 Moved ...
19447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
19448 ... here.
19449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
19450 Moved ...
19451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
19452 ... here.
19453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
19454 Moved ...
19455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
19456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
19457 Moved ...
19458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
19459
19460 2014-06-23 Will Newton <will.newton@linaro.org>
19461 Wilco <wdijkstr@arm.com>
19462
19463 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
19464 implementation. Include get-rounding-mode.h.
19465 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
19466 [!libc_feholdsetround_noex_ctx]: Define
19467 libc_feholdsetround_noex_ctx.
19468 [!libc_feholdsetround_noexf_ctx]: Define
19469 libc_feholdsetround_noexf_ctx.
19470 [!libc_feholdsetround_noexl_ctx]: Define
19471 libc_feholdsetround_noexl_ctx.
19472 (libc_feholdsetround_ctx): New function.
19473 (libc_feresetround_ctx): New function.
19474 (libc_feholdsetround_noex_ctx): New function.
19475 (libc_feresetround_noex_ctx): New function.
19476
19477 2014-06-23 Roland McGrath <roland@hack.frob.com>
19478
19479 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
19480 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
19481 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
19482 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
19483 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
19484 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
19485
19486 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
19487 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
19488 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
19489 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
19490 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
19491 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
19492 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
19493 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
19494 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
19495 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
19496 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
19497 Moved ...
19498 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
19499 ... here.
19500 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
19501 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
19502 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
19503 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
19504 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
19505 Moved ...
19506 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
19507 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
19508 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
19509 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
19510 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
19511 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
19512 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
19513 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
19514 Moved ...
19515 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
19516 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
19517 Moved ...
19518 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
19519 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
19520 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
19521 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
19522 Moved ...
19523 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
19524 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
19525 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
19526 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
19527 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
19528 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
19529 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
19530 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
19531 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
19532 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
19533 Moved ...
19534 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
19535 ... here.
19536 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
19537 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
19538 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
19539 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
19540 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
19541 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
19542 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
19543 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
19544 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
19545 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
19546 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
19547 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
19548 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
19549 Moved ...
19550 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
19551 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
19552 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
19553 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
19554 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
19555 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
19556 Moved ...
19557 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
19558 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
19559 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
19560 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
19561 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
19562
19563 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
19564 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
19565 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
19566 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
19567 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
19568 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
19569 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
19570 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
19571 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
19572 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
19573 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
19574 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
19575 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
19576 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
19577 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
19578 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
19579 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
19580 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
19581 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
19582 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
19583 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
19584 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
19585 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
19586 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
19587 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
19588 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
19589 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
19590 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
19591
19592 2014-06-23 Joseph Myers <joseph@codesourcery.com>
19593
19594 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
19595 (FALLOC_FL_COLLAPSE_RANGE): New macro.
19596 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
19597 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
19598 (IPV6_PMTUDISC_INTERFACE): Likewise.
19599 (IPV6_PMTUDISC_OMIT): Likewise.
19600
19601 2014-06-23 Andreas Schwab <schwab@suse.de>
19602
19603 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
19604 Remove unused errout label.
19605
19606 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19607
19608 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
19609 macro: hardware supports Vector Crypto instructions.
19610
19611 2014-06-23 Will Newton <will.newton@linaro.org>
19612
19613 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
19614 rather than __builtin_expect.
19615
19616 * elf/dl-lookup.c (undefined_msg): Remove variable.
19617 (_dl_lookup_symbol_x): Replace undefined_msg with string
19618 literal.
19619
19620 * elf/dl-lookup.c (do_lookup_unique): New function.
19621 (do_lookup_x): Move STB_GNU_UNIQUE handling code
19622 to a separate function.
19623
19624 2014-06-23 Andreas Schwab <schwab@suse.de>
19625
19626 [BZ #17079]
19627 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
19628 before reading the next line.
19629
19630 2014-06-23 Will Newton <will.newton@linaro.org>
19631
19632 * test-skeleton.c (signal_handler): Use printf and %m
19633 rather than perror. Use printf rather than fprintf to
19634 stderr. Use puts rather than fputs to stderr.
19635 (main): Likewise.
19636
19637 2014-06-22 Ludovic Courtès <ludo@gnu.org>
19638
19639 * nscd/nscd.c (thread_info_t): Remove typedef.
19640 (thread_info): Remove variable.
19641
19642 2014-06-21 Allan McRae <allan@archlinux.org>
19643
19644 * NEWS: Mention CVE-2014-4043.
19645
19646 2014-06-20 Roland McGrath <roland@hack.frob.com>
19647
19648 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
19649 * nptl/smp.h: ... here.
19650
19651 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
19652
19653 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
19654 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
19655 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
19656 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
19657
19658 * nptl/allocatestack.c: Include <stack-aliasing.h>.
19659 * nptl/stack-aliasing.h: New file.
19660 * sysdeps/i386/i686/stack-aliasing.h: New file.
19661 * sysdeps/i386/i686/nptl/Makefile: File removed.
19662 * sysdeps/x86_64/stack-aliasing.h: New file.
19663 * sysdeps/x86_64/nptl/Makefile
19664 (CFLAGS-pthread_create.c): Variable removed.
19665
19666 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
19667 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
19668 old file.
19669 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
19670 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
19671 old file.
19672
19673 2014-06-21 Joseph Myers <joseph@codesourcery.com>
19674
19675 * sysdeps/unix/sysv/linux/arm/kernel-features.h
19676 (__ASSUME_SIGFRAME_V2): Remove macro.
19677 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
19678 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
19679 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
19680 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
19681 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
19682 Declare as function. Remove conditional macro definitions.
19683 (__default_rt_sa_restorer): Likewise.
19684 (__default_sa_restorer_v1): Remove declaration.
19685 (__default_sa_restorer_v2): Likewise.
19686 (__default_rt_sa_restorer_v1): Likewise.
19687 (__default_rt_sa_restorer_v2): Likewise.
19688 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
19689 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
19690 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
19691
19692 2014-06-20 Roland McGrath <roland@hack.frob.com>
19693
19694 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
19695 (libpthread-routines): Add sysdep.
19696 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
19697 * sysdeps/unix/sysv/linux/sparc/Versions
19698 (libpthread: GLIBC_2.3.3): New version set.
19699 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
19700 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
19701 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
19702 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
19703 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
19704 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
19705 Moved ...
19706 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
19707 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
19708 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
19709 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
19710 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
19711 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
19712 * sysdeps/sparc/nptl/sem_init.c: ... here.
19713 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
19714 * sysdeps/sparc/nptl/sem_post.c: ... here.
19715 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
19716 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
19717 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
19718 * sysdeps/sparc/nptl/sem_wait.c: ... here.
19719 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
19720 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
19721 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
19722 (libpthread-routines): Add cpu_relax.
19723 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
19724 File removed.
19725 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
19726 (librt: GLIBC_2.3.3): New version set.
19727 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
19728 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
19729 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
19730 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
19731 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
19732 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
19733 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
19734 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
19735 Moved ...
19736 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
19737 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
19738 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
19739 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
19740 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
19741 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
19742 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
19743 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
19744 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
19745 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
19746 Moved ...
19747 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
19748 Update #include.
19749 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
19750 Moved ...
19751 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
19752 Update #include.
19753 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
19754 Moved ...
19755 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
19756 Update #include.
19757 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
19758 Moved ...
19759 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
19760 Update #include.
19761 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
19762 Moved ...
19763 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
19764 Update #include.
19765 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
19766 Moved ...
19767 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
19768 Update #include.
19769 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
19770 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
19771 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
19772 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
19773 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
19774 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
19775 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
19776 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
19777 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
19778 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
19779 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
19780 Moved ...
19781 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
19782 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
19783 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
19784 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
19785 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
19786
19787 2014-06-20 Joseph Myers <joseph@codesourcery.com>
19788
19789 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
19790 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
19791 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
19792 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
19793 * nscd/nscd.c: Likewise.
19794 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
19795 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
19796 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
19797 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
19798
19799 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
19800 <kernel-features.h>.
19801 (init_mq_netlink): Remove conditional have_sock_cloexec
19802 definitions. Remove code conditional on have_sock_cloexec < 0.
19803 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
19804 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
19805 * sysdeps/unix/sysv/linux/opensock.c: Do not include
19806 <kernel-features.h>.
19807 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
19808 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
19809
19810 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
19811
19812 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19813 Add tests for memset_chk and memset.
19814
19815 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
19816 with AVX2_Usable.
19817
19818 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
19819
19820 [BZ #16046]
19821 * elf/tst-dl-iter-static.c: New file.
19822 * elf/Makefile (tests-static): Add tst-dl-iter-static.
19823
19824 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
19825 error.
19826
19827 2014-06-20 Joseph Myers <joseph@codesourcery.com>
19828
19829 * sysdeps/unix/sysv/linux/kernel-features.h
19830 (__ASSUME_F_GETOWN_EX): Remove macro.
19831 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
19832 <kernel-features.h>.
19833 (miss_F_GETOWN_EX): Remove variable or macro.
19834 (do_fcntl): Do not check miss_F_GETOWN_EX.
19835 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
19836
19837 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
19838 Remove macro.
19839 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
19840 [!__ASSUME_AT_RANDOM]: Remove conditional code.
19841 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
19842
19843 * sysdeps/unix/sysv/linux/kernel-features.h
19844 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
19845 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
19846 [ADJ_OFFSET_SS_READ]: Make code unconditional.
19847 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
19848
19849 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
19850
19851 [BZ #17075]
19852 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
19853 Fix calculation of the symbol's value.
19854 * sysdeps/arm/tst-armtlsdescloc.c: New file.
19855 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
19856 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
19857 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
19858 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
19859 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
19860 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
19861 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
19862 (modules-names): Add `tst-armtlsdescmod',
19863 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
19864 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
19865 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
19866 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
19867 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
19868 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
19869 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
19870 ($(objpfx)tst-armtlsdescloc): New dependency.
19871 ($(objpfx)tst-armtlsdescextnow): Likewise.
19872 ($(objpfx)tst-armtlsdescextlazy): Likewise.
19873 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
19874 TLS scheme support.
19875 * sysdeps/arm/configure: Regenerate.
19876
19877 2014-06-20 Joseph Myers <joseph@codesourcery.com>
19878
19879 * include/fcntl.h (__atfct_seterrno): Remove prototype.
19880 (__atfct_seterrno_2): Likewise.
19881 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
19882 <kernel-features.h>.
19883 (__ASSUME_ATFCTS): Do not undefine and redefine.
19884 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
19885 (__have_atfcts): Remove conditional definition.
19886 (__fxstatat([__NR_fstatat64]: Make code unconditional.
19887 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
19888 unreachable if [__ASSUME_ATFCTS].
19889 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
19890 not undefine and redefine.
19891 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
19892 <kernel-features.h>.
19893 (faccessat) [__NR_faccessat]: Make code unconditional.
19894 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
19895 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
19896 <kernel-features.h>.
19897 (fchmodat) [__NR_fchmodat]: Make code unconditional.
19898 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
19899 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
19900 <kernel-features.h>.
19901 (fchownat) [__NR_fchownat]: Make code unconditional.
19902 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
19903 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
19904 <kernel-features.h>.
19905 (futimesat) [__NR_futimesat]: Make code unconditional.
19906 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
19907 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
19908 <kernel-features.h>.
19909 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
19910 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
19911 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
19912 <kernel-features.h>.
19913 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
19914 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
19915 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
19916 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
19917 <kernel-features.h>.
19918 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
19919 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
19920 * sysdeps/unix/sysv/linux/linkat.c: Do not include
19921 <kernel-features.h>.
19922 (linkat) [__NR_linkat]: Make code unconditional.
19923 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
19924 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
19925 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
19926 <kernel-features.h>.
19927 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
19928 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
19929 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
19930 <kernel-features.h>.
19931 (mkdirat) [__NR_mkdirat]: Make code unconditional.
19932 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
19933 * sysdeps/unix/sysv/linux/openat.c: Do not include
19934 <kernel-features.h>.
19935 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
19936 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
19937 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
19938 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
19939 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
19940 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
19941 <kernel-features.h>.
19942 (readlinkat) [__NR_readlinkat]: Make code unconditional.
19943 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
19944 result of INLINE_SYSCALL directly, not via int variable.
19945 * sysdeps/unix/sysv/linux/renameat.c: Do not include
19946 <kernel-features.h>.
19947 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
19948 (renameat) [__NR_renameat]: Make code unconditional.
19949 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
19950 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
19951 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
19952 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
19953 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
19954 (__ASSUME_ATFCTS): Do not undefine and redefine.
19955 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
19956 <kernel-features.h>.
19957 (symlinkat) [__NR_symlinkat]: Make code unconditional.
19958 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
19959 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
19960 <kernel-features.h>.
19961 (unlinkat) [__NR_unlinkat]: Make code unconditional.
19962 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
19963 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
19964 (__ASSUME_ATFCTS): Do not undefine and redefine.
19965 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
19966 <kernel-features.h>.
19967 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
19968 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
19969 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
19970 <kernel-features.h>.
19971 (__xmknodat) [__NR_mknodat]: Make code unconditional.
19972 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
19973
19974 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
19975
19976 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
19977
19978 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
19979
19980 [BZ #17069]
19981 * posix/regcomp.c (parse_reg_exp): Deallocate partially
19982 constructed tree before returning error.
19983 * posix/bug-regexp36.c: Expand test case.
19984
19985 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
19986
19987 [BZ #6803]
19988 * math/libm-test.inc (scalbln_test_date):
19989 Add errno expectations.
19990 * math/w_scalblnf.c: New File.
19991 Add wrapper which checks for setting errno to ERANGE.
19992 Add weak_alias for corresponding scalbln function.
19993 * math/w_scalbln.c: Likewise.
19994 * math/w_scalblnl.c: Likewise.
19995 * math/Makefile (libm-calls): Add w_scalbln.
19996 * sysdeps/ieee754/flt-32/s_scalblnf.c:
19997 Remove weak_alias for corresponding scalbln function.
19998 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
19999 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
20000 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
20001 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
20002 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
20003 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
20004 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
20005 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
20006 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
20007 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
20008 Remove long_double_symbol for scalblnl function in libm, libc.
20009 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
20010 Add wrapper which checks for setting errno to ERANGE.
20011 Add long_double_symbol for scalblnl function in libm, libc.
20012 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
20013 Remove long_double_symbol for scalblnl in libm.
20014 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
20015 Add wrapper which checks for setting errno to ERANGE.
20016 Add long_double_symbol for scalblnl function in libm.
20017 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
20018 Do not use wrapper because of own implementation.
20019
20020 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
20021
20022 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
20023 3 bytes for __pad1 for x32.
20024 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
20025
20026 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
20027 H.J. Lu <hongjiu.lu@intel.com>
20028
20029 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
20030 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
20031 * sysdeps/x86_64/multiarch/memset.S: Likewise.
20032 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
20033 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
20034
20035 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
20036
20037 [BZ #17069]
20038 * posix/regcomp.c (parse_expression): Deallocate partially
20039 constructed tree before returning error.
20040 * posix/Makefile.c (tests): Add bug-regex36.
20041 (generated): Add bug-regex36.mtrace.
20042 (tests-special): Add $(objpfx)bug-regex36-mem.out
20043 (bug-regex36-ENV): New variable.
20044 ($(objpfx)bug-regex36-mem.out): New rule.
20045 * posix/bug-regex36.c: New file.
20046
20047 2014-06-19 Will Newton <will.newton@linaro.org>
20048
20049 * malloc/malloc.c (systrim): If extra is zero then return
20050 early.
20051
20052 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20053
20054 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
20055
20056 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
20057
20058 * sysdeps/aarch64/strchr.S: New file.
20059
20060 2014-06-18 Joseph Myers <joseph@codesourcery.com>
20061
20062 [BZ #17022]
20063 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
20064 from arguments -2 or below.
20065 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
20066 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
20067
20068 2014-06-18 Andreas Schwab <schwab@suse.de>
20069
20070 [BZ #17062]
20071 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
20072 of a bracket expr not to run off the end of the string.
20073 * posix/Makefile (tests): Add tst-fnmatch3.
20074 * posix/tst-fnmatch3.c: New file.
20075
20076 2014-06-18 Joseph Myers <joseph@codesourcery.com>
20077
20078 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
20079 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
20080 [$(cross-compiling) = no]: Likewise.
20081 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
20082 [$(cross-compiling) = no]: Likewise.
20083
20084 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20085
20086 [BZ #17031]
20087 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
20088 double, adjusted for any remainder from the high double.
20089 * math/libm-test.inc (nearbyint): Add tests.
20090 (rint): Likewise.
20091
20092 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20093
20094 * nptl/sysdeps/powerpc/Makefile: Moved ...
20095 * sysdeps/powerpc/nptl/Makefile: ... here.
20096 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
20097 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
20098 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
20099 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
20100 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
20101 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
20102 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
20103 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
20104 * nptl/sysdeps/powerpc/tls.h: Moved ...
20105 * sysdeps/powerpc/nptl/tls.h: ... here.
20106
20107 2014-06-16 Joseph Myers <joseph@codesourcery.com>
20108
20109 [BZ #16681]
20110 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
20111 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
20112 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
20113 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
20114 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
20115 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
20116 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
20117 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
20118 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
20119
20120 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
20121
20122 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
20123
20124 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
20125
20126 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
20127 defined operator.
20128
20129 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
20130 $TIMEOUTFACTOR.
20131
20132 2014-06-16 Florian Weimer <fweimer@redhat.com>
20133
20134 [BZ #17058]
20135 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
20136 non-executed part of the test.
20137
20138 2014-06-16 Andreas Schwab <schwab@suse.de>
20139
20140 * string/bits/string2.h (strdup, strndup): Update feature guard.
20141
20142 2014-06-14 David S. Miller <davem@davemloft.net>
20143
20144 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20145
20146 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
20147
20148 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
20149 that was previously under [RESET_PID].
20150 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
20151
20152 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
20153 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
20154 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
20155 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
20156 (__libc_vfork): New strong alias.
20157 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
20158
20159 2014-06-14 Andi Kleen <ak@linux.intel.com>
20160
20161 * sysdeps/generic/elide.h: New file.
20162
20163 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
20164
20165 * Makefile (installed-headers): Adjust path of pthread.h header.
20166
20167 2014-06-13 Roland McGrath <roland@hack.frob.com>
20168
20169 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
20170 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
20171 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
20172 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
20173
20174 * nptl/sysdeps/s390/Makefile: Moved ...
20175 * sysdeps/s390/nptl/Makefile: ... here.
20176 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
20177 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
20178 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
20179 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
20180 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
20181 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
20182 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
20183 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
20184 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
20185 * sysdeps/s390/nptl/pthreaddef.h: ... here.
20186 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
20187 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
20188 * nptl/sysdeps/s390/tls.h: Moved ...
20189 * sysdeps/s390/nptl/tls.h: ... here.
20190
20191 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
20192 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
20193
20194 2014-06-13 David S. Miller <davem@davemloft.net>
20195
20196 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
20197 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
20198 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
20199 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
20200 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
20201 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
20202 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
20203 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
20204 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
20205 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
20206 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
20207 Remove RESET_PID cpp guards.
20208 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
20209 Remove RESET_PID cpp guards.
20210 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
20211
20212 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
20213
20214 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
20215 __sp to uintptr_t.
20216
20217 2014-06-13 Andi Kleen <ak@linux.intel.com>
20218
20219 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
20220 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
20221 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
20222 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
20223 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
20224 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
20225 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
20226 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
20227 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
20228 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
20229 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
20230 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
20231 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
20232 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
20233 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
20234 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
20235 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
20236 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
20237 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
20238 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
20239
20240 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
20241 (pthread_rwlock_rdlock): Add elision.
20242 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
20243 (pthread_rwlock_wrlock): Add elision.
20244 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
20245 (pthread_rwlock_trywrlock): Add elision.
20246 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
20247 (pthread_rwlock_tryrdlock): Add elision.
20248 * nptl/pthread_rwlock_unlock.c: Include elide.h.
20249 (pthread_rwlock_tryrdlock): Add elision unlock.
20250 * nptl/sysdeps/pthread/pthread.h:
20251 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
20252 (PTHREAD_RWLOCK_INITIALIZER,
20253 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
20254 Handle new elision field.
20255 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
20256 * sysdeps/arm/nptl/bits/pthreadtypes.h
20257 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20258 * sysdeps/sh/nptl/bits/pthreadtypes.h
20259 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20260 * sysdeps/tile/nptl/bits/pthreadtypes.h
20261 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20262 * sysdeps/a/nptl/bits/pthreadtypes.h
20263 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20264 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
20265 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20266 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
20267 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20268 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
20269 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20270 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
20271 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20272 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
20273 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20274 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
20275 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20276 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
20277 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20278 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
20279 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20280 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
20281 (elision_init): Set try_xbegin to zero when no RTM.
20282 * sysdeps/x86/nptl/bits/pthreadtypes.h
20283 (pthread_rwlock_t): Change __pad1 to __rwelision.
20284 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20285
20286 2014-06-13 Andi Kleen <ak@linux.intel.com>
20287
20288 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
20289 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
20290 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
20291 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
20292
20293 2014-06-13 Meador Inge <meadori@codesourcery.com>
20294
20295 [BZ #16996]
20296 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
20297 that the cached result has been set before returning it.
20298
20299 2014-06-12 Roland McGrath <roland@hack.frob.com>
20300
20301 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
20302 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
20303 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
20304 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
20305 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
20306 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
20307
20308 * nptl/sysdeps/sparc/Makefile: Moved ...
20309 * sysdeps/sparc/nptl/Makefile: ... here.
20310 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
20311 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
20312 * nptl/sysdeps/sparc/tls.h: Moved ...
20313 * sysdeps/sparc/nptl/tls.h: ... here.
20314 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
20315 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
20316 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
20317 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
20318 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
20319 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
20320 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
20321 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
20322 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
20323 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
20324 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
20325 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
20326 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
20327 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
20328 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
20329 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
20330 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
20331 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
20332 Update #include.
20333 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
20334 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
20335 Update #include.
20336 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
20337 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
20338 Update #include.
20339 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
20340 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
20341 Update #include.
20342
20343 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
20344
20345 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
20346 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
20347
20348 * sysdeps/pthread/posix-timer.h: Include <list.h>.
20349 (struct list_links): Type removed.
20350 (struct thread_node, struct timer_node): Replace struct list_links
20351 with struct list_head.
20352 (list_unlink_ip): Likewise.
20353 * sysdeps/pthread/timer_routines.c
20354 (timer_free_list, thread_free_list, thread_active_list): Likewise.
20355 (list_append, list_insbefore): Likewise.
20356 (list_init): Function removed.
20357 (thread_init, init_module): Use INIT_LIST_HEAD instead.
20358 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
20359 * sysdeps/pthread/Makefile: ... here, new file.
20360
20361 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
20362 * sysdeps/nptl/Implies: ... here.
20363 * sysdeps/unix/sysv/linux/Implies: Add nptl.
20364 * nptl/sysdeps/pthread/list.h: Moved ...
20365 * include/list.h: ... here.
20366 * nptl/sysdeps/pthread/createthread.c: Moved ...
20367 * nptl/createthread.c: ... here.
20368 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
20369 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
20370 * nptl/pt-longjmp.c: ... here.
20371 * nptl/sysdeps/pthread/Makefile: Moved ...
20372 * sysdeps/nptl/Makefile: ... here.
20373 * nptl/sysdeps/pthread/Subdirs: Moved ...
20374 * sysdeps/nptl/Subdirs: ... here.
20375 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
20376 * sysdeps/nptl/aio_misc.h: ... here.
20377 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
20378 * sysdeps/nptl/bits/libc-lock.h: ... here.
20379 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
20380 * sysdeps/nptl/bits/libc-lockP.h: ... here.
20381 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
20382 * sysdeps/nptl/bits/stdio-lock.h: ... here.
20383 * nptl/sysdeps/pthread/configure: Moved ...
20384 * sysdeps/nptl/configure: ... here.
20385 * nptl/sysdeps/pthread/configure.ac: Moved ...
20386 * sysdeps/nptl/configure.ac: ... here.
20387 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
20388 * sysdeps/nptl/gai_misc.h: ... here.
20389 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
20390 * sysdeps/nptl/librt-cancellation.c: ... here.
20391 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
20392 * sysdeps/nptl/malloc-machine.h: ... here.
20393 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
20394 * sysdeps/nptl/pthread-functions.h: ... here.
20395 * nptl/sysdeps/pthread/pthread.h: Moved ...
20396 * sysdeps/nptl/pthread.h: ... here.
20397 * nptl/sysdeps/pthread/setxid.h: Moved ...
20398 * sysdeps/nptl/setxid.h: ... here.
20399 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
20400 * sysdeps/nptl/sigfillset.c: ... here.
20401 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
20402 * sysdeps/nptl/tcb-offsets.h: ... here.
20403 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
20404 * sysdeps/nptl/tst-mqueue8x.c: ... here.
20405 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
20406 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
20407 * nptl/sysdeps/pthread/allocalim.h: Moved ...
20408 * sysdeps/pthread/allocalim.h: ... here.
20409 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
20410 * sysdeps/pthread/bits/sigthread.h: ... here.
20411 * nptl/sysdeps/pthread/flockfile.c: Moved ...
20412 * sysdeps/pthread/flockfile.c: ... here.
20413 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
20414 * sysdeps/pthread/ftrylockfile.c: ... here.
20415 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
20416 * sysdeps/pthread/funlockfile.c: ... here.
20417 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
20418 * sysdeps/pthread/posix-timer.h: ... here.
20419 * nptl/sysdeps/pthread/timer_create.c: Moved ...
20420 * sysdeps/pthread/timer_create.c: ... here.
20421 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
20422 * sysdeps/pthread/timer_delete.c: ... here.
20423 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
20424 * sysdeps/pthread/timer_getoverr.c: ... here.
20425 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
20426 * sysdeps/pthread/timer_gettime.c: ... here.
20427 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
20428 * sysdeps/pthread/timer_routines.c: ... here.
20429 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
20430 * sysdeps/pthread/timer_settime.c: ... here.
20431 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
20432 * sysdeps/pthread/tst-timer.c: ... here.
20433 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
20434 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
20435
20436 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
20437 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
20438
20439 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
20440 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
20441 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
20442 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
20443 Update #include target.
20444 * nptl/sysdeps/i386/i686/Makefile: Moved ...
20445 * sysdeps/i386/i686/nptl/Makefile: ... here.
20446 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
20447 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
20448 Update #include target.
20449 * nptl/sysdeps/i386/i686/tls.h: Moved ...
20450 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
20451 * nptl/sysdeps/i386/Makefile: Moved ...
20452 * sysdeps/i386/nptl/Makefile: ... here.
20453 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
20454 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
20455 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
20456 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
20457 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
20458 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
20459 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
20460 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
20461 * sysdeps/i386/nptl/pthreaddef.h: ... here.
20462 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
20463 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
20464 * nptl/sysdeps/i386/tls.h: Moved ...
20465 * sysdeps/i386/nptl/tls.h: ... here.
20466
20467 * sysdeps/sh/Makefile [$(subdir) = csu]
20468 (gen-as-const-headers): Add tcb-offsets.sym.
20469 * nptl/sysdeps/sh/Makefile: File removed.
20470 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
20471 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
20472 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
20473 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
20474 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
20475 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
20476 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
20477 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
20478 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
20479 * sysdeps/sh/nptl/pthreaddef.h: ... here.
20480 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
20481 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
20482 * nptl/sysdeps/sh/tls.h: Moved ...
20483 * sysdeps/sh/nptl/tls.h: ... here.
20484 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
20485 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
20486 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
20487 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
20488 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
20489 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
20490 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
20491 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
20492 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
20493 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
20494 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
20495 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
20496 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
20497 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
20498 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
20499 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
20500 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
20501 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
20502 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
20503 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
20504 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
20505 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
20506 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
20507 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
20508 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
20509 Moved ...
20510 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
20511 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
20512 Moved ...
20513 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
20514 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
20515 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
20516 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
20517 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
20518 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
20519 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
20520 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
20521 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
20522 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
20523 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
20524 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
20525 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
20526 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
20527 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
20528 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
20529 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
20530 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
20531 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
20532
20533 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
20534
20535 * posix/spawn_faction_addopen.c: Include string.h.
20536
20537 2014-06-11 Roland McGrath <roland@hack.frob.com>
20538
20539 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
20540 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
20541 * nptl/sysdeps/x86_64/Makefile: Moved ...
20542 * sysdeps/x86_64/nptl/Makefile: ... here.
20543 * nptl/sysdeps/x86_64/configure: Moved ...
20544 * sysdeps/x86_64/nptl/configure: ... here.
20545 * nptl/sysdeps/x86_64/configure.ac: Moved ...
20546 * sysdeps/x86_64/nptl/configure.ac: ... here.
20547 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
20548 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
20549 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
20550 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
20551 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
20552 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
20553 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
20554 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
20555 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
20556 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
20557 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
20558 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
20559 * nptl/sysdeps/x86_64/tls.h: Moved ...
20560 * sysdeps/x86_64/nptl/tls.h: ... here.
20561 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
20562 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
20563 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
20564 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
20565
20566 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
20567
20568 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20569
20570 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20571
20572 2014-06-11 Joseph Myers <joseph@codesourcery.com>
20573
20574 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
20575 type.
20576 [POSIX] (off_t): Likewise.
20577 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
20578 [POSIX] (S_ISBLK): Require macro.
20579 [POSIX] (S_ISCHR): Likewise.
20580 [POSIX] (S_ISDIR): Likewise.
20581 [POSIX] (S_ISFIFO): Likewise.
20582 [POSIX] (S_ISREG): Likewise.
20583 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
20584 optional-macro.
20585 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
20586 type.
20587 [POSIX] (time_t): Likewise.
20588 [POSIX] (timer_t): Likewise.
20589
20590 2014-06-11 Florian Weimer <fweimer@redhat.com>
20591
20592 [BZ #17048]
20593 * posix/spawn_int.h (struct __spawn_action): Make the path string
20594 non-const to support deallocation.
20595 * posix/spawn_faction_addopen.c
20596 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
20597 * posix/spawn_faction_destroy.c
20598 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
20599 path in all spawn_do_open actions.
20600 * posix/tst-spawn.c (do_test): Exercise the copy operation in
20601 posix_spawn_file_actions_addopen.
20602
20603 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
20604
20605 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
20606 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
20607 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
20608 conditional code always true.
20609 (__libc_vfork): New alias.
20610
20611 2014-06-11 Roland McGrath <roland@hack.frob.com>
20612
20613 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
20614 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
20615
20616 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
20617
20618 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
20619 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
20620
20621 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
20622 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
20623
20624 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
20625 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
20626
20627 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
20628
20629 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
20630 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
20631 multiarch strcmp for PPC64.
20632 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
20633 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
20634 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
20635 multiarch optimizations.
20636 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20637 (__libc_ifunc_impl_list): Likewise.
20638
20639 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20640
20641 * benchtests/scripts/validate_benchout.py: New script.
20642 * benchtests/Makefile (bench-func): Call it.
20643 * benchtests/scripts/benchout.schema.json: New file.
20644
20645 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
20646
20647 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
20648 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
20649 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
20650 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
20651 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
20652 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
20653 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
20654 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
20655 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
20656 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
20657 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
20658 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
20659 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
20660 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
20661 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
20662 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
20663 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
20664 Moved ...
20665 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
20666 ... here.
20667 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
20668 Moved ...
20669 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
20670 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
20671 Moved ...
20672 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
20673 ... here.
20674 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
20675 Moved ...
20676 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
20677 ... here.
20678 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
20679 Moved ...
20680 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
20681 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
20682 Moved ...
20683 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
20684 ... here.
20685 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
20686 Moved ...
20687 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
20688 ... here.
20689 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
20690 Moved ...
20691 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
20692 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
20693 Moved ...
20694 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
20695 ... here.
20696 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
20697 Moved ...
20698 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
20699 ... here.
20700 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
20701 Moved ...
20702 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
20703 ... here.
20704 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
20705 Moved ...
20706 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
20707 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
20708 Moved ...
20709 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
20710 ... here.
20711 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
20712 Moved ...
20713 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
20714 ... here.
20715 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
20716 Moved ...
20717 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
20718 ... here.
20719 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
20720 Moved ...
20721 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
20722 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
20723 Moved ...
20724 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
20725 ... here.
20726 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
20727 Moved ...
20728 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
20729 ... here.
20730 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
20731 Moved ...
20732 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
20733 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
20734 Moved ...
20735 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
20736 ... here.
20737 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
20738 Moved ...
20739 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
20740 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
20741 Moved ...
20742 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
20743 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
20744 Moved ...
20745 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
20746 ... here.
20747 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
20748 Moved ...
20749 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
20750 ... here.
20751 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
20752 Moved ...
20753 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
20754 ... here.
20755 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
20756 Moved ...
20757 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
20758 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
20759 Moved ...
20760 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
20761 ... here.
20762 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
20763 Moved ...
20764 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
20765 ... here.
20766 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
20767 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
20768 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
20769 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
20770 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
20771 Moved ...
20772 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
20773 ... here.
20774 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
20775 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
20776 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
20777 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
20778 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
20779 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
20780 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
20781 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
20782 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
20783 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
20784 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
20785 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
20786 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
20787 Moved ...
20788 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
20789 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
20790 Moved ...
20791 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
20792 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
20793 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
20794 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
20795 Moved ...
20796 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
20797 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
20798 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
20799 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
20800 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
20801 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
20802 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
20803
20804 2014-06-10 Wilco <wdijkstr@arm.com>
20805
20806 * math/test-fenv-return.c: New file.
20807 * math/Makefile: Add new test test-fenv-return.
20808
20809 2014-06-10 Joseph Myers <joseph@codesourcery.com>
20810
20811 [BZ #17042]
20812 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
20813 when x - 1 is zero.
20814 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
20815 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
20816 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
20817 0.0L for an argument of 1.0L.
20818 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
20819 Likewise.
20820 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
20821 value when x - 1 is zero.
20822 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
20823 * sysdeps/i386/fpu/libm-test-ulps: Update.
20824 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20825
20826 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
20827
20828 [BZ #15119]
20829 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
20830
20831 2014-06-09 Roland McGrath <roland@hack.frob.com>
20832
20833 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
20834 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
20835
20836 2014-06-09 Roland McGrath <roland@hack.frob.com>
20837
20838 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
20839 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
20840
20841 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
20842 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
20843
20844 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
20845 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
20846
20847 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
20848 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
20849
20850 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
20851 if not already defined.
20852 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
20853 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
20854 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
20855 (TLS_INIT_TP): Use it.
20856 (TLS_DEFINE_INIT_TP): New macro.
20857 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
20858
20859 2014-06-09 Joseph Myers <joseph@codesourcery.com>
20860
20861 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
20862 constant.
20863 [POSIX] (IXANY): Likewise.
20864 [POSIX] (OLCUC): Likewise.
20865 [POSIX || POSIX2008] (CBAUD): Do not allow.
20866 [POSIX || POSIX2008] (DEFECHO): Likewise.
20867 [POSIX || POSIX2008] (ECHOCTL): Likewise.
20868 [POSIX || POSIX2008] (ECHOKE): Likewise.
20869 [POSIX || POSIX2008] (ECHOPRT): Likewise.
20870 [POSIX || POSIX2008] (EXTA): Likewise.
20871 [POSIX || POSIX2008] (EXTB): Likewise.
20872 [POSIX || POSIX2008] (FLUSHO): Likewise.
20873 [POSIX || POSIX2008] (LOBLK): Likewise.
20874 [POSIX || POSIX2008] (PENDIN): Likewise.
20875 [POSIX || POSIX2008] (SWTCH): Likewise.
20876 [POSIX || POSIX2008] (VDISCARD): Likewise.
20877 [POSIX || POSIX2008] (VDSUSP): Likewise.
20878 [POSIX || POSIX2008] (VLNEXT): Likewise.
20879 [POSIX || POSIX2008] (VREPRINT): Likewise.
20880 [POSIX || POSIX2008] (VSTATUS): Likewise.
20881 [POSIX || POSIX2008] (VWERASE): Likewise.
20882 (B*): Change to B[0123456789]*.
20883 * conform/data/time.h-data [POSIX || UNIX98]
20884 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
20885 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
20886 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
20887 [POSIX] (tm_*): Do not allow.
20888
20889 2014-06-07 Joseph Myers <joseph@codesourcery.com>
20890
20891 * Makefile (install): Don't set LANGUAGE.
20892 * Makefile.in (install): Likewise.
20893 * assert/Makefile (test-assert-ENV): Remove variable.
20894 (test-assert-perr-ENV): Likewise.
20895 * elf/Makefile (neededtest4-ENV): Likewise.
20896 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
20897 [$(cross-compiling) = no]: Don't set LANGUAGE.
20898 * io/ftwtest-sh (LANG): Remove variable.
20899 * libio/Makefile (tst-widetext-ENV): Likewise.
20900 * manual/install.texi (Running make install): Don't refer to
20901 environment settings for make install.
20902 * INSTALL: Regenerated.
20903 * nptl/tst-tls6.sh: Don't set LANG.
20904 * posix/globtest.sh (LANG): Remove variable.
20905 * string/Makefile (tester-ENV): Likewise.
20906 (inl-tester-ENV): Likewise.
20907 (noinl-tester-ENV): Likewise.
20908 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
20909 [$(cross-compiling) = no]: Don't set LANGUAGE.
20910 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
20911 without explicit environment settings.
20912
20913 2014-06-06 Roland McGrath <roland@hack.frob.com>
20914
20915 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
20916 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
20917 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
20918 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
20919
20920 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
20921
20922 * crypt/crypt-private.h [DOS]: Add some includes taken from the
20923 other files in the crypt directory.
20924 * crypt/crypt.c: Remove duplicate includes.
20925 * crypt/crypt-entry.c: Likewise.
20926 * crypt/crypt_util.c: Likewise.
20927
20928 2014-06-06 Joseph Myers <joseph@codesourcery.com>
20929
20930 * Makeconfig (run-program-env): New variable.
20931 (run-program-prefix-before-env): Likewise.
20932 (run-program-prefix-after-env): Likewise.
20933 (run-program-prefix): Define in terms of new variables.
20934 (built-program-cmd-before-env): New variable.
20935 (built-program-cmd-after-env): Likewise.
20936 (built-program-cmd): Define in terms of new variables.
20937 (test-program-prefix-before-env): New variable.
20938 (test-program-prefix-after-env): Likewise.
20939 (test-program-prefix): Define in terms of new variables.
20940 (test-program-cmd-before-env): New variable.
20941 (test-program-cmd-after-env): Likewise.
20942 (test-program-cmd): Define in terms of new variables.
20943 * Rules (make-test-out): Use $(run-program-env).
20944 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
20945 (help): Do not mention environment variables. Mention
20946 --timeoutfactor option.
20947 (timeoutfactor): New variable.
20948 (blacklist_exports): Remove function.
20949 (exports): Remove variable.
20950 (command): Do not include ${exports}.
20951 * manual/install.texi (Configuring and compiling): Do not mention
20952 test wrappers preserving environment variables. Mention that last
20953 assignment to a variable must take precedence.
20954 * INSTALL: Regenerated.
20955 * benchtests/Makefile (run-bench): Use $(run-program-env).
20956 * catgets/Makefile ($(objpfx)test1.cat): Use
20957 $(built-program-cmd-before-env), $(run-program-env) and
20958 $(built-program-cmd-after-env).
20959 ($(objpfx)test2.cat): Do not specify environment variables
20960 explicitly.
20961 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
20962 $(run-program-env) and $(built-program-cmd-after-env).
20963 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
20964 $(run-program-env) and $(test-program-cmd-after-env).
20965 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
20966 explicitly.
20967 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
20968 run_program_env and test_program_cmd_after_env arguments.
20969 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
20970 * elf/tst-pathopt.sh: Use run_program_env argument.
20971 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
20972 $(test-wrapper-env) and $(run-program-env).
20973 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
20974 run_program_env arguments.
20975 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
20976 * intl/Makefile ($(objpfx)tst-gettext.out): Use
20977 $(test-program-prefix-before-env), $(run-program-env) and
20978 $(test-program-prefix-after-env).
20979 ($(objpfx)tst-gettext2.out): Likewise.
20980 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
20981 run_program_env and test_program_prefix_after_env arguments.
20982 * intl/tst-gettext2.sh: Likewise.
20983 * intl/tst-gettext4.sh: Do not set environment variables
20984 explicitly.
20985 * intl/tst-gettext6.sh: Likewise.
20986 * intl/tst-translit.sh: Likewise.
20987 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
20988 $(test-program-prefix-before-env), $(run-program-env) and
20989 $(test-program-prefix-after-env).
20990 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
20991 run_program_env and test_program_prefix_after_env arguments.
20992 * math/Makefile (run-regen-ulps): Use $(run-program-env).
20993 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
20994 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
20995 explicitly with each use of ${test_wrapper_env}.
20996 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
20997 $(test-program-prefix-before-env), $(run-program-env) and
20998 $(test-program-prefix-after-env).
20999 * posix/tst-getconf.sh: Do not set environment variables
21000 explicitly.
21001 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
21002 run_program_env and test_program_prefix_after_env arguments.
21003 * stdio-common/tst-printf.sh: Do not set environment variables
21004 explicitly.
21005 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
21006 $(test-program-prefix-before-env), $(run-program-env) and
21007 $(test-program-prefix-after-env).
21008 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
21009 run_program_env and test_program_prefix_after_env arguments.
21010 Split $test calls into $test_pre and $test.
21011 * timezone/Makefile (build-testdata): Use
21012 $(built-program-cmd-before-env), $(run-program-env) and
21013 $(built-program-cmd-after-env).
21014
21015 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21016
21017 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
21018 strlen for non SHARED builds.
21019
21020 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
21021
21022 * nptl/allocatestack.c (check_list): Inlined function...
21023 (__reclaim_stacks): ... here.
21024
21025 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
21026
21027 [BZ #15698]
21028 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
21029 memory overrun.
21030
21031 2014-06-05 Joseph Myers <joseph@codesourcery.com>
21032
21033 * Rules (make-test-out): Include
21034 LOCPATH=$(common-objpfx)localedata in default environment.
21035 * debug/Makefile (tst-chk1-ENV): Remove variable.
21036 (tst-chk2-ENV): Likewise.
21037 (tst-chk3-ENV): Likewise.
21038 (tst-chk4-ENV): Likewise.
21039 (tst-chk5-ENV): Likewise.
21040 (tst-chk6-ENV): Likewise.
21041 (tst-lfschk1-ENV): Likewise.
21042 (tst-lfschk2-ENV): Likewise.
21043 (tst-lfschk3-ENV): Likewise.
21044 (tst-lfschk4-ENV): Likewise.
21045 (tst-lfschk5-ENV): Likewise.
21046 (tst-lfschk6-ENV): Likewise.
21047 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
21048 (tst-iconv7-ENV): Likewise.
21049 * intl/Makefile (LOCPATH-ENV): Likewise.
21050 (tst-codeset-ENV): Likewise.
21051 (tst-gettext3-ENV): Likewise.
21052 (tst-gettext5-ENV): Likewise.
21053 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
21054 (tst-fopenloc-ENV): Likewise.
21055 (tst-fgetws-ENV): Remove variable.
21056 (tst-ungetwc1-ENV): Likewise.
21057 (tst-ungetwc2-ENV): Likewise.
21058 (bug-ungetwc2-ENV): Likewise.
21059 (tst-swscanf-ENV): Likewise.
21060 (bug-ftell-ENV): Likewise.
21061 (tst-fgetwc-ENV): Likewise.
21062 (tst-fseek-ENV): Likewise.
21063 (tst-ftell-partial-wide-ENV): Likewise.
21064 (tst-ftell-active-handler-ENV): Likewise.
21065 (tst-ftell-append-ENV): Likewise.
21066 * posix/Makefile (tst-fnmatch-ENV): Likewise.
21067 (tst-regexloc-ENV): Likewise.
21068 (bug-regex1-ENV): Likewise.
21069 (tst-regex-ENV): Likewise.
21070 (tst-regex2-ENV): Likewise.
21071 (bug-regex5-ENV): Likewise.
21072 (bug-regex6-ENV): Likewise.
21073 (bug-regex17-ENV): Likewise.
21074 (bug-regex18-ENV): Likewise.
21075 (bug-regex19-ENV): Likewise.
21076 (bug-regex20-ENV): Likewise.
21077 (bug-regex22-ENV): Likewise.
21078 (bug-regex23-ENV): Likewise.
21079 (bug-regex25-ENV): Likewise.
21080 (bug-regex26-ENV): Likewise.
21081 (bug-regex30-ENV): Likewise.
21082 (bug-regex32-ENV): Likewise.
21083 (bug-regex33-ENV): Likewise.
21084 (bug-regex34-ENV): Likewise.
21085 (bug-regex35-ENV): Likewise.
21086 (tst-rxspencer-ENV): Likewise.
21087 (tst-rxspencer-no-utf8-ENV): Likewise.
21088 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
21089 (tst-sscanf-ENV): Likewise.
21090 (tst-swprintf-ENV): Likewise.
21091 (tst-swscanf-ENV): Likewise.
21092 (test-vfprintf-ENV): Likewise.
21093 (scanf13-ENV): Likewise.
21094 (bug14-ENV): Likewise.
21095 (tst-grouping-ENV): Likewise.
21096 * stdlib/Makefile (tst-strtod-ENV): Likewise.
21097 (tst-strtod3-ENV): Likewise.
21098 (tst-strtod4-ENV): Likewise.
21099 (tst-strtod5-ENV): Likewise.
21100 (testmb2-ENV): Likewise./
21101 * string/Makefile (tst-strxfrm-ENV): Likewise.
21102 (tst-strxfrm2-ENV): Likewise.
21103 (bug-strcoll1-ENV): Likewise.
21104 (test-strcasecmp-ENV): Likewise.
21105 (test-strncasecmp-ENV): Likewise.
21106 * time/Makefile (tst-strptime-ENV): Likewise.
21107 (tst-ftime_l-ENV): Likewise.
21108 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
21109 (tst-mbrtowc-ENV): Likewise.
21110 (tst-wcrtomb-ENV): Likewise.
21111 (tst-mbrtowc2-ENV): Likewise.
21112 (tst-c16c32-1-ENV): Likewise.
21113 (tst-mbsnrtowcs-ENV): Likewise.
21114
21115 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
21116
21117 * manual/resource.texi (How to get information about the memory
21118 subsystem?): Fix typo.
21119 Reported by Peon de la Parra Ivan <peon@keba.com>
21120
21121 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
21122
21123 [BZ #16882]
21124 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
21125 (pthread_spin_lock): Branch out of spin loop to proper location.
21126 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
21127 (pthread_spin_lock): Likewise.
21128
21129 * nptl/tst-spin4.c: New test.
21130 * nptl/Makefile (tests): Add tst-spin4.
21131
21132 2014-06-03 Andreas Schwab <schwab@suse.de>
21133
21134 [BZ #15946]
21135 * resolv/res_send.c (send_dg): Reload file descriptor after
21136 calling reopen.
21137
21138 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
21139
21140 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
21141
21142 2014-06-03 Richard Henderson <rth@redhat.com>
21143
21144 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
21145 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
21146 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
21147 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
21148 in the SAVE_PID block.
21149 (__libc_vfork): New alias.
21150 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
21151
21152 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
21153 child in registers, not on the stack. Remove RESET_PID conditionals.
21154 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
21155
21156 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
21157
21158 * sysdeps/aarch64/libm-test-ulps: Regenerate.
21159
21160 2014-06-03 Wilco <wdijkstr@arm.com>
21161
21162 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
21163 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
21164 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
21165 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
21166 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
21167 Likewise.
21168
21169 2014-06-03 Wilco <wdijkstr@arm.com>
21170
21171 * sysdeps/aarch64/fpu/math_private.h
21172 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
21173 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
21174 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
21175 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
21176 Fix declarations.
21177
21178 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
21179
21180 * crypt/crypt-private.h: Include ufc-crypt.h.
21181 (__b64_from_24bit): Declare extern.
21182 * crypt/crypt_util.c(__b64_from_24bit): New function.
21183 (b64t): New static const variable.
21184 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
21185 (b64t): Remove variable.
21186 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
21187 * crypt/sha256-crypt.c: Include crypt-private.h.
21188 (b64t): Remove variable.
21189 (__sha256_crypt_r): Remove b64_from_24bit and replace
21190 with __b64_from_24bit.
21191 * crypt/sha512-crypt.c: Likewise.
21192
21193 2014-06-02 Roland McGrath <roland@hack.frob.com>
21194
21195 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
21196 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
21197 Label the code __libc_vfork rather than __vfork.
21198 [!NOT_IN_libc] (vfork): Define as weak alias.
21199 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
21200 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
21201 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
21202
21203 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
21204
21205 * malloc/malloc.c (malloc_info): Fix format specifier for
21206 n_mmaps.
21207
21208 2014-06-02 Wilco <wdijkstr@arm.com>
21209
21210 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
21211 FPCR write.
21212
21213 2014-06-02 Wilco <wdijkstr@arm.com>
21214
21215 [BZ #17009]
21216 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
21217 Rewrite to reduce FPCR/FPSR accesses.
21218
21219 2014-06-01 David S. Miller <davem@davemloft.net>
21220
21221 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21222
21223 2014-05-31 David S. Miller <davem@davemloft.net>
21224
21225 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
21226 to occur in round to nearest mode when |x| >= 2.0
21227
21228 2014-05-30 Richard Henderson <rth@twiddle.net>
21229
21230 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
21231 (PSEUDO_RET_NOERRNO): Remove.
21232 (ret): Don't redefine.
21233 (ret_NOERRNO): Define in terms of ret.
21234 (ret_ERRVAL): Likewise.
21235
21236 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
21237 use of PSEUDO_RET; perform the error check directly.
21238
21239 2014-05-30 Marko Myllynen <myllynen@redhat.com>
21240
21241 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
21242 with __int128_t.
21243
21244 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21245
21246 * malloc/malloc (malloc_info): Fix formatting.
21247
21248 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21249 Roland McGrath <roland@hack.frob.com>
21250
21251 * malloc/malloc (malloc_info): Also print mmapped statistics.
21252
21253 2014-05-30 Roland McGrath <roland@hack.frob.com>
21254
21255 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
21256 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
21257
21258 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
21259
21260 * malloc/malloc.c (malloc_info): Inline mi_arena.
21261
21262 2014-05-29 Richard Henderson <rth@twiddle.net>
21263
21264 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
21265 Remove comma before expanding ASM_ARGS_##nr.
21266 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
21267 Make _x0 a strict output; make _x8 a strict input; adjust expansion
21268 of ASM_ARGS_##nr.
21269 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
21270 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
21271 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
21272 (ASM_ARGS_1): Add leading comma.
21273
21274 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
21275 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
21276 to __errno_location.
21277 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
21278 Remove the expected plt for __errno_location.
21279
21280 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
21281 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
21282 call to __read_tp.
21283
21284 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
21285 Always allocate 64 bytes of stack frame. Use ldp/stp to create
21286 it and break it down.
21287 (DOCARGS_0, DOCARGS_1): Do nothing.
21288 (DOCARGS_2): Update to store into the new stack frame.
21289 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
21290 (UNDOCARGS_1): Update to restore from the new stack frame.
21291 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
21292 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
21293
21294 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
21295 (SINGLE_THREAD_P): New parameter for result regno.
21296 (PSEUDO): Update to match; use cbz instead of beq.
21297
21298 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
21299 Use ENTRY to define the _nocancel entry point. Share the syscall
21300 and syscall error check paths with the cancel path.
21301 (PSEUDO_END): New.
21302
21303 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
21304 whitespace; tabs before and after asm mnemonics.
21305
21306 2014-05-29 Eric Wong <normalperson@yhbt.net>
21307
21308 [BZ #15132]
21309 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21310 Call fstat64 or stat64 internally, depending on arguments passed.
21311 Replace stat buffer argument with file descriptor argument.
21312 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
21313 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
21314 Pass fd to __internal_statvfs instead of calling fstat64.
21315 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
21316 Pass fd to __internal_statvfs64 instead of calling fstat64.
21317 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
21318 Pass -1 to __internal_statvfs instead of calling stat64.
21319 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
21320 Pass -1 to __internal_statvfs64 instead of calling stat64.
21321
21322 2014-05-28 Roland McGrath <roland@hack.frob.com>
21323
21324 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
21325 that was previously under [RESET_PID].
21326 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
21327
21328 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
21329 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
21330
21331 2014-05-27 Roland McGrath <roland@hack.frob.com>
21332
21333 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
21334
21335 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
21336 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
21337
21338 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
21339
21340 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
21341
21342 2014-05-27 Andreas Schwab <schwab@suse.de>
21343
21344 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
21345 TLS_INIT_TP macro.
21346 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
21347 * elf/rtld.c (init_tls, dl_main): Likewise.
21348 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
21349 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
21350 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
21351 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
21352 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
21353 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
21354 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
21355 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
21356 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
21357 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
21358 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
21359 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
21360 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
21361 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
21362 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
21363 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
21364 * sysdeps/generic/tls.h: Update description.
21365
21366 2014-05-27 Will Newton <will.newton@linaro.org>
21367
21368 [BZ #16990]
21369 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
21370 and restore r2 rather than just restoring.
21371
21372 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21373
21374 [BZ #16724]
21375 * libio/tst-ftell-append.c: New test case.
21376 * libio/Makefile (tests): Add test case.
21377 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
21378 append mode.
21379 * libio/wfileops.c (do_ftell_wide): Likewise.
21380
21381 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21382
21383 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21384
21385 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
21386 ...
21387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
21388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
21389 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
21390 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
21391 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
21392 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
21393 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
21394 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
21395 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
21396 Moved ...
21397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
21398 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
21399 Moved ...
21400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
21401 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
21402 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
21403 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
21404 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
21405 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
21406 ...
21407 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
21408 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
21409 Moved ...
21410 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
21411 here.
21412 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
21413 ...
21414 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
21415 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
21416 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
21417
21418 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
21419 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
21420 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
21421 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
21422
21423 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
21424 merge into ...
21425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
21426 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
21427 ...
21428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
21429 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
21430 ...
21431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
21432 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
21433 Moved ...
21434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
21435 here.
21436 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
21437 Moved ...
21438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
21439 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
21440 Moved ...
21441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
21442
21443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
21444 conditional [RESET_PID].
21445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
21446 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
21447 removed.
21448 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
21449 removed.
21450
21451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
21452 <tcb-offsets.h>.
21453 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
21454 (__libc_vfork): New strong alias.
21455 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
21456 removed.
21457 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
21458 Removed.
21459
21460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
21461 <tcb-offsets.h>.
21462 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
21463 (__libc_vfork): New strong alias.
21464 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
21465 removed.
21466 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
21467 removed.
21468
21469 2014-05-26 Carlos O'Donell <carlos@redhat.com>
21470
21471 * malloc/malloc.c (mi_arena): New function.
21472 (malloc_info): Remove nested function mi_arena. Call non-nosted
21473 function mi_arena.
21474
21475 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21476
21477 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
21478 by insrwi.
21479 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
21480 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
21481 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
21482 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
21483 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
21484 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
21485 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
21486
21487 2014-05-26 Andreas Schwab <schwab@suse.de>
21488
21489 [BZ #16984]
21490 * locale/programs/repertoire.c (repertoire_read): Add slash
21491 between I18NPATH element and file name.
21492 * locale/programs/locfile.c (locfile_read): Likewise.
21493
21494 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
21495
21496 * nptl/pthread_mutexattr_settype.c
21497 (__pthread_mutexattr_settype):
21498 Disable lock elision for PTHREAD_MUTEX_NORMAL.
21499
21500 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
21501
21502 * nptl/tst-mutex5 (do_test):
21503 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
21504
21505 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21506
21507 * benchtests/README: Document 'init' directive.
21508 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
21509 BENCH_INIT.
21510 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
21511 (parse_file): Recognize 'init' directive.
21512
21513 2014-05-26 Kyle McMartin <kyle@redhat.com>
21514
21515 [BZ #16796]
21516 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
21517 alignment of struct pthread.
21518
21519 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21520
21521 [BZ #16878]
21522 * nscd/netgroupcache.c (addgetnetgrentX): Look for
21523 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
21524 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
21525 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
21526
21527 2014-05-25 Richard Henderson <rth@twiddle.net>
21528
21529 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
21530 (SINGLE_THREAD_P_PIC): Remove.
21531 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
21532 (SINGLE_THREAD_P_PIC): Remove.
21533
21534 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
21535 branch to syscall error ...
21536 (PSEUDO): ... here.
21537 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
21538 from __local_syscall_error to .Lsyscall_error.
21539 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
21540 (SYSCALL_ERROR): Update label name.
21541
21542 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
21543 Do not use DOARGS/UNDOARGS.
21544 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
21545 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
21546 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
21547 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
21548 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
21549
21550 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
21551 block comment.
21552
21553 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
21554 define if !NOT_IN_libc.
21555 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
21556 define with non-default symbol versions.
21557
21558 2014-05-23 Richard Henderson <rth@twiddle.net>
21559
21560 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
21561 (vfork, __vfork): Define via compat_symbol.
21562
21563 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
21564 [!HAVE_IFUNC] (vfork_compat): Remove.
21565 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
21566
21567 2014-05-23 Joseph Myers <joseph@codesourcery.com>
21568
21569 [BZ #16978]
21570 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
21571 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
21572 variable.
21573
21574 2014-05-23 Richard Henderson <rth@twiddle.net>
21575
21576 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
21577 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
21578 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
21579 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
21580
21581 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
21582 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
21583 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
21584 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
21585 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
21586 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
21587 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
21588 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
21589 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
21590 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
21591 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
21592 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
21593 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
21594 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
21595 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
21596 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
21597 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
21598 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
21599 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
21600 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
21601 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
21602 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
21603 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
21604 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
21605 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
21606 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
21607 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
21608 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
21609 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
21610 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
21611 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
21612 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
21613 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
21614 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
21615 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
21616 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
21617 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
21618 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
21619 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
21620 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
21621 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
21622 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
21623 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
21624 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
21625 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
21626 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
21627 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
21628 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
21629 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
21630 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
21631 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
21632 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
21633 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
21634 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
21635 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
21636 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
21637
21638 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
21639 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
21640 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
21641 before exiting on error.
21642 (__libc_vfork): New strong alias.
21643 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
21644 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
21645
21646 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
21647 that was previously under [RESET_PID].
21648 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
21649
21650 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
21651
21652 2014-05-23 Joseph Myers <joseph@codesourcery.com>
21653
21654 [BZ #16977]
21655 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
21656 value when x - 1 is zero.
21657 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
21658 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
21659 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
21660 0.0L for an argument of 1.0L.
21661 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
21662 Likewise.
21663 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
21664 value when x - 1 is zero.
21665 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
21666 * sysdeps/i386/fpu/libm-test-ulps: Update.
21667 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21668
21669 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
21670
21671 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
21672 alphasort and versionsort.
21673
21674 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21675
21676 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
21677 macro.
21678 [copysignf]: Likewise.
21679
21680 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
21681
21682 * crypt/md5-crypt.c: Fix formatting.
21683
21684 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
21685
21686 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
21687 (b64_from_24bit): New function.
21688
21689 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21690
21691 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
21692 libc_hidden_builtin_def to ifunc.
21693 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
21694 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
21695
21696 2014-05-21 Roland McGrath <roland@hack.frob.com>
21697
21698 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
21699 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
21700
21701 2014-05-21 Joseph Myers <joseph@codesourcery.com>
21702
21703 * nscd/Depend (linuxthreads): Remove.
21704 (nptl): Add.
21705 * resolv/Depend (linuxthreads): Remove.
21706 * rt/Depend (linuxthreads): Remove.
21707
21708 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
21709 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
21710 $(common-objpfx)elf/.
21711 (link-libc-before-gnulib): Likewise.
21712 (elfobjdir): Remove variable.
21713 * Makefile (install): Use $(elf-objpfx) instead of
21714 $(common-objpfx)elf/.
21715 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
21716 $(elfobjdir)/.
21717 (link-libc-deps): Likewise.
21718 ($(common-objpfx)libc.so): Likewise.
21719 ($(common-objpfx)linkobj/libc.so): Likewise.
21720 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
21721 instead of $(common-objpfx)elf/.
21722 (symbolic-link-list): Likewise.
21723 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
21724 [$(cross-compiling) = no]: Likewise.
21725 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
21726 $(elfobjdir)/.
21727 (static-gnulib-arch): Likewise.
21728 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
21729 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
21730 $(common-objpfx)elf/.
21731
21732 2014-05-21 Richard Henderson <rth@redhat.com>
21733
21734 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
21735 (SINGLE_THREAD_P): Use the correct width load. Fold
21736 into the ldr offset.
21737
21738 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
21739 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
21740
21741 2014-05-20 Joseph Myers <joseph@codesourcery.com>
21742
21743 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
21744 (libgcc_s_resume): Use __attribute_used__.
21745 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
21746 Likewise.
21747
21748 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21749
21750 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
21751 optimization when used with float constants.
21752
21753 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21754
21755 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
21756
21757 [BZ #16915]
21758 * locale/nl_langinfo_l.c: Make direct reference to every
21759 _nl_current_CATEGORY symbol.
21760 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
21761 (tests-static): Add tst-langinfo-static.
21762 (tests-special): Add tst-langinfo-static.out.
21763 ($(objpfx)tst-langinfo.out): Redirect output.
21764 ($(objpfx)tst-langinfo-static.out): New.
21765 * localedata/tst-langinfo.sh: Send output to stdout.
21766 * localedata/tst-langinfo-static.c: New file.
21767
21768 [BZ #16965]
21769 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
21770 when the shift amount is modulo the limb size.
21771
21772 2014-05-20 Richard Henderson <rth@redhat.com>
21773
21774 [BZ #16967]
21775 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
21776 Change type of sa_flags from unsigned int to int.
21777
21778 [BZ #16966]
21779 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
21780
21781 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
21782
21783 2014-05-20 Will Newton <will.newton@linaro.org>
21784
21785 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
21786 Test the return value of the system call in the nocancel case.
21787
21788 2014-05-20 Will Newton <will.newton@linaro.org>
21789 Yvan Roux <yvan.roux@linaro.org>
21790
21791 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
21792 #include of asm/ptrace.h.
21793 (PTRACE_GET_THREAD_AREA): Remove #undef.
21794 (PTRACE_GETHBPREGS): Likewise.
21795 (PTRACE_SETHBPREGS): Likewise.
21796 (struct user_regs_struct): New structure.
21797 (struct user_fpsimd_struct): New structure.
21798 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
21799 #include of asm/ptrace.h and second #include of sys/user.h.
21800 (PTRACE_GET_THREAD_AREA): Remove #undef.
21801 (PTRACE_GETHBPREGS): Likewise.
21802 (PTRACE_SETHBPREGS): Likewise.
21803 (ELF_NGREG): Use new struct user_regs_struct.
21804 (elf_fpregset_t): Use new struct user_fpsimd_struct.
21805
21806 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21807
21808 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
21809 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
21810
21811 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
21812
21813 [BZ #16958]
21814 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
21815 membar to avoid block loads/stores to overlap previous stores.
21816
21817 2014-05-17 Richard Henderson <rth@redhat.com>
21818
21819 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
21820 Create the __##syscall_name##_nocancel entry point.
21821 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
21822 Remove; let the sysdep-cancel.h code create it.
21823
21824 2014-05-17 David S. Miller <davem@davemloft.net>
21825
21826 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
21827 Protect with __USE_GNU.
21828 (TIOCSET_TEMPT): Likewise.
21829 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
21830 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
21831 these are already provided in bits/ioctl-types.h
21832
21833 2014-05-16 Roland McGrath <roland@hack.frob.com>
21834
21835 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
21836 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
21837
21838 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
21839 Use wait4 regardless of [__NR_waitpid].
21840
21841 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
21842
21843 PR libgcc/60166
21844 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
21845 (_FP_NANSIGN_Q): Set the quiet bit.
21846
21847 2014-05-16 Joseph Myers <joseph@codesourcery.com>
21848
21849 * benchtests/Makefile
21850 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
21851 not $(common-objpfx)math/libm.so.
21852 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
21853 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
21854 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
21855 $(common-objpfx)dlfcn/libdl.so.
21856 ($(objpfx)tst-audit8): Depend on $(libm), not
21857 $(common-objpfx)math/libm.so.
21858 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
21859 not $(common-objpfx)dlfcn/libdl.so.
21860 * math/Makefile
21861 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
21862 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
21863 [$(build-shared) = yes].
21864 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
21865 $(common-objpfx)nptl/libpthread.so.
21866 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
21867 $(common-objpfx)math/libm.so$(libm.so-version) or
21868 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
21869 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
21870 $(common-objpfx)dlfcn/libdl.so.
21871 * setjmp/Makefile (link-libm): Remove variable.
21872 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
21873 * stdio-common/Makefile (link-libm): Remove variable.
21874 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
21875 * stdlib/Makefile (link-libm): Remove variable.
21876 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
21877 ($(objpfx)tst-strtod-round): Likewise.
21878 ($(objpfx)tst-tininess): Likewise.
21879 ($(objpfx)tst-strtod-underflow): Likewise.
21880 ($(objpfx)tst-strtod6): Likewise.
21881 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
21882 $(libdl), not $(common-objpfx)nptl/libpthread.so and
21883 $(common-objpfx)dlfcn/libdl.so.
21884
21885 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21886
21887 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
21888 BSD terminal modes definitions.
21889
21890 2014-05-16 Roland McGrath <roland@hack.frob.com>
21891
21892 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
21893 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
21894
21895 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
21896 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
21897 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
21898 Don't do #include_next.
21899 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
21900 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
21901 Don't do #include_next.
21902 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
21903 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
21904 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
21905 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
21906
21907 2014-05-16 Allan McRae <allan@archlinux.org>
21908
21909 * po/sv.po: Update Swedish translation from translation project.
21910
21911 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
21912 in sed expression.
21913
21914 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
21915
21916 [BZ #16917]
21917 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
21918 errno if the TIOCGPTN ioctl fails with an error different than
21919 EINVAL.
21920 * login/tst-ptsname.c: New file.
21921 * login/Makefile (tests): Add tst-ptsname.
21922
21923 [BZ #16943]
21924 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
21925 and prlimit64.
21926
21927 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21928
21929 [BZ #16849]
21930 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
21931 herrno to return EAI_AGAIN.
21932
21933 2014-05-14 Roland McGrath <roland@hack.frob.com>
21934
21935 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
21936 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
21937 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
21938 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
21939 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
21940 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
21941 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
21942 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
21943 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
21944 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
21945 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
21946 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
21947 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
21948 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
21949 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
21950 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
21951 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
21952 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
21953 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
21954 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
21955 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
21956 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
21957 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
21958 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
21959 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
21960 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
21961 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
21962 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
21963 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
21964 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
21965 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
21966 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
21967 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
21968 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
21969 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
21970 Moved ...
21971 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
21972 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
21973 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
21974 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
21975 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
21976 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
21977 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
21978 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
21979 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
21980 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
21981 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
21982 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
21983 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
21984 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
21985 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
21986 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
21987 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
21988 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
21989 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
21990 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
21991 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
21992 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
21993 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
21994 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
21995 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
21996 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
21997 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
21998 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
21999 Moved ...
22000 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
22001 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
22002 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
22003 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
22004 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
22005 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
22006 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
22007 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
22008 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
22009 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
22010 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
22011 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
22012 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
22013 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
22014 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
22015 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
22016 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
22017 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
22018 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
22019 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
22020 Moved ...
22021 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
22022 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
22023 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
22024
22025 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
22026 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
22027 (libpthread-sysdep_routines): Add elision-related stuff here instead.
22028 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
22029 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
22030 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
22031 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
22032 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
22033 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
22034 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
22035 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
22036 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
22037 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
22038 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
22039 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
22040 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
22041 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
22042 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
22043 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
22044 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
22045 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
22046 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
22047 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
22048 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
22049 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
22050 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
22051 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
22052 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
22053 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
22054 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
22055 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
22056
22057 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
22058 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
22059
22060 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
22061 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
22062 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
22063 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
22064 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
22065 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
22066 Moved ...
22067 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
22068 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
22069 Moved ...
22070 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
22071 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
22072 Moved ...
22073 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
22074 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
22075 Moved ...
22076 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
22077 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
22078 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
22079 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
22080 Moved ...
22081 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
22082 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
22083 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
22084 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
22085 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
22086 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
22087 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
22088 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
22089 Moved ...
22090 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
22091 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
22092 Moved ...
22093 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
22094 ... here.
22095 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
22096 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
22097 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
22098 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
22099 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
22100 Moved ...
22101 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
22102 ... here.
22103 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
22104 Moved ...
22105 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
22106 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
22107 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
22108 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
22109 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
22110 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
22111 Moved ...
22112 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
22113 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
22114 Moved ...
22115 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
22116 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
22117 Moved ...
22118 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
22119 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
22120 Moved ...
22121 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
22122 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
22123 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
22124 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
22125 Moved ...
22126 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
22127 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
22128 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
22129 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
22130 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
22131 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
22132 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
22133 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
22134 Moved ...
22135 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
22136 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
22137 Moved ...
22138 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
22139 ... here.
22140 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
22141 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
22142 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
22143 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
22144 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
22145 Moved ...
22146 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
22147 ... here.
22148 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
22149 Moved ...
22150 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
22151 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
22152 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
22153 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
22154 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
22155 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
22156 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
22157 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
22158 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
22159 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
22160 Moved ...
22161 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
22162 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
22163 Moved ...
22164 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
22165 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
22166 Moved ...
22167 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
22168 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
22169 Moved ...
22170 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
22171 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
22172 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
22173 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
22174 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
22175 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
22176 Moved ...
22177 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
22178 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
22179 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
22180 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
22181 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
22182 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
22183 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
22184 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
22185 Moved ...
22186 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
22187 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
22188 Moved ...
22189 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
22190 ... here.
22191 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
22192 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
22193 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
22194 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
22195 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
22196 Moved ...
22197 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
22198 ... here.
22199 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
22200 Moved ...
22201 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
22202 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
22203 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
22204 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
22205 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
22206 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
22207 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
22208 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
22209 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
22210 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
22211 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
22212
22213 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
22214 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
22215
22216 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
22217 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
22218
22219 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
22220 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
22221 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
22222 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
22223 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
22224 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
22225 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
22226 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
22227 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
22228 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
22229 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
22230 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
22231 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
22232 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
22233 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
22234 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
22235 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
22236 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
22237 Moved ...
22238 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
22239 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
22240 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
22241 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
22242 Moved ...
22243 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
22244 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
22245 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
22246 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
22247 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
22248 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
22249 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
22250 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
22251 Moved ...
22252 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
22253 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
22254 Moved ...
22255 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
22256 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
22257 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
22258 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
22259 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
22260 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
22261 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
22262 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
22263 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
22264 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
22265 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
22266 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
22267 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
22268 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
22269 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
22270 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
22271 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
22272
22273 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
22274 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
22275 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
22276 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
22277 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
22278
22279 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
22280 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
22281 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
22282 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
22283 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
22284 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
22285 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
22286 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
22287 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
22288 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
22289
22290 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
22291 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
22292
22293 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
22294 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
22295 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
22296 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
22297 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
22298 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
22299 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
22300 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
22301 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
22302 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
22303 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
22304 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
22305 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
22306 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
22307 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
22308 Update #include.
22309 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
22310 Likewise.
22311 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
22312 Likewise.
22313 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
22314 Likewise.
22315 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
22316 Likewise.
22317 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
22318 Likewise.
22319 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
22320 Likewise.
22321 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
22322 Likewise.
22323 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
22324 Likewise.
22325 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
22326 Likewise.
22327 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
22328 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
22329 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
22330 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
22331 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
22332 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
22333 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
22334 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
22335 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
22336 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
22337 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
22338 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
22339 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
22340 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
22341 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
22342
22343 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
22344 that was previously under [RESET_PID].
22345 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
22346 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
22347 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
22348
22349 * sysdeps/i386/nptl/Implies: New file.
22350 * sysdeps/x86_64/nptl/Implies: New file.
22351 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
22352 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
22353 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
22354 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
22355
22356 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
22357 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
22358 (__libc_vfork): New strong alias.
22359 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
22360 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
22361
22362 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
22363 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
22364 (__libc_vfork): New strong alias.
22365 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
22366 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
22367
22368 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
22369 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
22370 (__libc_vfork): New strong alias.
22371 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
22372 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
22373 * nptl/pt-vfork.c: New file.
22374 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
22375 (libpthread: GLIBC_2.20): New version set (empty).
22376
22377 2014-05-14 Will Newton <will.newton@linaro.org>
22378
22379 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
22380 rather than #if.
22381
22382 2014-05-14 Joseph Myers <joseph@codesourcery.com>
22383
22384 [BZ #16564]
22385 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
22386 arguments with exponent 65 or above.
22387 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
22388 arguments 0x1p113L or above.
22389 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
22390 to arguments 0x1p107L or above.
22391 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
22392 positive arguments with exponent 65 or above.
22393 * math/auto-libm-test-in: Add more tests of log1p.
22394 * math/auto-libm-test-out: Regenerated.
22395
22396 [BZ #16928]
22397 * math/s_cacos.c (__cacos): Ensure zero real part of result from
22398 non-finite arguments is +0.
22399 * math/s_cacosf.c (__cacosf): Likewise.
22400 * math/s_cacosl.c (__cacosl): Likewise.
22401 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
22402 * sysdeps/i386/fpu/libm-test-ulps: Update.
22403 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22404
22405 [BZ #16927]
22406 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
22407 value.
22408 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
22409 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
22410 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
22411 for explicit high bit of mantissa when testing for argument equal
22412 to 1.
22413 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
22414 * sysdeps/i386/fpu/libm-test-ulps: Update.
22415 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22416
22417 [BZ #16516]
22418 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
22419 (__erf): Scale by 16 instead of 8 in potentially underflowing
22420 case. Ensure exception if result actually underflows.
22421 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
22422 (__erff): Scale by 16 instead of 8 in potentially underflowing
22423 case. Ensure exception if result actually underflows.
22424 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
22425 (efx8): Remove variable.
22426 (__erfl): Scale by 16 instead of 8 in potentially underflowing
22427 case. Ensure exception if result actually underflows.
22428 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
22429 (efx8): Remove variable.
22430 (__erfl): Scale by 16 instead of 8 in potentially underflowing
22431 case. Ensure exception if result actually underflows.
22432 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
22433 (efx8): Remove variable.
22434 (__erfl): Scale by 16 instead of 8 in potentially underflowing
22435 case. Ensure exception if result actually underflows.
22436 * math/auto-libm-test-in: Add more tests of erf.
22437 * math/auto-libm-test-out: Regenerated.
22438
22439 2014-05-14 Andreas Schwab <schwab@suse.de>
22440
22441 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
22442 Remove code conditionalized on USE___THREAD.
22443
22444 * config.h.in (HAVE_PT_CHOWN): Define as 0.
22445 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
22446 not definedness.
22447
22448 2014-05-14 Joseph Myers <joseph@codesourcery.com>
22449
22450 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
22451 Define unconditionally.
22452 (__ASSUME_O_CLOEXEC): Likewise.
22453 (__ASSUME_SOCK_CLOEXEC): Likewise.
22454 (__ASSUME_IN_NONBLOCK): Likewise.
22455 (__ASSUME_PIPE2): Likewise.
22456 (__ASSUME_EVENTFD2): Likewise.
22457 (__ASSUME_SIGNALFD4): Likewise.
22458 (__ASSUME_DUP3): Likewise.
22459 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22460 (__ASSUME_DUP3): Do not define.
22461 (__ASSUME_EVENTFD2): Likewise.
22462 (__ASSUME_IN_NONBLOCK): Likewise.
22463 (__ASSUME_O_CLOEXEC): Likewise.
22464 (__ASSUME_PIPE2): Likewise.
22465 (__ASSUME_SIGNALFD4): Likewise.
22466 (__ASSUME_SOCK_CLOEXEC): Likewise.
22467 (__ASSUME_UTIMES): Undefine.
22468 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22469 (__ASSUME_UTIMES): Do not define.
22470 (__ASSUME_O_CLOEXEC): Likewise.
22471 (__ASSUME_SOCK_CLOEXEC): Likewise.
22472 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
22473 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
22474 0x020621].
22475 (__ASSUME_PIPE2): Likewise.
22476 (__ASSUME_EVENTFD2): Likewise.
22477 (__ASSUME_SIGNALFD4): Likewise.
22478 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
22479 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
22480 Do not define.
22481 (__ASSUME_EVENTFD2): Likewise.
22482 (__ASSUME_SIGNALFD4): Likewise.
22483 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
22484 (__ASSUME_32BITUIDS): Likewise.
22485 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
22486 (__ASSUME_IPC64): Likewise.
22487 (__ASSUME_ST_INO_64_BIT): Likewise.
22488 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
22489 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
22490 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22491 (__ASSUME_UTIMES): Do not define.
22492 (__ASSUME_PSELECT): Likewise.
22493 (__ASSUME_PPOLL): Likewise.
22494 (__ASSUME_O_CLOEXEC): Likewise.
22495 (__ASSUME_SOCK_CLOEXEC): Likewise.
22496 (__ASSUME_IN_NONBLOCK): Likewise.
22497 (__ASSUME_PIPE2): Likewise.
22498 (__ASSUME_EVENTFD2): Likewise.
22499 (__ASSUME_SIGNALFD4): Likewise.
22500 (__ASSUME_DUP3): Likewise.
22501 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
22502 (__ASSUME_UTIMES): Likewise.
22503 (__ASSUME_O_CLOEXEC): Likewise.
22504 (__ASSUME_SOCK_CLOEXEC): Likewise.
22505 (__ASSUME_IN_NONBLOCK): Likewise.
22506 (__ASSUME_PIPE2): Likewise.
22507 (__ASSUME_EVENTFD2): Likewise.
22508 (__ASSUME_SIGNALFD4): Likewise.
22509 (__ASSUME_DUP3): Likewise.
22510 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22511 (__ASSUME_UTIMES): Likewise.
22512 (__ASSUME_O_CLOEXEC): Likewise.
22513 (__ASSUME_SOCK_CLOEXEC): Likewise.
22514 (__ASSUME_IN_NONBLOCK): Likewise.
22515 (__ASSUME_PIPE2): Likewise.
22516 (__ASSUME_EVENTFD2): Likewise.
22517 (__ASSUME_SIGNALFD4): Likewise.
22518 (__ASSUME_DUP3): Likewise.
22519 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
22520 Likewise.
22521 (__ASSUME_UTIMES): Likewise.
22522 (__ASSUME_EVENTFD2): Likewise.
22523 (__ASSUME_SIGNALFD4): Likewise.
22524 * sysdeps/unix/sysv/linux/tile/kernel-features.h
22525 (__ASSUME_O_CLOEXEC): Likewise.
22526 (__ASSUME_SOCK_CLOEXEC): Likewise.
22527 (__ASSUME_IN_NONBLOCK): Likewise.
22528 (__ASSUME_PIPE2): Likewise.
22529 (__ASSUME_EVENTFD2): Likewise.
22530 (__ASSUME_SIGNALFD4): Likewise.
22531 (__ASSUME_DUP3): Likewise.
22532 (__ASSUME_UTIMES): Undefine.
22533
22534 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
22535 feclearexcept. Remove symbol versioning code.
22536 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
22537 symbol versioning code.
22538 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
22539 symbol versioning code.
22540 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
22541 feupdateenv. Remove symbol versioning code.
22542 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
22543 fegetexceptflag. Remove symbol versioning code.
22544 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
22545 fesetexceptflag. Remove symbol versioning code.
22546 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
22547 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
22548 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
22549 (__posix_fadvise64_l32): Remove prototype.
22550 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
22551 code.
22552
22553 2014-05-13 Roland McGrath <roland@hack.frob.com>
22554
22555 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
22556 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
22557 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
22558 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
22559
22560 2014-05-13 Sami Kerola <kerolasa@iki.fi>
22561
22562 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
22563 current working directory
22564
22565 2014-05-13 Roland McGrath <roland@hack.frob.com>
22566
22567 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
22568 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
22569 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
22570 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
22571 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
22572 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
22573 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
22574 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
22575 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
22576 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
22577 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
22578 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
22579 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
22580 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
22581 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
22582 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
22583 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
22584 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
22585 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
22586 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
22587 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
22588 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
22589 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
22590 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
22591 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
22592 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
22593 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
22594 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
22595 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
22596 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
22597 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
22598 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
22599 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
22600 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
22601 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
22602 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
22603 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
22604 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
22605 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
22606 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
22607 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
22608 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
22609
22610 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
22611 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
22612
22613 * sysdeps/unix/sysv/linux/arm/Makefile
22614 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
22615 Add rt-aeabi_unwind_cpp_pr1.
22616 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
22617 Add nptl-aeabi_unwind_cpp_pr1.
22618 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
22619 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
22620 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
22621 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
22622 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
22623 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
22624
22625 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
22626 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
22627 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
22628 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
22629
22630 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
22631 Deconditionalize the code that was previously under [RESET_PID].
22632 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
22633
22634 * sysdeps/generic/exit-thread.h: New file.
22635 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
22636 * include/unistd.h (__exit_thread): Remove declaration.
22637 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
22638 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
22639 * csu/libc-start.c: Include <exit-thread.h>.
22640 (LIBC_START_MAIN): Pass no argument to __exit_thread.
22641 * nptl/pthread_create.c: Include <exit-thread.h>.
22642 (start_thread): Call __exit_thread in place of __exit_thread_inline.
22643 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
22644 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
22645 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
22646 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
22647 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
22648 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
22649 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
22650 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
22651 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
22652 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
22653 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
22654 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
22655 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
22656 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
22657 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
22658 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
22659
22660 2014-05-13 Andreas Schwab <schwab@suse.de>
22661
22662 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
22663
22664 2014-05-12 Joseph Myers <joseph@codesourcery.com>
22665
22666 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
22667 (__ASSUME_UTIMES): Do not condition on kernel version.
22668 (__ASSUME_PSELECT): Define unconditionally.
22669 (__ASSUME_PPOLL): Likewise.
22670 (__ASSUME_ATFCTS): Likewise.
22671 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
22672 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
22673 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
22674 (__ASSUME_UTIMENSAT): Define unconditionally.
22675 (__ASSUME_PRIVATE_FUTEX): Likewise.
22676 (__ASSUME_FALLOCATE): Likewise.
22677 (__ASSUME_O_CLOEXEC): Likewise.
22678 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
22679 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
22680 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
22681 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
22682 (__ASSUME_IN_NONBLOCK): Likewise.
22683 (__ASSUME_PIPE2): Likewise.
22684 (__ASSUME_EVENTFD2): Likewise.
22685 (__ASSUME_SIGNALFD4): Likewise.
22686 (__ASSUME_DUP3): Likewise.
22687 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
22688 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
22689 (__ASSUME_AT_RANDOM): Likewise.
22690 (__ASSUME_PREADV): Likewise.
22691 (__ASSUME_PWRITEV): Likewise.
22692 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
22693 (__ASSUME_F_GETOWN_EX): Define unconditionally.
22694 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
22695 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
22696 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
22697 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22698 (__ASSUME_O_CLOEXEC): Define unconditionally.
22699 (__ASSUME_PSELECT): Do not undefine conditionally.
22700 (__ASSUME_PPOLL): Likewise.
22701 (__ASSUME_ATFCTS): Likewise.
22702 (__ASSUME_SET_ROBUST_LIST): Likewise.
22703 (__ASSUME_UTIMENSAT): Likewise.
22704 (__ASSUME_FDATASYNC): Define unconditionally.
22705 * sysdeps/unix/sysv/linux/arm/kernel-features.h
22706 (__ASSUME_SIGFRAME_V2): Likewise.
22707 )__ASSUME_EVENTFD2): Likewise.
22708 (__ASSUME_SIGNALFD4): Likewise.
22709 (__ASSUME_PSELECT): Do not undefine conditionally.
22710 (__ASSUME_PPOLL): Likewise.
22711 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22712 (__ASSUME_PSELECT): Define unconditionally.
22713 (__ASSUME_PPOLL): Likewise.
22714 (__ASSUME_O_CLOEXEC): Likewise.
22715 (__ASSUME_SOCK_CLOEXEC): Likewise.
22716 (__ASSUME_IN_NONBLOCK): Likewise.
22717 (__ASSUME_PIPE2): Likewise.
22718 (__ASSUME_EVENTFD2): Likewise.
22719 (__ASSUME_SIGNALFD4): Likewise.
22720 (__ASSUME_DUP3): Likewise.
22721 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
22722 (__ASSUME_O_CLOEXEC): Likewise.
22723 (__ASSUME_SOCK_CLOEXEC): Likewise.
22724 (__ASSUME_IN_NONBLOCK): Likewise.
22725 (__ASSUME_PIPE2): Likewise.
22726 (__ASSUME_EVENTFD2): Likewise.
22727 (__ASSUME_SIGNALFD4): Likewise.
22728 (__ASSUME_DUP3): Likewise.
22729 * sysdeps/unix/sysv/linux/mips/kernel-features.h
22730 (__ASSUME_EVENTFD2): Likewise.
22731 (__ASSUME_SIGNALFD4): Likewise.
22732 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
22733
22734 2014-05-12 Andreas Schwab <schwab@suse.de>
22735
22736 [BZ #16932]
22737 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
22738 (_nss_nis_gethostbyname4_r): Return error if item length is larger
22739 than maximum RPC packet size.
22740 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
22741 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
22742 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
22743 (_nss_nis_getservbyport_r): Likewise.
22744
22745 2014-05-12 Will Newton <will.newton@linaro.org>
22746
22747 * malloc/Makefile (tests): Add tst-mallopt.
22748 * malloc/tst-mallopt.c: New file.
22749
22750 2014-05-09 Roland McGrath <roland@hack.frob.com>
22751
22752 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
22753 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
22754
22755 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22756
22757 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
22758 (tst-tlsmod6.so): Likewise.
22759
22760 2014-05-09 Roland McGrath <roland@hack.frob.com>
22761
22762 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
22763
22764 2014-05-09 Joseph Myers <joseph@codesourcery.com>
22765
22766 [BZ #16064]
22767 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
22768 and <dl-procinfo.h>.
22769 (__fegetenv): Save SSE state in envp->__eip if supported.
22770 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
22771 envp->__eip if supported.
22772 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
22773 and <dl-procinfo.h>.
22774 (__fesetenv): Always set __eip, __cs_selector, __opcode,
22775 __data_offset and __data_selector in environment to 0. Set SSE
22776 state if supported.
22777 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
22778 test-fenv-sse.
22779 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
22780 -mfpmath=sse.
22781 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
22782
22783 2014-05-09 Will Newton <will.newton@linaro.org>
22784
22785 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
22786 and libc_relro_required for ARM.
22787 * sysdeps/arm/preconfigure: Regenerate.
22788
22789 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
22790 Stefan Liebler <stli@linux.vnet.ibm.com>
22791
22792 * config.make.in (enable-lock-elision): New Makefile variable.
22793 * configure.ac: Likewise.
22794 * configure: Regenerate.
22795 * sysdeps/s390/configure.ac:
22796 Add check for gcc transactions support.
22797 * sysdeps/s390/configure: Regenerate.
22798 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
22799 Build elision files if enabled.
22800 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
22801 Add lock elision support for s390.
22802 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
22803 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
22804 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
22805 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
22806 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
22807 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
22808 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
22809 Likewise.
22810 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
22811 Likewise.
22812 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
22813 Likewise.
22814 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
22815 Likewise.
22816 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
22817 (__lll_timedlock_elision, __lll_lock_elision)
22818 (__lll_unlock_elision, __lll_trylock_elision)
22819 (lll_timedlock_elision, lll_lock_elision)
22820 (lll_unlock_elision, lll_trylock_elision): Add.
22821 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
22822 (pthread_mutex_t): Add lock elision support for s390.
22823
22824 2014-05-14 Wilco <wdijkstr@arm.com>
22825
22826 * sysdeps/arm/fclrexcpt.c: Cleanup.
22827 * sysdeps/arm/fedisblxcpt.c: Cleanup.
22828 * sysdeps/arm/feenablxcpt.c: Cleanup.
22829 * sysdeps/arm/fegetenv.c: Cleanup.
22830 * sysdeps/arm/fegetexcept.c: Cleanup.
22831 * sysdeps/arm/fegetround.c: Cleanup.
22832 * sysdeps/arm/feholdexcpt.c: Cleanup.
22833 * sysdeps/arm/fesetenv.c: Cleanup.
22834 * sysdeps/arm/fesetround.c: Cleanup.
22835 * sysdeps/arm/feupdateenv.c: Cleanup.
22836 * sysdeps/arm/fgetexcptflg.c: Cleanup.
22837 * sysdeps/arm/fraiseexcpt.c: Cleanup.
22838 * sysdeps/arm/fsetexcptflg.c: Cleanup.
22839 * sysdeps/arm/ftestexcept.c: Cleanup.
22840 * sysdeps/arm/get-rounding-mode.h: Cleanup.
22841 * sysdeps/arm/setfpucw.c: Cleanup.
22842
22843 2014-05-09 Will Newton <will.newton@linaro.org>
22844
22845 * sysdeps/arm/armv7/strcmp.S: New file.
22846 * NEWS: Mention addition of ARMv7 optimized strcmp.
22847
22848 2014-05-08 Roland McGrath <roland@hack.frob.com>
22849
22850 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
22851 look for %.ac rather than %.in.
22852
22853 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
22854 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
22855 * sysdeps/mach/hurd/configure: Regenerated.
22856 * sysdeps/unix/sysv/linux/configure: Regenerated.
22857
22858 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
22859
22860 2014-05-07 Steve Ellcey <sellcey@mips.com>
22861
22862 [BZ# 16922]
22863 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
22864 (LONG_SUB): Ditto.
22865 (PTR_SUB): Ditto.
22866
22867 2014-05-07 Andreas Schwab <schwab@suse.de>
22868
22869 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
22870 when skipping over non-matching result from nscd.
22871
22872 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
22873
22874 [BZ #16876]
22875 * nptl/sockperf.c (client): Check socket return value.
22876
22877 [BZ #16877]
22878 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
22879 nscd security class.
22880
22881 2014-05-06 Roland McGrath <roland@hack.frob.com>
22882
22883 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
22884 * sysdeps/arm/unwind.h: ... here.
22885
22886 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
22887
22888 [BZ# 16916]
22889 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
22890 Define.
22891
22892 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
22893
22894 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
22895 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
22896 multiarch strncpy for PPC64.
22897 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
22898 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
22899 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
22900 multiarch optimizations.
22901 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22902 (__libc_ifunc_impl_list): Likewise.
22903 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
22904 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
22905 multiarch stpncpy for PPC64.
22906 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
22907 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
22908
22909 2014-05-06 Andreas Schwab <schwab@suse.de>
22910
22911 [BZ #16912]
22912 * gmon/mcount.c (_MCOUNT_DECL): Use
22913 atomic_compare_and_exchange_bool_acq instead of
22914 catomic_compare_and_exchange_bool_acq.
22915
22916 2014-05-05 Roland McGrath <roland@hack.frob.com>
22917
22918 * elf/Makefile (others, install-bin): Remove pldd.
22919 (pldd-modules): Variable removed.
22920 ($(objpfx)pldd): Target removed.
22921 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
22922 (others, install-bin): Append pldd here.
22923 ($(objpfx)pldd): New target.
22924
22925 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
22926 to 0, so the first #if test emitted later doesn't see it undefined.
22927 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
22928 * sysdeps/gnu/errlist.c: Regenerated.
22929
22930 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22931
22932 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
22933 [libc_hidden_builtin_def]: Define to empty value.
22934 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
22935 [libc_hidden_builtin_def]: Likewise.
22936 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
22937 [libc_hidden_builtin_def]: Likewise.
22938 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
22939 [libc_hidden_builtin_def]: Likewise.
22940 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
22941 __redirect_memcpy and define ifunc as default hidden symbol.
22942 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
22943 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
22944
22945 2014-05-04 Adam Conrad <adconrad@0c3.net>
22946
22947 * locale/iso-4217.def: Reintroduce XDR currency.
22948
22949 2014-05-04 Allan McRae <allan@archlinux.org>
22950
22951 * po/eo.po: Update Esperanto translation from translation project.
22952
22953 2014-05-02 Carlos O'Donell <carlos@redhat.com>
22954
22955 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
22956 and FEATURE_INDEX_MAX to 1.
22957 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
22958
22959 2014-05-01 Steve Ellcey <sellcey@mips.com>
22960
22961 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
22962 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
22963 * iconvdata/big5.c (ONE_DIRECTION): Define.
22964 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
22965 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
22966 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
22967 * iconvdata/cp932.c (ONE_DIRECTION): Define.
22968 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
22969 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
22970 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
22971 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
22972 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
22973 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
22974 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
22975 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
22976 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
22977 * iconvdata/gbk.c (ONE_DIRECTION): Define.
22978 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
22979 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
22980 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
22981 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
22982 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
22983 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
22984 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
22985 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
22986 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
22987 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
22988 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
22989 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
22990 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
22991 * iconvdata/iso646.c (ONE_DIRECTION): Define.
22992 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
22993 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
22994 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
22995 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
22996 * iconvdata/johab.c (ONE_DIRECTION): Define.
22997 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
22998 * iconvdata/sjis.c (ONE_DIRECTION): Define.
22999 * iconvdata/t.61.c (ONE_DIRECTION): Define.
23000 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
23001 * iconvdata/tscii.c (ONE_DIRECTION): Define.
23002 * iconvdata/uhc.c (ONE_DIRECTION): Define.
23003 * iconvdata/unicode.c (ONE_DIRECTION): Define.
23004 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
23005 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
23006 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
23007
23008 2014-05-01 Roland McGrath <roland@hack.frob.com>
23009
23010 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
23011 (_IO_JUMPS_OFFSET): Define to 0.
23012
23013 * nptl/sysdeps/pthread/bits/libc-lock.h
23014 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
23015 (__libc_lock_define_initialized_recursive): Always define using
23016 initializer. Modern compilers treat uninitialized (implicit zero) and
23017 explicit zero initializers the same (i.e. put the datum in bss).
23018
23019 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
23020
23021 * nscd/nscd-client.h: Include <string.h>.
23022
23023 2014-05-01 David S. Miller <davem@davemloft.net>
23024
23025 [BZ #16885]
23026 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
23027 multiple zero bytes exist at the end of a string.
23028 Reported by Aurelien Jarno <aurelien@aurel32.net>
23029
23030 * string/test-strcmp.c (check): Add explicit test for situations where
23031 there are multiple zero bytes after the first.
23032
23033 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
23034
23035 [BZ #16890]
23036 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
23037 when compiling wprintf.
23038 * stdio-common/tstdiomisc.c (t3): New function.
23039 (main): Call it.
23040
23041 2014-05-01 Steve Ellcey <sellcey@mips.com>
23042
23043 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
23044 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
23045 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
23046 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
23047
23048 2014-05-01 Steve Ellcey <sellcey@mips.com>
23049
23050 * stdlib/longlong.h: Updated from GCC.
23051
23052 2014-05-01 Will Newton <will.newton@linaro.org>
23053 Bernard Ogden <bernie.ogden@linaro.org>
23054
23055 * NEWS: Update fixed bug list.
23056
23057 [BZ #15119]
23058 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
23059
23060 2014-04-30 David S. Miller <davem@davemloft.net>
23061
23062 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
23063 (libc_feholdexcept_setround_sparc_ctx): New function.
23064 (libc_fesetenv_sparc_ctx): Likewise.
23065 (libc_feupdateenv_sparc_ctx): Likewise.
23066 (libc_feholdsetround_sparc_ctx): Likewise.
23067 (libc_feholdexcept_setround_ctx): Define.
23068 (libc_feholdexcept_setroundf_ctx): Likewise.
23069 (libc_feholdexcept_setroundl_ctx): Likewise.
23070 (libc_fesetenv_ctx): Likewise.
23071 (libc_fesetenvf_ctx): Likewise.
23072 (libc_fesetenvl_ctx): Likewise.
23073 (libc_feupdateenv_ctx): Likewise.
23074 (libc_feupdateenvf_ctx): Likewise.
23075 (libc_feupdateenvl_ctx): Likewise.
23076 (libc_feresetround_ctx): Likewise.
23077 (libc_feresetroundf_ctx): Likewise.
23078 (libc_feresetroundl_ctx): Likewise.
23079 (libc_feholdsetround_ctx): Likewise.
23080 (libc_feholdsetroundf_ctx): Likewise.
23081 (libc_feholdsetroundl_ctx): Likewise.
23082
23083 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
23084 with __USE_GNU instead of XOPEN cpp guards.
23085
23086 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
23087 0.
23088
23089 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
23090 with XOPEN cpp guards.
23091
23092 2014-04-30 Julian Brown <julian@codesourcery.com>
23093
23094 [BZ #16888]
23095 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
23096 handling.
23097
23098 2014-04-30 Joseph Myers <joseph@codesourcery.com>
23099
23100 [BZ #9894]
23101 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
23102 Change to 2.6.32.
23103 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
23104 * sysdeps/unix/sysv/linux/configure: Regenerated.
23105 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
23106 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
23107 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
23108 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
23109 * README: Update reference to required Linux kernel version.
23110 * manual/install.texi (Linux): Update reference to required Linux
23111 kernel headers version.
23112 * INSTALL: Regenerated.
23113
23114 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
23115 header inclusion.
23116 [POSIX] (limits.h): Likewise.
23117 [POSIX] (math.h): Likewise.
23118 [POSIX] (sys/wait.h): Likewise.
23119 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
23120 function.
23121 [POSIX] (stddef.h): Do not allow header inclusion.
23122
23123 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23124
23125 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
23126
23127 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
23128
23129 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
23130 Return immediately after lll_futex_wake.
23131
23132 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
23133
23134 [BZ #16791]
23135 * nscd/nscd-client.h (datahead_init_common): Initialize entire
23136 structure.
23137 (datahead_init_pos): Call datahead_init_common early.
23138 (datahead_init_neg): Likewise.
23139
23140 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
23141 datahead_init_neg): New functions.
23142 * nscd/aicache.c (addhstaiX): Use them.
23143 * nscd/grpcache.c (cache_addgr): Likewise.
23144 * nscd/hstcache.c (cache_addhst): Likewise.
23145 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23146 * nscd/netgroupcache.c (do_notfound): Likewise.
23147 (addgetnetgrentX): Likewise.
23148 (addinnetgrX): Likewise.
23149 * nscd/pwdcache.c (cache_addpw): Likewise.
23150 * nscd/servicescache.c (cache_addserv): Likewise.
23151
23152 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
23153 Atsushi Onoe <atsushi@onoe.org>
23154
23155 [BZ #14308]
23156 [BZ #12994]
23157 [BZ #13651]
23158 * resolv/res_query.c (__libc_res_nsearch): Return if at least
23159 one response is valid.
23160 * resolv/res_send.c (send_dg): Check for validity of other
23161 response if the current response is a referral.
23162
23163 2014-04-29 Steve Ellcey <sellcey@mips.com>
23164
23165 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
23166
23167 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
23168
23169 [BZ #16823]
23170 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
23171 Always divide by positive zero when computing -Inf result.
23172 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
23173 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
23174
23175 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23176
23177 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
23178 FPSCR if value do not change.
23179 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
23180 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
23181 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
23182 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
23183 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
23184 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
23185 function.
23186
23187 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
23188
23189 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
23190 * sysdeps/unix/sysv/linux/hppa: Move directory from
23191 ports/systeps/unix/sysv/linux/hppa.
23192 * README: Update listing for hppa-*-linux-gnu.
23193
23194 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
23195
23196 [BZ #16754]
23197 * manual/stdio.texi (Hook functions): Fix types of stream hook
23198 functions.
23199 [BZ #16854]
23200 * socket/sys/socket.h: Fix typo in comment.
23201
23202 2014-04-28 Wilco <wdijkstr@arm.com>
23203
23204 * sysdeps/arm/fenv_private.h: New file.
23205 * sysdeps/arm/math_private.h: New file.
23206 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
23207
23208 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
23209
23210 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
23211 with __int128_t.
23212 (La_x86_64_retval): Likewise.
23213
23214 2014-04-24 Ian Bolton <ian.bolton@arm.com>
23215
23216 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
23217 fpsr if value didn't change.
23218 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
23219 to fpcr if value didn't change.
23220 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
23221 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
23222 fpsr or fpcr if value didn't change.
23223 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
23224 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
23225 fpcr if value didn't change.
23226 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
23227 to fpsr if value didn't change.
23228
23229 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
23230
23231 * nptl/tst-sem3.c: Use test-skeleton.c
23232 (main): Rename to do_test. Use return instead of
23233 exit.
23234 * nptl/tst-sem4.c: Use test-skeleton.c
23235 (main): Rename to do_test.
23236
23237 2014-04-22 David S. Miller <davem@davemloft.net>
23238
23239 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
23240 (struct sigaction): New struct member __glibc_reserved0, change
23241 type of sa_flags to int.
23242
23243 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
23244
23245 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
23246 (COUNT_LEADING_ZEROS_0): Define for AArch64.
23247
23248 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
23249
23250 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
23251 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
23252
23253 2014-04-22 Will Newton <will.newton@linaro.org>
23254 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
23255
23256 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
23257 (__longjmp): Add longjmp and longjmp_target SystemTap
23258 probes.
23259 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
23260 (__sigsetjmp): Add setjmp SystemTap probe.
23261
23262 2014-04-17 Carlos O'Donell <carlos@redhat.com>
23263
23264 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
23265 match manual order.
23266
23267 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23268
23269 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
23270
23271 * sysdeps/powerpc/fpu/fenv_private.h
23272 (libc_feholdexcept_setroundl_ctx): Define to
23273 libc_feholdexcept_setround_ppc_ctx.
23274 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
23275 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
23276 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
23277 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
23278
23279 2014-04-17 Ian Bolton <ian.bolton@arm.com>
23280
23281 * sysdeps/aarch64/math-tests.h: New file.
23282
23283 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
23284
23285 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
23286 New.
23287 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23288 Check and set bit_AVX2_Usable.
23289 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
23290 macro.
23291 (bit_AVX2): Likewise.
23292 (index_AVX2_Usable): Likewise.
23293 (CPUID_AVX2): Likewise.
23294 (HAS_AVX2): Likewise.
23295
23296 2014-04-17 Will Newton <will.newton@linaro.org>
23297
23298 * manual/setjmp.texi (System V contexts): Add note that
23299 calling setcontext on a context created by a call to a
23300 signal handler is undefined. Update text to note that
23301 setcontext from a signal handler is possible but not
23302 recommended.
23303
23304 [BZ #16629]
23305 * stdlib/tst-setcontext.c: Include signal.h.
23306 (main): Check that the signal stack before and
23307 after swapcontext is the same.
23308
23309 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
23310 Re-implement to restore registers in user code and avoid
23311 rt_sigreturn system call.
23312
23313 2014-04-17 Wilco <wdijkstr@arm.com>
23314
23315 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
23316 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
23317 * math/test-fenv.c: Skip exception trap tests on targets which only
23318 support non-stop mode.
23319
23320 2014-04-17 Ian Bolton <ian.bolton@arm.com>
23321 Wilco Dijkstra <wilco.dijkstra@arm.com>
23322
23323 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
23324 (libc_feholdsetround_aarch64_ctx)
23325 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
23326 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
23327 (libc_feresetround_ctx, libc_feresetroundf_ctx)
23328 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
23329 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
23330 (libc_feresetround_noexl_ctx): Define.
23331
23332 2014-04-16 Richard Henderson <rth@redhat.com>
23333
23334 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
23335
23336 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
23337 unwind tables.
23338
23339 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
23340 const from the non-libc, non-ldso copy.
23341
23342 * sysdeps/alpha/libm-test-ulps: Regenerate.
23343
23344 2014-04-16 Ian Bolton <ian.bolton@arm.com>
23345 Wilco Dijkstra <wilco.dijkstra@arm.com>
23346
23347 * sysdeps/aarch64/fpu/math_private.h: New file.
23348
23349 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
23350
23351 * sysdeps/aarch64/libm-test-ulps: Regenerate.
23352
23353 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
23354
23355 [BZ #16275]
23356 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
23357 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
23358 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
23359 Intel MPX bound registers before _dl_profile_fixup.
23360 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
23361 registers after _dl_profile_fixup. Save and restore bound
23362 registers bnd0/bnd1 when calling _dl_call_pltexit.
23363 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
23364 (LR_BND_OFFSET): Likewise.
23365 (LRV_BND0_OFFSET): Likewise.
23366 (LRV_BND1_OFFSET): Likewise.
23367
23368 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
23369
23370 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
23371 to...
23372 * sysdeps/mach/hurd/i386/tls.h: ... here.
23373 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
23374 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
23375 fields.
23376
23377 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
23378
23379 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
23380
23381 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
23382
23383 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
23384
23385 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
23386
23387 [BZ #14770]
23388 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
23389 * sysdeps/s390/configure: Regenerate.
23390
23391 [BZ #16824]
23392 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
23393 Set round-to-nearest internally to reduce error accumulation.
23394
23395 2014-04-16 Alan Modra <amodra@gmail.com>
23396
23397 [BZ #16740]
23398 [BZ #16619]
23399 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
23400 * math/libm-test.inc (frexp_test_data): Add tests.
23401 * NEWS: Update fixed bug list.
23402
23403 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23404
23405 * benchtests/Makefile: Depend on libraries in build directory.
23406 (bench-math): Separate out math tests.
23407 (bench-pthread): Separate out pthread tests.
23408 (bench): Include math and pthread tests.
23409
23410 2014-04-14 Carlos O'Donell <carlos@redhat.com>
23411
23412 [BZ #16831]
23413 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
23414 _dl_debug_initialize.
23415
23416 * configure.ac: Remove SELinux header check.
23417 * configure: Regenerate.
23418 * nscd/selinux.c (perms): Array of const char* to permission names.
23419 (nscd_request_avc_has_perm): Call security_deny_unknown to find
23420 default policy. Call string_to_security_class and string_to_av_perm to
23421 translate strings. Enforce default policy and call avs_has_perm with
23422 results of translated strings.
23423
23424 2014-04-13 David S. Miller <davem@davemloft.net>
23425
23426 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23427
23428 2014-04-12 Allan McRae <allan@archlinux.org>
23429
23430 [BZ #16838]
23431 * manual/string.texi (Collation Functions): Fix qsort argument
23432 order in example.
23433 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
23434
23435 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
23436
23437 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
23438 Make the test a no-op if there are no exceptions defined.
23439
23440 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
23441
23442 * elf/Makefile (tests): make tst-dlopen-aout conditional on
23443 enable-hardcoded-path-in-tests
23444
23445 2014-04-11 Will Newton <will.newton@linaro.org>
23446
23447 * benchtests/Makefile (extra-objs): Add json-lib.o.
23448 (bench-func): Tidy up JSON output.
23449 * benchtests/bench-skeleton.c: Include json-lib.h.
23450 (main): Use JSON library functions to do output of
23451 benchmark results.
23452 * benchtests/bench-timing-type.c (main): Output the
23453 timing type simply, leaving formatting to the user.
23454 * benchtests/json-lib.c: New file.
23455 * benchtests/json-lib.h: Likewise.
23456
23457 2014-04-11 Torvald Riegel <triegel@redhat.com>
23458
23459 [BZ #15215]
23460 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
23461 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
23462 memory barriers. Add comments.
23463 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
23464 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
23465 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
23466 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
23467 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
23468 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
23469
23470 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
23471
23472 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
23473 * sysdeps/s390/s390-64/configure.ac: ... this ...
23474 * sysdeps/s390/configure.ac: ... to here.
23475 * sysdeps/s390/s390-32/configure: Delete file.
23476 * sysdeps/s390/s390-64/configure: Delete file.
23477 * sysdeps/s390/configure: Regenerate.
23478
23479 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
23480
23481 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
23482
23483 2014-04-11 Will Newton <will.newton@linaro.org>
23484
23485 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
23486 to zero if it is not defined elsewhere. (mtrim): Test
23487 the value of MALLOC_DEBUG with #if rather than #ifdef.
23488
23489 2014-04-10 Torvald Riegel <triegel@redhat.com>
23490
23491 * benchtests/pthread_once-inputs: New file.
23492 * benchtests/pthread_once-source.c: New file.
23493 * benchtests/README: Update documentation.
23494
23495 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
23496 H.J. Lu <hongjiu.lu@intel.com>
23497
23498 [BZ #16275]
23499 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
23500 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
23501 * sysdeps/x86_64/configure: Regenerated.
23502 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
23503 macro.
23504 (REGISTER_SAVE_RAX): Likewise.
23505 (REGISTER_SAVE_RCX): Likewise.
23506 (REGISTER_SAVE_RDX): Likewise.
23507 (REGISTER_SAVE_RSI): Likewise.
23508 (REGISTER_SAVE_RDI): Likewise.
23509 (REGISTER_SAVE_R8): Likewise.
23510 (REGISTER_SAVE_R9): Likewise.
23511 (REGISTER_SAVE_BND0): Likewise.
23512 (REGISTER_SAVE_BND1): Likewise.
23513 (REGISTER_SAVE_BND2): Likewise.
23514 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
23515 bound registers when calling _dl_fixup.
23516
23517 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23518
23519 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
23520 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
23521 of its definition.
23522 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
23523 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
23524 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
23525 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
23526 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
23527 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
23528 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
23529
23530 2014-04-09 Peter Brett <peter@peter-b.co.uk>
23531
23532 [BZ #15514]
23533 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
23534 pathconf(_PC_NAME_MAX).
23535
23536 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23537
23538 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
23539 Remove macro usage.
23540 (__PTHREAD_SPINS): Move definition to ...
23541 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
23542 (__PTHREAD_SPINS): ... here.
23543 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
23544 (__PTHREAD_SPIN): Likewise.
23545 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
23546 (__PTHREAD_SPIN): Likewise.
23547 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
23548 (__PTHREAD_SPIN): Likewise.
23549 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
23550 (__PTHREAD_SPIN): Likewise.
23551 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
23552 (__PTHREAD_SPIN): Likewise.
23553 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
23554 (__PTHREAD_SPIN): Likewise.
23555 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
23556 (__PTHREAD_SPIN): Likewise.
23557 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
23558 (__PTHREAD_SPIN): Likewise.
23559 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
23560 (__PTHREAD_SPIN): Likewise.
23561 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
23562 (__PTHREAD_SPIN): Likewise.
23563 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
23564 (__PTHREAD_SPIN): Likewise.
23565 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
23566 (__PTHREAD_SPIN): Likewise.
23567
23568 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
23569 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
23570 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
23571 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
23572 imply folder.
23573 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
23574 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
23575 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
23576 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
23577 correct imply path.
23578 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
23579 strlen symbol for non multi-arch builds.
23580 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
23581 missing hidden_def and weak_alias.
23582
23583 2014-04-08 Carlos O'Donell <carlos@redhat.com>
23584
23585 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
23586
23587 2014-04-07 Will Newton <will.newton@linaro.org>
23588
23589 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
23590 and contents. [!_LIBC] Remove #ifndef and contents.
23591 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
23592 * string/memccpy.c (__memccpy): Use ANSI prototype.
23593 * string/memfrob.c (memfrob): Likewise.
23594 * string/strcoll.c (STRCOLL): Likewise.
23595 * string/strlen.c (strlen): Likewise.
23596 * string/strtok.c (STRTOK): Likewise.
23597 * string/strcat.c: Remove unused #include of memcopy.h.
23598 (strcat): Use ANSI prototype.
23599 * string/strchr.c: Remove unused #include of memcopy.h.
23600 (strchr): Use ANSI prototype.
23601 * string/strcmp.c: Remove unused #include of memcopy.h.
23602 (strcmp): Use ANSI prototype.
23603 * string/strcpy.c: Remove unused #include of memcopy.h.
23604 (strcpy): Use ANSI prototype.
23605
23606 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23607
23608 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
23609 * config.make.in (config-extra-cppflags): Set it from
23610 libc_extra_cppflags.
23611 * configure.ac (libc_extra_cflags): Make it accumulate over
23612 configure fragments.
23613 (libc_extra_cppflags): New flag.
23614 * configure. Regenerate.
23615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
23616 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
23617 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
23618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
23619
23620 [BZ #16815]
23621 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
23622 result for FE_DOWNWARD rounding mode.
23623 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
23624 Likewise.
23625 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23626
23627 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
23628
23629 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
23630 in function argument name.
23631
23632 2014-04-03 David Svoboda <svoboda@cert.org>
23633
23634 [BZ #5666]
23635 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
23636 explicitly.
23637
23638 2014-04-03 Roland McGrath <roland@hack.frob.com>
23639
23640 * elf/dl-unmap-segments.h: New file.
23641 * sysdeps/generic/ldsodefs.h
23642 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
23643 * elf/dl-close.c: Include <dl-unmap-segments.h>.
23644 * elf/dl-fptr.c: Likewise.
23645 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
23646 * sysdeps/aarch64/tlsdesc.c: Likewise.
23647 * sysdeps/arm/tlsdesc.c: Likewise.
23648 * sysdeps/i386/tlsdesc.c: Likewise.
23649 * sysdeps/tile/dl-runtime.c: Likewise.
23650 * sysdeps/x86_64/tlsdesc.c: Likewise.
23651 * elf/dl-load.h: New file.
23652 * elf/dl-load.c: Include it.
23653 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
23654 Macros moved to dl-load.h.
23655 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
23656 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
23657 Use _dl_unmap_segments in place of __munmap.
23658 Break out segment-mapping loop into ...
23659 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
23660
23661 2014-04-03 Will Newton <will.newton@linaro.org>
23662
23663 * elf/dl-lookup.c (do_lookup_x): Remove comment
23664 referring to nested function and move variable
23665 declarations down to before first use.
23666
23667 2014-04-02 Joseph Myers <joseph@codesourcery.com>
23668
23669 [BZ #16799]
23670 [BZ #16800]
23671 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
23672 with 0 numerator.
23673 * math/s_catanf.c (__catanf): Likewise.
23674 * math/s_catanh.c (__catanh): Likewise.
23675 * math/s_catanhf.c (__catanhf): Likewise.
23676 * math/s_catanhl.c (__catanhl): Likewise.
23677 * math/s_catanl.c (__catanl): Likewise.
23678 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
23679 by positive zero when computing -Inf result.
23680 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
23681 (catanh_test): Likewise.
23682 * sysdeps/i386/fpu/libm-test-ulps: Update.
23683 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23684
23685 [BZ #16789]
23686 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
23687 instead of using underflowing value in computing result.
23688 * math/s_clog10.c (__clog10): Likewise.
23689 * math/s_clog10f.c (__clog10f): Likewise.
23690 * math/s_clog10l.c (__clog10l): Likewise.
23691 * math/s_clogf.c (__clogf): Likewise.
23692 * math/s_clogl.c (__clogl): Likewise.
23693 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
23694 (clog10_test): Likewise.
23695 * sysdeps/i386/fpu/libm-test-ulps: Update.
23696 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23697
23698 2014-04-02 Alan Modra <amodra@gmail.com>
23699
23700 [BZ #16739]
23701 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
23702 output when value is near a power of two. Use int64_t for lx and
23703 remove casts. Use decimal rather than hex exponent constants.
23704 Don't use long double multiplication when double will suffice.
23705 * math/libm-test.inc (nextafter_test_data): Add tests.
23706 * NEWS: Add 16739 and 16786 to bug list.
23707
23708 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
23709
23710 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
23711
23712 2014-04-01 Will Newton <will.newton@linaro.org>
23713
23714 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
23715 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
23716
23717 2014-04-01 Florian Weimer <fweimer@redhat.com>
23718
23719 [BZ #13347]
23720 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
23721 * nptl/tst-setuid2.c: New file.
23722 * nptl/Makefile (xtests): Add tst-setuid2.
23723
23724 2014-04-01 Alan Modra <amodra@gmail.com>
23725
23726 [BZ #16786]
23727 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
23728
23729 2014-03-31 Joseph Myers <joseph@codesourcery.com>
23730
23731 [BZ #6803]
23732 [BZ #6804]
23733 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
23734 set errno as appropriate.
23735 * math/w_scalbf.c (__scalbf): Likewise.
23736 * math/w_scalbl.c (__scalbl): Likewise.
23737 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
23738 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
23739 * math/libm-test.inc (scalb_test_data): Add errno expectations.
23740 Add more NaN tests.
23741
23742 [BZ #16349]
23743 * math/w_atan2.c: Include <errno.h>.
23744 (__atan2): Set errno for result underflowing to zero.
23745 * math/w_atan2f.c: Include <errno.h>.
23746 (__atan2f): Set errno for result underflowing to zero.
23747 * math/w_atan2l.c: Include <errno.h>.
23748 (__atan2l): Set errno for result underflowing to zero.
23749 * math/auto-libm-test-in: Don't allow missing errno for some atan2
23750 tests.
23751 * math/auto-libm-test-out: Regenerated.
23752
23753 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23754
23755 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
23756 Encode instruction correctly in little endian.
23757 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
23758 Likewise.
23759 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
23760 Likewise.
23761 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
23762 Likewise.
23763 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
23764 Likewise.
23765
23766 2014-03-31 Joseph Myers <joseph@codesourcery.com>
23767
23768 [BZ #9894]
23769 * sysdeps/unix/sysv/linux/kernel-features.h
23770 [__sparc__ && !__arch64__ && !__sparc_v9__]
23771 (__ASSUME_SET_ROBUST_LIST): Do not define.
23772 [__sparc__ && !__arch64__ && !__sparc_v9__]
23773 (__ASSUME_FUTEX_LOCK_PI): Likewise.
23774 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
23775 Likewise.
23776 * sysdeps/unix/sysv/linux/arm/kernel-features.h
23777 (__ASSUME_FUTEX_LOCK_PI): Undefine.
23778 (__ASSUME_REQUEUE_PI): Likewise.
23779 (__ASSUME_SET_ROBUST_LIST): Likewise.
23780 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
23781 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
23782 Undefine.
23783 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23784 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
23785 Likewise.
23786 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
23787 Likewise.
23788 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
23789 Likewise.
23790 * sysdeps/unix/sysv/linux/mips/kernel-features.h
23791 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
23792 Undefine.
23793 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
23794 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
23795 Likewise.
23796
23797 [BZ #16648]
23798 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23799 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
23800 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
23801
23802 2014-03-31 Will Newton <will.newton@linaro.org>
23803
23804 * benchtests/Makefile (bench): Add ffs and ffsll to list
23805 of tests.
23806 * benchtests/ffs-inputs: New file.
23807 * benchtests/ffsll-inputs: Likewise.
23808
23809 2014-03-29 Joseph Myers <joseph@codesourcery.com>
23810
23811 [BZ #16770]
23812 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
23813 too large before casting to int.
23814 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
23815 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
23816 * math/libm-test.inc (scalb_test_data): Add more tests.
23817
23818 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
23819
23820 * benchtests/Makefile (DETAILED_OPT): New make option.
23821 (bench-func): Run benchmark program with -d if DETAILED_OPT is
23822 set.
23823 * benchtests/bench-skeleton.c: Include stdbool.h.
23824 (main): Store and print timings per input.
23825 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
23826 member to each argument value.
23827 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
23828 (_print_arg_data): Initialize per-input timing to 0.
23829
23830 * benchtests/Makefile (timing-type): New binary.
23831 (bench-clean): Also remove bench-timing-type.
23832 (bench): New target for timing-type.
23833 (bench-func): Print output in JSON format.
23834 * benchtests/bench-skeleton.c (main): Print output in JSON
23835 format.
23836 * benchtests/bench-timing-type.c: New file.
23837 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
23838 (TIMING_PRINT_STATS): Remove.
23839 * benchtests/scripts/bench.py (_print_arg_data): Store variant
23840 name separately.
23841
23842 * benchtests/bench-modf.c: Remove.
23843 * benchtests/modf-inputs: New inputs file.
23844
23845 2014-03-28 Joseph Myers <joseph@codesourcery.com>
23846
23847 [BZ #16362]
23848 * math/s_clog10.c (M_PI_LOG10E): New macro.
23849 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
23850 imaginary parts are 0.
23851 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
23852 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
23853 imaginary parts are 0.
23854 * math/s_clog10l.c (M_PI_LOG10El): New macro.
23855 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
23856 imaginary parts are 0.
23857 * math/libm-test.inc (clog10_test_data): Update expected results
23858 for when real and imaginary parts are 0.
23859
23860 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
23861
23862 * elf/dl-load.c: Finish conversion of __builtin_expect into
23863 __glibc_{un}likely.
23864
23865 2014-03-27 Joseph Myers <joseph@codesourcery.com>
23866
23867 [BZ #16348]
23868 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
23869 1+x for argument with exponent below -67.
23870 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
23871 Likewise.
23872 * math/auto-libm-test-in: Add more tests of exp.
23873 * math/auto-libm-test-out: Regenerated.
23874
23875 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23876
23877 [BZ #16759]
23878 * inet/getnetgrent_r.c (get_nonempty_val): New function.
23879 (nscd_getnetgrent): Use it.
23880
23881 [BZ #16760]
23882 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
23883 of stpcpy.
23884
23885 2014-03-27 Andi Kleen <ak@linux.intel.com>
23886
23887 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
23888 (lll_robust_lock, lll_cond_lock, lll_timedlock)
23889 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
23890 (lll_robust_unlock): Remove out of line section. Use cfi
23891 intrinsics.
23892 (LLL_STUB_UNWIND_INFO*): Remove.
23893 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
23894 (lll_robust_lock, lll_cond_lock, lll_timedlock)
23895 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
23896 (lll_robust_unlock): Remove out of line section. Use cfi
23897 intrinsics.
23898 (LLL_STUB_UNWIND_INFO*): Remove.
23899
23900 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23901
23902 [BZ #16758]
23903 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
23904 blank values.
23905
23906 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
23907
23908 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
23909
23910 2014-03-26 Joseph Myers <joseph@codesourcery.com>
23911
23912 [BZ #16198]
23913 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
23914 fnstenv.
23915 * math/test-fenv-preserve.c: New file.
23916 * math/Makefile (tests): Add test-fenv-preserve.
23917
23918 2014-03-26 Will Newton <will.newton@linaro.org>
23919
23920 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
23921
23922 2014-03-25 Roland McGrath <roland@hack.frob.com>
23923
23924 * scripts/versionlist.awk: Partition the version sets and emit all
23925 GLIBC_* (sorted) before all others (sorted).
23926
23927 2014-03-25 Joseph Myers <joseph@codesourcery.com>
23928
23929 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
23930 GLIBC_2.2.5 version.
23931
23932 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23933
23934 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
23935 calls.
23936
23937 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
23938 previous change.
23939
23940 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23941
23942 2014-03-25 Andreas Schwab <schwab@suse.de>
23943
23944 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
23945 label to be used after in6ailist is initialized.
23946
23947 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23948
23949 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
23950 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
23951
23952 2014-03-25 Joseph Myers <joseph@codesourcery.com>
23953
23954 [BZ #16357]
23955 [BZ #16599]
23956 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
23957 min_plus_half.
23958 (fp_formats): Update initializers.
23959 (init_fp_formats): Initialize new field.
23960 (output_for_one_input_case): Allow underflow for results up to
23961 min_plus_half.
23962 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
23963 * math/auto-libm-test-in: Don't mark some underflows from asin and
23964 atanh as spurious.
23965 * math/auto-libm-test-out: Regenerated.
23966 * sysdeps/i386/fpu/libm-test-ulps: Update.
23967 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23968
23969 2014-03-25 Andreas Schwab <schwab@suse.de>
23970
23971 * libio/Makefile (tst-ftell-partial-wide-ENV)
23972 (tst-ftell-active-handler-ENV): Define.
23973
23974 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
23975
23976 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
23977
23978 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
23979
23980 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
23981
23982 2014-03-24 Joseph Myers <joseph@codesourcery.com>
23983
23984 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
23985 * sysdeps/x86_64/fpu/multiarch/e_exp.c
23986 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
23987
23988 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
23989
23990 [BZ #16634]
23991 * elf/dl-load.c (open_verify): Add mode parameter.
23992 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
23993 (open_path): Change from boolean 'secure' to complete flag 'mode'
23994 (_dl_map_object): Adjust.
23995 * elf/Makefile (tests): Add tst-dlopen-aout.
23996 * elf/tst-dlopen-aout.c: New test.
23997
23998 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
23999
24000 [BZ #16714]
24001 * sysdeps/unix/sysv/linux/s390/bits/stat.h
24002 (struct stat): Rename member pad0 to __glibc_reserved0.
24003
24004 [BZ #16712]
24005 * sysdeps/s390/s390-32/bits/wordsize.h
24006 (__WORDSIZE32_SIZE_ULONG): New define.
24007 * sysdeps/s390/s390-64/bits/wordsize.h
24008 (__WORDSIZE32_SIZE_ULONG): Likewise.
24009 * sysdeps/generic/stdint.h (SIZE_MAX):
24010 Define as UL if __WORDSIZE32_SIZE_ULONG.
24011
24012 [BZ #16713]
24013 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
24014 (__glibc_reserved0): New variable.
24015 (sa_flags): Change type to int.
24016
24017 * posix/Makefile (before-compile): Use += before-compile instead
24018 of a :=.
24019
24020 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
24021 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
24022
24023 2014-03-20 Andreas Schwab <schwab@suse.de>
24024
24025 [BZ #16743]
24026 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
24027 non-matching result from nscd.
24028
24029 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
24030
24031 * scripts/bench.py: Moved to ...
24032 * benchtests/scripts/bench.py: ... here.
24033 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
24034
24035 2014-03-24 Andreas Schwab <schwab@suse.de>
24036
24037 [BZ #16002]
24038 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
24039 alloca_account and account alloca use for struct in6ailist.
24040
24041 2014-03-24 Joseph Myers <joseph@codesourcery.com>
24042
24043 [BZ #16284]
24044 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
24045 rounding mode to recompute results that overflow to infinity or
24046 underflow to zero.
24047 * math/auto-libm-test-in: Don't mark tests as expected to fail for
24048 bug 16284.
24049 * math/auto-libm-test-out: Regenerated.
24050 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
24051 (ccosh_test): Likewise.
24052 (csin_test_data): Use plus_oflow.
24053 (csin_test): Use ALL_RM_TEST.
24054 (csinh_test_data): Use plus_oflow.
24055 (csinh_test): Use ALL_RM_TEST.
24056 * sysdeps/i386/fpu/libm-test-ulps: Update.
24057 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24058
24059 2014-03-21 Joseph Myers <joseph@codesourcery.com>
24060
24061 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
24062 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
24063 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
24064
24065 [BZ #16731]
24066 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
24067 when x - 1 is zero.
24068 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
24069 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
24070 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
24071 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
24072 argument is 1.
24073 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
24074 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
24075 zero.
24076 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
24077 * sysdeps/i386/fpu/libm-test-ulps: Update.
24078 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24079
24080 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24081
24082 * scripts/bench.pl: Remove file.
24083 * scripts/bench.py: New benchmark script.
24084 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
24085 * benchtests/README: Mention python dependency.
24086 * scripts/pylintrc: New file.
24087 * scripts/pylint: New file.
24088
24089 * bits/mathdef.h: Use #ifdef instead of #if.
24090 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
24091 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
24092 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
24093 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
24094 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
24095 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
24096
24097 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24098 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
24099
24100 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
24101 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
24102 and strpbrk-ppc64 objects.
24103 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24104 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
24105 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
24106 multiarch strpbrk for POWER7.
24107 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
24108 multiarch strpbrk for PPC64.
24109 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
24110 ifunc selector.
24111 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
24112 strpbrk for POWER7.
24113
24114 2014-03-20 Joseph Myers <joseph@codesourcery.com>
24115
24116 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
24117 (atan_test): Likewise.
24118 (atanh_test_data): Use NO_TEST_INLINE for two tests.
24119 (atanh_test): Use ALL_RM_TEST.
24120 (atan2_test_data): Likewise.
24121 (cabs_test): Likewise.
24122 (cacosh_test): Likewise.
24123 (carg_test): Likewise.
24124 (casin_test): Likewise.
24125 (casinh_test): Likewise.
24126 (cbrt_test): Likewise.
24127 (csqrt_test): Likewise.
24128 (erf_test): Likewise.
24129 (erfc_test): Likewise.
24130 (pow10_test): Likewise.
24131 (exp2_test): Likewise.
24132 (hypot_test): Likewise.
24133 (j0_test): Likewise.
24134 (j1_test): Likewise.
24135 (lgamma_test): Likewise.
24136 (gamma_test): Likewise.
24137 (sincos_test): Likewise.
24138 (tanh_test): Likewise.
24139 (y0_test): Likewise.
24140 (y1_test): Likewise.
24141 * sysdeps/i386/fpu/libm-test-ulps: Update.
24142 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24143
24144 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24145
24146 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
24147 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
24148 and strcspn-ppc64 objects.
24149 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24150 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
24151 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
24152 multiarch strcspn for POWER7.
24153 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
24154 multiarch strcspn for PPC64.
24155 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
24156 ifunc selector.
24157 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
24158 strcspn for POWER7.
24159
24160 2014-03-20 Joseph Myers <joseph@codesourcery.com>
24161
24162 * math/gen-libm-test.pl (generate_testfile): Expect only function
24163 name as argument to AUTO_TESTS_* and pass results for all rounding
24164 modes to parse_args.
24165 (parse_auto_input): Separate inputs of automatic tests from
24166 outputs before storing in %auto_tests.
24167 * math/libm-test.inc (acos_test_data): Update call to
24168 AUTO_TESTS_f_f.
24169 (acos_test): Use ALL_RM_TEST.
24170 (acos_tonearest_test_data): Remove.
24171 (acos_test_tonearest): Likewise.
24172 (acos_towardzero_test_data): Likewise.
24173 (acos_test_towardzero): Likewise.
24174 (acos_downward_test_data): Likewise.
24175 (acos_test_downward): Likewise.
24176 (acos_upward_test_data): Likewise.
24177 (acos_test_upward): Likewise.
24178 (acosh_test_data): Update call to AUTO_TESTS_f_f.
24179 (asin_test_data): Likewise.
24180 (asin_test): Use ALL_RM_TEST.
24181 (asin_tonearest_test_data): Remove.
24182 (asin_test_tonearest): Likewise.
24183 (asin_towardzero_test_data): Likewise.
24184 (asin_test_towardzero): Likewise.
24185 (asin_downward_test_data): Likewise.
24186 (asin_test_downward): Likewise.
24187 (asin_upward_test_data): Likewise.
24188 (asin_test_upward): Likewise.
24189 (asinh_test_data): Update call to AUTO_TESTS_f_f.
24190 (atan_test_data): Likewise.
24191 (atanh_test_data): Likewise.
24192 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
24193 (cabs_test_data): Update call to AUTO_TESTS_c_f.
24194 (carg_test_data): Likewise.
24195 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
24196 (ccos_test_data): Update call to AUTO_TESTS_c_c.
24197 (ccosh_test_data): Likewise.
24198 (cexp_test_data): Likewise.
24199 (clog_test_data): Likewise.
24200 (clog10_test_data): Likewise.
24201 (cos_test_data): Update call to AUTO_TESTS_f_f.
24202 (cos_test): Use ALL_RM_TEST.
24203 (cos_tonearest_test_data): Remove.
24204 (cos_test_tonearest): Likewise.
24205 (cos_towardzero_test_data): Likewise.
24206 (cos_test_towardzero): Likewise.
24207 (cos_downward_test_data): Likewise.
24208 (cos_test_downward): Likewise.
24209 (cos_upward_test_data): Likewise.
24210 (cos_test_upward): Likewise.
24211 (cosh_test_data): Update call to AUTO_TESTS_f_f.
24212 (cosh_test): Use ALL_RM_TEST.
24213 (cosh_tonearest_test_data): Remove.
24214 (cosh_test_tonearest): Likewise.
24215 (cosh_towardzero_test_data): Likewise.
24216 (cosh_test_towardzero): Likewise.
24217 (cosh_downward_test_data): Likewise.
24218 (cosh_test_downward): Likewise.
24219 (cosh_upward_test_data): Likewise.
24220 (cosh_test_upward): Likewise.
24221 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
24222 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
24223 (ctan_test_data): Likewise.
24224 (ctan_test): Use ALL_RM_TEST.
24225 (ctan_tonearest_test_data): Remove.
24226 (ctan_test_tonearest): Likewise.
24227 (ctan_towardzero_test_data): Likewise.
24228 (ctan_test_towardzero): Likewise.
24229 (ctan_downward_test_data): Likewise.
24230 (ctan_test_downward): Likewise.
24231 (ctan_upward_test_data): Likewise.
24232 (ctan_test_upward): Likewise.
24233 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
24234 (ctanh_test): Use ALL_RM_TEST.
24235 (ctanh_tonearest_test_data): Remove.
24236 (ctanh_test_tonearest): Likewise.
24237 (ctanh_towardzero_test_data): Likewise.
24238 (ctanh_test_towardzero): Likewise.
24239 (ctanh_downward_test_data): Likewise.
24240 (ctanh_test_downward): Likewise.
24241 (ctanh_upward_test_data): Likewise.
24242 (ctanh_test_upward): Likewise.
24243 (erf_test_data): Update call to AUTO_TESTS_f_f.
24244 (erfc_test_data): Likewise.
24245 (exp_test_data): Likewise.
24246 (exp_test): Use ALL_RM_TEST.
24247 (exp_tonearest_test_data): Remove.
24248 (exp_test_tonearest): Likewise.
24249 (exp_towardzero_test_data): Likewise.
24250 (exp_test_towardzero): Likewise.
24251 (exp_downward_test_data): Likewise.
24252 (exp_test_downward): Likewise.
24253 (exp_upward_test_data): Likewise.
24254 (exp_test_upward): Likewise.
24255 (exp10_test_data): Update call to AUTO_TESTS_f_f.
24256 (exp10_test): Use ALL_RM_TEST.
24257 (exp10_tonearest_test_data): Remove.
24258 (exp10_test_tonearest): Likewise.
24259 (exp10_towardzero_test_data): Likewise.
24260 (exp10_test_towardzero): Likewise.
24261 (exp10_downward_test_data): Likewise.
24262 (exp10_test_downward): Likewise.
24263 (exp10_upward_test_data): Likewise.
24264 (exp10_test_upward): Likewise.
24265 (exp2_test_data): Update call to AUTO_TESTS_f_f.
24266 (expm1_test_data): Likewise.
24267 (expm1_test): Use ALL_RM_TEST.
24268 (expm1_tonearest_test_data): Remove.
24269 (expm1_test_tonearest): Likewise.
24270 (expm1_towardzero_test_data): Likewise.
24271 (expm1_test_towardzero): Likewise.
24272 (expm1_downward_test_data): Likewise.
24273 (expm1_test_downward): Likewise.
24274 (expm1_upward_test_data): Likewise.
24275 (expm1_test_upward): Likewise.
24276 (fma_test_data): Update call to AUTO_TESTS_fff_f.
24277 (fma_test): Use ALL_RM_TEST.
24278 (fma_towardzero_test_data): Remove.
24279 (fma_test_towardzero): Likewise.
24280 (fma_downward_test_data): Likewise.
24281 (fma_test_downward): Likewise.
24282 (fma_upward_test_data): Likewise.
24283 (fma_test_upward): Likewise.
24284 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
24285 (j0_test_data): Update call to AUTO_TESTS_f_f.
24286 (j1_test_data): Likewise.
24287 (jn_test_data): Update call to AUTO_TESTS_if_f.
24288 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
24289 (log_test_data): Update call to AUTO_TESTS_f_f.
24290 (log10_test_data): Likewise.
24291 (log1p_test_data): Likewise.
24292 (log2_test_data): Likewise.
24293 (pow_test_data): Update call to AUTO_TESTS_ff_f.
24294 (pow_tonearest_test_data): Likewise.
24295 (sin_test_data): Update call to AUTO_TESTS_f_f.
24296 (sin_test): Use ALL_RM_TEST.
24297 (sin_tonearest_test_data): Remove.
24298 (sin_test_tonearest): Likewise.
24299 (sin_towardzero_test_data): Likewise.
24300 (sin_test_towardzero): Likewise.
24301 (sin_downward_test_data): Likewise.
24302 (sin_test_downward): Likewise.
24303 (sin_upward_test_data): Likewise.
24304 (sin_test_upward): Likewise.
24305 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
24306 (sinh_test_data): Update call to AUTO_TESTS_f_f.
24307 (sinh_test): Use ALL_RM_TEST.
24308 (sinh_tonearest_test_data): Remove.
24309 (sinh_test_tonearest): Likewise.
24310 (sinh_towardzero_test_data): Likewise.
24311 (sinh_test_towardzero): Likewise.
24312 (sinh_downward_test_data): Likewise.
24313 (sinh_test_downward): Likewise.
24314 (sinh_upward_test_data): Likewise.
24315 (sinh_test_upward): Likewise.
24316 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
24317 (sqrt_test): Use ALL_RM_TEST.
24318 (sqrt_tonearest_test_data): Remove.
24319 (sqrt_test_tonearest): Likewise.
24320 (sqrt_towardzero_test_data): Likewise.
24321 (sqrt_test_towardzero): Likewise.
24322 (sqrt_downward_test_data): Likewise.
24323 (sqrt_test_downward): Likewise.
24324 (sqrt_upward_test_data): Likewise.
24325 (sqrt_test_upward): Likewise.
24326 (tan_test_data): Update call to AUTO_TESTS_f_f.
24327 (tan_test): Use ALL_RM_TEST.
24328 (tan_tonearest_test_data): Remove.
24329 (tan_test_tonearest): Likewise.
24330 (tan_towardzero_test_data): Likewise.
24331 (tan_test_towardzero): Likewise.
24332 (tan_downward_test_data): Likewise.
24333 (tan_test_downward): Likewise.
24334 (tan_upward_test_data): Likewise.
24335 (tan_test_upward): Likewise.
24336 (tanh_test_data): Update call to AUTO_TESTS_f_f.
24337 (tgamma_test_data): Likewise.
24338 (y0_test_data): Likewise.
24339 (y1_test_data): Likewise.
24340 (yn_test_data): Update call to AUTO_TESTS_if_f.
24341 (main): Do not call removed functions.
24342
24343 2014-03-19 Joseph Myers <joseph@codesourcery.com>
24344
24345 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
24346 (ldexp_test_data): Remove.
24347 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
24348 scalbn_test_data.
24349 (scalb_test): Use ALL_RM_TEST.
24350
24351 2014-03-19 Andreas Schwab <schwab@suse.de>
24352
24353 * nscd/nscd.service: Also invalidate netgroup cache on reload.
24354
24355 2014-03-19 Joseph Myers <joseph@codesourcery.com>
24356
24357 [BZ #16649]
24358 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24359 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
24360 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
24361 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24362 (__ASSUME_PREADV): Undefine.
24363 (__ASSUME_PWRITEV): Likewise.
24364
24365 2014-03-18 Roland McGrath <roland@hack.frob.com>
24366
24367 * bits/mman-linux.h: Add comment about non-Linux use.
24368 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
24369 bits/mman-linux.h resting place.
24370
24371 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
24372 * bits/mman-linux.h: ... here.
24373
24374 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24375
24376 * conform/conformtest.pl: Add standard definition when calling C
24377 preprocessor on data files.
24378 (checknamespace): Remove unused variable.
24379
24380 2014-03-18 Joseph Myers <joseph@codesourcery.com>
24381
24382 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
24383 minus_oflow, plus_uflow and minus_uflow in expected results.
24384 * math/libm-test.inc (scalbn_test_data): Add more tests of
24385 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
24386 minus_uflow.
24387 (scalbn_test): Use ALL_RM_TEST.
24388 (scalbln_test_data): Add more tests of negative arguments. Use
24389 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
24390 (scalbln_test): Use ALL_RM_TEST.
24391
24392 2014-03-18 Roland McGrath <roland@hack.frob.com>
24393
24394 * scripts/abilist.awk: Ignore symbols marked with .hidden.
24395
24396 2014-03-18 Will Newton <will.newton@linaro.org>
24397
24398 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
24399 inaccurate comment.
24400
24401 2014-03-18 Joseph Myers <joseph@codesourcery.com>
24402
24403 * Makerules [!subdir] (check-abi): Exit with error status if a
24404 test failed.
24405
24406 2014-03-17 Joseph Myers <joseph@codesourcery.com>
24407
24408 * math/libm-test.inc (nearbyint_test_data): Include all tests used
24409 for rint. Include results for all rounding modes.
24410 (nearbyint_test): Use ALL_RM_TEST.
24411 (rint_test_data): Include all tests used for nearbyint.
24412
24413 2014-03-17 Will Newton <will.newton@linaro.org>
24414
24415 * nptl/sysdeps/pthread/pthread.h: Revert previous
24416 change.
24417
24418 * sysdeps/generic/ldsodefs.h: Revert previous
24419 change.
24420
24421 * libio/genops.c: Revert previous change.
24422 * libio/libioP.h: Likewise.
24423 * stdio-common/vfprintf.c: Likewise.
24424
24425 * sysdeps/generic/math_private.h: Revert previous
24426 change.
24427
24428 * sysdeps/generic/math_private.h: Check whether
24429 HAVE_RM_CTX is defined with #ifdef rather
24430 than #if.
24431
24432 * argp/argp-fmtstream.h: Check whether
24433 __STRICT_ANSI__ is defined with #ifdef rather
24434 than #if.
24435 * argp/argp.h: Likewise.
24436
24437 * libio/genops.c: Check whether
24438 _IO_JUMPS_OFFSET is defined with #ifdef rather
24439 than #if.
24440 * libio/libioP.h: Likewise.
24441 * stdio-common/vfprintf.c: Likewise.
24442
24443 * sysdeps/generic/ldsodefs.h: Check whether
24444 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
24445 than #if.
24446
24447 * nptl/sysdeps/pthread/pthread.h: Check
24448 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
24449 its value.
24450
24451 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
24452
24453 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
24454 setting O_APPEND.
24455 * libio/tst-ftell-active-handler.c (do_append_test): Add a
24456 test case.
24457
24458 [BZ #16680]
24459 * libio/fileops.c (_IO_file_open): Seek to end of file but
24460 don't cache the offset.
24461 (get_file_offset): Remove function.
24462 (do_ftell): Use cached offset when available.
24463 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
24464 don't cache the offset.
24465 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
24466 case.
24467 (do_one_test): Call it.
24468 (do_ftell_test): Fix up expected old offset for a+ mode.
24469 * libio/wfileops.c (do_ftell_wide): Used cached offset when
24470 available.
24471
24472 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
24473 up test status with function return status.
24474 (do_write_test): Likewise.
24475 (do_append_test): Likewise.
24476
24477 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
24478 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
24479 Remove.
24480
24481 2014-03-17 Joseph Myers <joseph@codesourcery.com>
24482
24483 * math/gen-libm-test.pl (parse_args): Handle results specified for
24484 each rounding mode separately.
24485 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
24486 tests and results from lrint_tonearest_test_data,
24487 lrint_towardzero_test_data, lrint_downward_test_data and
24488 lrint_upward_test_data.
24489 (lrint_test): Use ALL_RM_TEST.
24490 (lrint_tonearest_test_data): Remove.
24491 (lrint_test_tonearest): Likewise.
24492 (lrint_towardzero_test_data): Likewise.
24493 (lrint_test_towardzero): Likewise.
24494 (lrint_downward_test_data): Likewise.
24495 (lrint_test_downward): Likewise.
24496 (lrint_upward_test_data): Likewise.
24497 (lrint_test_upward): Likewise.
24498 (llrint_test_data): Merge in per-rounding-mode tests and results
24499 from llrint_tonearest_test_data, llrint_towardzero_test_data,
24500 llrint_downward_test_data and llrint_upward_test_data.
24501 (llrint_test): Use ALL_RM_TEST.
24502 (llrint_tonearest_test_data): Remove.
24503 (llrint_test_tonearest): Likewise.
24504 (llrint_towardzero_test_data): Likewise.
24505 (llrint_test_towardzero): Likewise.
24506 (llrint_downward_test_data): Likewise.
24507 (llrint_test_downward): Likewise.
24508 (llrint_upward_test_data): Likewise.
24509 (llrint_test_upward): Likewise.
24510 (rint_test_data): Merge in per-rounding-mode tests and results
24511 from rint_tonearest_test_data, rint_towardzero_test_data,
24512 rint_downward_test_data and rint_upward_test_data. Add
24513 per-rounding-mode results for tests not in those arrays.
24514 (rint_test): Use ALL_RM_TEST.
24515 (rint_tonearest_test_data): Remove.
24516 (rint_test_tonearest): Likewise.
24517 (rint_towardzero_test_data): Likewise.
24518 (rint_test_towardzero): Likewise.
24519 (rint_downward_test_data): Likewise.
24520 (rint_test_downward): Likewise.
24521 (rint_upward_test_data): Likewise.
24522 (rint_test_upward): Likewise.
24523 (main): Don't call removed functions.
24524
24525 2014-03-14 Roland McGrath <roland@hack.frob.com>
24526
24527 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
24528 "Compiled on ..." crapola. It is anti-useful.
24529
24530 2014-03-14 Joseph Myers <joseph@codesourcery.com>
24531
24532 * scripts/evaluate-test.sh: Handle fourth argument to determine
24533 whether test run should stop on failure.
24534 * Makeconfig (stop-on-test-failure): New variable.
24535 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
24536 $(stop-on-test-failure).
24537 * Makefile (tests): Give a summary of results from testing and
24538 exit with failure status if they include an ERROR or FAIL.
24539 (xtests): Likewise.
24540 * manual/install.texi (Configuring and compiling): Mention
24541 stop-on-test-failure=y.
24542 * INSTALL: Regenerated.
24543
24544 2014-03-14 Roland McGrath <roland@hack.frob.com>
24545
24546 * scripts/versionlist.awk: New file.
24547 * Makerules [$(build-shared) = yes]
24548 (postclean-generated): Add Versions.def, not Versions.def.v and
24549 Versions.def.v.i.
24550 ($(common-objpfx)Versions.def.v.i): Target removed.
24551 ($(common-objpfx)Versions.def): New target.
24552 ($(common-objpfx)Versions.all): Depend on that rather that
24553 $(common-objpfx)Versions.def.v.
24554 * Versions.def: File removed.
24555
24556 * Makeconfig (+gccwarn): Add -Wundef.
24557 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
24558 a dl-sysdep.h breaking its contract.
24559 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
24560 * include/stackinfo.h: New file.
24561 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
24562 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
24563 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
24564 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
24565 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
24566 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
24567 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
24568 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
24569 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
24570 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
24571 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
24572 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
24573 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
24574 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
24575 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
24576
24577 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24578
24579 [BZ #16707]
24580 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
24581 implementation.
24582 * math/libm-test.inc (round_test_data): Add more tests.
24583
24584 [BZ #16706]
24585 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
24586 implementation.
24587 * math/libm-test.inc (nearbyint_test_data): Add more tests.
24588
24589 [BZ #16701]
24590 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
24591 implementation.
24592 * math/libm-test.inc (ceil_test_data): Add more tests.
24593
24594 * math/libm-test.inc (trunc_test_data): Add more tests related to
24595 BZ#16414.
24596
24597 2014-03-14 Roland McGrath <roland@hack.frob.com>
24598
24599 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
24600 with #if rather than #ifdef.
24601 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
24602
24603 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
24604
24605 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
24606 first. Disable AVX-512 GCC support if assembler doesn't support
24607 it.
24608 * sysdeps/x86_64/configure: Regenerated.
24609
24610 2014-03-13 Carlos O'Donell <carlos@redhat.com>
24611
24612 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
24613 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
24614 (__old_pthread_attr_setstack): Likewise.
24615 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
24616 [!_STACK_GROWS_DOWN]: Likewise.
24617
24618 2014-03-13 Mike Frysinger <vapier@gentoo.org>
24619
24620 * config.make.in (have-bash2): Delete.
24621 * configure.ac (libc_cv_have_bash2): Delete.
24622 * configure: Regenerate.
24623 * elf/Makefile (common-ldd-rewrite): Rename to ...
24624 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
24625 (sh-ldd-rewrite): Delete.
24626 (bash-ldd-rewrite): Delete.
24627 (have-bash2): Delete checks.
24628 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
24629 ldd-rewrite.
24630
24631 * config.make.in (have-ksh): Delete.
24632 (KSH): Delete.
24633 * configure.ac (libc_cv_have_ksh): Delete.
24634 * configure: Regenerate.
24635
24636 * elf/Makefile: Delete $(have-ksh) check.
24637 ($(objpfx)sotruss): Change KSH to BASH.
24638 * elf/sotruss.ksh: Rename to ...
24639 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
24640 function style to match POSIX. Drop ksh vim mode setting.
24641
24642 * manual/time.texi (Specifying the Time Zone with TZ): Change
24643 Tuesday to Thursday.
24644
24645 * debug/tst-longjmp_chk2.c: Update header comment.
24646 (stackoverflow_handler): Add comment. Call assert on pass value.
24647
24648 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
24649
24650 [BZ #16194]
24651 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
24652 (HAVE_AVX512_ASM_SUPPORT): Likewise.
24653 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
24654 (La_x86_64_vector): Add zmm.
24655 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
24656 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
24657 ($(objpfx)tst-audit10): New target.
24658 ($(objpfx)tst-audit10.out): Likewise.
24659 (tst-audit10-ENV): New.
24660 (AVX512-CFLAGS): Likewise.
24661 (CFLAGS-tst-audit10.c): Likewise.
24662 (CFLAGS-tst-auditmod10a.c): Likewise.
24663 (CFLAGS-tst-auditmod10b.c): Likewise.
24664 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
24665 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
24666 * sysdeps/x86_64/configure: Regenerated.
24667 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
24668 AVX-512 zmm register support.
24669 (_dl_x86_64_save_sse): Likewise.
24670 (_dl_x86_64_restore_sse): Likewise.
24671 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
24672 size vector registers.
24673 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
24674 (ZMM_SIZE): Likewise.
24675 * sysdeps/x86_64/tst-audit10.c: New file.
24676 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
24677 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
24678
24679 2014-03-13 Roland McGrath <roland@hack.frob.com>
24680
24681 * configure.ac (HAVE_EHDR_START): New check.
24682 * configure: Regenerated.
24683 * config.h.in (HAVE_EHDR_START): New #undef.
24684 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
24685 assuming the lowest-addressed segment maps the start of the file.
24686
24687 2014-03-13 Joseph Myers <joseph@codesourcery.com>
24688
24689 * INSTALL: Regenerated.
24690
24691 2014-03-13 Will Newton <will.newton@linaro.org>
24692
24693 * manual/setjmp.texi (System V contexts): Improve
24694 clarity and grammar of documentation.
24695
24696 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
24697
24698 [BZ #16381]
24699 * elf/Makefile (tests): Add tst-pie2.
24700 (tests-pie): Add tst-pie2.
24701 * elf/tst-pie2.c: New file.
24702 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
24703 for ET_EXEC.
24704 * elf/rtld.c (map_doit): Load executable as lt_executable.
24705 (dl_main): Likewise.
24706
24707 2014-03-12 Joseph Myers <joseph@codesourcery.com>
24708
24709 [BZ #16642]
24710 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24711 (__ASSUME_PSELECT): Undefine.
24712
24713 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24714
24715 [BZ #16689]
24716 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
24717 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
24718 static build.
24719 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
24720 selector for static builds.
24721
24722 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
24723
24724 [BZ #16695]
24725 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
24726 key in the buffer.
24727
24728 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24729
24730 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
24731 IFUNC selector for static builds.
24732
24733 2014-03-11 Joseph Myers <joseph@codesourcery.com>
24734
24735 * sysdeps/mips/math_private.h [__mips_hard_float]
24736 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
24737 libc_feresetround_mips_ctx.
24738 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
24739 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
24740 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
24741
24742 [BZ #16677]
24743 * math/s_nextafter.c (__nextafter): Do not return value from
24744 overflowing computation.
24745 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
24746 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
24747 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
24748 Likewise.
24749 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
24750 Likewise.
24751 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
24752 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
24753
24754 2014-03-11 Roland McGrath <roland@hack.frob.com>
24755
24756 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
24757 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
24758 Move sfi_sp use from the load-multiple (that no longer sets sp) to
24759 the new mov targetting sp.
24760
24761 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24762
24763 [BZ #16683]
24764 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
24765 Define it for static builds as well.
24766 (NO_BZERO_IMPL): Likewise.
24767
24768 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
24769
24770 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
24771 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
24772 multiarch strspn for PPC64.
24773 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
24774 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
24775 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
24776 (__libc_ifunc_impl_list): Likewise.
24777 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
24778 multiarch optimizations
24779 * string/strspn.c (strspn): Using macro to redefine symbol name.
24780
24781 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
24782 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24783
24784 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
24785 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
24786 multiarch strncat for PPC64.
24787 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
24788 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
24789 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
24790 (__libc_ifunc_impl_list): Likewise.
24791 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
24792 multiarch optimizations
24793
24794 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24795
24796 [BZ #16639]
24797 * nscd/nscd.service: Make service type forking.
24798
24799 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24800
24801 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
24802 sign in non default rounding modes.
24803 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
24804
24805 2014-03-08 Joseph Myers <joseph@codesourcery.com>
24806
24807 * math/libm-test.inc (ALL_RM_TEST): New macro.
24808 (ceil_test): Use ALL_RM_TEST.
24809 (cimag_test): Likewise.
24810 (conj_test): Likewise.
24811 (copysign_test): Likewise.
24812 (cproj_test): Likewise.
24813 (creal_test): Likewise.
24814 (fabs_test): Likewise.
24815 (floor_test): Likewise.
24816 (fmax_test): Likewise.
24817 (fmin_test): Likewise.
24818 (fmod_test): Likewise.
24819 (fpclassify_test): Likewise.
24820 (frexp_test): Likewise.
24821 (ilogb_test): Likewise.
24822 (isfinite_test): Likewise.
24823 (finite_test): Likewise.
24824 (isgreater_test): Likewise.
24825 (isgreaterequal_test): Likewise.
24826 (isinf_test): Likewise.
24827 (isless_test): Likewise.
24828 (islessequal_test): Likewise.
24829 (islessgreater_test): Likewise.
24830 (isnan_test): Likewise.
24831 (isnormal_test): Likewise.
24832 (issignaling_test): Likewise.
24833 (isunordered_test): Likewise.
24834 (logb_test): Likewise.
24835 (logb_downward_test_data): Remove.
24836 (logb_test_downward): Likewise.
24837 (lround_test): Use ALL_RM_TEST.
24838 (llround_test): Likewise.
24839 (modf_test): Likewise.
24840 (nexttoward_test): Likewise.
24841 (remainder_test): Likewise.
24842 (drem_test): Likewise.
24843 (remainder_tonearest_test_data): Likewise.
24844 (remainder_test_tonearest): Likewise.
24845 (drem_test_tonearest): Likewise.
24846 (remainder_towardzero_test_data): Likewise.
24847 (remainder_test_towardzero): Likewise.
24848 (drem_test_towardzero): Likewise.
24849 (remainder_downward_test_data): Likewise.
24850 (remainder_test_downward): Likewise.
24851 (drem_test_downward): Likewise.
24852 (remainder_upward_test_data): Likewise.
24853 (remainder_test_upward): Likewise.
24854 (drem_test_upward): Likewise.
24855 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
24856 (round_test): Use ALL_RM_TEST.
24857 (signbit_test): Likewise.
24858 (trunc_test): Likewise.
24859 (significand_test): Likewise.
24860 (main): Don't call removed functions.
24861
24862 2014-03-07 Joseph Myers <joseph@codesourcery.com>
24863
24864 [BZ #16674]
24865 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
24866 || __USE_XOPEN2K8].
24867 (ILL_ILLOPN): Likewise.
24868 (ILL_ILLADR): Likewise.
24869 (ILL_ILLTRP): Likewise.
24870 (ILL_PRVOPC): Likewise.
24871 (ILL_PRVREG): Likewise.
24872 (ILL_COPROC): Likewise.
24873 (ILL_BADSTK): Likewise.
24874 (FPE_INTDIV): Likewise.
24875 (FPE_INTOVF): Likewise.
24876 (FPE_FLTDIV): Likewise.
24877 (FPE_FLTOVF): Likewise.
24878 (FPE_FLTUND): Likewise.
24879 (FPE_FLTRES): Likewise.
24880 (FPE_FLTINV): Likewise.
24881 (FPE_FLTSUB): Likewise.
24882 (SEGV_MAPERR): Likewise.
24883 (SEGV_ACCERR): Likewise.
24884 (BUS_ADRALN): Likewise.
24885 (BUS_ADRERR): Likewise.
24886 (BUS_OBJERR): Likewise.
24887 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24888 (TRAP_TRACE): Likewise.
24889 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24890 __USE_XOPEN2K8].
24891 (CLD_KILLED): Likewise.
24892 (CLD_DUMPED): Likewise.
24893 (CLD_TRAPPED): Likewise.
24894 (CLD_STOPPED): Likewise.
24895 (CLD_CONTINUED): Likewise.
24896 (POLL_IN): Likewise.
24897 (POLL_OUT): Likewise.
24898 (POLL_MSG): Likewise.
24899 (POLL_ERR): Likewise.
24900 (POLL_PRI): Likewise.
24901 (POLL_HUP): Likewise.
24902 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
24903 Likewise.
24904 (ILL_ILLOPN): Likewise.
24905 (ILL_ILLADR): Likewise.
24906 (ILL_ILLTRP): Likewise.
24907 (ILL_PRVOPC): Likewise.
24908 (ILL_PRVREG): Likewise.
24909 (ILL_COPROC): Likewise.
24910 (ILL_BADSTK): Likewise.
24911 (FPE_INTDIV): Likewise.
24912 (FPE_INTOVF): Likewise.
24913 (FPE_FLTDIV): Likewise.
24914 (FPE_FLTOVF): Likewise.
24915 (FPE_FLTUND): Likewise.
24916 (FPE_FLTRES): Likewise.
24917 (FPE_FLTINV): Likewise.
24918 (FPE_FLTSUB): Likewise.
24919 (SEGV_MAPERR): Likewise.
24920 (SEGV_ACCERR): Likewise.
24921 (BUS_ADRALN): Likewise.
24922 (BUS_ADRERR): Likewise.
24923 (BUS_OBJERR): Likewise.
24924 (BUS_MCEERR_AR): Likewise.
24925 (BUS_MCEERR_AO): Likewise.
24926 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24927 (TRAP_TRACE): Likewise.
24928 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24929 __USE_XOPEN2K8].
24930 (CLD_KILLED): Likewise.
24931 (CLD_DUMPED): Likewise.
24932 (CLD_TRAPPED): Likewise.
24933 (CLD_STOPPED): Likewise.
24934 (CLD_CONTINUED): Likewise.
24935 (POLL_IN): Likewise.
24936 (POLL_OUT): Likewise.
24937 (POLL_MSG): Likewise.
24938 (POLL_ERR): Likewise.
24939 (POLL_PRI): Likewise.
24940 (POLL_HUP): Likewise.
24941 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
24942 (ILL_ILLOPN): Likewise.
24943 (ILL_ILLADR): Likewise.
24944 (ILL_ILLTRP): Likewise.
24945 (ILL_PRVOPC): Likewise.
24946 (ILL_PRVREG): Likewise.
24947 (ILL_COPROC): Likewise.
24948 (ILL_BADSTK): Likewise.
24949 (FPE_INTDIV): Likewise.
24950 (FPE_INTOVF): Likewise.
24951 (FPE_FLTDIV): Likewise.
24952 (FPE_FLTOVF): Likewise.
24953 (FPE_FLTUND): Likewise.
24954 (FPE_FLTRES): Likewise.
24955 (FPE_FLTINV): Likewise.
24956 (FPE_FLTSUB): Likewise.
24957 (SEGV_MAPERR): Likewise.
24958 (SEGV_ACCERR): Likewise.
24959 (BUS_ADRALN): Likewise.
24960 (BUS_ADRERR): Likewise.
24961 (BUS_OBJERR): Likewise.
24962 (BUS_MCEERR_AR): Likewise.
24963 (BUS_MCEERR_AO): Likewise.
24964 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24965 (TRAP_TRACE): Likewise.
24966 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24967 __USE_XOPEN2K8].
24968 (CLD_KILLED): Likewise.
24969 (CLD_DUMPED): Likewise.
24970 (CLD_TRAPPED): Likewise.
24971 (CLD_STOPPED): Likewise.
24972 (CLD_CONTINUED): Likewise.
24973 (POLL_IN): Likewise.
24974 (POLL_OUT): Likewise.
24975 (POLL_MSG): Likewise.
24976 (POLL_ERR): Likewise.
24977 (POLL_PRI): Likewise.
24978 (POLL_HUP): Likewise.
24979 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
24980 Likewise.
24981 (ILL_ILLOPN): Likewise.
24982 (ILL_ILLADR): Likewise.
24983 (ILL_ILLTRP): Likewise.
24984 (ILL_PRVOPC): Likewise.
24985 (ILL_PRVREG): Likewise.
24986 (ILL_COPROC): Likewise.
24987 (ILL_BADSTK): Likewise.
24988 (ILL_BADIADDR): Likewise.
24989 (ILL_BREAK): Likewise.
24990 (FPE_INTDIV): Likewise.
24991 (FPE_INTOVF): Likewise.
24992 (FPE_FLTDIV): Likewise.
24993 (FPE_FLTOVF): Likewise.
24994 (FPE_FLTUND): Likewise.
24995 (FPE_FLTRES): Likewise.
24996 (FPE_FLTINV): Likewise.
24997 (FPE_FLTSUB): Likewise.
24998 (FPE_DECOVF): Likewise.
24999 (FPE_DECDIV): Likewise.
25000 (FPE_DECERR): Likewise.
25001 (FPE_INVASC): Likewise.
25002 (FPE_INVDEC): Likewise.
25003 (SEGV_MAPERR): Likewise.
25004 (SEGV_ACCERR): Likewise.
25005 (SEGV_PSTKOVF): Likewise.
25006 (BUS_ADRALN): Likewise.
25007 (BUS_ADRERR): Likewise.
25008 (BUS_OBJERR): Likewise.
25009 (BUS_MCEERR_AR): Likewise.
25010 (BUS_MCEERR_AO): Likewise.
25011 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
25012 (TRAP_TRACE): Likewise.
25013 (TRAP_BRANCH): Likewise.
25014 (TRAP_HWBKPT): Likewise.
25015 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
25016 __USE_XOPEN2K8].
25017 (CLD_KILLED): Likewise.
25018 (CLD_DUMPED): Likewise.
25019 (CLD_TRAPPED): Likewise.
25020 (CLD_STOPPED): Likewise.
25021 (CLD_CONTINUED): Likewise.
25022 (POLL_IN): Likewise.
25023 (POLL_OUT): Likewise.
25024 (POLL_MSG): Likewise.
25025 (POLL_ERR): Likewise.
25026 (POLL_PRI): Likewise.
25027 (POLL_HUP): Likewise.
25028 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
25029 (ILL_ILLOPN): Likewise.
25030 (ILL_ILLADR): Likewise.
25031 (ILL_ILLTRP): Likewise.
25032 (ILL_PRVOPC): Likewise.
25033 (ILL_PRVREG): Likewise.
25034 (ILL_COPROC): Likewise.
25035 (ILL_BADSTK): Likewise.
25036 (FPE_INTDIV): Likewise.
25037 (FPE_INTOVF): Likewise.
25038 (FPE_FLTDIV): Likewise.
25039 (FPE_FLTOVF): Likewise.
25040 (FPE_FLTUND): Likewise.
25041 (FPE_FLTRES): Likewise.
25042 (FPE_FLTINV): Likewise.
25043 (FPE_FLTSUB): Likewise.
25044 (SEGV_MAPERR): Likewise.
25045 (SEGV_ACCERR): Likewise.
25046 (BUS_ADRALN): Likewise.
25047 (BUS_ADRERR): Likewise.
25048 (BUS_OBJERR): Likewise.
25049 (BUS_MCEERR_AR): Likewise.
25050 (BUS_MCEERR_AO): Likewise.
25051 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
25052 (TRAP_TRACE): Likewise.
25053 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
25054 __USE_XOPEN2K8].
25055 (CLD_KILLED): Likewise.
25056 (CLD_DUMPED): Likewise.
25057 (CLD_TRAPPED): Likewise.
25058 (CLD_STOPPED): Likewise.
25059 (CLD_CONTINUED): Likewise.
25060 (POLL_IN): Likewise.
25061 (POLL_OUT): Likewise.
25062 (POLL_MSG): Likewise.
25063 (POLL_ERR): Likewise.
25064 (POLL_PRI): Likewise.
25065 (POLL_HUP): Likewise.
25066 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
25067 (ILL_ILLOPN): Likewise.
25068 (ILL_ILLADR): Likewise.
25069 (ILL_ILLTRP): Likewise.
25070 (ILL_PRVOPC): Likewise.
25071 (ILL_PRVREG): Likewise.
25072 (ILL_COPROC): Likewise.
25073 (ILL_BADSTK): Likewise.
25074 (FPE_INTDIV): Likewise.
25075 (FPE_INTOVF): Likewise.
25076 (FPE_FLTDIV): Likewise.
25077 (FPE_FLTOVF): Likewise.
25078 (FPE_FLTUND): Likewise.
25079 (FPE_FLTRES): Likewise.
25080 (FPE_FLTINV): Likewise.
25081 (FPE_FLTSUB): Likewise.
25082 (SEGV_MAPERR): Likewise.
25083 (SEGV_ACCERR): Likewise.
25084 (BUS_ADRALN): Likewise.
25085 (BUS_ADRERR): Likewise.
25086 (BUS_OBJERR): Likewise.
25087 (BUS_MCEERR_AR): Likewise.
25088 (BUS_MCEERR_AO): Likewise.
25089 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
25090 (TRAP_TRACE): Likewise.
25091 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
25092 __USE_XOPEN2K8].
25093 (CLD_KILLED): Likewise.
25094 (CLD_DUMPED): Likewise.
25095 (CLD_TRAPPED): Likewise.
25096 (CLD_STOPPED): Likewise.
25097 (CLD_CONTINUED): Likewise.
25098 (POLL_IN): Likewise.
25099 (POLL_OUT): Likewise.
25100 (POLL_MSG): Likewise.
25101 (POLL_ERR): Likewise.
25102 (POLL_PRI): Likewise.
25103 (POLL_HUP): Likewise.
25104 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
25105 (ILL_ILLOPN): Likewise.
25106 (ILL_ILLADR): Likewise.
25107 (ILL_ILLTRP): Likewise.
25108 (ILL_PRVOPC): Likewise.
25109 (ILL_PRVREG): Likewise.
25110 (ILL_COPROC): Likewise.
25111 (ILL_BADSTK): Likewise.
25112 (FPE_INTDIV): Likewise.
25113 (FPE_INTOVF): Likewise.
25114 (FPE_FLTDIV): Likewise.
25115 (FPE_FLTOVF): Likewise.
25116 (FPE_FLTUND): Likewise.
25117 (FPE_FLTRES): Likewise.
25118 (FPE_FLTINV): Likewise.
25119 (FPE_FLTSUB): Likewise.
25120 (SEGV_MAPERR): Likewise.
25121 (SEGV_ACCERR): Likewise.
25122 (BUS_ADRALN): Likewise.
25123 (BUS_ADRERR): Likewise.
25124 (BUS_OBJERR): Likewise.
25125 (BUS_MCEERR_AR): Likewise.
25126 (BUS_MCEERR_AO): Likewise.
25127 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
25128 (TRAP_TRACE): Likewise.
25129 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
25130 __USE_XOPEN2K8].
25131 (CLD_KILLED): Likewise.
25132 (CLD_DUMPED): Likewise.
25133 (CLD_TRAPPED): Likewise.
25134 (CLD_STOPPED): Likewise.
25135 (CLD_CONTINUED): Likewise.
25136 (POLL_IN): Likewise.
25137 (POLL_OUT): Likewise.
25138 (POLL_MSG): Likewise.
25139 (POLL_ERR): Likewise.
25140 (POLL_PRI): Likewise.
25141 (POLL_HUP): Likewise.
25142 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
25143 (ILL_ILLOPN): Likewise.
25144 (ILL_ILLADR): Likewise.
25145 (ILL_ILLTRP): Likewise.
25146 (ILL_PRVOPC): Likewise.
25147 (ILL_PRVREG): Likewise.
25148 (ILL_COPROC): Likewise.
25149 (ILL_BADSTK): Likewise.
25150 (ILL_DBLFLT): Likewise.
25151 (ILL_HARDWALL): Likewise.
25152 (FPE_INTDIV): Likewise.
25153 (FPE_INTOVF): Likewise.
25154 (FPE_FLTDIV): Likewise.
25155 (FPE_FLTOVF): Likewise.
25156 (FPE_FLTUND): Likewise.
25157 (FPE_FLTRES): Likewise.
25158 (FPE_FLTINV): Likewise.
25159 (FPE_FLTSUB): Likewise.
25160 (SEGV_MAPERR): Likewise.
25161 (SEGV_ACCERR): Likewise.
25162 (BUS_ADRALN): Likewise.
25163 (BUS_ADRERR): Likewise.
25164 (BUS_OBJERR): Likewise.
25165 (BUS_MCEERR_AR): Likewise.
25166 (BUS_MCEERR_AO): Likewise.
25167 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
25168 (TRAP_TRACE): Likewise.
25169 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
25170 __USE_XOPEN2K8].
25171 (CLD_KILLED): Likewise.
25172 (CLD_DUMPED): Likewise.
25173 (CLD_TRAPPED): Likewise.
25174 (CLD_STOPPED): Likewise.
25175 (CLD_CONTINUED): Likewise.
25176 (POLL_IN): Likewise.
25177 (POLL_OUT): Likewise.
25178 (POLL_MSG): Likewise.
25179 (POLL_ERR): Likewise.
25180 (POLL_PRI): Likewise.
25181 (POLL_HUP): Likewise.
25182 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
25183 (ILL_ILLOPN): Likewise.
25184 (ILL_ILLADR): Likewise.
25185 (ILL_ILLTRP): Likewise.
25186 (ILL_PRVOPC): Likewise.
25187 (ILL_PRVREG): Likewise.
25188 (ILL_COPROC): Likewise.
25189 (ILL_BADSTK): Likewise.
25190 (FPE_INTDIV): Likewise.
25191 (FPE_INTOVF): Likewise.
25192 (FPE_FLTDIV): Likewise.
25193 (FPE_FLTOVF): Likewise.
25194 (FPE_FLTUND): Likewise.
25195 (FPE_FLTRES): Likewise.
25196 (FPE_FLTINV): Likewise.
25197 (FPE_FLTSUB): Likewise.
25198 (SEGV_MAPERR): Likewise.
25199 (SEGV_ACCERR): Likewise.
25200 (BUS_ADRALN): Likewise.
25201 (BUS_ADRERR): Likewise.
25202 (BUS_OBJERR): Likewise.
25203 (BUS_MCEERR_AR): Likewise.
25204 (BUS_MCEERR_AO): Likewise.
25205 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
25206 (TRAP_TRACE): Likewise.
25207 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
25208 __USE_XOPEN2K8].
25209 (CLD_KILLED): Likewise.
25210 (CLD_DUMPED): Likewise.
25211 (CLD_TRAPPED): Likewise.
25212 (CLD_STOPPED): Likewise.
25213 (CLD_CONTINUED): Likewise.
25214 (POLL_IN): Likewise.
25215 (POLL_OUT): Likewise.
25216 (POLL_MSG): Likewise.
25217 (POLL_ERR): Likewise.
25218 (POLL_PRI): Likewise.
25219 (POLL_HUP): Likewise.
25220 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
25221 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
25222
25223 [BZ #16670]
25224 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
25225 before #include of <time.h>.
25226 [!__USE_XOPEN2K] (__need_timespec): Likewise.
25227 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
25228 (test-xfail-UNIX98/sched.h/conform): Likewise.
25229
25230 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
25231
25232 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
25233 error absence of trapping exception support.
25234 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
25235
25236 2014-03-07 Joseph Myers <joseph@codesourcery.com>
25237
25238 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
25239 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
25240 * timezone/Makefile (testdata): Move definition above include of
25241 Rules.
25242 (test-zones): New variable.
25243 (tests-special): Add zone files.
25244 (build-testdata): Use $(evaluate-test).
25245
25246 * elf/Makefile (tests-special): Rename tests to end with .out.
25247 ($(objpfx)noload-mem): Likewise.
25248 ($(objpfx)tst-leaks1-mem): Likewise.
25249 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
25250 * iconv/Makefile (xtests-special): Change test-iconvconfig to
25251 $(objpfx)test-iconvconfig.out.
25252 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
25253 set -e inside subshell and redirect output to file.
25254 * iconvdata/Makefile (generated): Rename tests to end with .out.
25255 Correct type.
25256 (tests-special): Rename tests to end with .out.
25257 ($(objpfx)mtrace-tst-loading): Likewise.
25258 * intl/Makefile (generated): Likewise.
25259 (tests-special): Likewise.
25260 ($(objpfx)mtrace-tst-gettext): Likewise.
25261 * misc/Makefile (generated): Likewise.
25262 (tests-special): Likewise.
25263 ($(objpfx)tst-error1-mem): Likewise.
25264 * nptl/Makefile (tests-special): Likewise.
25265 ($(objpfx)tst-stack3-mem): Likewise.
25266 (generated): Likewise.
25267 * posix/Makefile (generated): Likewise.
25268 (tests-special): Likewise.
25269 (xtests-special): Likewise.
25270 ($(objpfx)tst-fnmatch-mem): Likewise.
25271 ($(objpfx)bug-regex2-mem): Likewise.
25272 ($(objpfx)bug-regex14-mem): Likewise.
25273 ($(objpfx)bug-regex21-mem): Likewise.
25274 ($(objpfx)bug-regex31-mem): Likewise.
25275 ($(objpfx)tst-vfork3-mem): Likewise.
25276 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
25277 ($(objpfx)tst-pcre-mem): Likewise.
25278 ($(objpfx)tst-boost-mem): Likewise.
25279 ($(objpfx)bug-ga2-mem): Likewise.
25280 ($(objpfx)bug-glob2-mem): Likewise.
25281 * resolv/Makefile (generate): Likewise.
25282 (tests-special): Likewise.
25283 (xtests-special): Likewise.
25284 (generated): Likewise.
25285 ($(objpfx)mtrace-tst-leaks): Likewise.
25286 ($(objpfx)mtrace-tst-leaks2): Likewise.
25287
25288 * scripts/merge-test-results.sh: New file.
25289 * Makefile (tests-special-notdir): New variable.
25290 (tests): Run merge-test-results.sh.
25291 (xtests): Likewise.
25292 * Rules (tests-special-notdir): New variable.
25293 (xtests-special-notdir): Likewise.
25294 (tests): Run merge-test-results.sh
25295 (xtests): Likewise.
25296
25297 * Makeconfig (test-xfail-name): New variable.
25298 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
25299 compute variable name for expected failures.
25300 * conform/Makefile (conformtest-headers-data): New variable.
25301 (conformtest-standards): Likewise.
25302 (conformtest-headers-ISO): Likewise.
25303 (conformtest-headers-ISO99): Likewise.
25304 (conformtest-headers-ISO11): Likewise.
25305 (conformtest-headers-POSIX): Likewise.
25306 (conformtest-headers-XPG3): Likewise.
25307 (conformtest-headers-XPG4): Likewise.
25308 (conformtest-headers-UNIX98): Likewise.
25309 (conformtest-headers-XOPEN2K): Likewise.
25310 (conformtest-headers-POSIX2008): Likewise.
25311 (conformtest-headers-XOPEN2K8): Likewise.
25312 (conformtest-header-list-base): Likewise.
25313 (conformtest-header-list-tests): Likewise.
25314 (conformtest-header-base): Likewise.
25315 (conformtest-header-tests): Likewise.
25316 (tests-special): Add $(conformtest-header-list-tests). If
25317 [$(fast-check) && !$(cross-compiling)], add
25318 $(conformtest-header-tests) instead of
25319 $(objpfx)run-conformtest.out.
25320 (generated): Add $(conformtest-header-list-base). If
25321 [$(fast-check) && !$(cross-compiling)], add
25322 $(conformtest-header-base). Remove previous setting.
25323 ($(conformtest-header-list-tests)): New target.
25324 (test-xfail-run-conformtest): Remove variable.
25325 ($(objpfx)run-conformtest.out): Remove target.
25326 (test-xfail-ISO11/complex.h/conform): New variable.
25327 (test-xfail-ISO11/stdalign.h/conform): Likewise.
25328 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
25329 (test-xfail-XPG3/varargs.h/conform): Likewise.
25330 (test-xfail-XPG4/varargs.h/conform): Likewise.
25331 (test-xfail-UNIX98/varargs.h/conform): Likewise.
25332 (test-xfail-XPG4/ndbm.h/conform): Likewise.
25333 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
25334 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
25335 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
25336 (test-xfail-XPG3/fcntl.h/conform): Likewise.
25337 (test-xfail-XPG3/ftw.h/conform): Likewise.
25338 (test-xfail-XPG3/grp.h/conform): Likewise.
25339 (test-xfail-XPG3/langinfo.h/conform): Likewise.
25340 (test-xfail-XPG3/limits.h/conform): Likewise.
25341 (test-xfail-XPG3/pwd.h/conform): Likewise.
25342 (test-xfail-XPG3/search.h/conform): Likewise.
25343 (test-xfail-XPG3/signal.h/conform): Likewise.
25344 (test-xfail-XPG3/stdio.h/conform): Likewise.
25345 (test-xfail-XPG3/stdlib.h/conform): Likewise.
25346 (test-xfail-XPG3/string.h/conform): Likewise.
25347 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
25348 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
25349 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
25350 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
25351 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
25352 (test-xfail-XPG3/sys/types.h/conform): Likewise.
25353 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
25354 (test-xfail-XPG3/termios.h/conform): Likewise.
25355 (test-xfail-XPG3/time.h/conform): Likewise.
25356 (test-xfail-XPG3/unistd.h/conform): Likewise.
25357 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
25358 (test-xfail-XPG4/fcntl.h/conform): Likewise.
25359 (test-xfail-XPG4/langinfo.h/conform): Likewise.
25360 (test-xfail-XPG4/netdb.h/conform): Likewise.
25361 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
25362 (test-xfail-XPG4/signal.h/conform): Likewise.
25363 (test-xfail-XPG4/stdio.h/conform): Likewise.
25364 (test-xfail-XPG4/stdlib.h/conform): Likewise.
25365 (test-xfail-XPG4/stropts.h/conform): Likewise.
25366 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
25367 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
25368 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
25369 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
25370 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
25371 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
25372 (test-xfail-XPG4/sys/time.h/conform): Likewise.
25373 (test-xfail-XPG4/sys/types.h/conform): Likewise.
25374 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
25375 (test-xfail-XPG4/termios.h/conform): Likewise.
25376 (test-xfail-XPG4/ucontext.h/conform): Likewise.
25377 (test-xfail-XPG4/unistd.h/conform): Likewise.
25378 (test-xfail-XPG4/utmpx.h/conform): Likewise.
25379 (test-xfail-POSIX/sched.h/conform): Likewise.
25380 (test-xfail-POSIX/signal.h/conform): Likewise.
25381 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
25382 (test-xfail-POSIX/tar.h/conform): Likewise.
25383 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
25384 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
25385 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
25386 (test-xfail-UNIX98/netdb.h/conform): Likewise.
25387 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
25388 (test-xfail-UNIX98/sched.h/conform): Likewise.
25389 (test-xfail-UNIX98/signal.h/conform): Likewise.
25390 (test-xfail-UNIX98/stdio.h/conform): Likewise.
25391 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
25392 (test-xfail-UNIX98/stropts.h/conform): Likewise.
25393 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
25394 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
25395 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
25396 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
25397 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
25398 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
25399 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
25400 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
25401 (test-xfail-UNIX98/unistd.h/conform): Likewise.
25402 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
25403 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
25404 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
25405 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
25406 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
25407 (test-xfail-XOPEN2K/math.h/conform): Likewise.
25408 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
25409 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
25410 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
25411 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
25412 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
25413 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
25414 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
25415 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
25416 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
25417 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
25418 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
25419 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
25420 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
25421 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
25422 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
25423 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
25424 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
25425 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
25426 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
25427 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
25428 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
25429 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
25430 (test-xfail-POSIX2008/signal.h/conform): Likewise.
25431 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
25432 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
25433 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
25434 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
25435 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
25436 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
25437 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
25438 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
25439 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
25440 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
25441 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
25442 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
25443 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
25444 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
25445 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
25446 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
25447 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
25448 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
25449 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
25450 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
25451 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
25452 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
25453 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
25454 (conformtest-cc-flags): Likewise.
25455 ($(conformtest-header-tests): New target.
25456 * conform/check-header-lists.sh: New file.
25457 * conform/run-conformtest.sh: Remove.
25458
25459 * conform/conformtest.pl: Allow ' and \ in values given for
25460 constants.
25461 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
25462 inclusion.
25463 [POSIX] (sys/types.h): Likewise.
25464 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
25465 inclusion.
25466 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
25467 inclusion.
25468 * conform/data/signal.h-data (SIGIO): Remove expectation.
25469 [XPG3] (SIGBUS): Do not expect.
25470 [POSIX || XPG3] (SIGPOLL): Likewise.
25471 [POSIX || XPG3] (SIGPROF): Likewise.
25472 [POSIX || XPG3] (SIGSYS): Likewise.
25473 [XPG3] (SIGTRAP): Likewise.
25474 [POSIX || XPG3] (SIGURG): Likewise.
25475 [POSIX || XPG3] (SIGVTALRM): Likewise.
25476 [POSIX || XPG3] (SIGXCPU): Likewise.
25477 [POSIX || XPG3] (SIGXFSZ): Likewise.
25478 [POSIX] (SA_SIGINFO): Expect.
25479 [XPG3] (siginfo_t): Do not expect type or contents.
25480 [POSIX] (si_pid): Do not expect element.
25481 [POSIX] (si_uid): Likewise.
25482 [POSIX] (si_addr): Likewise.
25483 [POSIX] (si_status): Likewise.
25484 [POSIX] (si_band): Likewise.
25485 [XPG4] (si_value): Likewise.
25486 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
25487 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
25488 [POSIX || XPG3] (ILL_ILLADR): Likewise.
25489 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
25490 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
25491 [POSIX || XPG3] (ILL_PRVREG): Likewise.
25492 [POSIX || XPG3] (ILL_COPROC): Likewise.
25493 [POSIX || XPG3] (ILL_BADSTK): Likewise.
25494 [POSIX || XPG3] (FPE_INTDIV): Likewise.
25495 [POSIX || XPG3] (FPE_INTOVF): Likewise.
25496 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
25497 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
25498 [POSIX || XPG3] (FPE_FLTUND): Likewise.
25499 [POSIX || XPG3] (FPE_FLTRES): Likewise.
25500 [POSIX || XPG3] (FPE_FLTINV): Likewise.
25501 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
25502 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
25503 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
25504 [POSIX || XPG3] (BUS_ADRALN): Likewise.
25505 [POSIX || XPG3] (BUS_ADRERR): Likewise.
25506 [POSIX || XPG3] (BUS_OBJERR): Likewise.
25507 [POSIX || XPG3] (CLD_EXITED): Likewise.
25508 [POSIX || XPG3] (CLD_KILLED): Likewise.
25509 [POSIX || XPG3] (CLD_DUMPED): Likewise.
25510 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
25511 [POSIX || XPG3] (CLD_STOPPED): Likewise.
25512 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
25513 [POSIX || XPG3] (POLL_IN): Likewise.
25514 [POSIX || XPG3] (POLL_OUT): Likewise.
25515 [POSIX || XPG3] (POLL_MSG): Likewise.
25516 [POSIX || XPG3] (POLL_ERR): Likewise.
25517 [POSIX || XPG3] (POLL_PRI): Likewise.
25518 [POSIX || XPG3] (POLL_HUP): Likewise.
25519 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
25520 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
25521 (SIG*): Do not allow.
25522 [XPG3] (si_*): Likewise.
25523 [XPG3] (SI_*): Likewise.
25524 [XPG3 || XPG4] (sigev_*): Likewise.
25525 [XPG3 || XPG4] (SIGEV_*): Likewise.
25526 [XPG3 || XPG4] (sival_*): Likewise.
25527 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
25528 [POSIX || XPG3] (BUS_*): Likewise.
25529 [POSIX || XPG3] (CLD_*): Likewise.
25530 [POSIX || XPG3] (FPE_*): Likewise.
25531 [POSIX || XPG3] (ILL_*): Likewise.
25532 [POSIX || XPG3] (POLL_*): Likewise.
25533 [POSIX || XPG3] (SEGV_*): Likewise.
25534 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
25535 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
25536 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
25537 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
25538 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
25539 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
25540 Specify type and value.
25541 (TVERSLEN): Likewise.
25542 (REGTYPE): Likewise.
25543 (AREGTYPE): Likewise.
25544 (LNKTYPE): Likewise.
25545 (SYMTYPE): Likewise.
25546 (CHRTYPE): Likewise.
25547 (BLKTYPE): Likewise.
25548 (DIRTYPE): Likewise.
25549 (FIFOTYPE): Likewise.
25550 (CONTTYPE): Likewise.
25551 (TSUID): Likewise.
25552 (TSGID): Likewise.
25553 (TSVTX): Likewise.
25554 (TUREAD): Likewise.
25555 (TUWRITE): Likewise.
25556 (TUEXEC): Likewise.
25557 (TGREAD): Likewise.
25558 (TGWRITE): Likewise.
25559 (TGEXEC): Likewise.
25560 (TOREAD): Likewise.
25561 (TOWRITE): Likewise.
25562 (TOEXEC): Likewise.
25563 [POSIX] (TSVTX): Expect constant.
25564
25565 2014-03-06 Joseph Myers <joseph@codesourcery.com>
25566
25567 * Makefile (tests): Change dependencies to ....
25568 (tests-special): ... additions to this variable.
25569 (tests): Depend on $(tests-special).
25570 * Makerules (check-abi-list): New variable.
25571 (check-abi): Depend on $(check-abi-list).
25572 [$(subdir) = elf] (tests-special): Add
25573 $(objpfx)check-abi-libc.out.
25574 [$(build-shared) = yes && subdir] (tests-special): Add
25575 $(check-abi-list).
25576 [$(build-shared) = yes && subdir] (tests): Do not depend on
25577 check-abi.
25578 * Rules (tests): Depend on $(tests-special).
25579 (xtests): Depend on $(xtests-special).
25580 * catgets/Makefile (tests): Change dependencies to ....
25581 (tests-special): ... additions to this variable.
25582 * conform/Makefile (tests): Change dependencies to ....
25583 (tests-special): ... additions to this variable.
25584 * elf/Makefile (tests): Change dependencies to ....
25585 (tests-special): ... additions to this variable.
25586 * grp/Makefile (tests): Change dependencies to ....
25587 (tests-special): ... additions to this variable.
25588 * iconv/Makefile (xtests): Change dependencies to ....
25589 (xtests-special): ... additions to this variable.
25590 * iconvdata/Makefile (tests): Change dependencies to ....
25591 (tests-special): ... additions to this variable.
25592 * intl/Makefile (tests): Change dependencies to ....
25593 (tests-special): ... additions to this variable. Also add
25594 $(objpfx)tst-gettext.out.
25595 * io/Makefile (tests): Change dependencies to ....
25596 (tests-special): ... additions to this variable.
25597 * libio/Makefile (tests): Change dependencies to ....
25598 (tests-special): ... additions to this variable.
25599 * malloc/Makefile (tests): Change dependencies to ....
25600 (tests-special): ... additions to this variable.
25601 * misc/Makefile (tests): Change dependencies to ....
25602 (tests-special): ... additions to this variable.
25603 * nptl/Makefile (tests): Change dependencies to ....
25604 (tests-special): ... additions to this variable.
25605 * nptl_db/Makefile (tests): Change dependencies to ....
25606 (tests-special): ... additions to this variable.
25607 * posix/Makefile (tests): Change dependencies to ....
25608 (tests-special): ... additions to this variable.
25609 (xtests): Change dependencies to ....
25610 (xtests-special): ... additions to this variable.
25611 * resolv/Makefile (tests): Change dependencies to ....
25612 (tests-special): ... additions to this variable.
25613 (xtests): Change dependencies to ....
25614 (xtests-special): ... additions to this variable.
25615 * stdio-common/Makefile (tests): Change dependencies to ....
25616 (tests-special): ... additions to this variable.
25617 (do-tst-unbputc): Remove target.
25618 (do-tst-printf): Likewise.
25619 * stdlib/Makefile (tests): Change dependencies to ....
25620 (tests-special): ... additions to this variable.
25621 * string/Makefile (tests): Change dependencies to ....
25622 (tests-special): ... additions to this variable.
25623 * sysdeps/x86/Makefile (tests): Change dependencies to ....
25624 (tests-special): ... additions to this variable.
25625
25626 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
25627 whole file.
25628 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
25629 whole file.
25630 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
25631 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
25632
25633 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
25634 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
25635 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
25636 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
25637 * conform/data/libgen.h-data [XPG3]: Likewise.
25638 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
25639 * conform/data/ndbm.h-data [XPG3]: Likewise.
25640 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
25641 * conform/data/netdb.h-data [XPG3]: Likewise.
25642 * conform/data/netinet/in.h-data [XPG3]: Likewise.
25643 * conform/data/poll.h-data [XPG3]: Likewise.
25644 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
25645 * conform/data/strings.h-data [XPG3]: Likewise.
25646 * conform/data/stropts.h-data [XPG3]: Likewise.
25647 * conform/data/sys/mman.h-data [XPG3]: Likewise.
25648 * conform/data/sys/resource.h-data [XPG3]: Likewise.
25649 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
25650 Likewise.
25651 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
25652 * conform/data/sys/time.h-data [XPG3]: Likewise.
25653 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
25654 * conform/data/sys/uio.h-data [XPG3]: Likewise.
25655 * conform/data/sys/un.h-data [XPG3]: Likewise.
25656 * conform/data/syslog.h-data [XPG3]: Likewise.
25657 * conform/data/ucontext.h-data [XPG3]: Likewise.
25658 * conform/data/utmpx.h-data [XPG3]: Likewise.
25659 * conform/data/varargs.h-data [UNIX98]: Enable file.
25660
25661 * manual/Makefile (INSTALL_INFO): Remove variable setting.
25662
25663 * math/libm-test.inc (struct test_f_f_data): Move expected results
25664 into structure for each rounding mode.
25665 (struct test_ff_f_data): Likewise.
25666 (struct test_ff_f_data_nexttoward): Likewise.
25667 (struct test_fi_f_data): Likewise.
25668 (struct test_fl_f_data): Likewise.
25669 (struct test_if_f_data): Likewise.
25670 (struct test_fff_f_data): Likewise.
25671 (struct test_c_f_data): Likewise.
25672 (struct test_f_f1_data): Likewise.
25673 (struct test_fF_f1_data): Likewise.
25674 (struct test_ffI_f1_data): Likewise.
25675 (struct test_c_c_data): Likewise.
25676 (struct test_cc_c_data): Likewise.
25677 (struct test_f_i_data): Likewise.
25678 (struct test_ff_i_data): Likewise.
25679 (struct test_f_l_data): Likewise.
25680 (struct test_f_L_data): Likewise.
25681 (struct test_fFF_11_data): Likewise.
25682 (RM_): New macro.
25683 (RM_FE_DOWNWARD): Likewise.
25684 (RM_FE_TONEAREST): Likewise.
25685 (RM_FE_TOWARDZERO): Likewise.
25686 (RM_FE_UPWARD): Likewise.
25687 (RUN_TEST_LOOP_f_f): Update references to expected results.
25688 (RUN_TEST_LOOP_2_f): Likewise.
25689 (RUN_TEST_LOOP_fff_f): Likewise.
25690 (RUN_TEST_LOOP_c_f): Likewise.
25691 (RUN_TEST_LOOP_f_f1): Likewise.
25692 (RUN_TEST_LOOP_fF_f1): Likewise.
25693 (RUN_TEST_LOOP_fI_f1): Likewise.
25694 (RUN_TEST_LOOP_ffI_f1): Likewise.
25695 (RUN_TEST_LOOP_c_c): Likewise.
25696 (RUN_TEST_LOOP_cc_c): Likewise.
25697 (RUN_TEST_LOOP_f_i): Likewise.
25698 (RUN_TEST_LOOP_f_i_tg): Likewise.
25699 (RUN_TEST_LOOP_ff_i_tg): Likewise.
25700 (RUN_TEST_LOOP_f_b): Likewise.
25701 (RUN_TEST_LOOP_f_b_tg): Likewise.
25702 (RUN_TEST_LOOP_f_l): Likewise.
25703 (RUN_TEST_LOOP_f_L): Likewise.
25704 (RUN_TEST_LOOP_fFF_11): Likewise.
25705 * math/gen-libm-test.pl (parse_args): Output four copies of
25706 expected results for each test.
25707
25708 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
25709 (__ASSUME_UTIMES): Remove.
25710 * sysdeps/unix/sysv/linux/tile/kernel-features.h
25711 (__ASSUME_UTIMES): Likewise.
25712
25713 * math/gen-auto-libm-tests.c: Update comment on output format.
25714 (output_for_one_input_case): Generate before-rounding and
25715 after-rounding information as conditions on output flags not
25716 floating-point format.
25717 * math/auto-libm-test-out: Regenerated.
25718 * math/gen-libm-test.pl (cond_value): New function.
25719 (or_cond_value): Use cond_value.
25720 (generate_testfile): Handle conditional exceptions.
25721
25722 2014-03-05 Joseph Myers <joseph@codesourcery.com>
25723
25724 * math/libm-test.inc (max_valid_error): New variable.
25725 (init_max_error): Take new argument specifying whether function
25726 results are exactly determined. Set max_valid_error and bound
25727 other variables for errors based on this argument.
25728 (set_max_error): Do not record results above max_valid_error.
25729 (check_float_internal): Only accept errors of up to 0.5ulps if
25730 also at most max_valid_error.
25731 (START): Take new argument EXACT and pass it to init_max_error.
25732 (acos_test): Update call to START.
25733 (acos_test_tonearest): Likewise.
25734 (acos_test_towardzero): Likewise.
25735 (acos_test_downward): Likewise.
25736 (acos_test_upward): Likewise.
25737 (acosh_test): Likewise.
25738 (asin_test): Likewise.
25739 (asin_test_tonearest): Likewise.
25740 (asin_test_towardzero): Likewise.
25741 (asin_test_downward): Likewise.
25742 (asin_test_upward): Likewise.
25743 (asinh_test): Likewise.
25744 (atan_test): Likewise.
25745 (atanh_test): Likewise.
25746 (atan2_test): Likewise.
25747 (cabs_test): Likewise.
25748 (cacos_test): Likewise.
25749 (cacosh_test): Likewise.
25750 (carg_test): Likewise.
25751 (casin_test): Likewise.
25752 (casinh_test): Likewise.
25753 (catan_test): Likewise.
25754 (catanh_test): Likewise.
25755 (cbrt_test): Likewise.
25756 (ccos_test): Likewise.
25757 (ccosh_test): Likewise.
25758 (ceil_test): Likewise.
25759 (cexp_test): Likewise.
25760 (cimag_test): Likewise.
25761 (clog_test): Likewise.
25762 (clog10_test): Likewise.
25763 (conj_test): Likewise.
25764 (copysign_test): Likewise.
25765 (cos_test): Likewise.
25766 (cos_test_tonearest): Likewise.
25767 (cos_test_towardzero): Likewise.
25768 (cos_test_downward): Likewise.
25769 (cos_test_upward): Likewise.
25770 (cosh_test): Likewise.
25771 (cosh_test_tonearest): Likewise.
25772 (cosh_test_towardzero): Likewise.
25773 (cosh_test_downward): Likewise.
25774 (cosh_test_upward): Likewise.
25775 (cpow_test): Likewise.
25776 (cproj_test): Likewise.
25777 (creal_test): Likewise.
25778 (csin_test): Likewise.
25779 (csinh_test): Likewise.
25780 (csqrt_test): Likewise.
25781 (ctan_test): Likewise.
25782 (ctan_test_tonearest): Likewise.
25783 (ctan_test_towardzero): Likewise.
25784 (ctan_test_downward): Likewise.
25785 (ctan_test_upward): Likewise.
25786 (ctanh_test): Likewise.
25787 (ctanh_test_tonearest): Likewise.
25788 (ctanh_test_towardzero): Likewise.
25789 (ctanh_test_downward): Likewise.
25790 (ctanh_test_upward): Likewise.
25791 (erf_test): Likewise.
25792 (erfc_test): Likewise.
25793 (exp_test): Likewise.
25794 (exp_test_tonearest): Likewise.
25795 (exp_test_towardzero): Likewise.
25796 (exp_test_downward): Likewise.
25797 (exp_test_upward): Likewise.
25798 (exp10_test): Likewise.
25799 (exp10_test_tonearest): Likewise.
25800 (exp10_test_towardzero): Likewise.
25801 (exp10_test_downward): Likewise.
25802 (exp10_test_upward): Likewise.
25803 (pow10_test): Likewise.
25804 (exp2_test): Likewise.
25805 (expm1_test): Likewise.
25806 (expm1_test_tonearest): Likewise.
25807 (expm1_test_towardzero): Likewise.
25808 (expm1_test_downward): Likewise.
25809 (expm1_test_upward): Likewise.
25810 (fabs_test): Likewise.
25811 (fdim_test): Likewise.
25812 (floor_test): Likewise.
25813 (fma_test): Likewise.
25814 (fma_test_towardzero): Likewise.
25815 (fma_test_downward): Likewise.
25816 (fma_test_upward): Likewise.
25817 (fmax_test): Likewise.
25818 (fmin_test): Likewise.
25819 (fmod_test): Likewise.
25820 (fpclassify_test): Likewise.
25821 (frexp_test): Likewise.
25822 (hypot_test): Likewise.
25823 (ilogb_test): Likewise.
25824 (isfinite_test): Likewise.
25825 (finite_test): Likewise.
25826 (isgreater_test): Likewise.
25827 (isgreaterequal_test): Likewise.
25828 (isinf_test): Likewise.
25829 (isless_test): Likewise.
25830 (islessequal_test): Likewise.
25831 (islessgreater_test): Likewise.
25832 (isnan_test): Likewise.
25833 (isnormal_test): Likewise.
25834 (issignaling_test): Likewise.
25835 (isunordered_test): Likewise.
25836 (j0_test): Likewise.
25837 (j1_test): Likewise.
25838 (jn_test): Likewise.
25839 (ldexp_test): Likewise.
25840 (lgamma_test): Likewise.
25841 (gamma_test): Likewise.
25842 (lrint_test): Likewise.
25843 (lrint_test_tonearest): Likewise.
25844 (lrint_test_towardzero): Likewise.
25845 (lrint_test_downward): Likewise.
25846 (lrint_test_upward): Likewise.
25847 (llrint_test): Likewise.
25848 (llrint_test_tonearest): Likewise.
25849 (llrint_test_towardzero): Likewise.
25850 (llrint_test_downward): Likewise.
25851 (llrint_test_upward): Likewise.
25852 (log_test): Likewise.
25853 (log10_test): Likewise.
25854 (log1p_test): Likewise.
25855 (log2_test): Likewise.
25856 (logb_test): Likewise.
25857 (logb_test_downward): Likewise.
25858 (lround_test): Likewise.
25859 (llround_test): Likewise.
25860 (modf_test): Likewise.
25861 (nearbyint_test): Likewise.
25862 (nextafter_test): Likewise.
25863 (nexttoward_test): Likewise.
25864 (pow_test): Likewise.
25865 (pow_test_tonearest): Likewise.
25866 (pow_test_towardzero): Likewise.
25867 (pow_test_downward): Likewise.
25868 (pow_test_upward): Likewise.
25869 (remainder_test): Likewise.
25870 (drem_test): Likewise.
25871 (remainder_test_tonearest): Likewise.
25872 (drem_test_tonearest): Likewise.
25873 (remainder_test_towardzero): Likewise.
25874 (drem_test_towardzero): Likewise.
25875 (remainder_test_downward): Likewise.
25876 (drem_test_downward): Likewise.
25877 (remainder_test_upward): Likewise.
25878 (drem_test_upward): Likewise.
25879 (remquo_test): Likewise.
25880 (rint_test): Likewise.
25881 (rint_test_tonearest): Likewise.
25882 (rint_test_towardzero): Likewise.
25883 (rint_test_downward): Likewise.
25884 (rint_test_upward): Likewise.
25885 (round_test): Likewise.
25886 (scalb_test): Likewise.
25887 (scalbn_test): Likewise.
25888 (scalbln_test): Likewise.
25889 (signbit_test): Likewise.
25890 (sin_test): Likewise.
25891 (sin_test_tonearest): Likewise.
25892 (sin_test_towardzero): Likewise.
25893 (sin_test_downward): Likewise.
25894 (sin_test_upward): Likewise.
25895 (sincos_test): Likewise.
25896 (sinh_test): Likewise.
25897 (sinh_test_tonearest): Likewise.
25898 (sinh_test_towardzero): Likewise.
25899 (sinh_test_downward): Likewise.
25900 (sinh_test_upward): Likewise.
25901 (sqrt_test): Likewise.
25902 (sqrt_test_tonearest): Likewise.
25903 (sqrt_test_towardzero): Likewise.
25904 (sqrt_test_downward): Likewise.
25905 (sqrt_test_upward): Likewise.
25906 (tan_test): Likewise.
25907 (tan_test_tonearest): Likewise.
25908 (tan_test_towardzero): Likewise.
25909 (tan_test_downward): Likewise.
25910 (tan_test_upward): Likewise.
25911 (tanh_test): Likewise.
25912 (tgamma_test): Likewise.
25913 (trunc_test): Likewise.
25914 (y0_test): Likewise.
25915 (y1_test): Likewise.
25916 (yn_test): Likewise.
25917 (significand_test): Likewise.
25918
25919 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
25920 individual tests in comment.
25921 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
25922 (prev_max_error): New variable.
25923 (prev_real_max_error): Likewise.
25924 (prev_imag_max_error): Likewise.
25925 (compare_ulp_data): Don't refer to test names in comment.
25926 (find_test_ulps): Remove function.
25927 (find_function_ulps): Likewise.
25928 (find_complex_function_ulps): Likewise.
25929 (init_max_error): Take function name as argument. Look up ulps
25930 for that function.
25931 (print_ulps): Remove function.
25932 (print_max_error): Use prev_max_error instead of calling
25933 find_function_ulps.
25934 (print_complex_max_error): Use prev_real_max_error and
25935 prev_imag_max_error instead of calling find_complex_function_ulps.
25936 (check_float_internal): Take max_ulp parameter instead of calling
25937 find_test_ulps. Don't call print_ulps.
25938 (check_float): Update call to check_float_internal.
25939 (check_complex): Update calls to check_float_internal.
25940 (START): Pass argument to init_max_error.
25941 * math/gen-libm-test.pl (%results): Don't include "kind"
25942 information.
25943 (parse_ulps): Don't handle ulps of individual tests.
25944 (print_ulps_file): Likewise.
25945 (output_ulps): Likewise.
25946 * math/README.libm-test: Update.
25947 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
25948 individual tests.
25949 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
25950 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
25951 * sysdeps/arm/libm-test-ulps: Likewise.
25952 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
25953 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
25954 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
25955 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
25956 * sysdeps/microblaze/libm-test-ulps: Likewise.
25957 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
25958 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
25959 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25960 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
25961 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
25962 * sysdeps/sh/libm-test-ulps: Likewise.
25963 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
25964 * sysdeps/tile/libm-test-ulps: Likewise.
25965 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25966
25967 2014-03-04 Joseph Myers <joseph@codesourcery.com>
25968
25969 * math/libm-test.inc (print_complex_max_error): Check separately
25970 whether real and imaginary errors are within allowed range and
25971 pass 0 to print_complex_function_ulps instead of value within
25972 allowed range.
25973
25974 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25975
25976 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
25977 formatting.
25978 (get_handles_fopen): Likewise.
25979 (do_write_test): Likewise.
25980
25981 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
25982
25983 * libio/fileops.c (do_ftell): Use cached offset when
25984 available.
25985 * libio/iofwide.c (do_ftell_wide): Likewise.
25986 * libio/iofdopen.c (_IO_new_fdopen): Don't use
25987 _IO_file_attach.
25988 * libio/wfileops.c (_IO_fwide): Don't cache offset.
25989
25990 [BZ #16532]
25991 * libio/libioP.h (get_file_offset): New function.
25992 * libio/fileops.c (get_file_offset): Likewise.
25993 (do_ftell): Likewise.
25994 (_IO_new_file_seekoff): Split out ftell logic.
25995 * libio/wfileops.c (do_ftell_wide): Likewise.
25996 (_IO_wfile_seekoff): Split out ftell logic.
25997 * libio/tst-ftell-active-handler.c: New test case.
25998 * libio/Makefile (tests): Add it.
25999
26000 2014-03-03 Roland McGrath <roland@hack.frob.com>
26001
26002 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
26003 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
26004
26005 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
26006
26007 [BZ #16639]
26008 * nscd/connections.c (nscd_init): Call do_exit.
26009 (start_threads): Call do_exit and notify_parent.
26010 (begin_drop_privileges): Call do_exit.
26011 (finish_drop_privileges): Likewise.
26012 * nscd/selinux.c (preserve_capabilities): Likewise.
26013 (install_real_capabilities): Likewise.
26014 (nscd_selinux_enabled): Likewise.
26015 (avc_create_thread): Likewise.
26016 (avc_alloc_lock): Likewise.
26017 (nscd_avc_init): Likewise.
26018 * nscd/nscd.c (parent_fd): New static variable.
26019 (main): Create a pipe between parent and child processes.
26020 Skip closing parent_fd.
26021 (monitor_child): New function.
26022 (do_exit): Likewise.
26023 (notify_parent): Likewise.
26024 * nscd/nscd.h (notify_parent): Likewise.
26025 (do_exit): Likewise.
26026
26027 2014-03-03 Carlos O'Donell <carlos@redhat.com>
26028
26029 * malloc/malloc.c (__libc_calloc): Revert last change.
26030
26031 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26032
26033 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26034
26035 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26036
26037 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
26038 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
26039 implementation.
26040 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
26041 (__libc_ifunc_impl_list): Likewise.
26042 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
26043 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
26044 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
26045 * string/strrchr.c: Define STRRCHR.
26046
26047 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
26048
26049 * benchtest/bench-strtok.c (simple_strtok): Delete.
26050 (strtok_string): Use as benchmark.
26051 * string/strtok (STRTOK): New macro.
26052
26053 2014-02-28 Carlos O'Donell <carlos@redhat.com>
26054
26055 * manual/threads.texi: Add header and standard comments to all
26056 functions.
26057
26058 * elf/dl-lookup.c (check_match): New function.
26059 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
26060 (do_lookup_x): Remove nested function check_match. Use non-nested
26061 function check_match.
26062
26063 2014-02-28 Roland McGrath <roland@hack.frob.com>
26064
26065 * csu/Makefile (generated, before-compile): Use += rather than =.
26066 * catgets/Makefile (generated, generated-dirs): Likewise.
26067 * debug/Makefile (generated): Likewise.
26068 * dlfcn/Makefile (generated): Likewise.
26069 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
26070 * iconvdata/Makefile (before-compile, generated): Likewise.
26071 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
26072 * libio/Makefile (generated): Likewise.
26073 * malloc/Makefile (generated): Likewise.
26074 * manual/Makefile (generated, generated-dirs): Likewise.
26075 * misc/Makefile (generated): Likewise.
26076 * posix/Makefile (generated): Likewise.
26077 * resolv/Makefile (generated): Likewise.
26078 * sunrpc/Makefile (generated, generated-dirs): Likewise.
26079 * timezone/Makefile (generated, generated-dirs): Likewise.
26080
26081 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
26082
26083 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26084
26085 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
26086 power8 implementation.
26087 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
26088 file: POWER8 llround ifunc implementation.
26089 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
26090 (__lllround): Add POWER8 implementation.
26091 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
26092 POWER8 llround implementation.
26093
26094 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
26095 power8 implementation.
26096 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
26097 file: POWER8 llrint ifunc implementation.
26098 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
26099 Add POWER8 implementation.
26100 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
26101 POWER8 llrint implementation.
26102
26103 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
26104 power8 implementation.
26105 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
26106 file: POWER8 finite ifunc implementation.
26107 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
26108 Add POWER8 implementation.
26109 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
26110 Likewise.
26111 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
26112 POWER8 finite implementation.
26113 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
26114
26115 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
26116 power8 implementation.
26117 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
26118 file: POWER8 isinf ifunc implementation.
26119 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
26120 POWER8 implementation.
26121 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
26122 Likewise.
26123 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
26124 isinf implementation.
26125 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
26126
26127 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
26128 (INIT_ARCH): Add hwcap2 initialization.
26129 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
26130 power8 implementation.
26131 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
26132 file: POWER8 isnan ifunc implementation.
26133 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
26134 POWER8 implementation.
26135 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
26136 Likewise.
26137 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
26138 isnan implementation.
26139 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
26140
26141 2014-02-27 Joey Ye <joey.ye@arm.com>
26142
26143 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
26144 (_FP_NANFRAC_Q): Set to zero.
26145
26146 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
26147
26148 [BZ #16623]
26149 * math/auto-libm-test-in: New test inputs.
26150 * math/auto-libm-test-out: Regenerate.
26151 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
26152 and DA.
26153 (__cos): Likewise.
26154 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
26155
26156 2014-02-27 Joseph Myers <joseph@codesourcery.com>
26157
26158 * scripts/evaluate-test.sh: Take new argument indicating whether
26159 failure is expected.
26160 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
26161 indicating whether failure is expected.
26162 * conform/Makefile (test-xfail-run-conformtest): New variable.
26163 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
26164 level.
26165 * posix/Makefile (test-xfail-annexc): New variable.
26166 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
26167
26168 2014-02-26 Joseph Myers <joseph@codesourcery.com>
26169
26170 * argp/Makefile: Include Makeconfig immediately after defining
26171 subdir.
26172 * assert/Makefile: Likewise.
26173 * benchtests/Makefile: Likewise.
26174 * catgets/Makefile: Likewise.
26175 * conform/Makefile: Likewise.
26176 * crypt/Makefile: Likewise.
26177 * csu/Makefile: Likewise.
26178 (all): Remove target.
26179 * ctype/Makefile: Include Makeconfig immediately after defining
26180 subdir.
26181 * debug/Makefile: Likewise.
26182 * dirent/Makefile: Likewise.
26183 * dlfcn/Makefile: Likewise.
26184 * gmon/Makefile: Likewise.
26185 * gnulib/Makefile: Likewise.
26186 * grp/Makefile: Likewise.
26187 * gshadow/Makefile: Likewise.
26188 * hesiod/Makefile: Likewise.
26189 * hurd/Makefile: Likewise.
26190 (all): Remove target.
26191 * iconvdata/Makefile: Include Makeconfig immediately after
26192 defining subdir.
26193 * inet/Makefile: Likewise.
26194 * intl/Makefile: Likewise.
26195 * io/Makefile: Likewise.
26196 * libio/Makefile: Likewise.
26197 (all): Remove target.
26198 * locale/Makefile: Include Makeconfig immediately after defining
26199 subdir.
26200 * login/Makefile: Likewise.
26201 * mach/Makefile: Likewise.
26202 (all): Remove target.
26203 * malloc/Makefile: Include Makeconfig immediately after defining
26204 subdir.
26205 (all): Remove target.
26206 * manual/Makefile: Include Makeconfig immediately after defining
26207 subdir.
26208 * math/Makefile: Likewise.
26209 * misc/Makefile: Likewise.
26210 * nis/Makefile: Likewise.
26211 * nss/Makefile: Likewise.
26212 * po/Makefile: Likewise.
26213 (all): Remove target.
26214 * posix/Makefile: Include Makeconfig immediately after defining
26215 subdir.
26216 * pwd/Makefile: Likewise.
26217 * resolv/Makefile: Likewise.
26218 * resource/Makefile: Likewise.
26219 * rt/Makefile: Likewise.
26220 * setjmp/Makefile: Likewise.
26221 * shadow/Makefile: Likewise.
26222 * signal/Makefile: Likewise.
26223 * socket/Makefile: Likewise.
26224 * soft-fp/Makefile: Likewise.
26225 * stdio-common/Makefile: Likewise.
26226 * stdlib/Makefile: Likewise.
26227 * streams/Makefile: Likewise.
26228 * string/Makefile: Likewise.
26229 * sunrpc/Makefile: Likewise.
26230 (all): Remove target.
26231 * sysvipc/Makefile: Include Makeconfig immediately after defining
26232 subdir.
26233 * termios/Makefile: Likewise.
26234 * time/Makefile: Likewise.
26235 * timezone/Makefile: Likewise.
26236 (all): Remove target.
26237 * wcsmbs/Makefile: Include Makeconfig immediately after defining
26238 subdir.
26239 * wctype/Makefile: Likewise.
26240
26241 2014-02-26 Steve Ellcey <sellcey@mips.com>
26242
26243 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
26244 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
26245 (libc_feholdexcept_setround_mips): Ditto.
26246 (libc_feholdsetround): New.
26247 (libc_feholdsetroundf): New.
26248 (libc_feholdsetroundl): New.
26249 (libc_feupdateenv_test_mips): New.
26250 (libc_feupdateenv_test): New.
26251 (libc_feupdateenv_testf): New.
26252 (libc_feupdateenv_testl): New.
26253 (libc_feresetround): New.
26254 (libc_feresetroundf): New.
26255 (libc_feresetroundl): New.
26256 (libc_fetestexcept_mips): New.
26257 (libc_fetestexcept): New.
26258 (libc_fetestexceptf): New.
26259 (libc_fetestexceptl): New.
26260 (HAVE_RM_CTX): New.
26261 (libc_feholdexcept_setround_mips_ctx): New.
26262 (libc_feholdexcept_setround_ctx): New.
26263 (libc_feholdexcept_setroundf_ctx): New.
26264 (libc_feholdexcept_setroundl_ctx): New.
26265 (libc_fesetenv_mips_ctx): New.
26266 (libc_fesetenv_ctx): New.
26267 (libc_fesetenv_ctxf): New.
26268 (libc_fesetenv_ctxl): New.
26269 (libc_feupdateenv_mips_ctx): New.
26270 (libc_feupdateenv_ctx): New.
26271 (libc_feupdateenvf_ctx): New.
26272 (libc_feupdateenvl_ctx): New.
26273 (libc_feholdsetround_mips_ctx): New.
26274 (libc_feholdsetround_ctx): New.
26275 (libc_feholdsetroundf_ctx): New.
26276 (libc_feholdsetroundl_ctx): New.
26277 (libc_feresetround_mips_ctx): New.
26278 (libc_feresetround_ctx): New.
26279 (libc_feresetroundf_ctx): New.
26280 (libc_feresetroundl_ctx): New.
26281
26282 2014-02-26 Carlos O'Donell <carlos@redhat.com>
26283
26284 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
26285
26286 * manual/ipc.texi: New file.
26287 * manual/Makefile (chapters): Add ipc.
26288 * manual/job.texi: Add "Inter-Process Communication" to next.
26289 * manual/process.texi: Add "Inter-Process Communication" to prev.
26290
26291 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26292
26293 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26294
26295 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
26296
26297 * malloc/malloc.c (__libc_calloc): Simplify implementation.
26298
26299 * manual/arith.texi: Fix spaces after sentences.
26300 * manual/charset.texi: Likewise.
26301 * manual/errno.texi: Likewise.
26302 * manual/install.texi: Likewise.
26303 * manual/llio.texi: Likewise.
26304 * manual/locale.texi: Likewise.
26305 * manual/maint.texi: Likewise.
26306 * manual/math.texi: Likewise.
26307 * manual/memory.texi: Likewise.
26308 * manual/message.texi: Likewise.
26309 * manual/probes.texi: Likewise.
26310 * manual/resource.texi: Likewise.
26311 * manual/signal.texi: Likewise.
26312 * manual/socket.texi: Likewise.
26313 * manual/stdio.texi: Likewise.
26314 * manual/string.texi: Likewise.
26315 * manual/time.texi: Likewise.
26316 * manual/users.texi: Likewise.
26317
26318 2014-02-25 Carlos O'Donell <carlos@redhat.com>
26319
26320 [BZ #16632]
26321 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
26322 _DEFAULT_SOURCE is defined.
26323
26324 2014-02-25 Ulrich Drepper <drepper@gmail.com>
26325 Carlos O'Donell <carlos@redhat.com>
26326
26327 [BZ #16613]
26328 * elf/dl-tls.c (_dl_count_modids): New function.
26329 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
26330 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
26331 audit library and increment generation counter.
26332 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
26333 * elf/tst-audit9.c: New file.
26334 * elf/tst-auditmod9a.c: New file.
26335 * elf/tst-auditmod9b.c: New file.
26336 * elf/Makefile: Add rules to build and run tst-audit9.
26337
26338 2014-02-25 Florian Weimer <fweimer@redhat.com>
26339
26340 [BZ #15347]
26341 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
26342
26343 2014-02-25 Will Newton <will.newton@linaro.org>
26344
26345 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
26346 (__longjmp): Restore sp and lr before restoring callee
26347 saved registers. Add longjmp and longjmp_target
26348 SystemTap probe point.
26349 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
26350 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
26351 Define to zero to match jmpbuf layout.
26352 * sysdeps/arm/setjmp.S: Include stap-probe.h.
26353 (__sigsetjmp): Save sp and lr before saving callee
26354 saved registers. Add setjmp SystemTap probe point.
26355
26356 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
26357
26358 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
26359
26360 2014-02-24 Andreas Schwab <schwab@suse.de>
26361
26362 [BZ #15804]
26363 * elf/pldd.c (wait_for_ptrace_stop): New function.
26364 (main): Call it after attaching.
26365
26366 2014-02-22 Roland McGrath <roland@hack.frob.com>
26367
26368 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
26369 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
26370 Versions files is now verboten.
26371 * hurd/Versions (libc: GLIBC_2.0):
26372 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
26373 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
26374 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
26375 * mach/Versions: Likewise.
26376
26377 * csu/Versions: Remove unused %include.
26378 * resolv/Versions: Likewise.
26379
26380 2014-02-21 Joseph Myers <joseph@codesourcery.com>
26381
26382 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
26383 ($(objpfx)check-local-headers.out): Likewise.
26384 ($(objpfx)begin-end-check.out): Likewise.
26385 * Makerules (check-abi-%.out): Likewise.
26386 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
26387 ($(objpfx)test2.cat): Likewise.
26388 ($(objpfx)de/libc.cat): Likewise.
26389 ($(objpfx)test-gencat.out): Likewise.
26390 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
26391 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
26392 ($(objpfx)noload-mem): Likewise.
26393 ($(objpfx)tst-pathopt.out): Likewise.
26394 ($(objpfx)tst-rtld-load-self.out): Likewise.
26395 ($(objpfx)tst-array1-cmp.out): Likewise.
26396 ($(objpfx)tst-array1-static-cmp.out): Likewise.
26397 ($(objpfx)tst-array2-cmp.out): Likewise.
26398 ($(objpfx)tst-array3-cmp.out): Likewise.
26399 ($(objpfx)tst-array4-cmp.out): Likewise.
26400 ($(objpfx)tst-array5-cmp.out): Likewise.
26401 ($(objpfx)tst-array5-static-cmp.out): Likewise.
26402 ($(objpfx)check-textrel.out): Likewise.
26403 ($(objpfx)check-execstack.out): Likewise.
26404 ($(objpfx)check-localplt.out): Likewise.
26405 ($(objpfx)order2-cmp.out): Likewise.
26406 ($(objpfx)tst-leaks1-mem): Likewise.
26407 ($(objpfx)tst-leaks1-static-mem): Likewise.
26408 ($(objpfx)tst-initorder-cmp.out): Likewise.
26409 ($(objpfx)tst-initorder2-cmp.out): Likewise.
26410 ($(objpfx)tst-unused-dep.out): Likewise.
26411 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
26412 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
26413 * iconv/Makefile (test-iconvconfig): Likewise.
26414 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
26415 ($(objpfx)iconv-test.out): Likewise.
26416 ($(objpfx)tst-tables.out): Likewise.
26417 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
26418 ($(objpfx)tst-gettext.out): Likewise.
26419 ($(objpfx)tst-translit.out): Likewise.
26420 ($(objpfx)tst-gettext2.out): Likewise.
26421 ($(objpfx)tst-gettext4.out): Likewise.
26422 ($(objpfx)tst-gettext6.out): Likewise.
26423 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
26424 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
26425 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
26426 ($(objpfx)tst-fopenloc-mem.out): Likewise.
26427 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
26428 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
26429 * posix/Makefile ($(objpfx)globtest.out): Likewise.
26430 ($(objpfx)wordexp-tst.out): Likewise.
26431 ($(objpfx)annexc.out): Likewise.
26432 ($(objpfx)tst-fnmatch-mem): Likewise.
26433 ($(objpfx)bug-regex2-mem): Likewise.
26434 ($(objpfx)bug-regex14-mem): Likewise.
26435 ($(objpfx)bug-regex21-mem): Likewise.
26436 ($(objpfx)bug-regex31-mem): Likewise.
26437 ($(objpfx)tst-vfork3-mem): Likewise.
26438 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
26439 ($(objpfx)tst-pcre-mem): Likewise.
26440 ($(objpfx)tst-boost-mem): Likewise.
26441 ($(objpfx)tst-getconf.out): Likewise.
26442 ($(objpfx)bug-ga2-mem): Likewise.
26443 ($(objpfx)bug-glob2-mem): Likewise.
26444 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
26445 ($(objpfx)mtrace-tst-leaks2): Likewise.
26446 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
26447 ($(objpfx)tst-printf.out): Likewise.
26448 ($(objpfx)tst-setvbuf1.out): Likewise.
26449 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
26450 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
26451 ($(objpfx)tst-fmtmsg.out): Likewise.
26452 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
26453 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
26454
26455 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
26456 * bits/sigaction.h [__USE_MISC]: Likewise.
26457 * bits/waitstatus.h: Update #endif comments.
26458 * ctype/ctype.h: Likewise.
26459 * dirent/dirent.h: Likewise.
26460 [__USE_MISC]: Remove redundant conditionals.
26461 * grp/grp.h: Update #endif comments.
26462 [__USE_GNU]: Remove redundant conditionals.
26463 [__USE_MISC]: Likewise.
26464 * inet/netinet/in.h [__USE_GNU]: Likewise.
26465 * io/sys/stat.h [__USE_MISC]: Likewise.
26466 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
26467 * libio/bits/stdio.h: Update #endif comments.
26468 [__USE_MISC]: Remove redundant conditionals.
26469 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
26470 * libio/stdio.h: Update #endif comments.
26471 [__USE_MISC]: Remove redundant conditionals.
26472 * math/bits/math-finite.h [__USE_MISC]: Likewise.
26473 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
26474 * math/math.h: Update #else and #endif comments.
26475 [__USE_MISC]: Remove redundant conditionals.
26476 * misc/sys/uio.h: Update #endif comments.
26477 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
26478 * posix/glob.h [__USE_MISC]: Likewise.
26479 * posix/sys/types.h: Update #endif comments.
26480 [__USE_MISC]: Remove redundant conditionals.
26481 * posix/sys/wait.h: Update #endif comments.
26482 [__USE_MISC]: Remove redundant conditionals.
26483 * posix/unistd.h: Update #endif comments.
26484 [__USE_MISC]: Remove redundant conditionals.
26485 * pwd/pwd.h [__USE_GNU]: Likewise.
26486 [__USE_MISC]: Likewise.
26487 * resolv/netdb.h [__USE_GNU]: Likewise.
26488 * signal/signal.h: Update #endif comments.
26489 [__USE_MISC]: Remove redundant conditionals.
26490 * stdlib/stdlib.h: Update #else and #endif comments.
26491 [__USE_MISC]: Remove redundant conditionals.
26492 [__USE_GNU]: Likewise.
26493 * string/bits/string2.h [__USE_MISC]: Likewise.
26494 * string/string.h: Update #endif comments.
26495 [__USE_MISC]: Remove redundant conditionals.
26496 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
26497 Likewise.
26498 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
26499 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
26500 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
26501 Likewise.
26502 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
26503 Likewise.
26504 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
26505 comments.
26506 [__USE_MISC]: Remove redundant conditionals.
26507 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
26508 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
26509 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
26510 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
26511 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
26512 Likewise.
26513 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
26514 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
26515 Likewise.
26516 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
26517 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
26518 Likewise.
26519 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
26520 Likewise.
26521 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
26522 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
26523 Likewise.
26524 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
26525 Likewise.
26526 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
26527 * sysdeps/x86/bits/string.h: Update #endif comments.
26528 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
26529 conditionals.
26530 * time/sys/time.h: Update #endif comments.
26531 * time/time.h: Likewise.
26532 [__USE_MISC]: Remove redundant conditionals.
26533
26534 2014-02-21 Yury Gribov <y.gribov@samsung.com>
26535
26536 [BZ #16600]
26537 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
26538
26539 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
26540
26541 * Versions.def (librt): Add GLIBC_2.17.
26542
26543 2014-02-21 Adam Conrad <adconrad@0c3.net>
26544
26545 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
26546 synonym for _SYS_AUXV_H to allow direct inclusion.
26547 * sysdeps/sparc/bits/hwcap.h: Likewise.
26548 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
26549 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
26550 * sysdeps/sparc/sysdep.h: Likewise.
26551
26552 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26553
26554 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
26555
26556 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26557
26558 * benchtests/bench-strrchr.c: Print length instead of position.
26559
26560 2014-02-20 Joseph Myers <joseph@codesourcery.com>
26561
26562 [BZ #16611]
26563 * sysdeps/unix/sysv/linux/kernel-features.h
26564 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
26565 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
26566 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
26567 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
26568 Likewise.
26569 [__i386__ || __powerpc__ || __sh__ || __sparc__]
26570 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
26571 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
26572 (__ASSUME_SENDMMSG): Define instead of using previous
26573 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
26574 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
26575 (__ASSUME_SENDMMSG_SYSCALL): Define.
26576 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
26577 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
26578 Likewise.
26579 * sysdeps/unix/sysv/linux/arm/kernel-features.h
26580 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
26581 Likewise.
26582 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
26583 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
26584 Likewise.
26585 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
26586 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
26587 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
26588 [__ASSUME_SENDMMSG]: Change conditionals to
26589 [__ASSUME_SENDMMSG_SOCKETCALL].
26590 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
26591 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
26592 Define.
26593 * sysdeps/unix/sysv/linux/mips/kernel-features.h
26594 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
26595 Likewise.
26596 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
26597 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
26598 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
26599 [!__ASSUME_SENDMMSG]: Change conditional to
26600 [!__ASSUME_SENDMMSG_SOCKETCALL].
26601 * sysdeps/unix/sysv/linux/tile/kernel-features.h
26602 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
26603 Define.
26604
26605 [BZ #16610]
26606 * sysdeps/unix/sysv/linux/kernel-features.h
26607 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
26608 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
26609 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
26610 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
26611 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
26612 [__i386__ || __sparc__]
26613 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
26614 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
26615 (__ASSUME_RECVMMSG): Define instead of using previous
26616 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
26617 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
26618 (__ASSUME_RECVMMSG_SYSCALL): Define.
26619 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
26620 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
26621 Likewise.
26622 * sysdeps/unix/sysv/linux/arm/kernel-features.h
26623 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
26624 Likewise.
26625 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
26626 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
26627 Likewise.
26628 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
26629 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
26630 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
26631 [__ASSUME_RECVMMSG]: Change condition to
26632 [__ASSUME_RECVMMSG_SOCKETCALL].
26633 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
26634 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
26635 Define.
26636 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
26637 * sysdeps/unix/sysv/linux/mips/kernel-features.h
26638 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
26639 Likewise.
26640 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
26641 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
26642 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
26643 [!__ASSUME_RECVMMSG]: Change condition to
26644 [!__ASSUME_RECVMMSG_SOCKETCALL].
26645 * sysdeps/unix/sysv/linux/tile/kernel-features.h
26646 (__ASSUME_RECVMMSG_SYSCALL): Define.
26647
26648 [BZ #16609]
26649 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
26650 __powerpc__ || __s390__ || __sh__ || __sparc__]
26651 (__ASSUME_SOCKETCALL): Define.
26652 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
26653 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
26654 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
26655 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
26656 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
26657 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
26658 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
26659 (__ASSUME_ACCEPT4): Define instead of using previous
26660 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
26661 __powerpc__ || __sparc__ || __s390__)] condition.
26662 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
26663 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
26664 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
26665 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
26666 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
26667 [!__ASSUME_ACCEPT4]: Change condition to
26668 [!__ASSUME_ACCEPT4_SOCKETCALL].
26669 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
26670 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
26671 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
26672 * sysdeps/unix/sysv/linux/arm/kernel-features.h
26673 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
26674 __ASSUME_ACCEPT4_SYSCALL.
26675 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
26676 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
26677 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
26678 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
26679 __ASSUME_ACCEPT4_SYSCALL.
26680 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
26681 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
26682 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
26683 [__ASSUME_ACCEPT4]: Change condition to
26684 [__ASSUME_ACCEPT4_SOCKETCALL].
26685 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
26686 (__ASSUME_SOCKETCALL): Define.
26687 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
26688 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
26689 (__ASSUME_SOCKETCALL): Define.
26690 (__ASSUME_ACCEPT4): Remove.
26691 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
26692 Define.
26693 * sysdeps/unix/sysv/linux/mips/kernel-features.h
26694 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
26695 Likewise.
26696 * sysdeps/unix/sysv/linux/tile/kernel-features.h
26697 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
26698
26699 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
26700 macro.
26701 (HWCAP_ARM_LPAE): Likewise.
26702 (HWCAP_ARM_EVTSTRM): Likewise.
26703 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
26704 Add vpfd32, lpae and evtstrm.
26705 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
26706 Increase to 22.
26707
26708 2014-02-19 Joseph Myers <joseph@codesourcery.com>
26709
26710 * math/auto-libm-test-in: Add tests of clog10.
26711 * math/auto-libm-test-out: Regenerated.
26712 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
26713 * sysdeps/i386/fpu/libm-test-ulps: Update.
26714 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26715
26716 2014-02-18 Andreas Schwab <schwab@suse.de>
26717
26718 [BZ #16574]
26719 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
26720 Store non-zero if the second buffer was newly allocated.
26721 (send_dg): Likewise.
26722 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
26723 to send_vc and send_dg.
26724 (res_nsend): Pass NULL for ansp2_malloced.
26725 * resolv/res_query.c (__libc_res_nquery): Add parameter
26726 answerp2_malloced and pass it down to __libc_res_nsend.
26727 (res_nquery): Pass additional NULL to __libc_res_nquery.
26728 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
26729 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
26730 second answer buffer if answerp2_malloced was set.
26731 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
26732 (__libc_res_nquerydomain): Add parameter
26733 answerp2_malloced and pass it down to __libc_res_nquery.
26734 (res_nquerydomain): Pass additional NULL to
26735 __libc_res_nquerydomain.
26736 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
26737 additional NULL to __libc_res_nsend and __libc_res_nquery.
26738 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
26739 additional NULL to __libc_res_nsearch.
26740 (_nss_dns_gethostbyname4_r): Revert last change. Use new
26741 parameter of __libc_res_nsearch to check for separately allocated
26742 second buffer.
26743 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
26744 __libc_res_nquery.
26745 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
26746 additional NULL to __libc_res_nquery.
26747 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
26748 __libc_res_nsearch.
26749 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
26750 * include/resolv.h: Update prototypes of __libc_res_nquery,
26751 __libc_res_nsearch, __libc_res_nsend.
26752
26753 2014-02-18 Joseph Myers <joseph@codesourcery.com>
26754
26755 * math/auto-libm-test-in: Add tests of fma.
26756 * math/auto-libm-test-out: Regenerated.
26757 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
26758 (fma_towardzero_test_data): Likewise.
26759 (fma_downward_test_data): Likewise.
26760 (fma_upward_test_data): Likewise.
26761 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
26762 mpc_mode.
26763 (rounding_modes): Add values for new field.
26764 (func_calc_method): Add value mpfr_fff_f.
26765 (func_calc_desc): Add mpfr_fff_f union field.
26766 (test_function): Add field exact_args.
26767 (FUNC): Add macro argument EXACT_ARGS.
26768 (FUNC_mpfr_f_f): Update call to FUNC.
26769 (FUNC_mpfr_f_f): Likewise.
26770 (FUNC_mpfr_ff_f): Likewise.
26771 (FUNC_mpfr_if_f): Likewise.
26772 (FUNC_mpc_c_f): Likewise.
26773 (FUNC_mpc_c_c): Likewise.
26774 (test_functions): Add fma. Update calls to FUNC.
26775 (handle_input_arg): Add argument exact_args.
26776 (add_test): Update call to handle_input_arg.
26777 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
26778 (output_for_one_input_case): Update call to calc_generic_results.
26779 Recalculate exact zero results in each rounding mode.
26780
26781 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
26782 non-negative before setting low bit.
26783 * math/auto-libm-test-in: Mark one asin test possibly having
26784 spurious underflow.
26785 * math/auto-libm-test-out: Regenerated.
26786 * sysdeps/i386/fpu/libm-test-ulps: Update.
26787 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26788
26789 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
26790
26791 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
26792 * sysdeps/unix/sysv/linux/microblaze: Move directory from
26793 ports/sysdeps/unix/sysv/linux/microblaze.
26794 * README: Add missing listing for microblaze*-*-linux-gnu.
26795
26796 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
26797
26798 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
26799 duplicate code
26800
26801 2014-02-16 Mike Frysinger <vapier@gentoo.org>
26802
26803 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
26804 * sysdeps/unix/sysv/linux/ia64: Move directory from
26805 ports/sysdeps/unix/sysv/linux/ia64.
26806 * README: Update listing for ia64-*-linux-gnu.
26807
26808 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
26809 Joseph Myers <joseph@codesourcery.com>
26810
26811 * Makeconfig (test-name): New variable.
26812 (evaluate-test): Likewise.
26813 * Makerules (do-test-clean): Remove .test-result files.
26814 (common-mostlyclean): Likewise.
26815 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
26816 * scripts/evaluate-test.sh: New file.
26817
26818 2014-02-14 Joseph Myers <joseph@codesourcery.com>
26819
26820 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
26821 separate $(objpfx)tst-fopenloc-cmp.out and
26822 $(objpfx)tst-fopenloc-mem.out targets.
26823 (tests): Update dependencies.
26824 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
26825 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
26826 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
26827 (tst-rxspencer-no-utf8-ARGS): New variable.
26828 (tst-rxspencer-no-utf8-ENV): Likewise.
26829 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
26830 instead of $(objpfx)tst-rxspencer-mem.
26831 ($(objpfx)tst-rxspencer-mem): Change target to
26832 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
26833 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
26834 * posix/tst-rxspencer-no-utf8.c: New file.
26835
26836 * elf/Makefile ($(objpfx)order.out): Remove rule.
26837 [$(run-built-tests) = yes] (tests): Depend on
26838 $(objpfx)order-cmp.out.
26839 ($(objpfx)order-cmp.out): New rule.
26840 [$(run-built-tests) = yes] (tests): Depend on
26841 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
26842 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
26843 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
26844 $(objpfx)tst-array5-static-cmp.out.
26845 ($(objpfx)tst-array1.out): Remove rule.
26846 ($(objpfx)tst-array1-cmp.out): New rule.
26847 ($(objpfx)tst-array1-static.out): Remove rule.
26848 ($(objpfx)tst-array1-static-cmp.out): New rule.
26849 ($(objpfx)tst-array2.out): Remove rule.
26850 ($(objpfx)tst-array2-cmp.out): New rule.
26851 ($(objpfx)tst-array3.out): Remove rule.
26852 ($(objpfx)tst-array3-cmp.out): New rule.
26853 ($(objpfx)tst-array4.out): Remove rule.
26854 ($(objpfx)tst-array4-cmp.out): New rule.
26855 ($(objpfx)tst-array5.out): Remove rule.
26856 ($(objpfx)tst-array5-cmp.out): New rule.
26857 ($(objpfx)tst-array5-static.out): Remove rule.
26858 ($(objpfx)tst-array5-static-cmp.out): New rule.
26859 [$(run-built-tests) = yes] (tests): Depend on
26860 $(objpfx)order2-cmp.out.
26861 ($(objpfx)order2.out): Remove rule.
26862 ($(objpfx)order2-cmp.out): New rule.
26863 ($(objpfx)tst-initorder.out): Remove rule.
26864 [$(run-built-tests) = yes] (tests): Depend on
26865 $(objpfx)tst-initorder-cmp.out.
26866 ($(objpfx)tst-initorder-cmp.out): New rule.
26867 ($(objpfx)tst-initorder2.out): Remove rule.
26868 [$(run-built-tests) = yes] (tests): Depend on
26869 $(objpfx)tst-initorder2-cmp.out.
26870 ($(objpfx)tst-initorder2-cmp.out): New rule.
26871 [$(run-built-tests) = yes] (tests): Depend on
26872 $(objpfx)tst-unused-dep-cmp.out.
26873 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
26874 ($(objpfx)tst-unused-dep-cmp.out): New rule.
26875 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
26876 on $(objpfx)tst-setvbuf1-cmp.out.
26877 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
26878 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
26879 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
26880 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
26881 ($(objpfx)tst-svc.out): Remove rule.
26882 ($(objpfx)tst-svc-cmp.out): New rule.
26883
26884 2014-02-13 Joseph Myers <joseph@codesourcery.com>
26885
26886 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
26887 * ctype/ctype.h [__USE_MISC]: Likewise.
26888 * dirent/dirent.h [__USE_MISC]: Likewise.
26889 * grp/grp.h [__USE_MISC]: Likewise.
26890 * io/fcntl.h [__USE_MISC]: Likewise.
26891 * io/sys/stat.h [__USE_MISC]: Likewise.
26892 * libio/stdio.h [__USE_MISC]: Likewise.
26893 * posix/unistd.h [__USE_MISC]: Likewise.
26894 * pwd/pwd.h [__USE_MISC]: Likewise.
26895 * stdlib.h [__USE_MISC]: Likewise.
26896 * string/bits/string2.h [__USE_MISC]: Likewise.
26897 * string/string.h [__USE_MISC]: Likewise.
26898 * time/time.h [__USE_MISC]: Likewise.
26899
26900 2014-02-13 Andreas Schwab <schwab@suse.de>
26901
26902 [BZ #16574]
26903 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
26904 second answer buffer if it was separately allocated.
26905
26906 2014-02-12 Joseph Myers <joseph@codesourcery.com>
26907
26908 * sysdeps/mips/math-tests.h: Include <features.h>.
26909 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
26910 (ROUNDING_TESTS_long_double): Do not define.
26911 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
26912 (EXCEPTION_TESTS_long_double): Likewise.
26913 * sysdeps/mips/mips64/libm-test-ulps: Update.
26914
26915 * include/features.h (__USE_BSD): Remove macro definitions.
26916 (__USE_SVID): Likewise.
26917 (_BSD_SOURCE): Likewise.
26918 (_SVID_SOURCE): Likewise.
26919 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
26920 from definition of _DEFAULT_SOURCE.
26921 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
26922 [_DEFAULT_SOURCE].
26923 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
26924 * bits/mman.h [__USE_BSD]: Likewise.
26925 * bits/termios.h [__USE_BSD]: Likewise.
26926 * bits/waitstatus.h [__USE_BSD]: Likewise.
26927 * ctype/ctype.h [__USE_SVID]: Likewise.
26928 * dirent/dirent.h [__USE_BSD]: Likewise.
26929 * grp/grp.h [__USE_SVID]: Likewise.
26930 [__USE_BSD]: Likewise.
26931 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
26932 * io/fcntl.h [__USE_BSD]: Likewise.
26933 * io/ftw.h [__USE_BSD]: Likewise.
26934 * io/sys/stat.h [__USE_BSD]: Likewise.
26935 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
26936 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
26937 * libio/stdio.h [__USE_SVID]: Likewise.
26938 [__USE_BSD]: Likewise.
26939 * math/math.h [__USE_SVID]: Likewise.
26940 [__USE_BSD]: Likewise.
26941 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
26942 * misc/bits/syslog.h [__USE_BSD]: Likewise.
26943 * misc/search.h [__USE_SVID]: Likewise.
26944 * misc/sys/mman.h [__USE_BSD]: Likewise.
26945 * misc/sys/syslog.h [__USE_BSD]: Likewise.
26946 * misc/sys/uio.h [__USE_BSD]: Likewise.
26947 * posix/bits/unistd.h [__USE_BSD]: Likewise.
26948 * posix/glob.h [__USE_BSD]: Likewise.
26949 * posix/regex.h [__USE_BSD]: Likewise.
26950 * posix/sys/types.h [__USE_BSD]: Likewise.
26951 [__USE_SVID]: Likewise.
26952 * posix/sys/utsname.h [__USE_SVID]: Likewise.
26953 * posix/sys/wait.h [__USE_BSD]: Likewise.
26954 [__USE_SVID]: Likewise.
26955 * posix/unistd.h [__USE_BSD]: Likewise.
26956 [__USE_SVID]: Likewise.
26957 * pwd/pwd.h [__USE_SVID]: Likewise.
26958 * resolv/netdb.h [__USE_BSD]: Likewise.
26959 * setjmp/setjmp.h [__USE_BSD]: Likewise.
26960 * signal/signal.h [__USE_BSD]: Likewise.
26961 [__USE_SVID]: Likewise.
26962 * socket/sys/socket.h [__USE_BSD]: Likewise.
26963 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
26964 * stdlib/stdlib.h [__USE_BSD]: Likewise.
26965 [__USE_SVID]: Likewise.
26966 * string/bits/string2.h [__USE_BSD]: Likewise.
26967 [__USE_SVID]: Likewise.
26968 * string/bits/string3.h [__USE_BSD]: Likewise.
26969 * string/endian.h [__USE_BSD]: Likewise.
26970 * string/string.h [__USE_SVID]: Likewise.
26971 [__USE_BSD]: Likewise.
26972 * string/strings.h [__USE_BSD]: Likewise.
26973 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
26974 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
26975 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
26976 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
26977 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
26978 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
26979 Likewise.
26980 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
26981 Likewise.
26982 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
26983 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
26984 Likewise.
26985 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
26986 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
26987 Likewise.
26988 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
26989 Likewise.
26990 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
26991 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
26992 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
26993 Likewise.
26994 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
26995 Likewise.
26996 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
26997 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
26998 * termios/termios.h [__USE_BSD]: Likewise.
26999 * time/sys/time.h [__USE_BSD]: Likewise.
27000 * time/time.h [__USE_BSD]: Likewise.
27001 [__USE_SVID]: Likewise.
27002
27003 * Makefile (subdir_targets): Remove subdir_lint.out.
27004
27005 * stdio-common/Makefile (do-tst-unbputc): Remove target.
27006 (do-tst-printf): Likewise.
27007 (tests): Depend directly on $(objpfx)tst-unbputc.out and
27008 $(objpfx)tst-printf.out.
27009
27010 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
27011
27012 * Makerules (check-abi-%): Change target to
27013 $(objpfx)check-abi-%.out.
27014 (check-abi target): Update dependencies.
27015 (check-abi-pattern variable): Redirect output of diff to $@.
27016 (check-abi variable): Likewise.
27017 * elf/Makefile (check-abi): Update dependencies.
27018
27019 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
27020 unused.
27021 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
27022 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
27023 subnormal range.
27024 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
27025 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
27026 value has largest subnormal exponent.
27027 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
27028 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
27029 * sysdeps/aarch64/soft-fp/sfp-machine.h
27030 (_FP_TININESS_AFTER_ROUNDING): New macro.
27031 * sysdeps/alpha/soft-fp/sfp-machine.h
27032 (_FP_TININESS_AFTER_ROUNDING): Likewise.
27033 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
27034 Likewise.
27035 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
27036 (_FP_TININESS_AFTER_ROUNDING): Likewise.
27037 * sysdeps/mips/soft-fp/sfp-machine.h
27038 (_FP_TININESS_AFTER_ROUNDING): Likewise.
27039 * sysdeps/powerpc/soft-fp/sfp-machine.h
27040 (_FP_TININESS_AFTER_ROUNDING): Likewise.
27041 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
27042 Likewise.
27043 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
27044 (_FP_TININESS_AFTER_ROUNDING): Likewise.
27045 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
27046 (_FP_TININESS_AFTER_ROUNDING): Likewise.
27047 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
27048 Likewise.
27049
27050 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
27051
27052 [BZ #16545]
27053 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
27054 model 1.
27055
27056 2014-02-12 Richard Henderson <rth@redhat.com>
27057
27058 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
27059 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
27060 * sysdeps/unix/sysv/linux/alpha: Move directory from
27061 ports/sysdeps/unix/sysv/linux/alpha.
27062 * README: Update listing for alpha-*-linux-gnu.
27063
27064 2014-02-11 Joseph Myers <joseph@codesourcery.com>
27065
27066 * include/features.h: Update comment documenting feature test
27067 macros.
27068 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
27069 _DEFAULT_SOURCE.
27070 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
27071 (_SVID_SOURCE): Likewise.
27072 (_DEFAULT_SOURCE): Update description of default features.
27073 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
27074 with _GNU_SOURCE.
27075 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
27076 (S_ISVTX): Likewise.
27077 * manual/math.texi (Mathematical Constants): Likewise.
27078 * manual/signal.texi (Interrupted Primitives): Likewise.
27079 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
27080 * math/test-matherr.c (_SVID_SOURCE): Do not define.
27081 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
27082 Don't refer to _SVID_SOURCE in warning text.
27083
27084 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27085
27086 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
27087 already defined.
27088 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
27089 * sysdeps/mips/dl-lookup.c: Remove.
27090 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
27091
27092 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
27093
27094 [BZ #16447]
27095 * math/auto-libm-test-in: Add testcase for expl.
27096 * math/auto-libm-test-out: Regenerate.
27097 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
27098 calculation of unsafe.
27099 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
27100
27101 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
27102
27103 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
27104 * sysdeps/unix/sysv/linux/aarch64: Move directory from
27105 ports/sysdeps/unix/sysv/linux/aarch64.
27106 * README: Update listing for aarch64*-*-linux-gnu.
27107
27108 2014-02-11 Will Newton <will.newton@linaro.org>
27109
27110 * manual/probes.texi (Mathematical Function Probes): Use
27111 "triggered" instead of "hit".
27112
27113 * manual/probes.texi (Internal Probes): Add documentation
27114 of setjmp, longjmp and longjmp_target probes.
27115
27116 * include/stap-probe.h: Add comment about probe argument
27117 format.
27118
27119 * malloc/mtrace.c (attribute_hidden): Remove unused macro
27120 definition. (tr_where, tr_freehook, tr_mallochook,
27121 tr_reallochook, tr_memalignhook): Use ANSI protoype.
27122
27123 2014-02-11 David S. Miller <davem@davemloft.net>
27124
27125 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
27126 processing int_tests.
27127
27128 2014-02-10 Joseph Myers <joseph@codesourcery.com>
27129
27130 * sysdeps/mips: Move directory from ports/sysdeps/mips.
27131 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
27132 * sysdeps/unix/sysv/linux/mips: Move directory from
27133 ports/sysdeps/unix/sysv/linux/mips.
27134 * README: Update listing for mips-*-linux-gnu and
27135 mips64-*-linux-gnu.
27136
27137 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
27138
27139 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
27140 * sysdeps/unix/sysv/linux/m68k: Move directory from
27141 ports/sysdeps/unix/sysv/linux/m68k.
27142 * README: Update listing for m68k-*-linux-gnu.
27143
27144 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
27145
27146 * sysdeps/tile: Move directory from ports/sysdeps/tile.
27147 * sysdeps/unix/sysv/linux/generic: Move directory from
27148 ports/sysdeps/unix/sysv/linux/generic.
27149 * sysdeps/unix/sysv/linux/tile: Move directory from
27150 ports/sysdeps/unix/sysv/linux/tile.
27151 * README: Update listing for tile*-*-linux-gnu.
27152
27153 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
27154
27155 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
27156 __builtin_expect.
27157 * benchtests/bench-memmem.c (simple_memmem): Likewise.
27158 * catgets/open_catalog.c (__open_catalog): Likewise.
27159 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
27160 * debug/confstr_chk.c: Likewise.
27161 * debug/fread_chk.c (__fread_chk): Likewise.
27162 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
27163 * debug/getgroups_chk.c: Likewise.
27164 * debug/mbsnrtowcs_chk.c: Likewise.
27165 * debug/mbsrtowcs_chk.c: Likewise.
27166 * debug/mbstowcs_chk.c: Likewise.
27167 * debug/memcpy_chk.c: Likewise.
27168 * debug/memmove_chk.c: Likewise.
27169 * debug/mempcpy_chk.c: Likewise.
27170 * debug/memset_chk.c: Likewise.
27171 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
27172 * debug/strcat_chk.c (__strcat_chk): Likewise.
27173 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
27174 * debug/strncat_chk.c (__strncat_chk): Likewise.
27175 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
27176 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
27177 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
27178 * debug/wcpncpy_chk.c: Likewise.
27179 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
27180 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
27181 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
27182 * debug/wcsncpy_chk.c: Likewise.
27183 * debug/wcsnrtombs_chk.c: Likewise.
27184 * debug/wcsrtombs_chk.c: Likewise.
27185 * debug/wcstombs_chk.c: Likewise.
27186 * debug/wmemcpy_chk.c: Likewise.
27187 * debug/wmemmove_chk.c: Likewise.
27188 * debug/wmempcpy_chk.c: Likewise.
27189 * debug/wmemset_chk.c: Likewise.
27190 * dirent/scandirat.c (SCANDIRAT): Likewise.
27191 * dlfcn/dladdr1.c (dladdr1): Likewise.
27192 * dlfcn/dladdr.c (dladdr): Likewise.
27193 * dlfcn/dlclose.c (dlclose_doit): Likewise.
27194 * dlfcn/dlerror.c (__dlerror): Likewise.
27195 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
27196 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
27197 * dlfcn/dlopen.c (dlopen_doit): Likewise.
27198 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
27199 * dlfcn/dlsym.c (dlsym_doit): Likewise.
27200 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
27201 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
27202 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
27203 Likewise.
27204 * elf/dl-conflict.c: Likewise.
27205 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
27206 * elf/dl-dst.h: Likewise.
27207 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
27208 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
27209 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
27210 * elf/dl-init.c (call_init, _dl_init): Likewise.
27211 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
27212 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
27213 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
27214 Likewise.
27215 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
27216 Likewise.
27217 * elf/dl-minimal.c (__libc_memalign): Likewise.
27218 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
27219 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
27220 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
27221 * elf/dl-sym.c (do_sym): Likewise.
27222 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
27223 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
27224 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
27225 * elf/dl-writev.h (_dl_writev): Likewise.
27226 * elf/ldconfig.c (search_dir): Likewise.
27227 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
27228 (dl_main): Likewise.
27229 * elf/setup-vdso.h (setup_vdso): Likewise.
27230 * grp/compat-initgroups.c (compat_call): Likewise.
27231 * grp/fgetgrent.c (fgetgrent): Likewise.
27232 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
27233 * grp/putgrent.c (putgrent): Likewise.
27234 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
27235 Likewise.
27236 * hurd/hurdinit.c: Likewise.
27237 * iconvdata/8bit-gap.c (struct): Likewise.
27238 * iconvdata/ansi_x3.110.c : Likewise.
27239 * iconvdata/big5.c : Likewise.
27240 * iconvdata/big5hkscs.c : Likewise.
27241 * iconvdata/cp1255.c: Likewise.
27242 * iconvdata/cp1258.c : Likewise.
27243 * iconvdata/cp932.c : Likewise.
27244 * iconvdata/euc-cn.c: Likewise.
27245 * iconvdata/euc-jisx0213.c : Likewise.
27246 * iconvdata/euc-jp.c: Likewise.
27247 * iconvdata/euc-jp-ms.c : Likewise.
27248 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
27249 * iconvdata/gb18030.c : Likewise.
27250 * iconvdata/gbbig5.c (const): Likewise.
27251 * iconvdata/gbgbk.c: Likewise.
27252 * iconvdata/gbk.c : Likewise.
27253 * iconvdata/ibm1364.c : Likewise.
27254 * iconvdata/ibm930.c : Likewise.
27255 * iconvdata/ibm932.c: Likewise.
27256 * iconvdata/ibm933.c : Likewise.
27257 * iconvdata/ibm935.c : Likewise.
27258 * iconvdata/ibm937.c : Likewise.
27259 * iconvdata/ibm939.c : Likewise.
27260 * iconvdata/ibm943.c: Likewise.
27261 * iconvdata/iso_11548-1.c: Likewise.
27262 * iconvdata/iso-2022-cn.c : Likewise.
27263 * iconvdata/iso-2022-cn-ext.c : Likewise.
27264 * iconvdata/iso-2022-jp-3.c: Likewise.
27265 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
27266 * iconvdata/iso-2022-kr.c : Likewise.
27267 * iconvdata/iso646.c (gconv_end): Likewise.
27268 * iconvdata/iso_6937-2.c : Likewise.
27269 * iconvdata/iso_6937.c : Likewise.
27270 * iconvdata/iso8859-1.c: Likewise.
27271 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
27272 * iconvdata/shift_jisx0213.c : Likewise.
27273 * iconvdata/sjis.c : Likewise.
27274 * iconvdata/t.61.c : Likewise.
27275 * iconvdata/tcvn5712-1.c : Likewise.
27276 * iconvdata/tscii.c: Likewise.
27277 * iconvdata/uhc.c : Likewise.
27278 * iconvdata/unicode.c (gconv_end): Likewise.
27279 * iconvdata/utf-16.c (gconv_end): Likewise.
27280 * iconvdata/utf-32.c (gconv_end): Likewise.
27281 * iconvdata/utf-7.c (base64): Likewise.
27282 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
27283 * iconv/gconv_close.c (__gconv_close): Likewise.
27284 * iconv/gconv_open.c (__gconv_open): Likewise.
27285 * iconv/gconv_simple.c (internal_ucs4_loop_single)
27286 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
27287 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
27288 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
27289 (ucs4le_internal_loop_single): Likewise.
27290 * iconv/iconv.c (iconv): Likewise.
27291 * iconv/iconv_close.c: Likewise.
27292 * iconv/loop.c (SINGLE): Likewise.
27293 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
27294 * include/atomic.h: Likewise.
27295 * inet/inet6_option.c (option_alloc): Likewise.
27296 * intl/bindtextdom.c (set_binding_values): Likewise.
27297 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
27298 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
27299 * intl/localealias.c (read_alias_file): Likewise.
27300 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
27301 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
27302 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
27303 * libio/fmemopen.c (fmemopen): Likewise.
27304 * libio/iofgets.c (_IO_fgets): Likewise.
27305 * libio/iofgets_u.c (fgets_unlocked): Likewise.
27306 * libio/iofgetws.c (fgetws): Likewise.
27307 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
27308 * libio/iogetdelim.c (_IO_getdelim): Likewise.
27309 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
27310 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
27311 * locale/findlocale.c (_nl_find_locale): Likewise.
27312 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
27313 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
27314 Likewise.
27315 * locale/setlocale.c (setlocale): Likewise.
27316 * login/programs/pt_chown.c (main): Likewise.
27317 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
27318 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
27319 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
27320 (mmap, mmap64, mremap, munmap): Likewise.
27321 * math/e_exp2l.c: Likewise.
27322 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
27323 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
27324 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
27325 * math/s_catan.c (__catan): Likewise.
27326 * math/s_catanf.c (__catanf): Likewise.
27327 * math/s_catanh.c (__catanh): Likewise.
27328 * math/s_catanhf.c (__catanhf): Likewise.
27329 * math/s_catanhl.c (__catanhl): Likewise.
27330 * math/s_catanl.c (__catanl): Likewise.
27331 * math/s_ccosh.c (__ccosh): Likewise.
27332 * math/s_ccoshf.c (__ccoshf): Likewise.
27333 * math/s_ccoshl.c (__ccoshl): Likewise.
27334 * math/s_cexp.c (__cexp): Likewise.
27335 * math/s_cexpf.c (__cexpf): Likewise.
27336 * math/s_cexpl.c (__cexpl): Likewise.
27337 * math/s_clog10.c (__clog10): Likewise.
27338 * math/s_clog10f.c (__clog10f): Likewise.
27339 * math/s_clog10l.c (__clog10l): Likewise.
27340 * math/s_clog.c (__clog): Likewise.
27341 * math/s_clogf.c (__clogf): Likewise.
27342 * math/s_clogl.c (__clogl): Likewise.
27343 * math/s_csin.c (__csin): Likewise.
27344 * math/s_csinf.c (__csinf): Likewise.
27345 * math/s_csinh.c (__csinh): Likewise.
27346 * math/s_csinhf.c (__csinhf): Likewise.
27347 * math/s_csinhl.c (__csinhl): Likewise.
27348 * math/s_csinl.c (__csinl): Likewise.
27349 * math/s_csqrt.c (__csqrt): Likewise.
27350 * math/s_csqrtf.c (__csqrtf): Likewise.
27351 * math/s_csqrtl.c (__csqrtl): Likewise.
27352 * math/s_ctan.c (__ctan): Likewise.
27353 * math/s_ctanf.c (__ctanf): Likewise.
27354 * math/s_ctanh.c (__ctanh): Likewise.
27355 * math/s_ctanhf.c (__ctanhf): Likewise.
27356 * math/s_ctanhl.c (__ctanhl): Likewise.
27357 * math/s_ctanl.c (__ctanl): Likewise.
27358 * math/w_pow.c: Likewise.
27359 * math/w_powf.c: Likewise.
27360 * math/w_powl.c: Likewise.
27361 * math/w_scalb.c (sysv_scalb): Likewise.
27362 * math/w_scalbf.c (sysv_scalbf): Likewise.
27363 * math/w_scalbl.c (sysv_scalbl): Likewise.
27364 * misc/error.c (error_tail): Likewise.
27365 * misc/pselect.c (__pselect): Likewise.
27366 * nis/nis_callback.c (__nis_create_callback): Likewise.
27367 * nis/nis_call.c (__nisfind_server): Likewise.
27368 * nis/nis_creategroup.c (nis_creategroup): Likewise.
27369 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
27370 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
27371 * nis/nis_getservlist.c (nis_getservlist): Likewise.
27372 * nis/nis_lookup.c (nis_lookup): Likewise.
27373 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
27374 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
27375 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
27376 * nis/nis_xdr.c (xdr_endpoint): Likewise.
27377 * nis/nss_compat/compat-grp.c (getgrent_next_file)
27378 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
27379 * nis/nss_compat/compat-initgroups.c (add_group)
27380 (internal_getgrent_r): Likewise.
27381 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
27382 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
27383 * nis/nss_compat/compat-spwd.c (getspent_next_file)
27384 (internal_getspnam_r): Likewise.
27385 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
27386 (_nss_nis_getaliasbyname_r): Likewise.
27387 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
27388 (_nss_nis_getntohost_r): Likewise.
27389 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
27390 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
27391 (_nss_nis_getgrgid_r): Likewise.
27392 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
27393 (internal_nis_gethostent_r, internal_gethostbyname2_r)
27394 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
27395 (_nss_nis_gethostbyname4_r): Likewise.
27396 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
27397 (initgroups_netid): Likewise.
27398 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
27399 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
27400 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
27401 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
27402 (_nss_nis_getprotobynumber_r): Likewise.
27403 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
27404 (_nss_nis_getsecretkey): Likewise.
27405 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
27406 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
27407 (_nss_nis_getpwuid_r): Likewise.
27408 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
27409 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
27410 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
27411 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
27412 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
27413 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
27414 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
27415 Likewise.
27416 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
27417 (_nss_nisplus_getntohost_r): Likewise.
27418 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
27419 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
27420 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
27421 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
27422 Likewise.
27423 * nis/nss_nisplus/nisplus-initgroups.c
27424 (_nss_nisplus_initgroups_dyn): Likewise.
27425 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
27426 (_nss_nisplus_getnetbyaddr_r): Likewise.
27427 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
27428 (_nss_nisplus_getprotobynumber_r): Likewise.
27429 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
27430 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
27431 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
27432 Likewise.
27433 * nis/nss_nisplus/nisplus-service.c
27434 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
27435 (_nss_nisplus_getservbyport_r): Likewise.
27436 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
27437 (_nss_nisplus_getspnam_r): Likewise.
27438 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
27439 Likewise.
27440 * nscd/aicache.c (addhstaiX): Likewise.
27441 * nscd/cache.c (cache_search, prune_cache): Likewise.
27442 * nscd/connections.c (register_traced_file, send_ro_fd)
27443 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
27444 (main_loop_epoll): Likewise.
27445 * nscd/grpcache.c (addgrbyX): Likewise.
27446 * nscd/hstcache.c (addhstbyX): Likewise.
27447 * nscd/initgrcache.c (addinitgroupsX): Likewise.
27448 * nscd/mem.c (gc, mempool_alloc): Likewise.
27449 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
27450 (addinnetgrX): Likewise.
27451 * nscd/nscd-client.h (__nscd_acquire_maplock)
27452 (__nscd_drop_map_ref): Likewise.
27453 * nscd/nscd_getai.c (__nscd_getai): Likewise.
27454 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
27455 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
27456 Likewise.
27457 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
27458 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
27459 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
27460 (__nscd_get_map_ref): Likewise.
27461 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
27462 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
27463 Likewise.
27464 * nscd/pwdcache.c (addpwbyX): Likewise.
27465 * nscd/selinux.c (preserve_capabilities): Likewise.
27466 * nscd/servicescache.c (addservbyX): Likewise.
27467 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
27468 * posix/fnmatch.c (fnmatch): Likewise.
27469 * posix/getopt.c (_getopt_internal_r): Likewise.
27470 * posix/glob.c (glob, glob_in_dir): Likewise.
27471 * posix/wordexp.c (exec_comm_child): Likewise.
27472 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
27473 (getanswer_r, gaih_getanswer_slice): Likewise.
27474 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
27475 * resolv/res_init.c: Likewise.
27476 * resolv/res_mkquery.c (res_nmkquery): Likewise.
27477 * resolv/res_query.c (__libc_res_nquery): Likewise.
27478 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
27479 Likewise.
27480 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
27481 * stdio-common/perror.c (perror): Likewise.
27482 * stdio-common/printf_fp.c (___printf_fp): Likewise.
27483 * stdio-common/tmpnam.c (tmpnam): Likewise.
27484 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
27485 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
27486 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
27487 Likewise.
27488 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
27489 * stdlib/putenv.c (putenv): Likewise.
27490 * stdlib/setenv.c (__add_to_environ): Likewise.
27491 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
27492 * stdlib/strtol_l.c (INTERNAL): Likewise.
27493 * string/memmem.c (memmem): Likewise.
27494 * string/strerror.c (strerror): Likewise.
27495 * string/strnlen.c (__strnlen): Likewise.
27496 * string/test-memmem.c (simple_memmem): Likewise.
27497 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
27498 * sunrpc/pm_getport.c (__get_socket): Likewise.
27499 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
27500 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
27501 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
27502 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
27503 Likewise.
27504 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
27505 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
27506 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
27507 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
27508 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
27509 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
27510 Likewise.
27511 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
27512 Likewise.
27513 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
27514 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
27515 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
27516 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
27517 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
27518 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
27519 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
27520 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
27521 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
27522 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
27523 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
27524 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
27525 Likewise.
27526 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
27527 Likewise.
27528 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
27529 Likewise.
27530 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
27531 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
27532 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
27533 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
27534 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
27535 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
27536 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
27537 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
27538 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
27539 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
27540 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
27541 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27542 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
27543 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
27544 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27545 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
27546 Likewise.
27547 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
27548 Likewise.
27549 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
27550 Likewise.
27551 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
27552 Likewise.
27553 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27554 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27555 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
27556 Likewise.
27557 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
27558 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
27559 * sysdeps/posix/opendir.c (__opendirat): Likewise.
27560 * sysdeps/posix/sleep.c: Likewise.
27561 * sysdeps/posix/tempname.c: Likewise.
27562 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
27563 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
27564 Likewise.
27565 * sysdeps/powerpc/powerpc32/dl-machine.h
27566 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
27567 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
27568 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
27569 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
27570 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
27571 Likewise.
27572 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
27573 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
27574 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
27575 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
27576 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
27577 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
27578 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
27579 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
27580 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
27581 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
27582 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
27583 (elf_machine_lazy_rel): Likewise.
27584 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
27585 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
27586 (elf_machine_lazy_rel): Likewise.
27587 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
27588 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
27589 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
27590 * sysdeps/unix/grantpt.c (grantpt): Likewise.
27591 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
27592 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
27593 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
27594 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
27595 Likewise.
27596 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
27597 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
27598 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
27599 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
27600 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
27601 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
27602 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
27603 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
27604 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
27605 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
27606 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
27607 Likewise.
27608 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
27609 (__posix_fallocate64_l64): Likewise.
27610 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
27611 (posix_fallocate): Likewise.
27612 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
27613 Likewise.
27614 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27615 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
27616 (getifaddrs_internal): Likewise.
27617 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
27618 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
27619 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
27620 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
27621 * sysdeps/unix/sysv/linux/posix_fallocate64.c
27622 (__posix_fallocate64_l64): Likewise.
27623 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
27624 Likewise.
27625 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
27626 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
27627 (__get_clockfreq): Likewise.
27628 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
27629 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
27630 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
27631 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27632 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27633 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
27634 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
27635 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
27636 Likewise.
27637 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
27638 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
27639 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
27640 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
27641 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
27642 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
27643 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
27644 Likewise.
27645 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
27646 (posix_fallocate): Likewise.
27647 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27648 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
27649 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
27650 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
27651 (elf_machine_rela, elf_machine_rela_relative)
27652 (elf_machine_lazy_rel): Likewise.
27653 * time/asctime.c (asctime_internal): Likewise.
27654 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
27655 * time/tzset.c (__tzset_parse_tz): Likewise.
27656 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
27657 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
27658 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
27659 * wcsmbs/wcsmbsload.h: Likewise.
27660
27661 [BZ #15894]
27662 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
27663
27664 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
27665 (arena_get2): Remove THREAD_STATS conditionals.
27666 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
27667 (__malloc_stats, int): Likewise.
27668
27669 2014-02-08 Mike Frysinger <vapier@gentoo.org>
27670
27671 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
27672 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
27673
27674 * manual/setjmp.texi: Fix typos/grammar errors.
27675
27676 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
27677 Only return early when n is <= 0. Delete unused return statement.
27678
27679 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
27680 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
27681 * debug/tst-longjmp_chk3.c: New file.
27682
27683 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
27684 (test_main): Replace code with set_fortify_handler call.
27685 * debug/test-strcpy_chk.c: Likewise.
27686 * debug/tst-chk1.c: Likewise.
27687 * debug/tst-longjmp_chk.c: Likewise.
27688 * test-skeleton.c: Include fcntl.h & paths.h
27689 (set_fortify_handler): Define.
27690
27691 * debug/tst-longjmp_chk.c: Add header comment and include
27692 ../test-skeleton.c.
27693 (do_test): Mark static.
27694 (TEST_FUNCTION): Define.
27695
27696 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
27697 (IP_PMTUDISC_INTERFACE): Likewise.
27698 (IP_MULTICAST_IF): Likewise.
27699 (IP_MULTICAST_TTL): Likewise.
27700 (IP_MULTICAST_LOOP): Likewise.
27701 (IP_ADD_MEMBERSHIP): Likewise.
27702 (IP_DROP_MEMBERSHIP): Likewise.
27703 (IP_UNBLOCK_SOURCE): Likewise.
27704 (IP_BLOCK_SOURCE): Likewise.
27705 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
27706 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
27707 (IP_MSFILTER): Likewise.
27708 (MCAST_JOIN_GROUP): Likewise.
27709 (MCAST_BLOCK_SOURCE): Likewise.
27710 (MCAST_UNBLOCK_SOURCE): Likewise.
27711 (MCAST_LEAVE_GROUP): Likewise.
27712 (MCAST_JOIN_SOURCE_GROUP): Likewise.
27713 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
27714 (MCAST_MSFILTER): Likewise.
27715 (IP_MULTICAST_ALL): Likewise.
27716 (IP_UNICAST_IF): Likewise.
27717
27718 * timezone/Makefile: Delete $(have-ksh) check.
27719 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
27720 * timezone/tzselect.ksh: Add +x mode bits.
27721
27722 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
27723 (ANON_INODE_FS_MAGIC): Likewise.
27724 (BDEVFS_MAGIC): Likewise.
27725 (BINFMTFS_MAGIC): Likewise.
27726 (BTRFS_TEST_MAGIC): Likewise.
27727 (CRAMFS_MAGIC_WEND): Likewise.
27728 (DEBUGFS_MAGIC): Likewise.
27729 (ECRYPTFS_SUPER_MAGIC): Likewise.
27730 (EXT3_SUPER_MAGIC): Likewise.
27731 (EXT4_SUPER_MAGIC): Likewise.
27732 (FUTEXFS_SUPER_MAGIC): Likewise.
27733 (HOSTFS_SUPER_MAGIC): Likewise.
27734 (HUGETLBFS_MAGIC): Likewise.
27735 (MINIX3_SUPER_MAGIC): Likewise.
27736 (MTD_INODE_FS_MAGIC): Likewise.
27737 (NILFS_SUPER_MAGIC): Likewise.
27738 (OPENPROM_SUPER_MAGIC): Likewise.
27739 (PIPEFS_MAGIC): Likewise.
27740 (PSTOREFS_MAGIC): Likewise.
27741 (QNX6_SUPER_MAGIC): Likewise.
27742 (RAMFS_MAGIC): Likewise.
27743 (REISERFS_SUPER_MAGIC_STRING): Likewise.
27744 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
27745 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
27746 (SECURITYFS_MAGIC): Likewise.
27747 (SELINUX_MAGIC): Likewise.
27748 (SMACK_MAGIC): Likewise.
27749 (SOCKFS_MAGIC): Likewise.
27750 (SQUASHFS_MAGIC): Likewise.
27751 (STACK_END_MAGIC): Likewise.
27752 (TMPFS_MAGIC): Likewise.
27753 (USBDEVICE_SUPER_MAGIC): Likewise.
27754 (V9FS_MAGIC): Likewise.
27755 (XENFS_SUPER_MAGIC): Likewise.
27756 (CRAMFS_MAGIC): Fix typo in comment.
27757 (EXT2_SUPER_MAGIC): Update comment.
27758 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
27759
27760 2014-02-08 Joseph Myers <joseph@codesourcery.com>
27761
27762 * sysdeps/arm: Move directory from ports/sysdeps/arm.
27763 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
27764 * sysdeps/unix/sysv/linux/arm: Move directory from
27765 ports/sysdeps/unix/sysv/linux/arm.
27766 * README: Update listing for arm-*-linux-gnueabi.
27767
27768 * README: Remove mention of am33.
27769
27770 2014-02-07 Roland McGrath <roland@hack.frob.com>
27771
27772 * bits/sigset.h (__sigemptyset): Use a statement expression rather
27773 than the comma operator, to avoid "rhs of comma has no effect"
27774 compiler warnings.
27775 (__sigfillset, __sigandset, __sigorset): Likewise.
27776 * include/signal.h (__sigemptyset): Likewise.
27777 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
27778
27779 2014-02-07 Allan McRae <allan@archlinux.org>
27780
27781 * version.h (RELEASE): Set to "development".
27782 (VERSION): Set to "2.19.90"
27783 * NEWS: Add 2.20 section.
27784
27785 2014-02-06 Carlos O'Donell <carlos@redhat.com>
27786
27787 [BZ #16529]
27788 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
27789
27790 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
27791
27792 * manual/contrib.texi: Update entry for Carlos O'Donell,
27793 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
27794
27795 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
27796
27797 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
27798
27799 * sysdeps/unix/sysv/linux/kernel-features.h
27800 [__LINUX_KERNEL_VERSION >= 0x020621]
27801 (__ASSUME_PROC_PID_TASK_COMM): Define.
27802
27803 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
27804
27805 [BZ #16398]
27806 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
27807 conversion when destination buffer does not have enough space.
27808 * libio/tst-ftell-partial-wide.c: New test case.
27809 * libio/Makefile (tests): Add tst-ftell-partial-wide.
27810
27811 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
27812 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
27813 Leonard and Allan McRae.
27814
27815 2014-02-04 David S. Miller <davem@davemloft.net>
27816
27817 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
27818 32-bit.
27819
27820 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27821
27822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
27823 New file
27824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
27825 New file
27826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
27827 New file.
27828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
27829 New file.
27830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
27831 New file.
27832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
27833 New file.
27834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
27835 New file.
27836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
27837 New file.
27838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
27839 New file.
27840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
27841 New file.
27842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
27843 New file.
27844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
27845 New file.
27846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
27847 New file.
27848
27849 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27850
27851 * nptl/shlib-versions: Change powerpc*le start to 2.17.
27852 * shlib-versions: Likewise.
27853
27854 2014-02-04 Roland McGrath <roland@hack.frob.com>
27855 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27856
27857 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
27858 (abilist-pattern): New variable, set to %-le.abilist.
27859
27860 * Makerules (abilist-pattern): New variable.
27861 (vpath): Use $(abilist-pattern) in place of %.abilist.
27862 (check-abi-% pattern rule): Likewise.
27863 (check-abi, update-abi): Likewise.
27864
27865 2014-02-04 Eric Wong <normalperson@yhbt.net>
27866
27867 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27868
27869 2014-02-03 Carlos O'Donell <carlos@redhat.com>
27870
27871 * manual/startup.texi: Add next, previous, and top entries for
27872 the `Program Arguments' and `Environment Variables' nodes.
27873
27874 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
27875
27876 * manual/macros.texi: Add comments before MTASC-safety macros.
27877
27878 * manual/users.texi: Document MTASC-safety properties.
27879
27880 * manual/threads.texi (pthread_key_create, pthread_key_delete)
27881 (pthread_getspecific, pthread_setspecific): Format with
27882 @deftypefun, and add @safety note.
27883 * manual/signal.texi: Move comments that analyze the above
27884 functions to their home place.
27885
27886 2014-02-03 Allan McRae <allan@archlinux.org>
27887
27888 * po/sl.po: Update Slovenian translation from translation project.
27889
27890 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
27891
27892 * manual/time.texi (timegm): Add missing blank after @c.
27893 Reported by Joseph Myers <joseph@codesourcery.com>.
27894
27895 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
27896
27897 * manual/check-safety.sh: New.
27898 * manual/Makefile ($(objpfx)stamp-summary): Run it.
27899
27900 * manual/terminal.texi: Document MTASC-safety properties.
27901
27902 * manual/filesys.texi: Document MTASC-safety properties.
27903
27904 * manual/errno.texi: Document MTASC-safety properties.
27905
27906 * manual/intro.texi: Document safety identifiers and
27907 conditionals.
27908
27909 * manual/string.texi (wcstok): Fix prototype.
27910 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
27911
27912 * manual/time.texi: Document MTASC-safety properties.
27913
27914 * manual/string.texi: Document MTASC-safety properties.
27915
27916 * manual/threads.texi: Document MTASC-safety properties.
27917
27918 * manual/stdio.texi: Document MTASC-safety properties.
27919
27920 * manual/syslog.texi: Document MTASC-safety properties.
27921
27922 * manual/sysinfo.texi: Document MTASC-safety properties.
27923
27924 * manual/startup.texi: Document MTASC-safety properties.
27925
27926 * manual/socket.texi: Document MTASC-safety properties.
27927
27928 * manual/signal.texi: Document MTASC-safety properties.
27929
27930 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
27931
27932 * manual/setjmp.texi: Document MTASC-safety properties.
27933
27934 * manual/search.texi: Document MTASC-safety properties.
27935
27936 * manual/resource.texi: Document MTASC-safety properties.
27937
27938 * manual/process.texi: Document MTASC-safety properties.
27939
27940 * manual/platform.texi: Document MTASC-safety properties.
27941
27942 * manual/pipe.texi: Document MTASC-safety properties.
27943
27944 * manual/pattern.texi: Document MTASC-safety properties.
27945
27946 * manual/message.texi: Document MTASC-safety properties.
27947
27948 [BZ #12751]
27949 * manual/memory.texi: Document MTASC-safety properties.
27950
27951 * manual/math.texi: Document MTASC-safety properties.
27952
27953 * manual/locale.texi: Document MTASC-safety properties.
27954
27955 * manual/llio.texi: Document MTASC-safety properties.
27956
27957 * manual/libdl.texi: New.
27958
27959 * manual/lang.texi: Document MTASC-safety properties.
27960
27961 * manual/job.texi: Document MTASC-safety properties.
27962
27963 * manual/getopt.texi: Document MTASC-safety properties.
27964
27965 * manual/ctype.texi: Document MTASC-safety properties.
27966
27967 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
27968
27969 [BZ #16046]
27970 * csu/libc-tls.c (static_map): Remove variable.
27971 (__libc_setup_tls): Use main executable's link map for TLS data.
27972 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
27973 casing for LM_ID_BASE and GL(dl_nns).
27974 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
27975 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
27976 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
27977 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
27978 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
27979 member.
27980 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
27981 l_phnum members.
27982
27983 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
27984
27985 * manual/debug.texi: Document MTASC-safety properties.
27986
27987 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
27988
27989 [BZ #16510]
27990 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
27991 of __x86_64__ when disabling x87 inline functions.
27992
27993 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
27994
27995 * manual/charset.texi: Document MTASC-safety properties.
27996
27997 * manual/crypt.texi: Document MTASC-safety properties.
27998
27999 * manual/conf.texi: Document MTASC-safety properties.
28000
28001 * manual/arith.texi: Document MTASC-safety properties.
28002
28003 * manual/argp.texi: Document MTASC-safety properties.
28004
28005 * manual/macros.texi: Introduce macros to document multi
28006 thread, asynchronous signal and asynchronous cancellation
28007 safety properties.
28008 * manual/intro.texi: Introduce the properties themselves.
28009
28010 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28011
28012 * sysdeps/sh/sh4/Makefile: New file.
28013
28014 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
28015
28016 * math/gen-libm-test.pl ($srcdir): New variable.
28017 ($auto_input): Use it.
28018
28019 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
28020
28021 [BZ #16506]
28022 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
28023 access beyond array bounds when parsing netgroups file.
28024
28025 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
28026 the old buffer before realloc.
28027
28028 2014-01-27 Allan McRae <allan@archlinux.org>
28029
28030 * po/fr.po: Update French translation from translation project.
28031
28032 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28033
28034 * sysdeps/sh/libm-test-ulps: Regenerate.
28035
28036 2014-01-24 David S. Miller <davem@davemloft.net>
28037
28038 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
28039
28040 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28041
28042 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
28043 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
28044
28045 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
28046
28047 [BZ #16474]
28048 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
28049 string pointers after reallocation.
28050
28051 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28052
28053 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
28054 __SH4A__ instead of __SH_FPU_ANY__.
28055
28056 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28057
28058 * sysdeps/sh/fpu_control.h: New file.
28059 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
28060 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
28061 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
28062 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
28063 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
28064 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
28065 * sysdeps/sh/sys/ucontext.h: Remove.
28066 * sysdeps/sh/sys: Remove directory.
28067
28068 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28069
28070 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
28071 s390/sys/ucontext.h.
28072 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
28073 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
28074
28075 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
28076
28077 [BZ #15605]
28078 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
28079
28080 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28081
28082 [BZ#16431]
28083 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
28084 Adjust the vDSO correctly for internal calls.
28085 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
28086
28087 2014-01-20 Allan McRae <allan@archlinux.org>
28088
28089 * po/ca.po: Update Catalan translation from translation project.
28090
28091 2014-01-16 Mike Frysinger <vapier@gentoo.org>
28092
28093 * sysdeps/s390/sotruss-lib.c: New file.
28094
28095 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28096
28097 [BZ#16430]
28098 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
28099 (__GI___gettimeofday): Alias for a different internal symbol to avoid
28100 local calls issues by not having a PLT stub required for IFUNC calls.
28101 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
28102
28103 2014-01-16 Joseph Myers <joseph@codesourcery.com>
28104
28105 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
28106 * math/test-fpucw-static.c: Likewise.
28107
28108 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
28109
28110 [BZ #16453]
28111 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
28112
28113 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28114
28115 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
28116 implementation for powerpc.
28117
28118 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
28119
28120 [BZ #14782]
28121 * sysdeps/posix/system.c (__libc_system): Do not enable
28122 asynchronous cancellation.
28123
28124 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28125
28126 [BZ #16427]
28127 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
28128 handling only for numbers special also in the IEEE case.
28129
28130 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28131
28132 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
28133
28134 2014-01-11 Allan McRae <allan@archlinux.org>
28135
28136 * po/bg.po: Update Bulgarian translation from translation project.
28137
28138 * po/de.po: Update German translation from translation project.
28139
28140 2014-01-10 Roland McGrath <roland@hack.frob.com>
28141
28142 * sysdeps/generic/gcc-compat.h: New file.
28143
28144 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
28145
28146 * benchtests/asin-inputs: Correct slow inputs.
28147 * benchtests/acos-inputs: Likewise.
28148
28149 2014-01-10 Allan McRae <allan@archlinux.org>
28150
28151 * po:sv.po: Update Swedish translation from translation project.
28152
28153 * po/vi.po: Update Vietnamese translation from translation project.
28154
28155 * po/eo.po: Update Esperanto translation from translation project.
28156
28157 * po/cs.po: Update Czech translation from translation project.
28158
28159 * po/nl.po: Update Dutch translation from translation project.
28160
28161 * po/pl.po: Update Polish translation from translation project.
28162
28163 * po/ru.po: Update Russian translation from translation project.
28164
28165 * po/uk.po: Update Ukrainian translation from translation project.
28166
28167 2014-01-08 Brooks Moses <bmoses@google.com>
28168
28169 * elf/dl-load.c: Fix comment typo.
28170
28171 2014-01-08 Carlos O'Donell <carlos@redhat.com>
28172
28173 * po/header.pot: Rename to...
28174 * po/pot.header: ... this.
28175 * po/Makefile: Use pot.header.
28176
28177 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
28178 Maxim Kuvyrkov <maxim@kugelworks.com>
28179
28180 [BZ #16394]
28181 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
28182 SRC and DEST against LEN.
28183
28184 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28185
28186 [BZ #16414]
28187 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
28188 implementation.
28189 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
28190
28191 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28192
28193 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28194
28195 2014-01-08 Joseph Myers <joseph@codesourcery.com>
28196
28197 [BZ #16408]
28198 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
28199 for large positive arguments.
28200
28201 2014-01-07 Joseph Myers <joseph@codesourcery.com>
28202
28203 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
28204
28205 * math/auto-libm-test-in: Mark various tests with
28206 xfail-rounding:ldbl-128ibm.
28207 * math/auto-libm-test-out: Regenerated.
28208
28209 [BZ #16407]
28210 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
28211 Increase overflow threshold.
28212
28213 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
28214
28215 [BZ #14286]
28216 * stdio-common/vfprintf.c: Check for integer overflow.
28217
28218 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28219
28220 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
28221 the first argument and return value of __tls_get_addr_internal.
28222
28223 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28224
28225 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
28226 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
28227
28228 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28229
28230 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
28231 * sysdeps/s390/rtld-global-offsets.sym: New file.
28232 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
28233 GLIBC_2.19 symbol.
28234 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
28235 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
28236 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
28237 ... this.
28238 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
28239 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
28240 ... this.
28241 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
28242 Regenerate.
28243 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
28244 Regenerate.
28245 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
28246 halfs of GPRs for high_gprs contexts.
28247 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
28248 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
28249 field.
28250 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
28251 uc_flags field.
28252 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
28253 64 bit versions:
28254 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
28255 for high GPRs (uc_high_gprs) and for future extensions
28256 (__reserved).
28257 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
28258 for future extensions (__reserved).
28259 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
28260 64 bit versions:
28261 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
28262 SC_HIGHGPRS offset definition.
28263 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
28264 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
28265
28266 * Versions.def: Add GLIBC_2.19 for libpthread.
28267 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
28268 siglongjmp for libpthread with GLIBC_2.19 symver.
28269 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
28270 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
28271 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
28272 * sysdeps/s390/__longjmp.c: New file.
28273 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
28274 * sysdeps/s390/longjmp.c: New file.
28275 * sysdeps/s390/setjmp.S: New file.
28276 * sysdeps/s390/sigjmp.S: New file.
28277 * sysdeps/s390/v1-longjmp.c: New file.
28278 * sysdeps/s390/v1-setjmp.h: New file.
28279 * sysdeps/s390/v1-sigjmp.c: New file.
28280 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
28281 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
28282 GLIBC_2.19 version.
28283 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
28284 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
28285 versioned symbols for ____longjmp_chk.
28286 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
28287 Likewise.
28288 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
28289 Regenerate.
28290 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
28291 Regenerate.
28292 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
28293 Regenerate.
28294 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
28295 Regenerate.
28296 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
28297 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
28298 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
28299 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
28300 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
28301 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
28302 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
28303 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
28304 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
28305 * sysdeps/s390/rtld-__longjmp.c: New file.
28306 * sysdeps/s390/rtld-setjmp.S: New file.
28307
28308 2014-01-06 Joseph Myers <joseph@codesourcery.com>
28309
28310 [BZ #16400]
28311 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
28312 Return -__logl (x) for small positive arguments without evaluating
28313 a polynomial.
28314
28315 2014-01-06 Mike Frysinger <vapier@gentoo.org>
28316
28317 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
28318 Rename to ...
28319 (__ptrace_peeksiginfo_args): ... this.
28320 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28321 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28322 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28323
28324 2014-01-06 Allan McRae <allan@archlinux.org>
28325
28326 * inet/netinet/in.h: Fix typo in comment.
28327
28328 2014-01-05 Andreas Jaeger <aj@suse.de>
28329
28330 * sysdeps/i386/fpu/libm-test-ulps: Update.
28331
28332 2014-01-05 Allan McRae <allan@archlinux.org>
28333
28334 * po/libc.pot: Regenerated.
28335
28336 * malloc/memusagestat.c: Fix gettext call formatting.
28337
28338 2014-01-04 Sami Kerola <kerolasa@iki.fi>
28339
28340 * nscd/nscd.c: Improve usage() output.
28341
28342 2014-01-04 Mike Frysinger <vapier@gentoo.org>
28343
28344 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
28345 * sysdeps/unix/sysv/linux/configure: Regenerated.
28346 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
28347 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
28348
28349 2014-01-03 Joseph Myers <joseph@codesourcery.com>
28350
28351 [BZ #16390]
28352 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
28353 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
28354
28355 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28356
28357 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
28358 extra tokens at end of #undef directive.
28359 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
28360 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
28361 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
28362
28363 2014-01-03 Joseph Myers <joseph@codesourcery.com>
28364
28365 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
28366
28367 * math/auto-libm-test-in: Mark various tests with
28368 xfail-rounding:ldbl-128ibm.
28369 * math/auto-libm-test-out: Regenerated.
28370
28371 2014-01-02 Joseph Myers <joseph@codesourcery.com>
28372
28373 [BZ #16386]
28374 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
28375 numbers with subnormal high part when calculating exponent.
28376
28377 [BZ #16385]
28378 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
28379 fabs.
28380
28381 [BZ #16384]
28382 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
28383 M_LN2l.
28384 (__ieee754_acoshl): Use __log1pl not __log1p.
28385
28386 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
28387
28388 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
28389 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
28390 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
28391 (grow_heap, heap_trim, _int_new_arena, get_free_list)
28392 (reused_arena, arena_get2): Convert to GNU style.
28393 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
28394 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
28395 (memalign_check, __malloc_set_state): Likewise.
28396 * malloc/mallocbug.c (main): Likewise.
28397 * malloc/malloc.c (__malloc_assert, malloc_init_state)
28398 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
28399 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
28400 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
28401 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
28402 (__posix_memalign, malloc_info): Likewise.
28403 * malloc/malloc.h: Likewise.
28404 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
28405 (mallochook, memalignhook, reallochook, mabort): Likewise.
28406 * malloc/mcheck.h: Likewise.
28407 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
28408 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
28409 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
28410 * malloc/morecore.c (__default_morecore): Likewise.
28411 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
28412 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
28413 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
28414 (print_and_abort): Likewise.
28415 * malloc/obstack.h: Likewise.
28416 * malloc/set-freeres.c (__libc_freeres): Likewise.
28417 * malloc/tst-mallocstate.c (main): Likewise.
28418 * malloc/tst-mtrace.c (main): Likewise.
28419 * malloc/tst-realloc.c (do_test): Likewise.
28420
28421 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
28422
28423 [BZ #16366]
28424 * nscd/netgroupcache.c (do_notfound): New function.
28425 (addgetnetgrentX): Use it.
28426
28427 [BZ # 16365]
28428 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
28429 NSS_STATUS_NOTFOUND.
28430
28431 2014-01-01 Joseph Myers <joseph@codesourcery.com>
28432
28433 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
28434 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28435
28436 2014-01-01 Allan McRae <allan@archlinux.org>
28437
28438 * scripts/update-copyrights: Update configure input file suffix.
28439
28440 * NEWS: Update copyright year.
28441 * catgets/gencat.c: Likewise.
28442 * csu/version.c: Likewise.
28443 * debug/catchsegv.sh: Likewise.
28444 * debug/pcprofiledump.c: Likewise.
28445 * debug/xtrace.sh: Likewise.
28446 * elf/ldconfig.c: Likewise.
28447 * elf/ldd.bash.in: Likewise.
28448 * elf/pldd.c: Likewise.
28449 * elf/sotruss.ksh: Likewise.
28450 * elf/sprof.c: Likewise.
28451 * iconv/iconv_prog.c: Likewise.
28452 * iconv/iconvconfig.c: Likewise.
28453 * locale/programs/locale.c: Likewise.
28454 * locale/programs/localedef.c: Likewise.
28455 * login/programs/pt_chown.c: Likewise.
28456 * malloc/memusage.sh: Likewise.
28457 * malloc/memusagestat.c: Likewise.
28458 * malloc/mtrace.pl: Likewise.
28459 * manual/libc.texinfo: Likewise.
28460 * nscd/nscd.c: Likewise.
28461 * nss/getent.c: Likewise.
28462 * nss/makedb.c: Likewise.
28463 * posix/getconf.c: Likewise.
28464 * scripts/test-installation.pl: Likewise.
28465
28466 * All files with FSF copyright notices: Update copyright dates
28467 using scripts/update-copyrights.
28468 * intl/plural.c: Regenerated.
28469 * locale/programs/charmap-kw.h: Likewise.
28470 * locale/programs/locfile-kw.h: Likewise.
28471
28472 2013-12-31 Mike Frysinger <vapier@gentoo.org>
28473
28474 * sysdeps/unix/sysv/linux/configure: Regenerated.
28475 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
28476 the linux/fanotify.h header.
28477 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
28478 HAVE_LINUX_FANOTIFY_H is defined.
28479
28480 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
28481
28482 * benchtests/cos-inputs: New inputs.
28483 * benchtests/sin-inputs: Likewise.
28484
28485 * benchtests/atan-inputs: New inputs. Fix name of multiple
28486 precision fallback inputs.
28487
28488 * benchtests/atanh-inputs: New inputs.
28489 * benchtests/tanh-inputs: Likewise.
28490
28491 * benchtests/acosh-inputs: New inputs.
28492 * benchtests/asinh-inputs: Likewise.
28493
28494 * benchtests/cosh-inputs: New inputs.
28495 * benchtests/sinh-inputs: Likewise.
28496
28497 * benchtests/acos-inputs: Add more inputs.
28498 * benchtests/asin-inputs: Likewise.
28499
28500 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
28501
28502 [BZ #16375]
28503 * manual/arith.texi: Fix spelling.
28504 * manual/charset.texi: Likewise.
28505 * manual/errno.texi: Likewise.
28506 * manual/filesys.texi: Likewise.
28507 * manual/lang.texi: Likewise.
28508 * manual/llio.texi: Likewise.
28509 * manual/locale.texi: Likewise.
28510 * manual/message.texi: Likewise.
28511 * manual/resource.texi: Likewise.
28512 * manual/search.texi: Likewise.
28513 * manual/setjmp.texi: Likewise.
28514 * manual/stdio.texi: Likewise.
28515 * manual/string.texi: Likewise.
28516 * manual/sysinfo.texi: Likewise.
28517 * manual/time.texi: Likewise.
28518
28519 2013-12-27 Carlos O'Donell <carlos@redhat.com>
28520
28521 * po/sl.po: New file.
28522
28523 2013-12-27 Mike Frysinger <vapier@gentoo.org>
28524
28525 * .gitignore: Add core/.gdbinit/.gdb_history.
28526
28527 2013-12-27 Allan McRae <allan@archlinux.org>
28528
28529 [BZ #16369]
28530 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
28531 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
28532
28533 2013-12-24 Brooks Moses <bmoses@google.com>
28534
28535 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
28536 all compilers that claim C++98 compliance, not just GCC.
28537 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
28538 Likewise.
28539
28540 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
28541
28542 * NEWS: Restore accidentally deleted bug-fix entries.
28543
28544 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
28545 Ondřej Bílka <neleai@seznam.cz>
28546
28547 [BZ #15073]
28548 * malloc/malloc.c (_int_free): Perform sanity check only if we
28549 have_lock.
28550
28551 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
28552
28553 [BZ #12986]
28554 * manual/stdio.texi (String Input Conversions): Clarify that character
28555 classes are not supported.
28556
28557 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28558
28559 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28560
28561 2013-12-22 Joseph Myers <joseph@codesourcery.com>
28562
28563 [BZ #16337]
28564 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
28565 Calculate results for small negative arguments directly rather
28566 than using reflection formula with special underflow handling.
28567
28568 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
28569 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
28570 sysdeps/unix/bsd/bsd4.4/syscalls.list.
28571 (fchflags): Likewise.
28572 (revoke): Likewise.
28573 (setlogin): Likewise.
28574 (sigaltstack): Likewise.
28575 (wait4): Likewise.
28576 (sigblock): Remove.
28577 (sigsetmask): Likewise.
28578 (wait3): Likewise.
28579 (waitpid): Likewise.
28580 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
28581 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
28582 file.
28583 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
28584 * sysdeps/unix/bsd/Makefile: ... here.
28585 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
28586 * sysdeps/unix/bsd/Versions: ... here.
28587 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
28588 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
28589 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
28590 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
28591 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
28592 * sysdeps/unix/bsd/sigblock.c: ... here.
28593 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
28594 * sysdeps/unix/bsd/sigsetmask.c: ... here.
28595 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
28596 * sysdeps/unix/bsd/sigvec.c: ... here.
28597 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
28598 * sysdeps/unix/bsd/tcdrain.c: ... here.
28599 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
28600 * sysdeps/unix/bsd/tcgetattr.c: ... here.
28601 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
28602 * sysdeps/unix/bsd/tcsetattr.c: ... here.
28603 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
28604 * sysdeps/unix/bsd/wait.c: ... here.
28605 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
28606 * sysdeps/unix/bsd/wait3.c: ... here.
28607 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
28608 * sysdeps/unix/bsd/waitpid.c: ... here.
28609
28610 2013-12-21 Joseph Myers <joseph@codesourcery.com>
28611
28612 [BZ #16356]
28613 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
28614 round-to-nearest for [!USE_AS_EXPM1L].
28615 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
28616 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
28617 more tests of exp and exp10. Expect some exp10 tests to miss
28618 exceptions or fail in directed rounding modes.
28619 * math/auto-libm-test-out: Regenerated.
28620 * math/libm-test.inc (exp10_tonearest_test_data): New array.
28621 (exp10_test_tonearest): New function.
28622 (exp10_towardzero_test_data): New array.
28623 (exp10_test_towardzero): New function.
28624 (exp10_downward_test_data): New array.
28625 (exp10_test_downward): New function.
28626 (exp10_upward_test_data): New array.
28627 (exp10_test_upward): New function.
28628 (main): Call the new functions.
28629 * sysdeps/i386/fpu/libm-test-ulps: Update.
28630 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28631
28632 2013-12-20 Joseph Myers <joseph@codesourcery.com>
28633
28634 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
28635 asinh, atan, atan2, atanh, cbrt, cos and cosh.
28636 * math/auto-libm-test-out: Regenerated.
28637 * math/libm-test.inc (acosh_test_data): Add more tests.
28638 (atanh_test_data): Likewise.
28639 (ceil_test_data): Likewise.
28640 (copysign_test_data): Likewise.
28641 * sysdeps/i386/fpu/libm-test-ulps: Update.
28642 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28643
28644 * timezone/checktab.awk: Update from tzcode 2013i.
28645 * timezone/private.h: Likewise.
28646 * timezone/scheck.c: Likewise.
28647 * timezone/tzfile.h: Likewise.
28648 * timezone/tzselect.ksh: Likewise.
28649 * timezone/zdump.c: Likewise.
28650 * timezone/zic.c: Likewise.
28651
28652 * math/auto-libm-test-in: Add tests of cpow.
28653 * math/auto-libm-test-out: Regenerated.
28654 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
28655 * math/gen-auto-libm-tests.c (func_calc_method): Add value
28656 mpc_cc_c.
28657 (func_calc_desc): Add mpc_cc_c union field.
28658 (test_functions): Add cpow.
28659 (special_fill_2pi): New function.
28660 (special_real_inputs): Add 2pi.
28661 (calc_generic_results): Handle mpc_cc_c.
28662 * sysdeps/i386/fpu/libm-test-ulps: Update.
28663 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28664
28665 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
28666 csqrt, ctan and ctanh.
28667 * math/auto-libm-test-out: Regenerated.
28668 * math/libm-test.inc (TEST_COND_x86_64): New macro.
28669 (TEST_COND_x86): Likewise.
28670 (ccos_test_data): Use AUTO_TESTS_c_c.
28671 (ccosh_test_data): Likewise.
28672 (cexp_test_data): Likewise.
28673 (clog_test_data): Likewise.
28674 (csqrt_test_data): Likewise.
28675 (ctan_test_data): Likewise.
28676 (ctan_tonearest_test_data): Likewise.
28677 (ctan_towardzero_test_data): Likewise.
28678 (ctan_downward_test_data): Likewise.
28679 (ctan_upward_test_data): Likewise.
28680 (ctanh_test_data): Likewise.
28681 (ctanh_tonearest_test_data): Likewise.
28682 (ctanh_towardzero_test_data): Likewise.
28683 (ctanh_downward_test_data): Likewise.
28684 (ctanh_upward_test_data): Likewise.
28685 * math/gen-auto-libm-tests.c (func_calc_method): Add value
28686 mpc_c_c.
28687 (func_calc_desc): Add mpc_c_c union field.
28688 (FUNC_mpc_c_c): New macro.
28689 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
28690 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
28691 ctanh.
28692 (special_fill_min_subnorm_p120): New function.
28693 (special_real_inputs): Add min_subnorm_p120.
28694 (calc_generic_results): Handle mpc_c_c.
28695 * sysdeps/i386/fpu/libm-test-ulps: Update.
28696 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28697
28698 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
28699
28700 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
28701 (do_sin_slow): New functions.
28702 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
28703 (cslow2, csloww1, csloww2): Use the new functions.
28704
28705 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
28706 Use M to change sign of result instead of X. Assume X is
28707 positive.
28708 (csloww1): Likewise.
28709 (__sin): Adjust.
28710 (__cos): Adjust.
28711
28712 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
28713 arguments A and DA.
28714 (__sin): Adjust.
28715 (__cos): Likewise.
28716
28717 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
28718 (__cos): Likewise.
28719 (sloww1): Don't adjust sign of DX.
28720 (csloww1): Likewise.
28721 (sloww2): Use X directly and don't adjust sign of DX.
28722 (csloww2): Likewise.
28723
28724 2013-12-19 Joseph Myers <joseph@codesourcery.com>
28725
28726 * math/auto-libm-test-in: Add tests of cabs and carg.
28727 * math/auto-libm-test-out: Regenerated.
28728 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
28729 (carg_test_data): Likewise.
28730 * math/gen-auto-libm-tests.c (func_calc_method): Add value
28731 mpc_c_f.
28732 (func_calc_desc): Add mpc_c_f union field.
28733 (test_functions): Add cabs and carg.
28734 (calc_generic_results): Handle mpc_c_f.
28735
28736 * sysdeps/powerpc/powerpc32/libgcc-compat.S
28737 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
28738 as a macro and a compat symbol.
28739 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
28740 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
28741 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
28742 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
28743 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
28744 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
28745 not use .hidden.
28746 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
28747 Likewise.
28748 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
28749 Likewise.
28750 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
28751 Likewise.
28752 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
28753 Likewise.
28754 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
28755 Likewise.
28756 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
28757 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
28758 from GLIBC_2.3.2.
28759
28760 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28761
28762 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28763
28764 2013-12-19 Joseph Myers <joseph@codesourcery.com>
28765
28766 * manual/texinfo.tex: Update to version 2013-11-26.10 with
28767 trailing whitespace removed.
28768 * scripts/config.guess: Update to version 2013-11-29.
28769 * scripts/config.sub: Update to version 2013-10-01.
28770
28771 * math/auto-libm-test-in: Add tests of sincos.
28772 * math/auto-libm-test-out: Regenerated.
28773 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
28774 * math/gen-auto-libm-tests.c (func_calc_method): Add value
28775 mpfr_f_11.
28776 (func_calc_desc): Add mpfr_f_11 union field.
28777 (test_functions): Add sincos.
28778 (calc_generic_results): Handle mpfr_f_11.
28779 * sysdeps/i386/fpu/libm-test-ulps: Update.
28780 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28781
28782 2013-12-19 Andreas Schwab <schwab@suse.de>
28783
28784 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
28785 CALL_MCOUNT.
28786 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
28787 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
28788 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
28789
28790 2013-12-19 Joseph Myers <joseph@codesourcery.com>
28791
28792 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
28793 * sysdeps/i386/fpu/libm-test-ulps: Update.
28794 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28795
28796 [BZ #16293]
28797 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
28798 round-to-nearest mode when using frndint.
28799 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
28800 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
28801 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
28802 Likewise.
28803 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
28804 sinh test to fail.
28805 * math/auto-libm-test-out: Regenerated.
28806 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
28807 (TEST_COND_x86): Likewise.
28808 (expm1_tonearest_test_data): New array.
28809 (expm1_test_tonearest): New function.
28810 (expm1_towardzero_test_data): New array.
28811 (expm1_test_towardzero): New function.
28812 (expm1_downward_test_data): New array.
28813 (expm1_test_downward): New function.
28814 (expm1_upward_test_data): New array.
28815 (expm1_test_upward): New function.
28816 (main): Run the new test functions.
28817 * sysdeps/i386/fpu/libm-test-ulps: Update.
28818 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28819
28820 * include/features.h: Update comment documenting feature test
28821 macros. Mention _DEFAULT_SOURCE in comment.
28822 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
28823 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
28824 _BSD_SOURCE and _SVID_SOURCE.
28825 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
28826 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
28827 !_SVID_SOURCE]: Likewise.
28828 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
28829 (__USE_POSIX_IMPLICITLY): Define.
28830 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
28831 (_POSIX_SOURCE): Undefine and redefine.
28832 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
28833 (_POSIX_C_SOURCE): Likewise.
28834 * manual/creature.texi (_DEFAULT_SOURCE): Document.
28835 (Feature Test Macros): Update documentation of default features.
28836
28837 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28838
28839 * benchtests/Makefile: Add bench-strtok.
28840 * benchtests/bench-strtok.c: New file: strtok benchtest.
28841
28842 2013-12-19 Allan McRae <allan@archlinux.org>
28843
28844 * manual/install.texi: Suppress menu for plain text output.
28845 * INSTALL: Regenerated.
28846
28847 2013-12-18 Brooks Moses <bmoses@google.com>
28848
28849 [BZ #15846]
28850 * misc/getauxval.c: Include errno.h.
28851 (__getauxval): Set errno to ENOENT if the requested type is not
28852 found.
28853 * misc/sys/auxv.h (getauxval): Document that it may set errno;
28854 don't declare with __attribute_const__.
28855 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
28856 * manual/startup.texi: Document that getauxval sets errno.
28857
28858 2013-12-18 Joseph Myers <joseph@codesourcery.com>
28859
28860 * math/auto-libm-test-in: Add tests of jn and yn.
28861 * math/auto-libm-test-out: Regenerated.
28862 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
28863 (yn_test_data): Likewise.
28864 * math/gen-auto-libm-tests.c (func_calc_method): Add value
28865 mpfr_if_f.
28866 (func_calc_desc): Add mpfr_if_f union field.
28867 (FUNC_mpfr_if_f): New macro.
28868 (test_functions): Add jn and yn.
28869 (calc_generic_results): Assert type of second input for
28870 mpfr_ff_f. Handle mpfr_if_f.
28871 (output_for_one_input_case): Disable all checking for arguments
28872 fitting floating-point types in case of an integer argument.
28873 * sysdeps/i386/fpu/libm-test-ulps: Update.
28874 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28875
28876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
28877 Don't expect fegetround reference in libm.so.
28878
28879 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28880
28881 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
28882 $(config-cflags-nofma).
28883
28884 2013-12-18 Joseph Myers <joseph@codesourcery.com>
28885
28886 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
28887 * math/auto-libm-test-out: Regenerated.
28888
28889 [BZ #16338]
28890 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
28891 to determine exponent and adjust argument to have exponent of -1.
28892 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
28893 log2.
28894 * math/auto-libm-test-out: Regenerated.
28895 * sysdeps/i386/fpu/libm-test-ulps: Update.
28896 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28897
28898 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
28899
28900 * manual/probes.texi: Remove cases when per-thread arenas are
28901 disabled.
28902
28903 2013-12-18 Andreas Schwab <schwab@suse.de>
28904
28905 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
28906 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
28907 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
28908 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
28909 * sysdeps/i386/i686/multiarch/Makefile: Update.
28910 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
28911
28912 2013-12-17 Joseph Myers <joseph@codesourcery.com>
28913
28914 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
28915 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
28916
28917 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
28918
28919 [BZ #15968]
28920 Support TZ transition times < 00:00:00.
28921 This is needed for version-3 tz-format files; it supports time
28922 stamps past 2037 for America/Godthab (the only entry in the tz
28923 database for which this change is relevant).
28924 * manual/time.texi (TZ Variable): Document transition times
28925 from -167:59:59 through -00:00:01.
28926 * time/tzset.c (tz_rule): Time of day is now signed.
28927 (__tzset_parse_tz): Parse negative time of day.
28928
28929 Document TZ transition times >= 25:00:00.
28930 * manual/time.texi (TZ Variable): Document transition times from
28931 25:00:00 through 167:59:59. These are already supported, and this
28932 support will help with version-3 tz-format files.
28933
28934 * manual/time.texi (TZ Variable): Modernize North America example
28935 to reflect current (i.e., 2007-and-later) daylight saving rules.
28936
28937 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
28938
28939 2013-12-17 Joseph Myers <joseph@codesourcery.com>
28940
28941 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
28942 * sysdeps/unix/bsd/bits/stat.h: Likewise.
28943 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
28944 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
28945 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
28946 * sysdeps/unix/bsd/bsdstat.h: Likewise.
28947 * sysdeps/unix/bsd/clock.c: Likewise.
28948 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
28949 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
28950 * sysdeps/unix/bsd/init-posix.c: Likewise.
28951 * sysdeps/unix/bsd/poll.c: Likewise.
28952 * sysdeps/unix/bsd/ptsname.c: Likewise.
28953 * sysdeps/unix/bsd/seekdir.c: Likewise.
28954 * sysdeps/unix/bsd/setegid.c: Likewise.
28955 * sysdeps/unix/bsd/seteuid.c: Likewise.
28956 * sysdeps/unix/bsd/setgid.c: Likewise.
28957 * sysdeps/unix/bsd/setrgid.c: Likewise.
28958 * sysdeps/unix/bsd/setruid.c: Likewise.
28959 * sysdeps/unix/bsd/setsid.c: Likewise.
28960 * sysdeps/unix/bsd/setuid.c: Likewise.
28961 * sysdeps/unix/bsd/sigaction.c: Likewise.
28962 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
28963 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
28964 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
28965 * sysdeps/unix/bsd/telldir.c: Likewise.
28966 * sysdeps/unix/bsd/times.c: Likewise.
28967 * sysdeps/unix/bsd/usleep.c: Likewise.
28968
28969 * misc/Makefile (install-lib): Remove libbsd-compat.a.
28970 ($(objpfx)libbsd-compat.a): Remove rule.
28971
28972 * include/features.h (__FAVOR_BSD): Do not define.
28973 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
28974 features conflicting with POSIX.
28975 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
28976 (_BSD_SOURCE): Remove description of not being a subset of other
28977 feature test macros.
28978 * manual/job.texi (getpgrp): Do not document BSD version.
28979 (getpgid): Do not document by reference to BSD getpgrp.
28980 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
28981 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
28982 * signal/signal.h [__FAVOR_BSD]: Likewise.
28983 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
28984 instead of making contents conditional on [__FAVOR_BSD].
28985 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
28986
28987 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28988
28989 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28990
28991 2013-12-17 Joseph Myers <joseph@codesourcery.com>
28992
28993 [BZ #16314]
28994 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
28995 values below 2**-450, not 2**-500.
28996 * math/auto-libm-test-in: Don't allow spurious underflow from
28997 hypot.
28998 * math/auto-libm-test-out: Regenerated.
28999
29000 [BZ #16316]
29001 [BZ #16330]
29002 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
29003 values of ha and hb and sort them after adjusting subnormal
29004 arguments.
29005 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
29006 Likewise.
29007 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
29008 values of ea and eb and sort them after adjusting subnormal
29009 arguments.
29010 * math/auto-libm-test-in: Do not expect some hypot tests of
29011 subnormals to fail. Add more hypot tests.
29012 * math/auto-libm-test-out: Regenerated.
29013
29014 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29015
29016 [BZ #13304]
29017 * sysdeps/sh/s_fma.c: New file.
29018 * sysdeps/sh/s_fmaf.c: New file.
29019 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
29020 version.
29021 * sysdeps/sh/Implies: Add sh/soft-fp.
29022
29023 2013-12-16 Roland McGrath <roland@hack.frob.com>
29024
29025 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
29026 level of indirection to members `objname', `errstring', `malloced'.
29027 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
29028 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
29029 it as the __longjmp argument (just pass 1 instead).
29030 (_dl_catch_error): Initialize C with argument pointers and address of
29031 volatile local ERRCODE rather than copying values out of C at return.
29032
29033 2013-12-16 Joseph Myers <joseph@codesourcery.com>
29034
29035 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
29036 * math/auto-libm-test-out: Regenerated.
29037 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
29038 (hypot_test_data): Likewise.
29039 (pow_test_data): Likewise.
29040 (pow_tonearest_test_data): Likewise.
29041 * math/gen-auto-libm-tests.c (func_calc_method): Add value
29042 mpfr_ff_f.
29043 (func_calc_desc): Add mpfr_ff_f union field.
29044 (FUNC_mpfr_ff_f): New macro.
29045 (test_functions): Add atan2, hypot and pow.
29046 (special_fill_min): New function.
29047 (special_fill_minus_min): Likewise.
29048 (special_fill_min_subnorm): Likewise.
29049 (special_fill_minus_min_subnorm): Likewise.
29050 (special_real_inputs): Add min, -min, min_subnorm and
29051 -min_subnorm.
29052 (calc_generic_results): Handle mpfr_ff_f.
29053 * sysdeps/i386/fpu/libm-test-ulps: Update.
29054 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29055
29056 2013-12-16 Will Newton <will.newton@linaro.org>
29057
29058 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
29059 (Aligned Memory Blocks): Add documentation for aligned_alloc
29060 and suggest it as an alternative to posix_memalign.
29061 (Hooks for Malloc): Document __memalign_hook is also called
29062 for aligned_alloc. (Summary of Malloc): Add summary for
29063 aligned alloc. Document __memalign_hook is also called
29064 for aligned_alloc.
29065
29066 2013-12-16 Will Newton <will.newton@linaro.org>
29067
29068 * manual/memory.texi (Malloc Examples): Clarify default
29069 alignment documentation. Suggest posix_memalign rather
29070 than memalign or valloc.
29071 (Aligned Memory Blocks): Remove suggestion to use memalign
29072 or valloc. Remove obsolete comment about BSD.
29073 Document memalign errno values and mark the function obsolete.
29074 Document posix_memalign returned error codes. Mark valloc
29075 as obsolete. (Hooks for Malloc): __memalign_hook is also
29076 called for posix_memalign and valloc.
29077 (Summary of Malloc): Add posix_memalign to function summary.
29078 __memalign_hook is also called for posix_memalign and valloc.
29079
29080 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
29081
29082 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
29083 TAYLOR_SIN.
29084 (__sin): Adjust.
29085 (__cos): Likewise.
29086 (sloww): Use mynumber union. Expand ternary operator into
29087 if-else statements.
29088 (cslow): use mynumber union.
29089
29090 2013-12-16 Allan McRae <allan@archlinux.org>
29091
29092 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
29093 * configure: Regenerated.
29094
29095 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
29096
29097 [BZ #14120]
29098 * configure.ac: Added --enable-maintainer-mode. Check for
29099 autoconf when enabled.
29100 * configure: Regenerated.
29101
29102 * nscd/nscd.service: New file.
29103 * nscd/nscd.tmpfiles: New file.
29104
29105 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
29106
29107 [BZ #12100]
29108 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
29109 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
29110 * sysdeps/x86_64/multiarch/strstr.c: ... here.
29111 (strstr): Add __strstr_sse2_unaligned ifunc.
29112 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
29113 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
29114 (strcasestr): Remove __strcasestr_sse42 ifunc.
29115 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
29116 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
29117 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
29118
29119 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29120
29121 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
29122 * sysdeps/sh/bits/fenv.h: ... here.
29123 * sysdeps/sh/sh4/fpu/bits: Remove directory.
29124
29125 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29126
29127 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
29128
29129 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
29130 hypotf multiarch implementations.
29131 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
29132 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
29133 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
29134 multiarch hypot for PPC64.
29135 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
29136 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
29137 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
29138 multiarch hypotf for PPC64.
29139
29140 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
29141 modff multiarch implementations.
29142 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
29143 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
29144 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
29145 multiarch modf for PPC64.
29146 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
29147 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
29148 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
29149 multiarch modff for PPC64.
29150
29151 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
29152 and logl multiarch implementations.
29153 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
29154 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
29155 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
29156 multiarch logb for PPC64.
29157 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
29158 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
29159 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
29160 multiarch logb for PPC64.
29161 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
29162 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
29163 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
29164 multiarch logb for PPC64.
29165
29166 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
29167 isinff multiarch implementation.
29168 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
29169 file.
29170 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
29171 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
29172 multiarch isinf for PPC64.
29173 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
29174 file.
29175 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
29176 multiarch isinff for PPC64.
29177
29178 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
29179 finitef multiarch implementation.
29180 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
29181 file.
29182 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
29183 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
29184 multiarch finite for PPC64.
29185 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
29186 file.
29187 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
29188 multiarch finitef for PPC64.
29189
29190 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
29191 lrint multiarch implementation.
29192 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
29193 file.
29194 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
29195 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
29196 multiarch llrint for PPC64.
29197 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
29198 multiarch lrint for PPC64.
29199
29200 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
29201 copysignf multiarch implementation.
29202 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
29203 file.
29204 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
29205 file.
29206 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
29207 multiarch copysign for PPC64.
29208 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
29209 multiarch copysignf for PPC64.
29210
29211 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
29212 multiarch implementation.
29213 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
29214 file.
29215 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
29216 file.
29217 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
29218 file.
29219 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
29220 file.
29221 multiarch llround for PPC64.
29222 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
29223 multiarch trunc for PPC64.
29224 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
29225 multiarch truncf for PPC64.
29226
29227 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
29228 multiarch implementation.
29229 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
29230 file.
29231 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
29232 file.
29233 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
29234 file.
29235 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
29236 file.
29237 multiarch llround for PPC64.
29238 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
29239 multiarch round for PPC64.
29240 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
29241 multiarch roundf for PPC64.
29242
29243 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
29244 multiarch implementation.
29245 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
29246 file.
29247 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
29248 file.
29249 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
29250 file.
29251 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
29252 file.
29253 multiarch llround for PPC64.
29254 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
29255 multiarch floor for PPC64.
29256 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
29257 multiarch floorf for PPC64.
29258
29259 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
29260 multiarch implementation.
29261 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
29262 file.
29263 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
29264 file.
29265 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
29266 file.
29267 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
29268 file.
29269 multiarch llround for PPC64.
29270 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
29271 multiarch ceil for PPC64.
29272 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
29273 multiarch ceilf for PPC64.
29274
29275 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
29276 multiarch implementation.
29277 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
29278 file.
29279 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
29280 file.
29281 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
29282 file.
29283 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
29284 multiarch llround for PPC64.
29285 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
29286 multiarch lround for PPC64.
29287
29288 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
29289 multiarch implementation.
29290 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
29291 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
29292 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
29293 file.
29294 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
29295 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
29296 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
29297 multiarch isnan for PPC64.
29298 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
29299 multiarch isnanf for PPC64.
29300
29301 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
29302 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
29303 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
29304 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
29305 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
29306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
29307
29308 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
29309 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
29310 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
29311 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
29312
29313 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
29314 multiarch implementations.
29315 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29316 (__libc_ifunc_impl_list): Likewise.
29317 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
29318 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
29319 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
29320 multiarch stpcpy for PPC64.
29321
29322 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
29323 multiarch implementations.
29324 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29325 (__libc_ifunc_impl_list): Likewise.
29326 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
29327 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
29328 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
29329 multiarch strcpy for PPC64.
29330
29331 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
29332 redefine function name.
29333 (_wordcopy_fwd_dest_aligned): Likewise.
29334 (_wordcopy_bwd_aligned): Likewise.
29335 (_wordcopy_bwd_dest_aligned): Likewise.
29336 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
29337 multiarch implementations.
29338 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29339 (__libc_ifunc_impl_list): Likewise.
29340 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
29341 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
29342 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
29343 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
29344 multiarch wcscpy for PPC64.
29345
29346 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
29347 multiarch implementations.
29348 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29349 (__libc_ifunc_impl_list): Likewise.
29350 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
29351 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
29352 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
29353 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
29354 multiarch wcscpy for PPC64.
29355
29356 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
29357 multiarch implementations.
29358 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29359 (__libc_ifunc_impl_list): Likewise.
29360 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
29361 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
29362 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
29363 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
29364 multiarch wcsrchr for PPC64.
29365
29366 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
29367 multiarch implementations.
29368 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29369 (__libc_ifunc_impl_list): Likewise.
29370 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
29371 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
29372 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
29373 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
29374 multiarch wcschr for PPC64.
29375
29376 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
29377 multiarch implementations.
29378 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29379 (__libc_ifunc_impl_list): Likewise.
29380 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
29381 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
29382 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
29383 multiarch strchrnul for PPC64.
29384
29385 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
29386 implementations.
29387 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29388 (__libc_ifunc_impl_list): Likewise.
29389 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
29390 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
29391 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
29392 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
29393 strchr for PPC64.
29394
29395 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
29396 implementations.
29397 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29398 (__libc_ifunc_impl_list): Likewise.
29399 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
29400 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
29401 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
29402 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
29403 strncmp for PPC64.
29404
29405 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
29406 multiarch implementations.
29407 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29408 (__libc_ifunc_impl_list): Likewise.
29409 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
29410 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
29411 strncasecmp for PPC64.
29412 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
29413 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
29414 multiarch strncasecmp_l for PPC64.
29415
29416 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
29417 multiarch implementations.
29418 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
29419 (__libc_ifunc_impl_list): Likewise.
29420 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
29421 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
29422 multiarch strcasecmp for PPC64.
29423 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
29424 file.
29425 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
29426 multiarch strcasecmp_l for PPC64.
29427
29428 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
29429 implementations.
29430 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29431 (__libc_ifunc_impl_list): Likewise.
29432 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
29433 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
29434 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
29435 strnlen for PPC64.
29436
29437 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
29438 implementations.
29439 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29440 (__libc_ifunc_impl_list): Likewise.
29441 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
29442 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
29443 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
29444 strlen for PPC64.
29445
29446 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
29447 implementations.
29448 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29449 (__libc_ifunc_impl_list): Likewise.
29450 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
29451 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
29452 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
29453 rawmemrchr for PPC64.
29454
29455 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
29456 implementation.
29457 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29458 (__libc_ifunc_impl_list): Likewise.
29459 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
29460 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
29461 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
29462 memrchr for PPC64.
29463
29464 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
29465 implementation.
29466 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29467 (__libc_ifunc_impl_list): Likewise.
29468 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
29469 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
29470 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
29471 memchr for PPC64.
29472
29473 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
29474 implementation.
29475 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29476 (__libc_ifunc_impl_list): Likewise.
29477 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
29478 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
29479 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
29480 mempcpy for PPC64.
29481
29482 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
29483 avoid cretion of __bzero symbol.
29484 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
29485 Likewise.
29486 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
29487 Likewise.
29488 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
29489 Likewise.
29490 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
29491 multiarch implementations.
29492 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29493 (__libc_ifunc_impl_list): Likewise.
29494 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
29495 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
29496 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
29497 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
29498 bzero for PPC32.
29499 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
29500 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
29501 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
29502 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
29503 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
29504 memset for PPC64.
29505 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
29506
29507 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
29508 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
29509 implementations.
29510 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29511 (__libc_ifunc_impl_list): Likewise.
29512 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
29513 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
29514 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
29515 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
29516 memcmp for PPC64.
29517
29518 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
29519 multiarch for POWER/PPC64.
29520 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
29521 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
29522 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
29523 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
29524 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
29525 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
29526 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
29527 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
29528 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
29529 memcpy for PPC64.
29530
29531 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
29532 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
29533 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
29534 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
29535 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
29536 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
29537 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
29538 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
29539 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
29540 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
29541 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
29542 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
29543 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
29544 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
29545 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
29546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
29547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
29548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
29549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
29550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
29551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
29552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
29553
29554 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29555
29556 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
29557
29558 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
29559
29560 * benchtests/Makefile (bench): Add exp2 and log2.
29561 (LDLIBS-bench-exp2): Add -lm.
29562 (LDLIBS-bench-log2): Likewise.
29563 * benchtests/exp2-inputs: New inputs file.
29564 * benchtests/log2-inputs: New inputs file.
29565 * benchtests/log-inputs: Add new inputs.
29566 * benchtests/tan-inputs: Likewise.
29567
29568 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
29569
29570 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
29571 definition...
29572 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
29573 (csloww2): ... from here.
29574
29575 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
29576 instead of structures.
29577 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
29578 (POLYNOMIAL): Likewise.
29579 (TAYLOR_SLOW): Likewise.
29580 (__sin): Likewise.
29581 (__cos): Likewise.
29582 (slow1): Likewise.
29583 (slow2): Likewise.
29584 (sloww): Likewise.
29585 (sloww1); Likewise.
29586 (sloww2): Likewise.
29587 (bsloww1): Likewise.
29588 (bsloww2): Likewise.
29589 (cslow2): Likewise.
29590 (csloww): Likewise.
29591 (csloww1): Likewise.
29592 (csloww2): Likewise.
29593
29594 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
29595
29596 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
29597 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
29598 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
29599 * malloc/hooks.c (realloc_check): Likewise.
29600
29601 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
29602 * malloc/arena.c: Remove PER_THREAD conditional.
29603 [!PER_THREAD]: Remove code.
29604 (ptmalloc_unlock_all2): Likewise.
29605 (ptmalloc_init): Likewise.
29606 (_int_new_arena): Likewise.
29607 (arena_get2): Likewise.
29608 * malloc/hooks.c (__malloc_get_state): Likewise.
29609 (__malloc_set_state): Likewise.
29610 * malloc/malloc.c: Likewise.
29611 (struct malloc_state): Likewise.
29612 (struct malloc_par): Likewise.
29613 (__libc_realloc): Likewise.
29614 (__libc_mallopt): Likewise.
29615
29616 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29617
29618 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
29619
29620 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
29621
29622 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
29623 macro to a function. Check for zero perturb_byte.
29624 (_int_malloc, _int_free): Remove zero perturb_byte checks.
29625
29626 * malloc/malloc.c: (force_reg): Remove.
29627 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
29628 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
29629 force_reg by atomic_forced_read.
29630 * malloc/arena.c (ptmalloc_init): Likewise.
29631 * malloc/hooks.c (top_check): Likewise.
29632
29633 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29634
29635 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29636
29637 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
29638
29639 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29640
29641 2013-12-08 Joseph Myers <joseph@codesourcery.com>
29642
29643 * math/auto-libm-test-in: Add tests of lgamma.
29644 * math/auto-libm-test-out: Regenerated.
29645 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
29646 (M_LOG_2_SQRT_PIl): Likewise.
29647 (lgamma_test_data): Use AUTO_TESTS_f_f1.
29648 * math/gen-auto-libm-tests.c (func_calc_method): Add value
29649 mpfr_f_f1.
29650 (func_calc_desc): Add mpfr_f_f1 union field.
29651 (ARGS1): New macro.
29652 (ARGS2): Likewise.
29653 (ARGS3): Likewise.
29654 (ARGS4): Likewise.
29655 (RET1): Likewise.
29656 (RET2): Likewise.
29657 (CALC): Likewise.
29658 (FUNC): Likewise.
29659 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
29660 (test_functions): Add lgamma.
29661 (calc_generic_results): Handle mpfr_f_f1.
29662 * sysdeps/i386/fpu/libm-test-ulps: Update.
29663 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29664
29665 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29666
29667 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
29668 __mpn_add_n for PowerPC64/POWER7.
29669 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
29670 __mpn_sub_n for PowerPC64/POWER7.
29671
29672 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
29673 __mpn_addmul_1 for PowerPC64.
29674 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
29675 __mpn_submul_1 for PowerPC64.
29676 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
29677 for PowerPC64.
29678 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
29679 for PowerPC64.
29680
29681 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
29682
29683 [BZ #15089]
29684 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
29685
29686 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29687
29688 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
29689
29690 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
29691 add multiarch folders.
29692 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
29693 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
29694 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
29695 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
29696 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
29697 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
29698 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
29699 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
29700 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
29701 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
29702 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
29703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
29704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
29705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
29706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
29707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
29708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
29709
29710 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
29711 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
29712 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
29713 New file.
29714 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
29715 New file.
29716 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
29717 multiarch __ieee754_hypot for PowerPC32.
29718 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
29719 New file.
29720 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
29721 New file.
29722 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
29723 multiarch __ieee754_hypotf for PowerPC32.
29724
29725 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
29726 long_double_symbol only if __logbl is defined.
29727 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
29728 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
29729 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
29730 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
29731 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
29732 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
29733 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
29734 path for implementation.
29735 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
29736 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
29737 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
29738 logb, and logbl multiarch implementations for PowerPC32.
29739 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
29740 file.
29741 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
29742 file.
29743 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
29744 multiarch logb for PowerPC32.
29745 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
29746 file.
29747 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
29748 file.
29749 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
29750 multiarch logbf for PowerPC32.
29751 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
29752 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
29753 file.
29754 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
29755 multiarch logbl implementation for PowerPC32.
29756
29757 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
29758 and modff multiarch implementations.
29759 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
29760 New file.
29761 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
29762 New file.
29763 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
29764 multiarch modf for PowerPC32.
29765 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
29766 New file.
29767 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
29768 New file.
29769 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
29770 multiarch modff for PowerPC32.
29771
29772 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
29773 and lrintf multiarch implementations.
29774 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
29775 New file.
29776 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
29777 New file.
29778 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
29779 multiarch lrint for PowerPC32.
29780 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
29781 file: multiarch lrintf for PowerPC32.
29782
29783 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
29784 and lroundf multiarch implementations.
29785 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
29786 New file.
29787 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
29788 New file.
29789 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
29790 New file.
29791 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
29792 multiarch lround for PowerPC32.
29793 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
29794 file: multiarch lroundf for PowerPC32.
29795
29796 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
29797 copysign and copysignf multiarch implementations.
29798 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
29799 New file.
29800 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
29801 New file.
29802 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
29803 file: multiarch copysign for PowerPC32.
29804 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
29805 file: multiarch copysignf for PowerPC32.
29806
29807 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
29808 and truncf multiarch implementations.
29809 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
29810 New file.
29811 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
29812 file.
29813 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
29814 multiarch trunc for PowerPC32.
29815 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
29816 New file.
29817 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
29818 New file.
29819 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
29820 multiarch truncf for PowerPC32.
29821
29822 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
29823 and roundf multiarch implementations.
29824 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
29825 New file.
29826 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
29827 file.
29828 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
29829 multiarch round for PowerPC32.
29830 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
29831 New file.
29832 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
29833 New file.
29834 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
29835 multiarch roundf for PowerPC32.
29836
29837 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
29838 and floorf multiarch implementations.
29839 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
29840 New file.
29841 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
29842 file.
29843 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
29844 multiarch floor for PowerPC32.
29845 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
29846 New file.
29847 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
29848 New file.
29849 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
29850 multiarch floorf for PowerPC32.
29851
29852 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
29853 and ceilf multiarch implementations.
29854 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
29855 New file.
29856 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
29857 file.
29858 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
29859 multiarch ceil for PowerPC32.
29860 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
29861 New file.
29862 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
29863 file.
29864 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
29865 multiarch ceilf for PowerPC32.
29866
29867 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
29868 is defined.
29869 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
29870 FINITEF is defined.
29871 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
29872 and finitef multiarch implementations.
29873 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
29874 New file.
29875 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
29876 file.
29877 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
29878 multiarch finite for PowerPC32.
29879 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
29880 New file.
29881 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
29882 file: multiarch finitef for PowerPC32.
29883
29884 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
29885 and isinff multiarch implementations.
29886 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
29887 file.
29888 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
29889 file.
29890 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
29891 multiarch isinf for PowerPC32.
29892 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
29893 New file.
29894 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
29895 multiarch isinff for PowerPC32.
29896
29897 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
29898 alias when __isnan is defined.
29899 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
29900 and isnanf multiarch implementations.
29901 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
29902 file.
29903 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
29904 file.
29905 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
29906 file.
29907 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
29908 file.
29909 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
29910 multiarch isnan for PowerPC32.
29911 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
29912 New file.
29913 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
29914 New file.
29915 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
29916 multiarch isnanf for PowerPC32.
29917
29918 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
29919 and sqrtf multiarch implementations.
29920 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
29921 file.
29922 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
29923 file.
29924 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
29925 multiarch sqrt for PowerPC32.
29926 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
29927 file.
29928 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
29929 file.
29930 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
29931 multiarch sqrtf for PowerPC32.
29932
29933 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
29934 and llroundf multiarch implementations.
29935 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
29936 New file.
29937 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
29938 New file.
29939 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
29940 New file.
29941 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
29942 file: multiarch llround for PowerPC32.
29943 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
29944 file: multiarch llroundf for PowerPC32.
29945
29946 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
29947 multiarch PowerPC32 fpu implementations.
29948 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
29949 New file.
29950 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
29951 New file.
29952 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
29953 multiarch llrint for PowerPC32.
29954 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
29955 New file.
29956 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
29957 New file.
29958 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
29959 file.
29960
29961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
29962
29963 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
29964 file.
29965 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
29966 file.
29967 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
29968 file.
29969 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
29970 multiarch wordcopy for PPC32.
29971 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
29972 wordcopy objects.
29973 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29974 (__libc_ifunc_impl_list): Likewise.
29975 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
29976 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
29977 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
29978 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
29979 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
29980 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
29981
29982 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
29983 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
29984 file.
29985 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
29986 file.
29987 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
29988 file.
29989 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
29990 multiarch wcscpy for PPC32.
29991 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
29992 multiarch objects.
29993 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29994 (__libc_ifunc_impl_list): Likewise.
29995 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
29996 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
29997 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
29998 sysdeps/powerpc/power6/wcscpy.c.
29999
30000 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
30001 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
30002 file.
30003 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
30004 file.
30005 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
30006 file.
30007 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
30008 multiarch wcsrchr for PPC32.
30009 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
30010 multiarch objects.
30011 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30012 (__libc_ifunc_impl_list): Likewise.
30013 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
30014 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
30015 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
30016 sysdeps/powerpc/power6/wcsrchr.c.
30017
30018 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
30019 file.
30020 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
30021 file.
30022 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
30023 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
30024 multiarch wcschr for PPc32.
30025 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
30026 multiarch objects.
30027 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30028 (__libc_ifunc_impl_list): Likewise.
30029 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
30030 * sysdeps/powerpc/power6/wcschr.c: ... to here.
30031 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
30032 sysdeps/powerpc/power6/wcschr.c.
30033
30034 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
30035 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
30036 file.
30037 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
30038 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
30039 file: multiarch strchr for PPC32.
30040 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
30041 multiarch objects.
30042 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30043 (__libc_ifunc_impl_list): Likewise.
30044
30045 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
30046 name.
30047 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
30048 file.
30049 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
30050 file.
30051 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
30052 multiarch strchrnul for PPC32.
30053 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
30054 multiarch objects.
30055 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30056 (__libc_ifunc_impl_list): Likewise.
30057
30058 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
30059 file.
30060 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
30061 multiarch strncasecmp for PPC32.
30062 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
30063 file.
30064 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
30065 multiarch strncasecmp_l for PPC32.
30066 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
30067 strncasecmp multiarch objects.
30068 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30069 (__libc_ifunc_impl_list): Likewise.
30070
30071 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
30072 file.
30073 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
30074 multiarch strncasecmp for PPC32.
30075 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
30076 New file.
30077 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
30078 multiarch strcasecmp_l for PPC32.
30079 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
30080 multiarch objects.
30081 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30082 (__libc_ifunc_impl_list): Likewise.
30083
30084 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
30085 file.
30086 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
30087 file.
30088 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
30089 multiarch strncmp for PPC32.
30090 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
30091 multiarch objects.
30092 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30093 (__libc_ifunc_impl_list): Likewise.
30094
30095 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
30096 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
30097 file.
30098 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
30099 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
30100 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
30101 multiarch objects.
30102 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30103 (__libc_ifunc_impl_list): Likewise.
30104
30105 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
30106 file.
30107 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
30108 file.
30109 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
30110 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
30111 multiarch objects.
30112 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30113 (__libc_ifunc_impl_list): Likewise.
30114
30115 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
30116 file.
30117 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
30118 file.
30119 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
30120 multiarch rawmemchr for PPC32.
30121 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
30122 multiarch objects.
30123 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30124 (__libc_ifunc_impl_list): Likewise.
30125
30126 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
30127 file.
30128 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
30129 file.
30130 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
30131 file: memrchr multiarch for PPC32.
30132 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
30133 multiarch objects.
30134 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30135 (__libc_ifunc_impl_list): Likewise.
30136
30137 * string/memchr.c (__memchr): Using macro to redefine symbol name.
30138 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
30139 file.
30140 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
30141 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
30142 multiarch memchr for PPC32.
30143 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
30144 multiarch objects.
30145 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
30146 (__libc_ifunc_impl_list): Likewise.
30147
30148 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
30149 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
30150 file.
30151 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
30152 file.
30153 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
30154 file: multiarch mempcpy for PPC32.
30155 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
30156 multiarch objects.
30157 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
30158 (__libc_ifunc_impl_list): Likewise.
30159
30160 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
30161 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
30162 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
30163 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
30164 multiarch bzero for PPC32.
30165 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
30166 file.
30167 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
30168 file.
30169 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
30170 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
30171 file: multiarch memset for PPC32.
30172 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
30173 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
30174 memset multiarch objects.
30175 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
30176 (__libc_ifunc_impl_list): Likewise.
30177
30178 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
30179 file.
30180 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
30181 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
30182 memcmp for PPC32.
30183 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
30184 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
30185 multiarch objects.
30186 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
30187 (__libc_ifunc_impl_list): Likewise.
30188
30189 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
30190 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
30191 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
30192 file.
30193 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
30194 file.
30195 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
30196 file.
30197 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
30198 multiarch memcpy for PPC32.
30199 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
30200 multiarch objects.
30201 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
30202 (__libc_ifunc_impl_list): Likewise.
30203
30204 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
30205 support multiarch for POWER/PPC32.
30206 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
30207 Likewise.
30208 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
30209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
30210 Implies file to make multiarch folder appers before the fpu and
30211 default folder for power4 configuration.
30212
30213 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
30214
30215 * scripts/bench.pl: Append volatile keyword to type.
30216
30217 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30218
30219 * sysdeps/sh/sotruss-lib.c: New file.
30220 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
30221
30222 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30223
30224 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30225
30226 2013-12-05 Joseph Myers <joseph@codesourcery.com>
30227
30228 [BZ #6810]
30229 * math/w_tgamma.c: Include <errno.h>.
30230 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
30231 * math/w_tgammaf.c: Include <errno.h>.
30232 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
30233 * math/w_tgammal.c: Include <errno.h>.
30234 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
30235 * math/auto-libm-test-in: Do not allow missing errno on tgamma
30236 underflow. Add more tgamma tests.
30237 * math/auto-libm-test-out: Regenerated.
30238 * sysdeps/i386/fpu/libm-test-ulps: Update.
30239 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30240
30241 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
30242 sin, sinh, tan, tanh, tgamma, y0 and y1.
30243 * math/auto-libm-test-out: Regenerated.
30244 * math/libm-test.inc (TEST_COND_x86_64): New macro.
30245 (TEST_COND_x86): Likewise.
30246 (M_E2l): Remove macro.
30247 (M_E3l): Likewise.
30248 (M_2_SQRT_PIl): Likewise.
30249 (M_SQRT_PIl): Likewise.
30250 (M_1_DIV_El): Likewise.
30251 (log_test_data): Use AUTO_TESTS_f_f.
30252 (log10_test_data): Likewise.
30253 (log1p_test_data): Likewise.
30254 (log2_test_data): Likewise.
30255 (sin_test_data): Likewise.
30256 (sin_tonearest_test_data): Likewise.
30257 (sin_towardzero_test_data): Likewise.
30258 (sin_downward_test_data): Likewise.
30259 (sin_upward_test_data): Likewise.
30260 (sinh_test_data): Likewise.
30261 (sinh_tonearest_test_data): Likewise.
30262 (sinh_towardzero_test_data): Likewise.
30263 (sinh_downward_test_data): Likewise.
30264 (sinh_upward_test_data): Likewise.
30265 (tan_test_data): Likewise.
30266 (tan_tonearest_test_data): Likewise.
30267 (tan_towardzero_test_data): Likewise.
30268 (tan_downward_test_data): Likewise.
30269 (tan_upward_test_data): Likewise.
30270 (tanh_test_data): Likewise.
30271 (tgamma_test_data): Likewise.
30272 (y0_test_data): Likewise.
30273 (y1_test_data): Likewise.
30274 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
30275 (special_real_inputs): Add pi/4.
30276 * sysdeps/i386/fpu/libm-test-ulps: Update.
30277 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30278
30279 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30280
30281 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
30282 "longjmp_target" static probes.
30283 (__longjmp): Rename to __longjmp_symbol.
30284 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
30285 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
30286 on which longjmp to generate.
30287 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
30288 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
30289 probe.
30290 (__sigsetjmp): Rename to __sigsetjmp_symbol.
30291 (__sigjmp_save): Rename to __sigjmp_save_symbol.
30292 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
30293 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
30294 and __sigjmp_save_symbol based on which sigsetjmp to generated.
30295 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
30296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
30297 __longjmp_symbol based on which __longjmp to generate.
30298 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
30299 probe.
30300 (setjmp): Rename to setjmp_symbol.
30301 (__sigsetjmp): Rename to __sigsetjmp_symbol.
30302 (_setjmp): Rename to _setjmp_symbol.
30303 (__sigsetjmp): Rename to __sigsetjmp_symbol.
30304 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
30305 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
30306 which setjmp to generate.
30307 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
30308 "longjmp_target" static probes.
30309
30310 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
30311
30312 * benchtests/README: Add note about output arguments.
30313 * benchtests/bench-sincos.c: Remove file.
30314 * benchtests/sincos-inputs: New file.
30315 * scripts/bench.pl: Identify output arguments and define
30316 static variables for them.
30317
30318 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
30319
30320 [BZ #15941]
30321 * Makefile (INSTALL): Add install-plain.texi as the primary
30322 dependency.
30323 * manual/install-plain.texi: New file.
30324 * manual/install.texi: Include node directive only for
30325 non-plaintext output.
30326
30327 2013-12-04 Joseph Myers <joseph@codesourcery.com>
30328
30329 * stdlib/longlong.h: Update from GCC.
30330
30331 [BZ #6807]
30332 [BZ #15901]
30333 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
30334 * math/w_j0f.c (y0f): Likewise.
30335 * math/w_j0l.c (__y0l): Likewise.
30336 * math/w_j1.c (y1): Likewise.
30337 * math/w_j1f.c (y1f): Likewise.
30338 * math/w_j1l.c (__y1l): Likewise
30339 * math/w_jn.c (yn): Likewise.
30340 * math/w_jnf.c (ynf): Likewise.
30341 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
30342 Bessel function pole errors in _POSIX_ mode. Use NAN as return
30343 value for Bessel function domain errors outside _SVID_ mode.
30344 Adjust sign of return value for yn (negative integer, 0).
30345 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
30346 by zero in return for negative x and set sign appropriately for
30347 negative n.
30348 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
30349 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
30350 * math/libm-test.inc (y0_test_data): Add more tests and adjust
30351 expectations in error cases.
30352 (y1_test_data): Likewise.
30353 (yn_test_data): Likewise.
30354 * sysdeps/i386/fpu/libm-test-ulps: Update.
30355 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30356
30357 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
30358
30359 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
30360 "64" to "64-v1". Add "64-v2".
30361 (abi-64-options): Rename to ...
30362 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
30363 (abi-64-condition): Rename to ...
30364 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
30365 (abi-64-ld-soname): Rename to ...
30366 (abi-64-v1-ld-soname): ... this.
30367 (abi-64-v2-options): Define.
30368 (abi-64-v2-condition): Likewise.
30369 (abi-64-v2-ld-soname): Likewise.
30370 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
30371 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
30372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
30373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
30374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
30375
30376 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
30377 Alan Modra <amodra@gmail.com>
30378
30379 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
30380 New versions for use with the ELFv2 ABI.
30381 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
30382 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
30383 declaration.
30384 (struct La_ppc64v2_retval): Likewise.
30385 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
30386 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
30387 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
30388 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
30389 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
30390 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
30391 Do not save or restore CR.
30392 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
30393 (_dl_profile_resolve): Do no save or restore CR. Support extended
30394 return values for ELFv2 ABI. Fix location of FPR return registers.
30395 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
30396 updated values for _CALL_ELF == 2.
30397 (La_regs, La_retval, int_retval): Likewise.
30398
30399 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
30400
30401 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
30402 (FRAME_MIN_SIZE_PARM): Likewise.
30403 (FRAME_BACKCHAIN): Likewise.
30404 (FRAME_CR_SAVE): Likewise.
30405 (FRAME_LR_SAVE): Likewise.
30406 (FRAME_TOC_SAVE): Likewise.
30407 (FRAME_PARM_SAVE): Likewise.
30408 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
30409 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
30410 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
30411 (call_mcount_parm_offset): New macro.
30412 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
30413 (PROF): Use symbolic stack frame offsets.
30414 (TAIL_CALL_SYSCALL_ERROR): Likewise.
30415 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
30416 Redefine in terms of FRAME_MIN_SIZE.
30417 (_dl_runtime_resolve): Use symbolic stack frame offsets.
30418 (_dl_profile_resolve): Likewise. Update comment.
30419 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
30420 symbols stack frame offsets.
30421 (__sigsetjmp): Likewise.
30422 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
30423 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
30424 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
30425 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
30426
30427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
30428 (FRAME_BACKCHAIN): Remove.
30429 (FRAME_CR_SAVE): Likewise.
30430 (FRAME_LR_SAVE): Likewise.
30431 (FRAME_COMPILER_DW): Likewise.
30432 (FRAME_LINKER_DW): Likewise.
30433 (FRAME_TOC_SAVE): Likewise.
30434 (FRAME_PARM_SAVE): Likewise.
30435 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
30436 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
30437 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
30438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
30439 (CHECK_SP): Use symbolic stack frame offsets.
30440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
30441 zone" instead of caller's parameter save area for temp storage.
30442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
30443 Likewise. Also, use symbolic stack frame offsets.
30444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
30445 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
30446 our own stack frame instead of the caller's.
30447 (__socket): Use symbolic stack frame offsets.
30448
30449 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
30450 Alan Modra <amodra@gmail.com>
30451
30452 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
30453 Define.
30454 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
30455 (PPC64_LOCAL_ENTRY_OFFSET): Define.
30456 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
30457 New function.
30458 (elf_machine_fixup_plt): Call it.
30459 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
30460 reloc arguments.
30461 (elf_machine_rela): Update call to elf_machine_plt_conflict.
30462 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
30463 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
30464 r2 before calling target.
30465
30466 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
30467 Alan Modra <amodra@gmail.com>
30468
30469 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
30470 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
30471 versions of macros to support ELFv2 ABI.
30472 (LOCALENTRY): New macro.
30473 (ENTRY, EALIGN): Use it.
30474 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
30475 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
30476 fall through into ENTRY entry point.
30477 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
30478 Only define if _CALL_ELF != 2.
30479
30480 (elf_machine_matches_host): Verify ABI version matches.
30481 (RTLD_START): Use LOCALENTRY.
30482 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
30483 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
30484 (PLT_ENTRY_WORDS): New macro.
30485 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
30486 (elf_machine_runtime_setup): Support ELFv2 ABI.
30487 (elf_machine_fixup_plt): Likewise.
30488 (elf_machine_plt_conflict): Likewise.
30489 (resolve_ifunc): Likewise.
30490 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
30491 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
30492 Likewise.
30493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
30494 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
30495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
30496 (makecontext): Support ELFv2 ABI.
30497 * elf/elf.h (EF_PPC64_ABI): Define.
30498
30499 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
30500
30501 * sysdeps/powerpc/powerpc64/sysdep.h
30502 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
30503 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
30504 (ENTRY) [ASSEMBLER]: ... but instead here ...
30505 (EALIGN) [ASSEMBLER]: ... and here.
30506 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
30507 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
30508 (ENTRY_2) [!ASSEMBLER]: Use it.
30509 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
30510 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
30511 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
30512 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
30513 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
30514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
30515 Use PPC64_LOAD_FUNCPTR.
30516
30517 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
30518
30519 2013-12-04 Alan Modra <amodra@gmail.com>
30520
30521 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
30522 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
30523 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
30524 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
30525
30526 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
30527 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
30528 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
30529 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
30530 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
30531 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
30532
30533 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
30534
30535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
30536 (__makecontext): Fix incorrect CFI when backtracing out of
30537 context created via makecontext.
30538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
30539 (__setcontext): Fix incorrect CFI during switch to new context.
30540 (__novec_setcontext): Likewise.
30541
30542 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
30543
30544 [BZ #4772]
30545 * time/strptime_l.c (__strptime_internal): Allow modifiers
30546 in strptime.
30547 * time/tst-strptime.c (day_tests): Add testcase.
30548
30549 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
30550
30551 * scripts/bench.pl: Skip over blank lines.
30552
30553 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
30554
30555 [BZ #926]
30556 * manual/time.texi (Calendar Time): Clarify what timezone functions
30557 use.
30558
30559 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30560
30561 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30562
30563 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
30564
30565 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
30566 implementation.
30567 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
30568 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
30569 * debug/memset_chk.c (__memset_chk): Likewise.
30570 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
30571 * debug/strncpy_chk.c: Likewise.
30572
30573 2013-12-03 Joseph Myers <joseph@codesourcery.com>
30574
30575 [BZ #15268]
30576 [BZ #15425]
30577 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
30578 (__ieee754_exp): For possibly underflowing results, check size of
30579 result and force underflow exception if required.
30580 * math/auto-libm-test-in: Add more tests of exp.
30581 * math/auto-libm-test-out: Regenerated.
30582 * sysdeps/i386/fpu/libm-test-ulps: Update.
30583 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30584
30585 [BZ #16283]
30586 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
30587 * math/w_exp2f.c (__exp2f): Likewise.
30588 * math/w_exp2l.c (__exp2l): Likewise.
30589 * math/auto-libm-test-in: Do not allow missing errno on exp2
30590 underflow.
30591 * math/auto-libm-test-out: Regenerated.
30592
30593 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
30594
30595 [BZ #16274]
30596 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
30597 handle filename validation.
30598 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
30599 (do_open): Delete.
30600
30601 2013-12-03 Joseph Myers <joseph@codesourcery.com>
30602
30603 [BZ #6786]
30604 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
30605 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
30606 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
30607 <float.h>.
30608 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
30609 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
30610 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
30611 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
30612 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
30613 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
30614 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
30615 * math/auto-libm-test-in: Don't allow missing errno from erfc.
30616 Add more erfc tests.
30617 * math/auto-libm-test-out: Regenerated.
30618 * sysdeps/i386/fpu/libm-test-ulps: Update.
30619 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30620
30621 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
30622 exp2, expm1, j0 and j1.
30623 * math/auto-libm-test-out: Regenerated.
30624 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
30625 (erfc_test_data): Likewise.
30626 (exp_test_data): Likewise.
30627 (exp_tonearest_test_data): Likewise.
30628 (exp_towardzero_test_data): Likewise.
30629 (exp_downward_test_data): Likewise.
30630 (exp_upward_test_data): Likewise.
30631 (exp10_test_data): Likewise.
30632 (exp2_test_data): Likewise.
30633 (expm1_test_data): Likewise.
30634 (j0_test_data): Likewise.
30635 (j1_test_data): Likewise.
30636 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
30637 (input_flag_type): Add flag_xfail_rounding.
30638 (input_flags): Add xfail-rounding.
30639 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
30640 (output_for_one_input_case): Handle flag_xfail_rounding.
30641 * sysdeps/i386/fpu/libm-test-ulps: Update.
30642 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30643
30644 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
30645
30646 [BZ #16289]
30647 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
30648 division by 0.
30649
30650 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
30651
30652 [BZ #16195]
30653 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
30654 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
30655 (STAP_PROBE0): New macro.
30656 (STAP_PROBE1): Likewise.
30657 (STAP_PROBE2): Likewise.
30658 (STAP_PROBE3): Likewise.
30659 (STAP_PROBE4): Likewise.
30660
30661 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
30662
30663 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
30664
30665 2013-12-02 Steve Ellcey <sellcey@mips.com>
30666
30667 * benchtests/Makefile (bench): Add sqrt.
30668 (LDLIBS-bench-sqrt): New.
30669 * benchtests/sqrt-input: New.
30670
30671 2013-12-02 Pavel Simerda <psimerda@redhat.com>
30672
30673 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
30674 (GAIH_EAI): Likewise.
30675 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
30676 (gaih_inet): Likewise.
30677 (getaddrinfo): Don't use GAIH_EAI.
30678
30679 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
30680 (struct gaih): Remove definition.
30681
30682 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
30683
30684 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
30685 Use HERRNOP directly.
30686
30687 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30688
30689 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30690
30691 2013-11-30 Joseph Myers <joseph@codesourcery.com>
30692
30693 * math/gen-auto-libm-tests.c (test_functions): Add more
30694 single-argument functions.
30695 (special_fill_pi_2): New function.
30696 (special_fill_minus_pi_2): Likewise.
30697 (special_fill_pi_6): Likewise.
30698 (special_fill_minus_pi_6): Likewise.
30699 (special_fill_pi_3): Likewise.
30700 (special_fill_2pi_3): Likewise.
30701 (special_fill_e): Likewise.
30702 (special_fill_1_e): Likewise.
30703 (special_fill_e_minus_1): Likewise.
30704 (special_real_inputs): Add more special inputs.
30705 (output_for_one_input_case): Do not require ERANGE on underflow to
30706 zero if round-to-nearest result does not underflow to zero, unless
30707 exact results required.
30708 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
30709 atan, atanh, cbrt, cos and cosh.
30710 * math/auto-libm-test-out: Regenerated.
30711 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
30712 (acos_tonearest_test_data): Likewise.
30713 (acos_towardzero_test_data): Likewise.
30714 (acos_downward_test_data): Likewise.
30715 (acos_upward_test_data): Likewise.
30716 (acosh_test_data): Likewise.
30717 (asin_test_data): Likewise.
30718 (asin_tonearest_test_data): Likewise.
30719 (asin_towardzero_test_data): Likewise.
30720 (asin_upward_test_data): Likewise.
30721 (asinh_test_data): Likewise.
30722 (atan_test_data): Likewise.
30723 (atanh_test_data): Likewise.
30724 (cbrt_test_data): Likewise.
30725 (cos_test_data): Likewise.
30726 (cos_tonearest_test_data): Likewise.
30727 (cos_towardzero_test_data): Likewise.
30728 (cos_downward_test_data): Likewise.
30729 (cos_upward_test_data): Likewise.
30730 (cosh_test_data): Likewise.
30731 (cosh_tonearest_test_data): Likewise.
30732 (cosh_towardzero_test_data): Likewise.
30733 (cosh_downward_test_data): Likewise.
30734 (cosh_upward_test_data): Likewise.
30735 * sysdeps/i386/fpu/libm-test-ulps: Update.
30736 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30737
30738 2013-11-29 Joseph Myers <joseph@codesourcery.com>
30739
30740 [BZ #6787]
30741 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
30742 * math/w_exp10f.c (__exp10f): Likewise.
30743 * math/w_exp10l.c (__exp10l): Likewise.
30744 * math/libm-test.inc (exp10_test_data): Add more tests and expect
30745 errno settings in existing tests.
30746
30747 [BZ #14032]
30748 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
30749 precision control set to double precision.
30750 * sysdeps/i386/fpu/w_sqrt.c: New file.
30751 * math/auto-libm-test-in: Add more tests.
30752 * math/auto-libm-test-out: Update.
30753
30754 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
30755 (sqrt_test_tonearest): New function.
30756 (sqrt_towardzero_test_data): New variable.
30757 (sqrt_test_towardzero): New function.
30758 (sqrt_downward_test_data): New variable.
30759 (sqrt_test_downward): New function.
30760 (sqrt_upward_test_data): New variable.
30761 (sqrt_test_upward): New function.
30762 (main): Call the new functions.
30763
30764 * math/gen-auto-libm-tests.c: New file.
30765 * math/auto-libm-test-in: Likewise.
30766 * math/auto-libm-test-out: New generated file.
30767 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
30768 variables.
30769 (%beautify): Add generated representations of zero.
30770 (top level): Set $auto_input and call parse_auto_input.
30771 (beautify): Remove trailing "f" from hex float constants.
30772 (parse_args): Handle XFAIL_TEST.
30773 (convert_condition): New function.
30774 (or_value): Likewise.
30775 (or_cond_value): Likewise.
30776 (generate_testfile): Handle AUTO_TESTS_* lines.
30777 (parse_auto_input): New function.
30778 * math/libm-test.inc (XFAIL_TEST): New macro.
30779 (ERRNO_UNCHANGED): Update value.
30780 (ERRNO_EDOM): Likewise.
30781 (ERRNO_ERANGE): Likewise.
30782 (IGNORE_RESULT): Likewise.
30783 (TEST_COND_flt_32): New macro.
30784 (TEST_COND_dbl_64): Likewise.
30785 (TEST_COND_ldbl_96_intel): Likewise.
30786 (TEST_COND_ldbl_96_m68k): Likewise.
30787 (TEST_COND_ldbl_128): Likewise.
30788 (TEST_COND_ldbl_128ibm): Likewise.
30789 (TEST_COND_long32): Likewise.
30790 (TEST_COND_long64): Likewise.
30791 (TEST_COND_before_rounding): Likewise.
30792 (TEST_COND_after_rounding): Likewise.
30793 (enable_test): Handle XFAIL_TEST flag.
30794 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
30795 with finite results.
30796 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
30797 auto-libm-test-out.
30798
30799 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
30800 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30801
30802 [BZ #16214]
30803 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
30804 __tls_get_addr_internal instead of __tls_get_offset in order to
30805 avoid GOT pointer dependency. Make rtld export
30806 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
30807 __tls_get_addr since we are a __tls_get_offset platform.
30808 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
30809 GOT pointer being set up before.
30810 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
30811
30812 2013-11-28 Joseph Myers <joseph@codesourcery.com>
30813
30814 * manual/math.texi (Errors in Math Functions): Document accuracy
30815 goals.
30816
30817 [BZ #15004]
30818 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
30819 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
30820 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
30821 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
30822 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
30823 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
30824 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
30825 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
30826 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
30827 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
30828 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
30829 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
30830 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
30831 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
30832 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
30833 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
30834
30835 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
30836 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
30837 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
30838 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
30839 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
30840 Likewise.
30841 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
30842 Likewise.
30843 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
30844 Likewise.
30845 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
30846 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
30847 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
30848 atomic-feupdateenv and flt-rounds.
30849 * sysdeps/powerpc/nofpu/Versions (libc): Add
30850 __atomic_feholdexcept, __atomic_feclearexcept,
30851 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
30852 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
30853 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
30854 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
30855 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
30856 here.
30857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
30858 Update.
30859
30860 * manual/arith.texi (FP Exceptions): Document that exceptions may
30861 not be raised when matherr is used.
30862 (Math Error Reporting): Document overflow in directed rounding
30863 modes. Document that errno may not be set when finite values are
30864 returned on overflow. Document intent to set errno on underflow
30865 only for underflow to zero.
30866
30867 [BZ #16271]
30868 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
30869 round-to-nearest then adjust result for other rounding modes.
30870 * include/fenv.h (fegetround): Use libm_hidden_proto.
30871 * math/fegetround.c (fegetround): Use libm_hidden_def.
30872 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
30873 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
30874 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
30875 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
30876 Likewise.
30877 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
30878 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
30879 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
30880 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
30881
30882 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30883
30884 [BZ #16077]
30885 * nss/Versions (libnss_files): Add
30886 _nss_files_gethostbyname3_r.
30887 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
30888 New function.
30889 (HOST_DB_LOOKUP): Remove macro.
30890 (_nss_files_gethostbyname_r): Implement function without the
30891 HOST_DB_LOOKUP macro.
30892 (_nss_files_gethostbyname2_r): Likewise.
30893
30894 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
30895
30896 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
30897
30898 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
30899
30900 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
30901 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
30902 warning.
30903
30904 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30905
30906 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
30907 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
30908 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
30909 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
30910 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
30911 __fe_nomask_env_priv and attribute_hidden.
30912 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
30913 (libc_feupdateenv_test_ppc): Likewise.
30914 (libc_feresetround_ppc): Likewise.
30915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
30916 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
30917 compat_symbol macro.
30918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
30919 (__fe_nomask_env): Likewise.
30920 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
30921
30922 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
30923
30924 * string/Makefile: Remove ifunc tests.
30925 * string/test-string.h: Define TEST_IFUNC.
30926 * string/test-bcopy-ifunc.c: Remove.
30927 * string/test-bzero-ifunc.c: Likewise.
30928 * string/test-memccpy-ifunc.c: Likewise.
30929 * string/test-memchr-ifunc.c: Likewise.
30930 * string/test-memcmp-ifunc.c: Likewise.
30931 * string/test-memcpy-ifunc.c: Likewise.
30932 * string/test-memmem-ifunc.c: Likewise.
30933 * string/test-memmove-ifunc.c: Likewise.
30934 * string/test-mempcpy-ifunc.c: Likewise.
30935 * string/test-memrchr-ifunc.c: Likewise.
30936 * string/test-memset-ifunc.c: Likewise.
30937 * string/test-rawmemchr-ifunc.c: Likewise.
30938 * string/test-stpcpy-ifunc.c: Likewise.
30939 * string/test-stpncpy-ifunc.c: Likewise.
30940 * string/test-strcasecmp-ifunc.c: Likewise.
30941 * string/test-strcasestr-ifunc.c: Likewise.
30942 * string/test-strcat-ifunc.c: Likewise.
30943 * string/test-strchr-ifunc.c: Likewise.
30944 * string/test-strchrnul-ifunc.c: Likewise.
30945 * string/test-strcmp-ifunc.c: Likewise.
30946 * string/test-strcpy-ifunc.c: Likewise.
30947 * string/test-strcspn-ifunc.c: Likewise.
30948 * string/test-strlen-ifunc.c: Likewise.
30949 * string/test-strncasecmp-ifunc.c: Likewise.
30950 * string/test-strncat-ifunc.c: Likewise.
30951 * string/test-strncmp-ifunc.c: Likewise.
30952 * string/test-strncpy-ifunc.c: Likewise.
30953 * string/test-strnlen-ifunc.c: Likewise.
30954 * string/test-strpbrk-ifunc.c: Likewise.
30955 * string/test-strrchr-ifunc.c: Likewise.
30956 * string/test-strspn-ifunc.c: Likewise.
30957 * string/test-strstr-ifunc.c: Likewise.
30958
30959 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
30960
30961 * benchtests/Makefile: Remove ifunc tests.
30962 * benchtests/bench-string.h: Define TEST_IFUNC.
30963 * benchtests/bench-bcopy-ifunc.c: Remove.
30964 * benchtests/bench-bzero-ifunc.c: Likewise.
30965 * benchtests/bench-memccpy-ifunc.c: Likewise.
30966 * benchtests/bench-memchr-ifunc.c: Likewise.
30967 * benchtests/bench-memcmp-ifunc.c: Likewise.
30968 * benchtests/bench-memcpy-ifunc.c: Likewise.
30969 * benchtests/bench-memmem-ifunc.c: Likewise.
30970 * benchtests/bench-memmove-ifunc.c: Likewise.
30971 * benchtests/bench-mempcpy-ifunc.c: Likewise.
30972 * benchtests/bench-memrchr-ifunc.c: Likewise.
30973 * benchtests/bench-memset-ifunc.c: Likewise.
30974 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
30975 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
30976 * benchtests/bench-stpcpy-ifunc.c: Likewise.
30977 * benchtests/bench-stpncpy-ifunc.c: Likewise.
30978 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
30979 * benchtests/bench-strcasestr-ifunc.c: Likewise.
30980 * benchtests/bench-strcat-ifunc.c: Likewise.
30981 * benchtests/bench-strchr-ifunc.c: Likewise.
30982 * benchtests/bench-strchrnul-ifunc.c: Likewise.
30983 * benchtests/bench-strcmp-ifunc.c: Likewise.
30984 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
30985 * benchtests/bench-strcpy-ifunc.c: Likewise.
30986 * benchtests/bench-strcspn-ifunc.c: Likewise.
30987 * benchtests/bench-strlen-ifunc.c: Likewise.
30988 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
30989 * benchtests/bench-strncat-ifunc.c: Likewise.
30990 * benchtests/bench-strncmp-ifunc.c: Likewise.
30991 * benchtests/bench-strncpy-ifunc.c: Likewise.
30992 * benchtests/bench-strnlen-ifunc.c: Likewise.
30993 * benchtests/bench-strpbrk-ifunc.c: Likewise.
30994 * benchtests/bench-strrchr-ifunc.c: Likewise.
30995 * benchtests/bench-strsep-ifunc.c: Likewise.
30996 * benchtests/bench-strspn-ifunc.c: Likewise.
30997 * benchtests/bench-strstr-ifunc.c: Likewise.
30998
30999 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
31000
31001 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
31002
31003 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
31004
31005 * resolv/netdb.h: Use __glibc_reserved instead __unused.
31006 * rt/aio.h: Likewise.
31007 * sysdeps/gnu/bits/utmp.h: Likewise.
31008 * sysdeps/gnu/bits/utmpx.h: Likewise.
31009 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
31010 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
31011 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
31012 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
31013 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
31014 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
31015 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
31016 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
31017 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
31018 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
31019 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
31020 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
31021 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
31022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
31023 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
31024 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
31025 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
31026 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
31027 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
31028 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
31029 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
31030 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
31031 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
31032 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
31033 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
31034 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31035 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
31036 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
31037 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
31038 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
31039 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
31040 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
31041 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
31042 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
31043 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
31044 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
31045 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
31046 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
31047 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
31048 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
31049 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
31050 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
31051
31052 2013-11-25 Carlos O'Donell <carlos@redhat.com>
31053
31054 [BZ #16245]
31055 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
31056 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
31057
31058 2013-11-25 Joseph Myers <joseph@codesourcery.com>
31059
31060 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
31061 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
31062 Likewise.
31063
31064 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31065
31066 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
31067 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
31068 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
31069 (__fesetround): Remove define.
31070 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
31071 rounding and exceptions handling.
31072 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
31073 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
31074 (__fe_nomask_env): Likewise.
31075 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
31076 __fegetround instead of fegetround.
31077 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
31078 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
31079
31080 2013-11-21 Roland McGrath <roland@hack.frob.com>
31081
31082 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
31083 it's there.
31084
31085 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
31086
31087 2013-11-21 Meador Inge <meadori@codesourcery.com>
31088
31089 [BZ #11157]
31090 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
31091 (encrypt_r): Likewise.
31092 * malloc/obstack.h (obstack_free): Likewise.
31093 * posix/unistd.h (encrypt): Likewise.
31094
31095 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
31096
31097 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
31098 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
31099 DL_CALL_DT_FINI() that call the functions directly.
31100 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
31101 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
31102 * elf/dl-fini.c: Likewise.
31103
31104 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
31105
31106 * malloc/hooks.c (memalign_check): Add alignment rounding.
31107 * malloc/malloc.c (_mid_memalign): New function.
31108 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
31109 Implement by calling _mid_memalign.
31110 * manual/probes.texi (Memory Allocation Probes): Remove
31111 memory_valloc_retry and memory_pvalloc_retry.
31112
31113 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
31114
31115 * locale/programs/locarchive.c (open_archive): Add const
31116 qualifier to ARCHIVEFNAME and copy default fname to
31117 DEFAULT_FNAME.
31118
31119 [BZ #15601]
31120 * libio/tst-widetext.input: Rename Oriya to Odia.
31121 * locale/iso-639.def: Likewise.
31122
31123 * manual/probes.texi (Mathematical Function Probes): Add
31124 documentation for sin, cos, asin and acos probes.
31125 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
31126 (__sin32): Add slowasin probe.
31127 (__cos32): Add slowacos probe.
31128 (__mpsin): Add slowsin probe.
31129 (__mpcos): Add slowcos probe.
31130
31131 2013-11-19 Joseph Myers <joseph@codesourcery.com>
31132
31133 [BZ #15483]
31134 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
31135 thread-local __sim_exceptions_thread and global
31136 __sim_exceptions_global.
31137 (__sim_disabled_exceptions): Change to thread-local
31138 __sim_disabled_exceptions_thread and global
31139 __sim_disabled_exceptions_global.
31140 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
31141 and global __sim_round_mode_global.
31142 (__simulate_exceptions): Use thread-local floating-point state and
31143 set global state from it as needed.
31144 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
31145 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
31146 __sim_round_mode_thread.
31147 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
31148 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
31149 and global __sim_exceptions_global.
31150 (__sim_disabled_exceptions): Change to thread-local
31151 __sim_disabled_exceptions_thread and global
31152 __sim_disabled_exceptions_global.
31153 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
31154 and global __sim_round_mode_global.
31155 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
31156 (SIM_SET_GLOBAL): Likewise.
31157 * sysdeps/powerpc/soft-fp/sfp-machine.h
31158 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
31159 __sim_round_mode_thread.
31160 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
31161 __sim_disabled_exceptions_thread.
31162 (__sim_exceptions): Change to __sim_exceptions_thread.
31163 (__sim_disabled_exceptions): Change to
31164 __sim_disabled_exceptions_thread.
31165 (__sim_round_mode): Change to __sim_round_mode_thread.
31166 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
31167 thread-local floating-point state and set global state from it as
31168 needed.
31169 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
31170 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
31171 (__sim_disabled_exceptions): Remove extern declaration.
31172 (feenableexcept): Use thread-local floating-point state and set
31173 global state from it as needed.
31174 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
31175 extern declaration.
31176 (__sim_disabled_exceptions): Likewise.
31177 (__sim_round_mode): Likewise.
31178 (__fegetenv): Use thread-local floating-point state.
31179 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
31180 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
31181 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
31182 floating-point state and set global state from it as needed.
31183 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
31184 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
31185 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
31186 Likewise.
31187 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
31188 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
31189 Likewise.
31190 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
31191 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
31192 Use __sim_round_mode_thread.
31193 * math/test-fenv-tls.c: New file.
31194 * math/Makefile (tests): Add test-fenv-tls.
31195 ($(objpfx)test-fenv-tls): Depend on
31196 $(common-objpfx)nptl/libpthread.so.
31197
31198 2013-11-19 Andreas Schwab <schwab@suse.de>
31199
31200 * locale/programs/locale.c (show_info): Decode wordarray elements.
31201 * locale/categories.def (LC_MONETARY): Add element for
31202 _NL_MONETARY_CRNCYSTR.
31203 * locale/C-monetary.c (conversion_rate): New variable.
31204 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
31205 element.
31206
31207 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
31208
31209 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
31210 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
31211
31212 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
31213
31214 * elf/Makefile (tst-auxv): New test.
31215 * elf/tst-auxv.c: New
31216 * elf/rtld.c (dl_main): Adjust AT_EXECFN
31217
31218 2013-11-18 Joseph Myers <joseph@codesourcery.com>
31219
31220 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
31221 (hidden_proto): Caller changed.
31222 (hidden_tls_proto): New macro.
31223 (libc_hidden_tls_proto): Likewise.
31224 (rtld_hidden_tls_proto): Likewise.
31225 (libm_hidden_tls_proto): Likewise.
31226 (libresolv_hidden_tls_proto): Likewise.
31227 (librt_hidden_tls_proto): Likewise.
31228 (libdl_hidden_tls_proto): Likewise.
31229 (libnss_files_hidden_tls_proto): Likewise.
31230 (libnsl_hidden_tls_proto): Likewise.
31231 (libnss_nisplus_hidden_tls_proto): Likewise.
31232 (libutil_hidden_tls_proto): Likewise.
31233
31234 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
31235
31236 [BZ #10253]
31237 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
31238 (decompose_rpath): Defer expansion to fillin_rpath.
31239 (_dl_init_paths): Pass linkmap to fillin_rpath.
31240
31241 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
31242
31243 * benchtests/Makefile: Add strsep.
31244 * benchtests/bench-strsep.c: New file: strsep benchtest.
31245 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
31246
31247 2013-11-18 Andreas Schwab <schwab@suse.de>
31248
31249 * locale/programs/locale.c (show_info) [case byte]: Check for
31250 '\377' instead of '\177'.
31251 * locale/C-monetary.c (not_available): Always use "\377".
31252 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
31253 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
31254 detect unavailable sign_posn locale elements.
31255 * locale/localeconv.c (__localeconv): For grouping and
31256 mon_grouping handle "\177" and "\377" like no grouping.
31257 (INT_ELEM): New macro. Use it to set all numeric members.
31258 * locale/programs/ld-monetary.c (monetary_read)
31259 <tok_mon_grouping>: Normalize single -1 to the empty string.
31260 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
31261 Likewise.
31262
31263 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
31264
31265 [BZ #16055]
31266 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
31267 when we match (nil).
31268 * stdio-common/tst-sscanf.c (struct test): Add testcase.
31269
31270 2013-11-16 Joseph Myers <joseph@codesourcery.com>
31271
31272 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
31273 (NO_TEST_INLINE): Update value.
31274 (ERRNO_UNCHANGED): Likewise.
31275 (ERRNO_EDOM): Likewise.
31276 (ERRNO_ERANGE): Likewise.
31277 (IGNORE_RESULT): Likewise.
31278 (check_float_internal): Check signs of NaN results if
31279 TEST_NAN_SIGN used.
31280 (check_complex): Pass TEST_NAN_SIGN flag through to second
31281 check_float_internal call.
31282 (copysign_test_data): Add tests with quiet NaNs as second
31283 argument. Use TEST_NAN_SIGN.
31284 (fabs_test_data): Add test of negative quiet NaN argument. Use
31285 TEST_NAN_SIGN.
31286 (signbit_test_data): Add tests of quiet NaN argument.
31287 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
31288
31289 * math/gen-libm-test.pl (show_exceptions): Take extra argument
31290 $ignore_result.
31291 (parse_args): Handle function results specified as IGNORE.
31292 * math/libm-test.inc (IGNORE_RESULT): New macro.
31293 (check_float_internal): Do not check numerical result if flag
31294 IGNORE_RESULT set.
31295 (check_complex): Pass through IGNORE_RESULT to second
31296 check_float_internal call.
31297 (check_int): Do not check numerical result if flag IGNORE_RESULT
31298 set.
31299 (check_long): Likewise.
31300 (check_bool): Likewise.
31301 (check_longlong): Likewise.
31302 (lrint_test_data): Add tests of infinite and NaN arguments.
31303 (lrint_tonearest_test_data): Likewise.
31304 (lrint_towardzero_test_data): Likewise.
31305 (lrint_downward_test_data): Likewise.
31306 (lrint_upward_test_data): Likewise.
31307 (llrint_test_data): Likewise.
31308 (llrint_tonearest_test_data): Likewise.
31309 (llrint_towardzero_test_data): Likewise.
31310 (llrint_downward_test_data): Likewise.
31311 (llrint_upward_test_data): Likewise.
31312 (lround_test_data): Likewise.
31313 (llround_test_data): Likewise.
31314
31315 * math/libm-test.inc (NO_TEST_INLINE): New macro.
31316 (ERRNO_UNCHANGED): Update value.
31317 (ERRNO_EDOM): Likewise.
31318 (ERRNO_ERANGE): Likewise.
31319 (NO_TEST_INLINE_FLOAT): New macro.
31320 (NO_TEST_INLINE_DOUBLE): Likewise.
31321 (enable_test): New function.
31322 (RUN_TEST_f_f): Check enable_test before running test.
31323 (RUN_TEST_2_f): Likewise.
31324 (RUN_TEST_fff_f): Likewise.
31325 (RUN_TEST_c_f): Likewise.
31326 (RUN_TEST_f_f1): Likewise.
31327 (RUN_TEST_fF_f1): Likewise.
31328 (RUN_TEST_fI_f1): Likewise.
31329 (RUN_TEST_ffI_f1): Likewise.
31330 (RUN_TEST_c_c): Likewise.
31331 (RUN_TEST_cc_c): Likewise.
31332 (RUN_TEST_f_i): Likewise.
31333 (RUN_TEST_f_i_tg): Likewise.
31334 (RUN_TEST_ff_i_tg): Likewise.
31335 (RUN_TEST_f_b): Likewise.
31336 (RUN_TEST_f_b_tg): Likewise.
31337 (RUN_TEST_f_l): Likewise.
31338 (RUN_TEST_f_L): Likewise.
31339 (RUN_TEST_fFF_11): Likewise.
31340 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
31341 conditionals.
31342 (cosh_test_data): Likewise.
31343 (exp_test_data): Likewise.
31344 (expm1_test_data): Likewise.
31345 (hypot_test_data): Likewise.
31346 (pow_test_data): Likewise.
31347 (sinh_test_data): Likewise.
31348 (tanh_test_data): Likewise.
31349 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
31350 flags argument.
31351
31352 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
31353 tests with quiet NaN input and output.
31354 (acosh_test_data): Likewise.
31355 (asin_test_data): Likewise.
31356 (asinh_test_data): Likewise.
31357 (atan_test_data): Likewise.
31358 (atanh_test_data): Likewise.
31359 (atan2_test_data): Likewise.
31360 (cbrt_test_data): Likewise.
31361 (cos_test_data): Likewise.
31362 (cosh_test_data): Likewise.
31363 (erf_test_data): Likewise.
31364 (erfc_test_data): Likewise.
31365 (exp_test_data): Likewise.
31366 (exp10_test_data): Likewise.
31367 (exp2_test_data): Likewise.
31368 (expm1_test_data): Likewise.
31369 (hypot_test_data): Likewise.
31370 (j0_test_data): Likewise.
31371 (j1_test_data): Likewise.
31372 (jn_test_data): Likewise.
31373 (lgamma_test_data): Likewise.
31374 (log_test_data): Likewise.
31375 (log10_test_data): Likewise.
31376 (log1p_test_data): Likewise.
31377 (log2_test_data): Likewise.
31378 (pow_test_data): Likewise.
31379 (scalb_test_data): Likewise.
31380 (sin_test_data): Likewise.
31381 (sincos_test_data): Likewise.
31382 (sinh_test_data): Likewise.
31383 (tan_test_data): Likewise.
31384 (tanh_test_data): Likewise.
31385 (tgamma_test_data): Likewise.
31386 (y0_test_data): Likewise.
31387 (y1_test_data): Likewise.
31388 (yn_test_data): Likewise.
31389
31390 [BZ #16167]
31391 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
31392 argument being NaN and avoid computations with second argument in
31393 that case.
31394 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
31395 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
31396 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
31397
31398 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
31399
31400 * locale/iso-639.def: Add Chitwani Tharu (the).
31401
31402 2013-11-14 Andreas Schwab <schwab@suse.de>
31403
31404 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
31405 word instead of empty string.
31406
31407 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31408
31409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
31410 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
31411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
31412 (__fe_nomask_env): Likewise.
31413
31414 2013-11-13 Steve Ellcey <sellcey@mips.com>
31415
31416 * benchtests/bench-timing.h: Include time.h.
31417
31418 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
31419
31420 [BZ #15997]
31421 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
31422 to 3.4.0 for x32.
31423 * sysdeps/unix/sysv/linux/configure: Regenerated.
31424
31425 2013-11-13 Joseph Myers <joseph@codesourcery.com>
31426
31427 [BZ #16151]
31428 * stdlib/strtod_l.c (round_and_return): Do not consider
31429 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
31430 exponent one less than half the least subnormal exponent.
31431 * stdlib/test-strtod-round-data: Add more tests.
31432 * stdlib/tst-strtod-round.c (tests): Regenerated.
31433
31434 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31435
31436 [BZ #14143]
31437 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
31438 (__fe_mask_env): Likewise.
31439 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
31440 libm_hidden_proto and add function prototype.
31441 (__fe_mask_env): Add function prototype.
31442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
31443 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
31444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
31445 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
31446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
31447 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
31448
31449 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31450
31451 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
31452 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
31453
31454 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31455
31456 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
31457 of htab_find_slot().
31458
31459 2013-11-11 David S. Miller <davem@davemloft.net>
31460
31461 [BZ #16150]
31462 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
31463 symbol in the non-vis3 case in static builds.
31464 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
31465 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
31466 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
31467 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
31468
31469 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
31470
31471 [BZ #387]
31472 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
31473 it is empty.
31474
31475 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31476
31477 * benchtests/Makefile: Add bench-strtod.
31478 * benchtests/bench-strtod.c: New file: strtod benchtest
31479
31480 2013-11-11 Andreas Schwab <schwab@suse.de>
31481
31482 [BZ #16153]
31483 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
31484 terminating NUL in key length.
31485
31486 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31487
31488 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
31489 Add artificial ODP entry for vDSO symbol for PPC64.
31490 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
31491 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
31492
31493 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
31494
31495 [BZ #15374]
31496 * nss/getent.c (services_keys): Recognize services starting with digit.
31497
31498 2013-11-06 David S. Miller <davem@davemloft.net>
31499
31500 [BZ #15985]
31501 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
31502 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
31503
31504 2013-11-06 Will Newton <will.newton@linaro.org>
31505
31506 * manual/memory.texi (Malloc Examples): Remove register
31507 keyword from examples.
31508
31509 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
31510
31511 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
31512
31513 2013-11-04 Joseph Myers <joseph@codesourcery.com>
31514
31515 [BZ #6981]
31516 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
31517 depending on [__GCC_IEC_559 > 0].
31518 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
31519 depending on [__GCC_IEC_559_COMPLEX > 0].
31520
31521 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
31522
31523 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
31524 to iso-639.def.
31525
31526 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
31527
31528 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
31529
31530 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
31531
31532 [BZ #16112]
31533 * malloc/malloc (malloc_info): Do not handle first bin as
31534 special case.
31535
31536 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
31537
31538 * locale/iso-639.def: Add Central Nahuatl (nhn).
31539
31540 2013-11-01 Bruno Haible <bruno@clisp.org>
31541
31542 [BZ #7003]
31543 * manual/math.texi (BSD Random): Specify range upper bound as
31544 in POSIX.
31545
31546 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
31547
31548 * locale/iso-639.def: Add Meadow Mari (mhr).
31549
31550 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
31551
31552 [BZ #14752], [BZ #15763]
31553 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
31554 Validate name.
31555 * rt/tst_shm.c: Add test for escaping directory.
31556
31557 2013-10-31 Andreas Schwab <schwab@suse.de>
31558
31559 [BZ #15917]
31560 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
31561 followed by 'x' as part of digit sequence.
31562 * stdio-common/tst-sscanf.c (double_tests2): New tests.
31563
31564 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
31565
31566 [BZ #16037]
31567 * configure.ac: allow GNU Make 4.0 and greater.
31568 * configure: Regenerated.
31569
31570 2013-10-30 Will Newton <will.newton@linaro.org>
31571
31572 [BZ #16038]
31573 * malloc/hooks.c (memalign_check): Limit alignment to the
31574 maximum representable power of two.
31575 * malloc/malloc.c (__libc_memalign): Likewise.
31576 * malloc/tst-memalign.c (do_test): Add test for very
31577 large alignment values.
31578 * malloc/tst-posix_memalign.c (do_test): Likewise.
31579
31580 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
31581
31582 [BZ #11087]
31583 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
31584 (munmap_chunk): Likewise.
31585 (mremap_chunk): Likewise.
31586
31587 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
31588
31589 [BZ #15799]
31590 * stdlib/div.c (div): Remove obsolete code.
31591 * stdlib/ldiv.c (ldiv): Likewise.
31592 * stdlib/lldiv.c (lldiv): Likewise.
31593
31594 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
31595
31596 [BZ #16071]
31597 * nss/nss_files/files-XXX.c (get_contents_ret): New
31598 enumerator.
31599 (get_contents): New function.
31600 (internal_getent): Use it. Expand size of LINEBUFLEN.
31601
31602 2013-10-30 Mike Frysinger <vapier@gentoo.org>
31603
31604 * configure.in: Moved to ...
31605 * configure.ac: ... here. Change reference to configure.in
31606 to configure.ac.
31607 * sysdeps/arm/preconfigure.ac: ... here.
31608 configure.in to configure.ac.
31609 * sysdeps/gnu/configure.in: Moved to ...
31610 * sysdeps/gnu/configure.ac: ... here.
31611 * sysdeps/i386/configure.in: Moved to ...
31612 * sysdeps/i386/configure.ac: ... here.
31613 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
31614 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
31615 * sysdeps/mach/configure.in: Moved to ...
31616 * sysdeps/mach/configure.ac: ... here.
31617 * sysdeps/mach/hurd/configure.in: Moved to ...
31618 * sysdeps/mach/hurd/configure.ac: ... here.
31619 * sysdeps/powerpc/configure.in: Moved to ...
31620 * sysdeps/powerpc/configure.ac: ... here.
31621 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
31622 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
31623 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
31624 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
31625 * sysdeps/s390/s390-32/configure.in: Moved to ...
31626 * sysdeps/s390/s390-32/configure.ac: ... here.
31627 * sysdeps/s390/s390-64/configure.in: Moved to ...
31628 * sysdeps/s390/s390-64/configure.ac: ... here.
31629 * sysdeps/sh/configure.in: Moved to ...
31630 * sysdeps/sh/configure.ac: ... here.
31631 * sysdeps/sparc/configure.in: Moved to ...
31632 * sysdeps/sparc/configure.ac: ... here.
31633 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
31634 * sysdeps/unix/sysv/linux/configure.ac: ... here.
31635 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
31636 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
31637 * sysdeps/x86_64/configure.in: Moved to ...
31638 * sysdeps/x86_64/configure.ac: ... here.
31639 * sysdeps/x86_64/preconfigure.in: Moved to ...
31640 * sysdeps/x86_64/preconfigure.ac: ... here.
31641 * aclocal.m4: Change reference to configure.in to configure.ac.
31642 * config.h.in: Likewise.
31643 * manual/install.texi: Likewise.
31644 * manual/maint.texi: Likewise.
31645 * Makefile: Likewise.
31646 * malloc/Makefile: Likewise.
31647 * nscd/Makefile: Likewise.
31648 * Makeconfig: Change reference to configure.in and
31649 preconfigure.in to configure.ac and preconfigure.ac
31650 respectively.
31651 * INSTALL: Regenerated.
31652 * configure: Likewise.
31653 * sysdeps/gnu/configure: Likewise.
31654 * sysdeps/i386/configure: Likewise.
31655 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
31656 * sysdeps/mach/configure: Likewise.
31657 * sysdeps/mach/hurd/configure: Likewise.
31658 * sysdeps/powerpc/configure: Likewise.
31659 * sysdeps/powerpc/powerpc32/configure: Likewise.
31660 * sysdeps/powerpc/powerpc64/configure: Likewise.
31661 * sysdeps/s390/s390-32/configure: Likewise.
31662 * sysdeps/s390/s390-64/configure: Likewise.
31663 * sysdeps/sh/configure: Likewise.
31664 * sysdeps/sparc/configure: Likewise.
31665 * sysdeps/unix/sysv/linux/configure: Likewise.
31666 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
31667 * sysdeps/x86_64/configure: Likewise.
31668 * sysdeps/x86_64/preconfigure: Likewise.
31669
31670 2013-10-29 Andreas Schwab <schwab@suse.de>
31671
31672 * stdio-common/Makefile (tst-swscanf-ENV): Define.
31673
31674 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31675
31676 * benchtests/pow-inputs: Add new inputs.
31677
31678 * benchtests/exp-inputs: Add new inputs.
31679
31680 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
31681 conditional check for return value.
31682 (__cos32): Likewise.
31683
31684 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31685
31686 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
31687 to provide a boost for large inputs with word alignment.
31688 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
31689 implementation based on optimized PPC64 strcpy.
31690 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
31691 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
31692 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
31693 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
31694
31695 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
31696
31697 [BZ #2801]
31698 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
31699
31700 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
31701
31702 [BZ #14876]
31703 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
31704 * time/tst-strptime.c (day_tests): Add testcase.
31705
31706 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
31707
31708 [BZ #14029]
31709 * manual/pattern.texi: Acknowledge that fnmatch can fail.
31710
31711 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
31712
31713 [BZ #16074]
31714 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
31715 MAP_FAILED on error.
31716
31717 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31718
31719 [BZ #16072]
31720 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
31721 heap for large requests.
31722
31723 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
31724
31725 [BZ #9954]
31726 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
31727 result if the result has no associated interface.
31728 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
31729 interface for all 127.X.Y.Z addresses.
31730
31731 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
31732
31733 * locale/iso-639.def: Add Ligurian (lij)
31734
31735 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
31736
31737 [BZ #15825]
31738 * sunrpc/rpc_main.c: Document rpcgen -5.
31739
31740 2013-10-19 Michael Stahl <mstahl@redhat.com>
31741
31742 * elf/rtld.c (do_preload): Print the reason why preloading failed.
31743
31744 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
31745
31746 [BZ #10278]
31747 * posix/glob.c: Match only directories when trailing slash is present.
31748 * posix/tst-gnuglob.c (my_opendir): Do not open files.
31749 (main): Add testcase.
31750
31751 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
31752
31753 [BZ #15670]
31754 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
31755
31756 2013-10-18 Carlos O'Donell <carlos@redhat.com>
31757
31758 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
31759 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
31760 AUTH_DES and cindex for FIPS 140-2.
31761 (DES Encryption): Add cindex FIPS 46-3.
31762
31763 * locale/locarchive.h (struct locarhandle): Add fname.
31764 * locale/programs/localedef.c (main): Pass ARGV[remaining]
31765 if an optional argument was specified to --list-archive,
31766 otherwise NULL.
31767 * locale/programs/locarchive.c (show_archive_content): Take new
31768 argument fname and pass it via ah.fname to open_archive.
31769 * locale/programs/localedef.h: Update decl.
31770 (open_archive): If AH->fname is non-null, open that file
31771 rather than the default file name, and don't ignore ENOENT.
31772 (create_archive): Set AH.fname to NULL.
31773 (delete_locales_from_archive): Likewise.
31774 (add_locales_to_archive): Likewise.
31775 * locale/programs/locfile.c (write_all_categories): Likewise.
31776
31777 2013-10-18 Joseph Myers <joseph@codesourcery.com>
31778 Aldy Hernandez <aldyh@redhat.com>
31779
31780 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
31781 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
31782 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
31783 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
31784 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
31785 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
31786 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
31787 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
31788 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
31789 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
31790 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
31791 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
31792 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
31793 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
31794 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
31795 Likewise.
31796 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
31797 Likewise.
31798 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
31799 Likewise.
31800 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
31801 Likewise.
31802 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
31803 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
31804 Likewise.
31805 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
31806 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
31807 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
31808 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
31809 Likewise.
31810 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
31811 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
31812 * sysdeps/powerpc/preconfigure: Likewise.
31813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
31814 Likewise.
31815 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
31816 Replace contents of file by #include of <fenv_libc.h>.
31817 * sysdeps/powerpc/soft-fp/sfp-machine.h
31818 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
31819 and <sys/prctl.h>.
31820 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
31821 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
31822 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
31823 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
31824 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
31825 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
31826 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
31827 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
31828 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
31829 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
31830 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
31831 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
31832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
31833 Allow copysignl PLT reference to be missing.
31834
31835 2013-10-18 Richard Sandiford <richard@codesourcery.com>
31836 Joseph Myers <joseph@codesourcery.com
31837
31838 [BZ #15948]
31839 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
31840 single character.
31841 (add_to_tablewc): Assert sequence of wide characters is nonempty.
31842
31843 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
31844
31845 * elf/tst-tls-dlinfo.c: Don't include tls.h.
31846 * elf/tst-tls1.c: Likewise.
31847 * elf/tst-tls10.h: Likewise.
31848 * elf/tst-tls14.c: Likewise.
31849 * elf/tst-tls2.c: Likewise.
31850 * elf/tst-tls3.c: Likewise.
31851 * elf/tst-tls4.c: Likewise.
31852 * elf/tst-tls5.c: Likewise.
31853 * elf/tst-tls6.c: Likewise.
31854 * elf/tst-tls7.c: Likewise.
31855 * elf/tst-tls8.c: Likewise.
31856 * elf/tst-tls9.c: Likewise.
31857 * elf/tst-tlsmod1.c: Likewise.
31858 * elf/tst-tlsmod13.c: Likewise.
31859 * elf/tst-tlsmod13a.c: Likewise.
31860 * elf/tst-tlsmod14a.c: Likewise.
31861 * elf/tst-tlsmod16a.c: Likewise.
31862 * elf/tst-tlsmod16b.c: Likewise.
31863 * elf/tst-tlsmod2.c: Likewise.
31864 * elf/tst-tlsmod3.c: Likewise.
31865 * elf/tst-tlsmod4.c: Likewise.
31866 * elf/tst-tlsmod5.c: Likewise.
31867 * elf/tst-tlsmod6.c: Likewise.
31868
31869 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
31870
31871 [BZ #12486]
31872 * malloc/malloc.c: remove checks for statistics.
31873
31874 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
31875
31876 [BZ #15277]
31877 * inet/inet_net.c (inet_network): Detect additional invalid strings.
31878 * inet/tst-network.c: Add testcase.
31879
31880 2013-10-17 Andreas Schwab <schwab@suse.de>
31881
31882 [BZ #15218]
31883 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
31884 to determine canonical name.
31885
31886 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
31887
31888 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
31889 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
31890 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31891 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
31892 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31893 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
31894 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
31895 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
31896 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
31897 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
31898 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
31899 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
31900 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
31901 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
31902 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
31903 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
31904 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31905 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
31906 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
31907 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
31908 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
31909 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31910 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
31911 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
31912 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
31913 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
31914 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
31915 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
31916 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
31917 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
31918 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
31919 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31920 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
31921 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
31922 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
31923 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
31924 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
31925 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
31926 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
31927 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31928 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
31929 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
31930 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
31931 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
31932 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
31933 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
31934 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
31935 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
31936 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
31937 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
31938 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
31939 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
31940 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
31941 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
31942 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
31943 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
31944 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31945 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
31946
31947 2013-10-17 Joseph Myers <joseph@codesourcery.com>
31948
31949 [BZ #16041]
31950 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
31951 make result into a quiet NaN.
31952
31953 2013-10-16 Joseph Myers <joseph@codesourcery.com>
31954
31955 * soft-fp/adddf3.c: Fix horizontal whitespace.
31956 * soft-fp/addsf3.c: Likewise.
31957 * soft-fp/addtf3.c: Likewise.
31958 * soft-fp/divdf3.c: Likewise.
31959 * soft-fp/divsf3.c: Likewise.
31960 * soft-fp/divtf3.c: Likewise.
31961 * soft-fp/double.h: Likewise.
31962 * soft-fp/eqdf2.c: Likewise.
31963 * soft-fp/eqsf2.c: Likewise.
31964 * soft-fp/eqtf2.c: Likewise.
31965 * soft-fp/extenddftf2.c: Likewise.
31966 * soft-fp/extended.h: Likewise.
31967 * soft-fp/extendsfdf2.c: Likewise.
31968 * soft-fp/extendsftf2.c: Likewise.
31969 * soft-fp/extendxftf2.c: Likewise.
31970 * soft-fp/fixdfdi.c: Likewise.
31971 * soft-fp/fixdfsi.c: Likewise.
31972 * soft-fp/fixdfti.c: Likewise.
31973 * soft-fp/fixsfdi.c: Likewise.
31974 * soft-fp/fixsfsi.c: Likewise.
31975 * soft-fp/fixsfti.c: Likewise.
31976 * soft-fp/fixtfdi.c: Likewise.
31977 * soft-fp/fixtfsi.c: Likewise.
31978 * soft-fp/fixtfti.c: Likewise.
31979 * soft-fp/fixunsdfdi.c: Likewise.
31980 * soft-fp/fixunsdfsi.c: Likewise.
31981 * soft-fp/fixunsdfti.c: Likewise.
31982 * soft-fp/fixunssfdi.c: Likewise.
31983 * soft-fp/fixunssfsi.c: Likewise.
31984 * soft-fp/fixunssfti.c: Likewise.
31985 * soft-fp/fixunstfdi.c: Likewise.
31986 * soft-fp/fixunstfsi.c: Likewise.
31987 * soft-fp/fixunstfti.c: Likewise.
31988 * soft-fp/floatdidf.c: Likewise.
31989 * soft-fp/floatdisf.c: Likewise.
31990 * soft-fp/floatditf.c: Likewise.
31991 * soft-fp/floatsidf.c: Likewise.
31992 * soft-fp/floatsisf.c: Likewise.
31993 * soft-fp/floatsitf.c: Likewise.
31994 * soft-fp/floattidf.c: Likewise.
31995 * soft-fp/floattisf.c: Likewise.
31996 * soft-fp/floattitf.c: Likewise.
31997 * soft-fp/floatundidf.c: Likewise.
31998 * soft-fp/floatundisf.c: Likewise.
31999 * soft-fp/floatunditf.c: Likewise.
32000 * soft-fp/floatunsidf.c: Likewise.
32001 * soft-fp/floatunsisf.c: Likewise.
32002 * soft-fp/floatunsitf.c: Likewise.
32003 * soft-fp/floatuntidf.c: Likewise.
32004 * soft-fp/floatuntisf.c: Likewise.
32005 * soft-fp/floatuntitf.c: Likewise.
32006 * soft-fp/fmadf4.c: Likewise.
32007 * soft-fp/fmasf4.c: Likewise.
32008 * soft-fp/fmatf4.c: Likewise.
32009 * soft-fp/gedf2.c: Likewise.
32010 * soft-fp/gesf2.c: Likewise.
32011 * soft-fp/getf2.c: Likewise.
32012 * soft-fp/ledf2.c: Likewise.
32013 * soft-fp/lesf2.c: Likewise.
32014 * soft-fp/letf2.c: Likewise.
32015 * soft-fp/muldf3.c: Likewise.
32016 * soft-fp/mulsf3.c: Likewise.
32017 * soft-fp/multf3.c: Likewise.
32018 * soft-fp/negdf2.c: Likewise.
32019 * soft-fp/negsf2.c: Likewise.
32020 * soft-fp/negtf2.c: Likewise.
32021 * soft-fp/op-1.h: Likewise.
32022 * soft-fp/op-2.h: Likewise.
32023 * soft-fp/op-4.h: Likewise.
32024 * soft-fp/op-8.h: Likewise.
32025 * soft-fp/op-common.h: Likewise.
32026 * soft-fp/quad.h: Likewise.
32027 * soft-fp/single.h: Likewise.
32028 * soft-fp/soft-fp.h: Likewise.
32029 * soft-fp/sqrtdf2.c: Likewise.
32030 * soft-fp/sqrtsf2.c: Likewise.
32031 * soft-fp/sqrttf2.c: Likewise.
32032 * soft-fp/subdf3.c: Likewise.
32033 * soft-fp/subsf3.c: Likewise.
32034 * soft-fp/subtf3.c: Likewise.
32035 * soft-fp/truncdfsf2.c: Likewise.
32036 * soft-fp/trunctfdf2.c: Likewise.
32037 * soft-fp/trunctfsf2.c: Likewise.
32038 * soft-fp/trunctfxf2.c: Likewise.
32039 * soft-fp/unorddf2.c: Likewise.
32040 * soft-fp/unordsf2.c: Likewise.
32041 * soft-fp/unordtf2.c: Likewise.
32042
32043 2013-10-15 Joseph Myers <joseph@codesourcery.com>
32044
32045 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
32046 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
32047
32048 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
32049
32050 * elf/dl-libc.c: Clear initfini list after freeing.
32051
32052 2013-10-14 Joseph Myers <joseph@codesourcery.com>
32053
32054 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
32055 * soft-fp/addsf3.c: Likewise.
32056 * soft-fp/addtf3.c: Likewise.
32057 * soft-fp/divdf3.c: Likewise.
32058 * soft-fp/divsf3.c: Likewise.
32059 * soft-fp/divtf3.c: Likewise.
32060 * soft-fp/double.h: Likewise.
32061 * soft-fp/eqdf2.c: Likewise.
32062 * soft-fp/eqsf2.c: Likewise.
32063 * soft-fp/eqtf2.c: Likewise.
32064 * soft-fp/extenddftf2.c: Likewise.
32065 * soft-fp/extended.h: Likewise.
32066 * soft-fp/extendsfdf2.c: Likewise.
32067 * soft-fp/extendsftf2.c: Likewise.
32068 * soft-fp/extendxftf2.c: Likewise.
32069 * soft-fp/fixdfdi.c: Likewise.
32070 * soft-fp/fixdfsi.c: Likewise.
32071 * soft-fp/fixdfti.c: Likewise.
32072 * soft-fp/fixsfdi.c: Likewise.
32073 * soft-fp/fixsfsi.c: Likewise.
32074 * soft-fp/fixsfti.c: Likewise.
32075 * soft-fp/fixtfdi.c: Likewise.
32076 * soft-fp/fixtfsi.c: Likewise.
32077 * soft-fp/fixtfti.c: Likewise.
32078 * soft-fp/fixunsdfdi.c: Likewise.
32079 * soft-fp/fixunsdfsi.c: Likewise.
32080 * soft-fp/fixunsdfti.c: Likewise.
32081 * soft-fp/fixunssfdi.c: Likewise.
32082 * soft-fp/fixunssfsi.c: Likewise.
32083 * soft-fp/fixunssfti.c: Likewise.
32084 * soft-fp/fixunstfdi.c: Likewise.
32085 * soft-fp/fixunstfsi.c: Likewise.
32086 * soft-fp/fixunstfti.c: Likewise.
32087 * soft-fp/floatdidf.c: Likewise.
32088 * soft-fp/floatdisf.c: Likewise.
32089 * soft-fp/floatditf.c: Likewise.
32090 * soft-fp/floatsidf.c: Likewise.
32091 * soft-fp/floatsisf.c: Likewise.
32092 * soft-fp/floatsitf.c: Likewise.
32093 * soft-fp/floattidf.c: Likewise.
32094 * soft-fp/floattisf.c: Likewise.
32095 * soft-fp/floattitf.c: Likewise.
32096 * soft-fp/floatundidf.c: Likewise.
32097 * soft-fp/floatundisf.c: Likewise.
32098 * soft-fp/floatunsidf.c: Likewise.
32099 * soft-fp/floatunsisf.c: Likewise.
32100 * soft-fp/floatuntidf.c: Likewise.
32101 * soft-fp/floatuntisf.c: Likewise.
32102 * soft-fp/floatuntitf.c: Likewise.
32103 * soft-fp/fmadf4.c: Likewise.
32104 * soft-fp/fmasf4.c: Likewise.
32105 * soft-fp/fmatf4.c: Likewise.
32106 * soft-fp/gedf2.c: Likewise.
32107 * soft-fp/gesf2.c: Likewise.
32108 * soft-fp/getf2.c: Likewise.
32109 * soft-fp/ledf2.c: Likewise.
32110 * soft-fp/lesf2.c: Likewise.
32111 * soft-fp/letf2.c: Likewise.
32112 * soft-fp/muldf3.c: Likewise.
32113 * soft-fp/mulsf3.c: Likewise.
32114 * soft-fp/multf3.c: Likewise.
32115 * soft-fp/negdf2.c: Likewise.
32116 * soft-fp/negsf2.c: Likewise.
32117 * soft-fp/negtf2.c: Likewise.
32118 * soft-fp/op-1.h: Likewise.
32119 * soft-fp/op-2.h: Likewise.
32120 * soft-fp/op-4.h: Likewise.
32121 * soft-fp/op-8.h: Likewise.
32122 * soft-fp/op-common.h: Likewise.
32123 * soft-fp/quad.h: Likewise.
32124 * soft-fp/single.h: Likewise.
32125 * soft-fp/soft-fp.h: Likewise.
32126 * soft-fp/sqrtdf2.c: Likewise.
32127 * soft-fp/sqrtsf2.c: Likewise.
32128 * soft-fp/sqrttf2.c: Likewise.
32129 * soft-fp/subdf3.c: Likewise.
32130 * soft-fp/subsf3.c: Likewise.
32131 * soft-fp/subtf3.c: Likewise.
32132 * soft-fp/truncdfsf2.c: Likewise.
32133 * soft-fp/trunctfdf2.c: Likewise.
32134 * soft-fp/trunctfsf2.c: Likewise.
32135 * soft-fp/trunctfxf2.c: Likewise.
32136 * soft-fp/unorddf2.c: Likewise.
32137 * soft-fp/unordsf2.c: Likewise.
32138 * soft-fp/unordtf2.c: Likewise.
32139
32140 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
32141
32142 [BZ #15672]
32143 * misc/error.c (error_tail): Fix possible buffer overflow.
32144
32145 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
32146
32147 [BZ #13028]
32148 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
32149 address.
32150
32151 2013-10-14 P. J. McDermott <pj@pehjota.net>
32152
32153 [BZ #832]
32154 * elf/ldd.bash.in (try_trace): New function. Delete previous code
32155 testing pipefail option.
32156
32157 2013-10-12 Joseph Myers <joseph@codesourcery.com>
32158
32159 * soft-fp/double.h: Indent preprocessor directives inside #if.
32160 * soft-fp/extended.h: Likewise.
32161 * soft-fp/op-2.h: Likewise.
32162 * soft-fp/op-4.h: Likewise.
32163 * soft-fp/op-common.h: Likewise.
32164 * soft-fp/quad.h: Likewise.
32165 * soft-fp/single.h: Likewise.
32166 * soft-fp/soft-fp.h: Likewise.
32167
32168 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
32169
32170 * iconv/iconv_prog.c: Fix typos.
32171 * stdio-common/psiginfo-data.h: Likewise.
32172
32173 2013-10-12 Reuben Thomas <rrt@sc3d.org>
32174
32175 [BZ #15764]
32176 * locale/setlocale.c: Fix typo.
32177
32178 2013-10-12 Joseph Myers <joseph@codesourcery.com>
32179
32180 [BZ #16036]
32181 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
32182 signaling NaN arguments.
32183 * soft-fp/unordsf2.c (__unordsf2): Likewise.
32184 * soft-fp/unordtf2.c (__unordtf2): Likewise.
32185
32186 [BZ #14910]
32187 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
32188 unordered operands.
32189 * soft-fp/gesf2.c (__gesf2): Likewise.
32190 * soft-fp/getf2.c (__getf2): Likewise.
32191 * soft-fp/ledf2.c (__ledf2): Likewise.
32192 * soft-fp/lesf2.c (__lesf2): Likewise.
32193 * soft-fp/letf2.c (__letf2): Likewise.
32194
32195 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
32196 * soft-fp/eqsf2.c (__eqsf2): Likewise.
32197 * soft-fp/eqtf2.c (__eqtf2): Likewise.
32198 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
32199 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
32200 * soft-fp/fixdfti.c (__fixdfti): Likewise.
32201 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
32202 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
32203 * soft-fp/fixsfti.c (__fixsfti): Likewise.
32204 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
32205 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
32206 * soft-fp/fixtfti.c (__fixtfti): Likewise.
32207 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
32208 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
32209 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
32210 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
32211 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
32212 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
32213 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
32214 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
32215 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
32216 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
32217 * soft-fp/floatdisf.c (__floatdisf): Likewise.
32218 * soft-fp/floatsisf.c (__floatsisf): Likewise.
32219 * soft-fp/floattidf.c (__floattidf): Likewise.
32220 * soft-fp/floattisf.c (__floattisf): Likewise.
32221 * soft-fp/floattitf.c (__floattitf): Likewise.
32222 * soft-fp/floatundidf.c (__floatundidf): Likewise.
32223 * soft-fp/floatundisf.c (__floatundisf): Likewise.
32224 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
32225 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
32226 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
32227 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
32228 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
32229 * soft-fp/gesf2.c (__gesf2): Likewise.
32230 * soft-fp/getf2.c (__getf2): Likewise.
32231 * soft-fp/ledf2.c (__ledf2): Likewise.
32232 * soft-fp/lesf2.c (__lesf2): Likewise.
32233 * soft-fp/letf2.c (__letf2): Likewise.
32234
32235 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
32236 Undefine and redefine.
32237 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
32238 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
32239 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
32240 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
32241 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
32242 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
32243 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
32244 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
32245 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
32246 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
32247 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
32248 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
32249 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
32250 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
32251 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
32252
32253 [BZ #16032]
32254 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
32255 without decrementing exponent if mantissa >= that for the
32256 denominator, not >.
32257 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
32258 denominator, not >. Decrement exponent in < case instead of
32259 incrementing in >= case.
32260 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
32261 without decrementing exponent if mantissa >= that for the
32262 denominator, not >.
32263
32264 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
32265 computing saturated result for unsigned overflow.
32266
32267 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
32268 Jeff Law <law@redhat.com>
32269
32270 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
32271 (atan2Mp): Add systemtap probe marker.
32272 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
32273 (__ieee754_log): Add systemtap probe marker.
32274 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
32275 (atanMp): Add systemtap probe marker.
32276 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
32277 (tanMp): Add systemtap probe marker.
32278 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
32279 (__slowexp): Add systemtap probe marker.
32280 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
32281 (__slowpow): Add systemtap probe marker.
32282 * manual/probes.texi: Document probes.
32283
32284 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
32285
32286 [BZ #15362]
32287 * libio/fileops.c (_IO_new_file_write): Return count of bytes
32288 written.
32289 (_IO_new_file_xsputn): Don't return EOF if nothing has been
32290 written.
32291 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
32292 written to buffer but not flushed.
32293 * libio/iofwrite_u.c: Likewise.
32294 * libio/iopadn.c: Return bytes returned even if EOF was
32295 encountered.
32296 * libio/iowpadn.c: Likewise.
32297 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
32298 if _IO_padn does not write the whole buffer.
32299 [!COMPILE_WPRINTF] (PAD): Likewise.
32300
32301 2013-10-10 David S. Miller <davem@davemloft.net>
32302
32303 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
32304 directory block.
32305
32306 2013-10-10 Joseph Myers <joseph@codesourcery.com>
32307
32308 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
32309 instead of FSF address.
32310 * soft-fp/fixdfti.c: Likewise.
32311 * soft-fp/fixsfti.c: Likewise.
32312 * soft-fp/fixtfti.c: Likewise.
32313 * soft-fp/fixunsdfti.c: Likewise.
32314 * soft-fp/fixunssfti.c: Likewise.
32315 * soft-fp/fixunstfti.c: Likewise.
32316 * soft-fp/floattidf.c: Likewise.
32317 * soft-fp/floattisf.c: Likewise.
32318 * soft-fp/floattitf.c: Likewise.
32319 * soft-fp/floatuntidf.c: Likewise.
32320 * soft-fp/floatuntisf.c: Likewise.
32321 * soft-fp/floatuntitf.c: Likewise.
32322 * soft-fp/trunctfxf2.c: Likewise.
32323
32324 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
32325 * soft-fp/fixdfti.c: Likewise.
32326 * soft-fp/fixsfti.c: Likewise.
32327 * soft-fp/fixtfti.c: Likewise.
32328 * soft-fp/fixunsdfti.c: Likewise.
32329 * soft-fp/fixunssfti.c: Likewise.
32330 * soft-fp/fixunstfti.c: Likewise.
32331 * soft-fp/floattidf.c: Likewise.
32332 * soft-fp/floattisf.c: Likewise.
32333 * soft-fp/floattitf.c: Likewise.
32334 * soft-fp/floatuntidf.c: Likewise.
32335 * soft-fp/floatuntisf.c: Likewise.
32336 * soft-fp/floatuntitf.c: Likewise.
32337 * soft-fp/trunctfxf2.c: Likewise.
32338
32339 2013-10-10 David S. Miller <davem@davemloft.net>
32340
32341 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32342
32343 2013-10-10 Joseph Myers <joseph@codsourcery.com>
32344
32345 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
32346 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
32347 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
32348 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
32349 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
32350 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
32351 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
32352
32353 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
32354 for NaNs before doing comparisons on argument.
32355 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
32356 Likewise.
32357
32358 2013-10-10 Will Newton <will.newton@linaro.org>
32359
32360 * malloc/hooks.c (memalign_check): Ensure the value of bytes
32361 passed to _int_memalign does not overflow.
32362
32363 2013-10-10 Torvald Riegel <triegel@redhat.com>
32364
32365 * scripts/bench.pl: Add include-sources directive.
32366 * benchtests/README: Update documentation.
32367
32368 2013-10-10 Joseph Myers <joseph@codesourcery.com>
32369
32370 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
32371 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
32372 instead of FP_INIT_ROUNDMODE.
32373 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
32374 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
32375
32376 [BZ #16034]
32377 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
32378 copy class of input value.
32379 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
32380 not handle exceptions.
32381 * soft-fp/negsf2.c (__negsf2): Likewise.
32382 * soft-fp/negtf2.c (__negtf2): Likewise.
32383 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
32384
32385 2013-10-09 Joseph Myers <joseph@codesourcery.com>
32386
32387 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
32388 semicolon. From Linux kernel.
32389
32390 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
32391
32392 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
32393
32394 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
32395
32396 [BZ #156]
32397 * manual/socket.texi: Added statement about buffer
32398 for gethostbyname2_r.
32399
32400 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
32401
32402 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
32403 Use .p2align directive instead, throughout.
32404 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
32405 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
32406 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
32407 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
32408 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
32409 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
32410 * sysdeps/x86_64/strchr.S: Likewise.
32411 * sysdeps/x86_64/strrchr.S: Likewise.
32412
32413 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
32414
32415 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
32416
32417 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
32418
32419 * sysdeps/generic/math_private.h (__mpsin1): Remove
32420 declaration.
32421 (__mpcos1): Likewise.
32422 (__mpsin): New argument __range_reduce.
32423 (__mpcos): Likewise.
32424 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32425 (slow): Use __mpsin and __mpcos.
32426 (slow1): Likewise.
32427 (slow2): Likewise.
32428 (sloww): Likewise.
32429 (sloww1): Likewise.
32430 (sloww2): Likewise.
32431 (bsloww): Likewise.
32432 (bsloww1): Likewise.
32433 (bsloww2): Likewise.
32434 (cslow2): Likewise.
32435 (csloww): Likewise.
32436 (csloww1): Likewise.
32437 (csloww2): Likewise.
32438 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
32439 range_reduce. Merge in __mpsin1.
32440 (__mpcos): Likewise.
32441 (__mpsin1): Remove.
32442 (__mpcos1): Likewise.
32443
32444 2013-10-07 Joseph Myers <joseph@codesourcery.com>
32445
32446 * locale/loadlocale.c (_nl_intern_locale_data): Use
32447 LOCFILE_ALIGNED_P.
32448 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
32449 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
32450 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
32451 obstack data is appropriately aligned.
32452 (obstack_int32_grow_fast): Likewise.
32453 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
32454 * locale/programs/locfile.c (add_locale_uint32): Likewise.
32455 (add_locale_uint32_array): Likewise.
32456
32457 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
32458
32459 * benchtests/Makefile: Remove ARGLIST and RET variables.
32460 ($(objpfx)bench-%.c): Pass only function name to the script.
32461 * benchtests/README: Update documentation.
32462 * benchtests/acos-inputs: Add new directives.
32463 * benchtests/acosh-inputs: Likewise.
32464 * benchtests/asin-inputs: Likewise.
32465 * benchtests/asinh-inputs: Likewise.
32466 * benchtests/atan-inputs: Likewise.
32467 * benchtests/atanh-inputs: Likewise.
32468 * benchtests/cos-inputs: Likewise.
32469 * benchtests/cosh-inputs: Likewise.
32470 * benchtests/exp-inputs: Likewise.
32471 * benchtests/log-inputs: Likewise.
32472 * benchtests/pow-inputs: Likewise.
32473 * benchtests/rint-inputs: Likewise.
32474 * benchtests/sin-inputs: Likewise.
32475 * benchtests/sinh-inputs: Likewise.
32476 * benchtests/tan-inputs: Likewise.
32477 * benchtests/tanh-inputs: Likewise.
32478 * scripts/bench.pl: Add support for new directives.
32479
32480 2013-10-07 Alan Modra <amodra@gmail.com>
32481
32482 * README: Fix careless merge.
32483
32484 2013-10-05 Alan Modra <amodra@gmail.com>
32485
32486 * NEWS: Mention powerpc64le support and bugs fixed.
32487 * README: Both big-endian and little-endian powerpc64 supported.
32488
32489 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
32490
32491 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
32492 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
32493 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
32494 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
32495
32496 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
32497
32498 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
32499 match prototype.
32500
32501 2013-10-04 Joseph Myers <joseph@codesourcery.com>
32502
32503 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
32504 Move -mhard-float appending from
32505 ports/sysdeps/powerpc/powerpc32/Makefile.
32506 [$(with-fp) = yes] (ASFLAGS): Likewise.
32507 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
32508 * sysdeps/powerpc/nofpu: Move directory from
32509 ports/sysdeps/powerpc/nofpu.
32510 * sysdeps/powerpc/soft-fp: Move directory from
32511 ports/sysdeps/powerpc/soft-fp.
32512 * sysdeps/powerpc/powerpc32/405: Move directory from
32513 ports/sysdeps/powerpc/powerpc32/405.
32514 * sysdeps/powerpc/powerpc32/440: Move directory from
32515 ports/sysdeps/powerpc/powerpc32/440.
32516 * sysdeps/powerpc/powerpc32/464: Move directory from
32517 ports/sysdeps/powerpc/powerpc32/464.
32518 * sysdeps/powerpc/powerpc32/476: Move directory from
32519 ports/sysdeps/powerpc/powerpc32/476.
32520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
32521 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
32522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
32523 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
32524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
32525 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
32526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
32527 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
32528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
32529 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
32530 * README: Update for powerpc-*-linux-gnu software floating point
32531 support in libc.
32532
32533 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
32534 case to powerpc/powerpc32*.
32535 * sysdeps/unix/sysv/linux/configure: Regenerated.
32536
32537 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
32538 (_FPU_MASK_OM): Define as 0x04.
32539 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
32540 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
32541 0x00c10080.
32542 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
32543 0x0000003c.
32544 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
32545
32546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
32547 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
32548 getcontext_e500.
32549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
32550 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
32551 setcontext_e500.
32552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
32553 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
32554 and setcontext_e500.
32555
32556 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
32557
32558 * locale/iso-3166.def: Update iso-1366.def and related occurrences
32559
32560 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
32561
32562 * manual/threads.texi (Default Thread Attributes): Fix typo.
32563
32564 2013-10-04 Will Newton <will.newton@linaro.org>
32565
32566 * malloc/Makefile: Add tst-memalign.
32567 * malloc/tst-memalign.c: New file.
32568
32569 * malloc/tst-posix_memalign.c: Add comments.
32570 (do_test): Add comments and call free on all potentially
32571 allocated pointers. Add space after cast.
32572
32573 * malloc/tst-pvalloc.c: Add comments.
32574 (do_test): Add comments and call free on all potentially
32575 allocated pointers. Remove duplicate check for NULL pointer.
32576 Add space after cast.
32577
32578 * malloc/tst-valloc.c: Add comments.
32579 (do_test): Add comments and call free on all potentially
32580 allocated pointers. Remove duplicate check for NULL pointer.
32581 Add space after cast.
32582
32583 2013-10-04 Alan Modra <amodra@gmail.com>
32584
32585 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
32586 Use stdint types in rather than __attribute__((mode())).
32587 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
32588
32589 2013-10-04 Alan Modra <amodra@gmail.com>
32590
32591 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
32592 Correct handling of unaligned relocs for little-endian.
32593 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
32594
32595 2013-10-04 Alan Modra <amodra@gmail.com>
32596
32597 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
32598 * configure: Regenerate.
32599 * nptl/shlib-versions: Powerpc*le starts at 2.18.
32600 * shlib-versions: Likewise.
32601
32602 2013-10-04 Alan Modra <amodra@gmail.com>
32603
32604 * string/tester.c (test_memrchr): Increment reported test cycle.
32605
32606 2013-10-04 Alan Modra <amodra@gmail.com>
32607
32608 * string/test-memcpy.c (do_one_test): When reporting errors, print
32609 string address and don't overrun end of string.
32610
32611 2013-10-04 Alan Modra <amodra@gmail.com>
32612
32613 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
32614 insrdi. Make better use of reg selection to speed exit slightly.
32615 Schedule entry path a little better. Remove useless "are we done"
32616 checks on entry to main loop. Handle wrapping around zero address.
32617 Correct main loop count. Handle single left-over word from main
32618 loop inline rather than by using loop_small. Remove extra word
32619 case in loop_small caused by wrong loop count. Add little-endian
32620 support.
32621 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
32622 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
32623 cache hint.
32624 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
32625 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
32626 support. Avoid rlwimi.
32627 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
32628
32629 2013-10-04 Alan Modra <amodra@gmail.com>
32630
32631 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
32632 insrdi. Formatting.
32633 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
32634 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
32635 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
32636 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
32637 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
32638 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
32639
32640 2013-10-04 Alan Modra <amodra@gmail.com>
32641
32642 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
32643 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
32644 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
32645 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
32646 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
32647 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
32648 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
32649 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
32650 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
32651 use of regs. Use power7 mtocrf. Tidy function tails.
32652
32653 2013-10-04 Alan Modra <amodra@gmail.com>
32654
32655 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
32656 Formatting. Consistently use rXXX register defines or rN defines.
32657 Use early exit labels that avoid restoring unused non-volatile regs.
32658 Make cr field use more consistent with rWORDn compares. Rename
32659 regs used as shift registers for unaligned loop, using rN defines
32660 for short lifetime/multiple use regs.
32661 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
32662 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
32663 addi 1,1,64 to pop stack frame. Simplify return value code.
32664 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
32665
32666 2013-10-04 Alan Modra <amodra@gmail.com>
32667
32668 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
32669 support. Correct typos, formatting. Optimize tail. Use insrdi
32670 rather than rlwimi.
32671 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
32672 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
32673 little-endian support. Correct typos.
32674 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
32675 rather than rlwimi.
32676 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
32677 in loop and entry code to keep "and." results.
32678 (strchr): Add little-endian support. Comment. Move cntlzd
32679 earlier in tail.
32680 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
32681
32682 2013-10-04 Alan Modra <amodra@gmail.com>
32683
32684 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
32685 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
32686 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
32687 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
32688
32689 2013-10-04 Alan Modra <amodra@gmail.com>
32690
32691 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
32692 (rTMP): Define as r11.
32693 (strcmp): Add little-endian support. Optimise tail.
32694 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
32695 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
32696 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
32697 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
32698 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
32699 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
32700 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
32701
32702 2013-10-04 Alan Modra <amodra@gmail.com>
32703
32704 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
32705 little-endian support. Remove unnecessary "are we done" tests.
32706 Handle "s" wrapping around zero and extremely large "size".
32707 Correct main loop count. Handle single left-over word from main
32708 loop inline rather than by using small_loop. Correct comments.
32709 Delete "zero" tail, use "end_max" instead.
32710 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
32711
32712 2013-10-04 Alan Modra <amodra@gmail.com>
32713
32714 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
32715 support. Don't branch over align.
32716 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
32717 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
32718 support. Rearrange tmp reg use to suit. Comment.
32719 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
32720
32721 2013-10-04 Alan Modra <amodra@gmail.com>
32722
32723 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
32724
32725 2013-10-04 Alan Modra <amodra@gmail.com>
32726
32727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
32728 conditional form of branch and link when obtaining pc.
32729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
32730
32731 2013-10-04 Alan Modra <amodra@gmail.com>
32732
32733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
32734 HIWORD/LOWORD.
32735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
32736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
32737
32738 2013-10-04 Alan Modra <amodra@gmail.com>
32739
32740 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
32741 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
32742 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
32743 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
32744 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
32745 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
32746 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
32747 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
32748 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
32749 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
32750
32751 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
32752 Alistair Popple <alistair@ozlabs.au.ibm.com>
32753 Alan Modra <amodra@gmail.com>
32754
32755 [BZ #15723]
32756 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
32757 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
32758 _dl_hwcap access for little-endian.
32759 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
32760 destroy vmx regs when saving unaligned.
32761 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
32762 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
32763 destroy vmx regs when saving unaligned.
32764
32765 2013-10-04 Alan Modra <amodra@gmail.com>
32766
32767 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
32768 Don't use a union to pack hi/low value.
32769
32770 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
32771
32772 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
32773 for little-endian.
32774 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
32775 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
32776 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
32777 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
32778 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
32779
32780 2013-10-04 Alan Modra <amodra@gmail.com>
32781
32782 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
32783 constants to usual value for .cst8 section, and remove redundant
32784 high address load.
32785 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
32786 constant for 0x1p52. Load little-endian words of double from
32787 correct stack offsets.
32788
32789 2013-10-04 Alan Modra <amodra@gmail.com>
32790
32791 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
32792 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
32793 words of double from correct stack offsets.
32794 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
32795 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
32796 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
32797 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
32798 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
32799 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
32800 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
32801 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
32802 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
32803 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
32804 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
32805 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
32806 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
32807 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
32808 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
32809 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
32810 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
32811
32812 2013-10-04 Alan Modra <amodra@gmail.com>
32813
32814 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
32815 64-bit int/double union.
32816 (_FPU_SETCW): Likewise.
32817 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
32818 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
32819
32820 2013-10-04 Alan Modra <amodra@gmail.com>
32821
32822 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
32823 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
32824
32825 2013-10-04 Alan Modra <amodra@gmail.com>
32826
32827 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
32828 use vector int constants.
32829 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
32830
32831 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
32832
32833 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
32834 array with long long.
32835 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
32836 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
32837 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
32838 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
32839 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
32840 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
32841 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
32842 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
32843 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
32844 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
32845 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
32846 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
32847 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
32848
32849 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
32850
32851 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
32852 (__signbit): Likewise. Correct for little-endian.
32853 (__signbitl): Call __signbit.
32854 (lrint): Correct for little-endian.
32855 (lrintf): Call lrint.
32856
32857 2013-10-04 Alan Modra <amodra@gmail.com>
32858
32859 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
32860 union 32-bit int array member with 64-bit int array.
32861 (t515, tm256): Double rather than long double.
32862 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
32863
32864 2013-10-04 Alan Modra <amodra@gmail.com>
32865
32866 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
32867 Delete.
32868 (IEEE854_LONG_DOUBLE_BIAS): Delete.
32869 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
32870 version of math_ldbl.h.
32871
32872 2013-10-04 Alan Modra <amodra@gmail.com>
32873
32874 [BZ #15734], [BZ #15735]
32875 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
32876 all uses of ieee875 long double macros and unions. Simplify test
32877 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
32878 ldbl_extract_mantissa value for ix,iy exponents. Properly
32879 normalize after ldbl_extract_mantissa, and don't add hidden bit
32880 already handled. Don't treat low word of ieee854 mantissa like
32881 low word of IBM long double and mask off bit when testing for
32882 zero.
32883 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
32884 all uses of ieee875 long double macros and unions. Simplify tests
32885 for 0.0L and inf. Correct double adjustment of k. Delete dead code
32886 adjusting ha,hb. Simplify code setting kld. Delete two600 and
32887 two1022, instead use their values. Recognise that tests for large
32888 "a" and small "b" are mutually exclusive. Rename vars. Comment.
32889 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
32890 Rewrite all uses of ieee875 long double macros and unions. Simplify
32891 test for 0.0L and nan. Correct negation.
32892 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
32893 ieee875 long double macros and unions. Correct output for large
32894 magnitude x. Correct absolute value calculation.
32895 (__erfcl): Likewise.
32896 * math/libm-test.inc: Add tests for errors discovered in IBM long
32897 double versions of fmodl, remainderl, erfl and erfcl.
32898
32899 2013-10-04 Alan Modra <amodra@gmail.com>
32900
32901 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
32902 all uses of ieee854 long double macros and unions. Simplify tests
32903 for long doubles that are fully specified by the high double.
32904 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
32905 Likewise.
32906 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
32907 Remove dead code too.
32908 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
32909 (__ieee754_ynl): Likewise.
32910 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
32911 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
32912 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
32913 Remove dead code too.
32914 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
32915 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
32916 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
32917 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
32918 Simplify.
32919 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
32920 Simplify.
32921 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
32922 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
32923 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
32924 Comment on variable precision.
32925 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
32926 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
32927 Likewise.
32928 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
32929 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
32930 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
32931 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
32932 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
32933
32934 2013-10-04 Alan Modra <amodra@gmail.com>
32935
32936 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
32937 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
32938 all uses of ieee854 long double macros and unions.
32939 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
32940 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
32941 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
32942 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
32943 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
32944 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
32945 Likewise.
32946 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
32947 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
32948 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
32949 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
32950 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
32951 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
32952 Simplify sign and nan test too.
32953 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
32954 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
32955 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
32956 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
32957 Likewise.
32958 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
32959 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
32960 Likewise.
32961 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32962 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
32963 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
32964 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
32965 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
32966 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
32967
32968 2013-10-04 Alan Modra <amodra@gmail.com>
32969
32970 * stdio-common/printf_size.c (__printf_size): Don't use
32971 union ieee854_long_double in fpnum union.
32972 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
32973 signbit macro to retrieve sign from long double.
32974 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
32975 retrieve sign from long double.
32976 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
32977 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
32978 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
32979 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
32980 * math/test-misc.c (main): Don't use union ieee854_long_double.
32981
32982 2013-10-04 Alan Modra <amodra@gmail.com>
32983
32984 [BZ #15680]
32985 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
32986 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
32987 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
32988 calculation. Remove unnecessary test for denormal exponent.
32989 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
32990 Correct handling of denormals. Avoid undefined shift behaviour.
32991 Correct normalisation of low mantissa when low double is denormal.
32992 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
32993 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
32994 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
32995 Correct normalisation of low mantissa. Test for overflow of high
32996 mantissa and normalise.
32997 (ldbl_nearbyint): Use more readable constant for two52.
32998 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
32999 (__mpn_construct_long_double): Fix test for overflow of high
33000 mantissa and correct normalisation. Avoid undefined shift.
33001
33002 2013-10-04 Alan Modra <amodra@gmail.com>
33003
33004 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
33005 (union ibm_extended_long_double): Define as an array of ieee754_double.
33006 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
33007 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
33008 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
33009 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
33010 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
33011 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
33012 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
33013 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
33014 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
33015 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
33016 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
33017
33018 2013-10-03 Joseph Myers <joseph@codesourcery.com>
33019
33020 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
33021 page size instead of calling getpagesize.
33022
33023 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
33024 (LOCFILE_ALIGN_MASK): Likewise.
33025 (LOCFILE_ALIGN_UP): Likewise.
33026 (LOCFILE_ALIGNED_P): Likewise.
33027 * locale/programs/ld-collate.c (collate_output): Use the new
33028 macros instead of __alignof__ (int32_t).
33029 * locale/weight.h (findidx): Likewise.
33030
33031 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
33032
33033 [BZ #431]
33034 * manual/string.texi: Fix strncat and wcsncat.
33035
33036 2013-10-03 Brooks Moses <bmoses@google.com>
33037
33038 [BZ #15915]
33039 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
33040 * Makerules: ...here, and adjust associated comments.
33041
33042 2013-10-02 Will Newton <will.newton@linaro.org>
33043
33044 * malloc/Makefile: Add tst-pvalloc.
33045 * malloc/tst-pvalloc.c: New file.
33046
33047 2013-10-02 Will Newton <will.newton@linaro.org>
33048
33049 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
33050 improve test coverage.
33051
33052 2013-10-02 Will Newton <will.newton@linaro.org>
33053
33054 * malloc/Makefile: Add tst-posix_memalign.
33055 * malloc/tst-posix_memalign.c: New file.
33056
33057 2013-10-01 Eric Blake <eblake@redhat.com>
33058
33059 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
33060 Use __THROWNL rather than __THROW on static functions.
33061
33062 2013-09-30 Petr Machata <pmachata@redhat.com>
33063
33064 * elf/elf.h (R_AARCH64_ABS16): New macro.
33065 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
33066 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
33067 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
33068 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
33069 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
33070 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
33071 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
33072 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
33073 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
33074 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
33075 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
33076 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
33077 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
33078 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
33079 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
33080 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
33081 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
33082 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
33083 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
33084 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
33085 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
33086 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
33087 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
33088 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
33089 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
33090 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
33091 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
33092 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
33093 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
33094 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
33095 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
33096 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
33097 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
33098 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
33099 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
33100 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
33101 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
33102 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
33103 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
33104 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
33105 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
33106 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
33107 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
33108 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
33109 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
33110 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
33111 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
33112 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
33113 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
33114 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
33115 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
33116 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
33117 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
33118 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
33119 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
33120 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
33121 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
33122 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
33123 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
33124 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
33125 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
33126 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
33127 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
33128 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
33129 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
33130 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
33131 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
33132 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
33133 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
33134 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
33135 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
33136 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
33137 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
33138 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
33139 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
33140 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
33141 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
33142 (R_AARCH64_TLSDESC_LDR): Likewise.
33143 (R_AARCH64_TLSDESC_ADD): Likewise.
33144 (R_AARCH64_TLSDESC_CALL): Likewise.
33145
33146 2013-09-30 Andreas Schwab <schwab@suse.de>
33147
33148 [BZ #15048]
33149 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
33150 the nss database lookup.
33151 * nscd/initgrcache.c (addinitgroupsX): Likewise.
33152 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
33153
33154 2013-09-28 Mike Frysinger <vapier@gentoo.org>
33155
33156 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
33157
33158 2013-09-28 P. J. McDermott <pj@pehjota.net>
33159
33160 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
33161 ${Bash-specific parameter/pattern/string} parameter expansion.
33162 * sysdeps/unix/make-syscalls.sh: Likewise.
33163
33164 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33165
33166 * sysdeps/sh/stackguard-macros.h: New file.
33167
33168 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
33169
33170 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
33171 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
33172 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
33173 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
33174 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
33175 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
33176
33177 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33178
33179 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
33180 Fix thread ID register.
33181
33182 2013-09-25 Joseph Myers <joseph@codesourcery.com>
33183
33184 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
33185 [POSIX || UNIX98]: Require rather than permitting all symbols from
33186 <time.h>.
33187 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
33188 element of struct sched_param.
33189 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
33190 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
33191 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
33192 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
33193 constant.
33194
33195 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
33196
33197 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
33198 argument calculation.
33199
33200 2013-09-24 Joseph Myers <joseph@codesourcery.com>
33201
33202 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
33203 Expect macro.
33204 [POSIX] (pthread_attr_t): Do not require type.
33205 [POSIX] (pthread_cond_t): Likewise.
33206 [POSIX] (pthread_condattr_t): Likewise.
33207 [POSIX] (pthread_key_t): Likewise.
33208 [POSIX] (pthread_mutex_t): Likewise.
33209 [POSIX] (pthread_mutexattr_t): Likewise.
33210 [POSIX] (pthread_once_t): Likewise.
33211 [POSIX] (pthread_t): Likewise.
33212 [POSIX-based standards] (pthread_atfork): Expect function.
33213
33214 2013-09-24 Joseph Myers <joseph@codesourcery.com>
33215 Richard Sandiford <richard@codesourcery.com>
33216
33217 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
33218 (swap_endianness_p): New extern variable.
33219 (set_big_endian): New inline function.
33220 (maybe_swap_uint32): Likewise.
33221 (maybe_swap_uint32_array): Likewise.
33222 (maybe_swap_uint32_obstack): Likewise.
33223 * locale/programs/locfile.c: Include <stdbool.h>.
33224 (swap_endianness_p): New variable.
33225 (add_locale_uint32): Call maybe_swap_uint32.
33226 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
33227 (write_locale_data): Call maybe_swap_uint32_array.
33228 * locale/programs/ld-collate.c (obstack_int32_grow): Call
33229 maybe_swap_uint32.
33230 (obstack_int32_grow_fast): Likewise.
33231 (output_weightwc): Call maybe_swap_uint32_obstack.
33232 (collate_output): Likewise.
33233 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
33234 (OPT_LITTLE_ENDIAN): Likewise.
33235 (options): Add --little-endian and --big-endian options.
33236 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
33237 * locale/programs/locarchive.c: Include "locfile.h".
33238 (GET): New macro.
33239 (SET): Likewise.
33240 (INC): Likewise.
33241 (create_archive): Use the new macros to access fields of
33242 structures directly mapped from or written to locale archives.
33243 (oldlocrecentcmp): Likewise.
33244 (enlarge_archive): Likewise.
33245 (insert_name): Likewise.
33246 (add_alias): Likewise.
33247 (add_locale): Likewise.
33248 (delete_locales_from_archive): Likewise.
33249 (show_archive_content): Likewise.
33250 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
33251 locale data.
33252
33253 2013-09-24 Roland McGrath <roland@hack.frob.com>
33254
33255 * manual/freemanuals.texi: Updated from (newly) canonical copy at
33256 http://www.gnu.org/doc/freemanuals.texi.
33257 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
33258
33259 2013-09-24 Will Newton <will.newton@linaro.org>
33260
33261 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
33262 macro.
33263
33264 2013-09-23 Joseph Myers <joseph@codesourcery.com>
33265
33266 * locale/hashval.h (compute_hashval): Interpret bytes of key as
33267 unsigned char.
33268
33269 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
33270
33271 * manual/threads.texi (POSIX Threads): Fix a typo.
33272
33273 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
33274
33275 [BZ #14547]
33276 * string/tst-strcoll-overflow.c: New test case.
33277 * string/Makefile (xtests): Add tst-strcoll-overflow.
33278 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
33279 cache if string sizes may cause integer overflow.
33280
33281 [BZ #14547]
33282 * string/strcoll_l.c (coll_seq): New members rule, idx,
33283 save_idx and back_us.
33284 (get_next_seq_nocache): New function.
33285 (do_compare_nocache): New function.
33286 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
33287 when malloc fails.
33288
33289 2013-09-23 Carlos O'Donell <carlos@redhat.com>
33290
33291 [BZ #15754]
33292 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
33293 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
33294 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
33295
33296 [BZ #15754]
33297 * elf/Makefile (tests): Add tst-ptrguard1.
33298 (tests-static): Add tst-ptrguard1-static.
33299 (tst-ptrguard1-ARGS): Define.
33300 (tst-ptrguard1-static-ARGS): Define.
33301 * elf/tst-ptrguard1.c: New file.
33302 * elf/tst-ptrguard1-static.c: New file.
33303 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
33304 * sysdeps/i386/stackguard-macros.h: Likewise.
33305 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
33306 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
33307 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
33308 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
33309 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
33310 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
33311
33312 2013-09-23 Hector Marco <hecmargi@upv.es>
33313 Ismael Ripoll <iripoll@disca.upv.es>
33314 Carlos O'Donell <carlos@redhat.com>
33315
33316 [BZ #15754]
33317 * sysdeps/generic/stackguard-macros.h: Define
33318 __pointer_chk_guard_local and POINTER_CHK_GUARD.
33319 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
33320 Define __pointer_chk_guard_local.
33321 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
33322 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
33323
33324 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
33325
33326 [BZ #15859]
33327 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
33328
33329 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
33330
33331 * include/string.h (__ffs): Declare as hidden.
33332 * string/ffs.c (__ffs): Define as hidden.
33333 * sysdeps/i386/ffs.c (__ffs): Likewise.
33334 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
33335 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
33336 * sysdeps/s390/ffs.c (__ffs): Likewise.
33337 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
33338
33339 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
33340
33341 * NEWS: Mention malloc probes.
33342
33343 * malloc/arena.c (new_heap): New memory_heap_new probe.
33344 (grow_heap): New memory_heap_more probe.
33345 (shrink_heap): New memory_heap_less probe.
33346 (heap_trim): New memory_heap_free probe.
33347 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
33348 (systrim): New memory_sbrk_less probe.
33349 * manual/probes.texi: Document them.
33350
33351 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
33352 * manual/probes.texi: Document it.
33353
33354 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
33355 (__libc_realloc): Add memory_realloc_retry probe.
33356 (__libc_memalign): Add memory_memalign_retry probe.
33357 (__libc_valloc): Add memory_valloc_retry probe.
33358 (__libc_pvalloc): Add memory_pvalloc_retry probe.
33359 (__libc_calloc): Add memory_calloc_retry probe.
33360 * manual/probes.texi: Document them.
33361
33362 * malloc/arena.c (get_free_list): Add probe
33363 memory_arena_reuse_free_list.
33364 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
33365 and memory_arena_reuse.
33366 (arena_get2) [!PER_THREAD]: Likewise.
33367 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
33368 memory_arena_reuse_realloc.
33369 * manual/probes.texi: Document them.
33370
33371 * malloc/malloc.c (__libc_free): Add
33372 memory_mallopt_free_dyn_thresholds probe.
33373 (__libc_mallopt): Add multiple memory_mallopt probes.
33374 * manual/probes.texi: Document them.
33375
33376 * malloc/malloc.c: Include stap-probe.h.
33377 (__libc_mallopt): Add memory_mallopt probe.
33378 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
33379 * manual/probes.texi: New.
33380 * manual/Makefile (chapters): Add probes.
33381 * manual/threads.texi: Set next node.
33382
33383 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
33384
33385 [BZ #15963, #13985]
33386 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
33387 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
33388 Add `Chinese' to `nan' entry name.
33389
33390 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
33391
33392 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
33393 (POLYNOMIAL): Likewise.
33394 (TAYLOR_SINCOS): Likewise.
33395 (TAYLOR_SLOW): Likewise.
33396 (__sin): Use TAYLOR_SINCOS.
33397 (__cos): Likewise.
33398 (slow): Use TAYLOR_SLOW.
33399 (sloww): Likewise.
33400 (bsloww): Likewise.
33401 (csloww): Likewise.
33402
33403 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33404
33405 * stdlib/strtod_l.c: Fix buffer overrun.
33406
33407 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
33408
33409 * benchtests/Makefile (bench): Add sincos.
33410 * benchtests/bench-sincos.c: New file.
33411
33412 * math/libm-test.inc (cos_test_data): New test inputs.
33413 (sin_test_data): Likewise.
33414
33415 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
33416 macro.
33417 (__sin): Use it.
33418 (__cos): Likewise.
33419 (slow1): Likewise.
33420 (slow2): Likewise.
33421 (sloww1): Likewise.
33422 (sloww2): Likewise.
33423 (bsloww1): Likewise.
33424 (bsloww2): Likewise.
33425 (cslow2): Likewise.
33426 (csloww1): Likewise.
33427 (csloww2): Likewise.
33428
33429 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
33430 function.
33431 (__sin): Use it.
33432 (__cos): Likewise.
33433
33434 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
33435 gotos.
33436 (__cos): Likewise.
33437
33438 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
33439
33440 * config.h.in (HAVE_MIPS_NAN2008): New macro.
33441 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
33442 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
33443 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
33444 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
33445 * elf/cache.c (print_entry): Handle the new cache flags.
33446
33447 2013-09-18 Joseph Myers <joseph@codesourcery.com>
33448 Aldy Hernandez <aldyh@redhat.com>
33449
33450 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
33451 Change condition to [_SOFT_FLOAT].
33452 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
33453 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
33454 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
33455 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
33456 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
33457 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
33458 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
33459 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
33460 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
33461 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
33462 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
33463 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
33464 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
33465 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
33466 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
33467 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
33468 declaration.
33469
33470 2013-09-18 Joseph Myers <joseph@codesourcery.com>
33471
33472 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
33473 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
33474 (__longjmp): Use LOAD_GP to load saved GPRs.
33475 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
33476 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
33477 (__sigsetjmp): Use SAVE_GP to save GPRs.
33478
33479 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
33480 Do not append -msoft-float.
33481 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
33482
33483 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
33484
33485 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
33486
33487 2013-09-17 Joseph Myers <joseph@codesourcery.com>
33488
33489 [BZ #15966]
33490 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
33491 (_FPU_GETCW): Use initial "__" on variable and field names but not
33492 on macro parameter name.
33493 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
33494 parentheses around reference to macro parameter.
33495
33496 2013-09-13 Richard Sandiford <richard@codesourcery.com>
33497
33498 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
33499 prototype.
33500 (ctype_startup): Use uint32_t in cast and sizeof for
33501 ctype->charnames.
33502
33503 2013-09-11 Jia Liu <proljc@gmail.com>
33504
33505 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
33506 __daddr_t_defined.
33507 [__FreeBSD__]: Likewise.
33508
33509 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
33510
33511 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
33512 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
33513 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
33514 (strchr): Remove __strchr_sse42 ifunc selection.
33515 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
33516 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
33517
33518 2013-09-11 Will Newton <will.newton@linaro.org>
33519
33520 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
33521 parameter to RES. Remove hardcoded 1000 value.
33522 * benchtests/bench-skeleton.c (main): Pass RES parameter
33523 to TIMING_INIT and multiply result by 1000.
33524
33525 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33526
33527 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33528
33529 2013-09-11 Andreas Schwab <schwab@suse.de>
33530
33531 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
33532 if not defined.
33533 (O_TMPFILE) [__USE_GNU]: Define.
33534 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
33535 Define.
33536
33537 2013-09-11 Will Newton <will.newton@linaro.org>
33538
33539 [BZ #15857]
33540 * malloc/malloc.c (__libc_memalign): Check the value of bytes
33541 does not overflow.
33542
33543 2013-09-11 Will Newton <will.newton@linaro.org>
33544
33545 [BZ #15856]
33546 * malloc/malloc.c (__libc_valloc): Check the value of bytes
33547 does not overflow.
33548
33549 2013-09-11 Will Newton <will.newton@linaro.org>
33550
33551 [BZ #15855]
33552 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
33553 does not overflow.
33554
33555 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
33556
33557 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
33558 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33559 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
33560 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
33561 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
33562
33563 2013-09-10 Allan McRae <allan@archlinux.org>
33564
33565 [BZ #15748]
33566 * manual/arith.texi (Parsing of Floats): Clarify
33567 cross-reference.
33568
33569 [BZ #15849]
33570 * manual/install.texi (Running make install): Mention
33571 --enable-pt-chown.
33572 * INSTALL: Regenerated.
33573
33574 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
33575
33576 * csu/init-first.c (_init): Remove the !SHARED condition around
33577 FPU control word initialization.
33578 * elf/dl-support.c (_dl_fpu_control): New variable.
33579 (_dl_aux_init) <AT_FPUCW>: Initialize it.
33580 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
33581 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
33582 * math/test-fpucw-static.c: New file.
33583 * math/test-fpucw-ieee.c: New file.
33584 * math/test-fpucw-ieee-static.c: New file.
33585 * math/Makefile (tests): Add `test-fpucw-ieee' and
33586 `$(tests-static)'.
33587 (tests-static): New variable.
33588 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
33589 dependency to...
33590 [($(build-shared),yes)]
33591 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
33592 ... this.
33593 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
33594 New dependency.
33595
33596 2013-09-09 Allan McRae <allan@archlinux.org>
33597
33598 [BZ #15939]
33599 * manual/string.texi (Collation Functions): Fix typo in
33600 strcoll example.
33601 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
33602
33603 [BZ #15893]
33604 * stdlib/isomac.c (get_null_defines): Fix memory leak.
33605
33606 [BZ #15892]
33607 * libio/memstream.c (open_memstream): Fix memory leak.
33608 * libio/wmemstream.c (open_wmemstream): Likewise.
33609
33610 [BZ #15895]
33611 * nscd/netgroupcache.c: Fix nesting of ifdefs.
33612
33613 2013-09-09 Will Newton <will.newton@linaro.org>
33614
33615 * malloc/Makefile: Add tst-realloc to tests.
33616 * malloc/tst-realloc.c: New file.
33617
33618 2013-09-09 Allan McRae <allan@archlinux.org>
33619
33620 [BZ #15844]
33621 * COPYING: Update from GNU website to fix FSF address.
33622 * COPYING.LIB: Likewise.
33623
33624 2013-09-06 David S. Miller <davem@davemloft.net>
33625
33626 * po/zh_TW.po: Update Chinese (traditional) translation from
33627 translation project.
33628
33629 2013-09-06 Richard Sandiford <richard@codesourcery.com>
33630 Joseph Myers <joseph@codesourcery.com>
33631
33632 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
33633 "localeinfo.h".
33634 (obstack_chunk_alloc): New macro.
33635 (obstack_chunk_free): Likewise.
33636 (record_offset): New function.
33637 (init_locale_data): Likewise.
33638 (align_locale_data): Likewise.
33639 (add_locale_empty): Likewise.
33640 (add_locale_raw_data): Likewise.
33641 (add_locale_raw_obstack): Likewise.
33642 (add_locale_string): Likewise.
33643 (add_locale_wstring): Likewise.
33644 (add_locale_uint32): Likewise.
33645 (add_locale_uint32_array): Likewise.
33646 (add_locale_char): Likewise.
33647 (start_locale_structure): Likewise.
33648 (end_locale_structure): Likewise.
33649 (start_locale_prelude): Likewise.
33650 (end_locale_prelude): Likewise.
33651 (write_locale_data): Take locale_file structure rather than an
33652 iovec.
33653 * locale/programs/locfile.h: Include "obstack.h".
33654 (struct locale_file): Change to store locale file contents instead
33655 of header.
33656 (init_locale_data): New prototype.
33657 (align_locale_data): Likewise.
33658 (add_locale_empty): Likewise.
33659 (add_locale_raw_data): Likewise.
33660 (add_locale_raw_obstack): Likewise.
33661 (add_locale_string): Likewise.
33662 (add_locale_wstring): Likewise.
33663 (add_locale_uint32): Likewise.
33664 (add_locale_uint32_array): Likewise.
33665 (add_locale_char): Likewise.
33666 (start_locale_structure): Likewise.
33667 (end_locale_structure): Likewise.
33668 (start_locale_prelude): Likewise.
33669 (end_locale_prelude): Likewise.
33670 (write_locale_data): Update prototype.
33671 * locale/programs/3level.h (struct TABLE): Remove result field.
33672 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
33673 Use new locale_file interface.
33674 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
33675 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
33676 * locale/programs/ld-address.c (address_output): Use new
33677 locale_file interface.
33678 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
33679 NO_ADD_LOCALE.
33680 (collate_finish): Don't call collseq_table_finalize.
33681 (collate_output): Use new locale_file interface.
33682 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
33683 in file.
33684 (NO_FINALIZE): Change to NO_ADD_LOCALE.
33685 (TABLE): Move defines earlier in file.
33686 (ELEMENT): Likewise.
33687 (DEFAULT): Likewise.
33688 (wctrans_table_add): Move macro and inline function earlier in
33689 file.
33690 (struct wctype_table): Move type earlier in file.
33691 (add_locale_wctype_table): New static prototype.
33692 (struct locale_ctype_t): Use logical types instead of struct iovec
33693 pointers for members.
33694 (ctype_output): Use new locale_file interface.
33695 (wctype_table_finalize): Change to add_locale_wctype_table. Use
33696 new locale_file interface.
33697 (allocate_arrays): Update for use of new locale_file interface.
33698 * locale/programs/ld-identification.c (identification_output): Use
33699 new locale_file interface.
33700 * locale/programs/ld-measurement.c (measurement_output): Likewise.
33701 * locale/programs/ld-messages.c (messages_output): Likewise.
33702 * locale/programs/ld-monetary.c (monetary_output): Likewise.
33703 * locale/programs/ld-name.c (name_output): Likewise.
33704 * locale/programs/ld-numeric.c (numeric_output): Likewise.
33705 * locale/programs/ld-paper.c (paper_output): Likewise.
33706 * locale/programs/ld-telephone.c (telephone_output): Likewise.
33707 * locale/programs/ld-time.c (time_output): Likewise.
33708
33709 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33710
33711 * benchtests/Makefile: Add memrchr benchmark.
33712 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
33713 benchmark as memrchr.
33714 * benchtests/bench-memrchr-ifunc.c: New file.
33715 * benchtests/bench-memrchr.c: New file.
33716
33717 2013-09-06 Will Newton <will.newton@linaro.org>
33718
33719 * benchtests/Makefile (string-bench): Add memcpy.
33720
33721 2013-09-05 Carlos O'Donell <carlos@redhat.com>
33722 Cong Wang <amwang@redhat.com>
33723
33724 [BZ #15850]
33725 * sysdeps/unix/sysv/linux/bits/in.h
33726 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
33727 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
33728 before __USE_KERNEL_IPV6_DEFS uses.
33729 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
33730 IPPROTO_BEETPH.
33731 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
33732 sockaddr_in6, or ipv6_mreq.
33733
33734 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33735
33736 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
33737 memory access for final bytes in some large inputs.
33738 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
33739
33740 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33741
33742 * string/test-memrchr.c: New file.
33743 * string/test-memrchr-ifunc.c: New file.
33744 * string/Makefile: Add new memrchr testcase.
33745
33746 2013-09-05 Mike Frysinger <vapier@gentoo.org>
33747
33748 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
33749 fanotify_init returns EPERM.
33750
33751 2013-09-04 Joseph Myers <joseph@codesourcery.com>
33752
33753 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
33754 errors.
33755 (top level): Treat second token from macro or constant entries for
33756 allowed headers as allowed.
33757 * include/complex.h: Condition internal declarations on
33758 [!_ISOMAC].
33759 * include/fenv.h: Condition include of <stdbool.h> and internal
33760 declarations on [!_ISOMAC].
33761
33762 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
33763
33764 [BZ #15923]
33765 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
33766
33767 2013-09-04 Joseph Myers <joseph@codesourcery.com>
33768
33769 * configure.in (--enable-versioning): Remove configure option.
33770 (libc_cv_asm_symver_directive): Remove configure test.
33771 (libc_cv_ld_version_script_option): Likewise.
33772 (VERSIONING): Remove variable and AC_SUBST.
33773 (DO_VERSIONING): Remove AC_DEFINE.
33774 * configure: Regenerated.
33775 * config.h.in (DO_VERSIONING): Remove macro.
33776 * Makerules [$(versioning) = yes]: Change conditionals to
33777 [$(build-shared) = yes].
33778 * config.make.in (versioning): Remove variable.
33779 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
33780 [$(build-shared) = yes].
33781 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
33782 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
33783 * elf/Makefile [$(versioning) = yes]: Change conditionals to
33784 [$(build-shared) = yes].
33785 * extra-lib.mk [$(versioning) = yes]: Likewise.
33786 * hurd/Makefile [$(versioning) = yes]: Likewise.
33787 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
33788 [SHARED].
33789 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
33790 [SHARED].
33791 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
33792 [SHARED && !NO_HIDDEN].
33793 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
33794 [SHARED].
33795 [SHARED && DO_VERSIONING]: Likewise..
33796 * libio/Makefile [$(versioning) = yes]: Change conditionals to
33797 [$(build-shared) = yes].
33798 * manual/install.texi (--disable-versioning): Remove
33799 documentation.
33800 * INSTALL: Regenerated.
33801 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
33802 to [SHARED].
33803 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
33804 [$(build-shared) = yes].
33805 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
33806 * sysdeps/i386/i686/multiarch/strstr-c.c
33807 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
33808 [SHARED && !NO_HIDDEN].
33809 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
33810 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
33811 * sysdeps/powerpc/powerpc32/dl-machine.c
33812 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
33813 * sysdeps/powerpc/powerpc32/sysdep.h
33814 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
33815 to [SHARED && PIC && !NO_HIDDEN].
33816 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
33817 conditional to [SHARED].
33818
33819 2013-09-04 Will Newton <will.newton@linaro.org>
33820
33821 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
33822 * benchtests/bench-string.h: Include bench-timing.h instead
33823 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
33824 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
33825 call to HP_TIMING_DIFF_INIT.
33826 * benchtests/bench-memccpy.c: Use bench-timing.h macros
33827 instead of hp-timing.h macros.
33828 * benchtests/bench-memchr.c: Likewise.
33829 * benchtests/bench-memcmp.c: Likewise.
33830 * benchtests/bench-memcpy.c: Likewise.
33831 * benchtests/bench-memmem.c: Likewise.
33832 * benchtests/bench-memmove.c: Likewise.
33833 * benchtests/bench-memset.c: Likewise.
33834 * benchtests/bench-rawmemchr.c: Likewise.
33835 * benchtests/bench-strcasecmp.c: Likewise.
33836 * benchtests/bench-strcasestr.c: Likewise.
33837 * benchtests/bench-strcat.c: Likewise.
33838 * benchtests/bench-strchr.c: Likewise.
33839 * benchtests/bench-strcmp.c: Likewise.
33840 * benchtests/bench-strcpy.c: Likewise.
33841 * benchtests/bench-strcpy_chk.c: Likewise.
33842 * benchtests/bench-strlen.c: Likewise.
33843 * benchtests/bench-strncasecmp.c: Likewise.
33844 * benchtests/bench-strncat.c: Likewise.
33845 * benchtests/bench-strncmp.c: Likewise.
33846 * benchtests/bench-strncpy.c: Likewise.
33847 * benchtests/bench-strnlen.c: Likewise.
33848 * benchtests/bench-strpbrk.c: Likewise.
33849 * benchtests/bench-strrchr.c: Likewise.
33850 * benchtests/bench-strspn.c: Likewise.
33851 * benchtests/bench-strstr.c: Likewise.
33852
33853 2013-09-04 Will Newton <will.newton@linaro.org>
33854
33855 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
33856
33857 2013-09-03 Joseph Myers <joseph@codesourcery.com>
33858
33859 [BZ #15427]
33860 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
33861 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
33862 * math/libm-test.inc (lgamma_test_data): Add more tests.
33863 * sysdeps/i386/fpu/libm-test-ulps: Update.
33864 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33865
33866 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
33867
33868 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
33869 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
33870 Add ifunc.
33871 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
33872 Add strcmp-sse2-unaligned
33873 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
33874
33875 2013-09-02 Mike Frysinger <vapier@gentoo.org>
33876
33877 * Versions.def (libc): Add GLIBC_2.19.
33878
33879 2013-09-02 Mike Frysinger <vapier@gentoo.org>
33880
33881 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
33882 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
33883
33884 2013-09-02 Joseph Myers <joseph@codesourcery.com>
33885
33886 [BZ #14155]
33887 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
33888 intermediate calculations in recurrence.
33889 (__ieee754_ynf): Likewise.
33890 * math/libm-test.inc (jn_test_data): Do not allow spurious
33891 underflow exception. Add more tests.
33892 (yn_test_data): Add more tests.
33893 * sysdeps/i386/fpu/libm-test-ulps: Update.
33894 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33895
33896 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
33897
33898 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
33899
33900 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
33901
33902 * csu/init-first.c: Fix then/than typos.
33903 * locale/programs/ld-collate.c: Likewise.
33904 * locale/programs/linereader.h: Likewise.
33905 * manual/charset.texi: Likewise.
33906 * manual/filesys.texi: Likewise.
33907 * manual/stdio.texi: Likewise.
33908 * manual/string.texi: Likewise.
33909 * stdlib/fmtmsg.c: Likewise.
33910 * sysdeps/i386/stpncpy.S: Likewise.
33911 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
33912 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
33913 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
33914 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
33915
33916 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
33917
33918 * elf/dl-open.c: Fix typos.
33919 * iconvdata/gbbig5.c: Likewise.
33920 * iconvdata/iso-2022-jp.c: Likewise.
33921 * iconv/gconv_int.h: Likewise.
33922 * iconv/loop.c: Likewise.
33923 * nis/rpcsvc/nis.h: Likewise.
33924 * resolv/ns_name.c: Likewise.
33925 * stdio-common/vfscanf.c: Likewise.
33926 * streams/stropts.h: Likewise.
33927 * sunrpc/rpc_thread.c: Likewise.
33928 * sysdeps/i386/strpbrk.S: Likewise.
33929 * sysdeps/ieee754/k_standard.c: Likewise.
33930 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
33931 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
33932 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
33933 * sysdeps/mach/hurd/profil.c: Likewise.
33934 * sysdeps/s390/dl-procinfo.h: Likewise.
33935 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
33936 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
33937 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
33938 * sysdeps/x86_64/dl-trampoline.S: Likewise.
33939 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
33940
33941 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
33942
33943 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
33944 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
33945
33946 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
33947
33948 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
33949 aix specific files.
33950 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
33951 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
33952 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
33953 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
33954 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
33955 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
33956 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
33957 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
33958
33959 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
33960 Roland McGrath <roland@hack.frob.com>
33961
33962 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
33963 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
33964
33965 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
33966
33967 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
33968 __executable_start symbol instead of _start.
33969
33970 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
33971
33972 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
33973 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
33974 Move macros to...
33975 * sysdeps/gnu/ldsodefs.h: ... this new file.
33976
33977 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
33978 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
33979 instead of ELFOSABI_LINUX.
33980
33981 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
33982 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
33983 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
33984 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
33985 Likewise.
33986 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
33987 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
33988 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
33989 Likewise.
33990 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
33991 (ibm_extended_long_double): Add ieee_nan member.
33992 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
33993 (do_test): New function.
33994
33995 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
33996 TEST_TRUNC.
33997 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
33998 functions, renamed from truncdfsf_test, trunctfsf_test,
33999 trunctfdf_test.
34000 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
34001 functions.
34002 (do_test): Run all these.
34003
34004 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
34005
34006 * argp/argp-help.c: Fix typos.
34007 * argp/argp-parse.c: Likewise.
34008 * debug/backtracesyms.c: Likewise.
34009 * elf/elf.h: Likewise.
34010 * malloc/malloc.c: Likewise.
34011 * nis/nis_print.c: Likewise.
34012 * resolv/res_comp.c: Likewise.
34013 * stdlib/stdlib.h: Likewise.
34014 * sunrpc/clnt_tcp.c: Likewise.
34015 * sunrpc/clnt_udp.c: Likewise.
34016 * sunrpc/clnt_unix.c: Likewise.
34017 * sysdeps/unix/bsd/ptsname.c: Likewise.
34018 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
34019 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
34020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
34021 Likewise.
34022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
34023 Likewise.
34024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
34025 Likewise.
34026 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
34027
34028 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34029
34030 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
34031 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
34032
34033 2013-08-27 Mike Frysinger <vapier@gentoo.org>
34034
34035 [BZ #15897]
34036 * dlfcn/Makefile (tests): Add bug-dl-leaf.
34037 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
34038 ($(objpfx)bug-dl-leaf): New rule.
34039 ($(objpfx)bug-dl-leaf.so): Likewise.
34040 ($(objpfx)bug-dl-leaf.out): Likewise.
34041 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
34042 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
34043 * dlfcn/bug-dl-leaf.c: New test.
34044 * dlfcn/bug-dl-leaf-lib.c: Likewise.
34045 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
34046 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
34047 (dlclose): Likewise.
34048 (dlmopen): Likewise.
34049
34050 2013-08-27 Roland McGrath <roland@hack.frob.com>
34051
34052 * include/netdb.h [!_ISOMAC]:
34053 Don't include <tls.h>.
34054 (h_errno, __libc_h_errno): Move declaration and macros out of
34055 [_LIBC_REENTRANT].
34056
34057 * include/resolv.h [_RESOLV_H_]:
34058 Don't include <tls.h>.
34059 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
34060 * resolv/res_libc.c: Don't include <tls.h>.
34061 (_res): Use __attribute__ ((nocommon)) in place of
34062 __attribute__ ((section (".bss"))).
34063
34064 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
34065 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
34066
34067 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
34068
34069 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
34070 only under [SIOCGIFCONF && SIOCGIFNETMASK].
34071
34072 * resolv/res_mkquery.c: Include <sys/time.h>.
34073
34074 * inet/ifreq.c: Moved to ...
34075 * sysdeps/unix/ifreq.c: ... here.
34076 * inet/ifreq.c: New file, true stub version.
34077
34078 * socket/sa_len.c: New file.
34079 * socket/Makefile (aux): Add it.
34080 * sysdeps/unix/sysv/linux/Makefile
34081 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
34082 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
34083 and #include <socket/sa_len.c>.
34084 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
34085 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
34086
34087 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
34088 * bits/socket.h: ... here.
34089
34090 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
34091 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
34092 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
34093
34094 2013-08-27 Andreas Schwab <schwab@suse.de>
34095
34096 [BZ #15736]
34097 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
34098 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
34099 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
34100 * string/test-strcasecmp.c (test_main): Run tests in several
34101 locales.
34102 * string/test-strncasecmp.c (test_main): Likewise.
34103
34104 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
34105 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
34106 to __strcasecmp_nonascii and __strncasecmp_nonascii.
34107 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
34108 (__strncasecmp_ssse3) [PIC]: Likewise.
34109
34110 2013-08-26 Roland McGrath <roland@hack.frob.com>
34111
34112 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
34113
34114 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
34115 instead of explicitly declaring xdecrypt.
34116 * nis/nss_nis/nis-publickey.c: Likewise.
34117
34118 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
34119
34120 [BZ #15890]
34121 * nscd/aicache.c: Include res_hconf.h.
34122 (addhstaiX): Initialize res_hconf.
34123
34124 2013-08-26 Andreas Schwab <schwab@suse.de>
34125
34126 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
34127 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
34128
34129 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
34130
34131 * nscd/aicache.c (addhstaiX): Fix indentation.
34132
34133 2013-08-25 Mike Frysinger <vapier@gentoo.org>
34134
34135 * configure.ac: Quote $build_pt_chown test.
34136 * configure: Regenerated.
34137
34138 2013-08-23 Joseph Myers <joseph@codesourcery.com>
34139
34140 [BZ #15532]
34141 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
34142 * math/s_cexpf.c (__cexpf): Likewise.
34143 * math/s_cexpl.c (__cexpl): Likewise.
34144 * math/libm-test.inc (cexp_test_data): Correct expected return
34145 value for NaN + i0. Add another test.
34146
34147 2013-08-22 David S. Miller <davem@davemloft.net>
34148
34149 * po/ca.po: Update Catalan translation from translation project.
34150 * po/uk.po: Add Ukrainian translations from translation project.
34151
34152 2013-08-21 Joseph Myers <joseph@codesourcery.com>
34153
34154 [BZ #15797]
34155 * math/s_fdim.c (__fdim): Check for infinite arguments if result
34156 is infinite, not alongside NaN test.
34157 * math/s_fdimf.c (__fdimf): Likewise.
34158 * math/s_fdiml.c (__fdiml): Likewise.
34159 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
34160 errno is unchanged.
34161
34162 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
34163
34164 * argp/argp-help.c: Fix typos.
34165 * crypt/speeds.c: Likewise.
34166 * csu/check_fds.c: Likewise.
34167 * elf/dl-load.c: Likewise.
34168 * elf/dl-open.c: Likewise.
34169 * elf/reldep3.c: Likewise.
34170 * elf/reldep.c: Likewise.
34171 * elf/sprof.c: Likewise.
34172 * iconv/iconv_charmap.c: Likewise.
34173 * iconv/skeleton.c: Likewise.
34174 * iconv/strtab.c: Likewise.
34175 * io/lockf64.c: Likewise.
34176 * libio/libioP.h: Likewise.
34177 * resolv/gai_notify.c: Likewise.
34178 * resolv/ns_name.c: Likewise.
34179 * resolv/ns_samedomain.c: Likewise.
34180 * resolv/res_send.c: Likewise.
34181 * stdlib/random.c: Likewise.
34182 * sunrpc/rpc/xdr.h: Likewise.
34183 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
34184 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
34185 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
34186 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
34187 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
34188 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
34189 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
34190 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
34191 * sysdeps/mach/hurd/check_fds.c: Likewise.
34192 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
34193 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
34194 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
34195 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
34196 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
34197 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
34198 * sysdeps/pthread/aio_notify.c: Likewise.
34199 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
34200 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
34201 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
34202 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
34203 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
34204
34205 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34206
34207 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
34208 version if bit_Slow_SSE4_2 is set.
34209 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
34210 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
34211
34212 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34213
34214 [BZ #15867]
34215 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
34216 trampoline stack frame information.
34217 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
34218 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
34219 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
34220 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
34221 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
34222 * sysdeps/unix/sysv/linux/powerpc/init-first.c
34223 (_libc_vdso_platform_setup): Initialize the signal trampolines.
34224 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
34225 sa_flags value.
34226 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
34227 interrupting a syscall and set with option SA_SIGINFO.
34228
34229 2013-08-20 Joseph Myers <joseph@codesourcery.com>
34230
34231 [BZ #15531]
34232 * math/s_cproj.c (__cproj): Only return an infinity if one part of
34233 argument is infinite.
34234 * math/s_cprojf.c (__cprojf): Likewise.
34235 * math/s_cprojl.c (__cprojl): Likewise.
34236 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
34237 * math/libm-test.inc (cproj_test_data): Add more tests.
34238
34239 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
34240
34241 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
34242 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
34243 size. Use __ffs to determine corresponding shift.
34244
34245 2013-08-20 Joseph Myers <joseph@codesourcery.com>
34246 Roland McGrath <roland@hack.frob.com>
34247
34248 * Makefile (INSTALL): Remove trailing blank lines from output of
34249 makeinfo.
34250
34251 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34252
34253 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
34254 Align 32 bit compat elf_greg to 8 bytes.
34255
34256 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
34257
34258 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
34259
34260 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
34261
34262 * string/strcoll_l.c (coll_seq): New structure.
34263 (get_next_seq_cached): New function.
34264 (get_next_seq): New function.
34265 (do_compare): New function.
34266 (STRCOLL): Use GNU style definition. Simplify implementation
34267 by using get_next_seq, get_next_seq_cached and do_compare.
34268
34269 2013-08-16 Florian Weimer <fweimer@redhat.com>
34270
34271 [BZ #14699]
34272 CVE-2013-4237
34273 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
34274 member.
34275 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
34276 member.
34277 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
34278 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
34279 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
34280 conditional.
34281 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
34282 GETDENTS_64BIT_ALIGNED.
34283 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
34284 * manual/filesys.texi (Reading/Closing Directory): Document
34285 ENAMETOOLONG return value of readdir_r. Recommend readdir more
34286 strongly.
34287 * manual/conf.texi (Limits for Files): Add portability note to
34288 NAME_MAX, PATH_MAX.
34289 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
34290
34291 2013-08-13 Andreas Schwab <schwab@suse.de>
34292
34293 [BZ #15749]
34294 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
34295 of fabs.
34296 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
34297 LDBL_MAX_EXP >= 16384]: Add tests for it.
34298
34299 2013-08-12 David S. Miller <davem@davemloft.net>
34300
34301 * version.h (RELEASE): Set to "development".
34302 (VERSION): Set to "2.18.90".
34303 * NEWS: Add 2.19 section.
34304
34305 2013-08-03 David S. Miller <davem@davemloft.net>
34306
34307 * po/ko.po: Update Korean translation from translation project.
34308
34309 2013-08-01 David S. Miller <davem@davemloft.net>
34310
34311 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
34312 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
34313 Bilka.
34314
34315 2013-07-30 David S. Miller <davem@davemloft.net>
34316
34317 * po/fr.po: Update French translation from translation project.
34318
34319 2013-07-28 David S. Miller <davem@davemloft.net>
34320
34321 * po/cs.po: Update Czech translation from translation project.
34322
34323 * po/sv.po: Update Swedish translation from translation project.
34324
34325 2013-07-27 David S. Miller <davem@davemloft.net>
34326
34327 * po/eo.po: Update Esperanto translation from translation project.
34328
34329 * po/vi.po: Update Vietnamese translation from translation project.
34330
34331 * po/de.po: Update German translation from translation project.
34332
34333 2013-07-26 David S. Miller <davem@davemloft.net>
34334
34335 * po/bg.po: Update Bulgarian translation from translation project.
34336
34337 * po/nl.po: Update Dutch translation from translation project.
34338 * po/pl.po: Update Polish translation from translation project.
34339 * po/ru.po: Update Russian translation from translation project.
34340
34341 2013-07-24 David S. Miller <davem@davemloft.net>
34342
34343 * po/libc.pot: Update.
34344
34345 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34346
34347 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
34348 variable page size.
34349 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
34350 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
34351 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
34352
34353 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34354
34355 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
34356
34357 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
34358 Andreas Schwab <schwab@suse.de>
34359 Roland McGrath <roland@hack.frob.com>
34360 Joseph Myers <joseph@codesourcery.com>
34361 Carlos O'Donell <carlos@redhat.com>
34362
34363 [BZ #15755]
34364 * config.h.in: Define HAVE_PT_CHOWN.
34365 * config.make.in (build-pt-chown): New variable.
34366 * configure.in (--enable-pt_chown): New configure option.
34367 * configure: Regenerate.
34368 * login/Makefile: Include Makeconfig. Build pt_chown only if
34369 build-pt-chown is enabled.
34370 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
34371 pt_chown to fix pty ownership.
34372 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
34373 CLOSE_ALL_FDS.
34374 * manual/install.texi (Configuring and compiling): Mention
34375 --enable-pt_chown. Add @findex for grantpt.
34376 * INSTALL: Regenerate.
34377
34378 2013-07-20 David S. Miller <davem@davemloft.net>
34379
34380 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
34381 difference between 32-bit and 64-bit.
34382
34383 2013-07-15 Carlos O'Donell <carlos@redhat.com>
34384
34385 [BZ #15711]
34386 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
34387 Avoid system header dependency with -ffreestanding.
34388 ($(objpfx)bits/syscall%d): Likewise.
34389
34390 2013-07-13 David S. Miller <davem@davemloft.net>
34391
34392 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
34393 underflows from atanl/atan2l due to bug 15319.
34394 (casinh_test_data): Likewise.
34395
34396 2013-07-07 David S. Miller <davem@davemloft.net>
34397
34398 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
34399
34400 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
34401
34402 * sysdeps/i386/fpu/libm-test-ulps: Update.
34403 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34404
34405 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
34406
34407 * configure.in (--enable-lock-elision): Fix message text.
34408 * INSTALL: Regenerate.
34409 * configure: Regenerate.
34410
34411 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34412
34413 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34414
34415 2013-07-03 Andreas Jaeger <aj@suse.de>
34416
34417 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
34418 define.
34419 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
34420 (ptrace_peeksiginfo_args): Add.
34421 (__ptrace_peeksiginfo_flags): Add.
34422 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34423 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34424 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34425
34426 2013-07-03 Allan McRae <allan@archlinux.org>
34427
34428 * sysdeps/i386/fpu/libm-test-ulps: Update.
34429
34430 2013-07-02 David S. Miller <davem@davemloft.net>
34431
34432 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34433
34434 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
34435
34436 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34437
34438 2013-07-02 Joseph Myers <joseph@codesourcery.com>
34439
34440 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
34441 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34442
34443 2013-07-02 Andi Kleen <ak@linux.intel.com>
34444
34445 * config.h.in (ENABLE_LOCK_ELISION): Add.
34446 * configure.in (--enable-lock-elision): Add option.
34447 * manual/install.texi: Document --enable lock elision.
34448 * configure: Regenerate
34449 * INSTALL: Regenerate.
34450
34451 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
34452
34453 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
34454 SSE4.2 strcasecmp for libc.a.
34455 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
34456
34457 2013-07-02 Joseph Myers <joseph@codesourcery.com>
34458
34459 [BZ #13304]
34460 * soft-fp/op-common.h (_FP_FMA): New macro.
34461 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
34462 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
34463 (_FP_MUL_MEAT_1_imm): ... here.
34464 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
34465 (_FP_MUL_MEAT_1_wide): ... here.
34466 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
34467 (_FP_MUL_MEAT_1_hard): ... here.
34468 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
34469 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
34470 (_FP_MUL_MEAT_2_wide): ... here.
34471 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
34472 (_FP_MUL_MEAT_2_wide_3mul): ... here.
34473 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
34474 (_FP_MUL_MEAT_2_gmp): ... here.
34475 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
34476 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
34477 (_FP_MUL_MEAT_4_wide): ... here.
34478 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
34479 (_FP_MUL_MEAT_4_gmp): ... here.
34480 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
34481 (_FP_WFRACBITS_DW_S): Likewise.
34482 (_FP_WFRACXBITS_DW_S): Likewise.
34483 (_FP_HIGHBIT_DW_S): Likewise.
34484 (FP_FMA_S): Likewise.
34485 (_FP_FRAC_HIGH_DW_S): Likewise.
34486 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
34487 (_FP_WFRACBITS_DW_D): Likewise.
34488 (_FP_WFRACXBITS_DW_D): Likewise.
34489 (_FP_HIGHBIT_DW_D): Likewise.
34490 (FP_FMA_D): Likewise.
34491 (_FP_FRAC_HIGH_DW_D): Likewise.
34492 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
34493 (_FP_WFRACBITS_DW_E): Likewise.
34494 (_FP_WFRACXBITS_DW_E): Likewise.
34495 (_FP_HIGHBIT_DW_E): Likewise.
34496 (FP_FMA_E): Likewise.
34497 (_FP_FRAC_HIGH_DW_E): Likewise.
34498 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
34499 (_FP_WFRACBITS_DW_Q): Likewise.
34500 (_FP_WFRACXBITS_DW_Q): Likewise.
34501 (_FP_HIGHBIT_DW_Q): Likewise.
34502 (FP_FMA_Q): Likewise.
34503 (_FP_FRAC_HIGH_DW_Q): Likewise.
34504 * soft-fp/fmasf4.c: New file.
34505 * soft-fp/fmadf4.c: Likewise.
34506 * soft-fp/fmatf4.c: Likewise.
34507
34508 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34509
34510 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
34511 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
34512 Silvermont.
34513 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
34514 macro.
34515 (index_Slow_SSE4_2): Likewise.
34516 (index_Prefer_PMINUB_for_stringop): Likewise.
34517 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
34518 bit_Slow_SSE4_2 is set.
34519 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
34520 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
34521
34522 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
34523
34524 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
34525 rtld_global._dl_hwcap2.
34526 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
34527 POWER8.
34528 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
34529 POWER8 feature descriptions defined in _dl_hwcap2.
34530 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
34531 string handling for POWER8 feature bits.
34532 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
34533 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
34534 _dl_powerpc_cap_flags.
34535 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
34536 * sysdeps/powerpc/rtld-global-offsets.sym
34537 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
34538 _dl_hwcap2 in the rtld_global_ro structure.
34539
34540 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
34541
34542 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
34543 hardware capabilities in support of AT_HWCAP2.
34544 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
34545 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
34546 GLRO(dl_hwcap2).
34547 (_dl_show_auxv): Add support for calling _dl_procinfo to display
34548 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
34549 explicitly the unknown a_type display mechanism is used.
34550 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
34551 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
34552 struct member.
34553 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
34554 to macro prototype for AT_HWCAP2 support.
34555 * sysdeps/i386/dl-procinfo.h: Likewise.
34556 * sysdeps/s390/dl-procinfo.h: Likewise.
34557 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
34558 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
34559 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
34560 return -1 for unknown a_type display fallback.
34561 * sysdeps/sparc/dl-procinfo.h: Likewise.
34562 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
34563 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
34564
34565 2013-06-28 Joseph Myers <joseph@codesourcery.com>
34566
34567 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
34568 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
34569
34570 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
34571
34572 [BZ #12492]
34573 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
34574 mprotect making __stack_prot writable.
34575
34576 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
34577 Joseph Myers <joseph@codesourcery.com>
34578
34579 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
34580 as being properly aligned.
34581
34582 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
34583
34584 * dlfcn/modstatic5.c: New file.
34585 * dlfcn/tststatic5.c: New file.
34586 * dlfcn/Makefile (tests): Add tststatic5.
34587 (tests-static): Likewise.
34588 (modules-names): Add modstatic5.
34589 (tststatic5-ENV): New variable.
34590 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
34591
34592 [BZ #15022]
34593 * elf/dl-support.c (_dl_main_map): New variable.
34594 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
34595 (_dl_nns, _dl_load_adds): Set to 1.
34596 (_dl_initial_searchlist): Refer to _dl_main_map.
34597 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
34598 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
34599 call to _dl_get_origin.
34600 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
34601 around call_map.
34602 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
34603 * dlfcn/modstatic3.c: New file.
34604 * dlfcn/tststatic3.c: New file.
34605 * dlfcn/tststatic4.c: New file.
34606 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
34607 (tests-static): Likewise.
34608 (modules-names): Add modstatic3.
34609 (tststatic3-ENV, tststatic4-ENV): New variables.
34610 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
34611 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
34612
34613 2013-06-26 Joseph Myers <joseph@codesourcery.com>
34614
34615 * configure.in (CC): Require GCC version 4.4 or later.
34616 * configure: Regenerated.
34617 * manual/install.texi (Tools for Compilation): Update GCC version
34618 requirement.
34619 * INSTALL: Regenerated.
34620
34621 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34622
34623 [BZ #15674]
34624 * string/test-memcmp.c (check2): New.
34625 (main): Call check2.
34626
34627 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
34628
34629 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
34630
34631 [BZ #15022]
34632 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
34633 over to...
34634 (dl_open_worker) [!SHARED]: ... here.
34635
34636 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
34637
34638 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
34639
34640 2013-06-25 Richard Henderson <rth@redhat.com>
34641
34642 * locale/programs/locarchive.c: Include <libc-internal.h>
34643
34644 2013-06-25 Joseph Myers <joseph@codesourcery.com>
34645
34646 * manual/texinfo.tex: Update to version 2013-06-21.17, with
34647 trailing whitespace removed.
34648
34649 2013-06-24 Mike Frysinger <vapier@gentoo.org>
34650
34651 [BZ #10283]
34652 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
34653 * locale/programs/locarchive.c: Include libc-mmap.h.
34654 (prepare_address_space): Take two new outputs (the mmap base and len).
34655 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
34656 values.
34657 (create_archive): Declare new mmap base and len values for
34658 prepare_address_space, and store the result in ah.
34659 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
34660 (enlarge_archive): If ah->mmap_base is not NULL, use that and
34661 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
34662 Declare new mmap base and len values for
34663 prepare_address_space, and store the result in new_ah.
34664 (open_archive): Declare new mmap base and len values for
34665 prepare_address_space, and store the result in ah.
34666 (close_archive): If ah->mmap_base is not NULL, use that and
34667 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
34668 * sysdeps/generic/libc-mmap.h: New file.
34669
34670 2013-06-24 Mike Frysinger <vapier@gentoo.org>
34671
34672 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
34673 (ALIGN_UP): Likewise.
34674 (PTR_ALIGN_DOWN): Likewise.
34675 (PTR_ALIGN_UP): Likewise.
34676
34677 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
34678
34679 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
34680 entry mapped to PPC_PLATFORM_POWER8.
34681 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
34682 POWER8.
34683 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
34684 (_dl_string_platform): Add case for exporting platform position for
34685 POWER8.
34686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
34687 search path to sysdeps/powerpc/powerpc32/power8 directory.
34688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
34689 search path to sysdeps/powerpc/powerpc64/power8 directory.
34690 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
34691 power7 directories.
34692 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
34693 power7 directories.
34694
34695 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
34696
34697 * INSTALL: Regenerate.
34698
34699 * nscd/connections.c (nscd_init): Fix comment.
34700
34701 2013-06-22 Joseph Myers <joseph@codesourcery.com>
34702
34703 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
34704
34705 [BZ #15667]
34706 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
34707 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
34708
34709 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
34710
34711 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
34712 DL_DST_REQ_STATIC.
34713 (DL_DST_REQ_STATIC): Remove macro.
34714
34715 2013-06-21 Joseph Myers <joseph@codesourcery.com>
34716
34717 [BZ #7006]
34718 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
34719 with a shift of 0 bits.
34720
34721 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
34722
34723 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
34724 $(tststatic-ENV).
34725
34726 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
34727
34728 [BZ #15655]
34729 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
34730
34731 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34732
34733 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
34734 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
34735 accepts -fno-tree-loop-distribute-patterns.
34736 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
34737 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
34738 recursive call.
34739 * string/memset.c (memset): Likewise.
34740 * string/test-memmove.c (simple_memmove): Disable loop transformation
34741 to library calls.
34742 * string/test-memset.c (simple_memset): Likewise.
34743 * benchtests/bench-memmove.c (simple_memmove): Likewise.
34744 * benchtests/bench-memset.c (simple_memset): Likewise.
34745 * configure: Regenerated.
34746
34747 2013-06-20 Joseph Myers <joseph@codesourcery.com>
34748
34749 * math/test-misc.c (main): Ignore fesetround failure when failures
34750 of subsequent rounding tests would be ignored.
34751
34752 [BZ #15654]
34753 * math/fedisblxcpt.c (fedisableexcept): Return 0.
34754 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
34755 * math/fegetenv.c (__fegetenv): Return 0.
34756 * math/fegetexcept.c (fegetexcept): Return 0.
34757 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
34758 FE_TONEAREST.
34759 * math/feholdexcpt.c (feholdexcept): Return 0.
34760 * math/fesetenv.c (__fesetenv): Return 0.
34761 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
34762 argument FE_TONEAREST.
34763 * math/feupdateenv.c (__feupdateenv): Return 0.
34764 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
34765
34766 2013-06-18 Roland McGrath <roland@hack.frob.com>
34767
34768 * elf/rtld-Rules (rtld-compile-command.S): New variable.
34769 (rtld-compile-command.s, rtld-compile-command.c): New variables.
34770 ($(objpfx)rtld-%.os rules): Use them.
34771
34772 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34773
34774 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
34775 fields.
34776
34777 2013-06-17 Roland McGrath <roland@hack.frob.com>
34778
34779 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
34780 length of target pattern, then descending length of dependency pattern.
34781 * configure.in (AWK): Require gawk 3.1.2 or newer.
34782 * manual/install.texi (Tools for Compilation): Say that we do.
34783 * configure: Regenerated.
34784
34785 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
34786 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
34787 * scripts/sysd-rules.awk: ... this new script.
34788 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
34789 than a glob-style pattern.
34790
34791 2013-06-17 Joseph Myers <joseph@codesourcery.com>
34792
34793 * math/test-misc.c (main): Do not treat incorrectly rounded
34794 conversions as failure unless ROUNDING_TESTS passes.
34795
34796 2013-06-15 Joseph Myers <joseph@codesourcery.com>
34797
34798 [BZ #15631]
34799 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
34800 restore exception state around main square root computation, then
34801 check for inexactness explicitly.
34802
34803 * math/libm-test.inc (fma_test_data): Add another test.
34804
34805 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
34806
34807 * manual/threads.texi (Non-POSIX Extensions): New document
34808 node. Document pthread_getattr_default_np and
34809 pthread_setattr_default_np.
34810
34811 * Versions.def (libpthread): Add GLIBC_2.18.
34812 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
34813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
34814 Likewise.
34815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
34816 Likewise.
34817 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
34818 Likewise.
34819 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
34820 Likewise.
34821 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
34822 Likewise.
34823 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
34824 Likewise.
34825 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
34826 Likewise.
34827 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
34828 Likewise.
34829 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
34830 Likewise.
34831
34832 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34833
34834 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34835 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
34836
34837 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
34838 H.J. Lu <hjl.tools@gmail.com>
34839
34840 [BZ #15627]
34841 * sysdeps/x86_64/rtld-memset.c: Remove file.
34842 * sysdeps/x86_64/rtld-memset.S: New file.
34843
34844 2013-06-14 Joseph Myers <joseph@codesourcery.com>
34845
34846 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
34847 (test_in_one_mode): Take arguments for whether the rounding mode
34848 is supported for each floating-point type.
34849 (do_test): Pass new arguments to test_in_one_mode using
34850 ROUNDING_TESTS.
34851
34852 2013-06-13 Roland McGrath <roland@hack.frob.com>
34853
34854 * posix/tst-waitid.c (do_test): Distinguish different instances of
34855 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
34856 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
34857 before entering the kernel for waitpid.
34858
34859 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
34860
34861 * NEWS: Fix note on clock function precision. Text by Roland
34862 McGrath.
34863
34864 2013-06-13 Roland McGrath <roland@hack.frob.com>
34865
34866 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
34867 it into place only when and if the sanity check passes.
34868
34869 2013-06-13 Joseph Myers <joseph@codesourcery.com>
34870
34871 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
34872 output for whether conversion result is exact. Take argument
34873 indicating whether type is IBM long double.
34874 (round_for_all): Change need_exact field to ibm_ld.
34875 * stdlib/tst-strtod-round.c (struct exactness): New type.
34876 (struct test): Change bool ld_ok field to struct exactness exact.
34877 (TEST): Update all definitions for change to field.
34878 (tests): Regenerate array contents.
34879 (test_in_one_mode): Take pointer to new field instead of old ld_ok
34880 field value. Check for IBM long double here.
34881 (do_test): Update calls to test_in_one_mode.
34882
34883 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
34884
34885 [BZ #12515]
34886 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
34887 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
34888
34889 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34890
34891 [BZ #15605]
34892 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
34893 generated by the compiler on loop optimizations.
34894 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
34895 general definitions.
34896
34897 2013-06-12 Joseph Myers <joseph@codesourcery.com>
34898
34899 * math/bug-nextafter.c: Include <math-tests.h>.
34900 (main): Only test for exceptions if EXCEPTION_TESTS is true for
34901 the relevant type.
34902 * math/bug-nexttoward.c: Include <math-tests.h>.
34903 (main): Only test for exceptions if EXCEPTION_TESTS is true for
34904 the relevant type.
34905 * math/test-misc.c: Include <math-tests.h>.
34906 (main): Only test for exceptions if EXCEPTION_TESTS is true for
34907 the relevant type.
34908
34909 2013-06-12 Andreas Jaeger <aj@suse.de>
34910
34911 * po/ia.po: Update Interlingua translation from translation
34912 project.
34913
34914 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
34915
34916 * include/fenv.h: Include stdbool.h.
34917 (struct rm_ctx): New structure.
34918 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
34919 Define macro.
34920 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
34921 (SET_RESTORE_ROUNDF): Likewise.
34922 (SET_RESTORE_ROUNDL): Likewise.
34923 (SET_RESTORE_ROUND_NOEX): Likewise.
34924 (SET_RESTORE_ROUND_NOEXF): Likewise.
34925 (SET_RESTORE_ROUND_NOEXL): Likewise.
34926 (SET_RESTORE_ROUND_53BIT): Likewise.
34927 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
34928 (libc_feresetround_noexf_ctx): Likewise.
34929 (libc_feresetround_noexl_ctx): Likewise.
34930 (libc_feholdsetround_53bit_ctx): Likewise.
34931 (libc_feresetround_53bit_ctx): Likewise.
34932 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
34933 (libc_feholdexcept_setround_sse_ctx): New function.
34934 (libc_fesetenv_sse_ctx): Likewise.
34935 (libc_feupdateenv_sse_ctx): Likewise.
34936 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
34937 (libc_feholdexcept_setround_387_ctx): Likewise.
34938 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
34939 (libc_feholdsetround_387_prec_ctx): Likewise.
34940 (libc_feholdsetround_387_ctx): Likewise.
34941 (libc_feholdsetround_387_53bit_ctx): Likewise.
34942 (libc_feholdsetround_sse_ctx): Likewise.
34943 (libc_feresetround_sse_ctx): Likewise.
34944 (libc_feresetround_387_ctx): Likewise.
34945 (libc_feupdateenv_387_ctx): Likewise.
34946 (libc_feholdexcept_setroundf_ctx): Define macro.
34947 (libc_fesetenvf_ctx): Likewise.
34948 (libc_feupdateenvf_ctx): Likewise.
34949 (libc_feholdsetroundf_ctx): Likewise.
34950 (libc_feresetroundf_ctx): Likewise.
34951 (libc_feholdexcept_setround_ctx): Likewise.
34952 (libc_fesetenv_ctx): Likewise.
34953 (libc_feupdateenv_ctx): Likewise.
34954 (libc_feholdsetround_ctx): Likewise.
34955 (libc_feresetround_ctx): Likewise.
34956 (libc_feholdexcept_setroundl_ctx): Likewise.
34957 (libc_feupdateenvl_ctx): Likewise.
34958 (libc_feholdsetroundl_ctx): Likewise.
34959 (libc_feresetroundl_ctx): Likewise.
34960 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
34961 (libc_feresetround_53bit_ctx): Likewise.
34962
34963 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
34964
34965 * locale/iso-639.def: Convert to UTF-8.
34966
34967 2013-06-11 Joseph Myers <joseph@codesourcery.com>
34968
34969 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
34970 (EXCEPTION_TESTS_double): Likewise.
34971 (EXCEPTION_TESTS_long_double): Likewise.
34972 (EXCEPTION_TESTS): Likewise.
34973 * math/libm-test.inc (test_exceptions): Only test exceptions if
34974 EXCEPTION_TESTS (FLOAT).
34975
34976 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
34977
34978 * benchtests/Makefile (string-bench): Add strcpy_chk and
34979 stpcpy_chk.
34980 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
34981 * benchtests/bench-stpcpy_chk.c: New file.
34982 * benchtests/bench-strcpy_chk-ifunc.c: New file.
34983 * benchtests/bench-strcpy_chk.c: New file.
34984 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
34985 code.
34986 (do_test): Likewise.
34987
34988 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
34989
34990 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
34991 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
34992 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
34993 with tabs where appropriate.
34994 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
34995 dl-procinfo.h.
34996 [PPC_PLATFORM_PPC440]: Likewise.
34997 [PPC_PLATFORM_PPC464]: Likewise.
34998 [PPC_PLATFORM_PPC476]: Likewise.
34999 (_dl_string_platform): Add support for detecting ppc405, ppc440,
35000 ppc464, and ppc476 platform strings merging from ports/
35001 dl-procinfo.h.
35002
35003 2013-06-11 Andreas Schwab <schwab@suse.de>
35004
35005 [BZ #14991]
35006 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
35007 (from_ucs4_idx): Regenerate.
35008 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
35009 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
35010 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
35011 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
35012 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
35013 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
35014 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
35015 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
35016 from FROM_LOOP and TO_LOOP specific macros.
35017 (BODY): Handle combining characters.
35018 * iconvdata/BIG5HKSCS.irreversible: Update.
35019 * iconvdata/BIG5HKSCS.precomposed: New file.
35020 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
35021 characters.
35022 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
35023
35024 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
35025
35026 * include/sys/time.h: Fix indentation and add copyright header.
35027
35028 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
35029 (do_test): Likewise.
35030 * string/test-memchr.c (do_one_test): Likewise.
35031 (do_test): Likewise.
35032 * string/test-memcmp.c (do_one_test): Likewise.
35033 (do_test): Likewise.
35034 * string/test-memcpy.c (do_one_test): Likewise.
35035 (do_test): Likewise.
35036 * string/test-memmem.c (do_one_test): Likewise.
35037 (do_test): Likewise.
35038 (do_random_tests): Likewise.
35039 * string/test-memmove.c (do_one_test): Likewise.
35040 (do_test): Likewise.
35041 * string/test-memset.c (do_one_test): Likewise.
35042 (do_test): Likewise.
35043 * string/test-rawmemchr.c (do_one_test): Likewise.
35044 (do_test): Likewise.
35045 * string/test-strcasecmp.c (do_one_test): Likewise.
35046 (do_test): Likewise.
35047 * string/test-strcasestr.c (do_one_test): Likewise.
35048 (do_test): Likewise.
35049 * string/test-strcat.c (do_one_test): Likewise.
35050 (do_test): Likewise.
35051 * string/test-strchr.c (do_one_test): Likewise.
35052 (do_test): Likewise.
35053 * string/test-strcmp.c (do_one_test): Likewise.
35054 (do_test): Likewise.
35055 * string/test-strcpy.c (do_one_test): Likewise.
35056 (do_test): Likewise.
35057 * string/test-string.h: Likewise.
35058 (test_init): Likewise.
35059 * string/test-strlen.c (do_one_test): Likewise.
35060 (do_test): Likewise.
35061 * string/test-strncasecmp.c (do_one_test): Likewise.
35062 (do_test): Likewise.
35063 * string/test-strncat.c (do_one_test): Likewise.
35064 (do_test): Likewise.
35065 * string/test-strncmp.c (do_one_test): Likewise.
35066 (do_test_limit): Likewise.
35067 (do_test): Likewise.
35068 * string/test-strncpy.c (do_one_test): Likewise.
35069 (do_test): Likewise.
35070 * string/test-strnlen.c (do_one_test): Likewise.
35071 (do_test): Likewise.
35072 * string/test-strpbrk.c (do_one_test): Likewise.
35073 (do_test): Likewise.
35074 * string/test-strrchr.c (do_one_test): Likewise.
35075 (do_test): Likewise.
35076 * string/test-strspn.c (do_one_test): Likewise.
35077 (do_test): Likewise.
35078 * string/test-strstr.c (do_one_test): Likewise.
35079 (do_test): Likewise.
35080
35081 * benchtests/Makefile (string-bench): Add string benchmarks.
35082 * benchtests/bench-bcopy-ifunc.c: New file.
35083 * benchtests/bench-bcopy.c: New file.
35084 * benchtests/bench-bzero-ifunc.c: New file.
35085 * benchtests/bench-bzero.c: New file.
35086 * benchtests/bench-memccpy-ifunc.c: New file.
35087 * benchtests/bench-memccpy.c: New file.
35088 * benchtests/bench-memchr-ifunc.c: New file.
35089 * benchtests/bench-memchr.c: New file.
35090 * benchtests/bench-memcmp-ifunc.c: New file.
35091 * benchtests/bench-memcmp.c: New file.
35092 * benchtests/bench-memmem-ifunc.c: New file.
35093 * benchtests/bench-memmem.c: New file.
35094 * benchtests/bench-memmove-ifunc.c: New file.
35095 * benchtests/bench-memmove.c: New file.
35096 * benchtests/bench-mempcpy-ifunc.c: New file.
35097 * benchtests/bench-mempcpy.c: New file.
35098 * benchtests/bench-memset-ifunc.c: New file.
35099 * benchtests/bench-memset.c: New file.
35100 * benchtests/bench-rawmemchr-ifunc.c: New file.
35101 * benchtests/bench-rawmemchr.c: New file.
35102 * benchtests/bench-stpcpy-ifunc.c: New file.
35103 * benchtests/bench-stpcpy.c: New file.
35104 * benchtests/bench-stpncpy-ifunc.c: New file.
35105 * benchtests/bench-stpncpy.c: New file.
35106 * benchtests/bench-strcasecmp-ifunc.c: New file.
35107 * benchtests/bench-strcasecmp.c: New file.
35108 * benchtests/bench-strcasestr-ifunc.c: New file.
35109 * benchtests/bench-strcasestr.c: New file.
35110 * benchtests/bench-strcat-ifunc.c: New file.
35111 * benchtests/bench-strcat.c: New file.
35112 * benchtests/bench-strchr-ifunc.c: New file.
35113 * benchtests/bench-strchr.c: New file.
35114 * benchtests/bench-strchrnul-ifunc.c: New file.
35115 * benchtests/bench-strchrnul.c: New file.
35116 * benchtests/bench-strcmp-ifunc.c: New file.
35117 * benchtests/bench-strcmp.c: New file.
35118 * benchtests/bench-strcpy-ifunc.c: New file.
35119 * benchtests/bench-strcpy.c: New file.
35120 * benchtests/bench-strcspn-ifunc.c: New file.
35121 * benchtests/bench-strcspn.c: New file.
35122 * benchtests/bench-strlen-ifunc.c: New file.
35123 * benchtests/bench-strlen.c: New file.
35124 * benchtests/bench-strncasecmp-ifunc.c: New file.
35125 * benchtests/bench-strncasecmp.c: New file.
35126 * benchtests/bench-strncat-ifunc.c: New file.
35127 * benchtests/bench-strncat.c: New file.
35128 * benchtests/bench-strncmp-ifunc.c: New file.
35129 * benchtests/bench-strncmp.c: New file.
35130 * benchtests/bench-strncpy-ifunc.c: New file.
35131 * benchtests/bench-strncpy.c: New file.
35132 * benchtests/bench-strnlen-ifunc.c: New file.
35133 * benchtests/bench-strnlen.c: New file.
35134 * benchtests/bench-strpbrk-ifunc.c: New file.
35135 * benchtests/bench-strpbrk.c: New file.
35136 * benchtests/bench-strrchr-ifunc.c: New file.
35137 * benchtests/bench-strrchr.c: New file.
35138 * benchtests/bench-strspn-ifunc.c: New file.
35139 * benchtests/bench-strspn.c: New file.
35140 * benchtests/bench-strstr-ifunc.c: New file.
35141 * benchtests/bench-strstr.c: New file.
35142
35143 * benchtests/Makefile: Disable parallel execution of targets.
35144 (string-bench): Add memcpy.
35145 (benchset): New variable to store a list of benchmark sets.
35146 (bench-func): Renamed from bench.
35147 (bench-set): New target.
35148 (bench): Depend on bench-func and bench-set.
35149 * benchtests/README: Add section on benchmark sets.
35150 * benchtests/bench-memcpy-ifunc.c: New file.
35151 * benchtests/bench-memcpy.c: New file.
35152 * benchtests/bench-string.h: New file.
35153
35154 2013-06-11 Andreas Schwab <schwab@suse.de>
35155
35156 [BZ #15577]
35157 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
35158 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
35159 values in the triple.
35160 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
35161 terminator in the group key.
35162
35163 2013-06-11 Andreas Jaeger <aj@suse.de>
35164
35165 * po/zh_TW.po: Update Chinese (traditional) translation from
35166 translation project.
35167
35168 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
35169
35170 * include/time.h (__clock_gettime): Add libc_hidden_proto.
35171 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
35172 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
35173 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
35174 (clock_getcpuclockid): Likewise.
35175 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
35176 Add weak_alias and libc_hidden_def.
35177 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
35178 * rt/clock_gettime.c (clock_gettime): Rename to
35179 __clock_gettime. Add weak_alias and libc_hidden_def.
35180 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
35181 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
35182 __clock_nanosleep. Add weak_alias and libc_hidden_def.
35183 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
35184 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
35185 Likewise.
35186 * rt/clock_settime.c (clock_settime): Rename to
35187 __clock_settime. Add weak_alias and libc_hidden_def.
35188 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
35189
35190 2013-06-10 Joseph Myers <joseph@codesourcery.com>
35191
35192 * mach/err_boot.sub: Remove trailing whitespace.
35193 * mach/err_ipc.sub: Likewise.
35194 * mach/err_mach.sub: Likewise.
35195
35196 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
35197 (ROUNDING_TESTS_double): Likewise.
35198 (ROUNDING_TESTS_long_double): Likewise.
35199 (ROUNDING_TESTS): Likewise.
35200 * math/libm-test.inc: Include <math-tests.h>.
35201 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
35202 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
35203 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
35204 (IF_ROUND_INIT_FE_UPWARD): Likewise.
35205
35206 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
35207
35208 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
35209 of assigning.
35210
35211 2013-06-08 Joseph Myers <joseph@codesourcery.com>
35212
35213 * sysdeps/gnu/errlist.awk: Do not generate space at end of
35214 otherwise empty TRANS lines.
35215 * sysdeps/gnu/errlist.c: Regenerated.
35216
35217 * catgets/gencat.c (error_print): Use (void) in function
35218 definition.
35219 * crypt/crypt_util.c (__init_des): Likewise.
35220 * crypt/speeds.c (Stop): Likewise.
35221 (main): Likewise.
35222 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
35223 * inet/ruserpass.c (token): Likewise.
35224 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
35225 * intl/localealias.c (extend_alias_table): Likewise.
35226 * intl/plural-exp.c (init_germanic_plural): Likewise.
35227 * libio/fcloseall.c (__fcloseall): Likewise.
35228 * libio/genops.c (_IO_flush_all): Likewise.
35229 (_IO_flush_all_linebuffered): Likewise.
35230 (_IO_cleanup): Likewise.
35231 (_IO_iter_begin): Likewise.
35232 (_IO_iter_end): Likewise.
35233 (_IO_list_lock): Likewise.
35234 (_IO_list_unlock): Likewise.
35235 (_IO_list_resetlock): Likewise.
35236 * libio/getchar.c (getchar): Likewise.
35237 * libio/getchar_u.c (getchar_unlocked): Likewise.
35238 * libio/getwchar.c (getwchar): Likewise.
35239 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
35240 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
35241 * login/getpt.c (__getpt): Likewise.
35242 * login/tst-utmp.c (main): Likewise.
35243 * malloc/hooks.c (__malloc_check_init): Likewise.
35244 * malloc/malloc.c (__malloc_stats): Likewise.
35245 * malloc/mtrace.c (tr_break): Likewise.
35246 (mtrace): Likewise.
35247 (muntrace): Likewise.
35248 * misc/fstab.c (endfsent): Likewise.
35249 * misc/getclktck.c (__getclktck): Likewise.
35250 * misc/getdtsz.c (__getdtablesize): Likewise.
35251 * misc/gethostid.c (gethostid): Likewise.
35252 * misc/getpagesize.c (__getpagesize): Likewise.
35253 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
35254 (__get_nprocs): Likewise.
35255 (__get_phys_pages): Likewise.
35256 (__get_avphys_pages): Likewise.
35257 * misc/getttyent.c (getttyent): Likewise.
35258 (setttyent): Likewise.
35259 (endttyent): Likewise.
35260 * misc/getusershell.c (getusershell): Likewise.
35261 (endusershell): Likewise.
35262 (setusershell): Likewise.
35263 (initshells): Likewise.
35264 * misc/hsearch.c (__hdestroy): Likewise.
35265 * misc/sync.c (sync): Likewise.
35266 * misc/syslog.c (closelog_internal): Likewise.
35267 (closelog): Likewise.
35268 * misc/ttyslot.c (ttyslot): Likewise.
35269 * misc/vhangup.c (vhangup): Likewise.
35270 * posix/fork.c (__fork): Likewise.
35271 * posix/getegid.c (__getegid): Likewise.
35272 * posix/geteuid.c (__geteuid): Likewise.
35273 * posix/getgid.c (__getgid): Likewise.
35274 * posix/getpid.c (__getpid): Likewise.
35275 * posix/getppid.c (__getppid): Likewise.
35276 * posix/getuid.c (__getuid): Likewise.
35277 * posix/pause.c (pause): Likewise.
35278 * posix/setpgrp.c (setpgrp): Likewise.
35279 * posix/setsid.c (__setsid): Likewise.
35280 * posix/test-vfork.c (noop): Likewise.
35281 * resolv/gethnamaddr.c (_endhtent): Likewise.
35282 (_gethtent): Likewise.
35283 (ht_endhostent): Likewise.
35284 (gethostent): Likewise.
35285 (dns_service): Likewise.
35286 * stdlib/drand48.c (drand48): Likewise.
35287 * stdlib/lrand48.c (lrand48): Likewise.
35288 * stdlib/mrand48.c (mrand48): Likewise.
35289 * stdlib/rand.c (rand): Likewise.
35290 * stdlib/random.c (__random): Likewise.
35291 * stdlib/setenv.c (clearenv): Likewise.
35292 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
35293 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
35294 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
35295 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
35296 (__get_nprocs): Likewise.
35297 (__get_phys_pages): Likewise.
35298 (__get_avphys_pages): Likewise.
35299 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
35300 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
35301 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
35302 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
35303 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
35304 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
35305 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
35306 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
35307 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
35308 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
35309 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
35310 * sysdeps/mach/hurd/sync.c (sync): Likewise.
35311 * sysdeps/posix/clock.c (clock): Likewise.
35312 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
35313 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
35314 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
35315 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
35316 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
35317 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
35318 (__get_nprocs_conf): Likewise.
35319 (__get_phys_pages): Likewise.
35320 (__get_avphys_pages): Likewise.
35321 * time/clock.c (clock): Likewise.
35322 * time/tzset.c (__tzname_max): Likewise.
35323
35324 2013-06-07 Joseph Myers <joseph@codesourcery.com>
35325
35326 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
35327 (__bswap_32): Do not use "register".
35328 * crypt/crypt.c (_ufc_doit_r): Likewise.
35329 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
35330 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
35331 * gmon/gmon.c (__monstartup): Likewise.
35332 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
35333 * hurd/hurdmalloc.c (more_memory): Likewise.
35334 (malloc): Likewise.
35335 (free): Likewise.
35336 (realloc): Likewise.
35337 (malloc_fork_prepare): Likewise.
35338 (malloc_fork_parent): Likewise.
35339 (malloc_fork_child): Likewise.
35340 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
35341 (_svcauth_des): Likewise.
35342 * inet/inet_lnaof.c (inet_lnaof): Likewise.
35343 * inet/inet_net.c (inet_network): Likewise.
35344 * inet/inet_netof.c (inet_netof): Likewise.
35345 * inet/rcmd.c (__validuser2_sa): Likewise.
35346 * io/fts.c (fts_open): Likewise.
35347 (fts_load): Likewise.
35348 (fts_close): Likewise.
35349 (fts_read): Likewise.
35350 (fts_children): Likewise.
35351 (fts_build): Likewise.
35352 (fts_stat): Likewise.
35353 (fts_sort): Likewise.
35354 (fts_alloc): Likewise.
35355 (fts_lfree): Likewise.
35356 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
35357 (_IO_file_xsgetn): Likewise.
35358 (_IO_file_xsgetn_mmap): Likewise.
35359 * libio/iofopncook.c (_IO_cookie_read): Likewise.
35360 (_IO_cookie_write): Likewise.
35361 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
35362 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
35363 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
35364 * malloc/obstack.c (_obstack_begin): Likewise.
35365 (_obstack_begin_1): Likewise.
35366 (_obstack_newchunk): Likewise.
35367 (_obstack_allocated_p): Likewise.
35368 (obstack_free): Likewise.
35369 (_obstack_memory_used): Likewise.
35370 * misc/getttyent.c (getttynam): Likewise.
35371 (getttyent): Likewise.
35372 (skip): Likewise.
35373 (value): Likewise.
35374 * misc/getusershell.c (initshells): Likewise.
35375 * misc/syslog.c (__vsyslog_chk): Likewise.
35376 * misc/ttyslot.c (ttyslot): Likewise.
35377 * nis/nis_hash.c (__nis_hash): Likewise.
35378 * posix/fnmatch_loop.c (FCT): Likewise.
35379 * posix/getconf.c (print_all): Likewise.
35380 (main): Likewise.
35381 * posix/getopt.c (exchange): Likewise.
35382 * posix/glob.c (globfree): Likewise.
35383 (prefix_array): Likewise.
35384 (__glob_pattern_type): Likewise.
35385 * resolv/arpa/nameser.h (NS_GET16): Likewise.
35386 (NS_GET32): Likewise.
35387 (NS_PUT16): Likewise.
35388 (NS_PUT32): Likewise.
35389 * resolv/gethnamaddr.c (getanswer): Likewise.
35390 (gethostbyname2): Likewise.
35391 (gethostbyaddr): Likewise.
35392 (_gethtent): Likewise.
35393 (_gethtbyname2): Likewise.
35394 (_gethtbyaddr): Likewise.
35395 * resolv/ns_print.c (dst_s_get_int16): Likewise.
35396 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
35397 * resolv/res_init.c (__res_vinit): Likewise.
35398 (net_mask): Likewise.
35399 * resolv/res_mkquery.c (outchar): Likewise.
35400 (PRINT): Likewise.
35401 * stdio-common/printf_fp.c (outchar): Likewise.
35402 (PRINT): Likewise.
35403 * stdio-common/printf_fphex.c (outchar): Likewise.
35404 (PRINT): Likewise.
35405 * stdio-common/printf_size.c (outchar): Likewise.
35406 (PRINT): Likewise.
35407 * stdio-common/test_rdwr.c (main): Likewise.
35408 * stdio-common/tfformat.c (matches): Likewise.
35409 * stdio-common/vfprintf.c (outchar): Likewise.
35410 (printf_unknown): Likewise.
35411 (buffered_vfprintf): Likewise.
35412 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
35413 * stdio-common/xbug.c (AppendToBuffer): Likewise.
35414 (ReadFile): Likewise.
35415 * stdlib/qsort.c (SWAP): Likewise.
35416 (_quicksort): Likewise.
35417 * stdlib/setenv.c (__add_to_environ): Likewise.
35418 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
35419 * stdlib/strtol_l.c (__strtol_l): Likewise.
35420 * stdlib/tst-strtod.c (main): Likewise.
35421 * stdlib/tst-strtol.c (main): Likewise.
35422 * stdlib/tst-strtoll.c (main): Likewise.
35423 * string/bits/string2.h (__strcmp_cc): Likewise.
35424 (__strcmp_cg): Likewise.
35425 (__strcspn_c1): Likewise.
35426 (__strcspn_c2): Likewise.
35427 (__strcspn_c3): Likewise.
35428 (__strspn_c1): Likewise.
35429 (__strspn_c2): Likewise.
35430 (__strspn_c3): Likewise.
35431 (__strsep_1c): Likewise.
35432 (__strsep_2c): Likewise.
35433 (__strsep_3c): Likewise.
35434 * string/memccpy.c (__memccpy): Likewise.
35435 * string/stpcpy.c (__stpcpy): Likewise.
35436 * string/strcmp.c (strcmp): Likewise.
35437 * string/strrchr.c (strrchr): Likewise.
35438 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
35439 Likewise.
35440 * sysdeps/mach/hurd/getcwd.c
35441 (_hurd_canonicalize_directory_name_internal): Likewise.
35442 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
35443 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
35444 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
35445 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
35446 Likewise, in both definitions.
35447 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
35448 definitions.
35449 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
35450 64] (__bswap_64): Likewise.
35451 * time/test_time.c (main): Likewise.
35452 * time/tzfile.c (__tzfile_read): Likewise.
35453 (__tzfile_compute): Likewise.
35454 * time/tzset.c (__tzset_parse_tz): Likewise.
35455 (tzset_internal): Likewise.
35456 (compute_change): Likewise.
35457 * wcsmbs/wcscat.c (__wcscat): Likewise.
35458 * wcsmbs/wcschr.c (wcschr): Likewise.
35459 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
35460 * wcsmbs/wcscspn.c (wcscspn): Likewise.
35461 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
35462 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
35463 * wcsmbs/wcsspn.c (wcsspn): Likewise.
35464 * wcsmbs/wcsstr.c (wcsstr): Likewise.
35465 * wcsmbs/wmemchr.c (wmemchr): Likewise.
35466 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
35467 * wcsmbs/wmemset.c (wmemset): Likewise.
35468
35469 2013-06-06 Joseph Myers <joseph@codesourcery.com>
35470
35471 * scripts/config.guess: Update to version 2013-05-16.
35472 * scripts/config.sub: Update to version 2013-04-24.
35473 * scripts/install-sh: Update to version 2011-11-20.07.
35474 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
35475 * scripts/move-if-change: Update to version 2012-01-06 07:23.
35476
35477 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
35478
35479 * debug/fgetws_u_chk.c: Fix leading whitespaces.
35480 * elf/sln.c: Likewise.
35481 * hurd/hurd/ioctl.h: Likewise.
35482 * hurd/hurdmalloc.c: Likewise.
35483 * hurd/xattr.c: Likewise.
35484 * include/shlib-compat.h: Likewise.
35485 * inet/ruserpass.c: Likewise.
35486 * libio/iofgets_u.c: Likewise.
35487 * libio/iofgetws_u.c: Likewise.
35488 * locale/programs/ld-identification.c: Likewise.
35489 * locale/programs/ld-time.c: Likewise.
35490 * mach/msg-destroy.c: Likewise.
35491 * nss/nss_files/files-netgrp.c: Likewise.
35492 * resolv/res_data.c: Likewise.
35493 * soft-fp/op-1.h: Likewise.
35494 * soft-fp/op-2.h: Likewise.
35495 * soft-fp/op-4.h: Likewise.
35496 * soft-fp/op-common.h: Likewise.
35497 * stdio-common/printf_fphex.c: Likewise.
35498 * stdlib/strtod_l.c: Likewise.
35499 * sunrpc/rpc/clnt.h: Likewise.
35500 * sysdeps/generic/framestate.c: Likewise.
35501 * sysdeps/i386/bsd-_setjmp.S: Likewise.
35502 * sysdeps/i386/bsd-setjmp.S: Likewise.
35503 * sysdeps/i386/__longjmp.S: Likewise.
35504 * sysdeps/i386/setjmp.S: Likewise.
35505 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
35506 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
35507 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35508 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
35509 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
35510 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
35511 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
35512 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
35513 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35514 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
35515 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
35516 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
35517 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
35518 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
35519 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
35520 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
35521 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
35522 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
35523 * sysdeps/ieee754/support.c: Likewise.
35524 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
35525 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
35526 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
35527 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
35528 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
35529 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
35530 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
35531 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
35532 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
35533 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
35534 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
35535 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
35536 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
35537 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
35538 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
35539 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
35540 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
35541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
35542
35543 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
35544
35545 * posix/transbug.c: Remove executable mode.
35546
35547 2013-06-05 Joseph Myers <joseph@codesourcery.com>
35548
35549 * crypt/speeds.c: Remove trailing whitespace.
35550 * dlfcn/default.c: Likewise.
35551 * elf/ifuncdep2.c: Likewise.
35552 * elf/ifuncmain1.c: Likewise.
35553 * elf/ifuncmain1vis.c: Likewise.
35554 * elf/testobj.h: Likewise.
35555 * elf/tst-stackguard1.c: Likewise.
35556 * gmon/sys/gmon.h: Likewise.
35557 * hurd/hurdmsg.c: Likewise.
35558 * hurd/new-fd.c: Likewise.
35559 * hurd/ports-get.c: Likewise.
35560 * iconvdata/ibm1008_420.c: Likewise.
35561 * inet/tst-getni1.c: Likewise.
35562 * inet/tst-getni2.c: Likewise.
35563 * libio/ioungetc.c: Likewise.
35564 * libio/wfiledoalloc.c: Likewise.
35565 * manual/libm-err-tab.pl: Likewise.
35566 * math/w_dremf.c: Likewise.
35567 * misc/ftruncate.c: Likewise.
35568 * posix/bug-glob2.c: Likewise.
35569 * posix/tst-pcre.c: Likewise.
35570 * posix/wait4.c: Likewise.
35571 * resolv/README: Likewise.
35572 * resolv/res_debug.h: Likewise.
35573 * resolv/tst-inet_ntop.c: Likewise.
35574 * setjmp/bug269-setjmp.c: Likewise.
35575 * soft-fp/extended.h: Likewise.
35576 * soft-fp/op-1.h: Likewise.
35577 * soft-fp/op-2.h: Likewise.
35578 * soft-fp/op-4.h: Likewise.
35579 * soft-fp/op-8.h: Likewise.
35580 * soft-fp/testit.c: Likewise.
35581 * stdio-common/bug16.c: Likewise.
35582 * stdlib/random.c: Likewise.
35583 * sunrpc/rpcsvc/rquota.x: Likewise.
35584 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
35585 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
35586 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35587 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
35588 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
35589 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
35590 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
35591 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
35592 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
35593 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
35594 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
35595 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
35596 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
35597 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
35598 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
35599 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
35600 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
35601 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
35602 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
35603 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35604 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
35605 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
35606 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
35607 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
35608 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
35609 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
35610 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
35611 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
35612 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
35613 * sysdeps/ieee754/s_lib_version.c: Likewise.
35614 * sysdeps/mach/hurd/check_fds.c: Likewise.
35615 * sysdeps/mach/hurd/getsockname.c: Likewise.
35616 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
35617 * sysdeps/mach/hurd/recvfrom.c: Likewise.
35618 * sysdeps/powerpc/bits/link.h: Likewise.
35619 * sysdeps/powerpc/dl-procinfo.c: Likewise.
35620 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
35621 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
35622 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
35623 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
35624 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
35625 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
35626 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
35627 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
35628 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
35629 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
35630 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
35631 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
35632 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
35633 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
35634 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
35635 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
35636 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
35637 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
35638 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
35639 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
35640 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
35641 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
35642 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
35643 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
35644 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
35645 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
35646 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
35647 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
35648 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
35649 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
35650 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
35651 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
35652 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
35653 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
35654 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
35655 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
35656 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
35657 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
35658 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
35659 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
35660 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
35661 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
35662 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
35663 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
35664 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
35665 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
35666 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
35667 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
35668 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
35669 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35670 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
35671 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
35672 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
35673 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
35674 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
35675 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
35676 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
35677 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
35678 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
35679 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
35680 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
35681 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
35682 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
35683 * sysdeps/powerpc/sysdep.h: Likewise.
35684 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
35685 * sysdeps/s390/s390-64/sub_n.S: Likewise.
35686 * sysdeps/sh/dl-trampoline.S: Likewise.
35687 * sysdeps/sh/memset.S: Likewise.
35688 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
35689 * sysdeps/sh/strlen.S: Likewise.
35690 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
35691 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
35692 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
35693 * sysdeps/sparc/sparc32/rem.S: Likewise.
35694 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
35695 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
35696 * sysdeps/sparc/sparc32/strchr.S: Likewise.
35697 * sysdeps/sparc/sparc32/udiv.S: Likewise.
35698 * sysdeps/sparc/sparc32/urem.S: Likewise.
35699 * sysdeps/sparc/sparc64/add_n.S: Likewise.
35700 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
35701 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
35702 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
35703 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
35704 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
35705 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
35706 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
35707 * sysdeps/unix/bsd/times.c: Likewise.
35708 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
35709 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
35710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
35711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
35712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
35713 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
35714 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
35715 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
35716 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
35717 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
35718 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
35719 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
35720 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
35721 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
35722 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
35723 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
35724 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
35725 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
35726 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
35727 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
35728 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
35729 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
35730 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
35731 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
35732 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
35733 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
35734 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
35735 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
35736 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
35737 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
35738 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
35739 * sysdeps/x86_64/strcspn.S: Likewise.
35740
35741 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
35742
35743 * locale/C-translit.h: Revert #include <stdint.h> because this is a
35744 generated file. Regenerate properly from gen-translit.pl.
35745 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
35746 locale/C-translit.h.
35747
35748 2013-06-05 Andreas Schwab <schwab@suse.de>
35749
35750 [BZ #15100]
35751 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
35752 week as 6 instead of -1.
35753 * time/tst-strptime.c (day_tests): Add test case.
35754
35755 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
35756
35757 * sysdeps/generic/math_private.h
35758 (libc_feholdexcept_setround_53bit): Replace with
35759 libc_feholdsetround_53bit.
35760 (libc_feupdateenv_53bit): Replace with
35761 libc_feresetround_53bit.
35762 (SET_RESTORE_ROUND_53BIT): Adjust.
35763
35764 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
35765
35766 * string/test-strchrnul.c: Add copyright header.
35767
35768 * posix/tst-getaddrinfo4.c: Increase test timeout.
35769
35770 2013-06-03 Carlos O'Donell <carlos@redhat.com>
35771
35772 [BZ #15536]
35773 * math/libm-test.inc (MAX_EXP): Remove
35774 (MIN_EXP): Define.
35775 (ulp): Use MIN_EXP - MANT_DIG.
35776 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
35777
35778 2013-05-31 Carlos O'Donell <carlos@redhat.com>
35779
35780 * po/be.po: Revert last change.
35781 * po/zh_CN.po: Likewise.
35782 * po/header.pot: Likewise.
35783
35784 2013-05-31 Joseph Myers <joseph@codesourcery.com>
35785
35786 * Makefile ($(common-objpfx)linkobj/libc.so): Define
35787 link-libc-deps to empty as target-specific variable.
35788 * Makerules (link-libc-args): New variable.
35789 (libc-for-link): Likewise.
35790 (link-libc-deps): Likewise.
35791 (lib%.so): Depend on $(link-libc-deps). Link with
35792 $(link-libc-args).
35793 (build-module): Link with $(link-libc-args).
35794 (build-module-asneeded): Likewise.
35795 (build-module-helper-objlist): Filter out $(link-libc-deps) from
35796 list of objects.
35797 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
35798 target-specific variable.
35799 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
35800 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
35801 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
35802 libc.
35803 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
35804 libc and ld.so.
35805 ($(objpfx)libpcprofile.so): Likewise.
35806 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
35807 libc_nonshared.a.
35808 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
35809 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
35810 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
35811 $(link-libc-deps).
35812 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
35813 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
35814 * login/Makefile ($(objpfx)libutil.so): Likewise.
35815 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
35816 * math/Makefile ($(objpfx)libm.so): Likewise.
35817 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
35818 $(objpfx)libnsl.so): Define libc-for-link as target-specific
35819 variable instead of depending directly on libc.
35820 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
35821 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
35822 $(link-libc-deps).
35823 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
35824 libc.
35825 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
35826 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
35827 ($(objpfx)libanl.so): Likewise.
35828 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
35829 ld.so.
35830 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
35831 $(link-libc-deps).
35832 * sysdeps/i386/fpu/Makefile: Remove file.
35833 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
35834 ($(objpfx)libm.so): Remove dependency on ld.so.
35835
35836 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
35837
35838 [BZ # 15553]
35839 * nis/yp_xdr.c (XDRMAXNAME): Define.
35840 (XDRMAXRECORD): Define.
35841 (xdr_domainname): Use XDRMAXNAME.
35842 (xdr_mapname): Likewise.
35843 (xdr_peername): Likewise.
35844 (xdr_keydat): Use XDRMAXRECORD.
35845 (xdr_valdat): Likewise.
35846
35847 2013-05-30 Jeff Law <law@redhat.com>
35848
35849 [BZ #14256]
35850 * manual/errno.texi (ESTALE): Update to account for more than
35851 just NFS file systems.
35852 * sysdeps/gnu/errlist.c: Regenerated.
35853
35854 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
35855
35856 [BZ #15465]
35857 * elf/Makefile (tests): Add tst-null-argv.
35858 (modules-names): Add tst-null-argv-lib.
35859 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
35860 (tst-null-argv-ENV): Set environment for tst-null-argv.
35861 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
35862 (RTLD_PROGNAME): New macro.
35863 * elf/tst-null-argv.c: New test case.
35864 * elf/tst-null-argv-lib.c: Library for test case.
35865 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
35866 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
35867 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
35868 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
35869 * elf/dl-init.c (call_init): Likewise.
35870 (_dl_init): Likewise.
35871 * elf/dl-load.c (print_search_path): Likewise.
35872 (_dl_map_object): Likewise.
35873 * elf/dl-lookup.c (do_lookup_x): Likewise.
35874 (add_dependency): Likewise.
35875 (_dl_lookup_symbol_x): Likewise.
35876 (_dl_debug_bindings): Likewise.
35877 * elf/dl-open.c (_dl_show_scope): Likewise.
35878 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
35879 * elf/dl-version.c (match_symbol): Likewise.
35880 (_dl_check_map_versions): Likewise.
35881 * elf/rtld.c (dl_main): Likewise.
35882 (print_unresolved): Use RTLD_PROGNAME.
35883 (print_missing_version): Likewise.
35884 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
35885 (elf_machine_rela): Likewise.
35886 * sysdeps/powerpc/powerpc32/dl-machine.c
35887 (__process_machine_rela): Likewise.
35888 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
35889 Likewise.
35890 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
35891 Likewise.
35892 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
35893 Likewise.
35894 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
35895 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
35896 Likewise.
35897 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
35898 Likewise.
35899 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
35900
35901 2013-05-28 Carlos O'Donell <carlos@redhat.com>
35902
35903 * po/be.po: Add descriptive title.
35904 * po/zh_CN.po: Likewise.
35905 * po/header.pot: Likewise.
35906
35907 2013-05-28 Mike Frysinger <vapier@gentoo.org>
35908
35909 * locale/programs/locarchive.c (create_archive): Inlucde fname in
35910 error message.
35911 (enlarge_archive): Likewise.
35912
35913 2013-05-28 Ben North <ben@redfrontdoor.org>
35914
35915 * manual/arith.texi (frexp): It is the magnitude of the return
35916 value which lies in [0.5, 1), not the return value itself.
35917
35918 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35919
35920 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35921
35922 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
35923
35924 * stdio-common/bug26.c (main): Correct fscanf template.
35925
35926 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
35927 declare _dl_skip_args.
35928
35929 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
35930 Don't declare.
35931
35932 * manual/platform.texi: Add missing @end deftypefun.
35933
35934 2013-05-24 Joseph Myers <joseph@codesourcery.com>
35935
35936 [BZ #15529]
35937 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
35938 bit of mantissa of 2^16382.
35939 * math/libm-test.inc (hypot_test_data): Add more tests.
35940
35941 * math/libm-test.inc: Add drem and pow10 to list of tested
35942 functions.
35943 (pow10_test): New function.
35944 (drem_test): Likewise.
35945 (drem_test_tonearest): Likewise.
35946 (drem_test_towardzero): Likewise.
35947 (drem_test_downward): Likewise.
35948 (drem_test_upward): Likewise.
35949 (main): Call the new functions.
35950
35951 * math/libm-test.inc (finite_test_data): Remove.
35952 (finite_test): Run tests from isfinite_test_data.
35953 (gamma_test_data): Remove.
35954 (gamma_test): Run tests from lgamma_test_data.
35955 * sysdeps/i386/fpu/libm-test-ulps: Update.
35956 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35957
35958 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35959
35960 * manual/platform.texi: Add PowerPC PPR function set documentation.
35961 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
35962 implementation.
35963
35964 2013-05-24 Carlos O'Donell <carlos@redhat.com>
35965
35966 * math/libm-test.inc (MAX_EXP): Define.
35967 (ULPDIFF): Define.
35968 (ulp): New function.
35969 (check_float_internal): Use ULPDIFF.
35970 (cpow_test): Disable failing test.
35971 (check_ulp): Test ulp() implemetnation.
35972 (main): Call check_ulp before starting tests.
35973
35974 2013-05-24 Joseph Myers <joseph@codesourcery.com>
35975
35976 * math/gen-libm-test.pl (generate_testfile): Do not handle
35977 START_DATA and END_DATA.
35978 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
35979 END_DATA.
35980 (acos_tonearest_test_data): Likewise.
35981 (acos_towardzero_test_data): Likewise.
35982 (acos_downward_test_data): Likewise.
35983 (acos_upward_test_data): Likewise.
35984 (acosh_test_data): Likewise.
35985 (asin_test_data): Likewise.
35986 (asin_tonearest_test_data): Likewise.
35987 (asin_towardzero_test_data): Likewise.
35988 (asin_downward_test_data): Likewise.
35989 (asin_upward_test_data): Likewise.
35990 (asinh_test_data): Likewise.
35991 (atan_test_data): Likewise.
35992 (atanh_test_data): Likewise.
35993 (atan2_test_data): Likewise.
35994 (cabs_test_data): Likewise.
35995 (cacos_test_data): Likewise.
35996 (cacosh_test_data): Likewise.
35997 (carg_test_data): Likewise.
35998 (casin_test_data): Likewise.
35999 (casinh_test_data): Likewise.
36000 (catan_test_data): Likewise.
36001 (catanh_test_data): Likewise.
36002 (cbrt_test_data): Likewise.
36003 (ccos_test_data): Likewise.
36004 (ccosh_test_data): Likewise.
36005 (ceil_test_data): Likewise.
36006 (cexp_test_data): Likewise.
36007 (cimag_test_data): Likewise.
36008 (clog_test_data): Likewise.
36009 (clog10_test_data): Likewise.
36010 (conj_test_data): Likewise.
36011 (copysign_test_data): Likewise.
36012 (cos_test_data): Likewise.
36013 (cos_tonearest_test_data): Likewise.
36014 (cos_towardzero_test_data): Likewise.
36015 (cos_downward_test_data): Likewise.
36016 (cos_upward_test_data): Likewise.
36017 (cosh_test_data): Likewise.
36018 (cosh_tonearest_test_data): Likewise.
36019 (cosh_towardzero_test_data): Likewise.
36020 (cosh_downward_test_data): Likewise.
36021 (cosh_upward_test_data): Likewise.
36022 (cpow_test_data): Likewise.
36023 (cproj_test_data): Likewise.
36024 (creal_test_data): Likewise.
36025 (csin_test_data): Likewise.
36026 (csinh_test_data): Likewise.
36027 (csqrt_test_data): Likewise.
36028 (ctan_test_data): Likewise.
36029 (ctan_tonearest_test_data): Likewise.
36030 (ctan_towardzero_test_data): Likewise.
36031 (ctan_downward_test_data): Likewise.
36032 (ctan_upward_test_data): Likewise.
36033 (ctanh_test_data): Likewise.
36034 (ctanh_tonearest_test_data): Likewise.
36035 (ctanh_towardzero_test_data): Likewise.
36036 (ctanh_downward_test_data): Likewise.
36037 (ctanh_upward_test_data): Likewise.
36038 (erf_test_data): Likewise.
36039 (erfc_test_data): Likewise.
36040 (exp_test_data): Likewise.
36041 (exp_tonearest_test_data): Likewise.
36042 (exp_towardzero_test_data): Likewise.
36043 (exp_downward_test_data): Likewise.
36044 (exp_upward_test_data): Likewise.
36045 (exp10_test_data): Likewise.
36046 (exp2_test_data): Likewise.
36047 (expm1_test_data): Likewise.
36048 (fabs_test_data): Likewise.
36049 (fdim_test_data): Likewise.
36050 (finite_test_data): Likewise.
36051 (floor_test_data): Likewise.
36052 (fma_test_data): Likewise.
36053 (fma_towardzero_test_data): Likewise.
36054 (fma_downward_test_data): Likewise.
36055 (fma_upward_test_data): Likewise.
36056 (fmax_test_data): Likewise.
36057 (fmin_test_data): Likewise.
36058 (fmod_test_data): Likewise.
36059 (fpclassify_test_data): Likewise.
36060 (frexp_test_data): Likewise.
36061 (gamma_test_data): Likewise.
36062 (hypot_test_data): Likewise.
36063 (ilogb_test_data): Likewise.
36064 (isfinite_test_data): Likewise.
36065 (isgreater_test_data): Likewise.
36066 (isgreaterequal_test_data): Likewise.
36067 (isinf_test_data): Likewise.
36068 (isless_test_data): Likewise.
36069 (islessequal_test_data): Likewise.
36070 (islessgreater_test_data): Likewise.
36071 (isnan_test_data): Likewise.
36072 (isnormal_test_data): Likewise.
36073 (issignaling_test_data): Likewise.
36074 (isunordered_test_data): Likewise.
36075 (j0_test_data): Likewise.
36076 (j1_test_data): Likewise.
36077 (jn_test_data): Likewise.
36078 (ldexp_test_data): Likewise.
36079 (lgamma_test_data): Likewise.
36080 (lrint_test_data): Likewise.
36081 (lrint_tonearest_test_data): Likewise.
36082 (lrint_towardzero_test_data): Likewise.
36083 (lrint_downward_test_data): Likewise.
36084 (lrint_upward_test_data): Likewise.
36085 (llrint_test_data): Likewise.
36086 (llrint_tonearest_test_data): Likewise.
36087 (llrint_towardzero_test_data): Likewise.
36088 (llrint_downward_test_data): Likewise.
36089 (llrint_upward_test_data): Likewise.
36090 (log_test_data): Likewise.
36091 (log10_test_data): Likewise.
36092 (log1p_test_data): Likewise.
36093 (log2_test_data): Likewise.
36094 (logb_test_data): Likewise.
36095 (logb_downward_test_data): Likewise.
36096 (lround_test_data): Likewise.
36097 (llround_test_data): Likewise.
36098 (modf_test_data): Likewise.
36099 (nearbyint_test_data): Likewise.
36100 (nextafter_test_data): Likewise.
36101 (nexttoward_test_data): Likewise.
36102 (pow_test_data): Likewise.
36103 (pow_tonearest_test_data): Likewise.
36104 (pow_towardzero_test_data): Likewise.
36105 (pow_downward_test_data): Likewise.
36106 (pow_upward_test_data): Likewise.
36107 (remainder_test_data): Likewise.
36108 (remainder_tonearest_test_data): Likewise.
36109 (remainder_towardzero_test_data): Likewise.
36110 (remainder_downward_test_data): Likewise.
36111 (remainder_upward_test_data): Likewise.
36112 (remquo_test_data): Likewise.
36113 (rint_test_data): Likewise.
36114 (rint_tonearest_test_data): Likewise.
36115 (rint_towardzero_test_data): Likewise.
36116 (rint_downward_test_data): Likewise.
36117 (rint_upward_test_data): Likewise.
36118 (round_test_data): Likewise.
36119 (scalb_test_data): Likewise.
36120 (scalbn_test_data): Likewise.
36121 (scalbln_test_data): Likewise.
36122 (signbit_test_data): Likewise.
36123 (sin_test_data): Likewise.
36124 (sin_tonearest_test_data): Likewise.
36125 (sin_towardzero_test_data): Likewise.
36126 (sin_downward_test_data): Likewise.
36127 (sin_upward_test_data): Likewise.
36128 (sincos_test_data): Likewise.
36129 (sinh_test_data): Likewise.
36130 (sinh_tonearest_test_data): Likewise.
36131 (sinh_towardzero_test_data): Likewise.
36132 (sinh_downward_test_data): Likewise.
36133 (sinh_upward_test_data): Likewise.
36134 (sqrt_test_data): Likewise.
36135 (tan_test_data): Likewise.
36136 (tan_tonearest_test_data): Likewise.
36137 (tan_towardzero_test_data): Likewise.
36138 (tan_downward_test_data): Likewise.
36139 (tan_upward_test_data): Likewise.
36140 (tanh_test_data): Likewise.
36141 (tgamma_test_data): Likewise.
36142 (trunc_test_data): Likewise.
36143 (y0_test_data): Likewise.
36144 (y1_test_data): Likewise.
36145 (yn_test_data): Likewise.
36146 (significand_test_data): Likewise.
36147
36148 * math/gen-libm-test.pl (@functions): Remove variable.
36149 (generate_testfile): Don't handle START and END lines.
36150 * math/libm-test.inc (START): New macro.
36151 (END): Likewise.
36152 (END_COMPLEX): Likewise.
36153 (acos_test): Use END macro without arguments.
36154 (acos_test_tonearest): Likewise.
36155 (acos_test_towardzero): Likewise.
36156 (acos_test_downward): Likewise.
36157 (acos_test_upward): Likewise.
36158 (acosh_test): Likewise.
36159 (asin_test): Likewise.
36160 (asin_test_tonearest): Likewise.
36161 (asin_test_towardzero): Likewise.
36162 (asin_test_downward): Likewise.
36163 (asin_test_upward): Likewise.
36164 (asinh_test): Likewise.
36165 (atan_test): Likewise.
36166 (atanh_test): Likewise.
36167 (atan2_test): Likewise.
36168 (cabs_test): Likewise.
36169 (cacos_test): Use END_COMPLEX macro without arguments.
36170 (cacosh_test): Likewise.
36171 (carg_test): Use END macro without arguments.
36172 (casin_test): Use END_COMPLEX macro without arguments.
36173 (casinh_test): Likewise.
36174 (catan_test): Likewise.
36175 (catanh_test): Likewise.
36176 (cbrt_test): Use END macro without arguments.
36177 (ccos_test): Use END_COMPLEX macro without arguments.
36178 (ccosh_test): Likewise.
36179 (ceil_test): Use END macro without arguments.
36180 (cexp_test): Use END_COMPLEX macro without arguments.
36181 (cimag_test): Use END macro without arguments.
36182 (clog_test): Use END_COMPLEX macro without arguments.
36183 (clog10_test): Likewise.
36184 (conj_test): Likewise.
36185 (copysign_test): Use END macro without arguments.
36186 (cos_test): Likewise.
36187 (cos_test_tonearest): Likewise.
36188 (cos_test_towardzero): Likewise.
36189 (cos_test_downward): Likewise.
36190 (cos_test_upward): Likewise.
36191 (cosh_test): Likewise.
36192 (cosh_test_tonearest): Likewise.
36193 (cosh_test_towardzero): Likewise.
36194 (cosh_test_downward): Likewise.
36195 (cosh_test_upward): Likewise.
36196 (cpow_test): Use END_COMPLEX macro without arguments.
36197 (cproj_test): Likewise.
36198 (creal_test): Use END macro without arguments.
36199 (csin_test): Use END_COMPLEX macro without arguments.
36200 (csinh_test): Likewise.
36201 (csqrt_test): Likewise.
36202 (ctan_test): Likewise.
36203 (ctan_test_tonearest): Likewise.
36204 (ctan_test_towardzero): Likewise.
36205 (ctan_test_downward): Likewise.
36206 (ctan_test_upward): Likewise.
36207 (ctanh_test): Likewise.
36208 (ctanh_test_tonearest): Likewise.
36209 (ctanh_test_towardzero): Likewise.
36210 (ctanh_test_downward): Likewise.
36211 (ctanh_test_upward): Likewise.
36212 (erf_test): Use END macro without arguments.
36213 (erfc_test): Likewise.
36214 (exp_test): Likewise.
36215 (exp_test_tonearest): Likewise.
36216 (exp_test_towardzero): Likewise.
36217 (exp_test_downward): Likewise.
36218 (exp_test_upward): Likewise.
36219 (exp10_test): Likewise.
36220 (exp2_test): Likewise.
36221 (expm1_test): Likewise.
36222 (fabs_test): Likewise.
36223 (fdim_test): Likewise.
36224 (finite_test): Likewise.
36225 (floor_test): Likewise.
36226 (fma_test): Likewise.
36227 (fma_test_towardzero): Likewise.
36228 (fma_test_downward): Likewise.
36229 (fma_test_upward): Likewise.
36230 (fmax_test): Likewise.
36231 (fmin_test): Likewise.
36232 (fmod_test): Likewise.
36233 (fpclassify_test): Likewise.
36234 (frexp_test): Likewise.
36235 (gamma_test): Likewise.
36236 (hypot_test): Likewise.
36237 (ilogb_test): Likewise.
36238 (isfinite_test): Likewise.
36239 (isgreater_test): Likewise.
36240 (isgreaterequal_test): Likewise.
36241 (isinf_test): Likewise.
36242 (isless_test): Likewise.
36243 (islessequal_test): Likewise.
36244 (islessgreater_test): Likewise.
36245 (isnan_test): Likewise.
36246 (isnormal_test): Likewise.
36247 (issignaling_test): Likewise.
36248 (isunordered_test): Likewise.
36249 (j0_test): Likewise.
36250 (j1_test): Likewise.
36251 (jn_test): Likewise.
36252 (ldexp_test): Likewise.
36253 (lgamma_test): Likewise.
36254 (lrint_test): Likewise.
36255 (lrint_test_tonearest): Likewise.
36256 (lrint_test_towardzero): Likewise.
36257 (lrint_test_downward): Likewise.
36258 (lrint_test_upward): Likewise.
36259 (llrint_test): Likewise.
36260 (llrint_test_tonearest): Likewise.
36261 (llrint_test_towardzero): Likewise.
36262 (llrint_test_downward): Likewise.
36263 (llrint_test_upward): Likewise.
36264 (log_test): Likewise.
36265 (log10_test): Likewise.
36266 (log1p_test): Likewise.
36267 (log2_test): Likewise.
36268 (logb_test): Likewise.
36269 (logb_test_downward): Likewise.
36270 (lround_test): Likewise.
36271 (llround_test): Likewise.
36272 (modf_test): Likewise.
36273 (nearbyint_test): Likewise.
36274 (nextafter_test): Likewise.
36275 (nexttoward_test): Likewise.
36276 (pow_test): Likewise.
36277 (pow_test_tonearest): Likewise.
36278 (pow_test_towardzero): Likewise.
36279 (pow_test_downward): Likewise.
36280 (pow_test_upward): Likewise.
36281 (remainder_test): Likewise.
36282 (remainder_test_tonearest): Likewise.
36283 (remainder_test_towardzero): Likewise.
36284 (remainder_test_downward): Likewise.
36285 (remainder_test_upward): Likewise.
36286 (remquo_test): Likewise.
36287 (rint_test): Likewise.
36288 (rint_test_tonearest): Likewise.
36289 (rint_test_towardzero): Likewise.
36290 (rint_test_downward): Likewise.
36291 (rint_test_upward): Likewise.
36292 (round_test): Likewise.
36293 (scalb_test): Likewise.
36294 (scalbn_test): Likewise.
36295 (scalbln_test): Likewise.
36296 (signbit_test): Likewise.
36297 (sin_test): Likewise.
36298 (sin_test_tonearest): Likewise.
36299 (sin_test_towardzero): Likewise.
36300 (sin_test_downward): Likewise.
36301 (sin_test_upward): Likewise.
36302 (sincos_test): Likewise.
36303 (sinh_test): Likewise.
36304 (sinh_test_tonearest): Likewise.
36305 (sinh_test_towardzero): Likewise.
36306 (sinh_test_downward): Likewise.
36307 (sinh_test_upward): Likewise.
36308 (sqrt_test): Likewise.
36309 (tan_test): Likewise.
36310 (tan_test_tonearest): Likewise.
36311 (tan_test_towardzero): Likewise.
36312 (tan_test_downward): Likewise.
36313 (tan_test_upward): Likewise.
36314 (tanh_test): Likewise.
36315 (tgamma_test): Likewise.
36316 (trunc_test): Likewise.
36317 (y0_test): Likewise.
36318 (y1_test): Likewise.
36319 (yn_test): Likewise.
36320 (significand_test): Likewise.
36321
36322 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
36323
36324 [BZ #15381]
36325 * libio/genops.c (_IO_no_init): Initialize wide struct info.
36326
36327 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
36328
36329 [BZ #14894]
36330 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
36331 __ppc_mdoio and __ppc_mdoom.
36332 * manual/platform.texi: Document new functions __ppc_yield,
36333 __ppc_mdoio and __ppc_mdoom.
36334
36335 2013-05-22 Carlos O'Donell <carlos@redhat.com>
36336
36337 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
36338 (main): Mention "tls" pseudo-hwcap is legacy.
36339 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
36340
36341 2013-05-22 Joseph Myers <joseph@codesourcery.com>
36342
36343 * math/gen-libm-test.pl (parse_args): Output only string of
36344 arguments as text for test name, not full call or descriptions of
36345 tests for extra outputs.
36346 (generate_testfile): Do not pass function name to parse_args.
36347 Generate this_func variable from START.
36348 * math/libm-test.inc (struct test_f_f_data): Rename test_name
36349 field to arg_str.
36350 (struct test_ff_f_data): Likewise.
36351 (test_ff_f_data_nexttoward): Likewise.
36352 (struct test_fi_f_data): Likewise.
36353 (struct test_fl_f_data): Likewise.
36354 (struct test_if_f_data): Likewise.
36355 (struct test_fff_f_data): Likewise.
36356 (struct test_c_f_data): Likewise.
36357 (struct test_f_f1_data): Likewise. Remove field extra_name.
36358 (struct test_fF_f1_data): Likewise.
36359 (struct test_ffI_f1_data): Likewise.
36360 (struct test_c_c_data): Rename test_name field to arg_str.
36361 (struct test_cc_c_data): Likewise.
36362 (struct test_f_i_data): Likewise.
36363 (struct test_ff_i_data): Likewise.
36364 (struct test_f_l_data): Likewise.
36365 (struct test_f_L_data): Likewise.
36366 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
36367 and extra2_name.
36368 (COMMON_TEST_SETUP): New macro.
36369 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
36370 (COMMON_TEST_CLEANUP): Likewise.
36371 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
36372 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
36373 macros.
36374 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
36375 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
36376 macros.
36377 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
36378 (RUN_TEST_fff_f): Take argument string. Call new setup and
36379 cleanup macros.
36380 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
36381 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
36382 macros.
36383 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
36384 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
36385 macros.
36386 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
36387 (RUN_TEST_fF_f1): Take argument string. Call new setup and
36388 cleanup macros.
36389 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
36390 (RUN_TEST_fI_f1): Take argument string. Call new setup and
36391 cleanup macros.
36392 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
36393 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
36394 cleanup macros.
36395 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
36396 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
36397 macros.
36398 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
36399 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
36400 macros.
36401 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
36402 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
36403 macros.
36404 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
36405 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
36406 cleanup macros.
36407 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
36408 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
36409 cleanup macros.
36410 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
36411 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
36412 macros.
36413 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
36414 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
36415 cleanup macros.
36416 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
36417 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
36418 macros.
36419 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
36420 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
36421 macros.
36422 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
36423 (RUN_TEST_fFF_11): Take argument string. Call new setup and
36424 cleanup macros.
36425 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
36426
36427 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
36428
36429 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
36430 to _sifields.sigfault.
36431 (si_addr_lsb): Define new macro.
36432 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
36433 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
36434 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
36435
36436 2013-05-03 Carlos O'Donell <carlos at redhat.com>
36437
36438 [BZ #15441]
36439 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
36440 returns -1.
36441 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
36442 null return -1.
36443 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
36444 loading the domain.
36445
36446 2013-05-22 Joseph Myers <joseph@codesourcery.com>
36447
36448 * math/gen-libm-test.pl (parse_args): Do not include expected
36449 result in test name.
36450 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
36451 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36452 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
36453 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
36454 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
36455 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36456
36457 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
36458
36459 * benchtests/Makefile: Sort function entries.
36460
36461 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
36462 tanh, asinh, acosh, atanh.
36463 * benchtests/acos-inputs: New file.
36464 * benchtests/acosh-inputs: New file.
36465 * benchtests/asin-inputs: New file.
36466 * benchtests/asinh-inputs: New file.
36467 * benchtests/atanh-inputs: New file.
36468 * benchtests/cosh-inputs: New file.
36469 * benchtests/log-inputs: New file.
36470 * benchtests/sinh-inputs: New file.
36471 * benchtests/tanh-inputs: New file.
36472
36473 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
36474
36475 [BZ #15339]
36476 * posix/tst-getaddrinfo4.c: New test.
36477 * posix/Makefile (tests): Add it.
36478
36479 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
36480
36481 [BZ #15339]
36482 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
36483 when no services were used.
36484 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
36485 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
36486
36487 2013-05-21 Andreas Schwab <schwab@suse.de>
36488
36489 [BZ #15014]
36490 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
36491 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
36492 successful.
36493 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
36494 redundant variable declarations and reallocation of buffer when
36495 parsing as IPv6 address. Always set NSS status when called from
36496 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
36497 buffer too small. Correct computation of needed size.
36498 * nss/Makefile (tests): Add test-digits-dots.
36499 * nss/test-digits-dots.c: New test.
36500
36501 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
36502
36503 * benchtests/Makefile: Remove instructions for adding
36504 benchmark tests.
36505 * benchtests/README: New file to explain how to execute and
36506 enhance the benchmark tests.
36507
36508 2013-05-21 Andreas Schwab <schwab@suse.de>
36509
36510 [BZ #15493]
36511 * setjmp/Makefile (tests): Add tst-sigsetjmp.
36512 * setjmp/tst-sigsetjmp.c: New test.
36513
36514 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
36515
36516 * sysdeps/x86_64/memset.S (memset): New implementation.
36517 (__bzero): Likewise.
36518 (__memset_tail): New function.
36519
36520 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
36521
36522 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
36523 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
36524 __memcpy_sse2_unaligned ifunc selection.
36525 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
36526 Add memcpy-sse2-unaligned.S.
36527 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
36528 Add: __memcpy_sse2_unaligned.
36529
36530 2013-05-19 Joseph Myers <joseph@codesourcery.com>
36531
36532 [BZ #15490]
36533 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
36534 math_force_eval before restoring floating-point envrionment.
36535 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
36536 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
36537 Likewise.
36538 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
36539 <math_private.h>.
36540 (__nearbyintl): Use math_force_eval before restoring
36541 floating-point environment.
36542 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
36543
36544 * math/gen-libm-test.pl (special_functions): Remove.
36545 (parse_args): Don't handle TEST_extra. Handle functions with no
36546 return value.
36547 * math/libm-test.inc (struct test_sincos_data): Replace with
36548 struct test_fFF_11_data.
36549 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
36550 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
36551 (sincos_test_data): Change element type to struct
36552 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
36553 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
36554 RUN_TEST_LOOP_sincos.
36555 * math/README.libm-test: Don't mention special handling of
36556 individual functions.
36557 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
36558 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36559 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
36560 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
36561 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
36562 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36563
36564 * math/gen-libm-test.pl (get_variable): Remove function.
36565 (parse_args): Don't show pointer parameters to call in test
36566 names. Use "extra output N" in test names for extra outputs
36567 rather than naming variables.
36568
36569 2013-05-18 Joseph Myers <joseph@codesourcery.com>
36570
36571 [BZ #15488]
36572 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
36573 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
36574 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
36575 double tests.
36576 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
36577 disable.
36578 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
36579 check_long_double.
36580
36581 * math/gen-libm-test.pl (@tests): Remove variable.
36582 ($count): Likewise.
36583 (new_test): Remove function.
36584 (show_exceptions): New function.
36585 (special_functions): Use show_exceptions instead of new_test.
36586 (parse_args): Likewise.
36587 (generate_testfile): Pass only function name in generated call to
36588 print_max_error or print_complex_max_error.
36589 (get_ulps): Do not handle complex tests specially.
36590 (output_test): Rename to ...
36591 (get_all_ulps_for_test): ... this. Return a string rather than
36592 printing to a file. Require ulps to be present.
36593 (output_ulps): Generate arrays rather than #defines.
36594 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
36595 (struct ulp_data): New type.
36596 (BUILD_COMPLEX_ULP): Remove macro.
36597 (compare_ulp_data): New function.
36598 (find_ulps): Likewise.
36599 (find_test_ulps): Likewise.
36600 (find_function_ulps): Likewise.
36601 (find_complex_function_ulps): Likewise.
36602 (print_max_error): Determine allowed ulps using
36603 find_function_ulps.
36604 (print_complex_max_error): Determine allowed ulps using
36605 find_complex_function_ulps.
36606 (check_float_internal): Determine max ulps using find_test_ulps.
36607 (check_float): Do not take max_ulp parameter. Update call to
36608 check_float_internal.
36609 (check_complex): Likewise.
36610 (check_int): Do not take max_ulp parameter.
36611 (check_long): Likewise.
36612 (check_bool): Likewise.
36613 (check_longlong): Likewise.
36614 (struct test_f_f_data): Remove max_ulp field.
36615 (struct test_ff_f_data): Likewise.
36616 (struct test_ff_f_data_nexttoward): Likewise.
36617 (struct test_fi_f_data): Likewise.
36618 (struct test_fl_f_data): Likewise.
36619 (struct test_if_f_data): Likewise.
36620 (struct test_fff_f_data): Likewise.
36621 (struct test_c_f_data): Likewise.
36622 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
36623 (struct test_fF_f1_data): Likewise.
36624 (struct test_ffI_f1_data): Likewise.
36625 (struct test_c_c_data): Remove max_ulp field.
36626 (struct test_cc_c_data): Likewise.
36627 (struct test_f_i_data): Likewise.
36628 (struct test_ff_i_data): Likewise.
36629 (struct test_f_l_data): Likewise.
36630 (struct test_f_L_data): Likewise.
36631 (struct test_sincos_data): Likewise.
36632 (RUN_TEST_f_f): Do not handle ulps.
36633 (RUN_TEST_LOOP_f_f): Likewise.
36634 (RUN_TEST_2_f): Likewise.
36635 (RUN_TEST_LOOP_2_f): Likewise.
36636 (RUN_TEST_fff_f): Likewise.
36637 (RUN_TEST_LOOP_fff_f): Likewise.
36638 (RUN_TEST_c_f): Likewise.
36639 (RUN_TEST_LOOP_c_f): Likewise.
36640 (RUN_TEST_f_f1): Likewise.
36641 (RUN_TEST_LOOP_f_f1): Likewise.
36642 (RUN_TEST_fF_f1): Likewise.
36643 (RUN_TEST_LOOP_fF_f1): Likewise.
36644 (RUN_TEST_fI_f1): Likewise.
36645 (RUN_TEST_LOOP_fI_f1): Likewise.
36646 (RUN_TEST_ffI_f1): Likewise.
36647 (RUN_TEST_LOOP_ffI_f1): Likewise.
36648 (RUN_TEST_c_c): Likewise.
36649 (RUN_TEST_LOOP_c_c): Likewise.
36650 (RUN_TEST_cc_c): Likewise.
36651 (RUN_TEST_LOOP_cc_c): Likewise.
36652 (RUN_TEST_f_i): Likewise.
36653 (RUN_TEST_LOOP_f_i): Likewise.
36654 (RUN_TEST_f_i_tg): Likewise.
36655 (RUN_TEST_LOOP_f_i_tg): Likewise.
36656 (RUN_TEST_ff_i_tg): Likewise.
36657 (RUN_TEST_LOOP_ff_i_tg): Likewise.
36658 (RUN_TEST_f_b): Likewise.
36659 (RUN_TEST_LOOP_f_b): Likewise.
36660 (RUN_TEST_f_b_tg): Likewise.
36661 (RUN_TEST_LOOP_f_b_tg): Likewise.
36662 (RUN_TEST_f_l): Likewise.
36663 (RUN_TEST_LOOP_f_l): Likewise.
36664 (RUN_TEST_f_L): Likewise.
36665 (RUN_TEST_LOOP_f_L): Likewise.
36666 (RUN_TEST_sincos): Likewise.
36667 (RUN_TEST_LOOP_sincos): Likewise.
36668
36669 2013-05-17 Joseph Myers <joseph@codesourcery.com>
36670
36671 [BZ #15480]
36672 [BZ #15485]
36673 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
36674 main case of finite arguments, set rounding mode to FE_TONEAREST
36675 and discard exceptions.
36676 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
36677 exceptions.
36678 (remainder_tonearest_test_data): New variable.
36679 (remainder_test_tonearest): New function.
36680 (remainder_towardzero_test_data): New variable.
36681 (remainder_test_towardzero): New function.
36682 (remainder_downward_test_data): New variable.
36683 (remainder_test_downward): New function.
36684 (remainder_upward_test_data): New variable.
36685 (remainder_test_upward): New function.
36686 (main): Call the new test functions.
36687
36688 * math/libm-test.inc (struct test_f_f1_data): Remove field
36689 extra_init.
36690 (struct test_fF_f1_data): Likewise.
36691 (struct test_ffI_f1_data): Likewise.
36692 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
36693 based on value of EXTRA_EXPECTED.
36694 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
36695 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
36696 EXTRA_VAR based on value of EXTRA_EXPECTED.
36697 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
36698 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
36699 EXTRA_VAR based on value of EXTRA_EXPECTED.
36700 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
36701 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
36702 EXTRA_VAR based on value of EXTRA_EXPECTED.
36703 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
36704 * math/gen-libm-test.pl (parse_args): Don't output initializers
36705 for extra output values.
36706
36707 * math/libm-test.inc (check_int): Expect result to be exactly
36708 equal to expected value and do not handle ulps.
36709 (check_long): Likewise.
36710 (check_longlong): Likewise.
36711
36712 * math/libm-test.inc (ceil_test_data): Test for "inexact"
36713 exceptions.
36714 (cimag_test_data): Likewise.
36715 (conj_test_data): Likewise.
36716 (copysign_test_data): Likewise.
36717 (cproj_test_data): Likewise.
36718 (creal_test_data): Likewise.
36719 (fabs_test_data): Likewise.
36720 (fdim_test_data): Likewise.
36721 (finite_test_data): Likewise.
36722 (floor_test_data): Likewise.
36723 (fmax_test_data): Likewise.
36724 (fmin_test_data): Likewise.
36725 (fmod_test_data): Likewise.
36726 (fpclassify_test_data): Likewise.
36727 (frexp_test_data): Likewise.
36728 (ilogb_test_data): Likewise.
36729 (isfinite_test_data): Likewise.
36730 (isgreater_test_data): Likewise.
36731 (isgreaterequal_test_data): Likewise.
36732 (isinf_test_data): Likewise.
36733 (isless_test_data): Likewise.
36734 (islessequal_test_data): Likewise.
36735 (islessgreater_test_data): Likewise.
36736 (isnan_test_data): Likewise.
36737 (isnormal_test_data): Likewise.
36738 (issignaling_test_data): Likewise.
36739 (isunordered_test_data): Likewise.
36740 (ldexp_test_data): Likewise.
36741 (lrint_test_data): Likewise.
36742 (lrint_test_data) [TEST_FLOAT]: Disable one test.
36743 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
36744 (lrint_tonearest_test_data): Test for "inexact" exceptions.
36745 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
36746 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
36747 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
36748 test input.
36749 (lrint_towardzero_test_data): Test for "inexact" exceptions.
36750 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
36751 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
36752 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
36753 that test input.
36754 (lrint_downward_test_data): Test for "inexact" exceptions.
36755 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
36756 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
36757 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
36758 test input.
36759 (lrint_upward_test_data): Test for "inexact" exceptions.
36760 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
36761 test input.
36762 (llrint_test_data): Test for "inexact" exceptions.
36763 (llrint_test_data) [TEST_FLOAT]: Disable one test.
36764 (llrint_tonearest_test_data): Test for "inexact" exceptions.
36765 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
36766 (llrint_towardzero_test_data): Test for "inexact" exceptions.
36767 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
36768 (llrint_downward_test_data): Test for "inexact" exceptions.
36769 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
36770 (llrint_upward_test_data): Test for "inexact" exceptions.
36771 (logb_test_data): Likewise.
36772 (logb_downward_test_data): Likewise.
36773 (nextafter_test_data): Likewise.
36774 (nexttoward_test_data): Likewise.
36775 (remainder_test_data): Likewise.
36776 (remquo_test_data): Likewise.
36777 (scalbn_test_data): Likewise.
36778 (scalbln_test_data): Likewise.
36779 (signbit_test_data): Likewise.
36780 (sqrt_test_data): Likewise.
36781 (significand_test_data): Likewise.
36782
36783 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
36784
36785 [BZ #15424]
36786 * benchtests/bench-modf.c (struct args): Mark arg0 as
36787 volatile.
36788 * scripts/bench.pl: Mark members of struct args as volatile.
36789
36790 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36791
36792 [BZ # 15497]
36793 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
36794 negative infinity on POWER6 or lower.
36795 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
36796
36797 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
36798
36799 [BZ #15442]
36800 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
36801 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
36802 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
36803 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
36804 (_FP_SETQNAN): New macro.
36805 (_FP_SETQNAN_SEMIRAW): Likewise.
36806 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
36807 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
36808 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
36809 (FP_EXTEND): Use _FP_FRAC_SNANP.
36810 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
36811 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
36812 into account.
36813 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
36814 New macro.
36815 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
36816 Likewise.
36817
36818 2013-05-16 Joseph Myers <joseph@codesourcery.com>
36819
36820 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
36821 with DIVIDE_BY_ZERO_EXCEPTION.
36822 (gamma_test_data): Likewise.
36823 (lgamma_test_data): Likewise.
36824 (log_test_data): Likewise.
36825 (log10_test_data): Likewise.
36826 (log2_test_data): Likewise.
36827 (tgamma_test_data): Likewise.
36828
36829 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
36830 (acos_test_tonearest): Likewise.
36831 (acos_test_towardzero): Likewise.
36832 (acos_test_downward): Likewise.
36833 (acos_test_upward): Likewise.
36834 (acosh_test): Likewise.
36835 (asin_test): Likewise.
36836 (asin_test_tonearest): Likewise.
36837 (asin_test_towardzero): Likewise.
36838 (asin_test_downward): Likewise.
36839 (asin_test_upward): Likewise.
36840 (asinh_test): Likewise.
36841 (atan_test): Likewise.
36842 (atanh_test): Likewise.
36843 (atan2_test): Likewise.
36844 (cabs_test): Likewise.
36845 (cacos_test): Likewise.
36846 (cacosh_test): Likewise.
36847 (casin_test): Likewise.
36848 (casinh_test): Likewise.
36849 (catan_test): Likewise.
36850 (catanh_test): Likewise.
36851 (cbrt_test): Likewise.
36852 (ccos_test): Likewise.
36853 (ccosh_test): Likewise.
36854 (cexp_test): Likewise.
36855 (clog_test): Likewise.
36856 (clog10_test): Likewise.
36857 (cos_test): Likewise.
36858 (cos_test_tonearest): Likewise.
36859 (cos_test_towardzero): Likewise.
36860 (cos_test_downward): Likewise.
36861 (cos_test_upward): Likewise.
36862 (cosh_test): Likewise.
36863 (cosh_test_tonearest): Likewise.
36864 (cosh_test_towardzero): Likewise.
36865 (cosh_test_downward): Likewise.
36866 (cosh_test_upward): Likewise.
36867 (cpow_test): Likewise.
36868 (csin_test): Likewise.
36869 (csinh_test): Likewise.
36870 (csqrt_test): Likewise.
36871 (ctan_test): Likewise.
36872 (ctan_test_tonearest): Likewise.
36873 (ctan_test_towardzero): Likewise.
36874 (ctan_test_downward): Likewise.
36875 (ctan_test_upward): Likewise.
36876 (ctanh_test): Likewise.
36877 (ctanh_test_tonearest): Likewise.
36878 (ctanh_test_towardzero): Likewise.
36879 (ctanh_test_downward): Likewise.
36880 (ctanh_test_upward): Likewise.
36881 (erf_test): Likewise.
36882 (erfc_test): Likewise.
36883 (exp_test): Likewise.
36884 (exp_test_tonearest): Likewise.
36885 (exp_test_towardzero): Likewise.
36886 (exp_test_downward): Likewise.
36887 (exp_test_upward): Likewise.
36888 (exp10_test): Likewise.
36889 (exp2_test): Likewise.
36890 (expm1_test): Likewise.
36891 (fmod_test): Likewise.
36892 (gamma_test): Likewise.
36893 (hypot_test): Likewise.
36894 (j0_test): Likewise.
36895 (j1_test): Likewise.
36896 (jn_test): Likewise.
36897 (lgamma_test): Likewise.
36898 (log_test): Likewise.
36899 (log10_test): Likewise.
36900 (log1p_test): Likewise.
36901 (log2_test): Likewise.
36902 (logb_test_downward): Likewise.
36903 (pow_test): Likewise.
36904 (pow_test_tonearest): Likewise.
36905 (pow_test_towardzero): Likewise.
36906 (pow_test_downward): Likewise.
36907 (pow_test_upward): Likewise.
36908 (remainder_test): Likewise.
36909 (remquo_test): Likewise.
36910 (sin_test): Likewise.
36911 (sin_test_tonearest): Likewise.
36912 (sin_test_towardzero): Likewise.
36913 (sin_test_downward): Likewise.
36914 (sin_test_upward): Likewise.
36915 (sincos_test): Likewise.
36916 (sinh_test): Likewise.
36917 (sinh_test_tonearest): Likewise.
36918 (sinh_test_towardzero): Likewise.
36919 (sinh_test_downward): Likewise.
36920 (sinh_test_upward): Likewise.
36921 (sqrt_test): Likewise.
36922 (tan_test): Likewise.
36923 (tan_test_tonearest): Likewise.
36924 (tan_test_towardzero): Likewise.
36925 (tan_test_downward): Likewise.
36926 (tan_test_upward): Likewise.
36927 (tanh_test): Likewise.
36928 (tgamma_test): Likewise.
36929 (y0_test): Likewise.
36930 (y1_test): Likewise.
36931 (yn_test): Likewise.
36932
36933 * math/gen-libm-test.pl (adjust_arg): Remove function.
36934 (special_function): Remove argument $in_func. Only handle
36935 generating output for tables of tests, not inside functions.
36936 (parse_args): Likewise.
36937 (generate_testfile): Remove variable $in_func. Update call to
36938 parse_args.
36939 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
36940 (MINUS_ZERO_INIT): Rename macro to minus_zero.
36941 (PLUS_INFTY_INIT): Rename macro to plus_infty.
36942 (MINUS_INFTY_INIT): Rename macro to minus_infty.
36943 (QNAN_VALUE_INIT): Rename macro to qnan_value.
36944 (MAX_VALUE_INIT): Rename macro to max_value.
36945 (MIN_VALUE_INIT): Rename macro to min_value.
36946 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
36947 (plus_zero): Remove variable.
36948 (minus_zero): Likewise.
36949 (plus_infty): Likewise.
36950 (minus_infty): Likewise.
36951 (qnan_value): Likewise.
36952 (max_value): Likewise.
36953 (min_value): Likewise.
36954 (min_subnorm_value): Likewise.
36955
36956 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
36957
36958 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
36959 uint64_t or uint32_t usage.
36960 * crypt/sha256-block.c: Likewise.
36961 * crypt/sha256-crypt.c: Likewise.
36962 * crypt/sha256.c: Likewise.
36963 * crypt/sha512-block.c: Likewise.
36964 * crypt/sha512-crypt.c: Likewise.
36965 * crypt/sha512.c: Likewise.
36966 * debug/backtrace-tst.c: Likewise.
36967 * debug/pcprofiledump.c: Likewise.
36968 * elf/cache.c: Likewise.
36969 * elf/dl-cache.c: Likewise.
36970 * elf/dl-misc.c: Likewise.
36971 * elf/dl-profile.c: Likewise.
36972 * elf/dl-support.c: Likewise.
36973 * elf/ldconfig.c: Likewise.
36974 * elf/sprof.c: Likewise.
36975 * iconv/dummy-repertoire.c: Likewise.
36976 * iconv/iconv_charmap.c: Likewise.
36977 * iconv/skeleton.c: Likewise.
36978 * iconvdata/8bit-generic.c: Likewise.
36979 * iconvdata/cp737.h: Likewise.
36980 * iconvdata/cp775.h: Likewise.
36981 * iconvdata/ibm1008.h: Likewise.
36982 * iconvdata/ibm1025.h: Likewise.
36983 * iconvdata/ibm1046.h: Likewise.
36984 * iconvdata/ibm1097.h: Likewise.
36985 * iconvdata/ibm1112.h: Likewise.
36986 * iconvdata/ibm1122.h: Likewise.
36987 * iconvdata/ibm1123.h: Likewise.
36988 * iconvdata/ibm1124.h: Likewise.
36989 * iconvdata/ibm1129.h: Likewise.
36990 * iconvdata/ibm1130.h: Likewise.
36991 * iconvdata/ibm1132.h: Likewise.
36992 * iconvdata/ibm1133.h: Likewise.
36993 * iconvdata/ibm1137.h: Likewise.
36994 * iconvdata/ibm1140.h: Likewise.
36995 * iconvdata/ibm1141.h: Likewise.
36996 * iconvdata/ibm1142.h: Likewise.
36997 * iconvdata/ibm1143.h: Likewise.
36998 * iconvdata/ibm1144.h: Likewise.
36999 * iconvdata/ibm1145.h: Likewise.
37000 * iconvdata/ibm1146.h: Likewise.
37001 * iconvdata/ibm1147.h: Likewise.
37002 * iconvdata/ibm1148.h: Likewise.
37003 * iconvdata/ibm1149.h: Likewise.
37004 * iconvdata/ibm1153.h: Likewise.
37005 * iconvdata/ibm1154.h: Likewise.
37006 * iconvdata/ibm1155.h: Likewise.
37007 * iconvdata/ibm1156.h: Likewise.
37008 * iconvdata/ibm1157.h: Likewise.
37009 * iconvdata/ibm1158.h: Likewise.
37010 * iconvdata/ibm1160.h: Likewise.
37011 * iconvdata/ibm1161.h: Likewise.
37012 * iconvdata/ibm1162.h: Likewise.
37013 * iconvdata/ibm1163.h: Likewise.
37014 * iconvdata/ibm1164.h: Likewise.
37015 * iconvdata/ibm1166.h: Likewise.
37016 * iconvdata/ibm1167.h: Likewise.
37017 * iconvdata/ibm12712.h: Likewise.
37018 * iconvdata/ibm1390.h: Likewise.
37019 * iconvdata/ibm1399.h: Likewise.
37020 * iconvdata/ibm16804.h: Likewise.
37021 * iconvdata/ibm4517.h: Likewise.
37022 * iconvdata/ibm4899.h: Likewise.
37023 * iconvdata/ibm4909.h: Likewise.
37024 * iconvdata/ibm4971.h: Likewise.
37025 * iconvdata/ibm5347.h: Likewise.
37026 * iconvdata/ibm803.h: Likewise.
37027 * iconvdata/ibm856.h: Likewise.
37028 * iconvdata/ibm901.h: Likewise.
37029 * iconvdata/ibm902.h: Likewise.
37030 * iconvdata/ibm9030.h: Likewise.
37031 * iconvdata/ibm9066.h: Likewise.
37032 * iconvdata/ibm921.h: Likewise.
37033 * iconvdata/ibm922.h: Likewise.
37034 * iconvdata/ibm9448.h: Likewise.
37035 * iconvdata/isiri-3342.h: Likewise.
37036 * iconvdata/jis0201.h: Likewise.
37037 * include/link.h: Likewise.
37038 * include/netdb.h: Likewise.
37039 * inet/check_native.c: Likewise.
37040 * inet/check_pf.c: Likewise.
37041 * inet/getipv4sourcefilter.c: Likewise.
37042 * inet/getnameinfo.c: Likewise.
37043 * inet/getsourcefilter.c: Likewise.
37044 * inet/htonl.c: Likewise.
37045 * inet/setipv4sourcefilter.c: Likewise.
37046 * inet/setsourcefilter.c: Likewise.
37047 * inet/test-inet6_opt.c: Likewise.
37048 * inet/tst-network.c: Likewise.
37049 * locale/C-collate.c: Likewise.
37050 * locale/C-ctype.c: Likewise.
37051 * locale/C-time.c: Likewise.
37052 * locale/C-translit.h: Likewise.
37053 * locale/loadarchive.c: Likewise.
37054 * locale/programs/3level.h: Likewise.
37055 * locale/programs/charmap.c: Likewise.
37056 * locale/programs/charmap.h: Likewise.
37057 * locale/programs/ld-address.c: Likewise.
37058 * locale/programs/ld-collate.c: Likewise.
37059 * locale/programs/ld-ctype.c: Likewise.
37060 * locale/programs/ld-identification.c: Likewise.
37061 * locale/programs/ld-measurement.c: Likewise.
37062 * locale/programs/ld-messages.c: Likewise.
37063 * locale/programs/ld-monetary.c: Likewise.
37064 * locale/programs/ld-name.c: Likewise.
37065 * locale/programs/ld-numeric.c: Likewise.
37066 * locale/programs/ld-paper.c: Likewise.
37067 * locale/programs/ld-telephone.c: Likewise.
37068 * locale/programs/ld-time.c: Likewise.
37069 * locale/programs/linereader.c: Likewise.
37070 * locale/programs/locale.c: Likewise.
37071 * locale/programs/locarchive.c: Likewise.
37072 * locale/programs/locfile.h: Likewise.
37073 * locale/programs/repertoire.c: Likewise.
37074 * locale/programs/simple-hash.c: Likewise.
37075 * locale/programs/simple-hash.h: Likewise.
37076 * malloc/memusage.c: Likewise.
37077 * malloc/memusagestat.c: Likewise.
37078 * nis/nis_defaults.c: Likewise.
37079 * nis/nis_hash.c: Likewise.
37080 * nis/nis_print.c: Likewise.
37081 * nis/nis_xdr.c: Likewise.
37082 * nscd/connections.c: Likewise.
37083 * nscd/hstcache.c: Likewise.
37084 * nscd/nscd_gethst_r.c: Likewise.
37085 * nscd/nscd_getserv_r.c: Likewise.
37086 * nscd/nscd_helper.c: Likewise.
37087 * nscd/servicescache.c: Likewise.
37088 * nss/makedb.c: Likewise.
37089 * nss/nss_db/db-XXX.c: Likewise.
37090 * nss/nss_db/db-initgroups.c: Likewise.
37091 * nss/nss_db/db-netgrp.c: Likewise.
37092 * nss/nss_files/files-network.c: Likewise.
37093 * nss/nss_files/files-parse.c: Likewise.
37094 * posix/bug-regex5.c: Likewise.
37095 * posix/fnmatch_loop.c: Likewise.
37096 * posix/regcomp.c: Likewise.
37097 * posix/regexec.c: Likewise.
37098 * posix/tst-rfc3484-2.c: Likewise.
37099 * posix/tst-rfc3484-3.c: Likewise.
37100 * posix/tst-rfc3484.c: Likewise.
37101 * resolv/nss_dns/dns-canon.c: Likewise.
37102 * resolv/nss_dns/dns-network.c: Likewise.
37103 * resolv/res_init.c: Likewise.
37104 * resolv/res_mkquery.c: Likewise.
37105 * resolv/tst-aton.c: Likewise.
37106 * stdlib/cxa_atexit.c: Likewise.
37107 * stdlib/cxa_finalize.c: Likewise.
37108 * stdlib/gen-fpioconst.c: Likewise.
37109 * stdlib/strtol_l.c: Likewise.
37110 * string/tst-endian.c: Likewise.
37111 * sunrpc/auth_des.c: Likewise.
37112 * sunrpc/clnt_udp.c: Likewise.
37113 * sunrpc/rtime.c: Likewise.
37114 * sunrpc/svcauth_des.c: Likewise.
37115 * sunrpc/xdr.c: Likewise.
37116 * sunrpc/xdr_intXX_t.c: Likewise.
37117 * sunrpc/xdr_rec.c: Likewise.
37118 * sysdeps/generic/ldconfig.h: Likewise.
37119 * sysdeps/generic/ldsodefs.h: Likewise.
37120 * sysdeps/generic/memusage.h: Likewise.
37121 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
37122 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
37123 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
37124 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
37125 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37126 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
37127 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
37128 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
37129 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
37130 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
37131 * sysdeps/posix/getaddrinfo.c: Likewise.
37132 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
37133 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
37134 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
37135 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
37136 * sysdeps/powerpc/test-gettimebase.c: Likewise.
37137 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
37138 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
37139 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
37140 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
37141 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
37142 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
37143 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
37144 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
37145 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
37146 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
37147 * sysdeps/x86_64/dl-tls.h: Likewise.
37148 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
37149 * time/alt_digit.c: Likewise.
37150 * time/era.c: Likewise.
37151 * wcsmbs/tst-c16c32-1.c: Likewise.
37152
37153 2013-05-16 Joseph Myers <joseph@codesourcery.com>
37154
37155 * math/libm-test.inc (struct test_sincos_data): New type.
37156 (RUN_TEST_LOOP_sincos): New macro.
37157 (sincos_test_data): New variable.
37158 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
37159
37160 2013-05-16 Richard Henderson <rth@redhat.com>
37161
37162 * math/atest-exp2.c (LIMB64): New macro.
37163 (CONSTSZ): New macro.
37164 (mp_exp1, mp_exp_m1, mp_log2): New variables.
37165 (hexdig): Move ...
37166 (print_mpn_fp): ... to function scope.
37167 (read_mpn_hex): Remove.
37168 (get_log2): Remove.
37169 (exp2_mpn): Use mp_log2.
37170 (main): Use mp_exp1.
37171
37172 2013-05-16 Joseph Myers <joseph@codesourcery.com>
37173
37174 * math/libm-test.inc: Remove comment about not testing "inexact"
37175 exceptions.
37176 (INEXACT_EXCEPTION): New macro.
37177 (NO_INEXACT_EXCEPTION): Likewise.
37178 (INVALID_EXCEPTION_OK): Update value.
37179 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
37180 (OVERFLOW_EXCEPTION_OK): Likewise.
37181 (UNDERFLOW_EXCEPTION_OK): Likewise.
37182 (IGNORE_ZERO_INF_SIGN): Likewise.
37183 (ERRNO_UNCHANGED): Likewise.
37184 (ERRNO_EDOM): Likewise.
37185 (ERRNO_ERANGE): Likewise.
37186 (test_exceptions): Handle testing "inexact" exceptions.
37187 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
37188 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
37189 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
37190 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
37191 INEXACT_EXCEPTION.
37192 (rint_towardzero_test_data): Likewise.
37193 (rint_downward_test_data): Likewise.
37194 (rint_upward_test_data): Likewise.
37195
37196 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
37197 with OVERFLOW_EXCEPTION.
37198 (exp10_test_data): Likewise.
37199 (exp2_test_data): Likewise.
37200 (expm1_test_data): Likewise.
37201 (lgamma_test_data): Likewise.
37202 (pow_test_data): Likewise.
37203 (tgamma_test_data): Likewise.
37204 (yn_test_data): Remove duplicate test of overflow.
37205
37206 * math/libm-test.inc (struct test_cc_c_data): New type.
37207 (RUN_TEST_LOOP_cc_c): New macro.
37208 (cpow_test_data): New variable.
37209 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
37210
37211 * math/libm-test.inc (struct test_f_L_data): New type.
37212 (RUN_TEST_LOOP_f_L): New macro.
37213 (llrint_test_data): New variable.
37214 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
37215 (llrint_tonearest_test_data): New variable.
37216 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
37217 (llrint_towardzero_test_data): New variable.
37218 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
37219 (llrint_downward_test_data): New variable.
37220 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
37221 (llrint_upward_test_data): New variable.
37222 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
37223 (llround_test_data): New variable.
37224 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
37225
37226 2013-05-13 Peter Collingbourne <pcc@google.com>
37227
37228 * math/atest-exp2.c (get_log2): Remove const attribute.
37229
37230 2013-05-15 Joseph Myers <joseph@codesourcery.com>
37231
37232 * math/libm-test.inc (struct test_f_l_data): New type.
37233 (RUN_TEST_LOOP_f_l): New macro.
37234 (lrint_test_data): New variable.
37235 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
37236 (lrint_tonearest_test_data): New variable.
37237 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
37238 (lrint_towardzero_test_data): New variable.
37239 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
37240 (lrint_downward_test_data): New variable.
37241 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
37242 (lrint_upward_test_data): New variable.
37243 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
37244 (lround_test_data): New variable.
37245 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
37246
37247 2013-05-15 Peter Collingbourne <pcc@google.com>
37248
37249 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
37250 (EXTRACT_WORDS64) Use where appropriate.
37251 (INSERT_WORDS64) Likewise.
37252
37253 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
37254 constraints with x constraints.
37255 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
37256
37257 * malloc/obstack.c (_obstack_compat): Add initializer.
37258
37259 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
37260
37261 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
37262 si_trapno and add si_addr_lsb to _sifields.sigfault.
37263 (si_trapno): Remove macro.
37264 (si_addr_lsb): Define new macro.
37265 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
37266
37267 2013-05-15 Joseph Myers <joseph@codesourcery.com>
37268
37269 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
37270 instead of TEST_f_l.
37271 (llrint_test_tonearest): Likewise.
37272 (llrint_test_towardzero): Likewise.
37273 (llrint_test_downward): Likewise.
37274 (llrint_test_upward): Likewise.
37275 (llround_test): Likewise.
37276
37277 * math/libm-test.inc (struct test_f_i_data): Add comment.
37278 (RUN_TEST_LOOP_f_b): New macro.
37279 (RUN_TEST_LOOP_f_b_tg): Likewise.
37280 (finite_test_data): New variable.
37281 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
37282 (isfinite_test_data): New variable.
37283 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
37284 (isinf_test_data): New variable.
37285 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
37286 (isnan_test_data): New variable.
37287 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
37288 (isnormal_test_data): New variable.
37289 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
37290 (issignaling_test_data): New variable.
37291 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
37292 (signbit_test_data): New variable.
37293 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
37294
37295 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
37296 with INVALID_EXCEPTION.
37297 (acosh_test_data): Likewise.
37298 (asin_test_data): Likewise.
37299 (atanh_test_data): Likewise.
37300 (fmod_test_data): Likewise.
37301 (log_test_data): Likewise.
37302 (log10_test_data): Likewise.
37303 (log2_test_data): Likewise.
37304 (pow_test_data): Likewise.
37305 (sqrt_test_data): Likewise.
37306 (y0_test_data): Likewise.
37307 (y1_test_data): Likewise.
37308 (yn_test_data): Likewise.
37309
37310 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
37311 function contents.
37312
37313 * math/libm-test.inc (struct test_ff_i_data): New type.
37314 (RUN_TEST_LOOP_ff_i_tg): New macro.
37315 (isgreater_test_data): New variable.
37316 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
37317 (isgreaterequal_test_data): New variable.
37318 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
37319 (isless_test_data): New variable.
37320 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
37321 (islessequal_test_data): New variable.
37322 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
37323 (islessgreater_test_data): New variable.
37324 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
37325 (isunordered_test_data): New variable.
37326 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
37327
37328 2013-05-14 David S. Miller <davem@davemloft.net>
37329
37330 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37331
37332 2013-05-14 Joseph Myers <joseph@codesourcery.com>
37333
37334 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
37335
37336 * math/libm-test.inc (struct test_fF_f1_data): Change type of
37337 extra_test to int.
37338 (struct test_f_i_data): Change type of max_ulp to int.
37339
37340 * math/libm-test.inc (test_ffI_f1_data): New type.
37341 (RUN_TEST_LOOP_ffI_f1): New macro.
37342 (remquo_test_data): New variable.
37343 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
37344
37345 * setjmp/tst-setjmp-fp.c: New file.
37346 * setjmp/Makefile (tests): Add tst-setjmp-fp.
37347 (link-libm): New variable.
37348 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
37349
37350 * math/libm-test.inc (struct test_f_i_data): New type.
37351 (RUN_TEST_LOOP_f_i): New macro.
37352 (RUN_TEST_LOOP_f_i_tg): Likewise.
37353 (fpclassify_test_data): New variable.
37354 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
37355 (ilogb_test_data): New variable.
37356 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
37357
37358 * math/libm-test.inc (scalbln_test): Correct function name in END
37359 call.
37360
37361 * math/libm-test.inc (struct test_f_f1_data): Add comment.
37362 (RUN_TEST_LOOP_fI_f1): New macro.
37363 (frexp_test_data): New variable.
37364 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
37365
37366 * math/libm-test.inc (struct test_fF_f1_data): New type.
37367 (RUN_TEST_LOOP_fF_f1): New macro.
37368 (modf_test_data): New variable.
37369 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
37370
37371 * math/libm-test.inc (struct test_f_f1_data): New type.
37372 (RUN_TEST_LOOP_f_f1): New macro.
37373 (gamma_test_data): New variable.
37374 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
37375 (lgamma_test_data): New variable.
37376 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
37377
37378 2013-05-13 Carlos O'Donell <carlos@redhat.com>
37379
37380 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
37381 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
37382 (main): Comment "tls" pseudo-hwcap.
37383
37384 2013-05-13 Joseph Myers <joseph@codesourcery.com>
37385
37386 * math/libm-test.inc (struct test_fl_f_data): New type.
37387 (RUN_TEST_LOOP_fl_f): New variable.
37388 (scalbln_test_data): New variable.
37389 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
37390
37391 * math/libm-test.inc (struct test_fi_f_data): New type.
37392 (RUN_TEST_LOOP_fi_f): New macro.
37393 (ldexp_test_data): New variable.
37394 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
37395 (scalbn_test_data): New variable.
37396 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
37397
37398 * math/libm-test.inc (struct test_c_f_data): New type.
37399 (RUN_TEST_LOOP_c_f): New macro.
37400 (cabs_test_data): New variable.
37401 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
37402 (carg_test_data): New variable.
37403 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
37404 (cimag_test_data): New variable.
37405 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
37406 (creal_test_data): New variable.
37407 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
37408
37409 * math/libm-test.inc (struct test_if_f_data): New type.
37410 (RUN_TEST_LOOP_if_f): New macro.
37411 (jn_test_data): New variable.
37412 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
37413 (yn_test_data): New variable.
37414 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
37415
37416 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
37417
37418 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37419
37420 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
37421 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
37422
37423 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
37424
37425 * benchtests/Makefile (CPPFLAGS-nonlib): Add
37426 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
37427 (bench-deps): Add bench-timing.h.
37428 * benchtests-bench-skeleton.c: Include bench-timing.h.
37429 (main): Use TIMING_* macros instead of clock_gettime.
37430 * benchtests/bench-timing.h: New file.
37431
37432 [BZ #14582]
37433 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
37434 Renamed from _LIB_VERSION.
37435 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
37436
37437 2013-05-12 Joseph Myers <joseph@codesourcery.com>
37438
37439 * math/libm-test.inc (struct test_fff_f_data): New type.
37440 (RUN_TEST_LOOP_fff_f): New macro.
37441 (fma_test_data): New variable.
37442 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
37443 (fma_towardzero_test_data): New variable.
37444 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
37445 (fma_downward_test_data): New variable.
37446 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
37447 (fma_upward_test_data): New variable.
37448 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
37449
37450 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
37451 (struct test_c_c_data): New type.
37452 (RUN_TEST_LOOP_c_c): New macro.
37453 (cacos_test_data): New variable.
37454 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
37455 (cacosh_test_data): New variable.
37456 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
37457 (casin_test_data): New variable.
37458 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
37459 (casinh_test_data): New variable.
37460 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
37461 (catan_test_data): New variable.
37462 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
37463 (catanh_test_data): New variable.
37464 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
37465 (ccos_test_data): New variable.
37466 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
37467 (ccosh_test_data): New variable.
37468 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
37469 (cexp_test_data): New variable.
37470 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
37471 (clog_test_data): New variable.
37472 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
37473 (clog10_test_data): New variable.
37474 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
37475 (conj_test_data): New variable.
37476 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
37477 (cproj_test_data): New variable.
37478 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
37479 (csin_test_data): New variable.
37480 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
37481 (csinh_test_data): New variable.
37482 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
37483 (csqrt_test_data): New variable.
37484 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
37485 (ctan_test_data): New variable.
37486 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
37487 (ctan_tonearest_test_data): New variable.
37488 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
37489 (ctan_towardzero_test_data): New variable.
37490 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
37491 (ctan_downward_test_data): New variable.
37492 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
37493 (ctan_upward_test_data): New variable.
37494 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
37495 (ctanh_test_data): New variable.
37496 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
37497 (ctanh_tonearest_test_data): New variable.
37498 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
37499 (ctanh_towardzero_test_data): New variable.
37500 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
37501 (ctanh_downward_test_data): New variable.
37502 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
37503 (ctanh_upward_test_data): New variable.
37504 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
37505 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
37506 of BUILD_COMPLEX.
37507
37508 * math/libm-test.inc (struct test_ff_f_data): New type.
37509 (struct test_ff_f_data_nexttoward): Likewise.
37510 (RUN_TEST_LOOP_2_f): New macro.
37511 (RUN_TEST_LOOP_ff_f): Likewise.
37512 (atan2_test_data): New variable.
37513 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
37514 (copysign_test_data): New variable.
37515 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
37516 (fdim_test_data): New variable.
37517 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
37518 (fmax_test_data): New variable.
37519 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
37520 (fmin_test_data): New variable.
37521 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
37522 (fmod_test_data): New variable.
37523 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
37524 (hypot_test_data): New variable.
37525 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
37526 (nextafter_test_data): New variable.
37527 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
37528 (nexttoward_test_data): New variable.
37529 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
37530 (pow_test_data): New variable.
37531 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
37532 (pow_tonearest_test_data): New variable.
37533 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
37534 (pow_towardzero_test_data): New variable.
37535 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
37536 (pow_downward_test_data): New variable.
37537 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
37538 (pow_upward_test_data): New variable.
37539 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
37540 (remainder_test_data): New variable.
37541 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
37542 (scalb_test_data): New variable.
37543 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
37544 * sysdeps/i386/fpu/libm-test-ulps: Update.
37545
37546 2013-05-11 Joseph Myers <joseph@codesourcery.com>
37547
37548 * math/libm-test.inc (fma_test): Use max_value instead of local
37549 variable fltmax.
37550 (nextafter_test): Likewise.
37551
37552 * math/libm-test.inc (acos_towardzero_test_data): New variable.
37553 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37554 (acos_downward_test_data): New variable.
37555 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37556 (acos_upward_test_data): New variable.
37557 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37558 (acosh_test_data): New variable.
37559 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
37560 (asin_test_data): New variable.
37561 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
37562 (asin_tonearest_test_data): New variable.
37563 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37564 (asin_towardzero_test_data): New variable.
37565 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37566 (asin_downward_test_data): New variable.
37567 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37568 (asin_upward_test_data): New variable.
37569 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37570 (asinh_test_data): New variable.
37571 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
37572 (atan_test_data): New variable.
37573 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
37574 (atanh_test_data): New variable.
37575 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
37576 (cbrt_test_data): New variable.
37577 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
37578 (ceil_test_data): New variable.
37579 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
37580 (cos_test_data): New variable.
37581 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
37582 (cos_tonearest_test_data): New variable.
37583 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37584 (cos_towardzero_test_data): New variable.
37585 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37586 (cos_downward_test_data): New variable.
37587 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37588 (cos_upward_test_data): New variable.
37589 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37590 (cosh_test_data): New variable.
37591 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
37592 (cosh_tonearest_test_data): New variable.
37593 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37594 (cosh_towardzero_test_data): New variable.
37595 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37596 (cosh_downward_test_data): New variable.
37597 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37598 (cosh_upward_test_data): New variable.
37599 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37600 (erf_test_data): New variable.
37601 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
37602 (erfc_test_data): New variable.
37603 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
37604 (exp_test_data): New variable.
37605 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
37606 (exp_tonearest_test_data): New variable.
37607 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37608 (exp_towardzero_test_data): New variable.
37609 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37610 (exp_downward_test_data): New variable.
37611 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37612 (exp_upward_test_data): New variable.
37613 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37614 (exp10_test_data): New variable.
37615 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
37616 (exp2_test_data): New variable.
37617 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
37618 (expm1_test_data): New variable.
37619 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
37620 (fabs_test_data): New variable.
37621 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
37622 (floor_test_data): New variable.
37623 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
37624 (j0_test_data): New variable.
37625 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
37626 (j1_test_data): New variable.
37627 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
37628 (log_test_data): New variable.
37629 (log_test): Run tests with RUN_TEST_LOOP_f_f.
37630 (log10_test_data): New variable.
37631 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
37632 (log1p_test_data): New variable.
37633 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
37634 (log2_test_data): New variable.
37635 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
37636 (logb_test_data): New variable.
37637 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
37638 (logb_downward_test_data): New variable.
37639 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37640 (nearbyint_test_data): New variable.
37641 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
37642 (rint_test_data): New variable.
37643 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
37644 (rint_tonearest_test_data): New variable.
37645 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37646 (rint_towardzero_test_data): New variable.
37647 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37648 (rint_downward_test_data): New variable.
37649 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37650 (rint_upward_test_data): New variable.
37651 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37652 (round_test_data): New variable.
37653 (round_test): Run tests with RUN_TEST_LOOP_f_f.
37654 (sin_test_data): New variable.
37655 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
37656 (sin_tonearest_test_data): New variable.
37657 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37658 (sin_towardzero_test_data): New variable.
37659 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37660 (sin_downward_test_data): New variable.
37661 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37662 (sin_upward_test_data): New variable.
37663 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37664 (sinh_test_data): New variable.
37665 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
37666 (sinh_tonearest_test_data): New variable.
37667 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37668 (sinh_towardzero_test_data): New variable.
37669 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37670 (sinh_downward_test_data): New variable.
37671 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37672 (sinh_upward_test_data): New variable.
37673 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37674 (sqrt_test_data): New variable.
37675 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
37676 (tan_test_data): New variable.
37677 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
37678 (tan_tonearest_test_data): New variable.
37679 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37680 (tan_towardzero_test_data): New variable.
37681 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37682 (tan_downward_test_data): New variable.
37683 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37684 (tan_upward_test_data): New variable.
37685 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37686 (tanh_test_data): New variable.
37687 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
37688 (tgamma_test_data): New variable.
37689 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
37690 (trunc_test_data): New variable.
37691 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
37692 (y0_test_data): New variable.
37693 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
37694 (y1_test_data): New variable.
37695 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
37696 (significand_test_data): New variable.
37697 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
37698
37699 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
37700
37701 [BZ #12387]
37702 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
37703
37704 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
37705
37706 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
37707
37708 2013-05-10 Andreas Jaeger <aj@suse.de>
37709
37710 [BZ #15448]
37711 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
37712 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
37713
37714 2013-05-10 Joseph Myers <joseph@codesourcery.com>
37715
37716 * math/gen-libm-test.pl (adjust_arg): New function.
37717 (special_functions): Handle generating output in both functions
37718 and arrays.
37719 (parse_args): Likewise.
37720 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
37721 $in_func argument to parse_args.
37722 * math/libm-test.inc (struct test_f_f_data): New type.
37723 (IF_ROUND_INIT_): New macro.
37724 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
37725 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
37726 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
37727 (IF_ROUND_INIT_FE_UPWARD): Likewise.
37728 (ROUND_RESTORE_): Likewise.
37729 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
37730 (ROUND_RESTORE_FE_TONEAREST): Likewise.
37731 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
37732 (ROUND_RESTORE_FE_UPWARD): Likewise.
37733 (RUN_TEST_LOOP_f_f): New macro.
37734 (acos_test_data): New variable.
37735 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
37736 (acos_tonearest_test_data): New variable.
37737 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37738
37739 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
37740
37741 * benchtests/bench-skeleton.c (startup): Fix coding style.
37742
37743 2013-05-10 Joseph Myers <joseph@codesourcery.com>
37744
37745 [BZ #6809]
37746 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
37747 negative infinity argument.
37748 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
37749 negative infinity argument.
37750 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
37751 negative infinity argument.
37752 * math/libm-test.inc (tgamma_test): Expect errno to be set for
37753 domain errors.
37754
37755 2013-05-10 Florian Weimer <fweimer@redhat.com>
37756
37757 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
37758 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
37759 * iconv/iconv_prog.c (main): Likewise.
37760 * locale/programs/charmap-dir.c (charmap_readdir)
37761 (fopen_uncompressed): Likewise.
37762 * locale/programs/locfile.c (siblings_uncached)
37763 (write_locale_data): Use lstat64 instead of lstat.
37764 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
37765 stat.
37766
37767 2013-05-10 Andreas Jaeger <aj@suse.de>
37768
37769 [BZ #15395]
37770 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
37771 localization.
37772 Include <locale.h>.
37773
37774 2013-05-09 Carlos O'Donell <carlos@redhat.com>
37775
37776 * elf/dl-close.c (_dl_close_worker): Add comments.
37777
37778 2013-05-09 Joseph Myers <joseph@codesourcery.com>
37779
37780 [BZ #15359]
37781 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
37782 high part of pi/2.
37783 (__ieee754_rem_pio2l): Update comments.
37784
37785 [BZ #15429]
37786 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
37787 high part of pi/2.
37788 (__ieee754_rem_pio2l): Update comments.
37789
37790 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
37791 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
37792
37793 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
37794 M_PI_4l.
37795
37796 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
37797 (M_PI_34_LOG10El): Likewise.
37798 (M_PI2_LOG10El): Likewise.
37799 (M_PI4_LOG10El): Likewise.
37800 (M_PI_LOG10El): Likewise.
37801
37802 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37803
37804 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37805
37806 2013-05-08 Joseph Myers <joseph@codesourcery.com>
37807
37808 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
37809 (MINUS_ZERO_INIT): Likewise.
37810 (PLUS_INFTY_INIT): Likewise.
37811 (MINUS_INFTY_INIT): Likewise.
37812 (QNAN_VALUE_INIT): Likewise.
37813 (MAX_VALUE_INIT): Likewise.
37814 (MIN_VALUE_INIT): Likewise.
37815 (MIN_SUBNORM_VALUE_INIT): Likewise.
37816 (plus_zero): Initialize with PLUS_ZERO_INIT.
37817 (minus_zero): Initialize with MINUS_ZERO_INIT.
37818 (plus_infty): Initialize with PLUS_INFTY_INIT.
37819 (minus_infty): Initialize with MINUS_INFTY_INIT.
37820 (qnan_value): Initialize with QNAN_VALUE_INIT.
37821 (max_value): Initialize with MAX_VALUE_INIT.
37822 (min_value): Initialize with MIN_VALUE_INIT.
37823 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
37824
37825 * math/libm-test.inc (RUN_TEST_if_f): New macro.
37826 (jn_test): Use TEST_if_f instead of TEST_ff_f.
37827 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
37828 (yn_test): Use TEST_if_f instead of TEST_ff_f.
37829
37830 * math/libm-test.inc (RUN_TEST_f_f): New macro.
37831 (RUN_TEST_2_f): Likewise.
37832 (RUN_TEST_ff_f): Likewise.
37833 (RUN_TEST_fi_f): Likewise.
37834 (RUN_TEST_fl_f): Likewise.
37835 (RUN_TEST_fff_f): Likewise.
37836 (RUN_TEST_c_f): Likewise.
37837 (RUN_TEST_f_f1): Likewise.
37838 (RUN_TEST_fF_f1): Likewise.
37839 (RUN_TEST_fI_f1): Likewise.
37840 (RUN_TEST_ffI_f1): Likewise.
37841 (RUN_TEST_c_c): Likewise.
37842 (RUN_TEST_cc_c): Likewise.
37843 (RUN_TEST_f_i): Likewise.
37844 (RUN_TEST_f_i_tg): Likewise.
37845 (RUN_TEST_ff_i_tg): Likewise.
37846 (RUN_TEST_f_b): Likewise.
37847 (RUN_TEST_f_b_tg): Likewise.
37848 (RUN_TEST_f_l): Likewise.
37849 (RUN_TEST_f_L): Likewise.
37850 (RUN_TEST_sincos): Likewise.
37851 * math/gen-libm-test.pl (new_test): Take new argument to indicate
37852 whether to show exceptions. Do not include ");\n" in return
37853 value.
37854 (special_functions): Output call to RUN_TEST_sincos instead of
37855 check_float calls. Update calls to new_test.
37856 (parse_args): Output call to single RUN_TEST_* macro instead of
37857 check_* calls and other assignments. Update calls to new_test.
37858
37859 [BZ #2546]
37860 [BZ #2560]
37861 [BZ #5159]
37862 [BZ #15426]
37863 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
37864 input to result for tgamma overflow.
37865 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
37866 (gamma_coeff): New variable.
37867 (NCOEFF): New macro.
37868 (gamma_positive): New function.
37869 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
37870 underflow here. Use gamma_positive instead of exp (lgamma) for
37871 other arguments.
37872 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
37873 (gamma_coeff): New variable.
37874 (NCOEFF): New macro.
37875 (gammaf_positive): New function.
37876 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
37877 underflow here. Use gamma_positive instead of exp (lgamma) for
37878 other arguments.
37879 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
37880 (gamma_coeff): New variable.
37881 (NCOEFF): New macro.
37882 (gammal_positive): New function.
37883 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
37884 underflow here. Use gamma_positive instead of exp (lgamma) for
37885 other arguments.
37886 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
37887 (gamma_coeff): New variable.
37888 (NCOEFF): New macro.
37889 (gammal_positive): New function.
37890 (__ieee754_gammal_r): Handle positive infinity, overflow and
37891 underflow here. Handle NaN the same as positive infinity. Remove
37892 check x < 0xffffffff for negative integers. Use gamma_positive
37893 instead of exp (lgamma) for other arguments.
37894 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
37895 (gamma_coeff): New variable.
37896 (NCOEFF): New macro.
37897 (gammal_positive): New function.
37898 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
37899 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
37900 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
37901 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
37902 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
37903 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
37904 * sysdeps/generic/math_private.h (__gamma_productf): New
37905 prototype.
37906 (__gamma_product): Likewise.
37907 (__gamma_productl): Likewise.
37908 * math/Makefile (libm-calls): Add gamma_product.
37909 * math/libm-test.inc (tgamma_test): Add more tests.
37910 * sysdeps/i386/fpu/libm-test-ulps: Update.
37911 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37912
37913 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
37914
37915 * benchtests/bench-skeleton.c (main): Preheat CPU.
37916
37917 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
37918
37919 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
37920
37921 2013-05-07 Roland McGrath <roland@hack.frob.com>
37922
37923 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
37924 and _dl_skip_args_internal.
37925
37926 2013-05-07 Carlos O'Donell <carlos@redhat.com>
37927
37928 * manual/message.texi (Message Translation): Talk about users.
37929 Message to key mapping impacts design.
37930
37931 2013-05-06 Roland McGrath <roland@hack.frob.com>
37932
37933 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
37934
37935 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
37936
37937 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
37938 * sysdeps/wordsize-64/glob64.c: ... here.
37939
37940 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
37941 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
37942 New macros.
37943
37944 * debug/getlogin_r_chk.c: Moved to ...
37945 * login/getlogin_r_chk.c: ... here.
37946 * debug/Makefile (routines): Move getlogin_r_chk to ...
37947 * login/Makefile (routines): ... here.
37948 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
37949 * login/Versions (libc: GLIBC_2.4): ... here.
37950
37951 * io/poll.c (__poll): Renamed from poll.
37952 Add libc_hidden_def.
37953 (poll): Define as weak alias.
37954
37955 * debug/ptsname_r_chk.c: Moved to ...
37956 * login/ptsname_r_chk.c: ... here.
37957 * debug/Makefile (routines): Move ptsname_r_chk to ...
37958 * login/Makefile (routines): ... here.
37959 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
37960 * login/Versions (libc: GLIBC_2.4): ... here.
37961
37962 * posix/getlogin.c: Moved to ...
37963 * login/getlogin.c: ... here.
37964 * posix/getlogin_r.c: Moved to ...
37965 * login/getlogin_r.c: ... here.
37966 * posix/getlogin_r.c: Moved to ...
37967 * login/getlogin_r.c: ... here.
37968 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
37969 * login/Makefile (routines): ... here.
37970 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
37971 * login/Versions (libc: GLIBC_2.0): ... here.
37972
37973 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
37974 (setrlimit): Define as weak alias.
37975
37976 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
37977 Call __ names for open, ftruncate, and close.
37978 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
37979 (truncate): Define as weak alias.
37980
37981 2013-05-06 Joseph Myers <joseph@codesourcery.com>
37982
37983 * math/gen-libm-test.pl (parse_args): Initialize x before each
37984 test of frexp, modf and remquo.
37985
37986 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
37987 test signgam value.
37988
37989 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37990
37991 [BZ #15418]
37992 [BZ #15419]
37993 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
37994 internal tests.
37995 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
37996
37997 2013-05-06 Roland McGrath <roland@hack.frob.com>
37998
37999 * elf/dl-writev.h: New file.
38000 * elf/dl-misc.c: Include it.
38001 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
38002 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
38003
38004 2013-05-04 Joseph Myers <joseph@codesourcery.com>
38005
38006 * math/libm-test.inc (noXFails): Remove variable.
38007 (noXPasses): Likewise.
38008 (BUILD_COMPLEX_INT): Remove macro.
38009 (print_screen): Remove xfail argument.
38010 (print_screen_max_error): Likewise.
38011 (update_stats): Likewise.
38012 (print_max_error): Likewise. Update calls to other affected
38013 functions.
38014 (print_complex_max_error): Likewise.
38015 (test_single_exception): Update calls to print_screen.
38016 (test_single_errno): Likewise.
38017 (check_float_internal): Remove xfail argument. Update calls to
38018 other affected functions.
38019 (check_float): Likewise.
38020 (check_complex): Likewise.
38021 (check_int): Likewise.
38022 (check_long): Likewise.
38023 (check_bool): Likewise.
38024 (check_longlong): Likewise.
38025 (main): Don't print noXFails and noXPasses.
38026 * math/gen-libm-test.pl (top level): Don't mention expected
38027 failure handling in comment.
38028 (new_test): Don't handle expected failures.
38029 (parse_args): Don't mention expected failure handling in comment.
38030 (generate_testfile): Don't handle expected failures.
38031 (parse_ulps): Likewise.
38032 (print_ulps_file): Likewise.
38033 (get_failure): Remove function.
38034 (output_test): Don't handle expected failures.
38035 * make/README.libm-test: Don't mention expected failure handling.
38036
38037 * math/libm-test.inc (plus_zero): Make const. Add initializer.
38038 (minus_zero): Likewise.
38039 (plus_infty): Likewise.
38040 (minus_infty): Likewise.
38041 (qnan_value): Likewise.
38042 (max_value): Likewise.
38043 (min_value): Likewise.
38044 (min_subnorm_value): Likewise.
38045 (initialize): Do not initialize those variables dynamically.
38046
38047 2013-05-03 Roland McGrath <roland@hack.frob.com>
38048
38049 * io/open.c (__open_2): Moved to ...
38050 * io/open_2.c: ... this new file.
38051 * io/open64.c (__open64_2): Moved to ...
38052 * io/open64_2.c: ... this new file.
38053 * io/openat.c (__openat_2): Moved to ...
38054 * io/openat_2.c: ... this new file.
38055 * io/openat64.c (__openat64_2): Moved to ...
38056 * io/openat64_2.c: ... this new file.
38057 * io/Makefile (routines): Add them.
38058 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
38059 * sysdeps/unix/sysv/linux/open_2.c: File removed.
38060 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
38061 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
38062 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
38063 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
38064 (__openat64): Add hidden_ver.
38065 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
38066 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
38067
38068 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
38069 Separately conditionalize setting of GLRO(dl_sysinfo) so
38070 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
38071 as well, but the actual setting is only under [NEED_DL_SYSINFO].
38072
38073 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38074
38075 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
38076 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
38077 definition.
38078 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
38079 * sysdeps/unix/sysv/linux/powerpc/init-first.c
38080 (_libc_vdso_platform_setup): Add __vdso_time initialization.
38081 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
38082 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
38083
38084 2013-05-03 Joseph Myers <joseph@codesourcery.com>
38085
38086 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
38087 test signgam value.
38088
38089 * math/libm-test.inc (hypot_test): Do not use
38090 IGNORE_ZERO_INF_SIGN.
38091
38092 2013-05-03 Andreas Jaeger <aj@suse.de>
38093
38094 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
38095 Linux 3.9.
38096 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
38097 (PF_MAX): Adjust for VSOCK change.
38098
38099 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38100
38101 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38102
38103 2013-05-02 Carlos O'Donell <carlos@redhat.com>
38104
38105 [BZ #15264]
38106 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
38107 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
38108 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
38109
38110 2013-05-02 David S. Miller <davem@davemloft.net>
38111
38112 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38113
38114 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
38115
38116 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
38117
38118 2013-05-01 Roland McGrath <roland@hack.frob.com>
38119
38120 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
38121
38122 2013-05-01 Richard Smith <richard@metafoo.co.uk>
38123
38124 [BZ #14952]
38125 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
38126 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
38127 Use __attribute__ ((__gnu_inline__)).
38128 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
38129 Don't use __attribute__ ((__gnu_inline__)).
38130
38131 2013-05-01 Joseph Myers <joseph@codesourcery.com>
38132
38133 [BZ #15423]
38134 * math/s_catan.c (__catan): Handle small real or imaginary part of
38135 input specially to avoid spurious underflow.
38136 * math/s_catanf.c (__catanf): Likewise.
38137 * math/s_catanh.c (__catanh): Likewise.
38138 * math/s_catanhf.c (__catanhf): Likewise.
38139 * math/s_catanhl.c (__catanhl): Likewise.
38140 * math/s_catanl.c (__catanl): Likewise.
38141 * math/libm-test.inc (catan_test): Add more tests.
38142 (catanh_test): Likewise.
38143 * sysdeps/i386/fpu/libm-test-ulps: Update.
38144 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38145
38146 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38147
38148 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38149
38150 2013-04-30 Joseph Myers <joseph@codesourcery.com>
38151
38152 [BZ #15416]
38153 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
38154 accurately for denominator in atan2.
38155 * math/s_catanf.c (__catanf): Likewise.
38156 * math/s_catanh.c (__catanh): Likewise.
38157 * math/s_catanhf.c (__catanhf): Likewise.
38158 * math/s_catanhl.c (__catanhl): Likewise.
38159 * math/s_catanl.c (__catanl): Likewise.
38160 * math/libm-test.inc (catan_test): Add more tests.
38161 (catanh_test): Likewise.
38162 * sysdeps/i386/fpu/libm-test-ulps: Update.
38163 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38164
38165 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
38166
38167 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
38168
38169 * benchtests/Makefile (bench): Remove slow benchmarks.
38170 * benchtests/atan-inputs: Add slow benchmark inputs.
38171 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
38172 (BENCH_FUNC): Accept variant offset.
38173 (VARIANT): Define.
38174 * benchtests/bench-skeleton.c (main): Run benchmark for each
38175 variant.
38176 * benchtests/cos-inputs: Add slow benchmark inputs.
38177 * benchtests/exp-inputs: Likewise.
38178 * benchtests/pow-inputs: Likewise.
38179 * benchtests/sin-inputs: Likewise.
38180 * benchtests/slowatan-inputs: Remove.
38181 * benchtests/slowatan.c: Remove.
38182 * benchtests/slowcos-inputs: Remove.
38183 * benchtests/slowcos.c: Remove.
38184 * benchtests/slowexp-inputs: Remove.
38185 * benchtests/slowexp.c: Remove.
38186 * benchtests/slowpow-inputs: Remove.
38187 * benchtests/slowpow.c: Remove.
38188 * benchtests/slowsin-inputs: Remove.
38189 * benchtests/slowsin.c: Remove.
38190 * benchtests/slowtan-inputs: Remove.
38191 * benchtests/slowtan.c: Remove.
38192 * benchtests/tan-inputs: Add slow benchmark inputs.
38193 * scripts/bench.pl: Parse comments and directives.
38194
38195 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
38196 in CPPFLAGS.
38197 ($(objpfx)bench-%.c): Remove *-ITER.
38198 * benchtests/bench-modf.c: Remove definition of ITER.
38199 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
38200 (main): Loop for DURATION seconds instead of fixed number of
38201 iterations.
38202 * scripts/bench.pl: Don't expect iterations in parameters.
38203
38204 2013-04-29 Roland McGrath <roland@hack.frob.com>
38205
38206 * io/fchdir.c (__fchdir): Renamed from fchdir.
38207 (fchdir): Define as weak alias.
38208
38209 2013-04-29 Joseph Myers <joseph@codesourcery.com>
38210
38211 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
38212 (ERRNO_EDOM): Likewise.
38213 (ERRNO_ERANGE): Likewise.
38214 (noErrnoTests): New variable.
38215 (init_max_error): Set errno to 0.
38216 (test_single_errno): New function.
38217 (test_errno): Likewise.
38218 (check_float_internal): Call test_errno. Set errno to 0.
38219 (check_complex): Refer to errno tests in comment.
38220 (check_int): Call test_errno. Set errno to 0.
38221 (check_long): Likewise.
38222 (check_bool): Likewise.
38223 (check_longlong): Likewise.
38224 (cos_test): Use ERRNO_* flags for errno tests instead of
38225 check_int.
38226 (expm1_test): Likewise.
38227 (fmod_test): Likewise.
38228 (ilogb_test): Likewise.
38229 (lgamma_test): Likewise.
38230 (pow_test): Likewise.
38231 (remainder_test): Likewise.
38232 (sin_test): Likewise.
38233 (tan_test): Likewise.
38234 (yn_test): Likewise.
38235 (initialize): Set errno to 0.
38236 (main): Print number of errno tests.
38237 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
38238
38239 2013-04-29 Andreas Jaeger <aj@suse.de>
38240
38241 [BZ #15084]
38242 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
38243 and RES_USEVC.
38244
38245 [BZ #15085]
38246 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
38247 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
38248 unimplemented.
38249
38250 [BZ #15380]
38251 * stdlib/random.c (__initstate): Return NULL if
38252 __initstate fails.
38253
38254 [BZ #15086]
38255 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
38256 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
38257 RES_SNGLKUPREOP.
38258
38259 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38260
38261 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38262
38263 2013-04-29 Joseph Myers <joseph@codesourcery.com>
38264
38265 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
38266 of individual tests.
38267 (casin_test): Likewise.
38268 (casinh_test): Likewise.
38269
38270 2013-04-27 Joseph Myers <joseph@codesourcery.com>
38271
38272 [BZ #15409]
38273 * math/s_catan.c (__catan): Handle arguments with large real or
38274 imaginary part separately without squaring.
38275 * math/s_catanf.c (__catanf): Likewise.
38276 * math/s_catanh.c (__catanh): Likewise.
38277 * math/s_catanhf.c (__catanhf): Likewise.
38278 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
38279 and redefine.
38280 (__catanhl): Handle arguments with large real or imaginary part
38281 separately without squaring.
38282 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
38283 and redefine.
38284 (__catanl): Handle arguments with large real or imaginary part
38285 separately without squaring.
38286 * math/libm-test.inc (catan_test): Add more tests.
38287 (catanh_test): Likewise.
38288 * sysdeps/i386/fpu/libm-test-ulps: Update.
38289 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38290
38291 2013-04-27 Andreas Jaeger <aj@suse.de>
38292
38293 [BZ #15007]
38294 * stdlib/stdlib.h: Update guards for qecvt.
38295 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
38296 <stdlib.h>.
38297
38298 2013-04-27 Allan McRae <allan@archlinux.org>
38299
38300 * sysdeps/i386/fpu/libm-test-ulps: Update.
38301
38302 2013-04-26 Joseph Myers <joseph@codesourcery.com>
38303
38304 [BZ #15406]
38305 * math/s_catan.c: Include <float.h>.
38306 (__catan): Ensure underflow exception occurs for underflowed
38307 result.
38308 * math/s_catanf.c: Include <float.h>.
38309 (__catanf): Ensure underflow exception occurs for underflowed
38310 result.
38311 * math/s_catanh.c: Include <float.h>.
38312 (__catanh): Ensure underflow exception occurs for underflowed
38313 result.
38314 * math/s_catanhf.c: Include <float.h>.
38315 (__catanhf): Ensure underflow exception occurs for underflowed
38316 result.
38317 * math/s_catanhl.c: Include <float.h>.
38318 (__catanhl): Ensure underflow exception occurs for underflowed
38319 result.
38320 * math/s_catanl.c: Include <float.h>.
38321 (__catanl): Ensure underflow exception occurs for underflowed
38322 result.
38323 * math/libm-test.inc (catan_test): Add more tests.
38324 (catanh_test): Likewise.
38325
38326 [BZ #15405]
38327 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
38328 underflowed result.
38329 * math/s_ccoshf.c (__ccoshf): Likewise.
38330 * math/s_ccoshl.c (__ccoshl): Likewise.
38331 * math/s_csin.c (__csin): Likewise.
38332 * math/s_csinf.c (__csinf): Likewise.
38333 * math/s_csinh.c (__csinh): Likewise.
38334 * math/s_csinhf.c (__csinhf): Likewise.
38335 * math/s_csinhl.c (__csinhl): Likewise.
38336 * math/s_csinl.c (__csinl): Likewise.
38337 * math/libm-test.inc (ccos_test): Add more tests.
38338 (ccosh_test): Likewise.
38339 (csin_test): Likewise.
38340 (csinh_test): Likewise.
38341
38342 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38343
38344 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
38345 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
38346 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
38347 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
38348 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
38349 powerpc/power5+/fpu folders.
38350 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
38351
38352
38353 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
38354
38355 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38356
38357 2013-04-25 Joseph Myers <joseph@codesourcery.com>
38358
38359 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
38360 additions to variable.
38361 [$(config-machine) = x86_64] (modules-names): Likewise.
38362 ($(objpfx)tst-audit3): Remove dependency.
38363 ($(objpfx)tst-audit3.out): Likewise.
38364 ($(objpfx)tst-audit4): Likewise.
38365 ($(objpfx)tst-audit4.out): Likewise.
38366 ($(objpfx)tst-audit5): Likewise.
38367 ($(objpfx)tst-audit5.out): Likewise.
38368 ($(objpfx)tst-audit6): Likewise.
38369 ($(objpfx)tst-audit6.out): Likewise.
38370 ($(objpfx)tst-audit7): Likewise.
38371 ($(objpfx)tst-audit7.out): Likewise.
38372 (tst-audit3-ENV): Remove variable.
38373 (tst-audit4-ENV): Likewise.
38374 (tst-audit5-ENV): Likewise.
38375 (tst-audit6-ENV): Likewise.
38376 (tst-audit7-ENV): Likewise.
38377 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
38378 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
38379 addition to variable.
38380 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
38381 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
38382 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
38383 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
38384 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
38385 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
38386 tst-audit3, tst-audit4 and tst-audit5.
38387 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
38388 tst-audit6 and tst-audit7.
38389 [$(subdir) = elf] (modules-names): Add audit modules for those
38390 tests.
38391 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
38392 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
38393 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
38394 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
38395 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
38396 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
38397 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
38398 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
38399 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
38400 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
38401 [$(subdir) = elf] (tst-audit3-ENV): New variable.
38402 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
38403 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
38404 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
38405 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
38406 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
38407 Likewise.
38408 [$(subdir) = elf && $(config-cflags-avx) = yes]
38409 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
38410 [$(subdir) = elf && $(config-cflags-avx) = yes]
38411 (CFLAGS-tst-auditmod4a.c): Likewise.
38412 [$(subdir) = elf && $(config-cflags-avx) = yes]
38413 (CFLAGS-tst-auditmod4b.c): Likewise.
38414 [$(subdir) = elf && $(config-cflags-avx) = yes]
38415 (CFLAGS-tst-auditmod6b.c): Likewise.
38416 [$(subdir) = elf && $(config-cflags-avx) = yes]
38417 (CFLAGS-tst-auditmod6c.c): Likewise.
38418 [$(subdir) = elf && $(config-cflags-avx) = yes]
38419 (CFLAGS-tst-auditmod7b.c): Likewise.
38420 * elf/tst-audit3.c: Move to ...
38421 * sysdeps/x86_64/tst-audit3.c: ... here.
38422 * elf/tst-audit4.c: Move to ...
38423 * sysdeps/x86_64/tst-audit4.c: ... here.
38424 * elf/tst-audit5.c: Move to ...
38425 * sysdeps/x86_64/tst-audit5.c: ... here.
38426 * elf/tst-audit6.c: Move to ...
38427 * sysdeps/x86_64/tst-audit6.c: ... here.
38428 * elf/tst-audit7.c: Move to ...
38429 * sysdeps/x86_64/tst-audit7.c: ... here.
38430 * elf/tst-auditmod3a.c: Move to ...
38431 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
38432 * elf/tst-auditmod3b.c: Move to ...
38433 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
38434 * elf/tst-auditmod4a.c: Move to ...
38435 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
38436 * elf/tst-auditmod4b.c: Move to ...
38437 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
38438 * elf/tst-auditmod5a.c: Move to ...
38439 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
38440 * elf/tst-auditmod5b.c: Move to ...
38441 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
38442 * elf/tst-auditmod6a.c: Move to ...
38443 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
38444 * elf/tst-auditmod6b.c: Move to ...
38445 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
38446 * elf/tst-auditmod6c.c: Move to ...
38447 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
38448 * elf/tst-auditmod7a.c: Move to ...
38449 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
38450 * elf/tst-auditmod7b.c: Move to ...
38451 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
38452
38453 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
38454
38455 [BZ #15366]
38456 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
38457 define unconditionally.
38458 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
38459 define unconditionally.
38460 (INT8_C, INT16_C, etc.): Likewise.
38461
38462 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
38463
38464 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
38465 __ehdr_start with hidden visibility.
38466
38467 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
38468
38469 2013-04-24 Carlos O'Donell <carlos@redhat.com>
38470
38471 * math/libm-test.inc (cos_test): Use accurate hex constants.
38472 (sincost_test): Likewise.
38473
38474 2013-04-24 Joseph Myers <joseph@codesourcery.com>
38475
38476 * math/libm-test.inc (catan_test): Add more tests.
38477 (catanh_test): Likewise.
38478
38479 * math/s_catanf.c (__catanf): Use suffixed floating-point
38480 constants.
38481 * math/s_catanhf.c (__catanhf): Likewise.
38482 * math/s_catanhl.c (__catanhl): Likewise.
38483 * math/s_catanl.c (__catanl): Likewise.
38484
38485 [BZ #15394]
38486 * math/s_catan.c (__catan): Calculate imaginary part of result
38487 with log1p not log unless computing log of number close to 0.
38488 * math/s_catanf.c (__catanf): Likewise.
38489 * math/s_catanl.c (__catanl): Likewise.
38490 * math/s_catanh.c (__catanh): Calculate real part of result with
38491 log1p not log unless computing log of number close to 0.
38492 * math/s_catanhf.c (__catanhf): Likewise.
38493 * math/s_catanhl.c (__catanhl): Likewise.
38494 * math/libm-test.inc (catan_test): Add more tests.
38495 (catanh_test): Likewise.
38496 * sysdeps/i386/fpu/libm-test-ulps: Update.
38497 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38498
38499 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
38500
38501 * benchtests/Makefile: Mention files in which fast and slow
38502 paths of math functions are implemented.
38503
38504 2013-04-23 Roland McGrath <roland@hack.frob.com>
38505
38506 * sysdeps/posix/timespec_get.c: New file.
38507
38508 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38509
38510 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
38511 POWER.
38512 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
38513 for POWER.
38514 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
38515 powerpc/power5/fpu folders.
38516 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
38517 * benchtests/Makefile: Add modf testcase.
38518 * benchtests/bench-modf.c: New file: Benchmark test for mo
38519
38520 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
38521
38522 [BZ #14888]
38523 * time/Makefile (tests): Add tst-strptime-whitespace.
38524 * time/strptime_l.c (get_number): Use ISSPACE.
38525 (__strptime_internal): Likewise.
38526 * time/tst-strptime-whitespace.c: New test case.
38527
38528 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
38529
38530 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
38531 member.
38532 (_nss_files_init): Set it here.
38533
38534 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
38535
38536 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
38537 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
38538 unsigned.
38539
38540 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
38541
38542 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
38543
38544 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
38545
38546 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
38547 size just once.
38548
38549 2013-04-21 David S. Miller <davem@davemloft.net>
38550
38551 * po/ru.po: Update Russion translation from translation project.
38552
38553 2013-04-17 Adam Conrad <adconrad@0c3.net>
38554
38555 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
38556 and setfsgid.
38557
38558 2013-04-17 Carlos O'Donell <carlos@redhat.com>
38559
38560 * configure.in: Remove i386 configure warning. Remove i386 case.
38561 * configure: Regenerate.
38562 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
38563 Add example to error message.
38564 * sysdeps/i386/configure: Regenerate.
38565
38566 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
38567
38568 * benchtests/Makefile (bench): Add cos, tan, slowcos and
38569 slowtan.
38570 * benchtests/cos-inputs: New file.
38571 * benchtests/slowcos-inputs: New file.
38572 * benchtests/slowcos.c: New file.
38573 * benchtests/slowtan-inputs: New file.
38574 * benchtests/slowtan.c: New file.
38575 * benchtests/tan-inputs: New file.
38576
38577 2013-04-16 Roland McGrath <roland@hack.frob.com>
38578
38579 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
38580 considered kosher.
38581
38582 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
38583
38584 * benchtests/Makefile: Include cppflags-iterator.mk to add
38585 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
38586
38587 * Makefile.in (bench-clean): New target.
38588 * benchtests/Makefile (bench-clean): Likewise.
38589
38590 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
38591
38592 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
38593
38594 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
38595
38596 * stdio-common/tstdiomisc.c: Fix coding-style violation.
38597
38598 2013-04-15 Andreas Schwab <schwab@suse.de>
38599
38600 * nscd/grpcache.c (cache_addgr): Properly check for short write.
38601 * nscd/initgrcache.c (addinitgroupsX): Likewise.
38602 * nscd/pwdcache.c (cache_addpw): Likewise.
38603 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
38604 more than recsize.
38605
38606 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
38607
38608 * benchtests/Makefile (bench): Write all output to
38609 bench-out.tmp together.
38610
38611 2013-04-15 Andreas Schwab <schwab@suse.de>
38612
38613 * nscd/nscd.c (main): Don't fork again after closing files.
38614
38615 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
38616
38617 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
38618
38619 * benchtests/Rules (bench-deps): Collect dependencies into a
38620 single variable. Add Makefile to dependencies.
38621 ($(objpfx)bench-%.c): Depend on bench-deps.
38622
38623 2013-04-12 Roland McGrath <roland@hack.frob.com>
38624 Xavier Roche <roche+kml2@exalead.com>
38625
38626 [BZ #15361]
38627 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
38628 just that it's a file descriptor.
38629 * manual/llio.texi (Synchronizing AIO Operations): Update description
38630 for EBADF error from aio_fsync.
38631
38632 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
38633
38634 * Rules (bench): Move target definition...
38635 * benchtests/Makefile: ... here.
38636
38637 2013-04-11 Carlos O'Donell <carlos@redhat.com>
38638
38639 * math/libm-test.inc (cos_test): Fix PI/2 test.
38640 (sincos_test): Likewise.
38641 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
38642 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
38643
38644 2013-04-11 Andreas Schwab <schwab@suse.de>
38645
38646 [BZ #13988]
38647 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
38648 accept exponent character only when digits were seen.
38649 * stdio-common/Makefile (tests): Add bug26.
38650 * stdio-common/bug26.c: New file.
38651
38652 [BZ #14293]
38653 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
38654 non-freeable.
38655
38656 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
38657
38658 * Makeconfig (rtld-prefix): Define built linker prefix.
38659 * Rules (run-bench): Use it.
38660 * math/Makefile (run-regen-ulps): Likewise.
38661
38662 * Rules (bench): Remove eval.
38663
38664 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
38665 Roland McGrath <roland@hack.frob.com>
38666 Ondrej Bilka <neleai@seznam.cz>
38667
38668 [BZ #15346]
38669 * time/getdate.c: Include ctype.h and alloca.h.
38670 (__getdate_r): Trim leading and trailing spaces of input.
38671 * time/tst-getdate.c (tests): Add tests with leading and
38672 trailing spaces.
38673
38674 2013-04-08 Roland McGrath <roland@hack.frob.com>
38675
38676 [BZ #14280]
38677 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
38678 when computing value.
38679
38680 2013-04-06 Carlos O'Donell <carlos@redhat.com>
38681
38682 * math/README.libm-test (How can I generate "libm-test-ulps"?):
38683 Use testrun.sh to run libm tests.
38684
38685 [BZ #15309]
38686 * elf/dl-open.c (dl_open_worker): memset all of seen array.
38687
38688 2013-04-06 Marko Myllynen <myllynen@redhat.com>
38689
38690 [BZ #15264]
38691 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
38692
38693 2013-04-06 Carlos O'Donell <carlos@redhat.com>
38694
38695 * Makefile.in (regen-ulps): New target.
38696 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
38697 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
38698 [ifneq (no,$(PERL)] (regen-ulps): New target.
38699 [ifeq (no,$(PERL)] (regen-ulps): New target.
38700 * math/libm-test.inc (ulps_file_name): Define.
38701 (output_dir): New variable.
38702 (options): Add "output-dir" option.
38703 (parse_opt): Handle 'o' case.
38704 (main): If output_dir is non-NULL use it as a prefix
38705 otherwise use "".
38706 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
38707
38708 2013-04-06 Carlos O'Donell <carlos@redhat.com>
38709
38710 [BZ #10060, #10062]
38711 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
38712 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
38713 fail configure if __sync_val_compare_and_swap is not inlined.
38714 * sysdeps/i386/configure: Regenerate.
38715 * configure.in: Build for i686 when configured for i386.
38716 * configure: Regenerate.
38717 * README: Remove i386 reference.
38718
38719 2013-04-06 Carlos O'Donell <carlos@redhat.com>
38720
38721 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
38722 * sysdeps/s390/s390-64/sysdep.h: Likewise.
38723
38724 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
38725
38726 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
38727 (lmsnanval): New variables.
38728 (F): Add conversion tests.
38729 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
38730 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
38731
38732 * stdio-common/tstdiomisc.c (F): Properly collect individual
38733 tests' results.
38734
38735 [BZ #14686, #15336]
38736 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
38737 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
38738 Instead, use input NaN values or generate a qNaN by arithmetic
38739 operation. Also fix bugs to comply with the standard.
38740 * math/libm-test.inc (remainder_test): Add more tests.
38741
38742 [BZ #15335, #15342]
38743 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
38744 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
38745 input NaN values or generate a qNaN by arithmetic operation.
38746
38747 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
38748 unreachable code.
38749
38750 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
38751 definitions.
38752
38753 2013-04-03 Joseph Myers <joseph@codesourcery.com>
38754
38755 [BZ #14478]
38756 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
38757 underflowed result.
38758 * math/s_cexpf.c (__cexpf): Likewise.
38759 * math/s_cexpl.c (__cexpl): Likewise.
38760 * math/libm-test.inc (cexp_test): Add more tests.
38761
38762 2013-04-03 Andreas Schwab <schwab@suse.de>
38763
38764 [BZ #15330]
38765 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
38766 order arrays from heap if bigger than alloca cutoff.
38767
38768 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
38769
38770 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
38771 (SNAN_TESTS_double): Refer to GCC PR56831.
38772 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
38773 GCC PR56828.
38774
38775 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
38776
38777 * Rules (bench): Move bench.out after the run is complete.
38778
38779 * Rules (bench): Echo currently running benchmark.
38780
38781 * benchtests/Makefile (bench): Add atan and slowatan.
38782 * benchtests/atan-inputs: New file.
38783 * benchtests/slowatan-inputs: New file.
38784 * benchtests/slowatan.c: New file.
38785
38786 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
38787 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
38788 its value.
38789
38790 [BZ #15305]
38791 * sysdeps/unix/sysv/linux/kernel-features.h
38792 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
38793 __ASSUME_XFS_RESTRICTED_CHOWN.
38794 * sysdeps/unix/sysv/linux/pathconf.c
38795 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
38796 Save and restore errno.
38797
38798 2013-04-02 Joseph Myers <joseph@codesourcery.com>
38799
38800 [BZ #15327]
38801 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
38802 arguments using __kernel_casinh.
38803 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
38804 arguments using __kernel_casinhf.
38805 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
38806 arguments using __kernel_casinhl.
38807 * math/libm-test.inc (cacosh_test): Add more tests.
38808 * sysdeps/i386/fpu/libm-test-ulps: Update.
38809 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38810
38811 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
38812
38813 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
38814 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
38815
38816 * bench/Makefile (bench): Add sin and slowsin.
38817 * benchtests/sin-inputs: New file.
38818 * benchtests/slowsin-inputs: New file.
38819 * benchtests/slowsin.c: New file.
38820
38821 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
38822 (bench): Add slowexp and slowpow.
38823 (exp-ITER): Increase iterations.
38824 (pow-ITER): Likewise.
38825 * benchtests/exp-inputs: Change input.
38826 * benchtests/pow-inputs: Likewise.
38827 * benchtests/slowexp-inputs: New file.
38828 * benchtests/slowexp.c: New file.
38829 * benchtests/slowpow-inputs: New file.
38830 * benchtests/slowpow.c: New file.
38831
38832 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38833
38834 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
38835 instructions.
38836 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
38837 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
38838 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
38839 * benchtests/Makefile: Add rint benchtest.
38840 * benchtests/rint-inputs: Input for rint benchtest.
38841
38842 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
38843
38844 * Versions.def (libm): Add GLIBC_2.18.
38845 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
38846 hidden libm prototypes.
38847 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
38848 * math/Makefile (libm-calls): Add s_issignaling.
38849 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
38850 __issignalingf, __issignalingl. Adjust all libm.abilist files.
38851 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
38852 declaration.
38853 * math/math.h [__USE_GNU] (issignaling): New macro.
38854 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
38855 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
38856 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
38857 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
38858 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
38859 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
38860 * manual/arith.texi (issignaling): New section.
38861 * manual/libm-err-tab.pl (@all_functions): Update comment.
38862 * math/gen-libm-test.pl (parse_args): Apply special handling for
38863 issignaling.
38864 * math/libm-test.inc (print_float, issignaling_test): New
38865 functions.
38866 (check_float_internal): Add issignaling checks.
38867 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
38868 default definition.
38869 * sysdeps/powerpc/math-tests.h: New file.
38870 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
38871 tests.
38872 * math/test-snan.c (TEST_FUNC): Likewise.
38873
38874 2013-03-30 David S. Miller <davem@davemloft.net>
38875
38876 * po/de.po: Update from translation team.
38877
38878 2013-03-30 Joseph Myers <joseph@codesourcery.com>
38879
38880 [BZ #10357]
38881 * math/k_casinh.c (__kernel_casinh): Handle arguments with
38882 imaginary part less than 1.0 and real part less than 0.5
38883 specially.
38884 * math/k_casinhf.c (__kernel_casinhf): Likewise.
38885 * math/k_casinhl.c (__kernel_casinhl): Likewise.
38886 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
38887 (cacos_test): Add more tests.
38888 (casin_test): Likewise.
38889 (casinh_test): Likewise.
38890 * sysdeps/i386/fpu/libm-test-ulps: Update.
38891 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38892
38893 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
38894
38895 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
38896 ONE with its value.
38897
38898 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
38899 (__pow_mp): Replace ONE and MONE with their values.
38900 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
38901 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
38902 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
38903 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
38904 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
38905 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
38906
38907 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
38908
38909 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
38910 (__pow_mp): Replace ZERO and MZERO with their values.
38911 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
38912 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
38913 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
38914 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
38915 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
38916 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
38917 (__sqr): Likewise.
38918
38919 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
38920
38921 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
38922
38923 2013-03-28 Roland McGrath <roland@hack.frob.com>
38924
38925 * include/stdlib.h [!SHARED] (__call_tls_dtors):
38926 Declare with __attribute__ ((weak)).
38927 * stdlib/exit.c (__libc_atexit) [!SHARED]:
38928 Call __call_tls_dtors only if it's not NULL.
38929
38930 2013-03-28 Roland McGrath <roland@hack.frob.com>
38931
38932 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
38933 didn't do it already, then set _dl_phdr and _dl_phnum based on the
38934 magic __ehdr_start linker symbol if it's defined.
38935 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
38936 them up here if it was already done.
38937
38938 * elf/dl-support.c (_dl_phdr): Make pointer to const.
38939 (_dl_aux_init): Use const in cast when setting it.
38940 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
38941 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
38942 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
38943
38944 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
38945 Declare them here.
38946 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
38947 * csu/libc-tls.c: Nor here.
38948 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
38949
38950 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
38951 (__libc_message): Never call vsyslog.
38952
38953 2013-03-28 Alan Modra <amodra@gmail.com>
38954
38955 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
38956 Define as empty.
38957 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
38958 Likewise.
38959
38960 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38961
38962 [BZ #15214]
38963 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
38964 underflow.
38965 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38966
38967 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38968
38969 [BZ #15304]
38970 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
38971 Don't add gid passed as argument.
38972
38973 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
38974
38975 2013-03-27 Joseph Myers <joseph@codesourcery.com>
38976
38977 [BZ #15307]
38978 * math/k_casinh.c (__kernel_casinh): Handle arguments with
38979 imaginary part between 1.0 and 1.5 and real part less than 0.5
38980 specially.
38981 * math/k_casinhf.c (__kernel_casinhf): Likewise.
38982 * math/k_casinhl.c (__kernel_casinhl): Likewise.
38983 * math/libm-test.inc (cacos_test): Add more tests.
38984 (casin_test): Likewise.
38985 (casinh_test): Likewise.
38986 * sysdeps/i386/fpu/libm-test-ulps: Update.
38987 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38988
38989 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
38990
38991 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
38992 constants.
38993 (norm): Likewise.
38994 (denorm): Likewise.
38995 (__dbl_mp): Likewise.
38996 (add_magnitudes): Likewise.
38997 (sub_magnitudes): Likewise.
38998 (__add): Likewise.
38999 (__sub): Likewise.
39000 (__mul): Likewise.
39001 (__sqr): Likewise.
39002 (__inv): Likewise.
39003 (__dvd): Likewise.
39004
39005 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
39006 commented code.
39007 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
39008 (__dubcos): Likewise.
39009 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
39010 (__ieee754_acos): Likewise.
39011 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
39012 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
39013 (__exp1): Likewise.
39014 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
39015 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
39016 (log1): Likewise.
39017 (my_log2): Likewise.
39018 (checkint): Likewise.
39019 * sysdeps/ieee754/dbl-64/e_remainder.c
39020 (__ieee754_remainder): Likewise.
39021 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
39022 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
39023 (bsloww): Likewise.
39024 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
39025
39026 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
39027 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
39028 MANTISSA_STORE_T to store computations on mantissa. Use
39029 macros for rounding and division.
39030 (denorm): Likewise.
39031 (__dbl_mp): Likewise.
39032 (add_magnitudes): Likewise.
39033 (sub_magnitudes): Likewise.
39034 (__mul): Likewise.
39035 (__sqr): Likewise.
39036 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
39037 powers of two in terms of TWOPOW macro.
39038 (mp_no): Make type of mantissa as MANTISSA_T.
39039 [!RADIXI]: Define RADIXI.
39040 [!TWO52]: Define TWO52.
39041 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
39042
39043 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39044
39045 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
39046 llroundl symbol when building for PPC32.
39047
39048 2013-03-24 Mark H Weaver <mhw@netris.org>
39049
39050 * manual/arith.texi (Normalization Functions): Fix prototypes for
39051 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
39052
39053 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39054
39055 [BZ #13889]
39056 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
39057 high value to check if expl overflow.
39058 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
39059 to check for underflow and overflow.
39060 * math/libm-test.inc: Add exp test.
39061
39062 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
39063
39064 [BZ #11120]
39065 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
39066 with NOT_IN_libc.
39067
39068 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39069
39070 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
39071 symbol.
39072
39073 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
39074
39075 * math/gen-libm-test.pl (parse_args, special_functions): Properly
39076 wrap blocks consisting of several statements.
39077
39078 * sysdeps/generic/math-tests.h: New file.
39079 * sysdeps/i386/fpu/math-tests.h: Likewise.
39080 * math/test-snan.c: Include it.
39081 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
39082
39083 2013-03-21 Joseph Myers <joseph@codesourcery.com>
39084
39085 [BZ #15285]
39086 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
39087 (__ieee754_j0l): Do not improve calculations using cos of twice
39088 input for inputs above LDBL_MAX / 2.0L.
39089 (__ieee754_y0l): Likewise.
39090 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
39091 (__ieee754_j1l): Do not improve calculations using cos of twice
39092 input for inputs above LDBL_MAX / 2.0L.
39093 (__ieee754_y1l): Likewise.
39094 * math/libm-test.inc (j0_test): Add another test.
39095 (j1_test): Likewise.
39096 (y0_test): Likewise.
39097 (y1_test): Likewise.
39098 * sysdeps/i386/fpu/libm-test-ulps: Update.
39099
39100 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
39101
39102 * Rules ($(objpfx)bench-%.c): Include code from a C source
39103 file.
39104
39105 2013-03-21 Joseph Myers <joseph@codesourcery.com>
39106
39107 [BZ #15287]
39108 * math/k_casinh.c (__kernel_casinh): Handle arguments with
39109 imaginary part 1.0 and real part less than 0.5 specially.
39110 * math/k_casinhf.c (__kernel_casinhf): Likewise.
39111 * math/k_casinhl.c (__kernel_casinhl): Likewise.
39112 * math/libm-test.inc (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-21 Siddhesh Poyarekar <siddhesh@redhat.com>
39119
39120 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
39121 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
39122
39123 2013-03-20 Joseph Myers <joseph@codesourcery.com>
39124
39125 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
39126 * config.make.in (config-cflags-sse4): Remove variable.
39127 (config-cflags-avx): Likewise.
39128 (config-cflags-sse2avx): Likewise.
39129 (config-cflags-novzeroupper): Likewise.
39130 (config-asflags-i686): Likewise.
39131 (have-mfma4): Likewise.
39132 (have-as-vis3): Likewise.
39133 (MIG): Likewise.
39134 * configure.in (MIG): Do not AC_SUBST.
39135 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
39136 (libc_cv_cc_sse4): Do not AC_SUBST.
39137 (libc_cv_cc_avx): Likewise.
39138 (libc_cv_cc_sse2avx): Likewise.
39139 (libc_cv_cc_novzeroupper): Likewise.
39140 (libc_cv_cc_fma4): Likewise.
39141 (libc_cv_as_i686): Likewise.
39142 (libc_cv_sparc_as_vis3): Likewise.
39143 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
39144 LIBC_CONFIG_VAR.
39145 (config-asflags-i686): Likewise.
39146 (config-cflags-avx): Likewise.
39147 (config-cflags-sse2avx): Likewise.
39148 (have-mfma4): Likewise.
39149 (config-cflags-novzeroupper): Likewise.
39150 * sysdeps/mach/configure.in (MIG): Likewise.
39151 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
39152 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
39153 LIBC_CONFIG_VAR.
39154 (config-cflags-avx): Likewise.
39155 (config-cflags-sse2avx): Likewise.
39156 (have-mfma4): Likewise.
39157 (config-cflags-novzeroupper): Likewise.
39158 * configure: Regenerated.
39159 * sysdeps/i386/configure: Likewise.
39160 * sysdeps/mach/configure: Likewise.
39161 * sysdeps/sparc/configure: Likewise.
39162 * sysdeps/x86_64/configure: Likewise.
39163
39164 2013-03-20 Roland McGrath <roland@hack.frob.com>
39165
39166 [BZ #14812]
39167 * locale/programs/localedef.c (options): Put N_ translation marker
39168 on argument names, not just descriptions.
39169
39170 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
39171
39172 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
39173
39174 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
39175
39176 [BZ #14176]
39177 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
39178
39179 2013-03-19 Roland McGrath <roland@hack.frob.com>
39180
39181 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
39182 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
39183 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
39184 [!BEFORE_ABORT] (before_abort): New function.
39185 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
39186 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
39187 (writev_for_fatal): New function.
39188 (WRITEV_FOR_FATAL): New macro; call that.
39189 (backtrace_and_maps): New function.
39190 (BEFORE_ABORT): New macro; call that.
39191 (struct str_list): Type removed.
39192 (__libc_message, __libc_fatal): Functions removed.
39193 Include <sysdeps/posix/libc_fatal.c> instead.
39194
39195 2013-03-19 Joseph Myers <joseph@codesourcery.com>
39196
39197 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
39198 constants.
39199 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
39200 double constants.
39201
39202 2013-03-19 Andreas Schwab <schwab@suse.de>
39203
39204 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
39205 * sysdeps/gnu/configure: Regenerate.
39206
39207 * configure.in: Substitute libc_cv_rtlddir.
39208 * configure: Regenerate.
39209 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
39210 * Makeconfig (rtlddir, inst_rtlddir): New variables.
39211 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
39212 * elf/Makefile (install-others, CFLAGS-interp.c)
39213 (ldso_install, common-ldd-rewrite): Likewise.
39214 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
39215 $(inst_slibdir)/$(rtld-installed-name).
39216 * scripts/rellns-sh: Add -p option.
39217 * Makerules (make-shlib-link): Use rellns-sh to get relative name
39218 for source.
39219
39220 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
39221
39222 * manual/nptl.texi: Renamed to ...
39223 * manual/threads.texi: ... this.
39224 * manual/Makefile (chapters): Update.
39225
39226 2013-03-18 Roland McGrath <roland@hack.frob.com>
39227
39228 [BZ #14812]
39229 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
39230 on argument names, not just descriptions.
39231 * malloc/memusagestat.c (options): Likewise.
39232 * nss/getent.c (options): Likewise.
39233
39234 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
39235
39236 [BZ #14812]
39237 * iconv/iconv_prog.c (options): Put N_ translation marker
39238 on argument names, not just descriptions.
39239 * iconv/iconvconfig.c (options): Likewise.
39240
39241 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
39242
39243 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
39244 implementation which is faster on all x86_64 architectures.
39245 Tested on AMD, Intel Nehalem, SNB, IVB.
39246 * sysdeps/x86_64/strnlen.S: Likewise.
39247
39248 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
39249 Remove all multiarch strlen and strnlen versions.
39250 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
39251 Remove strlen and strnlen related parts.
39252
39253 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
39254 Inline strlen part.
39255 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
39256
39257 * sysdeps/x86_64/multiarch/strlen.S: Remove.
39258 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
39259 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
39260 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
39261 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
39262 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
39263
39264 2013-03-17 Carlos O'Donell <carlos@redhat.com>
39265
39266 * manual/memory.texi (Malloc Tunable Parameters):
39267 Sort parameters alphabetically. Add comments for missing entries.
39268
39269 2013-03-17 David S. Miller <davem@davemloft.net>
39270
39271 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39272
39273 2013-03-16 Joseph Myers <joseph@codesourcery.com>
39274
39275 [BZ #15283]
39276 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
39277 for arguments at most half maximum finite value.
39278 * math/libm-test.inc (j0_test): Add more tests.
39279 (j1_test): Likewise.
39280 (y0_test): Likewise.
39281 (y1_test): Likewise.
39282 * sysdeps/i386/fpu/libm-test-ulps: Update.
39283 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39284
39285 [BZ #14155]
39286 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
39287 1 / x and functions P and Q for arguments above 0x1p256L.
39288 (__ieee754_y0l): Likewise.
39289 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
39290 (__ieee754_y1l): Likewise.
39291 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
39292 (j1_test): Likewise.
39293 (y0_test): Likewise.
39294 (y1_test): Likewise.
39295
39296 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
39297
39298 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
39299 variable.
39300
39301 2013-03-15 Roland McGrath <roland@hack.frob.com>
39302
39303 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
39304 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
39305 zero since it's initialized to EXEC_PAGESIZE.
39306
39307 * sysdeps/unix/sysv/linux/ldsodefs.h
39308 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
39309 * sysdeps/generic/ldsodefs.h: ... here.
39310
39311 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
39312
39313 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
39314
39315 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
39316 math/test-snan.c.
39317 * math/test-snan.c: Renamed from
39318 sysdeps/powerpc/fpu/test-powerpc-snan.c.
39319 * math/Makefile (tests): Add test-snan.
39320 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
39321 test-powerpc-snan.
39322
39323 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
39324 SUFFIX. Initialize qNaN_var with __builtin_nan family of
39325 functions.
39326 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
39327 __builtin_nan family of functions.
39328 * math/libm-test.inc (initialize): Initialize qnan_value with
39329 __builtin_nan family of functions.
39330 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
39331 Remove variables.
39332 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
39333 Remove functions.
39334 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
39335 storage class. Initialize qNaN_var and sNaN_var with
39336 __builtin_nan and __builtin_nans families of functions,
39337 respectively.
39338
39339 * math/libm-test.inc (acosh_test): Also test with qNaN input.
39340 (sqrt_test): Remove duplicate test with qNaN input.
39341 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
39342 (round_test, signbit_test, significand_test): Note missing +/-Inf
39343 as well as qNaN tests.
39344
39345 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
39346 qNaN_var. Fix a few strings, too.
39347 * math/libm-test.inc (nan_value): Rename to qnan_value.
39348 * math/gen-libm-test.pl (%beautify): Adjust to that.
39349 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
39350 * math/test-misc.c (main): Likewise.
39351 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
39352 to __qnan_bytes, and __qnan_union, respectively.
39353 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
39354 Likewise.
39355 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
39356 and lqnanval, respectively.
39357 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
39358 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
39359 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
39360 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
39361
39362 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
39363 * math/test-misc.c (main) [__x86_64__]: Enable test for long
39364 doubles.
39365
39366 * math/test-misc.c (main): Fix copy'n'pastos.
39367 * misc/tst-efgcvt.c (special): Likewise.
39368
39369 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
39370 Remove declarations.
39371
39372 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
39373
39374 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
39375 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
39376 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
39377 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
39378
39379 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39380
39381 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
39382 macro to return vdso values correctly in IFUNC implementations.
39383 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
39384 Optimization by using IFUNC.
39385
39386 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
39387 Richard Henderson <rth@redhat.com>
39388 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39389
39390 * Makefile.in (bench): New target.
39391 * NEWS: Mention the benchmark framework.
39392 * Rules (bench): Likewise.
39393 (binaries-bench): Generate binaries for functions to
39394 benchmark.
39395 * benchtests/Makefile: New makefile for benchmark tests.
39396 * benchtests/bench-skeleton.c: New skeleton file for benchmark
39397 programs.
39398 * benchtests/exp-inputs: New input file for EXP function.
39399 * benchtests/pow-inputs: New input file for POW function.
39400 * scripts/bench.pl: New script to generate source files for
39401 benchmark programs.
39402
39403 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
39404
39405 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
39406 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
39407 computations on mantissa. Use macros for rounding and
39408 division.
39409 (denorm): Likewise.
39410 (__dbl_mp): Likewise.
39411 (add_magnitudes): Likewise.
39412 (sub_magnitudes): Likewise.
39413 (__mul): Likewise.
39414 (__sqr): Likewise.
39415 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
39416 powers of two in terms of TWOPOW macro.
39417 (mp_no): Make type of mantissa as MANTISSA_T.
39418 [!RADIXI]: Define RADIXI.
39419 [!TWO52]: Define TWO52.
39420 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
39421
39422 * manual/nptl.texi (cindex): Modify threads to pthreads.
39423
39424 2013-03-15 Joseph Myers <joseph@codesourcery.com>
39425
39426 * sysdeps/x86_64/preconfigure: Regenerated.
39427
39428 2013-03-14 Joseph Myers <joseph@codesourcery.com>
39429
39430 [BZ #14155]
39431 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
39432 0x1p28 and above.
39433 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
39434 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
39435 0x1p28 and above.
39436 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
39437 * math/libm-test.inc (j0_test): Do not allow one spurious
39438 underflow exception.
39439 (y1_test): Likewise.
39440
39441 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
39442
39443 * manual/Makefile (chapters): Add nptl.
39444 * manual/debug.texi (Debugging Support): Add link to Threads
39445 chapter.
39446 * manual/nptl.texi: New file.
39447
39448 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
39449
39450 2013-03-14 Petr Baudis <pasky@ucw.cz>
39451
39452 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
39453 for non-NULL pointer before the memory validity test. Pointed
39454 out by Holger Brunck <holger.brunck@keymile.com>.
39455
39456 2013-03-13 Andreas Schwab <schwab@suse.de>
39457
39458 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
39459 instead of .os.
39460
39461 2013-03-13 Joseph Myers <joseph@codesourcery.com>
39462
39463 * timezone/zic.c: Update from tzcode 2013b.
39464
39465 2013-03-12 Carlos O'Donell <carlos@redhat.com>
39466
39467 * manual/install.texi (Configuring and compiling):
39468 Mention i686 and i586.
39469 * INSTALL: Regenerate.
39470
39471 2013-03-12 Roland McGrath <roland@hack.frob.com>
39472
39473 * sysdeps/init_array/elf-init.c: New file.
39474 * csu/elf-init.c
39475 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
39476 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
39477
39478 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
39479 __gmon_start__ as global, but as static with a .preinit_array pointer.
39480 * sysdeps/init_array/gmon-start.c: New file. Use that.
39481 * sysdeps/init_array/crti.S: New file, empty except for comments.
39482 * sysdeps/init_array/crtn.S: Likewise.
39483
39484 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
39485
39486 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
39487 definining bcopy.
39488 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39489 Remove Prefer_SSE_for_memop.
39490 * sysdeps/x86_64/multiarch/init-arch.h: Remove
39491 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
39492 HAS_PREFER_SSE_FOR_MEMOP.
39493 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
39494 memset-x86-64.
39495 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
39496 Remove bzero, memset ifunc support.
39497 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
39498 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
39499 * sysdeps/x86_64/multiarch/memset.S: Likewise.
39500 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
39501
39502 2013-03-11 Andreas Schwab <schwab@suse.de>
39503
39504 [BZ #15234]
39505 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
39506 by SHLIB_COMPAT.
39507 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
39508 (GLIBC_2.16): Remove pthread_atfork.
39509
39510 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
39511
39512 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
39513 (ptestcases.h): Likewise.
39514
39515 2013-03-08 Roland McGrath <roland@hack.frob.com>
39516
39517 * Makeconfig ($(common-objpfx)config.status): Depend on
39518 sysdeps/*/preconfigure{,.in} too.
39519
39520 2013-03-08 Joseph Myers <joseph@codesourcery.com>
39521
39522 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
39523 (__free_hook): Use void * instead of __malloc_ptr_t.
39524 (__malloc_hook): Likewise.
39525 (__realloc_hook): Likewise.
39526 (__memalign_hook): Likewise.
39527 (__after_morecore_hook): Likewise.
39528 * malloc/arena.c (save_malloc_hook): Likewise.
39529 (save_free_hook): Likewise.
39530 * malloc/hooks.c (malloc_hook_ini): Likewise.
39531 (realloc_hook_ini): Likewise.
39532 (memalign_hook_ini): Likewise.
39533 * malloc/malloc.c (malloc_hook_ini): Likewise.
39534 (realloc_hook_ini): Likewise.
39535 (memalign_hook_ini): Likewise.
39536 (__free_hook): Likewise.
39537 (__malloc_hook): Likewise.
39538 (__realloc_hook): Likewise.
39539 (__memalign_hook): Likewise.
39540 (__libc_malloc): Likewise.
39541 (__libc_free): Likewise.
39542 (__libc_realloc): Likewise.
39543 (__libc_memalign): Likewise.
39544 (__libc_valloc): Likewise.
39545 (__libc_pvalloc): Likewise.
39546 (__libc_calloc): Likewise.
39547 (__posix_memalign): Likewise.
39548 * malloc/morecore.c (__sbrk): Likewise.
39549 (__default_morecore): Likewise.
39550
39551 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
39552
39553 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
39554 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
39555 __malloc_ptrdiff_t.
39556
39557 * malloc/malloc.h (__malloc_size_t): Remove macro.
39558 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
39559 __malloc_size_t.
39560 (old_memalign_hook): Likewise.
39561 (old_realloc_hook): Likewise.
39562 (struct hdr): Likewise.
39563 (flood): Likewise.
39564 (mallochook): Likewise.
39565 (memalignhook): Likewise.
39566 (reallochook): Likewise.
39567 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
39568 (tr_old_realloc_hook): Likewise.
39569 (tr_old_memalign_hook): Likewise.
39570 (tr_mallochook): Likewise.
39571 (tr_reallochook): Likewise.
39572 (tr_memalignhook): Likewise.
39573
39574 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39575
39576 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
39577 default_ldbl_pack and using as default implementation.
39578 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
39579 implementation.
39580 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
39581 redundant definition.
39582 (ldbl_insert_mantissa): Likewise.
39583 (ldbl_canonicalize): Likewise.
39584 (ldbl_nearbyint): Likewise.
39585 (ldbl_pack): Rename to ldbl_pack_ppc.
39586 (ldbl_unpack): Rename to ldbl_unpack_ppc.
39587 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
39588 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
39589
39590 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
39591
39592 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
39593 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
39594 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
39595 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
39596 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
39597 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
39598 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
39599 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
39600
39601 2013-03-07 Andreas Jaeger <aj@suse.de>
39602
39603 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39604 bits/mman-linux.h.
39605
39606 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
39607
39608 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
39609 Include mpa.h and declare __MPEXP.
39610 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
39611 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
39612 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
39613 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
39614 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
39615 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
39616 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
39617
39618 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
39619 (__slowpow): Use long double EXPL and LOGL functions to
39620 compute POW.
39621 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
39622 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
39623 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
39624 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
39625 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
39626 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
39627
39628 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
39629 intermediate variable to calculate exponent.
39630 (__sqr): Likewise.
39631 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
39632 Likewise.
39633 (__sqr): Likewise.
39634
39635 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
39636 [!NO__SQR]: Define __sqr.
39637 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
39638 and NO__SQR. Remove all code except __mul and __sqr. Include
39639 sysdeps/ieee754/dbl-64/mpa.c.
39640 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
39641
39642 [BZ #12723]
39643 * posix/Makefile (tests): Add tst-pathconf.
39644 * posix/tst-pathconf.c: New test case.
39645 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
39646 _PC_PIPE_BUF.
39647 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
39648
39649 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
39650
39651 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
39652
39653 2013-03-06 Andreas Jaeger <aj@suse.de>
39654
39655 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
39656 definition via __MAP_ANONYMOUS.
39657
39658 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
39659 it's not part of Linux headers.
39660
39661 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
39662 (MAP_HUGE_MASK): Define.
39663
39664 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
39665 Define.
39666 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
39667 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
39668 Define.
39669 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
39670 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
39671 Define.
39672 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
39673 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
39674 Define.
39675 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
39676
39677 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
39678 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
39679 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
39680 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
39681 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
39682 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
39683
39684 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
39685 Handle f2fs.
39686
39687 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
39688 Handle f2fs and efivarfs.
39689
39690 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
39691 f2fs.
39692
39693 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
39694 (EFIVARFS_MAGIC): Add.
39695 (F2FS_LINK_MAX): Add.
39696
39697 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
39698
39699 * stdio-common/vfprintf.c: Replace __builtin_expect with
39700 __glibc_unlikely.
39701
39702 2013-03-06 Joseph Myers <joseph@codesourcery.com>
39703
39704 [BZ #13550]
39705 * sysdeps/generic/bp-sym.h: Remove file.
39706 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
39707 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
39708 <bp-sym.h> and <bp-asm.h>.
39709 (__longjmp): Don't use BP_SYM.
39710 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
39711 and <bp-asm.h>.
39712 (memcpy): Don't use BP_SYM.
39713 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
39714 <bp-sym.h> and <bp-asm.h>.
39715 (memcpy): Don't use BP_SYM.
39716 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
39717 <bp-asm.h>.
39718 (memcpy): Don't use BP_SYM.
39719 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
39720 <bp-asm.h>.
39721 (memset): Don't use BP_SYM.
39722 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
39723 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
39724 (__bzero): Don't use BP_SYM.
39725 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
39726 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
39727 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
39728 <bp-sym.h> and <bp-asm.h>.
39729 (memcmp): Don't use BP_SYM. Remove comment about bounded
39730 pointers.
39731 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
39732 <bp-sym.h> and <bp-asm.h>.
39733 (memcpy): Don't use BP_SYM.
39734 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
39735 <bp-sym.h> and <bp-asm.h>.
39736 (memset): Don't use BP_SYM.
39737 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
39738 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
39739 (__bzero): Don't use BP_SYM.
39740 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
39741 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
39742 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
39743 <bp-sym.h> and <bp-asm.h>.
39744 (strncmp): Don't use BP_SYM. Remove comment about bounded
39745 pointers.
39746 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
39747 <bp-sym.h> and <bp-asm.h>.
39748 (memcpy): Don't use BP_SYM.
39749 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
39750 <bp-sym.h> and <bp-asm.h>.
39751 (memset): Don't use BP_SYM.
39752 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
39753 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
39754 (__bzero): Don't use BP_SYM.
39755 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
39756 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
39757 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
39758 <bp-sym.h> and <bp-asm.h>.
39759 (__memchr): Don't use BP_SYM.
39760 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
39761 <bp-sym.h> and <bp-asm.h>.
39762 (memcmp): Don't use BP_SYM. Remove comment about bounded
39763 pointers.
39764 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
39765 <bp-sym.h> and <bp-asm.h>.
39766 (memcpy): Don't use BP_SYM.
39767 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
39768 <bp-sym.h> and <bp-asm.h>.
39769 (__mempcpy): Don't use BP_SYM.
39770 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
39771 <bp-sym.h> and <bp-asm.h>.
39772 (__memrchr): Don't use BP_SYM.
39773 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
39774 <bp-sym.h> and <bp-asm.h>.
39775 (memset): Don't use BP_SYM.
39776 (__bzero): Likewise.
39777 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
39778 <bp-sym.h> and <bp-asm.h>.
39779 (__rawmemchr): Don't use BP_SYM.
39780 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
39781 <bp-sym.h> and <bp-asm.h>.
39782 (__STRCMP): Don't use BP_SYM.
39783 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
39784 <bp-sym.h> and <bp-asm.h>.
39785 (strchr): Don't use BP_SYM.
39786 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
39787 <bp-sym.h> and <bp-asm.h>.
39788 (__strchrnul): Don't use BP_SYM.
39789 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
39790 <bp-sym.h> and <bp-asm.h>.
39791 (strlen): Don't use BP_SYM.
39792 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
39793 <bp-sym.h> and <bp-asm.h>.
39794 (strncmp): Don't use BP_SYM. Remove comment about bounded
39795 pointers.
39796 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
39797 <bp-sym.h> and <bp-asm.h>.
39798 (__strnlen): Don't use BP_SYM.
39799 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
39800 <bp-sym.h> and <bp-asm.h>.
39801 (__GI__setjmp): Don't use BP_SYM.
39802 (_setjmp): Likewise.
39803 (__sigsetjmp): Likewise.
39804 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
39805 (L(start_addresses)): Don't use BP_SYM.
39806 (_start): Likewise.
39807 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
39808 <bp-asm.h>.
39809 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
39810 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
39811 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
39812 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
39813 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
39814 <bp-asm.h>.
39815 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
39816 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
39817 about bounded pointers.
39818 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
39819 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
39820 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
39821 <bp-asm.h>.
39822 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
39823 about bounded pointers. Remove GKM FIXME comments.
39824 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
39825 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
39826 <bp-asm.h>.
39827 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
39828 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
39829 Remove GKM FIXME comments.
39830 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
39831 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
39832 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
39833 <bp-asm.h>.
39834 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
39835 about bounded pointers. Remove GKM FIXME comment.
39836 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
39837 and <bp-asm.h>.
39838 (strncmp): Don't use BP_SYM. Remove comment about bounded
39839 pointers.
39840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
39841 <bp-sym.h> and <bp-asm.h>.
39842 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
39843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
39844 <bp-sym.h> and <bp-asm.h>.
39845 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
39846 comment.
39847
39848 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
39849
39850 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
39851 call free(NULL).
39852
39853 2013-03-05 David S. Miller <davem@davemloft.net>
39854
39855 * po/es.po: Update from translation team.
39856
39857 2013-03-05 Andreas Jaeger <aj@suse.de>
39858
39859 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
39860 <bits/mman-linux.h>.
39861 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
39862 is fine.
39863 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
39864 <bits/mman-linux.h> to end of file.
39865 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
39866 is fine.
39867 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
39868 <bits/mman-linux.h> to end of file.
39869 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
39870 is fine.
39871 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
39872 <bits/mman-linux.h> to end of file.
39873
39874 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
39875 (MCL_CURRENT, MCL_FUTURE): Define here.
39876
39877 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39878
39879 [BZ #15232]
39880 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
39881 attribute_hidden.
39882 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
39883
39884 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39885
39886 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
39887 fourth parameter needed for rt_sigprocmask syscall.
39888 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
39889 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
39890 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
39891 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
39892 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
39893 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
39894
39895 2013-03-04 Joseph Myers <joseph@codesourcery.com>
39896
39897 [BZ #13550]
39898 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
39899 comment about bounded pointers.
39900 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
39901 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
39902
39903 2013-03-04 Andreas Jaeger <aj@suse.de>
39904
39905 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
39906 common definitions.
39907
39908 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
39909 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
39910 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
39911 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
39912 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
39913 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
39914
39915 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39916
39917 [BZ #15055]
39918 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
39919 __ieee754_sqrl instead of __sqrl.
39920
39921 2013-03-01 Joseph Myers <joseph@codesourcery.com>
39922
39923 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
39924 * sysdeps/powerpc/fpu_control.h: ... here.
39925 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
39926 * sysdeps/powerpc/bits/fenvinline.h: ... here.
39927 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
39928 * sysdeps/powerpc/bits/mathinline.h: ... here.
39929
39930 2013-03-01 Roland McGrath <roland@hack.frob.com>
39931
39932 * elf/dl-hwcaps.c (_dl_important_hwcaps):
39933 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
39934 to just [NEED_DL_SYSINFO_DSO].
39935 * elf/dl-support.c: Likewise.
39936 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
39937 * elf/rtld.c (dl_main): Likewise.
39938 * elf/setup-vdso.h (setup_vdso): Likewise.
39939 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
39940 * sysdeps/unix/sysv/linux/dl-sysdep.c
39941 (_dl_discover_osversion): Likewise.
39942
39943 2013-03-01 Carlos O'Donell <carlos@redhat.com>
39944
39945 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
39946 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
39947
39948 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
39949
39950 * NEWS: Mention libm performance improvements and non-x86 PI
39951 futex support.
39952
39953 * csu/libc-start.c (__pthread_initialize_minimal): Change
39954 function arguments.
39955 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
39956
39957 2013-02-28 Joseph Myers <joseph@codesourcery.com>
39958
39959 [BZ #13550]
39960 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
39961 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
39962 <bp-sym.h> and <bp-asm.h>.
39963 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
39964 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
39965 and <bp-asm.h>.
39966 (memcpy): Don't use BP_SYM.
39967 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
39968 <bp-asm.h>.
39969 (__mpn_add_n): Don't use BP_SYM.
39970 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
39971 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
39972 and <bp-asm.h>.
39973 (__mpn_addmul_1): Don't use BP_SYM.
39974 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39975 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
39976 <bp-sym.h>.
39977 (_setjmp): Don't use BP_SYM.
39978 (__novmx_setjmp): Likewise.
39979 (__GI__setjmp): Likewise.
39980 (__vmx_setjmp): Likewise.
39981 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
39982 <bp-sym.h>.
39983 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
39984 (__bzero): Don't use BP_SYM.
39985 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
39986 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
39987 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
39988 <bp-sym.h> and <bp-asm.h>.
39989 (memcpy): Don't use BP_SYM.
39990 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
39991 <bp-sym.h> and <bp-asm.h>.
39992 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
39993 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
39994 <bp-sym.h> and <bp-asm.h>.
39995 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
39996 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
39997 <bp-asm.h>.
39998 (__mpn_lshift): Don't use BP_SYM.
39999 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
40000 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
40001 <bp-asm.h>.
40002 (memset): Don't use BP_SYM.
40003 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
40004 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
40005 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
40006 <bp-asm.h>.
40007 (__mpn_mul_1): Don't use BP_SYM.
40008 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
40009 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
40010 <bp-sym.h> and <bp-asm.h>.
40011 (memcmp): Don't use BP_SYM.
40012 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
40013 <bp-sym.h> and <bp-asm.h>.
40014 (memcpy): Don't use BP_SYM.
40015 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
40016 <bp-sym.h> and <bp-asm.h>.
40017 (memset): Don't use BP_SYM.
40018 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
40019 <bp-sym.h> and <bp-asm.h>.
40020 (strncmp): Don't use BP_SYM.
40021 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
40022 <bp-sym.h> and <bp-asm.h>.
40023 (memcpy): Don't use BP_SYM.
40024 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
40025 <bp-sym.h> and <bp-asm.h>.
40026 (memset): Don't use BP_SYM.
40027 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
40028 <bp-sym.h> and <bp-asm.h>.
40029 (__memchr): Don't use BP_SYM.
40030 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
40031 <bp-sym.h> and <bp-asm.h>.
40032 (memcmp): Don't use BP_SYM.
40033 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
40034 <bp-sym.h> and <bp-asm.h>.
40035 (memcpy): Don't use BP_SYM.
40036 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
40037 <bp-sym.h> and <bp-asm.h>.
40038 (__mempcpy): Don't use BP_SYM.
40039 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
40040 <bp-sym.h> and <bp-asm.h>.
40041 (__memrchr): Don't use BP_SYM.
40042 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
40043 <bp-sym.h> and <bp-asm.h>.
40044 (memset): Don't use BP_SYM.
40045 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
40046 <bp-sym.h> and <bp-asm.h>.
40047 (__rawmemchr): Don't use BP_SYM.
40048 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
40049 <bp-sym.h> and <bp-asm.h>.
40050 (__STRCMP): Don't use BP_SYM.
40051 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
40052 <bp-sym.h> and <bp-asm.h>.
40053 (strchr): Don't use BP_SYM.
40054 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
40055 <bp-sym.h> and <bp-asm.h>.
40056 (__strchrnul): Don't use BP_SYM.
40057 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
40058 <bp-sym.h> and <bp-asm.h>.
40059 (strlen): Don't use BP_SYM.
40060 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
40061 <bp-sym.h> and <bp-asm.h>.
40062 (strncmp): Don't use BP_SYM.
40063 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
40064 <bp-sym.h> and <bp-asm.h>.
40065 (__strnlen): Don't use BP_SYM.
40066 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
40067 <bp-asm.h>.
40068 (__mpn_rshift): Don't use BP_SYM.
40069 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
40070 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
40071 <bp-sym.h> and <bp-asm.h>.
40072 (__sigsetjmp): Don't use BP_SYM.
40073 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
40074 (L(start_addresses)): Don't use BP_SYM.
40075 (_start): Likewise.
40076 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
40077 <bp-asm.h>.
40078 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
40079 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
40080 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
40081 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
40082 <bp-asm.h>.
40083 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
40084 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
40085 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
40086 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
40087 <bp-asm.h>.
40088 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
40089 comments.
40090 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
40091 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
40092 <bp-asm.h>.
40093 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
40094 FIXME comments.
40095 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
40096 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
40097 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
40098 <bp-asm.h>.
40099 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
40100 comment.
40101 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
40102 and <bp-asm.h>.
40103 (strncmp): Don't use BP_SYM,
40104 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
40105 <bp-asm.h>.
40106 (__mpn_sub_n): Don't use BP_SYM.
40107 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
40108 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
40109 and <bp-asm.h>.
40110 (__mpn_submul_1): Don't use BP_SYM.
40111 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
40112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
40113 <bp-sym.h> and <bp-asm.h>.
40114 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
40115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
40116 <bp-sym.h> and <bp-asm.h>.
40117 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
40118 comment.
40119
40120 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
40121
40122 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
40123 Use ZK to minimize writes to Z.
40124 (sub_magnitudes): Simplify code a bit.
40125 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
40126 Use ZK to minimize writes to Z.
40127 (sub_magnitudes): Simplify code a bit.
40128
40129 2013-02-27 Roland McGrath <roland@hack.frob.com>
40130
40131 * csu/gmon-start.c: Add special exception to license text.
40132
40133 2013-02-27 Richard Henderson <rth@redhat.com>
40134
40135 * scripts/config.guess: Update from config.git.
40136 * scripts/config.sub: Likewise.
40137
40138 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
40139
40140 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
40141
40142 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
40143
40144 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
40145
40146 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
40147
40148 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
40149
40150 2013-02-26 Roland McGrath <roland@hack.frob.com>
40151
40152 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
40153 [$(build-shared = yes].
40154
40155 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
40156
40157 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
40158 (__mul): Reduce iterations for calculating mantissa.
40159
40160 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
40161 MPTWO.
40162 (__mpranred): Likewise.
40163
40164 [BZ #15160]
40165 * malloc/memusagestat.c (main): Draw graphs for heap and stack
40166 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
40167
40168 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
40169
40170 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
40171 Define __attribute__.
40172
40173 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
40174
40175 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
40176 unused.
40177 * posix/regex_internal.h (__attribute): Remove.
40178 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
40179 (re_string_context_at): Likewise.
40180 (bitset_not): Use __attribute__ and mark function as possibly
40181 unused.
40182 (bitset_merge): Likewise.
40183 (bitset_mask): Likewise.
40184 (re_string_char_size_at): Likewise.
40185 (re_string_wchar_at): Likewise.
40186 (re_string_elem_size_at): Likewise.
40187
40188 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
40189
40190 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
40191 code.
40192 (cc32): Likewise.
40193
40194 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
40195 (__acr): Likewise.
40196 (__cpy): Likewise.
40197 (norm): Likewise.
40198 (denorm): Likewise.
40199 (__dbl_mp): Likewise.
40200 (add_magnitudes): Likewise.
40201 (sub_magnitudes): Likewise.
40202 (__mul): Likewise.
40203 (__inv): Likewise.
40204
40205 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
40206 style.
40207
40208 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
40209 style.
40210
40211 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
40212 code.
40213
40214 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
40215 up changes with default code.
40216 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
40217 Likewise.
40218
40219 2013-02-24 Allan McRae <allan@archlinux.org>
40220
40221 * manual/socket.texi (The Internet Namespace): Order menu items
40222 to match that in the file.
40223
40224 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
40225 node listing of the info page menu.
40226
40227 2013-02-21 Joseph Myers <joseph@codesourcery.com>
40228
40229 [BZ #13550]
40230 * sysdeps/i386/bp-asm.h: Remove file.
40231 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
40232 (PARMS): Do not use macros from bp-asm.h.
40233 (S1): Likewise.
40234 (S2): Likewise.
40235 (SIZE): Likewise.
40236 (__mpn_add_n): Do not use BP_SYM
40237 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
40238 "bp-asm.h".
40239 (PARMS): Do not use macros from bp-asm.h.
40240 (S1): Likewise.
40241 (SIZE): Likewise.
40242 (__mpn_addmul_1): Do not use BP_SYM
40243 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
40244 "bp-asm.h".
40245 (PARMS): Do not use macros from bp-asm.h.
40246 (SIGMSK): Likewise.
40247 (_setjmp): Likewise. Do not use BP_SYM.
40248 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
40249 "bp-asm.h".
40250 (PARMS): Do not use macros from bp-asm.h.
40251 (SIGMSK): Likewise.
40252 (setjmp): Likewise. Do not use BP_SYM.
40253 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
40254 "bp-asm.h".
40255 (PARMS): Do not use macros from bp-asm.h.
40256 (__frexp): Do not use BP_SYM.
40257 (frexp): Likewise.
40258 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
40259 "bp-asm.h".
40260 (PARMS): Do not use macros from bp-asm.h.
40261 (__frexpf): Do not use BP_SYM.
40262 (frexpf): Likewise.
40263 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
40264 "bp-asm.h".
40265 (PARMS): Do not use macros from bp-asm.h.
40266 (__frexpl): Do not use BP_SYM.
40267 (frexpl): Likewise.
40268 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
40269 "bp-asm.h".
40270 (PARMS): Do not use macros from bp-asm.h.
40271 (__remquo): Do not use BP_SYM.
40272 (remquo): Likewise.
40273 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
40274 "bp-asm.h".
40275 (PARMS): Do not use macros from bp-asm.h.
40276 (__remquof): Do not use BP_SYM.
40277 (remquof): Likewise.
40278 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
40279 "bp-asm.h".
40280 (PARMS): Do not use macros from bp-asm.h.
40281 (__remquol): Do not use BP_SYM.
40282 (remquol): Likewise.
40283 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
40284 "bp-asm.h".
40285 (PARMS): Do not use macros from bp-asm.h.
40286 (DEST): Likewise.
40287 (SRC): Likewise.
40288 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
40289 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
40290 "bp-asm.h".
40291 (PARMS): Do not use macros from bp-asm.h.
40292 (strlen): Do not use BP_SYM.
40293 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
40294 "bp-asm.h".
40295 (PARMS): Do not use macros from bp-asm.h.
40296 (S1): Likewise.
40297 (S2): Likewise.
40298 (SIZE): Likewise.
40299 (__mpn_add_n): Do not use BP_SYM.
40300 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
40301 "bp-asm.h".
40302 (PARMS): Do not use macros from bp-asm.h.
40303 (S1): Likewise.
40304 (SIZE): Likewise.
40305 (__mpn_addmul_1): Do not use BP_SYM.
40306 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
40307 weak_alias.
40308 (bzero): Likewise.
40309 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
40310 "bp-asm.h".
40311 (PARMS): Do not use macros from bp-asm.h.
40312 (S): Likewise.
40313 (SIZE): Likewise.
40314 (__mpn_lshift): Do not use BP_SYM.
40315 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
40316 "bp-asm.h".
40317 (PARMS): Do not use macros from bp-asm.h.
40318 (DEST): Likewise.
40319 (SRC): Likewise.
40320 (LEN): Likewise.
40321 (memcpy): Likewise. Do not use BP_SYM.
40322 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
40323 libc_hidden_def and weak_alias.
40324 (mempcpy): Do not use BP_SYM in weak_alias.
40325 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
40326 "bp-asm.h".
40327 (PARMS): Do not use macros from bp-asm.h.
40328 (DEST): Likewise.
40329 (LEN): Likewise.
40330 [!BZERO_P] (CHR): Likewise.
40331 (memset): Likewise. Do not use BP_SYM.
40332 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
40333 "bp-asm.h".
40334 (PARMS): Do not use macros from bp-asm.h.
40335 (S1): Likewise.
40336 (SIZE): Likewise.
40337 (__mpn_mul_1): Do not use BP_SYM.
40338 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
40339 "bp-asm.h".
40340 (PARMS): Do not use macros from bp-asm.h.
40341 (S): Likewise.
40342 (SIZE): Likewise.
40343 (__mpn_rshift): Do not use BP_SYM.
40344 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
40345 "bp-asm.h".
40346 (PARMS): Do not use macros from bp-asm.h.
40347 (STR): Likewise.
40348 (CHR): Likewise.
40349 (strchr): Likewise. Do not use BP_SYM.
40350 (index): Do not use BP_SYM in weak_alias.
40351 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
40352 "bp-asm.h".
40353 (PARMS): Do not use macros from bp-asm.h.
40354 (DEST): Likewise.
40355 (SRC): Likewise.
40356 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
40357 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
40358 "bp-asm.h".
40359 (PARMS): Do not use macros from bp-asm.h.
40360 (strlen): Do not use BP_SYM.
40361 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
40362 "bp-asm.h".
40363 (PARMS): Do not use macros from bp-asm.h.
40364 (S1): Likewise.
40365 (S2): Likewise.
40366 (SIZE): Likewise.
40367 (__mpn_sub_n): Do not use BP_SYM.
40368 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
40369 "bp-asm.h".
40370 (PARMS): Do not use macros from bp-asm.h.
40371 (S1): Likewise.
40372 (SIZE): Likewise.
40373 (__mpn_submul_1): Do not use BP_SYM.
40374 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
40375 "bp-asm.h".
40376 (PARMS): Do not use macros from bp-asm.h.
40377 (S1): Likewise.
40378 (S2): Likewise.
40379 (SIZE): Likewise.
40380 (__mpn_add_n): Do not use BP_SYM.
40381 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
40382 weak_alias.
40383 (bzero): Likewise.
40384 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
40385 "bp-asm.h".
40386 (PARMS): Do not use macros from bp-asm.h.
40387 (BLK2): Likewise.
40388 (LEN): Likewise.
40389 (memcmp): Do not use BP_SYM.
40390 (bcmp): Do not use BP_SYM in weak_alias.
40391 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
40392 "bp-asm.h".
40393 (PARMS): Do not use macros from bp-asm.h.
40394 (DEST): Likewise.
40395 (SRC): Likewise.
40396 (LEN): Likewise.
40397 (memcpy): Likewise. Do not use BP_SYM.
40398 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
40399 "bp-asm.h".
40400 (PARMS): Do not use macros from bp-asm.h.
40401 (DEST): Likewise.
40402 (SRC): Likewise.
40403 (LEN): Likewise.
40404 (memmove): Likewise. Do not use BP_SYM.
40405 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
40406 "bp-asm.h".
40407 (PARMS): Do not use macros from bp-asm.h.
40408 (DEST): Likewise.
40409 (SRC): Likewise.
40410 (LEN): Likewise.
40411 (__mempcpy): Likewise. Do not use BP_SYM.
40412 (mempcpy): Do not use BP_SYM in weak_alias.
40413 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
40414 "bp-asm.h".
40415 (PARMS): Do not use macros from bp-asm.h.
40416 (DEST): Likewise.
40417 (LEN): Likewise.
40418 [!BZERO_P] (CHR): Likewise.
40419 (memset): Likewise. Do not use BP_SYM.
40420 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
40421 "bp-asm.h".
40422 (PARMS): Do not use macros from bp-asm.h.
40423 (STR2): Likewise.
40424 (strcmp): Do not use BP_SYM.
40425 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
40426 "bp-asm.h".
40427 (PARMS): Do not use macros from bp-asm.h.
40428 (STR): Likewise.
40429 (DELIM): Likewise.
40430 [USE_AS_STRTOK_R] (SAVE): Likewise.
40431 (FUNCTION): Likewise. Do not use BP_SYM.
40432 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
40433 aliases.
40434 (strtok_r): Likewise.
40435 (__GI___strtok_r): Likewise.
40436 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
40437 (PARMS): Do not use macros from bp-asm.h.
40438 (S): Likewise.
40439 (SIZE): Likewise.
40440 (__mpn_lshift): Do not use BP_SYM.
40441 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
40442 (PARMS): Do not use macros from bp-asm.h.
40443 (STR): Likewise.
40444 (CHR): Likewise.
40445 (__memchr): Do not use BP_SYM.
40446 (memchr): Do not use BP_SYM in weak_alias.
40447 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
40448 (PARMS): Do not use macros from bp-asm.h.
40449 (BLK2): Likewise.
40450 (LEN): Likewise.
40451 (memcmp): Do not use BP_SYM.
40452 (bcmp): Do not use BP_SYM in weak_alias.
40453 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
40454 (PARMS): Do not use macros from bp-asm.h.
40455 (S1): Likewise.
40456 (SIZE): Likewise.
40457 (__mpn_mul_1): Do not use BP_SYM.
40458 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
40459 "bp-asm.h".
40460 (PARMS): Do not use macros from bp-asm.h.
40461 (STR): Likewise.
40462 (CHR): Likewise.
40463 (__rawmemchr): Do not use BP_SYM.
40464 (rawmemchr): Do not use BP_SYM in weak_alias.
40465 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
40466 (PARMS): Do not use macros from bp-asm.h.
40467 (S): Likewise.
40468 (SIZE): Likewise.
40469 (__mpn_rshift): Do not use BP_SYM.
40470 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
40471 (PARMS): Do not use macros from bp-asm.h.
40472 (SIGMSK): Likewise.
40473 (__sigsetjmp): Likewise. Do not use BP_SYM.
40474 * sysdeps/i386/start.S: Do not include "bp-sym.h".
40475 (_start): Do not use BP_SYM.
40476 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
40477 (PARMS): Do not use macros from bp-asm.h.
40478 (DEST): Likewise.
40479 (SRC): Likewise.
40480 (__stpcpy): Likewise. Do not use BP_SYM.
40481 (stpcpy): Do not use BP_SYM in weak_alias.
40482 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
40483 "bp-asm.h".
40484 (PARMS): Do not use macros from bp-asm.h.
40485 (DEST): Likewise.
40486 (SRC): Likewise.
40487 (LEN): Likewise.
40488 (__stpncpy): Likewise. Do not use BP_SYM.
40489 (stpncpy): Do not use BP_SYM in weak_alias.
40490 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
40491 (PARMS): Do not use macros from bp-asm.h.
40492 (STR): Likewise.
40493 (CHR): Likewise.
40494 (strchr): Likewise. Do not use BP_SYM.
40495 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
40496 "bp-asm.h".
40497 (PARMS): Do not use macros from bp-asm.h.
40498 (STR): Likewise.
40499 (CHR): Likewise.
40500 (__strchrnul): Likewise. Do not use BP_SYM.
40501 (strchrnul): Do not use BP_SYM in weak_alias.
40502 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
40503 "bp-asm.h".
40504 (PARMS): Do not use macros from bp-asm.h.
40505 (STOP): Likewise.
40506 (strcspn): Do not use BP_SYM.
40507 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
40508 "bp-asm.h".
40509 (PARMS): Do not use macros from bp-asm.h.
40510 (STR): Likewise.
40511 (STOP): Likewise.
40512 (strpbrk): Likewise. Do not use BP_SYM.
40513 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
40514 "bp-asm.h".
40515 (PARMS): Do not use macros from bp-asm.h.
40516 (STR): Likewise.
40517 (CHR): Likewise.
40518 (strrchr): Likewise. Do not use BP_SYM.
40519 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
40520 (PARMS): Do not use macros from bp-asm.h.
40521 (SKIP): Likewise.
40522 (strspn): Do not use BP_SYM.
40523 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
40524 (PARMS): Do not use macros from bp-asm.h.
40525 (STR): Likewise.
40526 (DELIM): Likewise.
40527 (SAVE): Likewise.
40528 (FUNCTION): Likewise. Do not use BP_SYM.
40529 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
40530 aliases.
40531 (strtok_r): Likewise.
40532 (__GI___strtok_r): Likewise.
40533 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
40534 (PARMS): Do not use macros from bp-asm.h.
40535 (S1): Likewise.
40536 (S2): Likewise.
40537 (SIZE): Likewise.
40538 (__mpn_sub_n): Do not use BP_SYM.
40539 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
40540 "bp-asm.h".
40541 (PARMS): Do not use macros from bp-asm.h.
40542 (S1): Likewise.
40543 (SIZE): Likewise.
40544 (__mpn_submul_1): Do not use BP_SYM.
40545 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
40546 <bp-sym.h>.
40547 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
40548 and <bp-asm.h>.
40549 (PARMS): Do not use macros from bp-asm.h.
40550 (FLAGS): Likewise.
40551 (PTID): Likewise.
40552 (TLS): Likewise.
40553 (CTID): Likewise.
40554 (__clone): Do not use BP_SYM.
40555 (clone): Do not use BP_SYM in weak_alias.
40556 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
40557 and <bp-asm.h>.
40558 (PARMS): Do not use macros from bp-asm.h.
40559 (LEN): Likewise.
40560 (__mmap64): Do not use BP_SYM.
40561 (mmap64): Do not use BP_SYM in weak_alias.
40562 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
40563 <bp-sym.h> and <bp-asm.h>.
40564 (PARMS): Do not use macros from bp-asm.h.
40565 (__posix_fadvise64_l64): Do not use BP_SYM.
40566 * sysdeps/unix/sysv/linux/i386/semtimedop.S
40567 (PARMS): Do not use macros from bp-asm.h.
40568 (NSOPS): Likewise.
40569 (semtimedop): Do not use BP_SYM.
40570 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
40571 and <bp-asm.h>.
40572
40573 2013-02-21 Allan McRae <allan@archlinux.org>
40574
40575 * manual/message.texi (Charset conversion in gettext):
40576 Move @end statement to beginning of line.
40577
40578 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
40579
40580 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
40581 static.
40582 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
40583 Likewise.
40584
40585 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
40586 (denorm): Likewise.
40587 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
40588 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
40589
40590 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40591
40592 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
40593 tail-call to the resolved function if pltexit isn't needed.
40594
40595 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
40596
40597 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
40598 or Y being zero as being unlikely.
40599 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
40600 Likewise.
40601
40602 2013-02-20 Carlos O'Donell <carlos@redhat.com>
40603
40604 * manual/nss.texi (System Databases and Name Service Switch):
40605 Remove frobnicate @pxref.
40606
40607 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
40608
40609 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
40610 __attribute__ ((unused)) to __attribute__ ((__unused__)).
40611
40612 2013-02-20 Petr Machata <pmachata@redhat.com>
40613
40614 * elf/elf.h (R_ARM_TARGET1): New macro.
40615 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
40616 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
40617 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
40618 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
40619 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
40620 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
40621 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
40622 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
40623 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
40624 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
40625 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
40626 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
40627 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
40628 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
40629 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
40630 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
40631 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
40632 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
40633 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
40634 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
40635 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
40636 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
40637 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
40638 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
40639 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
40640 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
40641 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
40642 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
40643 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
40644 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
40645 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
40646 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
40647 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
40648 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
40649 (R_ARM_THM_GOT_BREL12): Likewise.
40650 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
40651 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
40652 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
40653 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
40654 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
40655 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
40656 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
40657 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
40658 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
40659
40660 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
40661
40662 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
40663 __attribute_used__ to __attribute__ ((unused)).
40664
40665 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
40666
40667 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
40668 powerpc mpa.c.
40669 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
40670 comment formatting.
40671 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
40672
40673 2013-02-19 Joseph Myers <joseph@codesourcery.com>
40674
40675 [BZ #13550]
40676 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
40677 Remove macro.
40678 (ENTER): Remove both macro definitions.
40679 (LEAVE): Likewise.
40680 (CHECK_BOUNDS_LOW): Likewise.
40681 (CHECK_BOUNDS_HIGH): Likewise.
40682 (CHECK_BOUNDS_BOTH): Likewise.
40683 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
40684 (RETURN_BOUNDED_POINTER): Likewise.
40685 (RETURN_NULL_BOUNDED_POINTER): Likewise.
40686 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
40687 (POP_ERRNO_LOCATION_RETURN): Likewise.
40688 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
40689 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
40690 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
40691 macros.
40692 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
40693 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
40694 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
40695 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
40696 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
40697 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
40698 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
40699 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
40700 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
40701 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
40702 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
40703 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
40704 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
40705 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
40706 removed macros.
40707 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
40708 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
40709 macros.
40710 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
40711 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
40712 * sysdeps/i386/i586/memset.S (memset): Likewise.
40713 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
40714 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
40715 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
40716 macros.
40717 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
40718 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
40719 Change uses of L(2) to L(out).
40720 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
40721 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
40722 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
40723 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
40724 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
40725 removed macros.
40726 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
40727 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
40728 macros.
40729 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
40730 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
40731 (RETURN): Do not use macro LEAVE.
40732 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
40733 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
40734 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
40735 * sysdeps/i386/i686/memset.S (memset): Likewise.
40736 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
40737 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
40738 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
40739 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
40740 Likewise.
40741 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
40742 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
40743 L(1_2) and L(1_3) into L(1).
40744 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
40745 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
40746 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
40747 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
40748 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
40749 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
40750 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
40751 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
40752 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
40753 macros.
40754 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
40755 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
40756 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
40757 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
40758 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
40759 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
40760 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
40761 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
40762 * sysdeps/i386/strcspn.S (strcspn): Likewise.
40763 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
40764 * sysdeps/i386/strrchr.S (strrchr): Likewise.
40765 * sysdeps/i386/strspn.S (strspn): Likewise.
40766 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
40767 conditional code.
40768 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
40769 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
40770 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
40771 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
40772 L(1_3) into L(1_1).
40773 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
40774 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
40775 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
40776 macros.
40777 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
40778
40779 2013-02-19 Jakub Jelinek <jakub@redhat.com>
40780
40781 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
40782 macro.
40783
40784 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
40785
40786 * math/atest-exp.c (exp_mpn): Remove ROUND.
40787 * math/atest-exp2.c (exp_mpn): Likewise.
40788 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
40789
40790 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
40791 * stdlib/tst-tls-atexit-lib.c: Likewise.
40792 * stdlib/tst-tls-atexit.c: Likewise.
40793
40794 2013-02-18 Mike Frysinger <vapier@gentoo.org>
40795
40796 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
40797 and __attribute_alloc_size__.
40798
40799 2013-02-18 Mike Frysinger <vapier@gentoo.org>
40800
40801 * include/programs/xmalloc.h: Change __attribute_alloc_size to
40802 __attribute_alloc_size__.
40803 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
40804 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
40805
40806 2013-02-18 Mike Frysinger <vapier@gentoo.org>
40807
40808 * include/programs/xmalloc.h: New file.
40809 * catgets/gencat.c: Include it.
40810 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
40811 * elf/pldd.c: Likewise.
40812 * iconv/iconv_charmap.c: Likewise.
40813 * iconv/iconvconfig.c: Likewise.
40814 * iconv/strtab.c: Likewise.
40815 * locale/programs/locale.c: Likewise.
40816 * locale/programs/localedef.h: Likewise.
40817 * locale/programs/simple-hash.c: Likewise.
40818 * nscd/nscd.h: Likewise.
40819 * nss/makedb.c: Likewise.
40820 * sysdeps/generic/ldconfig.h: Likewise.
40821
40822 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
40823
40824 * Versions.def: Add GLIBC_2.18.
40825 * include/link.h (struct link_map): New member l_tls_dtor_count.
40826 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
40827 (__call_tls_dtors): Likewise.
40828 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
40829 __cxa_thread_atexit_impl.
40830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40831 Likewise.
40832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40833 Likewise.
40834 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
40835 Likewise.
40836 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
40837 Likewise.
40838 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
40839 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
40840 Likewise.
40841 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
40842 Likewise.
40843 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
40844 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
40845 Likewise.
40846 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
40847 (tests): Add test case tst-tls-atexit.
40848 (modules-names): Add shared library for tst-tls-atexit.
40849 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
40850 (GLIBC_PRIVATE): Add __call_tls_dtors.
40851 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
40852 for libstdc++.
40853 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
40854 * stdlib/tst-tls-atexit.c: New test case.
40855 * stdlib/tst-tls-atexit-lib.c: New test case.
40856
40857 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
40858
40859 * elf/Versions (ld): Add _dl_find_dso_for_object.
40860 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
40861 * elf/dl-open.c (_dl_find_dso_for_object): New function.
40862 (dl_open_worker): Use _dl_find_dso_for_object.
40863 * elf/dl-sym.c (do_sym): Likewise.
40864 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
40865
40866 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40867
40868 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
40869 Syntactic changes only.
40870 (_dl_runtime_profile): Do a tail-call to the resolved function.
40871
40872 2013-02-17 Joseph Myers <joseph@codesourcery.com>
40873
40874 [BZ #13550]
40875 * sysdeps/x86_64/bp-asm.h: Remove file.
40876 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
40877 <bp-sym.h> and <bp-asm.h>.
40878 (__clone): Do not use BP_SYM.
40879 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
40880 <bp-sym.h> and <bp-asm.h>.
40881 * sysdeps/unix/x86_64/sysdep.S: Likewise.
40882 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
40883 "bp-asm.h".
40884 (_setjmp): Do not use BP_SYM.
40885 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
40886 "bp-asm.h".
40887 (setjmp): Do not use BP_SYM.
40888 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
40889 libc_hidden_def.
40890 (mempcpy): Do not use BP_SYM in weak_alias.
40891 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
40892 "bp-asm.h".
40893 (strchr): Do not use BP_SYM.
40894 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
40895 "bp-asm.h".
40896 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
40897 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
40898 (_start): Do not use BP_SYM.
40899 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
40900 "bp-asm.h".
40901 (strcat): Do not use BP_SYM.
40902 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
40903 "bp-asm.h".
40904 (STRCMP): Do not use BP_SYM.
40905 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
40906 "bp-asm.h".
40907 (STRCPY): Do not use BP_SYM.
40908 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
40909 "bp-asm.h".
40910 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
40911 "bp-asm.h".
40912 (FUNCTION): Do not use BP_SYM.
40913 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
40914 weak_alias.
40915 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
40916
40917 2013-02-17 Andreas Jaeger <aj@suse.de>
40918
40919 * time/Versions: Sort entries.
40920 * string/Versions: Likewise.
40921 * resolv/Versions: Likewise.
40922 * posix/Versions: Likewise.
40923 * iconv/Versions: Likewise.
40924 * elf/Versions: Likewise.
40925 * wcsmbs/Versions: Likewise.
40926
40927 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
40928
40929 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
40930 loop termination condition.
40931
40932 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
40933 variable to calculate EZ.
40934 (__sqr): Likewise.
40935
40936 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
40937 the lower precision input.
40938
40939 2013-02-15 Joseph Myers <joseph@codesourcery.com>
40940
40941 [BZ #13550]
40942 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
40943 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
40944 (run-via-rtld-prefix): Do not handle %-bp tests.
40945 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
40946 (all-object-suffixes): Remove .ob.
40947 (bppfx): Remove variable.
40948 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
40949 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
40950 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
40951 [$(build-bounded) = yes] (libtype.ob): Likewise.
40952 * Makerules (elide-routines.ob): Remove variable.
40953 (do-tests-clean): Do not handle *-bp.out.
40954 (common-mostlyclean): Do not handle *-bp and *-bp.out.
40955 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
40956 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
40957 (tests): Do not include $(tests-bp.out).
40958 (xtests): Do not include $(xtests-bp.out).
40959 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
40960 [$(build-bounded) = yes] ($(addprefix
40961 $(objpfx),$(binaries-bounded))): Remove rule.
40962 ($(objpfx)%-bp.out): Remove rule.
40963 * config.make.in (build-bounded): Remove variable.
40964 * crypt/Makefile [$(build-bounded) = yes]
40965 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
40966 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
40967 append to variable.
40968 [$(build-bounded) = yes] (install-lib): Likewise.
40969 [$(build-bounded) = yes] (generated): Likewise.
40970 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
40971 Remove rule.
40972 * intl/Makefile [$(build-bounded) = yes]
40973 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
40974 * math/Makefile [$(build-bounded) = yes]
40975 ($(tests:%=$(objpfx)%-bp): Likewise.
40976 * misc/Makefile [$(build-bounded) = yes]
40977 ($(objpfx)tst-tsearch-bp): Likewise.
40978 * nptl/Makeconfig (bounded-thread-library): Remove variable.
40979 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
40980 Remove dependency.
40981 * string/Makefile (o-objects.ob): Remove variable.
40982 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
40983 (CFLAGS-.ob): Remove variable.
40984 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
40985 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
40986 both definitions of variable.
40987 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
40988 (ASFLAGS-.ob): Remove variable.
40989
40990 2013-02-14 Joseph Myers <joseph@codesourcery.com>
40991
40992 [BZ #13550]
40993 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
40994 Remove __BOUNDED_POINTERS__ from condition.
40995 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
40996 * string/bits/string2.h [!__NO_STRING_INLINES &&
40997 !__BOUNDED_POINTERS__]: Likewise.
40998 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
40999 Likewise.
41000 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
41001 Remove conditional code.
41002 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
41003 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
41004 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
41005 condition.
41006
41007 [BZ #13550]
41008 * csu/libc-start.c: Do not include <bp-sym.h>.
41009 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
41010 * elf/dl-open.c: Do not include <bp-sym.h>.
41011 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
41012 * math/fegetenv.c: Do not include <bp-sym.h>.
41013 (fegetenv): Do not use BP_SYM in versioned symbols.
41014 * nptl/sysdeps/pthread/bits/libc-lockP.h
41015 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
41016 <bp-sym.h>.
41017 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41018 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
41019 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41020 (__pthread_mutex_destroy): Likewise.
41021 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41022 (__pthread_mutex_lock): Likewise.
41023 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41024 (__pthread_mutex_trylock): Likewise.
41025 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41026 (__pthread_mutex_unlock): Likewise.
41027 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41028 (__pthread_mutexattr_init): Likewise.
41029 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41030 (__pthread_mutexattr_destroy): Likewise.
41031 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41032 (__pthread_mutexattr_settype): Likewise.
41033 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41034 (__pthread_rwlock_init): Likewise.
41035 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41036 (__pthread_rwlock_destroy): Likewise.
41037 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41038 (__pthread_rwlock_rdlock): Likewise.
41039 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41040 (__pthread_rwlock_tryrdlock): Likewise.
41041 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41042 (__pthread_rwlock_wrlock): Likewise.
41043 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41044 (__pthread_rwlock_trywrlock): Likewise.
41045 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41046 (__pthread_rwlock_unlock): Likewise.
41047 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41048 (__pthread_key_create): Likewise.
41049 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41050 (__pthread_setspecific): Likewise.
41051 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41052 (__pthread_getspecific): Likewise.
41053 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
41054 Likewise.
41055 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41056 (_pthread_cleanup_push_defer): Likewise.
41057 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41058 (_pthread_cleanup_pop_restore): Likewise.
41059 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41060 (pthread_setcancelstate): Likewise.
41061 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
41062 <bp-sym.h>.
41063 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
41064 (memchr): Do not use BP_SYM in weak_alias.
41065 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
41066 (fegetenv): Do not use BP_SYM in versioned symbols.
41067 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
41068 (fesetenv): Do not use BP_SYM in versioned symbols.
41069 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
41070 (feupdateenv): Do not use BP_SYM in versioned symbols.
41071 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
41072 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
41073 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
41074 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
41075 (open64): Do not use BP_SYM in weak_alias.
41076 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
41077 (fegetenv): Do not use BP_SYM in versioned symbols.
41078 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
41079 (fesetenv): Do not use BP_SYM in versioned symbols.
41080 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
41081 (feupdateenv): Do not use BP_SYM in versioned symbols.
41082 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
41083 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
41084 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
41085 (feraiseexcept): Do not use BP_SYM in versioned symbols.
41086 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
41087 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
41088 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
41089 <bp-sym.h>.
41090 (__libc_start_main): Do not use BP_SYM.
41091
41092 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
41093
41094 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
41095 redundant return line.
41096 (norm): Likewise.
41097 (denorm): Likewise.
41098 (dbl_mp): Likewise.
41099 (sub_magnitudes): Likewise.
41100 (__add): Likewise.
41101 (__sub): Likewise.
41102 (__mul): Likewise.
41103 (__inv): Likewise.
41104 (__dvd): Likewise.
41105 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
41106 (norm): Likewise.
41107 (denorm): Likewise.
41108 (dbl_mp): Likewise.
41109 (sub_magnitudes): Likewise.
41110 (__add): Likewise.
41111 (__sub): Likewise.
41112 (__mul): Likewise.
41113 (__inv): Likewise.
41114 (__dvd): Likewise.
41115
41116 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
41117 instead of __mul.
41118 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
41119 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
41120 (cc32): Likewise.
41121
41122 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
41123 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
41124 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
41125 of __mul for squares.
41126 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
41127 function
41128 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
41129 Likewise.
41130 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
41131 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
41132
41133 2013-02-13 Joseph Myers <joseph@codesourcery.com>
41134
41135 [BZ #13550]
41136 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
41137 code.
41138 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
41139 prototype or function definition. Rename ubp_* variables and
41140 parameters. Remove argv definitions conditional on
41141 [__BOUNDED_POINTERS__].
41142 * debug/backtrace.c (__backtrace): Do not use __unbounded.
41143 * elf/dl-runtime.c (_dl_fixup): Likewise.
41144 * include/set-hooks.h (RUN_HOOK): Likewise.
41145 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
41146 definition.
41147 * string/strcpy.c (strcpy): Do not use __unbounded.
41148 * sysdeps/generic/frame.h (struct layout): Likewise.
41149 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
41150 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
41151 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
41152 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
41153 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
41154 (__backtrace): Likewise.
41155 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
41156 use __ptrvalue.
41157 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
41158 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
41159 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
41160 Likewise.
41161 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
41162 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
41163 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
41164 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
41165 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
41166 Do not use __unbounded.
41167 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
41168 Rename __unboundedrlimits parameter to rlimits in prototype.
41169 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
41170 Do not use __unbounded.
41171 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
41172 not use __ptrvalue.
41173 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
41174 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
41175 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
41176 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
41177 __ptrvalue or __unbounded.
41178 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
41179 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
41180 use __unbounded.
41181 (__new_msgctl): Do not use __ptrvalue.
41182 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
41183 __unbounded.
41184 (__libc_msgrcv): Do not use __ptrvalue.
41185 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
41186 startup_info): Do not use __unbounded.
41187 (__libc_start_main): Likewise. Rename ubp_* variables and
41188 parameters. Remove argv definitions conditional on
41189 [__BOUNDED_POINTERS__].
41190 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
41191 __ptrvalue.
41192 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
41193 use __unbounded.
41194 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
41195 or __ptrvalue.
41196 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
41197 use __unbounded.
41198 (__new_shmctl): Do not use __ptrvalue.
41199 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
41200 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
41201 Likewise.
41202 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
41203 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
41204 (__libc_sigaction): Likewise.
41205 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
41206 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
41207 Likewise.
41208 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
41209
41210 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
41211
41212 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
41213
41214 * string/mempcpy.c: Implement by calling memcpy.
41215
41216 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
41217
41218 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
41219
41220 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
41221 evaluation.
41222
41223 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
41224 values in the mantissa.
41225
41226 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
41227 minimize writes to Z.
41228 (sub_magnitudes): Simplify code a bit.
41229
41230 2013-02-12 Roland McGrath <roland@hack.frob.com>
41231
41232 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
41233 from the message. The linker prefixes all warnings with that already.
41234
41235 2013-02-12 Andreas Schwab <schwab@suse.de>
41236
41237 [BZ #15078]
41238 * posix/regexec.c (extend_buffers): Add parameter min_len.
41239 (check_matching): Pass minimum needed length.
41240 (clean_state_log_if_needed): Likewise.
41241 (get_subexp): Likewise.
41242 * posix/Makefile (tests): Add bug-regex34.
41243 (bug-regex34-ENV): Define.
41244 * posix/bug-regex34.c: New file.
41245
41246 [BZ #11561]
41247 * posix/regcomp.c (parse_bracket_exp): When looking up collating
41248 elements compare against the byte sequence of it, not its name.
41249 * posix/Makefile (tests): Add bug-regex35.
41250 (bug-regex35-ENV): Define.
41251 * posix/bug-regex35.c: New file.
41252
41253 2013-02-11 Tom de Vries <tom@codesourcery.com>
41254
41255 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
41256 comment.
41257 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
41258 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
41259 (CHECK_EOL): Add undef.
41260
41261 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
41262
41263 * bits/stdlib-bsearch.h: New file.
41264 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
41265 * stdlib/stdlib.h: Likewise.
41266
41267 2013-02-11 Roland McGrath <roland@hack.frob.com>
41268
41269 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
41270 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
41271 declaration.
41272 * manual/search.texi (Array Search Function): Add missing const in
41273 lfind prototype.
41274 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
41275 declaration to use rlim_t.
41276 (Basic Scheduling Functions): Remove erroneous const from
41277 sched_getparam prototype. Remove erroneous * from
41278 sched_get_priority_max and sched_get_priority_min prototypes.
41279 (Resource Usage): Fix summary @comment on vtimes to refer to
41280 sys/vtimes.h rather than vtimes.h.
41281 Add missing *s in vtimes prototype.
41282 (Limits on Resources): Fix ulimit prototype to return long int.
41283 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
41284 prototypes to use long int rather than double.
41285 (BSD Random): Fix initstate and setstate to use char *, not void *.
41286 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
41287 prototype to make second argument 'struct aiocb64 *const[]'.
41288 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
41289 (Status of AIO Operations): Remove erroneous const in aio_return and
41290 aio_return64 prototypes.
41291 (Synchronizing I/O): Fix sync prototype to return void.
41292 * manual/startup.texi (Suboptions): Remove an erroneous const in
41293 getsubopt prototype.
41294 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
41295 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
41296 use size_t rather than int.
41297 (Scanning All Users): Likewise for getpwent_r.
41298 (Setting Groups): Add missing const to setgroups prototype.
41299 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
41300 * manual/socket.texi (Host Names): Fix gethostbyaddr and
41301 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
41302 'const void *' rather than 'const char *'.
41303 (Host Address Functions): Likewise for inet_ntop.
41304 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
41305 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
41306 ssize_t for return value.
41307 (Sending Data): Likewise for send, sendto, sendmsg.
41308 (Socket Option Functions): Add a missing const in setsockopt prototype.
41309 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
41310 use wchar_t for the argument.
41311 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
41312 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
41313 take no arguments.
41314 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
41315 double/float/long double for second argument.
41316 Fix return types of significand, significandf, significandl.
41317 * manual/filesys.texi (Setting Permissions): Use mode_t for second
41318 argument in fchmod prototype.
41319 (File Owner): Use uid_t and gid_t in fchown prototype.
41320 (File Times): Add const to utimes, futimes, and lutimes prototypes.
41321 (Making Special Files): Use mode_t and dev_t in mknod prototype.
41322 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
41323 use 'const struct dirent **' as argument types to CMP function pointer
41324 argument.
41325 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
41326 (File Times): Fix summary magic @comment for struct utimbuf and utime
41327 to refer to utime.h, not time.h.
41328 * manual/string.texi (Argz Functions): Add missing const in
41329 argz_extract and argz_next prototypes.
41330 (Finding Tokens in a String): Likewise for basename.
41331 (String/Array Comparison): Fix typo in wcscasecmp prototype.
41332 (Copying and Concatenation): Fix typo in wmemmove prototype.
41333 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
41334 (Signal Stack): Remove erroneous const in sigstack prototype.
41335 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
41336 prototype.
41337 (Simple Calendar Time): Likewise for stime.
41338 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
41339 prototype.
41340 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
41341 say sys/sysctl.h instead.
41342 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
41343 and vsyslog prototypes.
41344
41345 2013-02-11 Tom de Vries <tom@codesourcery.com>
41346
41347 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
41348 Remove.
41349
41350 2013-02-11 Roland McGrath <roland@hack.frob.com>
41351
41352 * misc/sys/mman.h: Fix typo in mremap comment.
41353
41354 2013-02-08 Roland McGrath <roland@hack.frob.com>
41355
41356 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
41357 the '\0' terminator.
41358
41359 2013-02-08 Joseph Myers <joseph@codesourcery.com>
41360
41361 [BZ #13550]
41362 * debug/segfault.c: Don't include <bp-checks.h>.
41363 * sysdeps/generic/bp-checks.h: Remove file.
41364 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
41365 (__GETDENTS): Don't use CHECK_N.
41366 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
41367 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
41368 (__getgroups): Don't use CHECK_N.
41369 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
41370 (setgroups): Don't use CHECK_N.
41371 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
41372 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
41373 (__libc_msgrcv): Don't use CHECK_N.
41374 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
41375 (__libc_msgsnd): Don't use CHECK_N.
41376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
41377 <bp-checks.h>.
41378 (__libc_pread): Don't use CHECK_N.
41379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
41380 include <bp-checks.h>.
41381 (__libc_pread64): Don't use CHECK_N.
41382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
41383 include <bp-checks.h>.
41384 (__libc_pwrite): Don't use CHECK_N.
41385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
41386 include <bp-checks.h>.
41387 (__libc_pwrite64): Don't use CHECK_N.
41388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
41389 <bp-checks.h>.
41390 (__libc_pread): Don't use CHECK_N.
41391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
41392 include <bp-checks.h>.
41393 (__libc_pread64): Don't use CHECK_N.
41394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
41395 include <bp-checks.h>.
41396 (__libc_pwrite): Don't use CHECK_N.
41397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
41398 include <bp-checks.h>.
41399 (__libc_pwrite64): Don't use CHECK_N.
41400 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
41401 (do_pread): Don't use CHECK_N.
41402 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
41403 (do_pread64): Don't use CHECK_N.
41404 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
41405 (do_pwrite): Don't use CHECK_N.
41406 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
41407 (do_pwrite64): Don't use CHECK_N.
41408 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
41409 (__libc_readv): Don't use CHECK_N.
41410 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
41411 (semop): Don't use CHECK_N.
41412 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
41413 <bp-checks.h>.
41414 (semtimedop): Don't use CHECK_N.
41415 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
41416 (__libc_pread): Don't use CHECK_N.
41417 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
41418 <bp-checks.h>.
41419 (__libc_pread64): Don't use CHECK_N.
41420 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
41421 <bp-checks.h>.
41422 (__libc_pwrite): Don't use CHECK_N.
41423 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
41424 <bp-checks.h>.
41425 (__libc_pwrite64): Don't use CHECK_N.
41426 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
41427 <bp-checks.h>.
41428 (__libc_msgrcv): Don't use CHECK_N.
41429 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
41430 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
41431 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
41432 (__libc_writev): Don't use CHECK_N.
41433
41434 2013-02-08 Roland McGrath <roland@hack.frob.com>
41435
41436 * string/strcpy.c: Removed unused variable.
41437
41438 * Makeconfig (+sysdep-includes): Define with := rather than =.
41439 Use an existing include/ subdir of each sysdeps dir before it.
41440
41441 2013-02-08 Carlos O'Donell <carlos@redhat.com>
41442
41443 * nscd/connection.c (register_traced_file): Comment function.
41444 [HAVE_INOTIFY] (union __inev): Define.
41445 [HAVE_INOTIFY] (inotify_check_files): New function.
41446 [HAVE_INOTIFY] (clear_db_cache): Likewise.
41447 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
41448 clear_db_cache.
41449 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
41450
41451 2013-02-08 Carlos O'Donell <carlos@redhat.com>
41452
41453 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
41454 loaded if not already and that a failure is permanent.
41455
41456 2013-02-08 Carlos O'Donell <carlos@redhat.com>
41457
41458 [BZ #15006]
41459 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
41460 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
41461
41462 2013-02-08 Joseph Myers <joseph@codesourcery.com>
41463
41464 [BZ #13550]
41465 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
41466 (CHECK_1_NULL_OK): Likewise.
41467 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
41468 (__fxstat): Do not use CHECK_1.
41469 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
41470 <bp-checks.h>.
41471 (___fxstat64): Do not use CHECK_1.
41472 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
41473 <bp-checks.h>.
41474 (__fxstatat): Do not use CHECK_1.
41475 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
41476 <bp-checks.h>.
41477 (__fxstatat64): Do not use CHECK_1.
41478 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
41479 <bp-checks.h>.
41480 (__fxstat): Do not use CHECK_1.
41481 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
41482 <bp-checks.h>.
41483 (__fxstatat): Do not use CHECK_1.
41484 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
41485 <bp-checks.h>.
41486 (__getresgid): Do not use CHECK_1.
41487 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
41488 <bp-checks.h>.
41489 (__getresuid): Do not use CHECK_1.
41490 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
41491 <bp-checks.h>.
41492 (__lxstat): Do not use CHECK_1.
41493 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
41494 <bp-checks.h>.
41495 (__old_msgctl): Do not use CHECK_1.
41496 (__new_msgctl): Likewise.
41497 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
41498 <bp-checks.h>.
41499 (__new_setrlimit): Do not use CHECK_1.
41500 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
41501 <bp-checks.h>.
41502 (__old_shmctl): Do not use CHECK_1.
41503 (__new_shmctl): Likewise.
41504 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
41505 <bp-checks.h>.
41506 (__xstat): Do not use CHECK_1.
41507 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
41508 (__lxstat): Do not use CHECK_1.
41509 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
41510 <bp-checks.h>.
41511 (___lxstat64): Do not use CHECK_1.
41512 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
41513 (__old_msgctl): Do not use CHECK_1.
41514 (__new_msgctl): Likewise.
41515 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
41516 <bp-checks.h>.
41517 (__gettimeofday): Do not use CHECK_1.
41518 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
41519 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
41520 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
41521 <bp-checks.h>.
41522 (__gettimeofday): Do not use CHECK_1.
41523 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
41524 (__old_shmctl): Do not use CHECK_1_NULL_OK.
41525 (__new_shmctl): Do not use CHECK_1.
41526 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
41527 <bp-checks.h>.
41528 (do_sigtimedwait): Do not use CHECK_1.
41529 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
41530 <bp-checks.h>.
41531 (do_sigwaitinfo): Do not use CHECK_1.
41532 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
41533 <bp-checks.h>.
41534 (msgctl): Do not use CHECK_1.
41535 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
41536 <bp-checks.h>.
41537 (shmctl): Do not use CHECK_1.
41538 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
41539 (ustat): Do not use CHECK_1.
41540 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
41541 <bp-checks.h>.
41542 (__fxstat): Do not use CHECK_1.
41543 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
41544 <bp-checks.h>.
41545 (__fxstatat): Do not use CHECK_1.
41546 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
41547 <bp-checks.h>.
41548 (__lxstat): Do not use CHECK_1.
41549 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
41550 <bp-checks.h>.
41551 (__xstat): Do not use CHECK_1.
41552 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
41553 (__xstat): Do not use CHECK_1.
41554 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
41555 (___xstat64): Do not use CHECK_1.
41556
41557 [BZ #13550]
41558 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
41559 definitions.
41560 (CHECK_BOUNDS_HIGH): Likewise.
41561 * string/strcpy.c: Do not include <bp-checks.h>.
41562 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
41563
41564 2013-02-07 Roland McGrath <roland@hack.frob.com>
41565
41566 * nscd/nscd-client.h (__nscd_drop_map_ref):
41567 Add __attribute__ ((unused)).
41568 * nis/nss-nisplus.h (niserr2nss): Likewise.
41569
41570 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
41571 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
41572
41573 * csu/libc-tls.c (init_static_tls, init_slotinfo):
41574 Remove inline keyword.
41575 * include/rounding-mode.h (round_away): Likewise.
41576 * libio/wfileops.c (adjust_wide_data): Likewise.
41577 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
41578 (__m128i_strloadu_tolower): Likewise.
41579 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
41580 (__m128i_strloadu_tolower): Likewise.
41581 * time/mktime.c (ydhms_diff): Likewise.
41582 * locale/elem-hash.h (elem_hash): Likewise.
41583 * locale/setlocale.c (setdata): Likewise.
41584 * posix/regex_internal.h (re_string_char_size_at): Likewise.
41585 (re_string_wchar_at): Likewise.
41586 (bitset_not, bitset_merge, bitset_mask): Likewise.
41587 [!(__GNUC__ > 3)] (inline): Remove macro.
41588 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
41589 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
41590 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
41591 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
41592 * string/memcmp.c (memcmp_bytes): Likewise.
41593 * locale/programs/locarchive.c (compute_hashval): Likewise.
41594 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
41595 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
41596 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
41597 * nss/getent.c (print_rpc, print_protocols): Likewise.
41598 (print_passwd, print_group, print_aliases): Likewise.
41599 * nis/nss-nisplus.h (niserr2nss): Likewise.
41600 * nscd/connections.c (restart_p): Likewise.
41601 Change return type to bool.
41602
41603 2013-02-05 Roland McGrath <roland@hack.frob.com>
41604
41605 * Makeconfig (all-Depend-files): Add existing
41606 $(sorted-subdirs:=/Depend) files.
41607 (all-subdirs): Remove nss.
41608 * sysdeps/unix/inet/Subdirs: Add it here instead.
41609 * hesiod/Depend: New file.
41610
41611 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
41612 instead of calling alloca.
41613
41614 * io/lseek.c (__lseek): Rename to __libc_lseek.
41615 Define __lseek as an alias.
41616
41617 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
41618
41619 2013-02-04 Carlos O'Donell <carlos@redhat.com>
41620
41621 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
41622 else clause and remove check for non-standard endianness.
41623
41624 2013-02-04 David S. Miller <davem@davemloft.net>
41625
41626 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41627
41628 2013-02-04 Joseph Myers <joseph@codesourcery.com>
41629
41630 [BZ #13550]
41631 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
41632 (__ubp_memchr): Remove prototype.
41633 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
41634 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
41635 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
41636 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
41637 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
41638 Remove alias.
41639 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
41640 (__ubp_memchr): Likewise.
41641 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
41642 (__ubp_memchr): Likewise.
41643 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
41644 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
41645 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
41646 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
41647 CHECK_STRING.
41648 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
41649 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
41650 (__getcwd): Do not use CHECK_STRING.
41651 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
41652 <bp-checks.h>.
41653 (__real_chown): Do not use CHECK_STRING.
41654 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
41655 <bp-checks.h>.
41656 (fchownat): Do not use CHECK_STRING.
41657 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
41658 CHECK_STRING.
41659 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
41660 <bp-checks.h>.
41661 (__lchown): Do not use CHECK_STRING.
41662 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
41663 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
41664 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
41665 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
41666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
41667 include <bp-checks.h>.
41668 (truncate64): Do not use CHECK_STRING.
41669 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
41670 <bp-checks.h>.
41671 (__real_chown): Do not use CHECK_STRING.
41672 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
41673 <bp-checks.h>.
41674 (__lchown): Do not use CHECK_STRING.
41675 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
41676 <bp-checks.h>.
41677 (__chown): Do not use CHECK_STRING.
41678 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
41679 <bp-checks.h>.
41680 (truncate64): Do not use CHECK_STRING.
41681 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
41682 Likewise.
41683 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
41684 (__xmknod): Do not use CHECK_STRING.
41685 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
41686 <bp-checks.h>.
41687 (__xmknodat): Do not use CHECK_STRING.
41688 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
41689 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
41690
41691 2013-02-04 Andreas Schwab <schwab@suse.de>
41692
41693 [BZ #14142]
41694 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
41695 * include/netdb.h: Likewise for h_errno.
41696 * elf/tst-stackguard1.c: Include <tls.h>.
41697
41698 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
41699
41700 * elf/link.h (struct link_map): Extend the l_addr comment.
41701 * include/link.h (struct link_map): Likewise.
41702
41703 2013-02-01 Joseph Myers <joseph@codesourcery.com>
41704
41705 [BZ #13550]
41706 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
41707 (BOUNDED_1): Remove macro.
41708 * debug/backtrace.c: Don't include <bp-checks.h>.
41709 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
41710 (__backtrace): Likewise.
41711 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
41712 <bp-checks.h>.
41713 (__backtrace): Don't use BOUNDED_1.
41714 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
41715 <bp-checks.h>.
41716 (__backtrace): Don't use BOUNDED_1.
41717 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
41718 (__backtrace): Don't use BOUNDED_1.
41719 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
41720 (shmat): Don't use BOUNDED_N.
41721
41722 2013-01-31 Joseph Myers <joseph@codesourcery.com>
41723
41724 [BZ #13550]
41725 * sysdeps/generic/bp-start.h: Remove file.
41726 * csu/libc-start.c: Don't include <bp-start.h>.
41727 (LIBC_START_MAIN): Set up __environ directly instead of using
41728 INIT_ARGV_and_ENVIRON.
41729 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
41730 <bp-start.h>.
41731
41732 [BZ #13550]
41733 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
41734 definitions.
41735 (CHECK_FCNTL): Likewise.
41736 (CHECK_N_PAGES): Likewise.
41737
41738 [BZ #13550]
41739 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
41740 definitions.
41741 (CHECK_SIGSET_NULL_OK): Likewise.
41742 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
41743 <bp-checks.h>.
41744 (sigpending): Don't use CHECK_SIGSET.
41745 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
41746 <bp-checks.h>.
41747 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
41748 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
41749 <bp-checks.h>.
41750 (do_sigsuspend): Don't use CHECK_SIGSET.
41751 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
41752 use CHECK_SIGSET.
41753 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
41754 (do_sigwait): Don't use CHECK_SIGSET.
41755 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
41756 use CHECK_SIGSET.
41757 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
41758 include <bp-checks.h>.
41759 (sigpending): Don't use CHECK_SIGSET.
41760 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
41761 include <bp-checks.h>.
41762 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
41763 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
41764 <bp-checks.h>.
41765 (sigpending): Don't use CHECK_SIGSET.
41766 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
41767 <bp-checks.h>.
41768 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
41769
41770 [BZ #13550]
41771 * sysdeps/generic/bp-semctl.h: Remove file.
41772 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
41773 <bp-checks.h> and <bp-semctl.h>.
41774 (__old_semctl): Don't use CHECK_SEMCTL.
41775 (__new_semctl): Likewise.
41776 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
41777 and <bp-semctl.h>.
41778 (__old_semctl): Don't use CHECK_SEMCTL.
41779 (__new_semctl): Likewise.
41780 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
41781 <bp-checks.h> and <bp-semctl.h>.
41782 (__old_semctl): Don't use CHECK_SEMCTL.
41783 (__new_semctl): Likewise.
41784 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
41785 <bp-checks.h> and <bp-semctl.h>.
41786 (semctl): Don't use CHECK_SEMCTL.
41787
41788 [BZ #13550]
41789 * Makerules (elide-bp-thunks): Remove variable.
41790 (elide-routines.oS): Don't use $(elide-bp-thunks).
41791 (elide-routines.os): Likewise.
41792 (elide-routines.o): Likewise.
41793 (elide-routines.op): Likewise.
41794 (elide-routines.og): Likewise.
41795 (objects): Don't use $(bp-thunks).
41796 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
41797 include.
41798 (common-generated): Do not add s-proto-bp.d.
41799 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
41800 (int): Likewise.
41801 (typ): Likewise.
41802 Do not generate makefile rules for bounded-pointer thunks.
41803 * sysdeps/generic/bp-thunks.h: Remove file.
41804 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
41805 * sysdeps/unix/s-proto-bp.S: Likewise.
41806
41807 [BZ #15062]
41808 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
41809 parts of result separately when argument is not close to line from
41810 -i to i and one part of argument is small.
41811 * math/k_casinhf.c (__kernel_casinhf): Likewise.
41812 * math/k_casinhl.c (__kernel_casinhl): Likewise.
41813 * math/libm-test.inc (cacos_test): Add more tests.
41814 (casin_test): Likewise.
41815 (casinh_test): Likewise.
41816 * sysdeps/i386/fpu/libm-test-ulps: Update.
41817 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41818
41819 2013-01-31 David S. Miller <davem@davemloft.net>
41820
41821 * po/de.po: Update from translation team.
41822
41823 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
41824
41825 * time/tzfile.c: Include stdint.h for SIZE_MAX.
41826
41827 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
41828
41829 * configure.in (_AC_PROG_CC_C89): New definition.
41830 * configure: Regenerate.
41831
41832 * configure.in (AC_PROG_CPP): New definition.
41833 * configure: Regenerate.
41834
41835 2013-01-23 Joseph Myers <joseph@codesourcery.com>
41836
41837 * debug/tst-backtrace.h: New file.
41838 * debug/tst-backtrace2.c: Include tst-backtrace.h.
41839 (ret): Remove variable.
41840 (x): Likewise.
41841 (FAIL): Remove macro.
41842 (NO_INLINE): Likewise.
41843 (fn1): Use match function instead of strstr.
41844 * debug/tst-backtrace3.c: Include tst-backtrace.h.
41845 (ret): Remove variable.
41846 (x): Likewise.
41847 (FAIL): Remove macro.
41848 (NO_INLINE): Likewise.
41849 (fn): Use match function instead of strstr.
41850 * debug/tst-backtrace4.c: Include tst-backtrace.h.
41851 (ret): Remove variable.
41852 (x): Likewise.
41853 (FAIL): Remove macro.
41854 (NO_INLINE): Likewise.
41855 (handle_signal): Use match function instead of strstr.
41856 * debug/tst-backtrace5.c: Include tst-backtrace.h.
41857 (ret): Remove variable.
41858 (x): Likewise.
41859 (FAIL): Remove macro.
41860 (NO_INLINE): Likewise.
41861 (handle_signal): Use match function instead of strstr.
41862
41863 2013-01-23 Roland McGrath <roland@hack.frob.com>
41864
41865 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
41866
41867 2013-01-23 David S. Miller <davem@davemloft.net>
41868
41869 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
41870 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
41871 argument of CAS if possible.
41872 * sysdeps/sparc/sparc64/bits/atomic.h
41873 (__arch_compare_and_exchange_val_32_acq): Likewise.
41874 (__arch_compare_and_exchange_val_64_acq): Likewise.
41875
41876 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
41877
41878 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
41879 * sysdeps/posix/ulimit.c: ... this.
41880 Include <limits.h>.
41881 * sysdeps/unix/bsd/ulimit.c: Remove file.
41882
41883 2013-01-23 Adam Conrad <adconrad@0c3.net>
41884
41885 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
41886 (LDFLAGS-tst-array5): Likewise.
41887
41888 2013-01-23 Joseph Myers <joseph@codesourcery.com>
41889
41890 [BZ #15036]
41891 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
41892 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
41893 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
41894 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
41895
41896 2013-01-21 David S. Miller <davem@davemloft.net>
41897
41898 * sysdeps/sparc/backtrace.c: New file.
41899 * sysdeps/sparc/sparc32/backtrace.h: New file.
41900 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
41901 * sysdeps/sparc/sparc64/backtrace.h: New file.
41902 * sysdeps/sparc/sparc64/backtrace.c: Delete.
41903 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
41904 -funwind-tables.
41905
41906 2013-01-21 Andreas Schwab <schwab@suse.de>
41907
41908 [BZ #15020]
41909 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
41910 closed its stdout.
41911
41912 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
41913
41914 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
41915 "mpa2.h".
41916 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
41917
41918 2013-01-18 Joseph Myers <joseph@codesourcery.com>
41919 Mark Mitchell <mark@codesourcery.com>
41920 Tom de Vries <tom@codesourcery.com>
41921 Paul Pluzhnikov <ppluzhnikov@google.com>
41922
41923 * debug/tst-backtrace2.c: New file.
41924 * debug/tst-backtrace3.c: Likewise.
41925 * debug/tst-backtrace4.c: Likewise.
41926 * debug/tst-backtrace5.c: Likewise.
41927 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
41928 (CFLAGS-tst-backtrace3.c): Likewise.
41929 (CFLAGS-tst-backtrace4.c): Likewise.
41930 (CFLAGS-tst-backtrace5.c): Likewise.
41931 (LDFLAGS-tst-backtrace2): Likewise.
41932 (LDFLAGS-tst-backtrace3): Likewise.
41933 (LDFLAGS-tst-backtrace4): Likewise.
41934 (LDFLAGS-tst-backtrace5): Likewise.
41935 (tests): Add new tests tst-backtrace2, tst-backtrace3,
41936 tst-backtrace4 and tst-backtrace5.
41937
41938 2013-01-18 Anton Blanchard <anton@samba.org>
41939 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
41940
41941 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
41942 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
41943 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
41944 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
41945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
41946 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
41947 "+r" and remove output regs list as redundant. Add explicit inline
41948 asm to specify register of return val to work around compiler codegen
41949 bug. Remove (int) cast on return value. Add return type parameter to
41950 use in macro so that this macro does not truncate return value for
41951 64-bit values.
41952 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
41953 pass to INTERNAL_VSYSCALL_NCS.
41954 (INLINE_VSYSCALL): Add 'long int' as return type to
41955 INTERNAL_VSYSCALL_NCS macro invocation.
41956 (INTERNAL_VSYSCALL): Add 'long int' as return type to
41957 INTERNAL_VSYSCALL_NCS macro invocation.
41958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
41959
41960 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
41961
41962 [BZ #14496]
41963 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
41964 Fix application of SIMD FP exception mask.
41965
41966 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
41967 mp_no from a power of two.
41968 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
41969 __mpexp_twomm1. Use __pow_mp.
41970
41971 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
41972 multiplication.
41973
41974 2013-01-17 David S. Miller <davem@davemloft.net>
41975
41976 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41977
41978 2013-01-17 Joseph Myers <joseph@codesourcery.com>
41979
41980 [BZ #15023]
41981 * include/complex.h: Condition contents on [!_COMPLEX_H].
41982 (__kernel_casinhf): New prototype.
41983 (__kernel_casinh): Likewise.
41984 (__kernel_casinhl): Likewise.
41985 * math/Makefile (libm_calls): Add k_casinh.
41986 * math/k_casinh.c: New file.
41987 * math/k_casinhf.c: Likewise.
41988 * math/k_casinhl.c: Likewise.
41989 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
41990 finite nonzero arguments.
41991 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
41992 finite nonzero arguments.
41993 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
41994 finite nonzero arguments.
41995 * math/s_casinh.c: Do not include <float.h>.
41996 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
41997 * math/s_casinhf.c: Do not include <float.h>.
41998 (__casinhf): Move code for finite nonzero arguments to
41999 k_casinhf.c.
42000 * math/s_casinhl.c: Do not include <float.h>.
42001 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
42002 redefine.
42003 (__casinhl): Move code for finite nonzero arguments to
42004 k_casinhl.c.
42005 * math/libm-test.inc (cacos_test): Add more tests.
42006 * sysdeps/i386/fpu/libm-test-ulps: Update.
42007 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42008
42009 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
42010
42011 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
42012 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
42013 [!HAVE_MREMAP]: Remove [defined linux] case.
42014 * malloc/arena.c: Do not include <malloc-sysdep.h>.
42015
42016 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
42017
42018 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
42019
42020 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
42021
42022 * elf/elf.h (R_386_SIZE32): New relocation.
42023 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
42024 R_386_SIZE32.
42025 (elf_machine_rela): Likewise.
42026 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
42027 R_X86_64_SIZE64 and R_X86_64_SIZE32.
42028
42029 2013-01-17 Joseph Myers <joseph@codesourcery.com>
42030
42031 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
42032 (FP_FAST_FMA): Do not define.
42033 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
42034 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
42035 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
42036 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
42037 !_SOFT_FLOAT]: Likewise.
42038 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
42039 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
42040 value.
42041 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
42042 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
42043 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
42044 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
42045 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
42046 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
42047 file.
42048
42049 2013-01-16 Andreas Schwab <schwab@suse.de>
42050
42051 [BZ #14327]
42052 * include/stdlib.h (__mktemp): Add declaration.
42053 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
42054 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
42055
42056 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
42057
42058 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
42059 definitions.
42060 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
42061 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
42062 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
42063 definitions here.
42064 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
42065 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
42066 definitions.
42067 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
42068 and ONE.
42069 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
42070 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
42071 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
42072 definitions.
42073 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
42074 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
42075 definitions.
42076 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
42077
42078 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
42079
42080 2013-01-15 David S. Miller <davem@davemloft.net>
42081
42082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
42083 trunc{,f} to libm-sysdep_routes.
42084 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
42085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
42086 file.
42087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
42088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
42089 file.
42090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
42091 file.
42092 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
42093 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
42094 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
42095 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
42096 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
42097 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
42098 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
42099 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
42100
42101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
42102 nearbyint{,f} to libm-sysdep_routes.
42103 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
42104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
42105 New file.
42106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
42107 file.
42108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
42109 New file.
42110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
42111 file.
42112 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
42113 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
42114 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
42115 file.
42116 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
42117 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
42118 file.
42119 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
42120 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
42121 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
42122
42123 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
42124 libc_feholdexcept and libc_fesetenv.
42125
42126 2013-01-15 Mike Frysinger <vapier@gentoo.org>
42127
42128 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
42129
42130 2013-01-14 David S. Miller <davem@davemloft.net>
42131
42132 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
42133 (SPARC_ASM_VIS2_IFUNC): Likewise.
42134 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
42135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
42136 use of 'siam' instruction.
42137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
42138 Likewise.
42139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
42140 Likewise.
42141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
42142 Likewise.
42143 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
42144 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
42145 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
42146 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
42147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
42148 file.
42149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
42150 file.
42151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
42152 file.
42153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
42154 file.
42155 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
42156 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
42157 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
42158 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
42159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
42160 new VIS2 routines.
42161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
42162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
42163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
42164 Likewise.
42165 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
42166 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
42167 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
42168 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
42169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
42170 routines to libm-sysdep_routines.
42171 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
42172
42173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
42174 fdim/fdimf to libm-sysdep_routines.
42175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
42176 file.
42177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
42178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
42179 file.
42180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
42181 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
42182 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
42183 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
42184 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
42185 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
42186 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
42187
42188 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
42189
42190 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
42191 to optimize copies.
42192
42193 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
42194 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
42195 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
42196
42197 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
42198 local variable MPTWO.
42199 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
42200 Likewise.
42201
42202 2013-01-13 Mike Frysinger <vapier@gentoo.org>
42203
42204 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
42205 GLOB_NOESCAPE.
42206
42207 2013-01-13 Mike Frysinger <vapier@gentoo.org>
42208
42209 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
42210
42211 2013-01-13 Mike Frysinger <vapier@gentoo.org>
42212
42213 * manual/pattern.texi (glob_t): Document gl_flags.
42214 (glob64_t): Likewise.
42215
42216 2013-01-11 David S. Miller <davem@davemloft.net>
42217
42218 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
42219 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
42220 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
42221 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
42222 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
42223 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
42224 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
42225 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
42226 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
42227 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
42228 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
42229 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
42230 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
42231
42232 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
42233 sparc V9 rather than using V8 code.
42234 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
42235 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
42236
42237 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
42238 Move to...
42239 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
42240 Here.
42241
42242 2013-01-11 Roland McGrath <roland@hack.frob.com>
42243
42244 [BZ #14941]
42245 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
42246 not in the main loop.
42247 * configure: Regenerated.
42248
42249 2013-01-11 Joseph Myers <joseph@codesourcery.com>
42250
42251 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
42252 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
42253 to just #else.
42254 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
42255 [!__GLIBC_HAVE_LONG_LONG] case.
42256 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
42257 condition to just #else.
42258 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
42259 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
42260 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
42261 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
42262 unconditional.
42263 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
42264 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
42265 #elif condition to just #else.
42266 * sysdeps/unix/sysv/linux/sys/sysmacros.h
42267 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
42268 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
42269 #elif condition to just #else.
42270
42271 2013-01-11 Steve Ellcey <sellcey@mips.com>
42272
42273 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
42274 (EF_MIPS_ARCH_64): Fix value.
42275 (EF_MIPS_ARCH_32R2): New.
42276 (EF_MIPS_ARCH_64R2): New.
42277
42278 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
42279
42280 * Makeconfig (+link-pie-before-libc): New.
42281 (+link-pie-after-libc): Likewise.
42282 (+link-pie-tests): Likewise.
42283 (+link-pie): Rewritten.
42284 (link-before-libc): Remove $(config-LDFLAGS).
42285 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
42286 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
42287 (config-LDFLAGS): Renamed to ...
42288 (rtld-LDFLAGS): This.
42289 (rtld-tests-LDFLAGS): New macro.
42290 (link-libc-rpath-link): Likewise.
42291 (link-libc-tests-rpath-link): Likewise.
42292 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
42293 (link-libc): Prepand $(link-libc-rpath-link).
42294 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
42295 (test-program-prefix): New macro.
42296 (test-via-rtld-prefix): Likewise.
42297 (test-program-cmd): Likewise.
42298 (host-test-program-cmd): Likewise.
42299 * Makefile ($(common-objpfx)testrun.sh): Replace
42300 $(run-program-prefix) with $(test-program-prefix).
42301 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
42302 $(rtld-LDFLAGS).
42303 ($(common-objpfx)shlib.lds): Likewise.
42304 (build-module-helper): Likewise.
42305 ($(common-objpfx)format.lds): Likewise.
42306 * Rules (binaries-pie-tests): New.
42307 (binaries-pie-notests): Likewise.
42308 (binaries-pie): Rewritten.
42309 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
42310 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
42311 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
42312 (make-test-out): Replace $(host-built-program-cmd) with
42313 $(host-test-program-cmd).
42314 * config.make.in (build-hardcoded-path-in-tests): New variable.
42315 * configure.in (--enable-hardcoded-path-in-tests): New configure
42316 option.
42317 (hardcoded_path_in_tests): New AC_SUBST.
42318 * configure: Regenerated.
42319 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
42320 $(built-program-cmd) with $(test-program-cmd).
42321 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
42322 (test_program_cmd): This.
42323 * elf/Makefile ($(objpfx)order.out): Run test with
42324 $(test-program-prefix).
42325 ($(objpfx)order2.out): Likewise.
42326 ($(objpfx)tst-initorder.out): Likewise.
42327 ($(objpfx)tst-initorder2.out): Likewise.
42328 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
42329 $(test-program-cmd).
42330 ($(objpfx)tst-array1-static.out): Likewise.
42331 ($(objpfx)tst-array2.out): Likewise.
42332 ($(objpfx)tst-array3.out): Likewise.
42333 ($(objpfx)tst-array4.out): Likewise.
42334 ($(objpfx)tst-array5.out): Likewise.
42335 ($(objpfx)tst-array5-static.out): Likewise.
42336 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
42337 $(test-program-cmd).
42338 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
42339 $(run-program-prefix) with $(test-program-prefix).
42340 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
42341 (test_program_prefix): This.
42342 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
42343 $(run-program-prefix) with $(test-program-prefix).
42344 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
42345 (test_program_prefix): This.
42346 * iconvdata/tst-tables.sh: Likewise.
42347 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
42348 $(run-program-prefix) with $(test-program-prefix).
42349 ($(objpfx)tst-translit.out): Likewise.
42350 ($(objpfx)tst-gettext2.out): Likewise.
42351 ($(objpfx)tst-gettext4.out): Likewise.
42352 ($(objpfx)tst-gettext6.out): Likewise.
42353 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
42354 (test_program_prefix): This.
42355 * intl/tst-gettext2.sh: Likewise.
42356 * intl/tst-gettext4.sh Likewise.
42357 * intl/tst-gettext6.sh: Likewise.
42358 * intl/tst-translit.sh: Likewise.
42359 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
42360 with $(test-program-cmd).
42361 * libio/Makefile ($(objpfx)test-freopen.out): Replace
42362 $(run-program-prefix) with $(test-program-prefix).
42363 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
42364 (test_program_prefix): This.
42365 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
42366 $(run-program-prefix) with $(test-program-prefix).
42367 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
42368 (test_program_prefix): This.
42369 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
42370 * posix/Makefile ($(objpfx)globtest.out): Replace
42371 $(run-via-rtld-prefix) and $(test-wrapper) with
42372 $(test-program-prefix) and $(test-via-rtld-prefix).
42373 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
42374 $(test-program-prefix).
42375 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
42376 $(host-test-program-cmd).
42377 (tst-spawn-ARGS): Likewise.
42378 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
42379 $(test-program-prefix).
42380 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
42381 (test_via_rtld_prefix): This.
42382 (test_wrapper): Renamed to ...
42383 (test_program_prefix): This.
42384 (run_program_prefix): Replaced by test_program_prefix.
42385 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
42386 (test_program_prefix): This.
42387 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
42388 with $(host-test-program-cmd).
42389 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
42390 $(run-program-prefix) with $(test-program-prefix).
42391 ($(objpfx)tst-printf.out): Likewise.
42392 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
42393 $(test-program-cmd).
42394 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
42395 (test_program_prefix): This.
42396 * stdio-common/tst-unbputc.sh: Likewise.
42397 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
42398 $(run-program-prefix) with $(test-program-prefix).
42399 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
42400 (test_program_prefix): This.
42401 * string/Makefile ($(objpfx)tst-svc.out): Replace
42402 $(built-program-cmd) with $(test-program-cmd).
42403
42404 2013-01-11 Andreas Jaeger <aj@suse.de>
42405
42406 [BZ #15003]
42407 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
42408 value. Sync with Linux 3.7.
42409
42410 2013-01-10 David S. Miller <davem@davemloft.net>
42411
42412 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
42413 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
42414 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
42415
42416 2013-01-10 Roland McGrath <roland@hack.frob.com>
42417
42418 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
42419 never set.
42420 * configure: Regenerated.
42421
42422 2013-01-10 David S. Miller <davem@davemloft.net>
42423
42424 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
42425 sparc V9 rather than using V8 code.
42426 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
42427 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
42428
42429 2013-01-10 Roland McGrath <roland@hack.frob.com>
42430
42431 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
42432 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
42433 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
42434 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
42435 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
42436 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
42437 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
42438 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
42439 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
42440 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
42441 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
42442 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
42443 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
42444 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
42445 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
42446 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
42447 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
42448 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
42449 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
42450 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
42451 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
42452 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
42453 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
42454 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
42455 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
42456 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
42457 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
42458
42459 2013-01-10 David S. Miller <davem@davemloft.net>
42460
42461 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42462
42463 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
42464
42465 * posix/Makefile (tests-static): New variable.
42466 (tests): Add $(tests-static).
42467 (tst-exec-static-ARGS): New variable.
42468 (tst-spawn-static-ARGS): Likewise.
42469 * posix/tst-exec-static.c: New file.
42470 * posix/tst-spawn-static.c: Likewise.
42471 * posix/tst-exec.c: Support run directly.
42472 * posix/tst-spawn.c: Likewise.
42473
42474 2013-01-10 Joseph Myers <joseph@codesourcery.com>
42475
42476 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
42477 long.
42478 * math/bits/mathcalls.h (llrint): Likewise.
42479 (llround): Likewise.
42480 * stdlib/stdlib.h (struct drand48_data): Likewise.
42481 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
42482 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
42483 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
42484 Likewise.
42485 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
42486 Likewise.
42487 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
42488 (elf_greg_t): Likewise.
42489 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
42490 (__jmp_buf): Likewise.
42491 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
42492 definitions.
42493 (llrint): Likewise, for all definitions.
42494 (llrintl): Likewise.
42495
42496 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
42497 Remove [__GNUC__] condition.
42498 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
42499 condition to just [__USE_ISOC99].
42500 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
42501
42502 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
42503
42504 [BZ #14200]
42505 * sysdeps/unix/sysv/linux/x86/bits/environments.h
42506 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
42507 defined.
42508 (_POSIX_V6_ILP32_OFF32): Likewise.
42509 (_XBS5_ILP32_OFF32): Likewise.
42510 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
42511 (__ILP32_OFFBIG_LDFLAGS): Likewise.
42512
42513 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
42514
42515 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
42516
42517 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
42518 doubles __mpexp_twomm1. Adjust usage.
42519 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
42520 Remove.
42521
42522 2013-01-10 Andreas Schwab <schwab@suse.de>
42523
42524 [BZ #14964]
42525 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
42526 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
42527
42528 2013-01-09 David S. Miller <davem@davemloft.net>
42529
42530 [BZ #15003]
42531 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
42532 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
42533 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
42534 (TCP_FASTOPEN): Define.
42535 (tcp_repair_opt): New structure.
42536 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
42537 enum values.
42538 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
42539 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
42540 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
42541 (tcp_cookie_transactions): New structure.
42542
42543 2013-01-09 Anton Blanchard <anton@samba.org>
42544
42545 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
42546 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
42547 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
42548 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
42549
42550 2013-01-09 Joseph Myers <joseph@codesourcery.com>
42551
42552 * include/features.h (__USE_ANSI): Remove.
42553
42554 2013-01-09 Roland McGrath <roland@hack.frob.com>
42555
42556 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
42557
42558 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
42559
42560 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
42561
42562 * sysdeps/s390/fpu/libm-test-ulps: Update.
42563
42564 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42565
42566 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
42567 (__acr): Likewise.
42568 (__cpy): Likewise.
42569 (norm): Likewise.
42570 (denorm): Likewise.
42571 (__mp_dbl): Likewise.
42572 (__dbl_mp): Likewise.
42573 (add_magnitudes): Likewise.
42574 (sub_magnitudes): Likewise.
42575 (__add): Likewise.
42576 (__sub): Likewise.
42577 (__mul): Likewise.
42578 (__inv): Likewise.
42579 (__dvd): Likewise.
42580 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
42581 (__acr): Likewise.
42582 (__cpy): Likewise.
42583 (norm): Likewise.
42584 (denorm): Likewise.
42585 (__mp_dbl): Likewise.
42586 (__dbl_mp): Likewise.
42587 (add_magnitudes): Likewise.
42588 (sub_magnitudes): Likewise.
42589 (__add): Likewise.
42590 (__sub): Likewise.
42591 (__mul): Likewise.
42592 (__inv): Likewise.
42593 (__dvd): Likewise.
42594 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
42595 (__acr): Likewise.
42596 (__cpy): Likewise.
42597 (norm): Likewise.
42598 (denorm): Likewise.
42599 (__mp_dbl): Likewise.
42600 (__dbl_mp): Likewise.
42601 (add_magnitudes): Likewise.
42602 (sub_magnitudes): Likewise.
42603 (__add): Likewise.
42604 (__sub): Likewise.
42605 (__mul): Likewise.
42606 (__inv): Likewise.
42607 (__dvd): Likewise.
42608
42609 2013-01-08 Joseph Myers <joseph@codesourcery.com>
42610
42611 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
42612 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
42613 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
42614 2 && __USE_EXTERN_INLINES]: Likewise.
42615
42616 2013-01-08 Andreas Jaeger <aj@suse.de>
42617
42618 [BZ# 14985]
42619 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
42620 Remove.
42621 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
42622 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
42623
42624 2013-01-07 Anton Blanchard <anton@samba.org>
42625
42626 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
42627 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
42628 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
42629 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
42630 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
42631 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
42632 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
42633 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
42634 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
42635 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
42636 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
42637 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
42638 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
42639 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
42640 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
42641 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
42642 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
42643 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
42644 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
42645 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
42646 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
42647 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
42648 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
42649 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
42650 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
42651 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
42652 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
42653 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
42654 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
42655 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
42656 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
42657 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
42658 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
42659 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
42660 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
42661 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
42662 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
42663 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
42664 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
42665 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
42666 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
42667 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
42668 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
42669
42670 2013-01-07 Joseph Myers <joseph@codesourcery.com>
42671
42672 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
42673 (__MALLOC_PMT): Likewise.
42674 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
42675 [__GNUC__], only on [_LIBC].
42676 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
42677 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
42678 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
42679 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
42680 forward declaration.
42681 (realloc_hook_ini): Likewise.
42682 (memalign_hook_ini): Likewise.
42683 (__libc_memalign): Do not use __MALLOC_PMT in variable
42684 declaration.
42685 (__libc_valloc): Likewise.
42686 (__libc_pvalloc): Likewise.
42687 (__libc_calloc): Likewise.
42688 (__posix_memalign): Likewise.
42689
42690 [BZ #14996]
42691 * math/s_casinh.c: Include <float.h>.
42692 (__casinh): Do not do computation with squaring and square root
42693 for large arguments.
42694 * math/s_casinhf.c: Include <float.h>.
42695 (__casinhf): Do not do computation with squaring and square root
42696 for large arguments.
42697 * math/s_casinhl.c: Include <float.h>.
42698 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
42699 (__casinhl): Do not do computation with squaring and square root
42700 for large arguments.
42701 * math/libm-test.inc (casin_test): Add more tests.
42702 (casinh_test): Likewise.
42703 * sysdeps/i386/fpu/libm-test-ulps: Update.
42704 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42705
42706 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
42707
42708 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
42709 (__x86_64_raw_data_cache_size): Likewise.
42710 (__x86_64_data_cache_size_half): Likewise.
42711 (__x86_64_raw_data_cache_size_half): Likewise.
42712 (__x86_64_shared_cache_size): Likewise.
42713 (__x86_64_raw_shared_cache_size): Likewise.
42714 (__x86_64_shared_cache_size_half): Likewise.
42715 (__x86_64_raw_shared_cache_size_half): Likewise.
42716 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
42717 to ...
42718 (__x86_data_cache_size): This.
42719 (__x86_64_raw_data_cache_size): Renamed to ...
42720 (__x86_raw_data_cache_size): This.
42721 (__x86_64_data_cache_size_half): Renamed to ...
42722 (__x86_data_cache_size_half): This.
42723 (__x86_64_raw_data_cache_size_half): Renamed to ...
42724 (__x86_raw_data_cache_size_half): This.
42725 (__x86_64_shared_cache_size): Renamed to ...
42726 (__x86_shared_cache_size): This.
42727 (__x86_64_raw_shared_cache_size): Renamed to ...
42728 (__x86_raw_shared_cache_size): This.
42729 (__x86_64_shared_cache_size_half): Renamed to ...
42730 (__x86_shared_cache_size_half): This.
42731 (__x86_64_raw_shared_cache_size_half): Renamed to ...
42732 (__x86_raw_shared_cache_size_half): This.
42733 * sysdeps/x86_64/memcpy.S: Updated.
42734 * sysdeps/x86_64/memset.S: Likewise.
42735 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
42736 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
42737 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
42738
42739 2013-01-04 David S. Miller <davem@davemloft.net>
42740
42741 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42742
42743 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
42744
42745 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
42746 1 to avoid redefinition warning.
42747 (__USE_GNU): Don't define.
42748 (init_signaling_nan): Protoize.
42749
42750 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42751
42752 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
42753
42754 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
42755 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
42756 (__cpymn): Likewise.
42757 (norm): Remove commented code.
42758 (denorm): Likewise.
42759 (__mp_dbl): Likewise.
42760 (__inv): Likewise.
42761 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
42762 (__cpymn): Likewise.
42763 (norm): Remove commented code.
42764 (denorm): Likewise.
42765 (__mp_dbl): Likewise.
42766 (__inv): Likewise.
42767
42768 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
42769 mp_no value for 1.0 and 2.0.
42770 (norm): Use RADIXI instead of radixi.d.
42771 (denorm): Likewise.
42772 (__mul): Use 0.0 instead of zero.d.
42773 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
42774 mp_no value for 1.0 and 2.0.
42775 (norm): Use RADIXI instead of radixi.d.
42776 (denorm): Likewise.
42777 (__mul): Use 0.0 instead of zero.d.
42778
42779 2013-01-04 Joseph Myers <joseph@codesourcery.com>
42780
42781 [BZ #14994]
42782 * math/s_casinh.c (__casinh): Reduce finite argument to first
42783 quadrant then set signs of results at the end.
42784 * math/s_casinhf.c (__casinhf): Likewise.
42785 * math/s_casinhl.c (__casinhl): Likewise.
42786 * math/libm-test.inc (casin_test): Add more tests.
42787 (casinh_test): Likewise.
42788 * sysdeps/i386/fpu/libm-test-ulps: Update.
42789 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42790
42791 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
42792
42793 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
42794
42795 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
42796
42797 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
42798 declarations.
42799 (denorm): Likewise.
42800 (__mp_dbl): Likewise.
42801 (__inv): Likewise.
42802
42803 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
42804 and adjust the header comment.
42805
42806 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
42807 variable name from declaration.
42808
42809 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
42810
42811 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42812 Initialize COMMON_CPUID_INDEX_7 element.
42813 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
42814 (CPUID_RTM): Likewise.
42815 (HAS_RTM): Likewise.
42816 (COMMON_CPUID_INDEX_7): New enum.
42817
42818 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
42819
42820 [BZ #14981]
42821 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
42822 size is zero, record memory as freed.
42823
42824 2013-01-03 Andreas Jaeger <aj@suse.de>
42825
42826 * po/ia.po: Add new Interlingua translation.
42827
42828 2012-01-03 Allan McRae <allan@archlinux.org>
42829
42830 * locale/programs/localedef.c: Fix description of '--posix' flag.
42831
42832 2013-01-02 Joseph Myers <joseph@codesourcery.com>
42833
42834 * NEWS: Update dates in second copyright notice.
42835 * README: Update copyright dates in example.
42836 * manual/libc.texinfo: Update copyright dates.
42837 * scripts/test-installation.pl: Update copyright date in --version
42838 output.
42839
42840 * hurd/ctty-input.c: Fix copyright notice formatting.
42841 * hurd/ctty-output.c: Likewise.
42842 * hurd/dtable.c: Likewise.
42843 * hurd/hurd-raise.c: Likewise.
42844 * hurd/hurdprio.c: Likewise.
42845 * hurd/msgportdemux.c: Likewise.
42846 * misc/sys/file.h: Likewise.
42847 * misc/sys/ioctl.h: Likewise.
42848 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
42849 * sysdeps/mach/hurd/chdir.c: Likewise.
42850 * sysdeps/mach/hurd/fchdir.c: Likewise.
42851 * sysdeps/mach/hurd/rename.c: Likewise.
42852 * sysdeps/mach/hurd/rmdir.c: Likewise.
42853 * sysdeps/mach/hurd/seekdir.c: Likewise.
42854 * sysdeps/mach/hurd/setsid.c: Likewise.
42855 * sysdeps/posix/wait3.c: Likewise.
42856
42857 * All files with FSF copyright notices: Update copyright dates
42858 using scripts/update-copyrights.
42859 * intl/plural.c: Regenerated.
42860 * locale/programs/charmap-kw.h: Likewise.
42861 * locale/programs/locfile-kw.h: Likewise.
42862
42863 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
42864
42865 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
42866 four values.
42867
42868 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
42869 calculation loop and add branch prediction.
42870
42871 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
42872 check access beyond bounds of m1np.
42873
42874 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
42875 MPTWO.
42876 (__inv): Remove local variable MPTWO to use the global
42877 constant.
42878 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
42879 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
42880 variable MPTWO.
42881 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
42882 MP3HALFS static const.
42883
42884 2013-01-01 David S. Miller <davem@davemloft.net>
42885
42886 * po/ca.po: Update from translation team.
42887
42888 2013-01-01 Joseph Myers <joseph@codesourcery.com>
42889
42890 * scripts/update-copyrights: New file.
42891 * Makeconfig: Reformat copyright notice.
42892 * ctype/ctype.h: Likewise.
42893 * debug/swprintf_chk.c: Likewise.
42894 * elf/dl-cache.c: Likewise.
42895 * elf/dl-debug.c: Likewise.
42896 * elf/dl-object.c: Likewise.
42897 * grp/initgroups.c: Likewise.
42898 * hurd/Makefile: Likewise.
42899 * hurd/hurd/signal.h: Likewise.
42900 * hurd/hurdfault.c: Likewise.
42901 * hurd/hurdioctl.c: Likewise.
42902 * hurd/hurdlookup.c: Likewise.
42903 * hurd/intr-msg.c: Likewise.
42904 * iconv/gconv_open.c: Likewise.
42905 * libio/swprintf.c: Likewise.
42906 * locale/lc-ctype.c: Likewise.
42907 * locale/nl_langinfo.c: Likewise.
42908 * mach/Machrules: Likewise.
42909 * mach/Makefile: Likewise.
42910 * malloc/obstack.h: Likewise.
42911 * manual/Makefile: Likewise.
42912 * manual/tsort.awk: Likewise.
42913 * misc/bits/stab.def: Likewise.
42914 * nis/nis_print_group_entry.c: Likewise.
42915 * nis/nis_table.c: Likewise.
42916 * nis/nss_compat/compat-pwd.c: Likewise.
42917 * nis/nss_compat/compat-spwd.c: Likewise.
42918 * po/Makefile: Likewise.
42919 * posix/fnmatch.c: Likewise.
42920 * posix/regex.h: Likewise.
42921 * resolv/Makefile: Likewise.
42922 * resolv/nss_dns/dns-network.c: Likewise.
42923 * resolv/res_hconf.c: Likewise.
42924 * scripts/gen-sorted.awk: Likewise.
42925 * soft-fp/soft-fp.h: Likewise.
42926 * stdio-common/printf.h: Likewise.
42927 * stdlib/monetary.h: Likewise.
42928 * stdlib/random.c: Likewise.
42929 * stdlib/random_r.c: Likewise.
42930 * sysdeps/generic/Makefile: Likewise.
42931 * sysdeps/gnu/Makefile: Likewise.
42932 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
42933 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42934 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42935 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42936 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42937 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42938 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42939 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
42940 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42941 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42942 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
42943 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
42944 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
42945 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
42946 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
42947 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
42948 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
42949 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42950 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42951 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42952 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
42953 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
42954 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
42955 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
42956 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
42957 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
42958 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
42959 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
42960 * sysdeps/mach/hurd/errnos.awk: Likewise.
42961 * sysdeps/mach/hurd/fork.c: Likewise.
42962 * sysdeps/mach/hurd/getcwd.c: Likewise.
42963 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
42964 * sysdeps/mach/hurd/mmap.c: Likewise.
42965 * sysdeps/mach/hurd/utimes.c: Likewise.
42966 * sysdeps/mach/hurd/xmknod.c: Likewise.
42967 * sysdeps/posix/profil.c: Likewise.
42968 * sysdeps/posix/readdir_r.c: Likewise.
42969 * sysdeps/powerpc/bits/mathdef.h: Likewise.
42970 * sysdeps/powerpc/bits/setjmp.h: Likewise.
42971 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
42972 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
42973 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
42974 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
42975 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
42976 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
42977 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
42978 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
42979 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
42980 * sysdeps/pthread/lio_listio.c: Likewise.
42981 * sysdeps/sparc/dl-procinfo.h: Likewise.
42982 * sysdeps/unix/i386/sysdep.S: Likewise.
42983 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
42984 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
42985 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
42986 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
42987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
42988 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
42989 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
42990 * sysdeps/unix/sysv/linux/speed.c: Likewise.
42991 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
42992 * sysdeps/wordsize-32/divdi3.c: Likewise.
42993 * time/sys/time.h: Likewise.
42994 * wcsmbs/Makefile: Likewise.
42995
42996 2013-01-01 David S. Miller <davem@davemloft.net>
42997
42998 * po/fr.po: Update from translation team.
42999
43000 * catgets/gencat.c: Update copyright year.
43001 * csu/version.c: Likewise.
43002 * debug/catchsegv.sh: Likewise.
43003 * debug/pcprofiledump.c: Likewise.
43004 * debug/xtrace.sh: Likewise.
43005 * elf/ldconfig.c: Likewise.
43006 * elf/ldd.bash.in: Likewise.
43007 * elf/pldd.c: Likewise.
43008 * elf/sotruss.ksh: Likewise.
43009 * elf/sprof.c: Likewise.
43010 * iconv/iconv_prog.c: Likewise.
43011 * iconv/iconvconfig.c: Likewise.
43012 * locale/programs/locale.c: Likewise.
43013 * locale/programs/localedef.c: Likewise.
43014 * login/programs/pt_chown.c: Likewise.
43015 * malloc/memusage.sh: Likewise.
43016 * malloc/memusagestat.c: Likewise.
43017 * malloc/mtrace.pl: Likewise.
43018 * nscd/nscd.c: Likewise.
43019 * nss/getent.c: Likewise.
43020 * nss/makedb.c: Likewise.
43021 * posix/getconf.c: Likewise.
43022
43023 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
43024
43025 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
43026 numbers.
43027
43028 2012-12-30 Mike Frysinger <vapier@gentoo.org>
43029
43030 * math/bits/mathcalls.h (modf): Use __nonnull.
43031
43032 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
43033
43034 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
43035 (split): Use macro CN instead of the bare value.
43036 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
43037 could be used.
43038 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
43039 instead of the bare value.
43040 (power1): Likewise.
43041
43042 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
43043
43044 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
43045 __ATAN_TWOM.
43046 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
43047
43048 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
43049 their values.
43050 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
43051 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
43052 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
43053 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
43054
43055 2012-12-28 Andreas Jaeger <aj@suse.de>
43056
43057 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
43058 values are from Linux 3.7.
43059
43060 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
43061 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
43062
43063 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
43064
43065 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
43066 TRUE case.
43067
43068 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
43069 (norm): Likewise.
43070 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
43071 variables with preprocessor constants.
43072 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
43073 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
43074 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
43075
43076 2012-12-27 Bruno Haible <bruno@clisp.org>
43077
43078 [BZ #14317]
43079 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
43080 only if needed.
43081
43082 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
43083
43084 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
43085 and use variable directly.
43086 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
43087
43088 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
43089 MPONE.
43090 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
43091 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
43092 variable MPONE.
43093 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
43094 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
43095 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
43096 include directive. Remove local variable MPONE.
43097 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
43098 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
43099 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
43100
43101 2012-12-25 David S. Miller <davem@davemloft.net>
43102
43103 * version.h (RELEASE): Set to "development".
43104 (VERSION): Set to "2.17.90".
43105 * NEWS: Add 2.18 section.
43106
43107 2012-12-21 David S. Miller <davem@davemloft.net>
43108
43109 * po/hr.po: Update from translation team.
43110
43111 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43112
43113 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
43114
43115 2012-12-19 Steve Ellcey <sellcey@mips.com>
43116
43117 * NEWS: Mention new memcpy for MIPS.
43118
43119 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
43120
43121 * manual/contrib.texi (Contributors): Spelling correction.
43122
43123 2012-12-15 David S. Miller <davem@davemloft.net>
43124
43125 * po/ru.po: Update from translation team.
43126
43127 2012-12-13 David S. Miller <davem@davemloft.net>
43128
43129 * NEWS: Mention IFUNC testsuite enhancements.
43130
43131 * po/pl.po: Update from translation team.
43132 * po/bg.po: Likewise.
43133
43134 * manual/contrib.texi (Contributors): Update entries for Hongjiu
43135 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
43136
43137 2012-12-11 David S. Miller <davem@davemloft.net>
43138
43139 * po/sv.po: Update from translation team.
43140
43141 * po/vi.po: Update from translation team.
43142
43143 * po/cs.po: Update from translation team.
43144
43145 * po/de.po: Update from translation team.
43146 * po/eo.po: Likewise.
43147 * po/nl.po: Likewise.
43148
43149 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
43150
43151 [BZ #14246]
43152 * manual/argp.texi (Argp Helper Functions): Move node to follow
43153 Argp Parsing State.
43154
43155 [BZ #14872]
43156 * manual/conf.texi (Limits on File System Capacity): Mention if
43157 terminating null is included in the max size.
43158
43159 2012-12-10 Andreas Jaeger <aj@suse.de>
43160
43161 * po/cs.po: Update from translation team.
43162
43163 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
43164
43165 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
43166 void pointer and cast to uintptr_t.
43167 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
43168 path.
43169 * sysdeps/s390/s390-64/memcpy.S: Likewise.
43170 * sysdeps/s390/s390-64/memset.S: Likewise.
43171
43172 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
43173
43174 [BZ #14833]
43175 * menual/message.texi (Message Translation): Fix typos.
43176 (Helper programs for gettext): Likewise.
43177
43178 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
43179
43180 [BZ #14898]
43181 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
43182 Change to -1.
43183
43184 2012-12-07 David S. Miller <davem@davemloft.net>
43185
43186 * po/libc.pot: Update.
43187
43188 2012-12-07 Richard Henderson <rth@redhat.com>
43189
43190 [BZ #10114]
43191 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
43192 normal/normal case to before the switch.
43193 (_FP_DIV): Likewise.
43194
43195 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
43196 Mike Frysinger <vapier@gentoo.org>
43197
43198 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
43199 check for __NR_fadvise64_64.
43200
43201 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
43202
43203 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
43204 0, not just to plain "0" as a statement.
43205 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
43206 with cw.
43207
43208 2012-12-06 Joseph Myers <joseph@codesourcery.com>
43209
43210 * NEWS: Use sourceware.org in Bugzilla URL.
43211
43212 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
43213
43214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
43215 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
43216
43217 * stdio-common/tst-put-error.c (do_test): Add newline to the
43218 padded test to ensure flush.
43219
43220 2012-12-05 Jeff Law <law@redhat.com>
43221
43222 * sunrpc/etc.rpc (fedfs_admin): Add entry.
43223
43224 2012-12-05 Joseph Myers <joseph@codesourcery.com>
43225
43226 * README: Don't refer to ports add-on as distributed separately.
43227 Mention AArch64 in list of systems supported in the ports add-on.
43228
43229 * LICENSES: Add more non-FSF copyright and license notices.
43230
43231 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
43232 ((unused)).
43233
43234 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
43235
43236 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
43237 10000 as width of padded output.
43238
43239 2012-12-04 Joseph Myers <joseph@codesourcery.com>
43240
43241 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
43242
43243 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
43244 variable LX with __attribute__ ((unused)).
43245 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
43246 Likewise.
43247 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
43248 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
43249 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
43250 with __attribute__ ((unused)).
43251
43252 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
43253
43254 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
43255
43256 2012-12-04 Joseph Myers <joseph@codesourcery.com>
43257
43258 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
43259 (CFLAGS-nldbl-acos.c): New variable.
43260 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
43261 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
43262 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
43263 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
43264 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
43265 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
43266 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
43267 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
43268 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
43269 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
43270 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
43271 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
43272 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
43273 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
43274 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
43275 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
43276 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
43277 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
43278 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
43279 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
43280 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
43281 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
43282 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
43283 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
43284 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
43285 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
43286 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
43287 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
43288 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
43289 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
43290 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
43291 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
43292 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
43293 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
43294 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
43295 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
43296 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
43297 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
43298 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
43299 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
43300 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
43301 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
43302 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
43303 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
43304 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
43305 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
43306 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
43307 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
43308 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
43309 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
43310 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
43311 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
43312 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
43313 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
43314 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
43315 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
43316 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
43317 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
43318 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
43319 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
43320 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
43321 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
43322 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
43323 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
43324 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
43325 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
43326 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
43327 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
43328 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
43329 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
43330 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
43331 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
43332 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
43333 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
43334 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
43335 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
43336 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
43337 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
43338 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
43339 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
43340 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
43341 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
43342 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
43343 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
43344 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
43345 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
43346 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
43347 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
43348 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
43349 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
43350 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
43351 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
43352 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
43353 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
43354 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
43355 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
43356 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
43357
43358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
43359 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
43360
43361 [BZ #14914]
43362 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
43363 whole low double instead of just low 47 bits when splitting values
43364 into two parts.
43365
43366 2012-12-03 Allan McRae <allan@archlinux.org>
43367
43368 * manual/stdio.texi (Predefined Printf Handlers): Remove
43369 @hsep and @vsep usage.
43370
43371 2012-12-03 Mike Frysinger <vapier@gentoo.org>
43372
43373 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
43374 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
43375
43376 2012-12-03 Jeff Law <law@redhat.com>
43377
43378 * time/sys/time.h (settimeofday): Do not mark TV argument
43379 as __nonnull.
43380
43381 2012-12-01 Mike Frysinger <vapier@gentoo.org>
43382
43383 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
43384 when currently writing and seek to current position when not.
43385 * libio/Makefile (tests): Remove bug-fclose1.
43386 * libio/bug-fclose1.c: Delete.
43387
43388 2012-12-01 Joseph Myers <joseph@codesourcery.com>
43389
43390 * manual/arith.texi (feenableexcept): Fix typo.
43391 (fedisableexcept): Likewise.
43392
43393 2012-11-30 Roland McGrath <roland@hack.frob.com>
43394
43395 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
43396 second, differently-typed declaration, rather than a cast.
43397
43398 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
43399
43400 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
43401 * include/rpc/svc.h: ... here.
43402
43403 2012-11-30 Aurelien Jarno <aurel32@debian.org>
43404
43405 [BZ #13013]
43406 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
43407 depending n and resplen2 to catch cases where answer
43408 equals answerp2.
43409
43410 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
43411
43412 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
43413 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
43414
43415 2012-11-29 Mike Frysinger <vapier@gentoo.org>
43416
43417 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
43418
43419 2012-11-29 Roland McGrath <roland@hack.frob.com>
43420
43421 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
43422
43423 2012-11-28 Jeff Law <law@redhat.com>
43424
43425 [BZ #13761]
43426 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
43427 dataset_temporary. Track alloca usage into alloca_used.
43428 If dataset is large allocate and release it via malloc/free.
43429
43430 2012-06-04 Florian Weimer <fweimer@redhat.com>
43431
43432 [BZ #14197]
43433 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
43434
43435 2012-11-28 David S. Miller <davem@davemloft.net>
43436
43437 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43438
43439 2012-11-28 Joseph Myers <joseph@codesourcery.com>
43440
43441 [BZ #14803]
43442 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
43443 of pi/2 rounded to nearest to 64 bits.
43444 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
43445 nearest to 64 bits.
43446 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
43447 bits.
43448
43449 2012-11-28 Jeff Law <law@redhat.com>
43450 Martin Osvald <mosvald@redhat.com>
43451
43452 [BZ #14889]
43453 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
43454 * sunrpc/svc.c: Include time.h.
43455 (__svc_accept_failed): New function.
43456 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
43457 any reason other than EINTR, call __svc_accept_failed.
43458 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
43459 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
43460
43461 2012-11-28 Andreas Schwab <schwab@suse.de>
43462
43463 * scripts/abilist.awk: Also handle indirect functions in .opd
43464 section.
43465
43466 2012-11-28 Joseph Myers <joseph@codesourcery.com>
43467
43468 [BZ #13881]
43469 * sysdeps/x86/fpu/powl_helper.c: New file.
43470 * sysdeps/x86/fpu/Makefile: Likewise.
43471 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
43472 (p3): New object.
43473 (__ieee754_powl): Use __powl_helper for finite arguments except
43474 integer exponents below 8.
43475 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
43476 (p3): New object.
43477 (__ieee754_powl): Use __powl_helper for finite arguments except
43478 integer exponents below 8.
43479 * math/libm-test.inc (pow_test): Add more tests and enable some
43480 previously disabled tests.
43481 * sysdeps/i386/fpu/libm-test-ulps: Update.
43482 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43483
43484 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
43485 Carlos O'Donell <carlos_odonell@mentor.com>
43486
43487 * nss/makedb.c (is_prime): Assert that input is odd and greater
43488 than 4. Note that fact in a comment too.
43489 (next_prime): Add 4 to input.
43490
43491 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
43492
43493 [BZ #11741]
43494 * libio/Makefile (tests): Add test case tst-fwrite-error.
43495 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
43496 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
43497 * libio/tst-fwrite-error.c: New test case.
43498
43499 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
43500
43501 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
43502 before casting to void *.
43503 * include/libc-internal.h (__pointer_type): New macro.
43504 (__integer_if_pointer_type_sub): Likewise.
43505 (__integer_if_pointer_type): Likewise.
43506 (cast_to_integer): Likewise.
43507 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
43508 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
43509 before casting to atomic64_t.
43510 (atomic_exchange_acq): Likewise.
43511 (__arch_exchange_and_add_body): Likewise.
43512 (__arch_add_body): Likewise.
43513 (atomic_add_negative): Likewise.
43514 (atomic_add_zero): Likewise.
43515
43516 2012-11-26 Joseph Myers <joseph@codesourcery.com>
43517
43518 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
43519 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
43520 (add_fdes): Likewise.
43521 (linear_search_fdes): Likewise.
43522 (binary_search_unencoded_fdes): Likewise.
43523
43524 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
43525
43526 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
43527
43528 2012-11-24 Adam Conrad <adconrad@0c3.net>
43529
43530 * configure.in: Autodetect C++ header directories.
43531 * configure: Regenerated.
43532
43533 2012-11-23 Mike Frysinger <vapier@gentoo.org>
43534
43535 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
43536
43537 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
43538
43539 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43540
43541 2012-11-22 Joseph Myers <joseph@codesourcery.com>
43542
43543 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
43544 LDBL_MANT_DIG == 106]: Disable some tests.
43545 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
43546 Likewise.
43547 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
43548 Likewise.
43549
43550 [BZ #14871]
43551 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
43552 input for small inputs. Return +/- pi/2 for large inputs.
43553 * math/libm-test.inc (atan_test): Add more tests.
43554
43555 * sysdeps/generic/unwind-dw2-fde-glibc.c
43556 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
43557 __attribute__ ((unused)).
43558
43559 [BZ #14645]
43560 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
43561 x * y if x and y are nonzero and z is zero.
43562
43563 [BZ #14811]
43564 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
43565 nonzero exponents with absolute value below 0x1p-117 to +/-
43566 0x1p-117.
43567
43568 [BZ #14869]
43569 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
43570 up arguments below 2**-450, not just those below 2**-500.
43571 * math/libm-test.inc (hypot_test): Add another test.
43572
43573 [BZ #14868]
43574 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
43575 Return a+b for ratio over 2**120, not 2**60.
43576 * math/libm-test.inc (hypot_test): Add another test.
43577
43578 * math/libm-test.inc (clog_test): Use
43579 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
43580 (clog10_test): Likewise.
43581
43582 [BZ #6778]
43583 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
43584
43585 2012-11-22 Andreas Schwab <schwab@suse.de>
43586
43587 * sysdeps/i386/fpu/libm-test-ulps: Update.
43588
43589 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
43590
43591 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
43592 printf output with newline.
43593
43594 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
43595
43596 [BZ #14865]
43597 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
43598 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
43599 -z nodlopen, -z initfirst and -z execstack support.
43600 * configure: Regenerated.
43601
43602 * elf/elf.h (DF_1_NODIRECT): New macro.
43603 (DF_1_IGNMULDEF): Likewise.
43604 (DF_1_NOKSYMS): Likewise.
43605 (DF_1_NOHDR): Likewise.
43606 (DF_1_EDITED): Likewise.
43607 (DF_1_NORELOC): Likewise.
43608 (DF_1_SYMINTPOSE): Likewise.
43609 (DF_1_GLOBAUDIT): Likewise.
43610 (DF_1_SINGLETON): Likewise.
43611 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
43612 DT_1_SUPPORTED_MASK bits.
43613 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
43614
43615 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
43616
43617 * sysdeps/unix/make-syscalls.sh: Document prefixes.
43618
43619 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
43620
43621 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
43622 macro.
43623
43624 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
43625 (sendmmsg): Move declarations...
43626 * socket/sys/socket.h: ... here.
43627 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
43628 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
43629 include it from...
43630 * socket/recvmmsg.c: ... this new file.
43631 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
43632 (sendmmsg): Rename to __sendmmsg, create weak alias and make
43633 definition of __sendmmsg hidden.
43634 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
43635 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
43636 Move ENOSYS stub into and include it from...
43637 * socket/sendmmsg.c: ... this new file.
43638 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
43639 (sysdep_routines): Move recvmmsg and sendmmsg...
43640 * socket/Makefile (routines): ... here.
43641 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
43642 (GLIBC_PRIVATE): Add __sendmmsg.
43643 * include/sys/socket.h (__sendmmsg): Add declarations.
43644 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
43645 sendmmsg.
43646
43647 2012-11-20 Joseph Myers <joseph@codesourcery.com>
43648
43649 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
43650 variable I1 with __attribute__ ((unused)).
43651 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
43652
43653 2012-11-19 Joseph Myers <joseph@codesourcery.com>
43654
43655 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
43656 DUMMY variables with __attribute__ ((unused)).
43657
43658 * bits/byteswap.h: Include <bits/types.h>.
43659 (__bswap_64): Use __uint64_t instead of unsigned long long int.
43660
43661 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
43662
43663 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
43664 string_t. Do not manually set errno.
43665 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
43666 length with __strnlen. Make sure to both set errno and return it on
43667 failure.
43668
43669 2012-11-19 David S. Miller <davem@davemloft.net>
43670
43671 With help from Joseph Myers.
43672 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
43673 very large arguments properly.
43674 * math/libm-test.inc (atan_test): New tests.
43675 (atan2_test): New tests.
43676 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43677 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43678
43679 2012-11-19 Joseph Myers <joseph@codesourcery.com>
43680
43681 [BZ #14856]
43682 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
43683 Define to 3.
43684
43685 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
43686 [POSIX] (EADDRNOTAVAIL): Likewise.
43687 [POSIX] (EAFNOSUPPORT): Likewise.
43688 [POSIX] (EALREADY): Likewise.
43689 [POSIX] (ECONNABORTED): Likewise.
43690 [POSIX] (ECONNREFUSED): Likewise.
43691 [POSIX] (ECONNRESET): Likewise.
43692 [POSIX] (EDESTADDRREQ): Likewise.
43693 [POSIX] (EDQUOT): Likewise.
43694 [POSIX] (EHOSTUNREACH): Likewise.
43695 [POSIX] (EIDRM): Likewise.
43696 [POSIX] (EISCONN): Likewise.
43697 [POSIX] (ELOOP): Likewise.
43698 [POSIX] (EMULTIHOP): Likewise.
43699 [POSIX] (ENETDOWN): Likewise.
43700 [POSIX] (ENETUNREACH): Likewise.
43701 [POSIX] (ENOBUFS): Likewise.
43702 [POSIX] (ENODATA): Likewise.
43703 [POSIX] (ENOLINK): Likewise.
43704 [POSIX] (ENOMSG): Likewise.
43705 [POSIX] (ENOPROTOOPT): Likewise.
43706 [POSIX] (ENOSR): Likewise.
43707 [POSIX] (ENOSTR): Likewise.
43708 [POSIX] (ENOTCONN): Likewise.
43709 [POSIX] (ENOTSOCK): Likewise.
43710 [POSIX] (EOPNOTSUPP): Likewise.
43711 [POSIX] (EOVERFLOW): Likewise.
43712 [POSIX] (EPROTO): Likewise.
43713 [POSIX] (EPROTONOSUPPORT): Likewise.
43714 [POSIX] (EPROTOTYPE): Likewise.
43715 [POSIX] (ESTALE): Likewise.
43716 [POSIX] (ETIME): Likewise.
43717 [POSIX] (ETXTBSY): Likewise.
43718 [POSIX] (EWOULDBLOCK): Likewise.
43719 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
43720 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
43721 [POSIX] (SEEK_CUR): Likewise.
43722 [POSIX] (SEEK_END): Likewise.
43723 [POSIX || UNIX98] (mode_t): Do not require.
43724 [POSIX] (off_t): Likewise.
43725 [POSIX] (pid_t): Likewise.
43726 [POSIX] (sys/stat.h): Do not allow header.
43727 [POSIX] (unistd.h): Likewise.
43728 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
43729 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
43730 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
43731 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
43732 require.
43733 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
43734 sigevent): Specify elements.
43735 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
43736 entry.
43737 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
43738 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
43739
43740 * conform/data/cpio.h-data [POSIX]: Disable whole file.
43741 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
43742 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
43743 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
43744 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
43745 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
43746 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
43747 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
43748 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
43749 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
43750 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
43751 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
43752 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
43753 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
43754 Likewise.
43755 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
43756 Likewise.
43757 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
43758 Likewise.
43759 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
43760 Likewise.
43761 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
43762 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
43763 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
43764 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
43765 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
43766 Specify lower bound on value.
43767 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
43768 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
43769 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
43770 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
43771 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
43772 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
43773 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
43774 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
43775 value.
43776 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
43777 as optional.
43778 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
43779 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
43780 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
43781 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
43782 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
43783 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
43784 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
43785 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
43786 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
43787 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
43788 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
43789 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
43790 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
43791 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
43792 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
43793 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
43794 entry.
43795 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
43796 optional.
43797 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
43798 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
43799 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
43800 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
43801 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
43802 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
43803 Likewise.
43804 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
43805 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
43806 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
43807 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
43808 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
43809 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
43810 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
43811 as optional.
43812 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
43813 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
43814 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
43815 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
43816 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
43817 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
43818 specify as optional.
43819 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
43820 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
43821 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
43822 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
43823 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
43824 [XPG3] (NL_LANGMAX): Likewise.
43825 [POSIX || XPG3] (NL_MSGMAX): Likewise.
43826 [POSIX || XPG3] (NL_NMAX): Likewise.
43827 [POSIX || XPG3] (NL_SETMAX): Likewise.
43828 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
43829 [XPG3] (NZERO): Likewise.
43830 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
43831 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
43832 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
43833 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
43834 (REG_ERANGE): Expect.
43835 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
43836 optional-constant.
43837 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
43838 Use (void) in prototype.
43839 [POSIX] (*_t): Allow.
43840 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
43841 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
43842 (WRDE_BADVAL): Expect.
43843
43844 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
43845 expect.
43846 [XPG3 || XPG4] (O_RSYNC): Likewise.
43847 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
43848 Likewise.
43849 [XPG3 || XPG4] (pthread_sigmask): Likewise.
43850 [XPG3 || XPG4] (sigqueue): Likewise.
43851 [XPG3 || XPG4] (sigtimedwait): Likewise.
43852 [XPG3 || XPG4] (sigwaitinfo): Likewise.
43853 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
43854 [XPG3 || XPG4] (vsnprintf): Likewise.
43855 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
43856 Likewise.
43857 [XPG3 || XPG4] (blksize_t): Likewise.
43858 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
43859 Likewise.
43860 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
43861 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
43862 [XPG3 || XPG4] (struct itimerspec): Likewise.
43863 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
43864 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
43865 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
43866 [XPG3 || XPG4] (clockid_t): Likewise.
43867 [XPG3 || XPG4] (timer_t): Likewise.
43868 [XPG3 || XPG4] (clock_getres): Likewise.
43869 [XPG3 || XPG4] (clock_gettime): Likewise.
43870 [XPG3 || XPG4] (clock_settime): Likewise.
43871 [XPG3 || XPG4] (nanosleep): Likewise.
43872 [XPG3 || XPG4] (timer_create): Likewise.
43873 [XPG3 || XPG4] (timer_delete): Likewise.
43874 [XPG3 || XPG4] (timer_gettime): Likewise.
43875 [XPG3 || XPG4] (timer_getoverrun): Likewise.
43876 [XPG3 || XPG4] (timer_settime): Likewise.
43877 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
43878 [XPG3 || XPG4] (getlogin_r): Likewise.
43879 [XPG3 || XPG4] (pread): Likewise.
43880 [XPG3 || XPG4] (pthread_atfork): Likewise.
43881 [XPG3 || XPG4] (pwrite): Likewise.
43882
43883 [BZ #14835]
43884 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
43885 <bits/siginfo.h>.
43886
43887 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
43888
43889 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
43890 finalizing MALLSTREAM.
43891
43892 * sysdeps/mach/hurd/syncfs.c: New file.
43893
43894 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
43895
43896 [BZ #14719]
43897 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
43898 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
43899 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
43900 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
43901 (_nss_dns_gethostbyname4_r): Likewise.
43902 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
43903 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
43904
43905 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
43906
43907 [BZ #13763]
43908 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
43909
43910 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
43911
43912 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
43913 * elf/cache.c (print_entry): Print ",AArch64" for
43914 FLAG_AARCH64_LIB64
43915
43916 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
43917 * elf/cache.c (print_entry): Print ",hard-float" for
43918 FLAG_ARM_LIBHF.
43919
43920 2012-11-18 David S. Miller <davem@davemloft.net>
43921
43922 With help from Joseph Myers.
43923 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
43924 cutoff to 2**-13.
43925 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
43926 cutoff to 2**-25.
43927 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
43928 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
43929 small.
43930 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
43931 * math/libm-test.inc (y0_test): New tests.
43932 (y1_test): New tests.
43933 * sysdeps/i386/fpu/libm-test-ulps: Update.
43934 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43935 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43936
43937 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
43938
43939 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
43940 64-bit targets.
43941 * configure: Regenerated.
43942
43943 2012-11-17 David S. Miller <davem@davemloft.net>
43944
43945 [BZ #14811]
43946 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
43947 nonzero exponents with absolute value below 0x1p-128 to +/-
43948 0x1p-128.
43949
43950 2012-11-17 Joseph Myers <joseph@codesourcery.com>
43951
43952 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
43953
43954 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
43955
43956 * posix/getconf-speclist.c: New file.
43957 * posix/posix-envs.def: Likewise.
43958 * posix/confstr.c (START_ENV_GROUP): New macro.
43959 (END_ENV_GROUP): Likewise.
43960 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
43961 (KNOWN_PRESENT_ENV_STRING): Likewise.
43962 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
43963 (UNKNOWN_ENVIRONMENT): Likewise.
43964 (confstr): Include posix-envs.def instead of handling
43965 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
43966 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
43967 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
43968 (END_ENV_GROUP): Likewise.
43969 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
43970 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
43971 (UNKNOWN_ENVIRONMENT): Likewise.
43972 (__sysconf): Include posix-envs.def instead of handling associated
43973 cases directly here.
43974 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
43975 preprocessing getconf-speclist.c rather than running getconf or
43976 generating empty file.
43977
43978 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
43979
43980 * scripts/check-local-headers.sh: Ignore 'mach' headers.
43981
43982 2012-11-16 Andrej Lajovic <natrij@gmail.com>
43983
43984 [BZ #14672]
43985 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
43986
43987 2012-11-16 David S. Miller <davem@davemloft.net>
43988
43989 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
43990 smaller than LDBL_EPSILON/2.0L, just return xm1.
43991
43992 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
43993
43994 * elf/tst-array1.c (init): Set constructor priority to 1000.
43995 (fini): Set destructor priority to 1000.
43996 * elf/tst-array2dep.c: Likewise.
43997
43998 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
43999
44000 [BZ #11741]
44001 * libio/fileops.c (_IO_new_file_write): Correctly return error.
44002 (_IO_new_file_xsputn): Also return EOF if none of the input
44003 data was written when overflow failed.
44004 * libio/iopadn.c (_IO_padn): Likewise.
44005 * libio/iowpadn.c (_IO_wpadn): Likewise.
44006 * stdio-common/tst-put-error.c: Add copyright notice.
44007 (do_test): Add case for printing padded string.
44008 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
44009 _IO_padn returned error.
44010 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
44011 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
44012 return EOF.
44013
44014 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
44015
44016 * libio/libioP.h: Add comment note that the references to C++
44017 bits are now obsolete.
44018
44019 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
44020
44021 * math/libm-test.inc (check_complex): Use asprintf.
44022
44023 2012-11-14 Joseph Myers <joseph@codesourcery.com>
44024
44025 * debug/pcprofiledump.c (print_version): Update copyright year.
44026 * malloc/memusagestat.c (print_version): Likewise.
44027
44028 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
44029
44030 [BZ #14831]
44031 * elf/Makefile (tests): Add tst-audit8.
44032 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
44033 ($(objpfx)tst-audit8.out): New target.
44034 (tst-audit8-ENV): New variable.
44035 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
44036 audit if l_reloc_result is NULL.
44037 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
44038 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
44039 * elf/tst-audit8.c: New file.
44040
44041 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
44042
44043 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
44044 * misc/Makefile (CFLAGS-select.c): Define.
44045 * posix/Makefile (CFLAGS-pause.c): Define.
44046
44047 2012-11-13 David S. Miller <davem@davemloft.net>
44048
44049 * crypt/Makefile: Move test targets after toplevel Rules
44050 inclusion. Grab any necessary sysdep routines when linking.
44051 * crypt/md5.c (md5_process_block): Remove define, we will always
44052 name it __md5_process_block.
44053 (md5_finish_ctx): Update md5_process_block call.
44054 (md5_stream): Likewise.
44055 (md5_process_bytes): Likewise.
44056 (md5_process_block): Rename to __md5_process_block and move to ...
44057 * crypt/md5-block.c: ... here.
44058 * crypt/sha256.c (sha256_process_block): Move to ...
44059 * crypt/sha256-block.c: ... here.
44060 * crypt/sha512.c (sha512_process_block): Move to ...
44061 * crypt/sha512-block.c: ... here.
44062 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
44063 path.
44064 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
44065 * sysdeps/sparc/sparc64/multiarch/Makefile
44066 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
44067 crypt subdir.
44068 (localedef-aux): Add md5 crypto assembler when in locale subdir.
44069 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
44070 multiarch changes.
44071 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
44072 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
44073 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
44074 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
44075 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
44076 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
44077 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
44078 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
44079 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
44080 file.
44081 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
44082 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
44083 file.
44084 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
44085
44086 2012-11-13 Joseph Myers <joseph@codesourcery.com>
44087
44088 * timezone/tzselect.ksh: Update from tzcode git revision
44089 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
44090 * timezone/zdump.c: Likewise.
44091 * timezone/zic.c: Likewise.
44092 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
44093 in TZVERSION setting, not $(PKGVERSION).
44094 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
44095 REPORT_BUGS_TO settings.
44096
44097 [BZ #14838]
44098 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
44099 macro.
44100
44101 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
44102
44103 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
44104 detection to immediately after _FP_ROUND().
44105 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
44106 bits are 0.
44107
44108 2012-11-11 David S. Miller <davem@davemloft.net>
44109
44110 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
44111 inttypes.h
44112 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
44113 __close rather than their public counterparts.
44114
44115 2012-11-10 Joseph Myers <joseph@codesourcery.com>
44116
44117 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
44118 file.
44119 [UNIX98] (sem_timedwait): Do not expect.
44120 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
44121 [XPG4 || UNIX98] (sockatmark): Do not expect.
44122 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
44123 (clock_getcpuclockid): Do not expect.
44124 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
44125 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
44126 Do not expect.
44127 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
44128 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
44129 [UNIX98] (vwscanf): Likewise.
44130 [UNIX98] (vswscanf): Likewise.
44131
44132 2012-11-09 Joseph Myers <joseph@codesourcery.com>
44133
44134 * timezone/version.h: Remove file.
44135 * timezone/README: Do not refer to version.h.
44136 * timezone/Makefile ($(objpfx)zic.o): New dependency on
44137 $(objpfx)version.h.
44138 ($(objpfx)zdump.o): Likewise.
44139 ($(objpfx)version.h): New target.
44140
44141 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
44142 2012i.
44143 * timezone/README: Don't mention modification to tzselect.ksh.
44144 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
44145 work on unmodified tzselect.ksh. Substitute version numbers in
44146 tzselect.ksh.
44147
44148 * Makefile (format-me): Remove.
44149 (INSTALL): Adjust indentation. Use commands directly instead of
44150 using $(format-me).
44151
44152 * aclocal.m4 (ACX_PKGVERSION): New macro.
44153 (ACX_BUGURL): Likewise.
44154 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
44155 (PKGVERSION): New AC_DEFINE_UNQUOTED.
44156 (REPORT_BUGS_TO): Likewise.
44157 * configure: Regenerated.
44158 * config.h.in (PKGVERSION): New macro.
44159 (REPORT_BUGS_TO): Likewise.
44160 * config.make.in (PKGVERSION): New variable.
44161 (PKGVERSION_TEXI): Likewise.
44162 (REPORT_BUGS_TO): Likewise.
44163 (REPORT_BUGS_TEXI): Likewise.
44164 * Makefile (format-me): Use -I$(common-objpfx)manual.
44165 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
44166 ($(common-objpfx)manual/%): New target.
44167 (manual/%): Remove target.
44168 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
44169 (print_version): Use PKGVERSION.
44170 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
44171 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
44172 and REPORT_BUGS_TO.
44173 ($(objpfx)xtrace): Likewise.
44174 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
44175 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
44176 (print_version): Use PKGVERSION.
44177 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
44178 (do_version): Use PKGVERSION.
44179 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
44180 REPORT_BUGS_TO.
44181 (common-ldd-rewrite): Likewise.
44182 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
44183 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
44184 (print_version): Use PKGVERSION.
44185 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
44186 * elf/pldd.c (argp_program_bug_address): Remove variable.
44187 (more_help): New function.
44188 (argp): Use more_help.
44189 (print_version): Use PKGVERSION.
44190 * elf/sln.c (main): Use PKGVERSION.
44191 (usage): Use REPORT_BUGS_TO.
44192 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
44193 (top level): Use PKGVERSION.
44194 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
44195 (print_version): Use PKGVERSION.
44196 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
44197 (print_version): Use PKGVERSION.
44198 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
44199 (print_version): Use PKGVERSION.
44200 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
44201 (print_version): Use PKGVERSION.
44202 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
44203 (print_version): Use PKGVERSION.
44204 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
44205 (print_version): Use PKGVERSION.
44206 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
44207 and BUGURL.
44208 ($(objpfx)memusage): Likewise.
44209 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
44210 (do_version): Use PKGVERSION.
44211 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
44212 (print_version): Use PKGVERSION.
44213 * malloc/mtrace.pl ($PACKAGE): Remove variable.
44214 ($PKGVERSION): New variable.
44215 ($REPORT_BUGS_TO): Likewise.
44216 (usage): Use $REPORT_BUGS_TO.
44217 (top level): Use $PKGVERSION.
44218 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
44219 ($(objpfx)pkgvers.texi): New rule.
44220 ($(objpfx)stamp-pkgvers): Likewise.
44221 * manual/install.texi: Include pkgvers.texi.
44222 (--with-pkgversion): Document new configure option.
44223 (--with-bugurl): Likewise.
44224 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
44225 than necessarily for this particular distribution. Use
44226 REPORT_BUGS_TO for where to report bugs.
44227 * INSTALL: Regenerated.
44228 * manual/libc.texinfo: Include pkgvers.texi.
44229 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
44230 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
44231 (print_version): Use PKGVERSION.
44232 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
44233 (print_version): Use PKGVERSION.
44234 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
44235 (print_version): Use PKGVERSION.
44236 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
44237 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
44238 macro.
44239 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
44240 (print_version): Use PKGVERSION.
44241 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
44242 (print_version): Use PKGVERSION.
44243 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
44244 and PKGVERSION.
44245
44246 * timezone/checktab.awk: Update from tzcode 2012i.
44247 * timezone/ialloc.c: Likewise.
44248 * timezone/private.h: Likewise.
44249 * timezone/scheck.c: Likewise.
44250 * timezone/tzfile.h: Likewise.
44251 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
44252 (TZVERSION): Hardcode tzcode version number.
44253 * timezone/zdump.c: Update from tzcode 2012i.
44254 * timezone/zic.c: Likewise.
44255 * timezone/version.h: New file.
44256 * timezone/README: Describe version.h. Update upstream location.
44257
44258 [BZ #14824]
44259 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
44260 (mktemp): Enable declaration.
44261 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
44262 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
44263 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
44264 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
44265 Likewise.
44266 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
44267 Likewise.
44268 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
44269 Likewise.
44270 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
44271 Likewise.
44272 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
44273 Likewise.
44274 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
44275 Likewise.
44276
44277 [BZ #14821]
44278 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
44279 offset in buffer as u_int32_t not u_long. Consistently use memcpy
44280 for copies of such integer values.
44281 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
44282 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
44283
44284 2012-11-09 Andreas Jaeger <aj@suse.de>
44285
44286 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
44287 definitions and declarations that are provided by
44288 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
44289
44290 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44291
44292 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
44293 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
44294 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
44295 definition.
44296
44297 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
44298
44299 * elf/elf.h: Update comment before AArch64 relocations.
44300
44301 2012-11-07 David S. Miller <davem@davemloft.net>
44302
44303 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
44304 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
44305 (__start_context): Declare.
44306 (__makecontext_ret): Delete.
44307 (__makecontext): Hook up __start_context instead of
44308 __makecontext_ret.
44309 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
44310 (sysdep_routines): Add __start_context when in stdlib.
44311
44312 2012-11-07 Joseph Myers <joseph@codesourcery.com>
44313
44314 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
44315 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
44316 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
44317 hardcoded "nm".
44318 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
44319 (READELF): New variable. Use it instead of hardcoded "readelf".
44320
44321 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
44322
44323 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
44324 * sysdeps/x86/Makefile: Here.
44325 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
44326 * sysdeps/x86/tst-xmmymm.sh: This.
44327
44328 2012-11-07 Joseph Myers <joseph@codesourcery.com>
44329
44330 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
44331 expectations.
44332 [UNIX98] (pthread_barrier_t): Do not expect.
44333 [UNIX98] (pthread_barrierattr_t): Likewise.
44334 [UNIX98] (pthread_spinlock_t): Likewise.
44335 [UNIX98] (pthread_barrier_destroy): Likewise.
44336 [UNIX98] (pthread_barrier_init): Likewise.
44337 [UNIX98] (pthread_barrier_wait): Likewise.
44338 [UNIX98] (pthread_barrierattr_destroy): Likewise.
44339 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
44340 [UNIX98] (pthread_barrierattr_init): Likewise.
44341 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
44342 [UNIX98] (pthread_getcpuclockid): Likewise.
44343 [UNIX98] (pthread_mutex_timedlock): Likewise.
44344 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
44345 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
44346 [UNIX98] (pthread_sigmask): Likewise.
44347 [UNIX98] (pthread_spin_destroy): Likewise.
44348 [UNIX98] (pthread_spin_init): Likewise.
44349 [UNIX98] (pthread_spin_lock): Likewise.
44350 [UNIX98] (pthread_spin_trylock): Likewise.
44351 [UNIX98] (pthread_spin_unlock): Likewise.
44352 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
44353 Do not expect.
44354 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
44355 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
44356 [XPG3 || XPG4] (pthread_cond_t): Likewise.
44357 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
44358 [XPG3 || XPG4] (pthread_key_t): Likewise.
44359 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
44360 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
44361 [XPG3 || XPG4] (pthread_once_t): Likewise.
44362 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
44363 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
44364 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
44365 [XPG3 || XPG4] (pthread_t): Likewise.
44366
44367 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
44368 not expect.
44369 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
44370
44371 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
44372 Change function return type to int.
44373
44374 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
44375 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
44376 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
44377 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
44378 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
44379 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
44380 [!POSIX] (posix_madvise): Likewise.
44381 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
44382 && !UNIX98].
44383 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
44384 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
44385 (mode_t): Likewise.
44386 (posix_mem_offset): Likewise.
44387 (posix_typed_mem_get_info): Likewise.
44388 (posix_typed_mem_open): Likewise.
44389
44390 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
44391 Change condition to [XOPEN2K8].
44392
44393 * conform/conformtest.pl: Preprocess allow-header data with -x c
44394 instead of from stdin.
44395 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
44396 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
44397 [C99-based standards] (cerfc): Likewise.
44398 [C99-based standards] (cexp2): Likewise.
44399 [C99-based standards] (cexpm1): Likewise.
44400 [C99-based standards] (clog10): Likewise.
44401 [C99-based standards] (clog1p): Likewise.
44402 [C99-based standards] (clog2): Likewise.
44403 [C99-based standards] (clgamma): Likewise.
44404 [C99-based standards] (ctgamma): Likewise.
44405 [C99-based standards] (cerff): Likewise.
44406 [C99-based standards] (cerfcf): Likewise.
44407 [C99-based standards] (cexp2f): Likewise.
44408 [C99-based standards] (cexpm1f): Likewise.
44409 [C99-based standards] (clog10f): Likewise.
44410 [C99-based standards] (clog1pf): Likewise.
44411 [C99-based standards] (clog2f): Likewise.
44412 [C99-based standards] (clgammaf): Likewise.
44413 [C99-based standards] (ctgammaf): Likewise.
44414 [C99-based standards] (cerfl): Likewise.
44415 [C99-based standards] (cerfcl): Likewise.
44416 [C99-based standards] (cexp2l): Likewise.
44417 [C99-based standards] (cexpm1l): Likewise.
44418 [C99-based standards] (clog10l): Likewise.
44419 [C99-based standards] (clog1pl): Likewise.
44420 [C99-based standards] (clog2l): Likewise.
44421 [C99-based standards] (clgammal): Likewise.
44422 [C99-based standards] (ctgammal): Likewise.
44423 * conform/data/inttypes.h-data [C99-based standards]: Include
44424 stdint.h-data. Remove all expectations for stdint.h contents.
44425 [C99-based standards] (PRI*): Do not allow.
44426 [C99-based standards] (SCN*): Likewise.
44427 [C99-based standards] (*_t): Likewise.
44428 [C99-based-standards] (PRId8): Expect macro.
44429 [C99-based-standards] (PRIi8): Likewise.
44430 [C99-based-standards] (PRIo8): Likewise.
44431 [C99-based-standards] (PRIu8): Likewise.
44432 [C99-based-standards] (PRIx8): Likewise.
44433 [C99-based-standards] (PRIX8): Likewise.
44434 [C99-based-standards] (SCNd8): Likewise.
44435 [C99-based-standards] (SCNi8): Likewise.
44436 [C99-based-standards] (SCNo8): Likewise.
44437 [C99-based-standards] (SCNu8): Likewise.
44438 [C99-based-standards] (SCNx8): Likewise.
44439 [C99-based-standards] (PRIdLEAST8): Likewise.
44440 [C99-based-standards] (PRIiLEAST8): Likewise.
44441 [C99-based-standards] (PRIoLEAST8): Likewise.
44442 [C99-based-standards] (PRIuLEAST8): Likewise.
44443 [C99-based-standards] (PRIxLEAST8): Likewise.
44444 [C99-based-standards] (PRIXLEAST8): Likewise.
44445 [C99-based-standards] (SCNdLEAST8): Likewise.
44446 [C99-based-standards] (SCNiLEAST8): Likewise.
44447 [C99-based-standards] (SCNoLEAST8): Likewise.
44448 [C99-based-standards] (SCNuLEAST8): Likewise.
44449 [C99-based-standards] (SCNxLEAST8): Likewise.
44450 [C99-based-standards] (PRIdFAST8): Likewise.
44451 [C99-based-standards] (PRIiFAST8): Likewise.
44452 [C99-based-standards] (PRIoFAST8): Likewise.
44453 [C99-based-standards] (PRIuFAST8): Likewise.
44454 [C99-based-standards] (PRIxFAST8): Likewise.
44455 [C99-based-standards] (PRIXFAST8): Likewise.
44456 [C99-based-standards] (SCNdFAST8): Likewise.
44457 [C99-based-standards] (SCNiFAST8): Likewise.
44458 [C99-based-standards] (SCNoFAST8): Likewise.
44459 [C99-based-standards] (SCNuFAST8): Likewise.
44460 [C99-based-standards] (SCNxFAST8): Likewise.
44461 [C99-based-standards] (PRId16): Likewise.
44462 [C99-based-standards] (PRIi16): Likewise.
44463 [C99-based-standards] (PRIo16): Likewise.
44464 [C99-based-standards] (PRIu16): Likewise.
44465 [C99-based-standards] (PRIx16): Likewise.
44466 [C99-based-standards] (PRIX16): Likewise.
44467 [C99-based-standards] (SCNd16): Likewise.
44468 [C99-based-standards] (SCNi16): Likewise.
44469 [C99-based-standards] (SCNo16): Likewise.
44470 [C99-based-standards] (SCNu16): Likewise.
44471 [C99-based-standards] (SCNx16): Likewise.
44472 [C99-based-standards] (PRIdLEAST16): Likewise.
44473 [C99-based-standards] (PRIiLEAST16): Likewise.
44474 [C99-based-standards] (PRIoLEAST16): Likewise.
44475 [C99-based-standards] (PRIuLEAST16): Likewise.
44476 [C99-based-standards] (PRIxLEAST16): Likewise.
44477 [C99-based-standards] (PRIXLEAST16): Likewise.
44478 [C99-based-standards] (SCNdLEAST16): Likewise.
44479 [C99-based-standards] (SCNiLEAST16): Likewise.
44480 [C99-based-standards] (SCNoLEAST16): Likewise.
44481 [C99-based-standards] (SCNuLEAST16): Likewise.
44482 [C99-based-standards] (SCNxLEAST16): Likewise.
44483 [C99-based-standards] (PRIdFAST16): Likewise.
44484 [C99-based-standards] (PRIiFAST16): Likewise.
44485 [C99-based-standards] (PRIoFAST16): Likewise.
44486 [C99-based-standards] (PRIuFAST16): Likewise.
44487 [C99-based-standards] (PRIxFAST16): Likewise.
44488 [C99-based-standards] (PRIXFAST16): Likewise.
44489 [C99-based-standards] (SCNdFAST16): Likewise.
44490 [C99-based-standards] (SCNiFAST16): Likewise.
44491 [C99-based-standards] (SCNoFAST16): Likewise.
44492 [C99-based-standards] (SCNuFAST16): Likewise.
44493 [C99-based-standards] (SCNxFAST16): Likewise.
44494 [C99-based-standards] (PRId32): Likewise.
44495 [C99-based-standards] (PRIi32): Likewise.
44496 [C99-based-standards] (PRIo32): Likewise.
44497 [C99-based-standards] (PRIu32): Likewise.
44498 [C99-based-standards] (PRIx32): Likewise.
44499 [C99-based-standards] (PRIX32): Likewise.
44500 [C99-based-standards] (SCNd32): Likewise.
44501 [C99-based-standards] (SCNi32): Likewise.
44502 [C99-based-standards] (SCNo32): Likewise.
44503 [C99-based-standards] (SCNu32): Likewise.
44504 [C99-based-standards] (SCNx32): Likewise.
44505 [C99-based-standards] (PRIdLEAST32): Likewise.
44506 [C99-based-standards] (PRIiLEAST32): Likewise.
44507 [C99-based-standards] (PRIoLEAST32): Likewise.
44508 [C99-based-standards] (PRIuLEAST32): Likewise.
44509 [C99-based-standards] (PRIxLEAST32): Likewise.
44510 [C99-based-standards] (PRIXLEAST32): Likewise.
44511 [C99-based-standards] (SCNdLEAST32): Likewise.
44512 [C99-based-standards] (SCNiLEAST32): Likewise.
44513 [C99-based-standards] (SCNoLEAST32): Likewise.
44514 [C99-based-standards] (SCNuLEAST32): Likewise.
44515 [C99-based-standards] (SCNxLEAST32): Likewise.
44516 [C99-based-standards] (PRIdFAST32): Likewise.
44517 [C99-based-standards] (PRIiFAST32): Likewise.
44518 [C99-based-standards] (PRIoFAST32): Likewise.
44519 [C99-based-standards] (PRIuFAST32): Likewise.
44520 [C99-based-standards] (PRIxFAST32): Likewise.
44521 [C99-based-standards] (PRIXFAST32): Likewise.
44522 [C99-based-standards] (SCNdFAST32): Likewise.
44523 [C99-based-standards] (SCNiFAST32): Likewise.
44524 [C99-based-standards] (SCNoFAST32): Likewise.
44525 [C99-based-standards] (SCNuFAST32): Likewise.
44526 [C99-based-standards] (SCNxFAST32): Likewise.
44527 [C99-based-standards] (PRId64): Likewise.
44528 [C99-based-standards] (PRIi64): Likewise.
44529 [C99-based-standards] (PRIo64): Likewise.
44530 [C99-based-standards] (PRIu64): Likewise.
44531 [C99-based-standards] (PRIx64): Likewise.
44532 [C99-based-standards] (PRIX64): Likewise.
44533 [C99-based-standards] (SCNd64): Likewise.
44534 [C99-based-standards] (SCNi64): Likewise.
44535 [C99-based-standards] (SCNo64): Likewise.
44536 [C99-based-standards] (SCNu64): Likewise.
44537 [C99-based-standards] (SCNx64): Likewise.
44538 [C99-based-standards] (PRIdLEAST64): Likewise.
44539 [C99-based-standards] (PRIiLEAST64): Likewise.
44540 [C99-based-standards] (PRIoLEAST64): Likewise.
44541 [C99-based-standards] (PRIuLEAST64): Likewise.
44542 [C99-based-standards] (PRIxLEAST64): Likewise.
44543 [C99-based-standards] (PRIXLEAST64): Likewise.
44544 [C99-based-standards] (SCNdLEAST64): Likewise.
44545 [C99-based-standards] (SCNiLEAST64): Likewise.
44546 [C99-based-standards] (SCNoLEAST64): Likewise.
44547 [C99-based-standards] (SCNuLEAST64): Likewise.
44548 [C99-based-standards] (SCNxLEAST64): Likewise.
44549 [C99-based-standards] (PRIdFAST64): Likewise.
44550 [C99-based-standards] (PRIiFAST64): Likewise.
44551 [C99-based-standards] (PRIoFAST64): Likewise.
44552 [C99-based-standards] (PRIuFAST64): Likewise.
44553 [C99-based-standards] (PRIxFAST64): Likewise.
44554 [C99-based-standards] (PRIXFAST64): Likewise.
44555 [C99-based-standards] (SCNdFAST64): Likewise.
44556 [C99-based-standards] (SCNiFAST64): Likewise.
44557 [C99-based-standards] (SCNoFAST64): Likewise.
44558 [C99-based-standards] (SCNuFAST64): Likewise.
44559 [C99-based-standards] (SCNxFAST64): Likewise.
44560 [C99-based-standards] (PRIdMAX): Likewise.
44561 [C99-based-standards] (PRIiMAX): Likewise.
44562 [C99-based-standards] (PRIoMAX): Likewise.
44563 [C99-based-standards] (PRIuMAX): Likewise.
44564 [C99-based-standards] (PRIxMAX): Likewise.
44565 [C99-based-standards] (PRIXMAX): Likewise.
44566 [C99-based-standards] (SCNdMAX): Likewise.
44567 [C99-based-standards] (SCNiMAX): Likewise.
44568 [C99-based-standards] (SCNoMAX): Likewise.
44569 [C99-based-standards] (SCNuMAX): Likewise.
44570 [C99-based-standards] (SCNxMAX): Likewise.
44571 [C99-based-standards] (PRIdPTR): Likewise.
44572 [C99-based-standards] (PRIiPTR): Likewise.
44573 [C99-based-standards] (PRIoPTR): Likewise.
44574 [C99-based-standards] (PRIuPTR): Likewise.
44575 [C99-based-standards] (PRIxPTR): Likewise.
44576 [C99-based-standards] (PRIXPTR): Likewise.
44577 [C99-based-standards] (SCNdPTR): Likewise.
44578 [C99-based-standards] (SCNiPTR): Likewise.
44579 [C99-based-standards] (SCNoPTR): Likewise.
44580 [C99-based-standards] (SCNuPTR): Likewise.
44581 [C99-based-standards] (SCNxPTR): Likewise.
44582 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
44583 allow.
44584 * conform/data/stdint.h-data: Update comments to clarify
44585 requirements.
44586 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
44587 type.
44588 [C99-based standards] (INT8_MAX): Likewise.
44589 [C99-based standards] (INT16_MIN): Likewise.
44590 [C99-based standards] (INT16_MAX): Likewise.
44591 [C99-based standards] (INT32_MIN): Likewise.
44592 [C99-based standards] (INT32_MAX): Likewise.
44593 [C99-based standards] (INT64_MIN): Likewise.
44594 [C99-based standards] (INT64_MAX): Likewise.
44595 [C99-based standards] (UINT8_MAX): Likewise.
44596 [C99-based standards] (UINT16_MAX): Likewise.
44597 [C99-based standards] (UINT32_MAX): Likewise.
44598 [C99-based standards] (UINT64_MAX): Likewise.
44599 [C99-based standards] (INT_LEAST8_MIN): Likewise.
44600 [C99-based standards] (INT_LEAST8_MAX): Likewise.
44601 [C99-based standards] (INT_LEAST16_MIN): Likewise.
44602 [C99-based standards] (INT_LEAST16_MAX): Likewise.
44603 [C99-based standards] (INT_LEAST32_MIN): Likewise.
44604 [C99-based standards] (INT_LEAST32_MAX): Likewise.
44605 [C99-based standards] (INT_LEAST64_MIN): Likewise.
44606 [C99-based standards] (INT_LEAST64_MAX): Likewise.
44607 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
44608 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
44609 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
44610 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
44611 [C99-based standards] (INT_FAST8_MIN): Likewise.
44612 [C99-based standards] (INT_FAST8_MAX): Likewise.
44613 [C99-based standards] (INT_FAST16_MIN): Likewise.
44614 [C99-based standards] (INT_FAST16_MAX): Likewise.
44615 [C99-based standards] (INT_FAST32_MIN): Likewise.
44616 [C99-based standards] (INT_FAST32_MAX): Likewise.
44617 [C99-based standards] (INT_FAST64_MIN): Likewise.
44618 [C99-based standards] (INT_FAST64_MAX): Likewise.
44619 [C99-based standards] (UINT_FAST8_MAX): Likewise.
44620 [C99-based standards] (UINT_FAST16_MAX): Likewise.
44621 [C99-based standards] (UINT_FAST32_MAX): Likewise.
44622 [C99-based standards] (UINT_FAST64_MAX): Likewise.
44623 [C99-based standards] (INTPTR_MIN): Likewise.
44624 [C99-based standards] (INTPTR_MAX): Likewise.
44625 [C99-based standards] (UINTPTR_MAX): Likewise.
44626 [C99-based standards] (INTMAX_MIN): Likewise.
44627 [C99-based standards] (INTMAX_MAX): Likewise.
44628 [C99-based standards] (UINTMAX_MAX): Likewise.
44629 [C99-based standards] (PTRDIFF_MIN): Likewise.
44630 [C99-based standards] (PTRDIFF_MAX): Likewise.
44631 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
44632 [C99-based standards] (SIZE_MAX): Likewise.
44633 [C99-based standards] (WCHAR_MAX): Likewise.
44634 [C99-based standards] (WINT_MAX): Likewise.
44635 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
44636 constraint on value.
44637 [C99-based standards] (WCHAR_MIN): Likewise.
44638 [C99-based standards] (WINT_MIN): Likewise.
44639 [C99-based standards] (*_t): Allow.
44640 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
44641 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
44642 Include math.h-data and complex.h-data. Remove all expectations
44643 of math.h and complex.h contents.
44644 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
44645 at end of line.
44646 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
44647 (struct tm): Expect tag.
44648 [C99-based-standards] (wcstof): Expect function.
44649 [C99-based-standards] (wcstold): Likewise.
44650 [C99-based-standards] (wcstoll): Likewise.
44651 [C99-based-standards] (wcstoull): Likewise.
44652 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
44653 macro-int-constant. Specify type.
44654 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
44655 constraint on value.
44656 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
44657 Specify type.
44658 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
44659 Specify value.
44660 [ISO C standards]: Do not allow headers.
44661 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
44662 wcs[abcdefghijklmnopqrstuvwxyz]*.
44663 [ISO C standards] (*_t): Do not allow.
44664 * conform/data/wctype.h-data [C99-based standards] (iswblank):
44665 Expect function.
44666 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
44667 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
44668 Specify type.
44669 [ISO C standards]: Do not allow headers.
44670 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
44671 is[abcdefghijklmnopqrstuvwxyz]*.
44672 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
44673 to[abcdefghijklmnopqrstuvwxyz]*.
44674 [ISO C standards] (*_t): Do not allow.
44675 * conform/data/stdalign.h-data: New file.
44676 * conform/data/stdbool.h-data: Likewise.
44677 * conform/data/stdnoreturn.h-data: Likewise.
44678
44679 2012-11-07 Roland McGrath <roland@hack.frob.com>
44680
44681 [BZ #14815]
44682 * manual/filesys.texi (Directory Entries): Typo fix.
44683 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
44684
44685 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
44686
44687 * elf/elf.h (EM_AARCH64): New macro.
44688 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
44689 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
44690 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
44691 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
44692 (R_AARCH64_TLSDESC): Likewise.
44693 (NT_ARM_TLS): Likewise.
44694 (NT_ARM_HW_BREAK): Likewise.
44695 (NT_ARM_HW_WATCH): Likewise.
44696
44697 2012-11-07 Joseph Myers <joseph@codesourcery.com>
44698
44699 [BZ #14811]
44700 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
44701 (__ieee754_powl): Saturate nonzero exponents with absolute value
44702 below 0x1p-79 to +/- 0x1p-79.
44703 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
44704 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
44705 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
44706 nonzero exponents with absolute value below 0x1p-32 to +/-
44707 0x1p-32.
44708 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
44709 (__ieee754_powl): Saturate nonzero exponents with absolute value
44710 below 0x1p-79 to +/- 0x1p-79.
44711 * math/libm-test.inc (pow_test): Add more tests.
44712
44713 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44714
44715 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
44716 _dl_s390_cap_flags with kernel. Increase string length.
44717 (_dl_s390_platforms): Add z196 and zEC12.
44718
44719 2012-11-07 Joseph Myers <joseph@codesourcery.com>
44720
44721 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
44722 Change XOPEN21K to XOPEN2K.
44723
44724 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
44725
44726 * string/memmove.c: Use memcpy when possible.
44727
44728 2012-11-06 Andreas Jaeger <aj@suse.de>
44729
44730 * po/eo.po: Update from translation team.
44731
44732 2012-11-06 Joseph Myers <joseph@codesourcery.com>
44733
44734 [BZ #14793]
44735 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
44736 exponent and small x and y exponents, scale x or y up. Increase
44737 by 2 the exponent used in scaling up.
44738 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
44739 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44740 * math/libm-test.inc (fma_test): Add more tests.
44741 (fma_test_towardzero): Likewise.
44742 (fma_test_downward): Likewise.
44743 (fma_test_upward): Likewise.
44744
44745 2012-11-05 Joseph Myers <joseph@codesourcery.com>
44746
44747 [BZ #14805]
44748 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
44749 fenv_t *.
44750
44751 [BZ #14801]
44752 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
44753 namespace for names of struct fields.
44754 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
44755 fenv_t fields.
44756 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
44757 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
44758
44759 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
44760
44761 [BZ #3665]
44762 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
44763
44764 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
44765
44766 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
44767 PTR_DEMANGLE.
44768
44769 [BZ #5246]
44770 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
44771 PTR_DEMANGLE.
44772
44773 2012-11-04 Joseph Myers <joseph@codesourcery.com>
44774
44775 [BZ #14797]
44776 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
44777 definitely overflow as x * y not x * y + z.
44778 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
44779 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44780 * math/libm-test.inc (fma_test): Add more tests.
44781 (fma_test_towardzero): Likewise.
44782 (fma_test_downward): Likewise.
44783 (fma_test_upward): Likewise.
44784
44785 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
44786
44787 [BZ #157]
44788
44789 * include/stub-tag.h: Remove file.
44790 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
44791 '#include' of it.
44792 * manual/maint.texi (Porting): Don't reference it.
44793 * Makerules ($(objpfx)stubs): Likewise.
44794 * dirent/closedir.c: Don't include <stub-tag.h>.
44795 * dirent/dirfd.c: Likewise.
44796 * dirent/fdopendir.c: Likewise.
44797 * dirent/getdents.c: Likewise.
44798 * dirent/getdents64.c: Likewise.
44799 * dirent/opendir.c: Likewise.
44800 * dirent/readdir.c: Likewise.
44801 * dirent/readdir64.c: Likewise.
44802 * dirent/readdir64_r.c: Likewise.
44803 * dirent/readdir_r.c: Likewise.
44804 * dirent/rewinddir.c: Likewise.
44805 * dirent/seekdir.c: Likewise.
44806 * dirent/telldir.c: Likewise.
44807 * gmon/profil.c: Likewise.
44808 * grp/setgroups.c: Likewise.
44809 * inet/if_index.c: Likewise.
44810 * io/access.c: Likewise.
44811 * io/chdir.c: Likewise.
44812 * io/chmod.c: Likewise.
44813 * io/chown.c: Likewise.
44814 * io/close.c: Likewise.
44815 * io/dup.c: Likewise.
44816 * io/dup2.c: Likewise.
44817 * io/dup3.c: Likewise.
44818 * io/euidaccess.c: Likewise.
44819 * io/faccessat.c: Likewise.
44820 * io/fchdir.c: Likewise.
44821 * io/fchmod.c: Likewise.
44822 * io/fchmodat.c: Likewise.
44823 * io/fchown.c: Likewise.
44824 * io/fchownat.c: Likewise.
44825 * io/fcntl.c: Likewise.
44826 * io/flock.c: Likewise.
44827 * io/fstatfs.c: Likewise.
44828 * io/fstatfs64.c: Likewise.
44829 * io/fstatvfs.c: Likewise.
44830 * io/fstatvfs64.c: Likewise.
44831 * io/futimens.c: Likewise.
44832 * io/fxstat.c: Likewise.
44833 * io/fxstat64.c: Likewise.
44834 * io/fxstatat.c: Likewise.
44835 * io/fxstatat64.c: Likewise.
44836 * io/getcwd.c: Likewise.
44837 * io/isatty.c: Likewise.
44838 * io/lchmod.c: Likewise.
44839 * io/lchown.c: Likewise.
44840 * io/link.c: Likewise.
44841 * io/linkat.c: Likewise.
44842 * io/lseek.c: Likewise.
44843 * io/lseek64.c: Likewise.
44844 * io/lxstat64.c: Likewise.
44845 * io/mkdir.c: Likewise.
44846 * io/mkdirat.c: Likewise.
44847 * io/mkfifo.c: Likewise.
44848 * io/mkfifoat.c: Likewise.
44849 * io/open.c: Likewise.
44850 * io/open64.c: Likewise.
44851 * io/openat.c: Likewise.
44852 * io/openat64.c: Likewise.
44853 * io/pipe.c: Likewise.
44854 * io/pipe2.c: Likewise.
44855 * io/poll.c: Likewise.
44856 * io/posix_fadvise.c: Likewise.
44857 * io/posix_fadvise64.c: Likewise.
44858 * io/posix_fallocate.c: Likewise.
44859 * io/posix_fallocate64.c: Likewise.
44860 * io/read.c: Likewise.
44861 * io/readlink.c: Likewise.
44862 * io/readlinkat.c: Likewise.
44863 * io/rmdir.c: Likewise.
44864 * io/sendfile.c: Likewise.
44865 * io/sendfile64.c: Likewise.
44866 * io/statfs.c: Likewise.
44867 * io/statfs64.c: Likewise.
44868 * io/statvfs.c: Likewise.
44869 * io/statvfs64.c: Likewise.
44870 * io/symlink.c: Likewise.
44871 * io/symlinkat.c: Likewise.
44872 * io/ttyname.c: Likewise.
44873 * io/ttyname_r.c: Likewise.
44874 * io/umask.c: Likewise.
44875 * io/unlink.c: Likewise.
44876 * io/unlinkat.c: Likewise.
44877 * io/utime.c: Likewise.
44878 * io/utimensat.c: Likewise.
44879 * io/write.c: Likewise.
44880 * io/xmknod.c: Likewise.
44881 * io/xmknodat.c: Likewise.
44882 * io/xstat.c: Likewise.
44883 * io/xstat64.c: Likewise.
44884 * login/getpt.c: Likewise.
44885 * login/grantpt.c: Likewise.
44886 * login/unlockpt.c: Likewise.
44887 * math/e_acoshl.c: Likewise.
44888 * math/e_acosl.c: Likewise.
44889 * math/e_asinl.c: Likewise.
44890 * math/e_atan2l.c: Likewise.
44891 * math/e_atanhl.c: Likewise.
44892 * math/e_coshl.c: Likewise.
44893 * math/e_expl.c: Likewise.
44894 * math/e_fmodl.c: Likewise.
44895 * math/e_gammal_r.c: Likewise.
44896 * math/e_hypotl.c: Likewise.
44897 * math/e_j0l.c: Likewise.
44898 * math/e_j1l.c: Likewise.
44899 * math/e_jnl.c: Likewise.
44900 * math/e_lgammal_r.c: Likewise.
44901 * math/e_log10l.c: Likewise.
44902 * math/e_log2l.c: Likewise.
44903 * math/e_logl.c: Likewise.
44904 * math/e_powl.c: Likewise.
44905 * math/e_rem_pio2l.c: Likewise.
44906 * math/e_sinhl.c: Likewise.
44907 * math/e_sqrtl.c: Likewise.
44908 * math/fclrexcpt.c: Likewise.
44909 * math/fedisblxcpt.c: Likewise.
44910 * math/feenablxcpt.c: Likewise.
44911 * math/fegetenv.c: Likewise.
44912 * math/fegetexcept.c: Likewise.
44913 * math/fegetround.c: Likewise.
44914 * math/feholdexcpt.c: Likewise.
44915 * math/fesetenv.c: Likewise.
44916 * math/fesetround.c: Likewise.
44917 * math/feupdateenv.c: Likewise.
44918 * math/fgetexcptflg.c: Likewise.
44919 * math/fraiseexcpt.c: Likewise.
44920 * math/fsetexcptflg.c: Likewise.
44921 * math/ftestexcept.c: Likewise.
44922 * math/k_cosl.c: Likewise.
44923 * math/k_rem_pio2l.c: Likewise.
44924 * math/k_sinl.c: Likewise.
44925 * math/k_tanl.c: Likewise.
44926 * math/s_asinhl.c: Likewise.
44927 * math/s_atanl.c: Likewise.
44928 * math/s_cbrtl.c: Likewise.
44929 * math/s_erfl.c: Likewise.
44930 * math/s_expm1l.c: Likewise.
44931 * math/s_log1pl.c: Likewise.
44932 * math/s_tanhl.c: Likewise.
44933 * misc/acct.c: Likewise.
44934 * misc/brk.c: Likewise.
44935 * misc/chflags.c: Likewise.
44936 * misc/chroot.c: Likewise.
44937 * misc/fchflags.c: Likewise.
44938 * misc/fgetxattr.c: Likewise.
44939 * misc/flistxattr.c: Likewise.
44940 * misc/fremovexattr.c: Likewise.
44941 * misc/fsetxattr.c: Likewise.
44942 * misc/fsync.c: Likewise.
44943 * misc/ftruncate.c: Likewise.
44944 * misc/futimes.c: Likewise.
44945 * misc/futimesat.c: Likewise.
44946 * misc/getdomain.c: Likewise.
44947 * misc/getdtsz.c: Likewise.
44948 * misc/gethostid.c: Likewise.
44949 * misc/gethostname.c: Likewise.
44950 * misc/getloadavg.c: Likewise.
44951 * misc/getpagesize.c: Likewise.
44952 * misc/getsysstats.c: Likewise.
44953 * misc/getxattr.c: Likewise.
44954 * misc/gtty.c: Likewise.
44955 * misc/ioctl.c: Likewise.
44956 * misc/lgetxattr.c: Likewise.
44957 * misc/listxattr.c: Likewise.
44958 * misc/llistxattr.c: Likewise.
44959 * misc/lremovexattr.c: Likewise.
44960 * misc/lsetxattr.c: Likewise.
44961 * misc/lutimes.c: Likewise.
44962 * misc/madvise.c: Likewise.
44963 * misc/mincore.c: Likewise.
44964 * misc/mlock.c: Likewise.
44965 * misc/mlockall.c: Likewise.
44966 * misc/mmap.c: Likewise.
44967 * misc/mprotect.c: Likewise.
44968 * misc/msync.c: Likewise.
44969 * misc/munlock.c: Likewise.
44970 * misc/munlockall.c: Likewise.
44971 * misc/munmap.c: Likewise.
44972 * misc/preadv.c: Likewise.
44973 * misc/preadv64.c: Likewise.
44974 * misc/ptrace.c: Likewise.
44975 * misc/pwritev.c: Likewise.
44976 * misc/pwritev64.c: Likewise.
44977 * misc/readv.c: Likewise.
44978 * misc/reboot.c: Likewise.
44979 * misc/remap_file_pages.c: Likewise.
44980 * misc/removexattr.c: Likewise.
44981 * misc/revoke.c: Likewise.
44982 * misc/select.c: Likewise.
44983 * misc/setdomain.c: Likewise.
44984 * misc/setegid.c: Likewise.
44985 * misc/seteuid.c: Likewise.
44986 * misc/sethostid.c: Likewise.
44987 * misc/sethostname.c: Likewise.
44988 * misc/setregid.c: Likewise.
44989 * misc/setreuid.c: Likewise.
44990 * misc/setxattr.c: Likewise.
44991 * misc/sstk.c: Likewise.
44992 * misc/stty.c: Likewise.
44993 * misc/swapoff.c: Likewise.
44994 * misc/swapon.c: Likewise.
44995 * misc/sync.c: Likewise.
44996 * misc/syncfs.c: Likewise.
44997 * misc/syscall.c: Likewise.
44998 * misc/truncate.c: Likewise.
44999 * misc/ualarm.c: Likewise.
45000 * misc/usleep.c: Likewise.
45001 * misc/ustat.c: Likewise.
45002 * misc/utimes.c: Likewise.
45003 * misc/vhangup.c: Likewise.
45004 * misc/writev.c: Likewise.
45005 * posix/_exit.c: Likewise.
45006 * posix/alarm.c: Likewise.
45007 * posix/execve.c: Likewise.
45008 * posix/fexecve.c: Likewise.
45009 * posix/fork.c: Likewise.
45010 * posix/fpathconf.c: Likewise.
45011 * posix/getaddrinfo.c: Likewise.
45012 * posix/getegid.c: Likewise.
45013 * posix/geteuid.c: Likewise.
45014 * posix/getgid.c: Likewise.
45015 * posix/getgroups.c: Likewise.
45016 * posix/getlogin.c: Likewise.
45017 * posix/getlogin_r.c: Likewise.
45018 * posix/getpgid.c: Likewise.
45019 * posix/getpid.c: Likewise.
45020 * posix/getppid.c: Likewise.
45021 * posix/getresgid.c: Likewise.
45022 * posix/getresuid.c: Likewise.
45023 * posix/getsid.c: Likewise.
45024 * posix/getuid.c: Likewise.
45025 * posix/glob64.c: Likewise.
45026 * posix/nanosleep.c: Likewise.
45027 * posix/pathconf.c: Likewise.
45028 * posix/pause.c: Likewise.
45029 * posix/posix_madvise.c: Likewise.
45030 * posix/pread.c: Likewise.
45031 * posix/pread64.c: Likewise.
45032 * posix/pwrite.c: Likewise.
45033 * posix/pwrite64.c: Likewise.
45034 * posix/sched_getaffinity.c: Likewise.
45035 * posix/sched_getp.c: Likewise.
45036 * posix/sched_gets.c: Likewise.
45037 * posix/sched_primax.c: Likewise.
45038 * posix/sched_primin.c: Likewise.
45039 * posix/sched_rr_gi.c: Likewise.
45040 * posix/sched_setaffinity.c: Likewise.
45041 * posix/sched_setp.c: Likewise.
45042 * posix/sched_sets.c: Likewise.
45043 * posix/sched_yield.c: Likewise.
45044 * posix/setgid.c: Likewise.
45045 * posix/setlogin.c: Likewise.
45046 * posix/setpgid.c: Likewise.
45047 * posix/setresgid.c: Likewise.
45048 * posix/setresuid.c: Likewise.
45049 * posix/setsid.c: Likewise.
45050 * posix/setuid.c: Likewise.
45051 * posix/sleep.c: Likewise.
45052 * posix/spawni.c: Likewise.
45053 * posix/sysconf.c: Likewise.
45054 * posix/times.c: Likewise.
45055 * posix/wait.c: Likewise.
45056 * posix/wait3.c: Likewise.
45057 * posix/wait4.c: Likewise.
45058 * posix/waitpid.c: Likewise.
45059 * resolv/gai_sigqueue.c: Likewise.
45060 * resource/getpriority.c: Likewise.
45061 * resource/getrlimit.c: Likewise.
45062 * resource/getrusage.c: Likewise.
45063 * resource/nice.c: Likewise.
45064 * resource/setpriority.c: Likewise.
45065 * resource/setrlimit.c: Likewise.
45066 * resource/ulimit.c: Likewise.
45067 * rt/aio_cancel.c: Likewise.
45068 * rt/aio_fsync.c: Likewise.
45069 * rt/aio_read.c: Likewise.
45070 * rt/aio_sigqueue.c: Likewise.
45071 * rt/aio_suspend.c: Likewise.
45072 * rt/aio_write.c: Likewise.
45073 * rt/clock_getres.c: Likewise.
45074 * rt/clock_gettime.c: Likewise.
45075 * rt/clock_nanosleep.c: Likewise.
45076 * rt/clock_settime.c: Likewise.
45077 * rt/lio_listio.c: Likewise.
45078 * rt/mq_close.c: Likewise.
45079 * rt/mq_getattr.c: Likewise.
45080 * rt/mq_notify.c: Likewise.
45081 * rt/mq_open.c: Likewise.
45082 * rt/mq_receive.c: Likewise.
45083 * rt/mq_send.c: Likewise.
45084 * rt/mq_setattr.c: Likewise.
45085 * rt/mq_timedreceive.c: Likewise.
45086 * rt/mq_timedsend.c: Likewise.
45087 * rt/mq_unlink.c: Likewise.
45088 * rt/shm_open.c: Likewise.
45089 * rt/shm_unlink.c: Likewise.
45090 * rt/timer_create.c: Likewise.
45091 * rt/timer_delete.c: Likewise.
45092 * rt/timer_getoverr.c: Likewise.
45093 * rt/timer_gettime.c: Likewise.
45094 * rt/timer_settime.c: Likewise.
45095 * setjmp/__longjmp.c: Likewise.
45096 * setjmp/setjmp.c: Likewise.
45097 * signal/kill.c: Likewise.
45098 * signal/killpg.c: Likewise.
45099 * signal/raise.c: Likewise.
45100 * signal/sigaction.c: Likewise.
45101 * signal/sigaltstack.c: Likewise.
45102 * signal/sigblock.c: Likewise.
45103 * signal/sigignore.c: Likewise.
45104 * signal/sigintr.c: Likewise.
45105 * signal/signal.c: Likewise.
45106 * signal/sigpause.c: Likewise.
45107 * signal/sigpending.c: Likewise.
45108 * signal/sigqueue.c: Likewise.
45109 * signal/sigreturn.c: Likewise.
45110 * signal/sigset.c: Likewise.
45111 * signal/sigsetmask.c: Likewise.
45112 * signal/sigstack.c: Likewise.
45113 * signal/sigsuspend.c: Likewise.
45114 * signal/sigtimedwait.c: Likewise.
45115 * signal/sigvec.c: Likewise.
45116 * signal/sigwait.c: Likewise.
45117 * signal/sigwaitinfo.c: Likewise.
45118 * signal/sysv_signal.c: Likewise.
45119 * socket/accept.c: Likewise.
45120 * socket/accept4.c: Likewise.
45121 * socket/bind.c: Likewise.
45122 * socket/connect.c: Likewise.
45123 * socket/getpeername.c: Likewise.
45124 * socket/getsockname.c: Likewise.
45125 * socket/getsockopt.c: Likewise.
45126 * socket/isfdtype.c: Likewise.
45127 * socket/listen.c: Likewise.
45128 * socket/recv.c: Likewise.
45129 * socket/recvfrom.c: Likewise.
45130 * socket/recvmsg.c: Likewise.
45131 * socket/send.c: Likewise.
45132 * socket/sendmsg.c: Likewise.
45133 * socket/sendto.c: Likewise.
45134 * socket/setsockopt.c: Likewise.
45135 * socket/shutdown.c: Likewise.
45136 * socket/sockatmark.c: Likewise.
45137 * socket/socket.c: Likewise.
45138 * socket/socketpair.c: Likewise.
45139 * stdio-common/ctermid.c: Likewise.
45140 * stdio-common/cuserid.c: Likewise.
45141 * stdio-common/remove.c: Likewise.
45142 * stdio-common/rename.c: Likewise.
45143 * stdio-common/renameat.c: Likewise.
45144 * stdio-common/tempname.c: Likewise.
45145 * stdlib/getcontext.c: Likewise.
45146 * stdlib/makecontext.c: Likewise.
45147 * stdlib/setcontext.c: Likewise.
45148 * stdlib/swapcontext.c: Likewise.
45149 * stdlib/system.c: Likewise.
45150 * streams/fattach.c: Likewise.
45151 * streams/fdetach.c: Likewise.
45152 * streams/getmsg.c: Likewise.
45153 * streams/getpmsg.c: Likewise.
45154 * streams/putmsg.c: Likewise.
45155 * streams/putpmsg.c: Likewise.
45156 * sysdeps/unix/bsd/getpt.c: Likewise.
45157 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
45158 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
45159 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
45160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
45161 Likewise.
45162 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
45163 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
45164 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
45165 * sysvipc/msgctl.c: Likewise.
45166 * sysvipc/msgget.c: Likewise.
45167 * sysvipc/msgrcv.c: Likewise.
45168 * sysvipc/msgsnd.c: Likewise.
45169 * sysvipc/semctl.c: Likewise.
45170 * sysvipc/semget.c: Likewise.
45171 * sysvipc/semop.c: Likewise.
45172 * sysvipc/semtimedop.c: Likewise.
45173 * sysvipc/shmat.c: Likewise.
45174 * sysvipc/shmctl.c: Likewise.
45175 * sysvipc/shmdt.c: Likewise.
45176 * sysvipc/shmget.c: Likewise.
45177 * termios/tcdrain.c: Likewise.
45178 * termios/tcflow.c: Likewise.
45179 * termios/tcflush.c: Likewise.
45180 * termios/tcgetattr.c: Likewise.
45181 * termios/tcgetpgrp.c: Likewise.
45182 * termios/tcsendbrk.c: Likewise.
45183 * termios/tcsetattr.c: Likewise.
45184 * termios/tcsetpgrp.c: Likewise.
45185 * time/adjtime.c: Likewise.
45186 * time/clock.c: Likewise.
45187 * time/getitimer.c: Likewise.
45188 * time/gettimeofday.c: Likewise.
45189 * time/setitimer.c: Likewise.
45190 * time/settimeofday.c: Likewise.
45191 * time/stime.c: Likewise.
45192 * time/time.c: Likewise.
45193
45194 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
45195
45196 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
45197 /usr/old/bin.
45198
45199 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
45200 instead of spaces.
45201 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
45202
45203 2012-11-03 Joseph Myers <joseph@codesourcery.com>
45204
45205 [BZ #14796]
45206 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
45207 FE_TONEAREST before applying Dekker multiplication and Knuth
45208 addition. Clear inexact exceptions and check for exact zero
45209 results afterwards.
45210 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
45211 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
45212 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
45213 * math/libm-test.inc (fma_test): Add more tests.
45214 (fma_test_towardzero): Likewise.
45215 (fma_test_downward): Likewise.
45216 (fma_test_upward): Likewise.
45217 * sysdeps/generic/math_private.h (default_libc_fesetround): New
45218 function.
45219 (libc_fesetround): New macro.
45220 (libc_fesetroundf): Likewise.
45221 (libc_fesetroundl): Likewise.
45222 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
45223 function.
45224 (libc_fesetround_387): Likewise.
45225 (libc_fesetroundf): New macro.
45226 (libc_fesetround): Likewise.
45227 (libc_fesetroundl): Likewise.
45228 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
45229 function.
45230 (libc_fesetroundf): New macro.
45231 (libc_fesetround): Likewise.
45232 (libc_fesetroundl): Likewise.
45233 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
45234 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
45235 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
45236 libm_hidden_ver.
45237 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
45238 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
45239 libm_hidden_def.
45240 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
45241 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
45242 libm_hidden_ver.
45243 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
45244 libm_hidden_def.
45245
45246 [BZ #3439]
45247 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
45248 integer constant usable in #if and use that to give value to enum
45249 constant.
45250 (FE_DIVBYZERO): Likewise.
45251 (FE_UNDERFLOW): Likewise.
45252 (FE_OVERFLOW): Likewise.
45253 (FE_INVALID): Likewise.
45254 (FE_INVALID_SNAN): Likewise.
45255 (FE_INVALID_ISI): Likewise.
45256 (FE_INVALID_IDI): Likewise.
45257 (FE_INVALID_ZDZ): Likewise.
45258 (FE_INVALID_IMZ): Likewise.
45259 (FE_INVALID_COMPARE): Likewise.
45260 (FE_INVALID_SOFTWARE): Likewise.
45261 (FE_INVALID_SQRT): Likewise.
45262 (FE_INVALID_INTEGER_CONVERSION): Likewise.
45263 (FE_TONEAREST): Likewise.
45264 (FE_TOWARDZERO): Likewise.
45265 (FE_UPWARD): Likewise.
45266 (FE_DOWNWARD): Likewise.
45267 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
45268 (FE_DIVBYZERO): Likewise.
45269 (FE_OVERFLOW): Likewise.
45270 (FE_UNDERFLOW): Likewise.
45271 (FE_INEXACT): Likewise.
45272 (FE_TONEAREST): Likewise.
45273 (FE_DOWNWARD): Likewise.
45274 (FE_UPWARD): Likewise.
45275 (FE_TOWARDZERO): Likewise.
45276 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
45277 (FE_UNDERFLOW): Likewise.
45278 (FE_OVERFLOW): Likewise.
45279 (FE_DIVBYZERO): Likewise.
45280 (FE_INVALID): Likewise.
45281 (FE_TONEAREST): Likewise.
45282 (FE_TOWARDZERO): Likewise.
45283 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
45284 (FE_OVERFLOW): Likewise.
45285 (FE_UNDERFLOW): Likewise.
45286 (FE_DIVBYZERO): Likewise.
45287 (FE_INEXACT): Likewise.
45288 (FE_TONEAREST): Likewise.
45289 (FE_TOWARDZERO): Likewise.
45290 (FE_UPWARD): Likewise.
45291 (FE_DOWNWARD): Likewise.
45292 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
45293 (FE_DIVBYZERO): Likewise.
45294 (FE_OVERFLOW): Likewise.
45295 (FE_UNDERFLOW): Likewise.
45296 (FE_INEXACT): Likewise.
45297 (FE_TONEAREST): Likewise.
45298 (FE_DOWNWARD): Likewise.
45299 (FE_UPWARD): Likewise.
45300 (FE_TOWARDZERO): Likewise.
45301
45302 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
45303
45304 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
45305
45306 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
45307
45308 * scripts/cross-test-ssh.sh (command): Use newlines to separate
45309 commands. Quote $PWD.
45310 (blacklist_exports): Don't use remove_newlines. Replace "declare
45311 -x" by "export".
45312 (remove_newlines): Remove.
45313
45314 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
45315
45316 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
45317 * stdlib/stdlib.h (atof): Moved to ...
45318 * include/bits/stdlib-float.h: Here. New file.
45319 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
45320 * stdlib/bits/stdlib-float.h: New file.
45321 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
45322 -mno-sse -mno-mmx.
45323 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
45324 <xmmintrin.h>.
45325
45326 2012-11-02 Joseph Myers <joseph@codesourcery.com>
45327
45328 * conform/conformtest.pl (@headers): Add fenv.h.
45329 * conform/data/fenv.h-data: New file.
45330 * include/fenv.h [_ISOMAC]: Disable all contents of file except
45331 include of <math/fenv.h>.
45332
45333 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
45334 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
45335 && !UNIX98]. Enables tests for XOPEN2K8.
45336 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
45337 POSIX2008]: Likewise.
45338
45339 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
45340 (struct rusage): Do not expect type or its members.
45341
45342 [BZ #3439]
45343 * math/math.h (FP_NAN): Define macro to integer constant usable in
45344 #if and use that to give value to enum constant.
45345 (FP_INFINITE): Likewise.
45346 (FP_ZERO): Likewise.
45347 (FP_SUBNORMAL): Likewise.
45348 (FP_NORMAL): Likewise.
45349
45350 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
45351
45352 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
45353 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
45354 arguments.
45355
45356 2012-11-02 Roland McGrath <roland@hack.frob.com>
45357
45358 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
45359 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
45360 autoconf-time if not.
45361 * configure.in: Remove AC_PREREQ.
45362
45363 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
45364
45365 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
45366 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
45367 of the internal implementation.
45368
45369 2012-11-02 Joseph Myers <joseph@codesourcery.com>
45370
45371 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
45372 except include of <misc/sys/syslog.h>.
45373
45374 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
45375
45376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
45377 function returns with a NULL context exit with zero.
45378
45379 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
45380
45381 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
45382
45383 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
45384
45385 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
45386 (run_program_cmd): This.
45387 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
45388 (tst_langinfo): New variable. Use it.
45389
45390 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
45391
45392 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
45393 floating point opcodes.
45394
45395 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
45396
45397 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
45398 variable.
45399
45400 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
45401
45402 * sysdeps/mach/hurd/powerpc: Remove directory.
45403 * sysdeps/mach/powerpc: Likewise.
45404
45405 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
45406
45407 * scripts/check-local-headers.sh: Ignore c++ headers.
45408
45409 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
45410
45411 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
45412 __libc_cleanup_region_start argument.
45413
45414 2012-11-01 Joseph Myers <joseph@codesourcery.com>
45415
45416 [BZ #14784]
45417 [BZ #14785]
45418 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
45419 x * y using scaling, not as x * y + z.
45420 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
45421 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
45422 * math/libm-test.inc (fma_test): Add more tests.
45423 (fma_test_towardzero): Likewise.
45424 (fma_test_downward): Likewise.
45425 (fma_test_upward): Likewise.
45426
45427 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
45428
45429 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
45430
45431 2012-10-31 Joseph Myers <joseph@codesourcery.com>
45432
45433 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
45434 New variable.
45435
45436 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
45437
45438 * rt/tst-shm.c (worker): Correct checking for mmap failure.
45439
45440 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
45441
45442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45443 Fix sort order.
45444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
45445 Likewise.
45446
45447 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
45448
45449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45450 Fix the order of the list for glibc 2.17.
45451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
45452 Likewise.
45453
45454 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
45455
45456 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45457
45458 2012-10-31 Joseph Myers <joseph@codesourcery.com>
45459
45460 [BZ #14610]
45461 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
45462 for low part of x being zero before using __atanl (y).
45463 * math/libm-test.inc (atan2_test): Add another test.
45464
45465 * manual/install.texi (Configuring and compiling): Document
45466 general use of test-wrapper and test-wrapper-env.
45467 * INSTALL: Regenerated.
45468
45469 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
45470 (__fma): Do not extract and scale down low bits on after-rounding
45471 systems when result rounded to normal precision would have normal
45472 exponent.
45473 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
45474 (__fmal): Do not extract and scale down low bits on after-rounding
45475 systems when result rounded to normal precision would have normal
45476 exponent.
45477 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
45478 (__fmal): Do not extract and scale down low bits on after-rounding
45479 systems when result rounded to normal precision would have normal
45480 exponent.
45481 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
45482 macro.
45483 (fma_test): Add more tests.
45484 (fma_test_towardzero): Likewise.
45485 (fma_test_downward): Likewise.
45486 (fma_test_upward): Likewise.
45487
45488 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
45489
45490 * sysdeps/i386/tininess.h: Renamed to ...
45491 * sysdeps/x86/tininess.h: This.
45492 * sysdeps/x86_64/tininess.h: Removed.
45493
45494 2012-10-30 Joseph Myers <joseph@codesourcery.com>
45495
45496 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
45497 input. Use $(build-program-cmd).
45498 ($(objpfx)tst-array1-static.out): Likewise.
45499 ($(objpfx)tst-array2.out): Likewise.
45500 ($(objpfx)tst-array3.out): Likewise.
45501 ($(objpfx)tst-array4.out): Likewise.
45502 ($(objpfx)tst-array5.out): Likewise.
45503 ($(objpfx)tst-array5-static.out): Likewise.
45504
45505 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
45506
45507 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
45508 if defined.
45509
45510 * nss/nsswitch.h (nss_interface_function): Provide new
45511 macro for use with NSS functions.
45512 * grp/initgroups.c: Use new macro.
45513 * nss/getXXbyYY.c: Likewise.
45514 * nss/getXXbyYY_r.c: Likewise.
45515 * nss/getXXent.c: Likewise.
45516 * nss/getXXent_r.c: Likewise.
45517 * sysdeps/posix/getaddrinfo.c: Likewise.
45518
45519 2012-10-30 Andreas Jaeger <aj@suse.de>
45520
45521 * po/ru.po: Update Russion translation from translation project.
45522
45523 2012-10-30 Joseph Myers <joseph@codesourcery.com>
45524
45525 [BZ #14152]
45526 [BZ #14783]
45527 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
45528 result and shift together with sticky bit instead of replicating
45529 round-to-nearest rounding.
45530 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
45531 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
45532 * math/libm-test.inc (fma_test): Add more tests. Do not permit
45533 missing underflow exceptions.
45534 (fma_test_towardzero): Add more tests.
45535 (fma_test_downward): Likewise.
45536 (fma_test_upward): Likewise.
45537
45538 [BZ #14047]
45539 * sysdeps/generic/tininess.h: New file.
45540 * sysdeps/i386/tininess.h: Likewise.
45541 * sysdeps/sh/tininess.h: Likewise.
45542 * sysdeps/x86_64/tininess.h: Likewise.
45543 * stdlib/tst-strtod-underflow.c: Likewise.
45544 * stdlib/tst-tininess.c: Likewise.
45545 * stdlib/strtod_l.c: Include <tininess.h>.
45546 (round_and_return): Do not set errno for exact underflow cases.
45547 Force an underflow exception when setting errno for underflow.
45548 Determine underflow based on rounding to normal precision if
45549 TININESS_AFTER_ROUNDING.
45550 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
45551 ERANGE for exact underflow cases.
45552 * stdlib/Makefile (tests): Add tst-tininess and
45553 tst-strtod-underflow.
45554 ($(objpfx)tst-tininess): Use $(link-libm).
45555 ($(objpfx)tst-strtod-underflow): Likewise.
45556
45557 2012-10-30 Andreas Jaeger <aj@suse.de>
45558
45559 [BZ#14767]
45560 * elf/Makefile (tests): Remove conditional for have-initfini-array
45561 since this is now always required and the variable does not exist
45562 anymore.
45563 (tests-static): Likewise.
45564 (modules-names): Likewise.
45565
45566 * po/eo.po: Add Esperanto translation from translation project.
45567
45568 * elf/tst-array1.c (fini_array): Make writeable so that it can be
45569 merged with constructor/destructor.
45570 (init_array): Likewise.
45571 * elf/tst-array2dep.c (fini_array): Likewise.
45572 (init_array): Likewise.
45573
45574 2012-10-29 Mike Frysinger <vapier@gentoo.org>
45575
45576 * manual/message.texi: Delete @cartouche tags.
45577
45578 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
45579
45580 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
45581 EOPNOTSUPP.
45582 * sysdeps/mach/hurd/fsync.c: Likewise.
45583
45584 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
45585 [_POSIX_REALTIME_SIGNALS]: Change condition to
45586 [_POSIX_REALTIME_SIGNALS > 0].
45587
45588 2012-10-27 Andreas Jaeger <aj@suse.de>
45589
45590 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
45591 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
45592 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
45593 [__WORDSIZE != 64]: Likewise.
45594
45595 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
45596
45597 * iconvdata/tst-table.sh: Remove ${SHELL}.
45598 * iconvdata/tst-tables.sh: Likewise.
45599
45600 2012-10-25 David S. Miller <davem@davemloft.net>
45601
45602 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
45603 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
45604 of strtoull.
45605
45606 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
45607 ifunc-impl-list.c
45608 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45609 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
45610 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
45611 file.
45612
45613 2012-10-25 Roland McGrath <roland@hack.frob.com>
45614
45615 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
45616 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
45617 __getdirentries.
45618
45619 2012-10-25 Joseph Myers <joseph@codesourcery.com>
45620 Jim Blandy <jimb@codesourcery.com>
45621
45622 * scripts/cross-test-ssh.sh: New file.
45623 * manual/install.texi (Configuring and compiling): Document use of
45624 cross-test-ssh.sh.
45625 * INSTALL: Regenerated.
45626
45627 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
45628
45629 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
45630 EOPNOTSUPP.
45631
45632 2012-10-25 Joseph Myers <joseph@codesourcery.com>
45633
45634 * Makeconfig (run-program-prefix): Fix comment.
45635
45636 2012-10-24 Joseph Myers <joseph@codesourcery.com>
45637 Jim Blandy <jimb@codesourcery.com>
45638
45639 * Makeconfig (test-wrapper): New variable,
45640 (test-wrapper-env): Likewise.
45641 [$(cross-compiling) = yes && $(test-wrapper) != ""]
45642 (run-built-tests): Define to yes.
45643 (run-program-prefix): Use $(test-wrapper).
45644 (built-program-cmd): Likewise.
45645 * Rules (make-test-out): Use $(test-wrapper-env) and
45646 $(host-built-program-cmd).
45647 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
45648 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
45649 tst-pathopt.sh.
45650 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
45651 $(test-wrapper-env) to tst-rtld-load-self.sh.
45652 ($(objpfx)order2.out): Use $(test-wrapper).
45653 ($(objpfx)tst-initorder.out): Likewise.
45654 ($(objpfx)tst-initorder2.out): Likewise.
45655 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
45656 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
45657 (test_wrapper_env): New variable. Use it to run ld.so.
45658 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
45659 Use it to run ld.so.
45660 (test_wrapper_env): Likewise.
45661 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
45662 $(test-wrapper) to run-iconv-test.sh.
45663 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
45664 (ICONV): Use $test_wrapper.
45665 * posix/Makefile ($(objpfx)globtest.out): Pass
45666 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
45667 globtest.sh, not $(run-program-prefix).
45668 * posix/globtest.sh (run_via_rtld_prefix): New variable.
45669 (test_wrapper): Likewise.
45670 (test_wrapper_env): Likewise. Use it to run globtest with HOME
45671 set together with run_via_rtld_prefix.
45672 (run_program_prefix): Define in terms of test_wrapper and
45673 run_via_rtld_prefix.
45674
45675 2012-10-24 Roland McGrath <roland@hack.frob.com>
45676
45677 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
45678 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
45679 Targets removed.
45680
45681 [BZ #14743]
45682 * include/time.h: Remove librt_hidden_proto (clock_gettime).
45683 Declare __clock_getres, __clock_gettime, __clock_settime,
45684 __clock_nanosleep, and __clock_getcpuclockid.
45685 * rt/clock_gettime.c: Define __clock_gettime as an alias.
45686 Remove librt_hidden_def (clock_gettime).
45687 * sysdeps/unix/clock_gettime.c: Likewise.
45688 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
45689 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
45690 * rt/clock_getres.c: Define __clock_getres as an alias.
45691 * sysdeps/posix/clock_getres.c: Likewise.
45692 * rt/clock_settime.c: Define __clock_settime as an alias.
45693 * sysdeps/unix/clock_settime.c: Likewise.
45694 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
45695 * sysdeps/unix/clock_nanosleep.c: Likewise.
45696 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
45697 * rt/clock-compat.c: New file.
45698 * rt/Makefile (librt-routines): Add clock-compat and move
45699 $(clock-routines) to ...
45700 (routines): ... here, new variable.
45701 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
45702 Don't add get_clockfreq here.
45703 * rt/Versions (libc: GLIBC_2.17): New version set.
45704 Add clock_* symbols here.
45705 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
45706 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
45707 (GLIBC_2.17): Add clock_* symbols.
45708 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
45709 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
45710 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
45711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
45712 Likewise.
45713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45714 Likewise.
45715 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
45716 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
45717 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
45718 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
45719 * NEWS: Mention the move.
45720
45721 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
45722 Use __open, __read, __close rather than their public counterparts.
45723 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
45724 (__get_clockfreq_via_cpuinfo): Likewise.
45725 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
45726 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
45727
45728 * config.h.in (HAVE_IFUNC): New #undef.
45729 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
45730 was successful.
45731 * configure: Regenerated.
45732
45733 2012-10-24 Mike Frysinger <vapier@gentoo.org>
45734
45735 * configure.in: Move READELF check to start of file.
45736 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
45737 libc_cv_asm_gnu_indirect_function in the process.
45738 * configure: Regenerated.
45739
45740 2012-10-24 Mike Frysinger <vapier@gentoo.org>
45741
45742 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
45743 send the output to /dev/null.
45744 (libc_cv_cc_with_libunwind): Likewise.
45745 (libc_cv_as_noexecstack): Likewise.
45746 * configure: Regenerate.
45747
45748 2012-10-24 Joseph Myers <joseph@codesourcery.com>
45749
45750 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
45751
45752 * posix/globtest.sh (TMPDIR): Do not set.
45753 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
45754 (testout): Likewise.
45755
45756 2012-10-24 Andreas Jaeger <aj@suse.de>
45757
45758 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
45759 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
45760 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
45761 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
45762 posix_fadvise64, posix_fallocate64.
45763
45764 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
45765 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
45766 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
45767 Likewise.
45768 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
45769 Likewise.
45770 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
45771
45772 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
45773 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
45774 <bits/fcntl-linux.h>.
45775 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
45776
45777 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
45778 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
45779 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
45780 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
45781 [__WORDSIZE != 64]: Likewise.
45782
45783 2012-10-23 Joseph Myers <joseph@codesourcery.com>
45784
45785 * Makeconfig (run-built-tests): New variable.
45786 * Rules [$(cross-compiling) = yes]: Change condition to
45787 [$(run-built-tests) = no].
45788 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
45789 to [$(run-built-tests) = yes].
45790 * elf/Makefile [$(cross-compiling) = no]: Likewise
45791 * grp/Makefile [$(cross-compiling) = no]: Likewise.
45792 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
45793 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
45794 * intl/Makefile [$(cross-compiling) = no]: Likewise.
45795 * io/Makefile [$(cross-compiling) = no]: Likewise.
45796 * libio/Makefile [$(cross-compiling) = no]: Likewise.
45797 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
45798 * misc/Makefile [$(cross-compiling) = no]: Likewise.
45799 * posix/Makefile [$(cross-compiling) = no]: Likewise.
45800 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
45801 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
45802 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
45803 * string/Makefile [$(cross-compiling) = no]: Likewise.
45804
45805 * posix/Makefile ($(objpfx)globtest.out): Pass
45806 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
45807 $(rtld-installed-name).
45808 * posix/globtest.sh (elf_objpfx): Remove variable.
45809 (rtld_installed_name): Likewise.
45810 (library_path): Likewise.
45811 (run_program_prefix): New variable. Use for running globtest
45812 binary.
45813
45814 2012-10-23 Jim Blandy <jimb@codesourcery.com>
45815 Joseph Myers <joseph@codesourcery.com>
45816
45817 * Makeconfig (host-built-program-cmd): New variable.
45818 * elf/Makefile (tst-stackguard1-ARGS): Use
45819 $(host-built-program-cmd).
45820 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
45821 (tst-spawn-ARGS): Likewise.
45822 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
45823
45824 2012-10-23 Joseph Myers <joseph@codesourcery.com>
45825 Jim Blandy <jimb@codesourcery.com>
45826
45827 * Makeconfig (run-via-rtld-prefix): New variable.
45828 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
45829 (built-program-cmd): Likewise.
45830
45831 2012-10-22 Andreas Jaeger <aj@suse.de>
45832
45833 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
45834 __O_RSYNC if it exists, otherwise to O_SYNC.
45835
45836 2012-10-22 Jim Blandy <jimb@codesourcery.com>
45837 Joseph Myers <joseph@codesourcery.com>
45838
45839 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
45840 /dev/null.
45841 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
45842 from /dev/null
45843 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
45844 /dev/null.
45845
45846 2012-10-22 Andreas Jaeger <aj@suse.de>
45847
45848 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
45849 Define always.
45850 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
45851
45852 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45853 bits/fcntl-linux.h.
45854
45855 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
45856 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
45857
45858 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
45859 to __O_LARGEFILE.
45860 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
45861 to __O_LARGEFILE.
45862
45863 2012-10-21 Jim Blandy <jimb@codesourcery.com>
45864 Joseph Myers <joseph@codesourcery.com>
45865
45866 * config.make.in (NM): New variable.
45867
45868 2012-10-21 Andreas Jaeger <aj@suse.de>
45869
45870 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
45871 definitions and declarations that are provided by
45872 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
45873
45874 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
45875
45876 [BZ #14683]
45877 * elf/Makefile (tests-static): Add tst-leaks1-static.
45878 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
45879 ($(objpfx)tst-leaks1-static): New rule.
45880 ($(objpfx)tst-leaks1-static-mem): Likewise.
45881 (tst-leaks1-static-ENV): New macro.
45882 * elf/dl-open.c (dl_open_worker): Check the main application
45883 only if SHARED is defined.
45884 * elf/tst-leaks1-static.c: New file.
45885
45886 2012-10-20 Andreas Jaeger <aj@suse.de>
45887
45888 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
45889 generic values for Linux.
45890 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
45891 and declarations that are provided by <bits/fcntl-linux.h> and
45892 include <bits/fcntl-linux.h>.
45893 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45894 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45895
45896 2012-10-20 Roland McGrath <roland@hack.frob.com>
45897
45898 * io/fcntl.h: Move include of <bits/types.h> to the top and
45899 include it unconditionally.
45900
45901 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
45902
45903 * wcsmbs/Makefile (tests-ifunc): New variable.
45904 (tests): Add $(tests-ifunc).
45905 * wcsmbs/test-wcschr-ifunc.c: New file.
45906 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
45907 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
45908 * wcsmbs/test-wcslen-ifunc.c: Likewise.
45909 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
45910 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
45911
45912 * string/Makefile (tests-ifunc): New variable.
45913 (tests): Add $(tests-ifunc).
45914 * string/test-memccpy.c (TEST_NAME): New macro.
45915 * string/test-memchr.c (TEST_NAME): Likewise.
45916 * string/test-memcmp.c (TEST_NAME): Likewise.
45917 * string/test-memcpy.c (TEST_NAME): Likewise.
45918 * string/test-memmem.c (TEST_NAME): Likewise.
45919 * string/test-memmove.c (TEST_NAME): Likewise.
45920 * string/test-memset.c (TEST_NAME): Likewise.
45921 * string/test-rawmemchr.c (TEST_NAME): Likewise.
45922 * string/test-stpcpy.c (TEST_NAME): Likewise.
45923 * string/test-stpncpy.c (TEST_NAME): Likewise.
45924 * string/test-strcasecmp.c (TEST_NAME): Likewise.
45925 * string/test-strcasestr.c (TEST_NAME): Likewise.
45926 * string/test-strcat.c (TEST_NAME): Likewise.
45927 * string/test-strchr.c (TEST_NAME): Likewise.
45928 * string/test-strcmp.c(TEST_NAME): Likewise.
45929 * string/test-strcpy.c (TEST_NAME): Likewise.
45930 * string/test-strcspn.c (TEST_NAME): Likewise.
45931 * string/test-strlen.c (TEST_NAME): Likewise.
45932 * string/test-strncasecmp.c (TEST_NAME): Likewise.
45933 * string/test-strncmp.c (TEST_NAME): Likewise.
45934 * string/test-strncpy.c (TEST_NAME): Likewise.
45935 * string/test-strnlen.c (TEST_NAME): Likewise.
45936 * string/test-strpbrk.c (TEST_NAME): Likewise.
45937 * string/test-strrchr.c (TEST_NAME): Likewise.
45938 * string/test-strspn.c (TEST_NAME): Likewise.
45939 * string/test-strstr.c (TEST_NAME): Likewise.
45940 * string/test-bcopy-ifunc.c: New file.
45941 * string/test-bzero-ifunc.c: Likewise.
45942 * string/test-memccpy-ifunc.c: Likewise.
45943 * string/test-memchr-ifunc.c: Likewise.
45944 * string/test-memcmp-ifunc.c: Likewise.
45945 * string/test-memcpy-ifunc.c: Likewise.
45946 * string/test-memmem-ifunc.c: Likewise.
45947 * string/test-memmove-ifunc.c: Likewise.
45948 * string/test-mempcpy-ifunc.c: Likewise.
45949 * string/test-memset-ifunc.c: Likewise.
45950 * string/test-rawmemchr-ifunc.c: Likewise.
45951 * string/test-stpcpy-ifunc.c: Likewise.
45952 * string/test-stpncpy-ifunc.c: Likewise.
45953 * string/test-strcasecmp-ifunc.c: Likewise.
45954 * string/test-strcasestr-ifunc.c: Likewise.
45955 * string/test-strcat-ifunc.c: Likewise.
45956 * string/test-strchr-ifunc.c: Likewise.
45957 * string/test-strchrnul-ifunc.c: Likewise.
45958 * string/test-strcmp-ifunc.c: Likewise.
45959 * string/test-strcpy-ifunc.c: Likewise.
45960 * string/test-strcspn-ifunc.c: Likewise.
45961 * string/test-strlen-ifunc.c: Likewise.
45962 * string/test-strncasecmp-ifunc.c: Likewise.
45963 * string/test-strncat-ifunc.c: Likewise.
45964 * string/test-strncmp-ifunc.c: Likewise.
45965 * string/test-strncpy-ifunc.c: Likewise.
45966 * string/test-strnlen-ifunc.c: Likewise.
45967 * string/test-strpbrk-ifunc.c: Likewise.
45968 * string/test-strrchr-ifunc.c: Likewise.
45969 * string/test-strspn-ifunc.c: Likewise.
45970 * string/test-strstr-ifunc.c: Likewise.
45971
45972 * debug/Makefile (tests-ifunc): New variable.
45973 (tests): Add $(tests-ifunc).
45974 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
45975 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
45976 * debug/test-stpcpy_chk-ifunc.c: New file.
45977 * debug/test-strcpy_chk-ifunc.c: Likewise.
45978
45979 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
45980
45981 [BZ #13601]
45982 * elf/dl-load.c (open_verify): Retry read if the entire ELF
45983 header is not read in.
45984
45985 2012-10-19 Joseph Myers <joseph@codesourcery.com>
45986
45987 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
45988 script to $(SHELL) as $<. Pass $(common-objpfx) to script
45989 directly. Pass built executable to script as
45990 $(built-program-cmd).
45991 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
45992 $testprogram without using LD_LIBRARY_PATH and $ldso.
45993
45994 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
45995 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
45996 $(rtld-installed-name).
45997 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
45998 (rtld_installed_name): Likewise.
45999 (library_path): Likewise.
46000 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
46001 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
46002 $(run-program-prefix) to tst-tables.sh.
46003 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
46004 it to run tst-table-from and tst-table-to.
46005 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
46006 Pass it to tst-table.sh.
46007 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
46008 $(run-program-prefix) to tst-gettext.sh.
46009 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
46010 tst-translit.sh.
46011 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
46012 tst-gettext2.sh.
46013 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
46014 to run tst-gettext.
46015 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
46016 to run tst-gettext2.
46017 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
46018 to run tst-translit.
46019 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
46020 $(run-program-prefix) to tst-mtrace.sh.
46021 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
46022 to run tst-mtrace.
46023 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
46024 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
46025 $(rtld-installed-name).
46026 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
46027 (rtld_installed_name): Likewise.
46028 (run_program_prefix): New variable. Use it to run wordexp-test.
46029
46030 * Makeconfig (ARCH): Remove all definitions.
46031 (machine): Likewise.
46032 [ARCH]: Remove conditional code.
46033 [!objdir]: Give error.
46034 [!objdir] (objpfx): Remove.
46035 [!objdir] (common-objpfx): Likewise.
46036 [!objdir] (common-objdir): Likewise.
46037 * configure.in (config_makefile): Remove. Hardcode Makefile in
46038 AC_CONFIG_FILES call.
46039 * configure: Regenerated.
46040
46041 [BZ #13888]
46042 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
46043 or TMPDIR.
46044 (testout): Likewise.
46045
46046 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
46047 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
46048 $(rtld-installed-name).
46049 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
46050 (rtld_installed_name): Likwise.
46051 (runit): Remove function.
46052 (run_getconf): New variable, Use it for running getconf binary.
46053
46054 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
46055
46056 [BZ #14716]
46057 * string/test-memmem.c (check_result): New function.
46058 (do_one_test): Use it.
46059 (check1): New function.
46060 (test_main): Use it.
46061
46062 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
46063
46064 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
46065
46066 2012-10-18 Joseph Myers <joseph@codesourcery.com>
46067
46068 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
46069 (_G_LSEEK64): Likewise.
46070 (_G_MMAP64): Likewise.
46071 (_G_FSTAT64): Likewise.
46072 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
46073 (_G_LSEEK64): Likewise.
46074 (_G_MMAP64): Likewise.
46075 (_G_FSTAT64): Likewise.
46076 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
46077 unconditional. Call __mmap64 directly.
46078 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
46079 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
46080 __lseek64 directly.
46081 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
46082 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
46083 __mmap64 directly.
46084 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
46085 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
46086 __lseek64 directly.
46087 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
46088 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
46089 __lseek64 directly.
46090 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
46091 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
46092 __lseek64 directly.
46093 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
46094 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
46095 __fxstat64 directly.
46096 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
46097 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
46098 unconditional.
46099 (freopen64) [!_G_OPEN64]: Remove conditional code.
46100 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
46101 unconditional.
46102 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
46103 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
46104 unconditional.
46105 (ftello64) [!_G_LSEEK64]: Remove conditional code.
46106 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
46107 unconditional.
46108 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
46109 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
46110 unconditional.
46111 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
46112 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
46113 unconditional.
46114 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
46115 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
46116 unconditional.
46117 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
46118 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
46119 unconditional.
46120 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
46121
46122 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
46123
46124 [BZ #12140]
46125 * manual/memory.texi (Malloc Tunable Parameters): Add note
46126 about free list pointers overwriting some perturb bytes.
46127 Wording suggested by Roland McGrath.
46128
46129 2012-10-17 Joseph Myers <joseph@codesourcery.com>
46130
46131 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
46132 (lgamma_test): Likewise.
46133 (tgamma_test): Likewise.
46134
46135 2012-10-16 Florian Weimer <fweimer@redhat.com>
46136
46137 [BZ #14700]
46138 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
46139 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
46140
46141 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
46142
46143 * NEWS: Mention BZ #14716.
46144 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
46145 when removing AVAILABLE1_USES_J macro.
46146
46147 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
46148
46149 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
46150 (__bswap_64): __uint64_t for unsigned 64-bit int.
46151
46152 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
46153
46154 * include/string.h (memmem): Declare libc hidden alias.
46155 * string/memmem.c (memmem): Define libc hidden alias.
46156 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
46157 __read, __close instead of open, read, close.
46158
46159 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
46160
46161 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
46162 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
46163 global and hidden.
46164 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
46165 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
46166 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
46167 Likewise.
46168 (__rawmemchr_sse2): Likewise.
46169 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
46170 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
46171 (__strchr_sse2): Likewise.
46172 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
46173 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
46174 (__strcasecmp_sse2): Likewise.
46175 (__strncasecmp_sse2): Likewise.
46176 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
46177 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
46178 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
46179 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
46180 (__strrchr_sse2): Likewise.
46181 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
46182 ifunc-impl-list.c.
46183 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
46184 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
46185 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
46186 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
46187 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
46188 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
46189 * sysdeps/x86_64/multiarch/memset.S: Likewise.
46190 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
46191 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
46192 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
46193 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
46194 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
46195 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
46196 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
46197 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
46198 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
46199 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
46200 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
46201 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
46202 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
46203 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
46204 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
46205 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
46206 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
46207 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
46208 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
46209 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
46210 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
46211 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
46212 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
46213
46214 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
46215 global and hidden.
46216 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
46217 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
46218 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
46219 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
46220 Likewise.
46221 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
46222 Likewise.
46223 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
46224 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
46225 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
46226 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
46227 ifunc-impl-list.c.
46228 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
46229 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
46230 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
46231 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
46232 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
46233 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
46234 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
46235 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
46236 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
46237 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
46238 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
46239 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
46240 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
46241 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
46242 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
46243 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
46244 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
46245 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
46246 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
46247 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
46248 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
46249 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
46250 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
46251 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
46252 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
46253 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
46254 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
46255 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
46256 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
46257 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
46258 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
46259 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
46260 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
46261 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
46262 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
46263 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
46264 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
46265 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
46266 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
46267 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
46268 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
46269
46270 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
46271 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
46272 * include/ifunc-impl-list.h: New file.
46273 * misc/ifunc-impl-list.c: Likewise.
46274 * misc/Makefile (routines): Add ifunc-impl-list.
46275 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
46276 * string/test-string.h: Include <ifunc-impl-list.h>.
46277 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
46278 TEST_NAME]: New variables.
46279 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
46280 are defined.
46281 (test_init): Call __libc_ifunc_impl_list to initialize
46282 func_list if TEST_IFUNC and TEST_NAME are defined.
46283
46284 * string/Makefile (strop-tests): Add bcopy and bzero.
46285 * string/test-bcopy.c: New file.
46286 * string/test-bzero.c: Likewise.
46287 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
46288 defined.
46289 * string/test-memset.c: Support bzero test if TEST_BZERO is
46290 defined.
46291 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
46292 __libc_memmove.
46293 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
46294 __libc_memset.
46295 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
46296 of memset.
46297
46298 2012-10-10 Joseph Myers <joseph@codesourcery.com>
46299
46300 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
46301 * configure: Regenerated.
46302
46303 * Makeconfig (+link-static-before-libc): Don't include
46304 $(link-static-libc).
46305
46306 * libio/libio.h (_IO_pos_t): Remove.
46307
46308 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
46309
46310 * NEWS: Add note about FIPS mode. Wording suggested by Roland
46311 McGrath.
46312
46313 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
46314
46315 * crypt/crypt-entry.c: Include fips-private.h.
46316 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
46317 * crypt/md5c-test.c (main): Tolerate disabled MD5.
46318 * sysdeps/unix/sysv/linux/fips-private.h: New file.
46319 * sysdeps/generic/fips-private.h: New file, dummy fallback.
46320
46321 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
46322
46323 * crypt/crypt-private.h: Include stdbool.h.
46324 (_ufc_setup_salt_r): Return bool.
46325 * crypt/crypt-entry.c: Include errno.h.
46326 (__crypt_r): Return NULL with EINVAL for bad salt.
46327 * crypt/crypt_util.c (bad_for_salt): New.
46328 (_ufc_setup_salt_r): Check that salt is long enough and within
46329 the specified alphabet.
46330 * crypt/badsalttest.c: New file.
46331 * crypt/Makefile (tests): Add it.
46332 ($(objpfx)badsalttest): New.
46333
46334 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
46335
46336 * NEWS: Add entry for BZ #14602.
46337
46338 2012-10-09 Joseph Myers <joseph@codesourcery.com>
46339
46340 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
46341 type-generic.
46342 * math/libm-test.inc: Update comment listing what functions and
46343 macros are tested.
46344 (isgreater_test): New function.
46345 (isgreaterequal_test): Likewise.
46346 (isless_test): Likewise.
46347 (islessequal_test): Likewise.
46348 (islessgreater_test): Likewise.
46349 (isunordered_test): Likewise.
46350 (main): Call the new functions.
46351
46352 2012-10-09 Roland McGrath <roland@hack.frob.com>
46353
46354 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
46355 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
46356 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
46357 * sysdeps/i386/configure: Regenerated.
46358 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
46359 * sysdeps/mach/configure: Regenerated.
46360 * sysdeps/mach/hurd/configure: Regenerated.
46361 * sysdeps/powerpc/configure: Regenerated.
46362 * sysdeps/powerpc/powerpc32/configure: Regenerated.
46363 * sysdeps/powerpc/powerpc64/configure: Regenerated.
46364 * sysdeps/s390/s390-32/configure: Regenerated.
46365 * sysdeps/s390/s390-64/configure: Regenerated.
46366 * sysdeps/sh/configure: Regenerated.
46367 * sysdeps/sparc/configure: Regenerated.
46368 * sysdeps/unix/sysv/linux/configure: Regenerated.
46369 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
46370 * sysdeps/x86_64/configure: Regenerated.
46371
46372 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
46373 defined. Don't check if MAP is NULL.
46374
46375 2012-10-09 Joseph Myers <joseph@codesourcery.com>
46376
46377 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
46378 (_G_stat64): Likewise.
46379 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
46380 (_G_stat64): Likewise.
46381 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
46382 instead of struct _G_stat64.
46383 * libio/fileops.c (mmap_remap_check): Likewise.
46384 (decide_maybe_mmap): Likewise.
46385 (_IO_new_file_seekoff): Likewise.
46386 (_IO_file_stat): Likewise.
46387 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
46388 _G_off64_t.
46389 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
46390 instead of struct _G_stat64.
46391 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
46392
46393 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
46394
46395 [BZ #14602]
46396 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
46397 Replace with ...
46398 (CHECK_EOL): New macro.
46399 (two_way_short_needle): Check beginning of haystack for EOL. Use
46400 CHECK_EOL.
46401 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
46402 Replace with CHECK_EOL.
46403 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
46404 Replace with CHECK_EOL.
46405
46406 2012-10-08 Joseph Myers <joseph@codesourcery.com>
46407
46408 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
46409 type-generic.
46410 * math/libm-test.inc: Update comment listing what functions and
46411 macros are tested.
46412 (finite_test): New function.
46413 (isinf_test): Likewise.
46414 (isnan_test): Likewise.
46415 (fpclassify_test): Test subnormal input.
46416 (isfinite_test): Likewise.
46417 (isnormal_test): Likewise.
46418 (main): Call the new functions.
46419
46420 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
46421
46422 [BZ #14660]
46423 * Makerules (%.dynsym): Force C locale when running
46424 $(OBJDUMP) --dynamic-syms.
46425
46426 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
46427
46428 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
46429 <stdint.h>.
46430
46431 2012-10-06 David S. Miller <davem@davemloft.net>
46432
46433 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
46434 upper 32-bits of the length value in %o2 since we use branch-on-register
46435 tests which consider the entire 64-bit register.
46436
46437 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
46438
46439 * string/test-strstr.c (check2): Add a test for page boundary.
46440
46441 2012-10-05 David S. Miller <davem@davemloft.net>
46442
46443 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
46444 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
46445 file.
46446 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
46447 sysdep_routines.
46448 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
46449 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
46450 and bzero when HWCAP_SPARC_CRYPTO is present.
46451
46452 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
46453
46454 [BZ #14602]
46455 * string/test-strstr.c (check2): New function.
46456 (test_main): Call check2.
46457
46458 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
46459 and bug-strchr1.
46460 * string/bug-strcasestr1.c (do_test): Moved to ...
46461 * string/test-strcasestr.c (check1): Here. New function.
46462 (do_one_test): Break out result checking code into ...
46463 (check_result): This. New function.
46464 (do_one_test): Call check_result.
46465 (test_main): Call check1.
46466 * string/bug-strchr1.c (do_test): Moved to ...
46467 * string/test-strchr.c (check1): Here. New function.
46468 (do_one_test): Break out result checking code into ...
46469 (check_result): This. New function.
46470 (do_one_test): Call check_result.
46471 (test_main): Call check1.
46472 * string/bug-strstr1.c (main): Moved to ...
46473 * string/test-strstr.c (check1): Here. New function.
46474 (do_one_test): Break out result checking code into ...
46475 (check_result): This. New function.
46476 (do_one_test): Call check_result.
46477 (test_main): Call check1.
46478 * string/bug-strcasestr1.c: Removed.
46479 * string/bug-strchr1.c: Likewise.
46480 * string/bug-strstr1.c: Likewise.
46481
46482 * elf/Makefile (dl-routines): Add hwcaps.
46483 * elf/dl-support.c (_dl_important_hwcaps): Removed.
46484 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
46485 (_dl_important_hwcaps): Moved to ...
46486 * elf/dl-hwcaps.c: Here. New file.
46487 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
46488
46489 [BZ #14557]
46490 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
46491 if IS_IN_rtld isn't defined.
46492
46493 * elf/dl-support.c (_dl_sysinfo_map): New.
46494 Include "get-dynamic-info.h" and "setup-vdso.h".
46495 (_dl_non_dynamic_init): Call setup_vdso.
46496 * elf/dynamic-link.h: Don't include <assert.h>.
46497 (elf_get_dynamic_info): Moved to ...
46498 * elf/get-dynamic-info.h: Here. New file.
46499 * elf/dynamic-link.h: Include "get-dynamic-info.h".
46500 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
46501 * elf/setup-vdso.h: Here. New file.
46502 * elf/rtld.c: Include "setup-vdso.h".
46503 (dl_main): Call setup_vdso.
46504
46505 2012-10-05 Joseph Myers <joseph@codesourcery.com>
46506
46507 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
46508 creal in comment listing functions tested. List finite, isinf,
46509 isnan, isless, islessequal, isgreater, isgreaterequal,
46510 islessgreater, isunordered, lgamma_r and pow10 as functions and
46511 macros not tested. Mention which functions not tested are aliases
46512 for other functions. Fix typo. Note that signs of NaNs are not
46513 tested.
46514
46515 * scripts/config.guess: Update from config.git.
46516 * scripts/config.sub: Likewise.
46517
46518 2012-10-04 Roland McGrath <roland@hack.frob.com>
46519
46520 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
46521 * misc/madvise.c (madvise): Renamed to __madvise.
46522 Make madvise a weak alias.
46523 * include/sys/mman.h: Declare __madvise.
46524 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
46525 * sysdeps/unix/syscalls.list
46526 (madvise): Make __madvise the strong name, and madvise a weak alias.
46527 * sysdeps/unix/sysv/linux/syscalls.list
46528 (madvise, mmap): Remove redundant entries.
46529 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
46530 * malloc/malloc.c (mtrim): Likewise.
46531 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
46532
46533 2012-10-03 Roland McGrath <roland@hack.frob.com>
46534
46535 * sysdeps/mach/hurd/dl-cache.c: File removed.
46536 * config.h.in (USE_LDCONFIG): New #undef.
46537 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
46538 * configure: Regenerated.
46539 * elf/Makefile (dl-routines): Add dl-cache only under
46540 [$(use-ldconfig) = yes].
46541 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
46542 cache on [USE_LDCONFIG].
46543 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
46544 [USE_LDCONFIG].
46545 * elf/rtld.c (dl_main): Likewise.
46546
46547 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
46548
46549 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
46550 _SC_LEVEL4_CACHE_LINESIZE.
46551
46552 2012-10-03 Roland McGrath <roland@hack.frob.com>
46553
46554 * sysdeps/unix/bsd/confstr.h: File removed.
46555
46556 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
46557
46558 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
46559 sys/sdt-config.h.
46560
46561 2012-10-02 Roland McGrath <roland@hack.frob.com>
46562
46563 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
46564 Make 'mapoff' field ElfW(Off) rather than off_t.
46565
46566 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
46567
46568 * nscd/Makefile: Remove nscd-cflags and all its users.
46569 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
46570 (CFLAGS-nonlib): Add compiler flags for nscd modules.
46571
46572 [BZ #10631]
46573 * malloc.c (malloc_printerr): Clarify error message.
46574
46575 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
46576
46577 [BZ #14648]
46578 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46579 Set bit_FMA_Usable if FMA is supported.
46580 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
46581 macro.
46582 (bit_FMA4_Usable): Updated.
46583 (index_FMA_Usable): New macro.
46584 (CPUID_FMA): Likewise
46585 (HAS_FMA): Defined with bit_FMA_Usable.
46586
46587 2012-10-01 Roland McGrath <roland@hack.frob.com>
46588
46589 * bits/types.h (__swblk_t): Type removed.
46590 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
46591 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
46592 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46593 (__SWBLK_T_TYPE): Likewise.
46594 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
46595 (__SWBLK_T_TYPE): Likewise.
46596 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46597 (__SWBLK_T_TYPE): Likewise.
46598 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
46599 (__SWBLK_T_TYPE): Likewise.
46600
46601 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
46602 Honza Horak <hhorak@redhat.com>
46603
46604 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
46605 (xdr_mapname): Use YPMAXMAP as maxsize.
46606 (xdr_peername): Use YPMAXPEER as maxsize.
46607 (xdr_keydat): Use YPAXRECORD as maxsize.
46608 (xdr_valdat): Use YPMAXRECORD as maxsize.
46609
46610 2012-10-01 Roland McGrath <roland@hack.frob.com>
46611
46612 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
46613
46614 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
46615 * csu/init-first.c: ... here.
46616 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
46617 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
46618 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
46619 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
46620 * sysdeps/i386/init-first.c: File removed.
46621 * sysdeps/sh/init-first.c: File removed.
46622
46623 2012-10-01 Joseph Myers <joseph@codesourcery.com>
46624
46625 [BZ #14645]
46626 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
46627 if x * y might underflow to zero and z is zero.
46628 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
46629 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
46630 * math/libm-test.inc (min_subnorm_value): New variable.
46631 (fma_test): Add more tests.
46632 (fma_test_towardzero): Likewise.
46633 (fma_test_downward): Likewise
46634 (fma_test_upward): Likewise.
46635 (initialize): Set min_subnorm_value.
46636
46637 2012-09-29 Joseph Myers <joseph@codesourcery.com>
46638
46639 [BZ #14638]
46640 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
46641 0 + 0.
46642 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
46643 mode for addition resulting in exact zero.
46644 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
46645 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
46646 exact 0 + 0.
46647 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
46648 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
46649 * math/libm-test.inc (fma_test): Add more tests.
46650 (fma_test_towardzero): New function.
46651 (fma_test_downward): Likewise.
46652 (fma_test_upward): Likewise.
46653 (main): Call the new functions.
46654
46655 2012-09-28 David S. Miller <davem@davemloft.net>
46656
46657 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
46658
46659 2012-09-28 Roland McGrath <roland@hack.frob.com>
46660
46661 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
46662 instead of SIGALRM.
46663
46664 * sysdeps/gnu/_G_config.h: Moved to ...
46665 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
46666 * sysdeps/mach/hurd/_G_config.h: Moved to ...
46667 * sysdeps/generic/_G_config.h: ... here.
46668
46669 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
46670
46671 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
46672
46673 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
46674 Conditionalize target on [libnss_test1.so-version].
46675
46676 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
46677
46678 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
46679 (elfobjdir): Move out of conditionals.
46680
46681 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
46682 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
46683 (__nss_lookup_function): Conditionalize label remove_from_tree on
46684 [!DO_STATIC_NSS || SHARED], matching its only use.
46685
46686 2012-09-28 David S. Miller <davem@davemloft.net>
46687
46688 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
46689 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
46690 file.
46691 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
46692 sysdep_routines.
46693 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
46694 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
46695 when HWCAP_SPARC_CRYPTO is present.
46696
46697 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
46698
46699 * io/tst-mknodat.c: Create a FIFO instead of a socket.
46700
46701 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
46702
46703 [BZ #6530]
46704 * stdio-common/vfprintf.c (process_string_arg): Revert
46705 2000-07-22 change.
46706
46707 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
46708
46709 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
46710 for testcase.
46711 * stdio-common/tst-sprintf.c: Include <locale.h>
46712 (main): Test sprintf's handling of incomplete multibyte
46713 characters.
46714
46715 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
46716
46717 * elf/dl-runtime.c (VERSYMIDX): Removed.
46718 * elf/dl-version.c (VERSYMIDX): Likewise.
46719 * elf/do-rel.h (VERSYMIDX): Likewise.
46720 (VALIDX): Likewise.
46721 * elf/dynamic-link.h (VERSYMIDX): Likewise.
46722 * elf/rtld.c (VALIDX): Likewise.
46723 (ADDRIDX): Likewise.
46724 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
46725 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
46726 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
46727 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
46728 (VALIDX): Likewise.
46729 (ADDRIDX): Likewise.
46730
46731 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
46732
46733 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
46734
46735 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
46736
46737 [BZ #11438]
46738 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
46739 to global scope.
46740 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
46741 addresses are in the same scope as 192.0.2/24.
46742 * posix/gai.conf: Document new scope table defaults.
46743
46744 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
46745
46746 [BZ #5298]
46747 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
46748 for ftell. Compute offsets from write pointers instead.
46749 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
46750
46751 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
46752
46753 [BZ #14543]
46754 * libio/Makefile (tests): New test case tst-fseek.
46755 * libio/tst-fseek.c: New test case to verify that fseek/ftell
46756 combination works in wide mode.
46757 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
46758 state when the external buffer state changes.
46759
46760 2012-09-27 David S. Miller <davem@davemloft.net>
46761
46762 [BZ #14376]
46763 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
46764 pass reloc->r_addend in as the 'high' argument to
46765 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
46766
46767 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46768
46769 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
46770
46771 * rt/tst-aio2.c: Include <pthread.h>.
46772 * rt/tst-aio3.c: Likewise.
46773
46774 2012-09-27 Steve Ellcey <sellcey@mips.com>
46775
46776 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
46777
46778 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
46779
46780 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
46781 contents on [SHARED].
46782
46783 2012-09-26 Marek Polacek <polacek@redhat.com>
46784
46785 [BZ #14530]
46786 [BZ #13741]
46787 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
46788 for C++ and GCC <4.3 as well as for non GCC compilers.
46789
46790 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
46791
46792 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46793
46794 2012-09-25 Roland McGrath <roland@hack.frob.com>
46795
46796 * Makefile.in (all, install): Declare with .PHONY.
46797 Reported by Michael Hope <michael.hope@linaro.org>.
46798
46799 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
46800
46801 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
46802 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
46803 system header.
46804 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
46805 Likewise.
46806 (sydep_routines): Add the new and the internal functions.
46807 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
46808 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
46809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
46810 (GLIBC_2.17): Add the new function.
46811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
46812 (GLIBC_2.17): Likewise.
46813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
46814 (GLIBC_2.17): Likewise.
46815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
46816 (GLIBC_2.17): Likewise.
46817 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
46818
46819 2012-09-25 Alan Modra <amodra@gmail.com>
46820
46821 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
46822 Add release barrier before setting once_control to say
46823 initialisation is done. Add hints on lwarx. Use macro in
46824 place of isync.
46825 (clear_once_control): Add release barrier.
46826
46827 2012-09-25 Joseph Myers <joseph@codesourcery.com>
46828
46829 [BZ #13629]
46830 * math/s_clog.c (__clog): Handle more values close to |z| = 1
46831 specially.
46832 * math/s_clog10.c (__clog10): Likewise.
46833 * math/s_clog10f.c (__clog10f): Likewise.
46834 * math/s_clog10l.c (__clog10l): Likewise.
46835 * math/s_clogf.c (__clogf): Likewise.
46836 * math/s_clogl.c (__clogl): Likewise.
46837 * math/Makefile (libm-calls): Add x2y2m1.
46838 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
46839 (__x2y2m1): Likewise.
46840 (__x2y2m1l): Likewise.
46841 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
46842 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
46843 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
46844 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
46845 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
46846 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
46847 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
46848 * sysdeps/i386/fpu/libm-test-ulps: Update.
46849 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46850
46851 [BZ #14621]
46852 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
46853 int as type of variable DEPTH.
46854 (glob): Use size_t instead of int as type of variables NEWCOUNT
46855 and OLD_PATHC.
46856
46857 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46858
46859 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
46860 Add s_sincosf-sse2.
46861 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
46862 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
46863 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
46864 macros for using routine as __sincosf_ia32.
46865 Use macro for function declaration and weak_alias.
46866 * sysdeps/i386/fpu/libm-test-ulps: Update.
46867
46868 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
46869 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46870
46871 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
46872 subnormal argument.
46873 * math/s_cexpf.c (__cexpf): Likewise.
46874 * math/s_csinf.c (__csinf): Likewise.
46875 * math/s_csinhf.c (__csinhf): Likewise.
46876 * math/s_ctanf.c (__ctanf): Likewise.
46877 * math/s_ctanhf.c (__ctanhf): Likewise.
46878 * math/s_ccosh.c (__ccoshf): Likewise.
46879 * math/s_cexp.c (__cexpl): Likewise.
46880 * math/s_csin.c (__csin): Likewise.
46881 * math/s_csinh.c (__csinh): Likewise.
46882 * math/s_ctan.c (__ctan): Likewise.
46883 * math/s_ctanh.c (ctanh): Likewise.
46884 * math/s_ccoshl.c (__ccoshl): Likewise.
46885 * math/s_cexpl.c (__cexpl): Likewise.
46886 * math/s_csinl.c (__csinl): Likewise.
46887 * math/s_csinhl.c (__csinhl): Likewise.
46888 * math/s_ctanl.c (__ctanl): Likewise.
46889 * math/s_ctanhl.c (__ctanhl): Likewise.
46890
46891 2012-09-25 Joseph Myers <joseph@codesourcery.com>
46892
46893 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
46894 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
46895 (_IO_off_t): Define to __off_t, not _G_off_t.
46896 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
46897 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
46898 (_IO_wint_t): Define to wint_t, not _G_wint_t.
46899 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
46900 type of __dummy and __dummy2 fields.
46901 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
46902 (_G_ssize_t): Likewise.
46903 (_G_off_t): Likewise.
46904 (_G_pid_t): Likewise.
46905 (_G_uid_t): Likewise.
46906 (_G_wchar_t): Likewise.
46907 (_G_wint_t): Likewise.
46908 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
46909 (_G_ssize_t): Likewise.
46910 (_G_off_t): Likewise.
46911 (_G_pid_t): Likewise.
46912 (_G_uid_t): Likewise.
46913 (_G_wchar_t): Likewise.
46914 (_G_wint_t): Likewise.
46915 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
46916 (_G_ssize_t): Likewise.
46917 (_G_off_t): Likewise.
46918 (_G_pid_t): Likewise.
46919 (_G_uid_t): Likewise.
46920 (_G_wchar_t): Likewise.
46921 (_G_wint_t): Likewise.
46922
46923 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
46924
46925 * malloc/arena.c: Include malloc-sysdep.h.
46926 (shrink_heap): Use check_may_shrink_heap to decide if madvise
46927 is sufficient to shrink the heap or an unmap is needed.
46928 * sysdeps/generic/malloc-sysdep.h: New file. Define
46929 new function check_may_shrink_heap.
46930 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
46931 new function check_may_shrink_heap.
46932
46933 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
46934
46935 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
46936 comments.
46937
46938 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
46939
46940 * catgets/test-gencat.sh: Add "set -e".
46941 * elf/tst-pathopt.sh: Likewise.
46942 * grp/tst_fgetgrent.sh: Likewise.
46943 * iconvdata/run-iconv-test.sh: Likewise.
46944 * intl/tst-gettext.sh: Likewise.
46945 * intl/tst-gettext2.sh: Likewise.
46946 * intl/tst-gettext4.sh: Likewise.
46947 * intl/tst-gettext6.sh: Likewise.
46948 * intl/tst-translit.sh: Likewise.
46949 * io/ftwtest-sh: Likewise.
46950 * libio/test-freopen.sh: Likewise.
46951 * malloc/tst-mtrace.sh: Likewise.
46952 * posix/globtest.sh: Likewise.
46953 * posix/tst-getconf.sh: Likewise.
46954 * posix/wordexp-tst.sh: Likewise.
46955 * stdio-common/tst-printf.sh: Likewise.
46956 * stdio-common/tst-unbputc.sh: Likewise.
46957 * stdlib/tst-fmtmsg.sh: Likewise.
46958 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
46959 * catgets/Makefile: Do not specify -e option when running
46960 testsuite shell scripts.
46961 * elf/Makefile: Likewise.
46962 * grp/Makefile: Likewise.
46963 * iconvdata/Makefile: Likewise.
46964 * intl/Makefile: Likewise.
46965 * io/Makefile: Likewise.
46966 * libio/Makefile: Likewise.
46967 * malloc/Makefile: Likewise.
46968 * posix/Makefile: Likewise.
46969 * stdio-common/Makefile: Likewise.
46970 * stdlib/Makefile: Likewise.
46971 * sysdeps/x86_64/Makefile: Likewise.
46972
46973 * io/ftwtest-sh: Add copyright header.
46974 * posix/globtest.sh: Likewise.
46975 * posix/tst-getconf.sh: Likewise.
46976 * posix/wordexp-tst.sh: Likewise.
46977 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
46978
46979 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
46980
46981 [BZ #13679]
46982 * Makeconfig (+link): Defined as $(+link-static) if
46983 $(build-shared) isn't yes.
46984 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
46985 isn't yes.
46986 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
46987
46988 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
46989
46990 [BZ #14562]
46991 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
46992 new chunk size with MALLOC_ALIGN_MASK.
46993
46994 2012-09-24 Joseph Myers <joseph@codesourcery.com>
46995
46996 [BZ #5044]
46997 * stdio-common/printf_fphex.c: Include <stdbool.h> and
46998 <rounding-mode.h>.
46999 (__printf_fphex): Determine rounding using get_rounding_mode and
47000 round_away.
47001 * stdio-common/tst-printf-round.c (struct hex_test): New
47002 structure.
47003 (hex_tests): New variable.
47004 (test_hex_in_one_mode): New function.
47005 (do_test): Also run tests for hex float output.
47006
47007 2012-09-21 Joseph Myers <joseph@codesourcery.com>
47008
47009 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
47010 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
47011 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
47012 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
47013 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
47014 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
47015 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
47016 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
47017
47018 2012-09-20 Joseph Myers <joseph@codesourcery.com>
47019
47020 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
47021 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
47022 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
47023 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
47024
47025 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
47026
47027 [BZ #14579]
47028 * elf/rtld.c (dl_main): Limit the check for self loading to normal
47029 mode only.
47030 * elf/tst-rtld-load-self.sh: New test.
47031 * elf/Makefile: Run it.
47032
47033 2012-09-18 Joseph Myers <joseph@codesourcery.com>
47034
47035 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
47036 (tst-writev-ENV): Remove.
47037 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
47038
47039 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
47040
47041 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
47042
47043 2012-09-17 Joseph Myers <joseph@codesourcery.com>
47044
47045 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
47046 unconditional.
47047 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
47048 Likewise.
47049 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
47050 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
47051 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
47052 Likewise.
47053
47054 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
47055
47056 [BZ #14587]
47057 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
47058 * config.make.in (have-cpp-asm-debuginfo): Removed.
47059 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
47060 * configure: Regenerated.
47061
47062 2012-09-14 Joseph Myers <joseph@codesourcery.com>
47063
47064 [BZ #5044]
47065 * stdio-common/printf_fp.c: Include <stdbool.h> and
47066 <rounding-mode.h>.
47067 (___printf_fp): Determine rounding using get_rounding_mode and
47068 round_away.
47069 * stdio-common/tst-printf-round.c: New file.
47070 * stdio-common/Makefile (tests): Add tst-printf-round.
47071 (link-libm): New variable.
47072 ($(objpfx)tst-printf-round): Depend in $(link-libm).
47073
47074 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
47075
47076 [BZ #14576]
47077 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
47078 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
47079 Likewise.
47080 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
47081 Likewise.
47082
47083 2012-09-13 Joseph Myers <joseph@codesourcery.com>
47084
47085 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
47086 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
47087 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
47088 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
47089
47090 2012-09-12 Joseph Myers <joseph@codesourcery.com>
47091
47092 [BZ #14518]
47093 * include/rounding-mode.h: New file.
47094 * sysdeps/generic/get-rounding-mode.h: Likewise.
47095 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
47096 * stdlib/strtod_l.c: Include <rounding-mode.h>.
47097 (MAX_VALUE): New macro.
47098 (MIN_VALUE): Likewise.
47099 (overflow_value): New function.
47100 (underflow_value): Likewise.
47101 (round_and_return): Use overflow_value and underflow_value to
47102 determine return values in overflow and underflow cases. Use
47103 round_away to determine rounding depending on rounding mode.
47104 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
47105 determine return values in overflow and underflow cases.
47106 * stdlib/tst-strtod-round.c: Include <fenv.h>.
47107 (struct test_results): New structure.
47108 (struct test): Use struct test_results to store expected results
47109 for all rounding modes.
47110 (TEST): Include expected results for all rounding modes.
47111 (test_in_one_mode): New function.
47112 (do_test): Use test_in_one_mode to compute and check results.
47113 Check results for all rounding modes.
47114 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
47115 $(link-libm).
47116
47117 2012-12-09 Allan McRae <allan@archlinux.org>
47118
47119 * sysdeps/i386/fpu/libm-test-ulps: Update
47120
47121 2012-09-11 Joseph Myers <joseph@codesourcery.com>
47122
47123 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
47124 (_G_int32_t): Likewise.
47125 (_G_uint16_t): Likewise.
47126 (_G_uint32_t): Likewise.
47127 (_G_HAVE_BOOL): Likewise.
47128 (_G_HAVE_ATEXIT): Likewise.
47129 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
47130 (_G_HAVE_IO_FILE_OPEN): Likewise.
47131 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
47132 (_G_int32_t): Likewise.
47133 (_G_uint16_t): Likewise.
47134 (_G_uint32_t): Likewise.
47135 (_G_HAVE_BOOL): Likewise.
47136 (_G_HAVE_ATEXIT): Likewise.
47137 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
47138 (_G_HAVE_IO_FILE_OPEN): Likewise.
47139 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
47140 (_G_int32_t): Likewise.
47141 (_G_uint16_t): Likewise.
47142 (_G_uint32_t): Likewise.
47143 (_G_HAVE_BOOL): Likewise.
47144 (_G_HAVE_ATEXIT): Likewise.
47145 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
47146 (_G_HAVE_IO_FILE_OPEN): Likewise.
47147
47148 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
47149
47150 * csu/libc-tls.c: Update copyright years.
47151
47152 2012-09-10 Joseph Myers <joseph@codesourcery.com>
47153
47154 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
47155 [!_G_USING_THUNKS]: Remove conditional code.
47156 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
47157 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
47158
47159 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
47160 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
47161 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
47162 (_G_VTABLE_LABEL_PREFIX): Likewise.
47163 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
47164 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
47165 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
47166 (_G_VTABLE_LABEL_PREFIX): Likewise.
47167 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
47168 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
47169 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
47170 (_G_VTABLE_LABEL_PREFIX): Likewise.
47171 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
47172
47173 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
47174
47175 * libio/Makefile: Include ../Makeconfig before tests.
47176 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
47177 only if $(build-shared) is yes.
47178
47179 * iconv/gconv_db.c: Update copyright years.
47180
47181 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47182
47183 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
47184 unwind info if defined PIC. Fix special cases description.
47185 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
47186
47187 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
47188 DP_HI_MASK entry.
47189 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
47190
47191 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
47192
47193 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
47194
47195 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
47196 is NULL.
47197
47198 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
47199 (LDLIBS-tst-chk4): This.
47200 (LDFLAGS-tst-chk5): Renamed to ...
47201 (LDLIBS-tst-chk5): This.
47202 (LDFLAGS-tst-chk6): Renamed to ...
47203 (LDLIBS-tst-chk6): This.
47204 (LDFLAGS-tst-lfschk4): Renamed to ...
47205 (LDLIBS-tst-lfschk4): This.
47206 (LDFLAGS-tst-lfschk5): Renamed to ...
47207 (LDLIBS-tst-lfschk5): This.
47208 (LDFLAGS-tst-lfschk6): Renamed to ...
47209 (LDLIBS-tst-lfschk6): This.
47210
47211 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
47212 on $(common-objpfx)soversions.mk.
47213
47214 2012-09-07 Joseph Myers <joseph@codesourcery.com>
47215
47216 [BZ #10014]
47217 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
47218 example host name.
47219
47220 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
47221
47222 * malloc/arena.c (arena_get_retry): New function that gets
47223 another arena for the caller to try its request on.
47224 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
47225 current arena cannot fulfill the request.
47226 (__libc_memalign): Likewise.
47227 (__libc_memalign): Likewise.
47228 (__libc_pvalloc): Likewise.
47229 (__libc_calloc): Likewise.
47230
47231 2012-09-05 John Tobey <john.tobey@gmail.com>
47232
47233 [BZ #13542]
47234 * manual/arith.texi (Operations on Complex): Fix description
47235 of carg branch cut.
47236
47237 2012-09-06 Joseph Myers <joseph@codesourcery.com>
47238
47239 [BZ #10014]
47240 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
47241 host name.
47242
47243 [BZ #10038]
47244 * manual/memory.texi (Memory): Make order of menu items match
47245 order of sections.
47246
47247 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
47248
47249 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
47250 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
47251 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
47252
47253 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
47254
47255 * csu/libc-tls.c (static_dtv): Renamed to ...
47256 (_dl_static_dtv): This. Make it global.
47257 (_dl_initial_dtv): Removed.
47258 (__libc_setup_tls): Updated.
47259 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
47260 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
47261 DL_INITIAL_DTV.
47262
47263 2012-09-06 Petr Machata <pmachata@redhat.com>
47264
47265 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
47266 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
47267 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
47268 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
47269
47270 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
47271
47272 [BZ #14545]
47273 * csu/libc-tls.c (_dl_initial_dtv): New variable.
47274 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
47275 freeing dtv[-1].
47276
47277 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
47278
47279 [BZ #14544]
47280 * Makeconfig (link-static-before-libc): Replace $(+prector)
47281 with $(+prectorT).
47282 (link-static-after-libc): Replace $(+postctor) with
47283 $(+postctorT).
47284 (link-bounded): Replace $(+prector)/$(+postctor) with
47285 $(+prectorT)/$(+postctorT).
47286 (+prectorT): New macro.
47287 (+postctorT): Likewise.
47288
47289 2012-09-06 Joseph Myers <joseph@codesourcery.com>
47290
47291 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
47292 (round_str): Handle values above the maximum for IBM long double
47293 as inexact.
47294 * stdlib/tst-strtod-round.c (tests): Regenerated.
47295
47296 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47297
47298 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
47299 assembler flag.
47300 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
47301 zarch_nohighgprs around the zarch optimized routines.
47302 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
47303 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
47304 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
47305 for zarch.
47306
47307 2012-09-05 David S. Miller <davem@davemloft.net>
47308
47309 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47310
47311 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
47312 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
47313 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
47314 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
47315 entries.
47316
47317 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
47318
47319 * malloc/arena.c: Fold copyright years.
47320 * malloc/mcheck.c, malloc/memusage.c: Likewise.
47321
47322 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
47323
47324 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
47325
47326 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
47327
47328 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
47329
47330 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
47331
47332 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
47333 change internal state upon failure.
47334
47335 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
47336
47337 * malloc/mcheck.c (mcheck_check_all): Fix typo.
47338 * malloc/memusage.c (mmap): Likewise.
47339 (mmap64, mremap): Likewise. Adjust name in comment.
47340
47341 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
47342
47343 * libio/fileops.c: Fix typos in comments.
47344 * libio/oldfileops.c: Likewise.
47345 * libio/wfileops.c: Likewise.
47346
47347 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
47348
47349 [BZ #1349]
47350 * malloc/Makefile (tests): Add tst-malloc-usable test case.
47351 (tst-malloc-usable-ENV): Set environment for test case.
47352 * malloc/hooks.c (malloc_check_get_size): New function to get
47353 requested size.
47354 * malloc/malloc.c (musable): Use malloc_check_get_size.
47355 * malloc/tst-malloc-usable.c: New test case.
47356
47357 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
47358
47359 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
47360
47361 2012-09-05 Allan McRae <allan@archlinux.org>
47362
47363 [BZ #13966]
47364 * configure.in (CXX_SYSINCLUDES): Use compiler output to
47365 determine header location.
47366 * configure: Regenerated.
47367
47368 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
47369
47370 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
47371 float format.
47372 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
47373 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
47374 format.
47375 (test): Regenerate.
47376
47377 2012-09-04 David S. Miller <davem@davemloft.net>
47378
47379 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
47380 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
47381 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
47382
47383 2012-09-04 Florian Weimer <fweimer@redhat.com>
47384
47385 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
47386 failures.
47387
47388 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
47389
47390 2012-09-04 Joseph Myers <joseph@codesourcery.com>
47391
47392 [BZ #9914]
47393 * libio/iogetdelim.c: Include <limits.h>.
47394 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
47395 + len + 1 would overflow.
47396
47397 2012-09-03 Andreas Jaeger <aj@suse.de>
47398
47399 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47400 * sysdeps/i386/fpu/libm-test-ulps: Update.
47401
47402 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47403
47404 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
47405 Add s_sinf-sse2, s_conf-sse2.
47406
47407 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
47408 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
47409 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
47410 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
47411
47412 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
47413 for using routine as __sinf_ia32.
47414 Use macro for function declaration and weak_alias.
47415 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
47416 for using routine as __cosf_ia32.
47417 Use macro for function declaration and weak_alias.
47418
47419 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
47420 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
47421
47422 * sysdeps/x86_64/fpu/s_sinf.S: New file.
47423 * sysdeps/x86_64/fpu/s_cosf.S: New file.
47424 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47425
47426 * math/libm-test.inc (cos_test): Add more test cases.
47427 (sin_test): Likewise.
47428 (sincos_test): Likewise.
47429
47430 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47431
47432 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
47433 (IFUNC_RESOLVE): Make pointers to the specialized implementations
47434 hidden.
47435 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
47436
47437 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
47438
47439 [BZ #14538]
47440 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
47441 first element of the GOT.
47442 (elf_machine_load_address): Return the difference between
47443 the runtime address of _DYNAMIC and elf_machine_dynamic ().
47444
47445 2012-09-01 Allan McRae <allan@archlinux.org>
47446
47447 [BZ #13412]
47448 * configure.in (AWK): Require gawk version 3.0 or later.
47449 * configure: Regenerated.
47450
47451 2012-09-01 Joseph Myers <joseph@codesourcery.com>
47452
47453 * sysdeps/unix/sysv/linux/kernel-features.h
47454 (__ASSUME_POSIX_CPU_TIMERS): Remove.
47455 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
47456 [__NR_clock_getres]: Make code unconditional.
47457 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
47458 (clock_getcpuclockid): Remove code left unreachable by removal of
47459 conditionals.
47460 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
47461 code unconditional.
47462 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
47463 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
47464 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
47465 Make code unconditional.
47466 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
47467 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
47468 * sysdeps/unix/sysv/linux/clock_settime.c
47469 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
47470 conditional code.
47471 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
47472 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
47473
47474 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
47475
47476 [BZ #14476]
47477 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
47478 scripts/test-installation.pl.
47479
47480 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
47481 and $ld_so_version if it is set.
47482
47483 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
47484
47485 [BZ #14516]
47486 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
47487 failure if reading from procfs failed.
47488 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
47489
47490 2012-08-27 Joseph Myers <joseph@codesourcery.com>
47491
47492 * sysdeps/unix/sysv/linux/kernel-features.h
47493 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
47494 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
47495 Remove conditional code.
47496 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47497 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
47498 Remove conditional code.
47499 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47500 * sysdeps/unix/sysv/linux/i386/fxstat.c
47501 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
47502 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47503 * sysdeps/unix/sysv/linux/i386/fxstatat.c
47504 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
47505 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47506 * sysdeps/unix/sysv/linux/i386/lxstat.c
47507 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
47508 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47509 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
47510 Remove conditional code.
47511 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47512 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
47513 Remove conditional code.
47514 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47515 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
47516 <kernel-features.h>.
47517 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
47518 Remove.
47519 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
47520 Remove conditional code.
47521 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47522 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
47523 Remove conditional.
47524
47525 2012-08-27 Mike Frysinger <vapier@gentoo.org>
47526
47527 [BZ #5400]
47528 * NEWS: Add fixed bug number.
47529
47530 2012-08-27 Joseph Myers <joseph@codesourcery.com>
47531
47532 [BZ #14519]
47533 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
47534 underflowing exponent in case of negative sign.
47535 * stdlib/tst-strtod-round-data: Add more tests.
47536 * stdlib/tst-strtod-round.c (tests): Regenerated.
47537
47538 [BZ #3479]
47539 * stdlib/strtod_l.c (NDIG): Remove.
47540 (HEXNDIG): Likewise.
47541 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
47542 smallest representable value.
47543 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
47544 lie within an exact representation of 1/2 ulp of the result.
47545 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
47546 unconditionally.
47547 (TENS_P9_IDX): Define unconditionally.
47548 (TENS_P9_SIZE): Likewise.
47549 (TENS_P10_IDX): Likewise.
47550 (TENS_P10_SIZE): Likewise.
47551 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
47552 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
47553 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
47554 entries for 10^2^13 and 10^2^14.
47555 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
47556 (TENS_P13_IDX): Define.
47557 (TENS_P13_SIZE): Likewise.
47558 (TENS_P14_IDX): Likewise.
47559 (TENS_P14_SIZE): Likewise.
47560 (_fpioconst_pow10): Change array size to
47561 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
47562 unconditional.
47563 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
47564 1024]: Add entries for 10^2^13 and 10^2^14.
47565 [LAST_POW10 > _LAST_POW10]: Remove #error.
47566 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
47567 (_fpioconst_pow10): Change array size to
47568 FPIOCONST_POW10_ARRAY_SIZE.
47569 * stdlib/gen-fpioconst.c: New file.
47570 * stdlib/gen-tst-strtod-round.c: Likewise.
47571 * stdlib/tst-strtod-round-data: Likewise.
47572 * stdlib/tst-strtod-round.c: Likewise.
47573 * stdlib/Makefile (tests): Add tst-strtod-round.
47574
47575 [BZ #14459]
47576 * stdlib/strtod_l.c: Include <stdint.h>.
47577 (NDEBUG): Do not define.
47578 (round_and_return): Change EXPONENT parameter to type intmax_t.
47579 Rearrange calculations to avoid internal overflow possibilities.
47580 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
47581 Rearrange calculations to avoid internal overflow possibilities.
47582 Assert that number fits inside MPNSIZE limbs.
47583 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
47584 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
47585 calculations and add assertions to avoid internal overflow
47586 possibilities. Add casts to avoid signed/unsigned operations.
47587 * stdlib/tst-strtod-overflow.c: New file.
47588 * stdlib/Makefile (tests): Add tst-strtod-overflow.
47589
47590 2012-08-25 Marek Polacek <polacek@redhat.com>
47591
47592 * time/time.h: Fix some typos in comments.
47593
47594 2012-08-23 Roland McGrath <roland@hack.frob.com>
47595
47596 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
47597 * posix/tst-rfc3484-2.c: Likewise.
47598 * posix/tst-rfc3484-3.c: Likewise.
47599
47600 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
47601
47602 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
47603 (EF_ARM_ABI_FLOAT_HARD): Likewise.
47604
47605 2012-08-23 Joseph Myers <joseph@codesourcery.com>
47606
47607 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
47608 #include of fxstatat64.c.
47609
47610 2012-08-22 Roland McGrath <roland@hack.frob.com>
47611
47612 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
47613 * shadow/getspent_r.c: Likewise.
47614 * shadow/getspnam.c: Likewise.
47615 * shadow/getspnam_r.c: Likewise.
47616 * gshadow/getsgent.c: Likewise.
47617 * gshadow/getsgent_r.c: Likewise.
47618 * gshadow/getsgnam.c: Likewise.
47619 * gshadow/getsgnam_r.c: Likewise.
47620 * inet/getnetbyad.c: Likewise.
47621 * inet/getnetbyad_r.c: Likewise.
47622 * inet/getnetbynm.c: Likewise.
47623 * inet/getnetbynm_r.c: Likewise.
47624 * inet/getnetent.c: Likewise.
47625 * inet/getnetent_r.c: Likewise.
47626 * inet/getproto.c: Likewise.
47627 * inet/getproto_r.c: Likewise.
47628 * inet/getprtent.c: Likewise.
47629 * inet/getprtent_r.c: Likewise.
47630 * inet/getprtname.c: Likewise.
47631 * inet/getprtname_r.c: Likewise.
47632 * inet/getrpcbyname.c: Likewise.
47633 * inet/getrpcbyname_r.c: Likewise.
47634 * inet/getrpcbynumber.c: Likewise.
47635 * inet/getrpcbynumber_r.c: Likewise.
47636 * inet/getrpcent.c: Likewise.
47637 * inet/getrpcent_r.c: Likewise.
47638 * inet/getaliasent.c: Likewise.
47639 * inet/getaliasent_r.c: Likewise.
47640 * inet/getaliasname.c: Likewise.
47641 * inet/getaliasname_r.c: Likewise.
47642 * nscd/getgrgid_r.c: Likewise.
47643 * nscd/getgrnam_r.c: Likewise.
47644 * nscd/gethstbyad_r.c: Likewise.
47645 * nscd/gethstbynm3_r.c: Likewise.
47646 * nscd/getpwnam_r.c: Likewise.
47647 * nscd/getpwuid_r.c: Likewise.
47648 * nscd/getsrvbynm_r.c: Likewise.
47649 * nscd/getsrvbypt_r.c: Likewise.
47650 * nscd/gai.c: Likewise.
47651
47652 * configure.in (build_nscd): New substituted variable, set
47653 by --disable-build-nscd and defaults to $use_nscd.
47654 * configure: Regenerated.
47655 * config.make.in (build-nscd): New substituted variable.
47656 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
47657 Change conditional to require [$(build-nscd) = yes] as well.
47658 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
47659
47660 [BZ# 13696]
47661 * configure.in (use_nscd): New substituted variable, set by
47662 --disable-nscd. If enabled, define USE_NSCD.
47663 * configure: Regenerated.
47664 * config.h.in: Add USE_NSCD.
47665 * config.make.in (use-nscd): New substituted variable.
47666 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
47667 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
47668 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
47669 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
47670 (CFLAGS-getgrnam_r.c): Likewise.
47671 (CFLAGS-initgroups.c): Likewise.
47672 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
47673 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
47674 Variables removed.
47675 * inet/getnetgrent_r.c
47676 (nscd_setnetgrent): New function, broken out of ...
47677 (setnetgrent): ... here. Call it.
47678 (innetgr): Conditionalize nscd bits on [USE_NSCD].
47679 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
47680 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
47681 * nscd/Makefile (routines, aux): Move definitions after include of
47682 Makeconfig. Conditionalize on [$(use-nscd) != no].
47683 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
47684 Conditionalize on [USE_NSCD].
47685 (is_nscd, nscd_init_cb): Likewise.
47686 (nss_load_library): Conditionalize init callback on [USE_NSCD].
47687 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
47688 * nss/nss_db/db-init.c: Likewise.
47689 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
47690 [USE_NSCD].
47691 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
47692 (make_request): Use it.
47693 (cache_valid_p): New function.
47694 (__check_pf): Use it.
47695 * NEWS: Add item for --disable-nscd.
47696
47697 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
47698
47699 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
47700 to support sed >= 4.2.1-20-ga9bf076.
47701 * configure: Regenerated.
47702
47703 2012-08-22 Roland McGrath <roland@hack.frob.com>
47704
47705 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
47706 Conditionalize whole body on [IREL].
47707
47708 2012-08-22 Jeff Law <law@redhat.com>
47709
47710 [BZ #14505]
47711 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
47712 if the family is PF_UNSPEC.
47713
47714 2012-08-22 Mike Frysinger <vapier@gentoo.org>
47715
47716 * Makerules (lib-version): Rename from V.
47717 (install-lib-nosubdir): Change V to lib-version.
47718
47719 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
47720
47721 [BZ #14252]
47722 * powerpc32/power6/wcschr.c: New file.
47723 * powerpc32/power6/wcscpy.c: New file.
47724 * powerpc32/power6/wcsrchr.c: New file.
47725 * powerpc64/power6/wcschr.c: New file.
47726 * powerpc64/power6/wcscpy.c: New file.
47727 * powerpc64/power6/wcsrchr.c: New file.
47728
47729 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
47730
47731 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
47732 (two_way_short_needle): Use it.
47733 * string/strstr.c (AVAILABLE1_USES_J): Define.
47734 * string/strcasestr.c: Likewise.
47735
47736 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
47737 array references.
47738 * string/strcasestr.c (TOLOWER): Make side-effect safe.
47739
47740 [BZ #11607]
47741 * NEWS: Add an entry.
47742 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
47743 define their defaults.
47744 (two_way_short_needle): Detect end-of-string on-the-fly.
47745 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
47746 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
47747 * string/bug-strcasestr1.c: New test.
47748 * string/Makefile: Run it.
47749
47750 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
47751
47752 [BZ #11607]
47753 * string/str-two-way.h (two_way_short_needle): Optimize matching of
47754 the first character.
47755
47756 2012-08-21 Roland McGrath <roland@hack.frob.com>
47757
47758 * csu/elf-init.c (__libc_csu_irel): Function removed.
47759 * csu/libc-start.c (apply_irel): New function.
47760 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
47761
47762 2012-08-21 Joseph Myers <joseph@codesourcery.com>
47763
47764 * sysdeps/unix/sysv/linux/kernel-features.h
47765 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
47766 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
47767 <kernel-features.h>.
47768 [__NR_fadvise64_64]: Make code unconditional.
47769 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
47770 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
47771 !__NR_fadvise64_64)]: Likewise.
47772 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
47773 !__NR_fadvise64_64))]: Likewise.
47774 [__NR_fadvise64]: Make code unconditional.
47775 [!__NR_fadvise64]: Remove conditional code.
47776 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
47777 <kernel-features.h>.
47778 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
47779 unconditional.
47780 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
47781 conditional code.
47782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
47783 not include <kernel-features.h>.
47784 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
47785 unconditional.
47786 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
47787 conditional code.
47788 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
47789 include <kernel-features.h>.
47790 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
47791 unconditional.
47792 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
47793 conditional code.
47794
47795 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
47796
47797 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
47798 slight instruction rearrangements per scrollpipe analysis.
47799 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
47800
47801 2012-08-20 Roland McGrath <roland@hack.frob.com>
47802
47803 * manual/syslog.texi (syslog; vsyslog, closelog):
47804 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
47805 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
47806
47807 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
47808 DSOCAPS to match condition on defining it.
47809
47810 2012-08-20 Joseph Myers <joseph@codesourcery.com>
47811
47812 * sysdeps/unix/sysv/linux/kernel-features.h
47813 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
47814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
47815 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
47816 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
47817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
47818 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
47819 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
47820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
47821 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
47822 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
47823
47824 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
47825 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
47826
47827 * sysdeps/unix/sysv/linux/kernel-features.h
47828 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
47829 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
47830 unconditional.
47831 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
47832 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
47833 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
47834 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
47835 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
47836 Make code unconditional.
47837 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
47838 (__mmap64) [!__NR_mmap2]: Likewise.
47839 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
47840 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
47841 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
47842 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
47843 [__NR_mmap2]: Make code unconditional.
47844 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
47845 (__mmap64) [!__NR_mmap2]: Likewise.
47846
47847 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47848
47849 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
47850
47851 2012-08-18 Andreas Jaeger <aj@suse.de>
47852
47853 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
47854
47855 2012-08-18 Mike Frysinger <vapier@gentoo.org>
47856
47857 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
47858 * include/unistd.h (__have_sock_cloexec): Likewise.
47859 (__have_pipe2): Likewise.
47860 (__have_dup3): Likewise.
47861
47862 2012-08-18 Mike Frysinger <vapier@gentoo.org>
47863
47864 [BZ #9685]
47865 * include/unistd.h (__have_pipe2): Change define into an extern int.
47866 (__have_dup3): Likewise.
47867 * socket/have_sock_cloexec.c: Include fcntl.h.
47868 (__have_pipe2): New variable.
47869 (__have_dup3): Likewise.
47870
47871 2012-08-17 Mike Frysinger <vapier@gentoo.org>
47872
47873 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
47874
47875 2012-08-17 Marek Polacek <polacek@redhat.com>
47876
47877 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
47878 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
47879
47880 2012-08-17 Roland McGrath <roland@hack.frob.com>
47881
47882 * configure.in: Add AC_SUBST for sysheaders.
47883 * configure: Regenerated.
47884 * config.make.in (sysheaders): New substituted variable.
47885
47886 * sysdeps/unix/mkfifo.c: Moved ...
47887 * sysdeps/posix/mkfifo.c: ... here.
47888 * sysdeps/unix/mkfifoat.c: Moved ...
47889 * sysdeps/posix/mkfifoat.c: ... here.
47890
47891 * sysdeps/unix/utime.c: Moved ...
47892 * sysdeps/posix/utime.c: ... here.
47893
47894 * sysdeps/unix/time.c: Moved ...
47895 * sysdeps/posix/time.c: ... here.
47896 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
47897 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
47898
47899 * sysdeps/unix/nice.c: Moved ...
47900 * sysdeps/posix/nice.c: ... here.
47901
47902 * sysdeps/unix/alarm.c: Moved ...
47903 * sysdeps/posix/alarm.c: ... here.
47904
47905 * intl/Makefile ($(codeset_mo)): Depend on the input file.
47906
47907 2012-08-17 Jeff Law <law@redhat.com>
47908
47909 * intl/Makefile (codeset_mo): New variable.
47910 ($(codeset_mo)): New target.
47911 (tst-codeset.out): Depend on that. Remove explicit rule.
47912 (tst-gettext3.out, tst-gettext5.out): Likewise.
47913 (LOCPATH-ENV, tst-codeset-ENV): New variables.
47914 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
47915 * intl/tst-codeset.sh: Remove.
47916 * intl/tst-gettext3.sh: Likewise.
47917 * intl/tst-gettext5.sh: Likewise.
47918
47919 2012-08-17 Roland McGrath <roland@hack.frob.com>
47920
47921 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
47922 * sysdeps/unix/syscalls.list: ... here.
47923
47924 * sysdeps/posix/getaddrinfo.c
47925 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
47926 (gaiconf_init, gaiconf_reload): Use them.
47927 [!_STATBUF_ST_NSEC]
47928 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
47929 Define using time_t rather than struct timespec.
47930
47931 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
47932 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
47933 Macros removed.
47934 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
47935 [!NO_THREADS].
47936 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
47937 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
47938 Likewise.
47939
47940 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
47941 __libc_cleanup_push argument.
47942
47943 * bits/param.h: New file.
47944 * misc/sys/param.h: New file.
47945 * include/sys/param.h: New file.
47946 * misc/Makefile (headers): Add bits/param.h.
47947 * sysdeps/generic/sys/param.h: File removed.
47948 * sysdeps/unix/sysv/linux/bits/param.h: New file.
47949 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
47950 * sysdeps/mach/hurd/bits/param.h: New file.
47951 * sysdeps/mach/hurd/sys/param.h: File removed.
47952
47953 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
47954 last change.
47955
47956 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
47957 [_IO_MTSAFE_IO].
47958 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
47959 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
47960 New macros.
47961
47962 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
47963 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
47964 rather than -D_IO_MTSAFE_IO conditionally.
47965 * stdio-common/Makefile (CPPFLAGS): Likewise.
47966 * wcsmbs/Makefile (CPPFLAGS): Likewise.
47967 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
47968 Use $(libio-mtsafe).
47969 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
47970 of -D_IO_MTSAFE_IO.
47971 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
47972 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
47973 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
47974 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
47975 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
47976 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
47977 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
47978 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
47979 (CFLAGS-fread_u_chk.c): Likewise.
47980 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
47981 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
47982 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
47983 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
47984 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
47985 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
47986 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
47987 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
47988 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
47989
47990 * libio/Makefile: Test [$(libc-reentrant) = yes]
47991 instead of [$(filter %REENTRANT, $(defines)) nonempty].
47992
47993 * Makeconfig
47994 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
47995 * sysdeps/pthread/configure: File removed.
47996 * sysdeps/pthread/Makeconfig: New file.
47997 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
47998 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
47999
48000 2012-08-16 Gary Benson <gbenson@redhat.com>
48001
48002 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
48003 unmapping the first object in a namespace.
48004
48005 2012-08-16 Roland McGrath <roland@hack.frob.com>
48006
48007 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
48008 (__internal_setnetgrent): ... this. Add internal_function to
48009 definition. Add libc_hidden_def.
48010 (setnetgrent): Update caller.
48011 (internal_endnetgrent): Renamed to ...
48012 (__internal_endnetgrent): ... this. Add internal_function to
48013 definition. Add libc_hidden_def.
48014 (endnetgrent): Update caller.
48015 (internal_getnetgrent_r): Renamed to ...
48016 (__internal_getnetgrent_r): ... this. Add internal_function to
48017 definition. Add libc_hidden_def.
48018 (__getnetgrent_r): Update caller.
48019 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
48020
48021 2012-08-16 Joseph Myers <joseph@codesourcery.com>
48022
48023 * stdlib/longlong.h: Update from GCC.
48024
48025 2012-08-16 Roland McGrath <roland@hack.frob.com>
48026
48027 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
48028 on _QL, which is set by umul_ppmm but never used.
48029 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
48030 variables, which are set by GMP macros but never used.
48031 * stdio-common/_itowa.c (_itowa): Likewise.
48032 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
48033 * stdlib/mod_1.c (mpn_mod_1): Likewise.
48034
48035 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
48036
48037 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
48038 struct La_sh_regs is not constant.
48039 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
48040 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
48041 and struct La_sparc64_regs are not constant.
48042
48043 2012-08-16 Joseph Myers <joseph@codesourcery.com>
48044
48045 * sysdeps/unix/sysv/linux/kernel-features.h
48046 (__ASSUME_POSIX_TIMERS): Remove.
48047 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
48048 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
48049 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
48050 Make code unconditional.
48051 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
48052 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
48053 Make code unconditional.
48054 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
48055 * sysdeps/unix/sysv/linux/clock_nanosleep.c
48056 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
48057 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
48058 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
48059 Make code unconditional.
48060 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
48061 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
48062 (__libc_missing_posix_timers): Remove.
48063
48064 2012-08-15 Roland McGrath <roland@hack.frob.com>
48065
48066 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
48067 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
48068
48069 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
48070
48071 * elf/dl-sym.c: Include <stdlib.h>.
48072
48073 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
48074 constants, which avoids warnings in 32-bit builds.
48075
48076 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
48077 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
48078
48079 * misc/lseek.c: File moved to ...
48080 * io/lseek.c: ... here.
48081
48082 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
48083
48084 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
48085 shifting LEN more than 31 bits at once.
48086
48087 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48088
48089 [BZ #14195]
48090 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
48091 segmentation fault for a case of two empty input strings.
48092 * string/test-strncasecmp.c (check1): Renamed to...
48093 (bz12205): ...this.
48094 (bz14195): Add new testcase for two empty input strings and N > 0.
48095 (test_main): Call new testcase, adapt for renamed function.
48096
48097 2012-08-15 Andreas Jaeger <aj@suse.de>
48098
48099 [BZ #14090]
48100 * crypt/md5test2.c: New test, based on test supplied by Serge
48101 Belyshev <belyshev@depni.sinp.msu.ru>.
48102 * crypt/Makefile (xtests): Add md5test-giant..
48103 * crypt/Makefile ($(objpfx)md5test-giant): Add.
48104
48105 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
48106
48107 [BZ #14090]
48108 * crypt/md5.c (md5_process_block): Don't assume the buffer
48109 length is less than 2**32.
48110 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
48111 length is less than 2**64.
48112
48113 2012-08-15 Roland McGrath <roland@hack.frob.com>
48114
48115 * string/str-two-way.h: Include <sys/param.h>.
48116 (MAX): Macro removed.
48117
48118 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
48119 Move #define and #undef of memmove to just before and after
48120 including <string.h>.
48121
48122 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
48123 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
48124 and after including <string.h>. Move declarations of
48125 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
48126 to before #include "string/memmove.c".
48127
48128 * include/dirent.h: Declare __getdirentries.
48129
48130 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
48131 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
48132
48133 2012-08-14 Mike Frysinger <vapier@gentoo.org>
48134
48135 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
48136 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
48137 * sysdeps/i386/configure: Regenerated.
48138 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
48139 STABS_CURRENT_FILE, and STABS_FUN.
48140 (END): Remove call to STABS_FUN_END.
48141 (STABS_CURRENT_FILE1): Delete.
48142 (STABS_CURRENT_FILE): Likewise.
48143 (STABS_FUN): Likewise.
48144 (STABS_FUN_END): Likewise.
48145 (STABS_FUN2): Likewise.
48146 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
48147 * sysdeps/x86_64/configure: Regenerated.
48148
48149 2012-08-14 Roland McGrath <roland@hack.frob.com>
48150
48151 * elf/dl-open.c: Include <atomic.h>.
48152 * elf/dl-lookup.c: Likewise.
48153
48154 2012-08-14 Joseph Myers <joseph@codesourcery.com>
48155
48156 * sysdeps/unix/sysv/linux/kernel-features.h
48157 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
48158 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
48159 unconditionally.
48160 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
48161 unconditionally.
48162 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
48163 condition on __ASSUME_CLONE_THREAD_FLAGS.
48164
48165 2012-08-14 Andreas Jaeger <aj@suse.de>
48166
48167 * sysdeps/i386/fpu/libm-test-ulps: Update.
48168
48169 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
48170
48171 * include/atomic.h (atomic_exchange_and_add): Split into ...
48172 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
48173 New atomic macros.
48174
48175 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
48176
48177 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48178
48179 2012-08-13 Jeff Law <law@redhat.com>
48180
48181 * manual/stdio.texi (snprintf): Clarify handling of the trailing
48182 null byte in the output string.
48183
48184 2012-08-10 Joseph Myers <joseph@codesourcery.com>
48185
48186 * sysdeps/unix/sysv/linux/kernel-features.h
48187 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
48188 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
48189 (__ASSUME_ARG_MAX_STACK_BASED): Define.
48190 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
48191 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
48192 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
48193 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
48194
48195 2012-08-09 Jeff Law <law@redhat.com>
48196
48197 [BZ #13939]
48198 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
48199 When avoid_arena is set, don't retry in the that arena. Pick the
48200 next one, whatever it might be.
48201 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
48202 (arena_lock): Pass in new parameter to arena_get2.
48203 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
48204 arena_get2.
48205 (__libc_malloc): Unify retrying after main arena failure with
48206 __libc_memalign version.
48207 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
48208
48209 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
48210
48211 [BZ #14166]
48212 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
48213 to __redirect_strstr.
48214 (__strstr_sse42): Use typeof __redirect_strstr.
48215 (__strstr_ia32): Likewise.
48216 (__libc_strstr): New prototype.
48217 (strstr): Renamed to ...
48218 (__libc_strstr): This.
48219 (strstr): New strong alias of __libc_strstr.
48220 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
48221 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
48222 __redirect_time.
48223 Include <time.h>.
48224 (__libc_time): New prototype.
48225 (time_ifunc): Replace time with __libc_time.
48226 (time): New strong alias and hidden definition of __libc_time.
48227 (__GI_time): Remove strong alias.
48228 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
48229 Include <stddef.h>.
48230 (memmove): Redefined to __redirect_memmove.
48231 (__memmove_sse2): Use typeof __redirect_memmove.
48232 (__memmove_ssse3): Likewise.
48233 (__memmove_ssse3_back): Likewise.
48234 (__libc_memmove): New prototype.
48235 (memmove): Renamed to ...
48236 (__libc_memmove): This.
48237 (memmove): New strong alias of __libc_memmove.
48238
48239 2012-08-08 Mark Salter <msalter@redhat.com>
48240
48241 * elf/elf.h
48242 (R_MN10300_TLS_GD): Define.
48243 (R_MN10300_TLS_LD): Likewise.
48244 (R_MN10300_TLS_LDO): Likewise.
48245 (R_MN10300_TLS_GOTIE): Likewise.
48246 (R_MN10300_TLS_IE): Likewise.
48247 (R_MN10300_TLS_LE): Likewise.
48248 (R_MN10300_TLS_DTPMOD): Likewise.
48249 (R_MN10300_TLS_DTPOFF): Likewise.
48250 (R_MN10300_TLS_TPOFF): Likewise.
48251 (R_MN10300_SYM_DIFF): Likewise.
48252 (R_MN10300_ALIGN): Likewise.
48253 (R_MN10300_NUM): Update.
48254
48255 2012-08-08 Joseph Myers <joseph@codesourcery.com>
48256
48257 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
48258 Remove.
48259
48260 2012-08-08 Roland McGrath <roland@hack.frob.com>
48261
48262 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
48263
48264 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
48265 sysdeps/unix -> sysdeps/posix move.
48266 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
48267
48268 2012-08-07 Allan McRae <allan@archlinux.org>
48269
48270 [BZ #14303]
48271 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
48272 (SUNOS_CPP): Likewise.
48273 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
48274 not found.
48275 (open_input): Call CPP using execvp.
48276
48277 2012-08-07 Joseph Myers <joseph@codesourcery.com>
48278
48279 * sysdeps/unix/sysv/linux/kernel-features.h
48280 (__ASSUME_PROT_GROWSUPDOWN): Remove.
48281 (__ASSUME_NO_CLONE_DETACHED): Likewise.
48282 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
48283 (__ASSUME_WAITID_SYSCALL): Likewise.
48284 * sysdeps/unix/sysv/linux/dl-execstack.c
48285 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
48286 code unconditional.
48287 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
48288 conditional code.
48289 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
48290 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
48291 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
48292 code.
48293 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
48294 unconditional.
48295 [__ASSUME_WAITID_SYSCALL]: Likewise.
48296 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
48297
48298 2012-08-07 Roland McGrath <roland@hack.frob.com>
48299
48300 * sysdeps/unix/closedir.c: Renamed to ...
48301 * sysdeps/posix/closedir.c: ... here.
48302 * sysdeps/unix/dirfd.c: Renamed to ...
48303 * sysdeps/posix/dirfd.c: ... here.
48304 * sysdeps/unix/dirstream.h: Renamed to ...
48305 * sysdeps/posix/dirstream.h: ... here.
48306 * sysdeps/unix/fdopendir.c: Renamed to ...
48307 * sysdeps/posix/fdopendir.c: ... here.
48308 * sysdeps/unix/opendir.c: Renamed to ...
48309 * sysdeps/posix/opendir.c: ... here.
48310 * sysdeps/unix/readdir.c: Renamed to ...
48311 * sysdeps/posix/readdir.c: ... here.
48312 * sysdeps/unix/readdir_r.c: Renamed to ...
48313 * sysdeps/posix/readdir_r.c: ... here.
48314 * sysdeps/unix/rewinddir.c: Renamed to ...
48315 * sysdeps/posix/rewinddir.c: ... here.
48316 * sysdeps/unix/seekdir.c: Renamed to ...
48317 * sysdeps/posix/seekdir.c: ... here.
48318 * sysdeps/unix/telldir.c: Renamed to ...
48319 * sysdeps/posix/telldir.c: ... here.
48320 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
48321 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
48322 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
48323 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
48324
48325 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
48326 * bits/fcntl.h: ... here.
48327
48328 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
48329 not 0.
48330 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
48331 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
48332 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
48333 (struct flock): Move l_start, l_len to the beginning.
48334 Use __pid_t for l_pid.
48335 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
48336 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
48337 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
48338 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
48339 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
48340 [__USE_LARGEFILE64] (struct flock64): New type.
48341 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
48342
48343 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
48344 * bits/dirent.h: ... here.
48345
48346 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
48347 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
48348
48349 2012-08-07 Joseph Myers <joseph@codesourcery.com>
48350
48351 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
48352 Change from 2.6.0 to 2.6.16.
48353 * sysdeps/unix/sysv/linux/configure: Regenerated.
48354 * sysdeps/unix/sysv/linux/kernel-features.h
48355 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
48356 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
48357 version.
48358 (__ASSUME_UTIMES): Likewise.
48359 (__ASSUME_CLONE_STOPPED): Remove.
48360 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
48361 architectures, not kernel version.
48362 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
48363 (__ASSUME_NO_CLONE_DETACHED): Likewise.
48364 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
48365 (__ASSUME_WAITID_SYSCALL): Likewise.
48366 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
48367 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
48368 * README: State 2.6.16 as minimum Linux kernel version. Do not
48369 refer to older versions.
48370
48371 2012-08-06 Roland McGrath <roland@hack.frob.com>
48372
48373 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
48374 Define alphasort64 as an alias.
48375 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
48376 Define versionsort64 as an alias.
48377 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
48378 Define scandir64 as an alias.
48379 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
48380 Define scandirat64 as an alias.
48381 * dirent/alphasort64.c (alphasort64):
48382 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
48383 * dirent/versionsort64.c: Likewise.
48384 * dirent/scandir64.c: Likewise.
48385 * dirent/scandirat64.c: Likewise.
48386 * sysdeps/wordsize-64/alphasort.c: File removed.
48387 * sysdeps/wordsize-64/alphasort64.c: File removed.
48388 * sysdeps/wordsize-64/scandir.c: File removed.
48389 * sysdeps/wordsize-64/scandir64.c: File removed.
48390 * sysdeps/wordsize-64/scandirat.c: File removed.
48391 * sysdeps/wordsize-64/scandirat64.c: File removed.
48392 * sysdeps/wordsize-64/versionsort.c: File removed.
48393 * sysdeps/wordsize-64/versionsort64.c: File removed.
48394 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
48395 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
48396 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
48397 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
48398 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
48399 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
48400 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
48401 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
48402
48403 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
48404 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
48405 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
48406 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
48407 [defined __arch64__ || defined __sparcv9]
48408 (__INO_T_MATCHES_INO64_T): New macro.
48409 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
48410 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
48411 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
48412 * sysdeps/unix/sysv/linux/bits/dirent.h
48413 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
48414 (_DIRENT_MATCHES_DIRENT64): New macro.
48415
48416 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
48417 Define lockf64 as an alias.
48418 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
48419 Define fseeko64 as an alias.
48420 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
48421 Define ftello64 as an alias.
48422 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
48423 Define _IO_fgetpos64 and fgetpos64 as aliases.
48424 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
48425 Define _IO_fsetpos64 and fsetpos64 as aliases.
48426 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
48427 Conditionalize body on this.
48428 * libio/fseeko64.c: Likewise.
48429 * libio/ftello64.c: Likewise.
48430 * libio/iofgetpos64.c: Likewise.
48431 * libio/iofsetpos64.c: Likewise.
48432 * sysdeps/wordsize-64/lockf.c: File removed.
48433 * sysdeps/wordsize-64/lockf64.c: File removed.
48434 * sysdeps/wordsize-64/fseeko.c: File removed.
48435 * sysdeps/wordsize-64/fseeko64.c: File removed.
48436 * sysdeps/wordsize-64/ftello.c: File removed.
48437 * sysdeps/wordsize-64/ftello64.c: File removed.
48438 * sysdeps/wordsize-64/iofgetpos.c: File removed.
48439 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
48440 * sysdeps/wordsize-64/iofsetpos.c: File removed.
48441 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
48442 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
48443 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
48444 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
48445 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
48446 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
48447 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
48448 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
48449 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
48450 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
48451 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
48452
48453 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
48454 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
48455 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
48456 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
48457 [defined __arch64__ || defined __sparcv9]
48458 (__OFF_T_MATCHES_OFF64_T): New macro.
48459 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
48460 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
48461 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
48462 (__OFF_T_MATCHES_OFF64_T): New macro.
48463
48464 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
48465
48466 * stdlib/secure-getenv.c (__secure_getenv): Replace
48467 GLIBC_2_16 with GLIBC_2_17.
48468
48469 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
48470
48471 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
48472 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
48473
48474 2012-08-03 David S. Miller <davem@davemloft.net>
48475
48476 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48477
48478 2012-08-03 Joseph Myers <joseph@codesourcery.com>
48479
48480 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
48481 Remove.
48482 (__ASSUME_CORRECT_SI_PID): Likewise.
48483 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
48484 (__ASSUME_TMPFS_NAME): Likewise.
48485 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
48486 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
48487 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
48488 (HAVE_AUX_SECURE): Make definition unconditional.
48489 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
48490 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
48491
48492 2012-08-03 Roland McGrath <roland@hack.frob.com>
48493
48494 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
48495 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
48496 * sysdeps/mach/hurd/eloop-threshold.h: New file.
48497 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
48498 __eloop_threshold instead of SYMLOOP_MAX.
48499
48500 * sysdeps/generic/eloop-threshold.h: New file.
48501 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
48502 of MAXSYMLINKS.
48503 * elf/chroot_canon.c (chroot_canon): Likewise.
48504
48505 2012-08-03 Joseph Myers <joseph@codesourcery.com>
48506
48507 [BZ #13717]
48508 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
48509 Change to 2.6.0 everywhere.
48510 * sysdeps/unix/sysv/linux/configure: Regenerated.
48511 * sysdeps/unix/sysv/linux/kernel-features.h
48512 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
48513 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
48514 kernel versions.
48515 (__ASSUME_POSIX_TIMERS): Define unconditionally.
48516 (__ASSUME_FUTEX_REQUEUE): Remove.
48517 (__ASSUME_STATFS64): Define unconditionally.
48518 (__ASSUME_AT_SECURE): Likewise.
48519 (__ASSUME_CORRECT_SI_PID): Likewise.
48520 (__ASSUME_TGKILL): Define without depending on kernel version for
48521 i386.
48522 (__ASSUME_UTIMES): Likewise.
48523 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
48524 kernel version.
48525 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
48526 (__ASSUME_TMPFS_NAME): Likewise.
48527 * README: Update reference to Linux kernel versions.
48528
48529 2012-08-02 Marek Polacek <polacek@redhat.com>
48530
48531 [BZ# 14150]
48532 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
48533 libc_cv_asm_type_prefix with %.
48534 * configure: Regenerated.
48535 * include/libc-symbols.h: Remove comment about
48536 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
48537 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
48538 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
48539 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
48540 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
48541 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
48542 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
48543 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
48544 * elf/tst-unique2mod1.c: Likewise.
48545 * elf/tst-unique1mod2.c: Likewise.
48546 * elf/tst-unique1mod1.c: Likewise.
48547 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
48548 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
48549 Replace ASM_TYPE_DIRECTIVE with .type.
48550 * sysdeps/s390/s390-64/sysdep.h: Likewise.
48551 * sysdeps/i386/sysdep.h: Likewise.
48552 * sysdeps/x86_64/sysdep.h: Likewise.
48553 * sysdeps/sh/sysdep.h: Likewise.
48554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
48555 Do not define ASM_TYPE_DIRECTIVE.
48556 * sysdeps/powerpc/sysdep.h: Likewise.
48557 * sysdeps/powerpc/powerpc32/sysdep.h:
48558 Replace ASM_TYPE_DIRECTIVE with .type.
48559 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
48560 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
48561 * sysdeps/i386/fpu/e_powf.S: Likewise.
48562 * sysdeps/i386/fpu/e_expl.S: Likewise.
48563 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
48564 * sysdeps/i386/fpu/e_acosh.S: Likewise.
48565 * sysdeps/i386/fpu/e_pow.S: Likewise.
48566 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
48567 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
48568 * sysdeps/i386/fpu/s_expm1.S: Likewise.
48569 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
48570 * sysdeps/i386/fpu/e_log2.S: Likewise.
48571 * sysdeps/i386/fpu/e_log2l.S: Likewise.
48572 * sysdeps/i386/fpu/e_scalb.S: Likewise.
48573 * sysdeps/i386/fpu/e_powl.S: Likewise.
48574 * sysdeps/i386/fpu/e_log10f.S: Likewise.
48575 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
48576 * sysdeps/i386/fpu/e_logl.S: Likewise.
48577 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
48578 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
48579 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
48580 * sysdeps/i386/fpu/e_log2f.S: Likewise.
48581 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
48582 * sysdeps/i386/fpu/e_log.S: Likewise.
48583 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
48584 * sysdeps/i386/fpu/e_logf.S: Likewise.
48585 * sysdeps/i386/fpu/e_log10l.S: Likewise.
48586 * sysdeps/i386/fpu/e_atanh.S: Likewise.
48587 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
48588 * sysdeps/i386/fpu/e_log10.S: Likewise.
48589 * sysdeps/i386/fpu/s_frexp.S: Likewise.
48590 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
48591 * sysdeps/i386/fpu/s_asinh.S: Likewise.
48592 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
48593 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
48594 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
48595 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
48596 * sysdeps/i386/i686/strtok.S: Likewise.
48597 * sysdeps/i386/i386-mcount.S: Likewise.
48598 * sysdeps/i386/strtok.S: Likewise.
48599 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
48600 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
48601 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
48602 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
48603 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
48604 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
48605 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
48606 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
48607 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
48608 * sysdeps/x86_64/_mcount.S: Likewise.
48609 * sysdeps/x86_64/strtok.S: Likewise.
48610 * sysdeps/sh/_mcount.S: Likewise.
48611
48612 2012-08-01 Roland McGrath <roland@hack.frob.com>
48613
48614 * libio/iofopen.c: Include <fcntl.h>.
48615 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
48616 (_IO_fopen64, fopen64): Define as aliases.
48617 * libio/iofopen64.c: Include <fcntl.h>.
48618 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
48619 Conditionalize body on this.
48620 * sysdeps/wordsize-64/iofopen.c: File removed.
48621 * sysdeps/wordsize-64/iofopen64.c: File removed.
48622
48623 2012-08-01 Marek Polacek <polacek@redhat.com>
48624
48625 * libc/Makeconfig: Use elf in place of binfmt-subdir.
48626 Use dlfcn directly instead of a variable.
48627 (binfmt-subdir): Do not define.
48628 (dlfcn): Likewise.
48629
48630 2012-08-01 Joseph Myers <joseph@codesourcery.com>
48631
48632 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
48633 Remove all definitions.
48634 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
48635 <kernel-features.h>.
48636 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
48637 (miss_F_GETOWN_EX): Remove all definitions.
48638 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
48639 macro definition.
48640 [!__ASSUME_FCNTL64]: Remove conditional code.
48641 [__ASSUME_FCNTL64]: Make code unconditional.
48642 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
48643 <kernel-features.h>.
48644 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
48645 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
48646 (lockf64) [__NR_fcntl64]: Make code unconditional.
48647 (lockf64) [__ASSUME_FCNTL64]: Likewise.
48648
48649 * sysdeps/unix/sysv/linux/kernel-features.h
48650 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
48651 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
48652 Make code unconditional.
48653 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
48654 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
48655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
48656 [__NR_vfork]: Make code unconditional.
48657 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
48658 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
48659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
48660 [__NR_vfork]: Make code unconditional.
48661 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
48662 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
48663
48664 2012-08-01 Roland McGrath <roland@hack.frob.com>
48665
48666 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
48667 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
48668
48669 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
48670 Define mkstemp64 as an alias.
48671 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
48672 Define mkstemps64 as an alias.
48673 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
48674 Define mkostemp64 as an alias.
48675 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
48676 Define mkostemps64 as an alias.
48677 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
48678 Conditionalize body on this.
48679 * misc/mkostemp64.c: Likewise.
48680 * misc/mkostemps64.c: Likewise.
48681 * misc/mkstemps64.c: Likewise.
48682 * sysdeps/wordsize-64/mkstemp64.c: File removed.
48683 * sysdeps/wordsize-64/mkostemp64.c: File removed.
48684 * sysdeps/wordsize-64/mkostemp.c: File removed.
48685 * sysdeps/wordsize-64/mkstemp.c: File removed.
48686 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
48687 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
48688 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
48689 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
48690
48691 [BZ #14138]
48692 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
48693 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
48694 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
48695 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
48696
48697 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
48698 compat_symbol macros from <shlib-compat.h> rather than the underlying
48699 default_symbol_version and symbol_version macros, so that DEFAULT
48700 lines in shlib-versions are respected.
48701 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
48702
48703 2012-08-01 Florian Weimer <fweimer@redhat.com>
48704
48705 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
48706 Declare with warn_unused_result.
48707 (setgid, setregid, setegid, setresgid): Likewise.
48708 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
48709 Likewise.
48710 * WUR-REPORT: Remove set*id functions.
48711
48712 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
48713
48714 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
48715
48716 2012-07-31 Roland McGrath <roland@hack.frob.com>
48717
48718 [BZ #10191]
48719 * include/sys/socket.h (__libc_accept, __libc_accept4):
48720 Add attribute_hidden.
48721 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
48722
48723 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
48724 use of PTR_MANGLE.
48725 * inet/getnetgrent_r.c (setup): Likewise.
48726
48727 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
48728
48729 2012-07-31 David S. Miller <davem@davemloft.net>
48730
48731 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48732
48733 2012-07-31 Joseph Myers <joseph@codesourcery.com>
48734
48735 [BZ #13629]
48736 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
48737 value between 1.0 and 2.0 and smaller part has absolute value less
48738 than 1.0.
48739 * math/s_clog10.c (__clog10): Likewise.
48740 * math/s_clog10f.c (__clog10f): Likewise.
48741 * math/s_clog10l.c (__clog10l): Likewise.
48742 * math/s_clogf.c (__clogf): Likewise.
48743 * math/s_clogl.c (__clogl): Likewise.
48744 * math/libm-test.inc (clog_test): Add more tests.
48745 (clog10_test): Likewise.
48746 * sysdeps/i386/fpu/libm-test-ulps: Update.
48747 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48748
48749 2012-07-31 Florian Weimer <fweimer@redhat.com>
48750
48751 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
48752 Exit with zero in case no suitable GID is found, and write a
48753 message to standard error.
48754
48755 2012-07-30 Roland McGrath <roland@hack.frob.com>
48756
48757 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
48758 rather than to 1.
48759 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
48760 (MAXPATHLEN): Removed.
48761 (NOGROUP, NODEV): New macros.
48762 (setbit, clrbit, isset, isclr): New macros.
48763 (howmany, roundup, powerof2): New macros.
48764 (DEV_BSIZE): New macro.
48765
48766 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
48767 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
48768
48769 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
48770 definition on [!__NO_LONG_DOUBLE_MATH].
48771
48772 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
48773 PTR_MANGLE and PTR_DEMANGLE.
48774
48775 * socket/accept4.c (accept4): Rename to __libc_accept4.
48776 Define accept4 as a weak alias.
48777
48778 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
48779 on [_DIRENT_HAVE_D_TYPE].
48780 * io/ftw.c (ftw_dir): Likewise.
48781
48782 * io/xmknod.c (__xmknod): Don't check PATH for being null.
48783
48784 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
48785
48786 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
48787 Use the BSD numbers rather than the arbitrary ones we had.
48788 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
48789 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
48790 (SIGXCPU, SIGXFSZ): New macros.
48791 (_NSIG): Now 32.
48792
48793 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
48794 initializer on [_LIBC_REENTRANT].
48795
48796 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
48797 definitions inside [_POSIX_MAPPED_FILES].
48798
48799 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
48800
48801 * dirent/opendir.c: Include <fcntl.h>.
48802
48803 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
48804 (__libc_getspecific): Likewise.
48805 (__libc_key_create): Likewise.
48806
48807 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
48808 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
48809 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
48810 (tmpfile64): Define as alias.
48811 * sysdeps/wordsize-64/tmpfile.c: File removed.
48812 * sysdeps/wordsize-64/tmpfile64.c: File removed.
48813 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
48814 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
48815
48816 * stdio-common/vfscanf.c: Include <stdbool.h>.
48817 * nss/makedb.c: Likewise.
48818 * stdio-common/_i18n_number.h: Likewise.
48819 * argp/argp-help.c: Likewise.
48820 * posix/wordexp.c: Likewise.
48821 * sysdeps/posix/spawni.c: Likewise.
48822 * nss/nss_files/files-initgroups.c: Likewise.
48823 * stdio-common/reg-modifier.c: Include <stdlib.h>.
48824 * nss/nss_files/files-initgroups.c: Likewise.
48825 * nss/nss_db/db-netgrp.c: Likewise.
48826 * nss/nss_db/db-initgroups.c: Likewise.
48827 * io/fchmodat.c: Include <sys/stat.h>.
48828
48829 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
48830 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
48831
48832 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
48833 [HAVE_MMAP].
48834
48835 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
48836 Add multiple inclusion protection.
48837
48838 2012-07-27 David S. Miller <davem@davemloft.net>
48839
48840 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48841
48842 2012-07-27 Gary Benson <gbenson@redhat.com>
48843
48844 [BZ #14298]
48845 * elf/rtld.c: Include <stap-probe.h>.
48846 (dl_main): Added static probes "init_start" and "init_complete".
48847 * elf/dl-load.c: Include <stap-probe.h>.
48848 (lose): Take new parameter "nsid".
48849 Added static probe "map_failed".
48850 (_dl_map_object_from_fd): Pass namespace id to lose.
48851 Added static probe "map_start".
48852 (open_verify): Pass namespace id to lose.
48853 * elf/dl-open.c: Include <stap-probe.h>.
48854 (dl_open_worker) Added static probes "map_complete", "reloc_start"
48855 and "reloc_complete".
48856 * elf/dl-close.c: Include <stap-probe.h>.
48857 (_dl_close_worker): Added static probes "unmap_start" and
48858 "unmap_complete".
48859 * elf/rtld-debugger-interface.txt: New file documenting the above.
48860
48861 2012-07-26 Roland McGrath <roland@hack.frob.com>
48862
48863 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
48864 rather than a string variable.
48865 * sunrpc/rpc_main.c (h_output): Likewise.
48866 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
48867
48868 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
48869
48870 * inet/check_native.c: New file.
48871
48872 2012-07-26 Joseph Myers <joseph@codesourcery.com>
48873
48874 [BZ #13629]
48875 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
48876 if larger part has absolute value 1.0.
48877 * math/s_clog10.c (__clog10): Likewise.
48878 * math/s_clog10f.c (__clog10f): Likewise.
48879 * math/s_clog10l.c (__clog10l): Likewise.
48880 * math/s_clogf.c (__clogf): Likewise.
48881 * math/s_clogl.c (__clogl): Likewise.
48882 * math/libm-test.inc (clog_test): Add more tests.
48883 (clog10_test): Likewise.
48884 * sysdeps/i386/fpu/libm-test-ulps: Update.
48885 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48886
48887 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
48888 (pltexit): Likewise.
48889 (La_regs): Likewise.
48890 (La_retval): Likewise.
48891 (int_retval): Likewise.
48892 Update #error for removed macros to refer only to definitions in
48893 tst-audit.h.
48894 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
48895 macro.
48896 (pltexit): Likewise.
48897 (La_regs): Likewise.
48898 (La_retval): Likewise.
48899 (int_retval): Likewise.
48900 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
48901 macro.
48902 (pltexit): Likewise.
48903 (La_regs): Likewise.
48904 (La_retval): Likewise.
48905 (int_retval): Likewise.
48906 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
48907 macro.
48908 (pltexit): Likewise.
48909 (La_regs): Likewise.
48910 (La_retval): Likewise.
48911 (int_retval): Likewise.
48912 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
48913 macro.
48914 (pltexit): Likewise.
48915 (La_regs): Likewise.
48916 (La_retval): Likewise.
48917 (int_retval): Likewise.
48918 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
48919 macro.
48920 (pltexit): Likewise.
48921 (La_regs): Likewise.
48922 (La_retval): Likewise.
48923 (int_retval): Likewise.
48924 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
48925 macro.
48926 (pltexit): Likewise.
48927 (La_regs): Likewise.
48928 (La_retval): Likewise.
48929 (int_retval): Likewise.
48930 * sysdeps/generic/tst-audit.h: Update comment to refer only to
48931 macro definitions in tst-audit.h.
48932 * sysdeps/i386/tst-audit.h: New file.
48933 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
48934 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
48935 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
48936 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
48937 * sysdeps/sh/tst-audit.h: Likewise.
48938 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
48939 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
48940 * sysdeps/x86_64/tst-audit.h: Likewise.
48941
48942 2012-07-26 Andreas Jaeger <aj@suse.de>
48943
48944 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
48945 ptrace.
48946
48947 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
48948 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
48949 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
48950 PTRACE_O_MASK.
48951 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
48952 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
48953 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
48954
48955 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
48956 value.
48957
48958 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
48959 _sigsys.
48960 (si_call_addr, si_syscall, si_arch): Define new macro.
48961 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
48962 _sigsys.
48963 (si_call_addr, si_syscall, si_arch): Define new marcro.
48964 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
48965 _sigsys.
48966 (si_call_addr, si_syscall, si_arch): Define new macro.
48967 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
48968 _sigsys.
48969 (si_call_addr, si_syscall, si_arch): Define new macro.
48970
48971 2012-07-25 Joseph Myers <joseph@codesourcery.com>
48972
48973 [BZ #13717]
48974 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
48975 Change to 2.4.21 where previously 2.4.1.
48976 * sysdeps/unix/sysv/linux/configure: Regenerated.
48977 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
48978 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
48979 Linux kernel version.
48980 (__ASSUME_STD_AUXV): Remove.
48981 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
48982 kernel version.
48983 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
48984 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
48985 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
48986 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
48987 (__ASSUME_NETLINK_SUPPORT): Likewise.
48988 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
48989 (__no_netlink_support): Remove conditional definition.
48990 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
48991 Remove.
48992 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
48993 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
48994 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
48995 (if_nameindex_ioctl): Remove.
48996 (if_nameindex_netlink): Do not handle __no_netlink_support.
48997 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
48998 code.
48999 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
49000 Remove conditional code.
49001 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
49002 code.
49003 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
49004 unconditional.
49005 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
49006 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
49007 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
49008 Remove.
49009 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
49010 [!__ASSUME_STD_AUXV]: Remove conditional code.
49011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
49012 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
49013 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
49014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
49015 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
49016 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
49017 code.
49018 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
49019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
49020 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
49021 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
49022 conditional code.
49023 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
49024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
49025 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
49026 code.
49027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
49028 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
49029 conditional code.
49030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
49031 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
49032 code unconditional.
49033 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
49034 conditional code.
49035 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
49036 unconditional.
49037 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
49038 conditional code.
49039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
49040 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
49041 unconditional.
49042 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
49043 conditional code.
49044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
49045 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
49046 code unconditional.
49047 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
49048 conditional code.
49049 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
49050 unconditional.
49051 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
49052 conditional code.
49053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
49054 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
49055 code unconditional.
49056 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
49057 conditional code.
49058 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
49059 unconditional.
49060 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
49061 conditional code.
49062
49063 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
49064
49065 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
49066 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
49067 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
49068 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
49069 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
49070 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
49071 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
49072 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
49073 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
49074 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
49075 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
49076 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
49077 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
49078 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
49079 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
49080 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
49081 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
49082 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
49083 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
49084 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
49085 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
49086 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
49087 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
49088
49089 2012-07-25 Florian Weimer <fweimer@redhat.com>
49090
49091 * Versions.def: Add GLIBC_2.17.
49092 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
49093 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
49094 Introduce __libc_secure_getenv.
49095 * stdlib/Versions (2.17): Add secure_getenv
49096 (GLIBC_PRIVATE): Add __libc_secure_getenv.
49097 * stdlib/secure-getenv.c: Rename __secure_getenv to
49098 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
49099 symbol __secure_getenv for GLIBC_2.0.
49100 * stdlib/tst-secure-getenv.c: New.
49101 * stdlib/Makefile (tests): Add testcase.
49102 * manual/startup.texi (Environment Access): Document
49103 secure_getenv.
49104 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
49105 __libc_secure_getenv.
49106 * inet/ruserpass.c (ruserpass): Likewise.
49107 * malloc/mtrace.c (mtrace): Likewise.
49108 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
49109 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
49110 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
49111 * sysdeps/posix/tempname.c: Likewise. Evaluate
49112 HAVE_SECURE_GETENV.
49113 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
49114 __secure_getenv to __libc_secure_getenv.
49115 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
49116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
49117 Likewise.
49118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
49119 Likewise.
49120 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
49121 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
49122 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
49123 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
49124 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
49125 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
49126 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
49127
49128 2012-07-25 Joseph Myers <joseph@codesourcery.com>
49129
49130 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
49131 (struct La_i86_retval): Likewise.
49132 (struct La_x86_64_regs): Likewise.
49133 (struct La_x86_64_retval): Likewise.
49134 (struct La_x32_regs): Likewise.
49135 (struct La_x32_retval): Likewise.
49136 (struct La_ppc32_regs): Likewise.
49137 (struct La_ppc32_retval): Likewise.
49138 (struct La_ppc64_regs): Likewise.
49139 (struct La_ppc64_retval): Likewise.
49140 (struct La_sh_regs): Likewise.
49141 (struct La_sh_retval): Likewise.
49142 (struct La_s390_32_regs): Likewise.
49143 (struct La_s390_32_retval): Likewise.
49144 (struct La_s390_64_regs): Likewise.
49145 (struct La_s390_64_retval): Likewise.
49146 (struct La_sparc32_regs): Likewise.
49147 (struct La_sparc32_retval): Likewise.
49148 (struct La_sparc64_regs): Likewise.
49149 (struct La_sparc64_retval): Likewise.
49150 (struct audit_ifaces): Remove architecture-specific pltenter and
49151 pltexit members.
49152 * sysdeps/i386/ldsodefs.h: New file.
49153 * sysdeps/powerpc/ldsodefs.h: Likewise.
49154 * sysdeps/s390/ldsodefs.h: Likewise.
49155 * sysdeps/sh/ldsodefs.h: Likewise.
49156 * sysdeps/sparc/ldsodefs.h: Likewise.
49157 * sysdeps/x86_64/ldsodefs.h: Likewise.
49158
49159 2012-07-25 Marek Polacek <polacek@redhat.com>
49160
49161 [BZ #6808]
49162 * math/libm-test.inc (yn_test): Add another test.
49163 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
49164 to ERANGE when the result is +-Inf.
49165 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
49166 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
49167 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
49168 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
49169
49170 2012-07-24 Joseph Myers <joseph@codesourcery.com>
49171
49172 * conform/data/time.h-data (NULL): Use macro-constant. Require
49173 equal to 0.
49174 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
49175 clock_t.
49176 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
49177
49178 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
49179
49180 * configure.in <sysdeps resolving>: Correct printing
49181 Implies_before.
49182 * configure: Regenerate.
49183
49184 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
49185
49186 * math/w_ilogb.c: Include <limits.h>.
49187 * math/w_ilogbl.c: Likewise.
49188
49189 2012-07-20 Joseph Myers <joseph@codesourcery.com>
49190
49191 * manual/lang.texi (__va_copy): Document primarily as ISO C99
49192 va_copy. Document allowing for unavailable va_copy only as
49193 pre-C99 compatibility.
49194 * manual/string.texi (Copying and Concatenation): Use va_copy
49195 instead of __va_copy in concat example.
49196
49197 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
49198
49199 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
49200 (__sendto): Use create_address_port. Initialize APORT and deallocate
49201 it if not null.
49202
49203 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
49204 with O_NOLINK passed to __file_name_lookup.
49205
49206 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
49207 with O_NOLINK passed to __file_name_lookup.
49208
49209 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
49210 negative N or less than NGIDS.
49211
49212 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
49213 type to string_t. Set ERANGE as errno and return it if NAME is not big
49214 enough. Use memcpy instead of strncpy.
49215
49216 2012-07-20 Joseph Myers <joseph@codesourcery.com>
49217
49218 * elf/Makefile (check-data): Remove.
49219 (localplt.data): New vpath directive.
49220 ($(objpfx)check-localplt.out): Use localplt.data from vpath
49221 instead of $(check-data).
49222 * scripts/data/localplt-generic.data: Move to ...
49223 * sysdeps/generic/localplt.data: ... here.
49224 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
49225 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
49226 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
49227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
49228 ... here.
49229 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
49230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
49231 ... here.
49232 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
49233 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
49234 ... here.
49235 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
49236 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
49237 ... here.
49238 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
49239 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
49240 ... here.
49241 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
49242 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
49243 ... here.
49244
49245 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49246
49247 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
49248 PPC32 and PPC64 files.
49249 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
49250 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
49251
49252 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49253
49254 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
49255 __makecontext_ret to ...
49256 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
49257 ... here and call exit if uc_link is NULL. New file.
49258 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
49259 __makecontext_ret.S.
49260 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
49261 __makecontext_ret to ...
49262 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
49263 ... here and call exit if uc_link is NULL. New file.
49264 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
49265 __makecontext_ret.S.
49266
49267 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49268
49269 * elf/elf.h (R_390_IRELATIVE): New definition.
49270 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
49271 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
49272 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
49273 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
49274 (elf_machine_lazy_rel): Likewise.
49275 * sysdeps/s390/dl-irel.h: New file.
49276 * sysdeps/s390/s390-64/memcpy.S: New asm code.
49277 * sysdeps/s390/s390-64/memset.S: New asm code.
49278 * sysdeps/s390/s390-64/memcmp.S: New asm code.
49279 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
49280 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
49281 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
49282 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
49283 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
49284 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
49285 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
49286 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
49287 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
49288 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
49289 * sysdeps/s390/s390-32/memcpy.S: New asm code.
49290 * sysdeps/s390/s390-32/memset.S: New asm code.
49291 * sysdeps/s390/s390-32/memcmp.S: New asm code.
49292
49293 2012-07-17 Marek Polacek <polacek@redhat.com>
49294
49295 [BZ #14349]
49296 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
49297 * sysdeps/s390/s390-64/configure.in: Likewise.
49298 * sysdeps/sparc/configure.in: Likewise.
49299 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
49300 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
49301 * sysdeps/i386/configure.in: Likewise.
49302 * sysdeps/x86_64/configure.in: Likewise.
49303 * sysdeps/sh/configure.in: Likewise.
49304 * sysdeps/s390/s390-32/configure: Regenerated.
49305 * sysdeps/s390/s390-64/configure: Likewise.
49306 * sysdeps/x86_64/configure: Likewise.
49307 * sysdeps/sh/configure: Likewise.
49308 * sysdeps/powerpc/powerpc64/configure: Likewise.
49309 * sysdeps/powerpc/powerpc32/configure: Likewise.
49310 * sysdeps/sparc/configure: Likwise.
49311 * sysdeps/i386/configure: Likewise.
49312
49313 * elf/dl-open.c: Comment fixes.
49314
49315 2012-07-17 Joseph Myers <joseph@codesourcery.com>
49316
49317 * Makefile [CXX] (check-data): Remove.
49318 [CXX] (c++-types.data): New vpath directive.
49319 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
49320 vpath. Do not allow for C++ type data being missing.
49321 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
49322 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
49323 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
49324 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
49325 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
49326 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
49327 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
49328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
49329 ... here.
49330 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
49331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
49332 ... here.
49333 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
49334 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
49335 ... here.
49336 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
49337 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
49338 ... here.
49339 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
49340 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
49341 ... here.
49342 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
49343 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
49344 ... here.
49345 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
49346 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
49347 ... here.
49348 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
49349 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
49350
49351 * elf/tls-macros.h (TLS_LE): Move architecture-specific
49352 definitions to architecture-specific files.
49353 (TLS_IE): Likewise.
49354 (TLS_LD): Likewise.
49355 (TLS_GD): Likewise.
49356 * sysdeps/i386/tls-macros.h: New file.
49357 * sysdeps/powerpc/tls-macros.h: Likewise.
49358 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
49359 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
49360 * sysdeps/sh/tls-macros.h: Likewise.
49361 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
49362 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
49363 * sysdeps/x86_64/tls-macros.h: Likewise.
49364
49365 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
49366
49367 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
49368 zero value for regular exit case.
49369
49370 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
49371 (__start_context): Preserve zero value for regular exit case.
49372
49373 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
49374 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49375
49376 * manual/setjmp.texi (setcontext): Clarify normal process
49377 termination when uc_link is the null pointer.
49378 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
49379 exit call.
49380
49381 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
49382
49383 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
49384 preprocessor. Test for each exception mask separately.
49385
49386 2012-07-16 Andreas Jaeger <aj@suse.de>
49387
49388 * po/ru.po: Update from translation team.
49389
49390 2012-07-15 Joseph Myers <joseph@codesourcery.com>
49391
49392 * conform/data/string.h-data (NULL): Use macro-constant. Require
49393 equal to 0.
49394 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
49395 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
49396 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
49397 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
49398 [ISO || ISO99 || ISO11] (*_t): Do not allow.
49399
49400 2012-07-13 Andreas Jaeger <aj@suse.de>
49401
49402 * po/fr.po: Update from translation team.
49403
49404 2012-07-12 Marek Polacek <polacek@redhat.com>
49405
49406 [BZ #14173]
49407 * math/libm-test.inc (yn_test): Add test for BZ #14173.
49408 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
49409 loop condition.
49410
49411 2012-07-12 Joseph Myers <joseph@codesourcery.com>
49412
49413 [BZ #13717]
49414 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
49415 Change to 2.4.1 where previously 2.4.0.
49416 * sysdeps/unix/sysv/linux/configure: Regenerated.
49417 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
49418 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
49419 version.
49420 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
49421 (__ASSUME_AT_CLKTCK): Remove.
49422 (__ASSUME_AT_PAGESIZE): Likewise.
49423 (__ASSUME_AT_XID): Likewise.
49424 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
49425 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
49426 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
49427 unconditionally.
49428 (HAVE_AUX_PAGESIZE): Likewise.
49429 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
49430 [__ASSUME_AT_CLKTCK]: Make code unconditional.
49431 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
49432
49433 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
49434
49435 [BZ #14307]
49436 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
49437 the temporary buffer used to invoke __gethostbyname2_r,
49438 __gethostbyaddr_r and gethostbyname4_r to make room for struct
49439 host_data / struct gaih_addrtuple.
49440 * resolv/nss_dns/dns-host.c (global scope): Move definition of
49441 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
49442 header file nss/nsswitch.h.
49443 * nss/nsswitch.h (global scope): Add definition of implementation
49444 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
49445 resolv/nss_dns/dns-host.c).
49446
49447 2012-07-11 Andreas Jaeger <aj@suse.de>
49448
49449 * po/fr.po: Update from translation team.
49450
49451 * po/sv.po: Update from translation team
49452 * po/fr.po: Another update from translation team.
49453
49454 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49455
49456 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
49457 for subnormals or multiply small sinh result by itself.
49458 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
49459 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49460
49461 2012-07-11 David S. Miller <davem@davemloft.net>
49462
49463 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49464
49465 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
49466
49467 [BZ #14347]
49468 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
49469 (INTERNAL_MARK): Shift it here.
49470
49471 2012-07-10 Marek Polacek <polacek@redhat.com>
49472
49473 [BZ #14151]
49474 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
49475 libc_cv_asm_global_directive with .globl.
49476 * configure: Regenerated.
49477 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
49478 with .globl.
49479 * sysdeps/i386/configure: Regenerated.
49480 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
49481 with .globl.
49482 * sysdeps/x86_64/configure: Regenerated.
49483 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
49484 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
49485 * elf/tst-unique2mod2.c: Likewise.
49486 * elf/tst-unique2mod1.c: Likewise.
49487 * elf/tst-unique1mod2.c: Likewise.
49488 * elf/tst-unique1mod1.c: Likewise.
49489 * sysdeps/s390/s390-32/sysdep.h: Likewise.
49490 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
49491 * sysdeps/s390/s390-64/sysdep.h: Likewise.
49492 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
49493 * sysdeps/mach/sysdep.h: Likewise.
49494 * sysdeps/i386/sysdep.h: Likewise.
49495 * sysdeps/i386/i386-mcount.S: Likewise.
49496 * sysdeps/x86_64/_mcount.S: Likewise.
49497 * sysdeps/x86_64/sysdep.h: Likewise.
49498 * sysdeps/sh/_mcount.S: Likewise.
49499 * sysdeps/sh/sysdep.h: Likewise.
49500 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
49501 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
49502 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
49503 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
49504 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
49505 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
49506 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
49507 * locale/localeinfo.h: Likewise.
49508 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
49509 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
49510
49511 2012-07-09 Roland McGrath <roland@hack.frob.com>
49512
49513 [BZ #14336]
49514 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
49515 system".
49516 * manual/message.texi (The Uniforum approach): Likewise.
49517 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
49518 (glibc iconv Implementation): Likewise.
49519
49520 2012-07-09 Joseph Myers <joseph@codesourcery.com>
49521
49522 [BZ #14337]
49523 * math/s_clog.c (__clog): Avoid scaling a value down where that
49524 could result in underflow.
49525 * math/s_clog10.c (__clog10): Likewise.
49526 * math/s_clog10f.c (__clog10f): Likewise.
49527 * math/s_clog10l.c (__clog10l): Likewise.
49528 * math/s_clogf.c (__clogf): Likewise.
49529 * math/s_clogl.c (__clogl): Likewise.
49530 * math/libm-test.inc (clog_test): Add more tests.
49531 (clog10_test): Likewise.
49532 * sysdeps/i386/fpu/libm-test-ulps: Update.
49533 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49534
49535 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
49536
49537 [BZ #14283]
49538 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
49539 by 7 not 8 to examine high bit of fractional part.
49540
49541 [BZ #14042]
49542 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
49543 for call to __mcount_internal.
49544 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
49545 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
49546 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
49547
49548 2012-07-06 Joseph Myers <joseph@codesourcery.com>
49549
49550 [BZ #14154]
49551 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
49552 approximation for values within 0x1p-13f of an odd multiple of
49553 pi/4.
49554 * math/libm-test.inc (tan_test): Do not allow spurious underflow
49555 exception. Add more tests.
49556 * sysdeps/i386/fpu/libm-test-ulps: Update.
49557
49558 [BZ #6778]
49559 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
49560 inputs and return -1 for them. Do not check for +Inf in case not
49561 reachable for +Inf.
49562 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
49563 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
49564 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
49565 and return -1 for them. Do not check for +Inf in case not
49566 reachable for +Inf.
49567 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
49568 define.
49569 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
49570 and return -1 for them. Do not check for +Inf in case not
49571 reachable for +Inf.
49572 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
49573 spurious underflow.
49574 * sysdeps/i386/fpu/libm-test-ulps: Update.
49575 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49576
49577 2012-07-06 Mike Frysinger <vapier@gentoo.org>
49578
49579 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
49580
49581 2012-07-05 Joseph Myers <joseph@codesourcery.com>
49582
49583 [BZ #14157]
49584 [BZ #14331]
49585 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
49586 could result in spurious underflow. Scale down values above
49587 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
49588 * math/s_csqrtf.c (__csqrtf): Likewise.
49589 * math/s_csqrtl.c (__csqrtl): Likewise.
49590 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
49591 spurious underflow.
49592 * sysdeps/i386/fpu/libm-test-ulps: Update.
49593 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49594
49595 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
49596
49597 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
49598 xopen-msg.sed.
49599 * catgets/xopen-msg.awk: New file.
49600 * catgets/xopen-msg.sed: Removed.
49601
49602 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
49603 po2text.sed.
49604 * intl/po2test.awk: New file.
49605 * intl/po2test.sed: Removed.
49606
49607 2012-07-04 Joseph Myers <joseph@codesourcery.com>
49608
49609 [BZ #14328]
49610 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
49611 or multiply small sinh result by itself.
49612 * math/s_ctanf.c (__ctanf): Likewise.
49613 * math/s_ctanh.c (__ctanh): Likewise.
49614 * math/s_ctanhf.c (__ctanhf): Likewise.
49615 * math/s_ctanhl.c (__ctanhl): Likewise.
49616 * math/s_ctanl.c (__ctanl): Likewise.
49617 * math/libm-test.inc (ctan_test_tonearest): New function.
49618 (ctan_test_towardzero): Likewise.
49619 (ctan_test_downward): Likewise.
49620 (ctan_test_upward): Likewise.
49621 (ctanh_test_tonearest): Likewise.
49622 (ctanh_test_towardzero): Likewise.
49623 (ctanh_test_downward): Likewise.
49624 (ctanh_test_upward): Likewise.
49625 (main): Call these new functions.
49626 * sysdeps/i386/fpu/libm-test-ulps: Update.
49627 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49628
49629 2012-07-03 Mike Frysinger <vapier@gentoo.org>
49630
49631 * .gitignore: Delete /ports entry.
49632
49633 2012-07-03 Andreas Jaeger <aj@suse.de>
49634
49635 * po/bg.po: Update from translation team.
49636 * po/cs.po: Likewise.
49637 * po/de.po: Likewise.
49638 * po/hr.po: Likewise.
49639 * po/nl.pl: Likewise.
49640 * po/pl.po: Likewise.
49641 * po/vi.po: Likewise.
49642
49643 2012-07-03 Joseph Myers <joseph@codesourcery.com>
49644
49645 * Makeconfig [!+link] (+link-before-libc): New variable.
49646 [!+link] (+link-after-libc): Likewise.
49647 [!+link] (+link-tests): Likewise.
49648 [!+link] (+link): Define in terms of $(+link-before-libc) and
49649 $(+link-after-libc).
49650 [!+link-static] (+link-static-before-libc): New variable.
49651 [!+link-static] (+link-static-after-libc): Likewise.
49652 [!+link-static] (+link-static-tests): Likewise.
49653 [!+link-static] (+link-static): Define in terms of
49654 $(+link-static-before-libc) and $(+link-static-after-libc).
49655 [build-shared] (link-libc-before-gnulib): New variable.
49656 [build-shared] (link-libc-tests): Likewise.
49657 [build-shared] (link-libc): Define in terms of
49658 $(link-libc-before-gnulib).
49659 [!build-shared] (link-libc-tests): New variable.
49660 (link-libc-static-tests): New variable.
49661 [!gnulib] (gnulib-arch): New variable.
49662 [!gnulib] (gnulib-tests): Likewise.
49663 [!gnulib] (static-gnulib-arch): Likewise.
49664 [!gnulib] (static-gnulib-tests): Likewise.
49665 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
49666 Define with "=" instead of ":=".
49667 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
49668 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
49669 * Rules (binaries-all-notests): New variable.
49670 (binaries-all-tests): Likewise.
49671 (binaries-static-notests): Likewise.
49672 (binaries-static-tests): Likewise.
49673 (binaries-all): Define using $(binaries-all-notests) and
49674 $(binaries-all-tests).
49675 (binaries-static): Define using $(binaries-static-notests) and
49676 $(binaries-static-tests).
49677 (binaries-shared-tests): New variable.
49678 (binaries-shared-notests): Likewise.
49679 (binaries-shared): Remove variable.
49680 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
49681 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
49682 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
49683 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
49684 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
49685 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
49686 * elf/Makefile (sln-modules): New variable.
49687 (extra-objs): Add $(sln-modules:=.o).
49688 (ldconfig-modules): Add static-stubs.
49689 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
49690 * elf/static-stubs.c: New file.
49691
49692 [BZ #14283]
49693 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
49694 by 7 not 8 to examine high bit of fractional part. Use volatile
49695 variables when splitting into final array of floats if
49696 __FLT_EVAL_METHOD__ != 0.
49697 * math/libm-test.inc (cos_test): Add another test.
49698 (sin_test): Likewise.
49699 * sysdeps/i386/fpu/libm-test-ulps: Update.
49700
49701 [BZ #14273]
49702 * math/libm-test.inc (cosh_test): Add more tests.
49703
49704 * version.h (RELEASE): Set to "development".
49705 (VERSION): Set to "2.16.90".
49706
49707 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
49708
49709 * NEWS: Update copyright. Remove last-updated date.
49710 Mention math library bug fixes and timezone data changes.
49711 * README: Mention GNU/Hurd, x32, and HPPA support status.
49712
49713 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
49714
49715 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
49716
49717 2012-06-27 Andreas Jaeger <aj@suse.de>
49718
49719 * manual/contrib.texi (Contributors): Add Samuel Thibault.
49720
49721 2012-06-25 Andreas Jaeger <aj@suse.de>
49722
49723 * sysdeps/s390/fpu/libm-test-ulps: Update.
49724
49725 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
49726 Thomas Schwinge <thomas@codesourcery.com>
49727
49728 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
49729 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
49730 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
49731 fanotify_mark.
49732
49733 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
49734
49735 * sysdeps/mach/start.c: Remove file.
49736 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
49737 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
49738 * sysdeps/sh/init-first.c: Likewise.
49739
49740 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
49741 registers for frame unwinding purposes, add CFI directives.
49742 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
49743 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
49744 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
49745 Likewise.
49746
49747 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
49748 __fortify_fail returning.
49749 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
49750
49751 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
49752 sysdeps/sh/____longjmp_chk.S.
49753 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
49754 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
49755 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
49756 (gen-as-const-headers): Append sigaltstack-offsets.sym.
49757
49758 * sysdeps/sh/abort-instr.h: New file.
49759 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
49760 process in case exit returns.
49761
49762 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
49763 initialize the GOT register before use.
49764
49765 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
49766 calculation of ARGC > 4.
49767
49768 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
49769 meaningful names to some local labels.
49770
49771 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
49772 Kaz Kojima <kkojima@rr.iij4u.or.jp>
49773
49774 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
49775 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
49776 (__arch_compare_and_exchange_val_16_acq): Likewise.
49777 (__arch_compare_and_exchange_val_32_acq): Likewise.
49778 (atomic_exchange_and_add): Fix gUSA sequence.
49779 (atomic_add): Likewise.
49780 (atomic_add_negative): Likewise.
49781 (atomic_add_zero): Likewise.
49782 (atomic_bit_test_set): Likewise.
49783
49784 2012-06-22 Andreas Schwab <schwab@redhat.com>
49785
49786 [BZ #13579]
49787 * include/link.h (struct link_map): Add l_free_initfini.
49788 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
49789 l_initfini.
49790 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
49791 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
49792 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
49793 set.
49794
49795 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
49796
49797 * configure.in: Use AC_LANG_SOURCE.
49798 * configure: Regenerate.
49799
49800 2012-06-22 Roland McGrath <roland@hack.frob.com>
49801
49802 * configure.in (libc_cv_localstatedir): New substituted variable.
49803 * configure: Regenerated.
49804 * config.make.in (localstatedir): New variable, substituted from
49805 libc_cv_localstatedir.
49806 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
49807 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
49808 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
49809 * sysdeps/gnu/configure: Regenerated.
49810
49811 2012-06-21 Jeff Law <law@redhat.com>
49812
49813 [BZ #14277]
49814 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
49815 free. Simplify list management for _LIBC case.
49816
49817 2012-06-21 Joseph Myers <joseph@codesourcery.com>
49818
49819 [BZ #14273]
49820 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
49821 Clear sign bit of 64-bit integer value before comparing against
49822 overflow value.
49823
49824 * sysdeps/mach/configure: Regenerated.
49825
49826 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
49827
49828 [BZ #14278]
49829 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
49830
49831 2012-06-21 Jeff Law <law@redhat.com>
49832
49833 [BZ #13882]
49834 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
49835 uint16_t for elements in the "seen" array to avoid char overflows.
49836 * elf/dl-fini.c (_dl_sort_fini): Likewise.
49837 * elf/dl-open.c (dl_open_worker): Likewise.
49838
49839 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
49840
49841 * scripts/list-sources.sh: Scan PORTS for translations.
49842 * po/libc.pot: Regenerated.
49843
49844 2012-06-21 Andreas Jaeger <aj@suse.de>
49845
49846 [BZ #12194]
49847 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
49848 warning.
49849 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
49850 * bits/byteswap-16.h (__bswap_16): Likewise.
49851 * bits/byteswap.h (__bswap_constant_16): Likewise.
49852
49853 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
49854
49855 [BZ #14117]
49856 * sysdeps/i386/fpu_control.h: Removed.
49857 * sysdeps/x86_64/fpu_control.h: Moved to ...
49858 * sysdeps/x86/fpu_control.h: Here.
49859
49860 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
49861 (_FPU_SETCW): Likewise.
49862
49863 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
49864
49865 [BZ #14117]
49866 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
49867 * sysdeps/x86/fpu/bits/mathinline.h: This.
49868 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
49869
49870 [BZ #14050]
49871 [BZ #14117]
49872 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
49873 functions if __x86_64__ is defined.
49874
49875 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
49876
49877 * string/endian.h: Add !__ASSEMBLER__ condition for including
49878 conversion interfaces.
49879
49880 2012-06-15 Joseph Myers <joseph@codesourcery.com>
49881
49882 [BZ #14241]
49883 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
49884 of ABS(x) in calculating zero to negative powers other than odd
49885 integers.
49886 * math/libm-test.inc (pow_test): Add more tests.
49887
49888 2012-06-15 Andreas Jaeger <aj@suse.de>
49889
49890 * manual/contrib.texi (Contributors): Update entry of Liubov
49891 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
49892 Machado Filho.
49893
49894 2012-06-15 Cyril Hrubis <metan@ucw.cz>
49895
49896 * string/string.h: Add __wur to GNU version of strerror_r.
49897
49898 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
49899
49900 [BZ #14229]
49901 * string/Makefile (tests): Add tst-strtok_r.
49902 * string/tst-strtok_r.c: New file.
49903 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
49904 RAX_LP/RDX_LP on SAVE_PTR.
49905
49906 2012-06-14 Roland McGrath <roland@hack.frob.com>
49907
49908 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
49909
49910 2012-06-14 Joseph Myers <joseph@codesourcery.com>
49911
49912 * libm_test.inc (csqrt_test): Allow more spurious underflow
49913 exceptions.
49914 (j0_test): Likewise.
49915 (j1_test): Likewise.
49916 (y0_test): Likewise.
49917 (y1_test): Likewise.
49918
49919 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
49920
49921 * po/Makefile (libc.pot): Use UTF-8 charset.
49922
49923 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
49924
49925 [BZ #14210]
49926 Suppress sign-conversion warning from FD_SET.
49927 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
49928 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
49929 not unsigned long int.
49930 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
49931
49932 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
49933
49934 [BZ #14050]
49935 [BZ #14117]
49936 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
49937 __extern_always_inline instead of __extern_inline.
49938 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
49939 (__signbit): Likewise.
49940 (__signbitl): Support C++ namespace.
49941 (lrintf): New inline function.
49942 (lrint): Likewise.
49943 (llrintf): Likewise.
49944 (llrint): Likewise.
49945 (fmaxf): Likewise.
49946 (fmax): Likewise.
49947 (fminf): Likewise.
49948 (fmin): Likewise.
49949 (rint): Likewise.
49950 (rintf): Likewise.
49951 (ceil): Likewise.
49952 (ceilf): Likewise.
49953 (floor): Likewise.
49954 (floorf): Likewise.
49955 (nearbyint): Likewise.
49956 (nearbyintf): Likewise.
49957
49958 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
49959
49960 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
49961 non-default versions.
49962
49963 2012-06-11 Roland McGrath <roland@hack.frob.com>
49964
49965 [BZ #14218]
49966 * manual/argp.texi (Argp): Reword argp_parse description slightly.
49967
49968 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
49969
49970 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
49971 (FE_UPWARD, FE_DOWNWARD): Don't define.
49972 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
49973 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
49974
49975 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
49976 reading it.
49977 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
49978 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
49979
49980 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
49981
49982 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
49983 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
49984 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
49985 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
49986
49987 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
49988
49989 [BZ #14117]
49990 * sysdeps/i386/fpu/bits/fenv.h: Removed.
49991 * sysdeps/i386/fpu/Implies: New file.
49992 * sysdeps/x86_64/fpu/Implies: Likewise.
49993 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
49994 * sysdeps/x86/fpu/bits/fenv.h: This.
49995
49996 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
49997 __SSE_MATH__.
49998
49999 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
50000
50001 [BZ #14134]
50002 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
50003 character 0xffff that matches the last element of the
50004 conversion table.
50005
50006 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50007
50008 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
50009 fmodl commit.
50010
50011 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50012
50013 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
50014 values higher than 25.6283.
50015
50016 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50017
50018 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
50019 subnormal exponent extraction and add some __builtin_expect.
50020 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
50021 Fix for subnormal mantissa calculation.
50022
50023 2012-06-04 Mike Frysinger <vapier@gentoo.org>
50024
50025 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
50026 cpu2 is -1 and errno is not ENOSYS.
50027
50028 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
50029
50030 [BZ #14117]
50031 * sysdeps/i386/i486/bits/string.h: Renamed to ...
50032 * sysdeps/x86/bits/string.h: This.
50033 * sysdeps/x86_64/bits/string.h: Removed.
50034
50035 * sysdeps/i386/i486/bits/string.h: Define inline functions only
50036 if not compiling for x86-64, but compiling for >= i486.
50037
50038 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
50039 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
50040
50041 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
50042 New macro from Linux kernel 3.4.0.
50043 (FP_XSTATE_MAGIC2): Likewise.
50044 (FP_XSTATE_MAGIC2_SIZE): Likewise.
50045 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
50046 (struct _fpx_sw_bytes): New struct.
50047 (struct _xsave_hdr): Likewise.
50048 (struct _ymmh_state): Likewise.
50049 (struct _xstate): Likewise.
50050
50051 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
50052 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
50053 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
50054 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
50055 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
50056 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
50057
50058 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
50059 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
50060 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
50061 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
50062 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
50063 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
50064
50065 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
50066
50067 [BZ #13743]
50068 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
50069 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
50070 (sysdep_headers): Include sys/platform/ppc.h.
50071 * sysdeps/powerpc/test-gettimebase.c: Test for
50072 __ppc_get_timebase() to catch future ISA opcode/insn changes.
50073 * manual/Makefile (appendices): Include platform.texi.
50074 * manual/contrib.texi (Contributors): Update @node pointers.
50075 * manual/maint.texi (Maintenance): Likewise.
50076 (Platform): New node.
50077 * manual/platform.texi: New file. Document the new features.
50078
50079 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
50080 Jakub Jelinek <jakub@redhat.com>
50081
50082 [BZ #14188]
50083 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
50084 where __builtin_expect is unavailable.
50085
50086 2012-06-03 David S. Miller <davem@davemloft.net>
50087
50088 * stdlib/longlong.h: Updated from GCC.
50089
50090 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
50091
50092 [BZ #14042]
50093 * sysdeps/powerpc/powerpc32/mcount.c: New file.
50094 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
50095 __mcount_internal.
50096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
50097 (GLIBC_2.16): Likewise.
50098
50099 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
50100
50101 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
50102
50103 2012-06-01 Joseph Myers <joseph@codesourcery.com>
50104
50105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
50106 (default-abi): New variable.
50107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
50108 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
50109 variable.
50110 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
50111 Likewise.
50112 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
50113 Likewise.
50114 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
50115 Likewise.
50116
50117 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
50118 definition. Document in comment.
50119
50120 2012-06-01 David S. Miller <davem@davemloft.net>
50121
50122 * stdlib/longlong.h: Updated from GCC.
50123
50124 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
50125
50126 [BZ #14117]
50127 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
50128 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
50129 sys/debugreg.h sys/io.h here.
50130 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
50131 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
50132 sys/io.h.
50133 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
50134 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
50135 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
50136 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
50137 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
50138 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
50139
50140 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
50141 Define only if __x86_64__ is defined.
50142
50143 2012-06-01 Joseph Myers <joseph@codesourcery.com>
50144
50145 [BZ #14048]
50146 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
50147 Use int64_t for variable i.
50148 * math/libm-test.inc (fmod_test): Add more tests.
50149
50150 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
50151 z computation is not scheduled after fetestexcept.
50152 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
50153 Use math_force_eval instead of asm to ensure calculation scheduled
50154 before exception test.
50155 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
50156 Ensure a1 + u.d computation is not scheduled after fetestexcept.
50157
50158 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
50159
50160 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
50161 computation is not scheduled after fetestexcept.
50162
50163 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
50164
50165 [BZ #14117]
50166 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
50167 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
50168
50169 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50170
50171 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
50172 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
50173
50174 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
50175
50176 [BZ #14117]
50177 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
50178 <bits/wordsize.h>.
50179 (__WCHAR_MIN): Support __WORDSIZE == 64.
50180 (__WCHAR_MAX): Likewise.
50181
50182 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
50183 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
50184
50185 [BZ #14183]
50186 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
50187 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
50188
50189 [BZ #14117]
50190 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
50191 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
50192
50193 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
50194 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
50195
50196 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
50197 Defined to 1 if __x86_64__ isn't defined.
50198 (_STAT_VER_LINUX_OLD): New.
50199 (st_atime): Remove duplicate.
50200 (st_mtime): Likewise.
50201 (st_ctime): Likewise.
50202
50203 2012-05-31 David S. Miller <davem@davemloft.net>
50204
50205 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
50206 entries.
50207
50208 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
50209
50210 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
50211 gen-libm-test.pl.
50212
50213 [BZ #14132]
50214 * elf/dl-reloc.c: Include <_itoa.h>.
50215 (_dl_reloc_bad_type): Remove use of INTUSE.
50216 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
50217 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
50218 * stdio-common/psiginfo.c (psiginfo): Likewise.
50219 * stdio-common/psignal.c (psignal): Likewise.
50220 * string/strsignal.c (strsignal): Likewise.
50221 * include/signal.h (_sys_siglist): Declare hidden proto.
50222 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
50223 INTVARDEF with libc_hidden_data_def.
50224 * stdio-common/itoa-udigits.c: Likewise.
50225 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
50226 (_itoa_lower_digits_internal): Remove declaration.
50227 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
50228 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
50229 (_sys_sigabbrev_internal): Remove aliases.
50230 (_sys_siglist): Define hidden alias.
50231
50232 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
50233
50234 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50235 bits/sysctl.h.
50236
50237 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
50238
50239 [BZ #14117]
50240 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
50241 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
50242
50243 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
50244 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
50245 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
50246 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
50247 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
50248 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
50249
50250 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
50251 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
50252 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
50253
50254 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
50255 with __addr.
50256 (insw): Likewise.
50257 (insl): Likewise.
50258 (outsb): Likewise.
50259 (outsw): Likewise.
50260 (outsl): Likewise.
50261
50262 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
50263 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
50264 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
50265
50266 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
50267 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
50268 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
50269 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
50270 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
50271 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
50272
50273 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
50274 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
50275
50276 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
50277 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
50278
50279 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
50280 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
50281 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
50282
50283 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
50284 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
50285 to ...
50286 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
50287
50288 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
50289 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
50290 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
50291
50292 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
50293 for x86-64.
50294 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
50295
50296 2012-05-31 Joseph Myers <joseph@codesourcery.com>
50297
50298 * math/math.h (M_El): Use two more decimal places.
50299 (M_LOG2El): Likewise.
50300 (M_LOG10El): Likewise.
50301 (M_LN2l): Likewise.
50302 (M_LN10l): Likewise.
50303 (M_PIl): Likewise.
50304 (M_PI_2l): Likewise.
50305 (M_PI_4l): Likewise.
50306 (M_1_PIl): Likewise.
50307 (M_2_PIl): Likewise.
50308 (M_2_SQRTPIl): Likewise.
50309 (M_SQRT2l): Likewise.
50310 (M_SQRT1_2l): Likewise.
50311
50312 2012-05-31 David S. Miller <davem@davemloft.net>
50313
50314 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
50315 values between float registers.
50316 * sysdeps/sparc/sparc64/memset.S: Likewise.
50317 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
50318
50319 2012-05-31 Mike Frysinger <vapier@gentoo.org>
50320
50321 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
50322 -D_FORTIFY_SOURCE=1.
50323 (CPPFLAGS-tst-longjmp_chk.c): Define.
50324 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
50325 (CPPFLAGS-tst-longjmp_chk2.c): Define.
50326 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
50327 CFLAGS-tst-wchar-h.c.
50328
50329 2012-05-31 Marek Polacek <polacek@redhat.com>
50330
50331 [BZ #14132]
50332 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
50333 __endmntent_internal): Remove declaration.
50334 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
50335 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
50336 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
50337
50338 2012-05-30 David S. Miller <davem@davemloft.net>
50339
50340 * sysdeps/sparc/sparc32/soft-fp/q_util.c
50341 (___Q_simulate_exceptions): Use real FP ops rather than writing
50342 into the %fsr.
50343 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
50344 Likewise.
50345
50346 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
50347
50348 [BZ #14117]
50349 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
50350 * sysdeps/x86/bits/xtitypes.h: This.
50351
50352 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
50353 * sysdeps/x86/bits/wordsize.h: This.
50354
50355 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
50356 * sysdeps/x86/bits/huge_vall.h: This.
50357
50358 * sysdeps/i386/bits/select.h: Removed.
50359 * sysdeps/x86_64/bits/select.h: Renamed to ...
50360 * sysdeps/x86/bits/select.h: This.
50361
50362 * sysdeps/i386/bits/setjmp.h: Removed.
50363 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
50364 * sysdeps/x86/bits/setjmp.h: This.
50365
50366 * sysdeps/i386/bits/mathdef.h: Removed.
50367 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
50368 * sysdeps/x86/bits/mathdef.h: This.
50369
50370 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
50371
50372 [BZ #14132]
50373 * include/sys/socket.h (__connect_internal)
50374 (__libc_sa_len_internal): Remove declaration.
50375 (__connect, __libc_sa_len): Declare hidden_proto.
50376 (SA_LEN): Remove use of INTUSE.
50377 * socket/connect.c: Add libc_hidden_def.
50378 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
50379 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
50380 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
50381 alias.
50382 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
50383 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
50384 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
50385 of adding _internal alias.
50386
50387 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
50388
50389 [BZ #14117]
50390 * sysdeps/i386/bits/link.h: Removed.
50391 * sysdeps/i386/bits/linkmap.h: Likewise.
50392 * sysdeps/x86_64/bits/link.h: Renamed to ...
50393 * sysdeps/x86/bits/link.h: This.
50394 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
50395 * sysdeps/x86/bits/linkmap.h: This.
50396
50397 * sysdeps/i386/bits/endian.h: Removed.
50398 * sysdeps/x86_64/bits/endian.h: Renamed to ...
50399 * sysdeps/x86/bits/endian.h: This.
50400
50401 * sysdeps/i386/bits/byteswap.h: Removed.
50402 * sysdeps/i386/bits/byteswap-16.h: Likewise.
50403 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
50404 * sysdeps/x86/bits/byteswap.h: This.
50405 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
50406 * sysdeps/x86/bits/byteswap-16.h: This.
50407 * sysdeps/i386/Implies: Add x86.
50408 * sysdeps/x86_64/Implies: Likewise.
50409
50410 2012-05-30 David S. Miller <davem@davemloft.net>
50411
50412 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
50413 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
50414 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
50415 (FP_TRAPPING_EXCEPTIONS): Define.
50416 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
50417 (FP_TRAPPING_EXCEPTIONS): Define.
50418 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
50419 subnormals only when inexact has been signalled or underflow
50420 exceptions are enabled.
50421 (_FP_PACK_CANONICAL): Likewise.
50422
50423 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
50424
50425 [BZ #14183]
50426 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
50427 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
50428
50429 2012-05-30 Richard Henderson <rth@twiddle.net>
50430
50431 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
50432 with #ifndef NOT_IN_libc.
50433
50434 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
50435 marked to avoid plt entry.
50436
50437 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
50438
50439 [BZ #14112]
50440 * Makeconfig (default-abi): New macro.
50441 (abi-includes): Likewise.
50442 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
50443 $(abi-$(default-abi)-lib-soname) for soname if defined.
50444 ($(common-objpfx)gnu/lib-names.stmp): Generate from
50445 abi-variants.
50446 * Makefile (installed-stubs): Likewise.
50447 * include/stubs-biarch.h: Removed.
50448 * scripts/lib-names.awk: Only handle one library at a time.
50449 * scripts/soversions.awk: Remove WORDSIZE support.
50450 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
50451 entries.
50452 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
50453 Removed.
50454 (syscall-list-default-condition): Likewise.
50455 (syscall-list-default-condition): Likewise.
50456 (syscall-list-includes): Likewise.
50457 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
50458 syscall-list-* with abi-*. Handle undefined abi-variants.
50459 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
50460 * sysdeps/unix/sysv/linux/i386/Implies: New file.
50461 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
50462 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
50463 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
50464 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
50465 Removed.
50466 (syscall-list-32-options): Likewise.
50467 (syscall-list-32-condition): Likewise.
50468 (syscall-list-64-options): Likewise.
50469 (syscall-list-64-condition): Likewise.
50470 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
50471 macro.
50472 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
50473 Renamed to ...
50474 (abi-*): This.
50475 (abi-64-ld-soname): New macro.
50476 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
50477 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
50478 Renamed to ...
50479 (abi-*): This.
50480 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
50481 * sysdeps/x86_64/x32/shlib-versions: Likewise.
50482
50483 2012-05-30 Joseph Myers <joseph@codesourcery.com>
50484
50485 * sysdeps/unix/sysv/linux/kernel-features.h
50486 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
50487 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
50488 include <kernel-features.h>.
50489 [!__NR_ftruncate64]: Remove conditional code.
50490 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50491 [__NR_ftruncate64]: Make code unconditional.
50492 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50493 * sysdeps/unix/sysv/linux/truncate64.c: Do not
50494 include <kernel-features.h>.
50495 [!__NR_ftruncate64]: Remove conditional code.
50496 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50497 [__NR_ftruncate64]: Make code unconditional.
50498 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
50500 include <kernel-features.h>.
50501 [!__NR_ftruncate64]: Remove conditional code.
50502 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50503 [__NR_ftruncate64]: Make code unconditional.
50504 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
50506 include <kernel-features.h>.
50507 [!__NR_ftruncate64]: Remove conditional code.
50508 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50509 [__NR_ftruncate64]: Make code unconditional.
50510 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50511
50512 * configure.in (libc_cv_fpie): Weaken to a compile test using
50513 LIBC_TRY_CC_OPTION.
50514 * configure: Regenerated.
50515
50516 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50517
50518 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
50519 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
50520 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
50521 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
50522 Refreshed.
50523 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
50524 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
50525 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
50526 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
50527 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
50528 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
50529 Refreshed.
50530
50531 2012-05-27 David S. Miller <davem@davemloft.net>
50532
50533 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
50534 (___Q_zero): New.
50535 (__Q_simulate_exceptions): Return void. Change to simulate
50536 exceptions by writing into the %fsr.
50537 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
50538 (__Qp_handle_exceptions): Likewise.
50539 (numbers): Delete.
50540 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
50541 __Qp_handle_exceptions.
50542 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
50543 __Qp_handle_exceptions.
50544 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
50545 as unused and give dummy FP_RND_NEAREST initializer.
50546 (FP_INHIBIT_RESULTS): Define.
50547 (___Q_simulate_exceptions): Update declaration.
50548 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
50549 formatting.
50550 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
50551 as unused and give dummy FP_RND_NEAREST initializer.
50552 (__Qp_handle_exceptions): Update declaration.
50553 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
50554 formatting.
50555
50556 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
50557
50558 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
50559 the temporary FPU control word.
50560 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
50561 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
50562 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
50563 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
50564 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
50565 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
50566 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
50567 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
50568 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
50569 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
50570 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
50571
50572 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
50573
50574 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
50575 fields.
50576
50577 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
50578
50579 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
50580 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
50581 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
50582 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
50583 Likewise.
50584 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
50585 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
50586 Likewise.
50587
50588 2012-05-27 Ulrich Drepper <drepper@gmail.com>
50589
50590 * po/h.po: Update from translation team.
50591
50592 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
50593
50594 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
50595
50596 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
50597 handling of denormals.
50598 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
50599 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
50600 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
50601 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
50602 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
50603 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
50604 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
50605 Likewise.
50606
50607 2012-05-26 Marek Polacek <polacek@redhat.com>
50608
50609 [BZ #14152]
50610 * math/libm-test.inc (fma_test): Don't always expect underflow
50611 exception.
50612
50613 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
50614
50615 [BZ #12416]
50616 * elf/tst-execstack.c: Include stackinfo.h.
50617 (do_test): Adjust test case to ensure that pthread_getattr_np
50618 behaviour remains the same after marking stack executable.
50619
50620 2012-05-25 Joseph Myers <joseph@codesourcery.com>
50621
50622 * sysdeps/unix/sysv/linux/kernel-features.h
50623 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
50624 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
50625 kernel-features.h.
50626 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
50627 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
50628 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
50629 kernel-features.h.
50630 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
50631 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
50632
50633 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
50634
50635 * configure.in: Define the default includes to being none.
50636 * configure: Regenerated.
50637
50638 2012-05-25 Roland McGrath <roland@hack.frob.com>
50639
50640 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
50641 * sysdeps/x86_64/setjmp.S: Likewise.
50642 * sysdeps/i386/bsd-setjmp.S: Likewise.
50643 * sysdeps/i386/bsd-_setjmp.S: Likewise.
50644 * sysdeps/i386/setjmp.S: Likewise.
50645 * sysdeps/i386/__longjmp.S: Likewise.
50646 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
50647 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
50648
50649 * include/stap-probe.h: New file.
50650 * configure.in: Handle --enable-systemtap.
50651 * configure: Regenerated.
50652 * config.h.in (USE_STAP_PROBE): New #undef.
50653 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
50654 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
50655 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
50656
50657 2012-05-25 Joseph Myers <joseph@codesourcery.com>
50658
50659 [BZ #13717]
50660 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
50661 to 2.4.0 where earlier.
50662 * sysdeps/unix/sysv/linux/configure: Regenerated.
50663 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
50664 <kernel-features.h>.
50665 [__ASSUME_32BITUIDS]: Make code unconditional.
50666 [!__ASSUME_32BITUIDS]: Remove conditional code.
50667 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
50668 <kernel-features.h>.
50669 [__ASSUME_32BITUIDS]: Make code unconditional.
50670 [!__ASSUME_32BITUIDS]: Remove conditional code.
50671 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
50672 [__ASSUME_32BITUIDS]: Make code unconditional.
50673 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
50674 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
50675 <kernel-features.h>.
50676 [__ASSUME_32BITUIDS]: Make code unconditional.
50677 [!__ASSUME_32BITUIDS]: Remove conditional code.
50678 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
50679 <kernel-features.h>.
50680 [__ASSUME_32BITUIDS]: Make code unconditional.
50681 [!__ASSUME_32BITUIDS]: Remove conditional code.
50682 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
50683 <kernel-features.h>.
50684 [__ASSUME_32BITUIDS]: Make code unconditional.
50685 [!__ASSUME_32BITUIDS]: Remove conditional code.
50686 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
50687 <kernel-features.h>.
50688 [__ASSUME_32BITUIDS]: Make code unconditional.
50689 [!__ASSUME_32BITUIDS]: Remove conditional code.
50690 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
50691 <kernel-features.h>.
50692 [__ASSUME_32BITUIDS]: Make code unconditional.
50693 [!__ASSUME_32BITUIDS]: Remove conditional code.
50694 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
50695 <kernel-features.h>.
50696 [__ASSUME_32BITUIDS]: Make code unconditional.
50697 [!__ASSUME_32BITUIDS]: Remove conditional code.
50698 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
50699 <kernel-features.h>.
50700 [__ASSUME_32BITUIDS]: Make code unconditional.
50701 [!__ASSUME_32BITUIDS]: Remove conditional code.
50702 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
50703 <kernel-features.h>.
50704 [__ASSUME_32BITUIDS]: Make code unconditional.
50705 [!__ASSUME_32BITUIDS]: Remove conditional code.
50706 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
50707 <kernel-features.h>.
50708 [__ASSUME_32BITUIDS]: Make code unconditional.
50709 [!__ASSUME_32BITUIDS]: Remove conditional code.
50710 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
50711 <kernel-features.h>.
50712 [__ASSUME_32BITUIDS]: Make code unconditional.
50713 [!__ASSUME_32BITUIDS]: Remove conditional code.
50714 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
50715 <kernel-features.h>.
50716 [__NR_setresgid] (__setresgid): Do not declare.
50717 [__ASSUME_32BITUIDS]: Make code unconditional.
50718 [!__ASSUME_32BITUIDS]: Remove conditional code.
50719 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
50720 <kernel-features.h>.
50721 [__NR_setresuid] (__setresuid): Do not declare.
50722 [__ASSUME_32BITUIDS]: Make code unconditional.
50723 [!__ASSUME_32BITUIDS]: Remove conditional code.
50724 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
50725 <kernel-features.h>.
50726 [__ASSUME_32BITUIDS]: Make code unconditional.
50727 [!__ASSUME_32BITUIDS]: Remove conditional code.
50728 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
50729 <kernel-features.h>.
50730 [__ASSUME_32BITUIDS]: Make code unconditional.
50731 [!__ASSUME_32BITUIDS]: Remove conditional code.
50732 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
50733 <kernel-features.h>.
50734 [__ASSUME_32BITUIDS]: Make code unconditional.
50735 [!__ASSUME_32BITUIDS]: Remove conditional code.
50736 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
50737 <kernel-features.h>.
50738 [__ASSUME_32BITUIDS]: Make code unconditional.
50739 [!__ASSUME_32BITUIDS]: Remove conditional code.
50740 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
50741 <kernel-features.h>.
50742 [__ASSUME_32BITUIDS]: Make code unconditional.
50743 [!__ASSUME_32BITUIDS]: Remove conditional code.
50744 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
50745 <kernel-features.h>.
50746 [__ASSUME_32BITUIDS]: Make code unconditional.
50747 [!__ASSUME_32BITUIDS]: Remove conditional code.
50748 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
50749 <kernel-features.h>.
50750 [__ASSUME_32BITUIDS]: Make code unconditional.
50751 [!__ASSUME_32BITUIDS]: Remove conditional code.
50752 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
50753 <kernel-features.h>.
50754 [__ASSUME_32BITUIDS]: Make code unconditional.
50755 [!__ASSUME_32BITUIDS]: Remove conditional code.
50756 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
50757 <kernel-features.h>.
50758 [__ASSUME_32BITUIDS]: Make code unconditional.
50759 [!__ASSUME_32BITUIDS]: Remove conditional code.
50760 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
50761 <kernel-features.h>.
50762 [__ASSUME_32BITUIDS]: Make code unconditional.
50763 [!__ASSUME_32BITUIDS]: Remove conditional code.
50764 * sysdeps/unix/sysv/linux/kernel-features.h
50765 (__ASSUME_SETRESUID_SYSCALL): Remove.
50766 (__ASSUME_SETRESGID_SYSCALL): Likewise.
50767 (__ASSUME_32BITUIDS): Likewise.
50768 (__ASSUME_LDT_WORKS): Likewise.
50769 (__ASSUME_O_DIRECTORY): Likewise.
50770 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
50771 architecture but not kernel version.
50772 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
50773 (__ASSUME_MMAP2_SYSCALL): Likewise.
50774 (__ASSUME_STAT64_SYSCALL): Likewise.
50775 (__ASSUME_IPC64): Likewise.
50776 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
50777 <kernel-features.h>.
50778 [__ASSUME_32BITUIDS]: Make code unconditional.
50779 [!__ASSUME_32BITUIDS]: Remove conditional code.
50780 * sysdeps/unix/sysv/linux/opendir.c: Do not include
50781 <kernel-features.h>.
50782 [__ASSUME_O_DIRECTORY]: Make code unconditional.
50783 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
50784 132096]: Remove conditional code.
50785 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
50786 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
50787 <kernel-features.h>.
50788 [__ASSUME_32BITUIDS]: Make code unconditional.
50789 [!__ASSUME_32BITUIDS]: Remove conditional code.
50790 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
50791 <kernel-features.h>.
50792 [__ASSUME_32BITUIDS]: Make code unconditional.
50793 [!__ASSUME_32BITUIDS]: Remove conditional code.
50794 * sysdeps/unix/sysv/linux/setegid.c: Do not include
50795 <kernel-features.h>.
50796 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
50797 unconditional.
50798 (__setresgid): Do not declare.
50799 [__ASSUME_32BITUIDS]: Make code unconditional.
50800 [!__ASSUME_32BITUIDS]: Remove conditional code.
50801 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
50802 <kernel-features.h>.
50803 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
50804 unconditional.
50805 (__setresuid): Do not declare.
50806 [__ASSUME_32BITUIDS]: Make code unconditional.
50807 [!__ASSUME_32BITUIDS]: Remove conditional code.
50808 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
50809 <kernel-features.h>.
50810 [__ASSUME_32BITUIDS]: Make code unconditional.
50811 [!__ASSUME_32BITUIDS]: Remove conditional code.
50812 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
50813 <kernel-features.h>.
50814 [__ASSUME_32BITUIDS]: Make code unconditional.
50815 [!__ASSUME_32BITUIDS]: Remove conditional code.
50816
50817 2012-05-25 Richard Henderson <rth@twiddle.net>
50818
50819 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
50820 dl_hwcap to ifunc resolver.
50821 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
50822 elf_ifunc_invoke.
50823 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
50824 dl_hwcap to ifunc resolver.
50825 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
50826
50827 2012-05-24 Joseph Myers <joseph@codesourcery.com>
50828
50829 [BZ #14153]
50830 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
50831 for |x| <= 2**-26, not 2**-57.
50832 * math/libm-test.inc (acos_test): Do not allow spurious underflow
50833 exception.
50834
50835 2012-05-24 Jeff Law <law@redhat.com>
50836
50837 * stdio-common/Makefile (tests): Add bug25.
50838 * stdio-common/bug25.c: New test.
50839
50840 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
50841
50842 [BZ #13576]
50843 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
50844 multiple of MALLOC_ALIGNMENT in size.
50845 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
50846
50847 2012-05-24 Joseph Myers <joseph@codesourcery.com>
50848
50849 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
50850 Require >= 256.
50851 (FILENAME_MAX): Use macro-int-constant.
50852 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
50853 (_IOFBF): Use macro-int-constant.
50854 (_IOLBF): Likewise.
50855 (_IONBF): Likewise.
50856 (SEEK_CUR): Likewise.
50857 (SEEK_END): Likewise.
50858 (SEEK_SET): Likewise.
50859 (TMP_MAX): Likewise.
50860 (EOF): Use macro-int-constant. Require < 0.
50861 (NULL): Use macro-constant. Require == 0.
50862 (stdin): Require type to be FILE *.
50863 (stdout): Likewise.
50864 (stderr): Likewise.
50865 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
50866 macro-int-constant.
50867 (EXIT_SUCCESS): Likewise.
50868 (NULL): Use macro-constant. Require == 0.
50869 (RAND_MAX): Use macro-int-constant.
50870 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
50871 [C99-based standards] (strtof): Require function.
50872 [C99-based standards] (strtold): Likewise.
50873 [C99-based standards] (strtoll): Likewise.
50874 [C99-based standards] (strtoull): Likewise.
50875 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
50876 [ISO || ISO99 || ISO11] (limits.h): Likewise.
50877 [ISO || ISO99 || ISO11] (math.h): Likewise.
50878 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
50879 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
50880 [ISO || ISO99 || ISO11] (*_t): Do not allow.
50881
50882 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
50883
50884 [BZ #14132]
50885 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
50886 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
50887 * intl/dgettext.c (DCGETTEXT): Likewise.
50888 * intl/gettext.c (DCGETTEXT): Likewise.
50889 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
50890 * posix/regex_internal.h (gettext): Likewise.
50891 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
50892 Remove declaration.
50893 * include/argz.h (__argz_count_internal)
50894 (__argz_stringify_internal): Remove declaration.
50895 (__argz_count, __argz_stringify): Declare hidden proto.
50896 * intl/dcgettext.c: Remove use of INTDEF.
50897 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
50898 * string/argz-stringify.c: Likewise.
50899 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
50900 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
50901 Declare hidden proto.
50902 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
50903 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
50904 Declare hidden proto.
50905 * include/stdio.h (__asprintf_internal): Don't declare.
50906 (__asprintf): Don't define as macro. Declare hidden proto.
50907 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
50908 (__fsetlocking): Declare hidden proto.
50909 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
50910 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
50911 hidden proto.
50912 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
50913 (_IO_setlinebuf): Remove use of INTUSE.
50914 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
50915 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
50916 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
50917 Remove declaration.
50918 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
50919 (_IO_do_flush): Remove use of INTUSE.
50920 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
50921 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
50922 (_IO_adjust_column, _IO_least_wmarker)
50923 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
50924 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
50925 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
50926 (_IO_default_doallocate, _IO_wdefault_doallocate)
50927 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
50928 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
50929 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
50930 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
50931 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
50932 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
50933 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
50934 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
50935 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
50936 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
50937 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
50938 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
50939 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
50940 proto.
50941 (_IO_flush_all_internal, _IO_adjust_column_internal)
50942 (_IO_default_uflow_internal, _IO_default_finish_internal)
50943 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
50944 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
50945 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
50946 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
50947 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
50948 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
50949 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
50950 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
50951 (_IO_file_close_internal, _IO_file_close_it_internal)
50952 (_IO_file_underflow_internal, _IO_file_overflow_internal)
50953 (_IO_file_init_internal, _IO_file_attach_internal)
50954 (_IO_file_fopen_internal, _IO_file_read_internal)
50955 (_IO_file_sync_internal, _IO_file_seek_internal)
50956 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
50957 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
50958 (_IO_str_underflow_internal, _IO_str_overflow_internal)
50959 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
50960 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
50961 (_IO_list_all_internal, _IO_link_in_internal)
50962 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
50963 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
50964 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
50965 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
50966 (_IO_do_write_internal, _IO_padn_internal)
50967 (_IO_getline_info_internal, _IO_getline_internal)
50968 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
50969 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
50970 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
50971 (_IO_vfscanf_internal, _IO_vfprintf_internal)
50972 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
50973 (_IO_init_internal, _IO_un_link_internal): Don't declare.
50974 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
50975 with libc_hidden_ver, remove use of INTUSE.
50976 * libio/genops.c: Likewise.
50977 * libio/freopen.c: Likewise.
50978 * libio/freopen64.c: Likewise.
50979 * libio/iofclose.c: Likewise.
50980 * libio/iofdopen.c: Likewise.
50981 * libio/iofflush.c: Likewise.
50982 * libio/iofflush_u.c: Likewise.
50983 * libio/iofgets.c: Likewise.
50984 * libio/iofgets_u.c: Likewise.
50985 * libio/iofopen.c: Likewise.
50986 * libio/iofopncook.c: Likewise.
50987 * libio/iofread.c: Likewise.
50988 * libio/iofread_u.c: Likewise.
50989 * libio/ioftell.c: Likewise.
50990 * libio/iofwrite.c: Likewise.
50991 * libio/iogetline.c: Likewise.
50992 * libio/iogets.c: Likewise.
50993 * libio/iogetwline.c: Likewise.
50994 * libio/iopadn.c: Likewise.
50995 * libio/iopopen.c: Likewise.
50996 * libio/ioseekoff.c: Likewise.
50997 * libio/ioseekpos.c: Likewise.
50998 * libio/iosetbuffer.c: Likewise.
50999 * libio/iosetvbuf.c: Likewise.
51000 * libio/ioungetc.c: Likewise.
51001 * libio/ioungetwc.c: Likewise.
51002 * libio/iovdprintf.c: Likewise.
51003 * libio/iovsprintf.c: Likewise.
51004 * libio/iovsscanf.c: Likewise.
51005 * libio/memstream.c: Likewise.
51006 * libio/obprintf.c: Likewise.
51007 * libio/oldfileops.c: Likewise.
51008 * libio/oldiofclose.c: Likewise.
51009 * libio/oldiofdopen.c: Likewise.
51010 * libio/oldiofopen.c: Likewise.
51011 * libio/oldiopopen.c: Likewise.
51012 * libio/oldstdfiles.c: Likewise.
51013 * libio/putc.c: Likewise.
51014 * libio/setbuf.c: Likewise.
51015 * libio/setlinebuf.c: Likewise.
51016 * libio/stdfiles.c: Likewise.
51017 * libio/strops.c: Likewise.
51018 * libio/vasprintf.c: Likewise.
51019 * libio/vscanf.c: Likewise.
51020 * libio/vsnprintf.c: Likewise.
51021 * libio/vswprintf.c: Likewise.
51022 * libio/wfiledoalloc.c: Likewise.
51023 * libio/wfileops.c: Likewise.
51024 * libio/wgenops.c: Likewise.
51025 * libio/wmemstream.c: Likewise.
51026 * libio/wstrops.c: Likewise.
51027 * libio/__fpurge.c: Likewise.
51028 * libio/__fsetlocking.c: Likewise.
51029 * assert/assert.c: Likewise.
51030 * debug/fgets_chk.c: Likewise.
51031 * debug/fgets_u_chk.c: Likewise.
51032 * debug/fread_chk.c: Likewise.
51033 * debug/fread_u_chk.c: Likewise.
51034 * debug/gets_chk.c: Likewise.
51035 * debug/obprintf_chk.c: Likewise.
51036 * debug/vasprintf_chk.c: Likewise.
51037 * debug/vdprintf_chk.c: Likewise.
51038 * debug/vsnprintf_chk.c: Likewise.
51039 * debug/vsprintf_chk.c: Likewise.
51040 * malloc/mtrace.c: Likewise.
51041 * misc/error.c: Likewise.
51042 * misc/syslog.c: Likewise.
51043 * stdio-common/asprintf.c: Likewise.
51044 * stdio-common/fxprintf.c: Likewise.
51045 * stdio-common/getw.c: Likewise.
51046 * stdio-common/isoc99_fscanf.c: Likewise.
51047 * stdio-common/isoc99_scanf.c: Likewise.
51048 * stdio-common/isoc99_vfscanf.c: Likewise.
51049 * stdio-common/isoc99_vscanf.c: Likewise.
51050 * stdio-common/isoc99_vsscanf.c: Likewise.
51051 * stdio-common/printf-prs.c: Likewise.
51052 * stdio-common/printf_fp.c: Likewise.
51053 * stdio-common/printf_fphex.c: Likewise.
51054 * stdio-common/printf_size.c: Likewise.
51055 * stdio-common/putw.c: Likewise.
51056 * stdio-common/scanf.c: Likewise.
51057 * stdio-common/sprintf.c: Likewise.
51058 * stdio-common/tmpfile.c: Likewise.
51059 * stdio-common/vfprintf.c: Likewise.
51060 * stdio-common/vfscanf.c: Likewise.
51061 * stdlib/strfmon_l.c: Likewise.
51062 * sunrpc/openchild.c: Likewise.
51063 * sunrpc/xdr_stdio.c: Likewise.
51064 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
51065 * sysdeps/mach/hurd/tmpfile.c: Likewise.
51066
51067 2012-05-24 Roland McGrath <roland@hack.frob.com>
51068
51069 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
51070
51071 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
51072 in the third column, to generate for the shared library an IFUNC
51073 that uses _dl_vdso_vsym.
51074 * Makerules (COMPILE.c, compile-stdin.c): New variables.
51075 * Makeconfig (object-suffixes-noshared): New variable.
51076
51077 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
51078 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
51079 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
51080 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
51081
51082 [BZ #14132]
51083 * include/sys/time.h (__gettimeofday): Remove macro.
51084 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
51085 * time/gettimeofday.c (__gettimeofday): Remove #undef.
51086 Remove INTDEF.
51087 (__gettimeofday): Add libc_hidden_def.
51088 (gettimeofday): Add libc_hidden_weak.
51089 * sysdeps/mach/gettimeofday.c: Likewise.
51090 * sysdeps/posix/gettimeofday.c: Likewise.
51091 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
51092 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
51093 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
51094 (__gettimeofday_internal): Remove strong_alias.
51095 (__gettimeofday): Add libc_hidden_def.
51096 (gettimeofday): Add libc_hidden_weak.
51097 * sysdeps/unix/syscalls.list (gettimeofday):
51098 Remove __gettimeofday_internal alias.
51099
51100 2012-05-24 Daniel Jacobowitz <drow@false.org>
51101 H.J. Lu <hongjiu.lu@intel.com>
51102
51103 [BZ #12495]
51104 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
51105 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
51106 (largebin_index_32_big): New.
51107 (largebin_index): Use it for 16-byte alignment.
51108 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
51109 correction with front_misalign.
51110
51111 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
51112
51113 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
51114 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
51115 Likewise.
51116 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
51117 Likewise.
51118 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
51119 Likewise.
51120 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
51121 Likewise.
51122 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
51123 Likewise.
51124 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
51125 Likewise.
51126 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
51127 Likewise.
51128 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
51129 Likewise.
51130 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
51131 Likewise.
51132 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
51133 Likewise.
51134 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
51135 Likewise.
51136 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
51137 Likewise.
51138
51139 * scripts/data/c++-types-x32-linux-gnu.data: New file.
51140 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
51141
51142 2012-05-24 Joseph Myers <joseph@codesourcery.com>
51143
51144 [BZ #10846]
51145 [BZ #14036]
51146 * math/libm-test.inc (exp_test): Add test from bug 14036.
51147 (pow_test): Add test from bug 10846.
51148
51149 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
51150 and other flags.
51151 (special_function): Do not include flags in test name.
51152 (parse_args): Likewise.
51153 * sysdeps/i386/fpu/libm-test-ulps: Update.
51154 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
51155 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
51156 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
51157 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51158
51159 * math/gen-libm-test.pl (%beautify): Add entries for underflow
51160 exceptions.
51161 * math/libm-test.inc ("Philosophy"): Update comment about
51162 exception testing.
51163 (UNDERFLOW_EXCEPTION): New macro.
51164 (UNDERFLOW_EXCEPTION_OK): Likewise.
51165 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
51166 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
51167 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
51168 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
51169 (INVALID_EXCEPTION_OK): Update value.
51170 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
51171 (OVERFLOW_EXCEPTION_OK): Likewise.
51172 (IGNORE_ZERO_INF_SIGN): Likewise.
51173 (test_exceptions): Handle underflow exceptions.
51174 (acos_test): Update for underflow exception expectations.
51175 (cexp_test): Likewise.
51176 (clog_test): Likewise.
51177 (clog10_test): Likewise.
51178 (csqrt_test): Likewise.
51179 (ctan_test): Likewise.
51180 (ctanh_test): Likewise.
51181 (exp_test): Likewise.
51182 (exp10_test): Likewise.
51183 (exp2_test): Likewise.
51184 (expm1_test): Likewise.
51185 (fma_test): Likewise.
51186 (j0_test): Likewise.
51187 (jn_test): Likewise.
51188 (nexttoward_test): Likewise.
51189 (pow_test): Likewise.
51190 (scalbn_test): Likewise.
51191 (scalbln_test): Likewise.
51192 (tan_test): Likewise.
51193 (y1_test): Likewise.
51194 * sysdeps/i386/fpu/libm-test-ulps: Update.
51195 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51196
51197 2012-05-23 David S. Miller <davem@davemloft.net>
51198
51199 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
51200 (__libc_sigaction): Remove unused local variables.
51201
51202 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
51203
51204 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
51205
51206 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
51207
51208 mktime: avoid signed integer overflow
51209 * time/mktime.c (__mktime_internal): Do not mishandle the case
51210 where diff == INT_MIN.
51211
51212 mktime: simplify computation of average
51213 * time/mktime.c (ranged_convert): Use new time_t_avg function
51214 instead of rolling our own (probably-slower) code.
51215
51216 mktime: do not assume signed right shift propagates sign bit
51217 * time/mktime.c (isdst_differ): New static function.
51218 (__mktime_internal): No need to normalize tm_isdst now.
51219 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
51220 tm_isdst values.
51221
51222 mktime: merge another wrapv change from gnulib
51223 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
51224 from some compilers.
51225
51226 mktime: remove incorrect attempt at unusual arithmetics
51227 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
51228 The code didn't really work on such machines anyway.
51229 (TYPE_MINIMUM): Assume two's complement.
51230 (twos_complement_arithmetic): Verify that long_int and time_t
51231 are two's complement (or unsigned, in the latter case).
51232
51233 mktime: check signed shifts on long_int and time_t, too
51234 * time/mktime.c (SHR): Check that shifts work as desired
51235 on the types long_int and time_t too, as SHR is used on
51236 such types.
51237
51238 mktime: do not assume 'long' is wide enough
51239 * time/mktime.c (verify): Move decl up.
51240 (long_int): New type.
51241 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
51242 to remove assumption in the code that 'long' is wide enough to
51243 store year values. This assumption is not true on x32 and on
51244 some non-glibc platforms.
51245
51246 mktime: merge wrapv change from gnulib
51247 * time/mktime.c (WRAPV): New macro.
51248 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
51249 (guess_time_tm, __mktime_internal): Do not assume that signed
51250 integer overflow wraps around; modern compilers generate code
51251 where this assumption is no longer valid.
51252
51253 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
51254
51255 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
51256 Replace "jmp L(pseudo_end)" with "ret".
51257 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
51258 Likewise.
51259
51260 2012-05-23 Andreas Jaeger <aj@suse.de>
51261
51262 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
51263 * sysdeps/unix/sysv/linux/poll.c: Remove file.
51264
51265 2012-05-23 Andreas Jaeger <aj@suse.de>
51266 Maximilian Attems <max@stro.at>
51267
51268 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
51269 New macros.
51270
51271 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
51272
51273 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
51274 code so that pseudo_end is just ret and the stack pointer is
51275 correct also for static library in error case.
51276
51277 2012-05-23 Joseph Myers <joseph@codesourcery.com>
51278
51279 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
51280 move to syscalls.list.
51281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
51282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
51283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
51284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
51285
51286 * manual/install.texi (Running make install): Do not mention Linux
51287 kernel version for which pt_chown is not needed.
51288 (Linux): Do not mention problems with nscd with 2.0 kernels.
51289 * INSTALL: Regenerated.
51290
51291 2012-05-23 Andreas Jaeger <aj@suse.de>
51292
51293 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
51294 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
51295 macro.
51296 * sysdeps/unix/sysv/linux/s390/bits/mman.h
51297 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
51298 * sysdeps/unix/sysv/linux/sh/bits/mman.h
51299 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
51300 * sysdeps/unix/sysv/linux/i386/bits/mman.h
51301 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
51302 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
51303 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
51304 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
51305 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
51306 * sysdeps/unix/sysv/linux/bits/in.h
51307 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
51308
51309 2012-05-22 Roland McGrath <roland@hack.frob.com>
51310
51311 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
51312 (PREPARE_VERSION): Just use assert instead, it will be elided
51313 under [NDEBUG] anyway.
51314
51315 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
51316
51317 * sysdeps/unix/sysv/linux/Makefile: Include
51318 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
51319 (sysdep_routines): Remove sysctl.
51320 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
51321 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
51322 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
51323 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
51324 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
51325
51326 2012-05-22 Andreas Jaeger <aj@suse.de>
51327
51328 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
51329 that pseudo_end is just ret and the stack pointer is correct also
51330 for static library in error case.
51331
51332 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
51333
51334 [BZ #14122]
51335 * nss/nsswitch.c (defconfig_entries): New variable.
51336 (__nss_database_lookup): Don't leak defconfig entries.
51337 (nss_parse_service_list): Don't leak on error paths.
51338 (free_database_entries): New function.
51339 (free_defconfig): New function.
51340 (free_mem): Move common code to free_database_entries.
51341
51342 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
51343
51344 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
51345 Add arch_prctl.
51346 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
51347
51348 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
51349 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
51350 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
51351 New macro.
51352 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
51353 (INTERNAL_SYSCALL_TYPES): Likewise.
51354 (LOAD_ARGS_TYPES_[1-6]): Likewise.
51355 (LOAD_REGS_TYPES_[1-6]): Likewise.
51356 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
51357 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
51358
51359 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51360
51361 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
51362 copysignl for GLIBC_2_0.
51363 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
51364 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
51365 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
51366 logbl for GLIBC_2_0.
51367 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
51368 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
51369
51370 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
51371
51372 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
51373 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
51374
51375 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
51376 Use "neg %eax".
51377
51378 * time/mktime.c: Update copyright years.
51379
51380 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
51381
51382 mktime: merge comment-quoting-style change from gnulib
51383 * time/mktime.c: Quote 'like this' in comments.
51384 The GNU coding standards suggest that we no longer quote `like this',
51385 as "`" and "'" are typically rendered asymmetrically nowadays.
51386 The typical gnulib style is to quote 'like this' when quoting
51387 code, and "like this" when quoting English.
51388
51389 * time/mktime.c (compile-command): Add "-I.".
51390
51391 mktime: merge mktime-internal.h change from gnulib
51392 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
51393
51394 mktime: merge time_r change from gnulib
51395 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
51396
51397 mktime: merge DEBUG change from gnulib
51398 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
51399 case system <time.h> has a #define.
51400
51401 mktime: merge <sys/types.h> change from gnulib
51402 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
51403 since <time.t> is now guaranteed to define time_t.
51404
51405 mktime: merge HAVE_CONFIG_H change from gnulib
51406 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
51407
51408 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
51409
51410 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
51411 Use "neg %eax".
51412
51413 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
51414 __rlim_t cast.
51415 (struct rusage): Use anonymous union to pad each field to
51416 __syscall_slong_t.
51417
51418 2012-05-21 David S. Miller <davem@davemloft.net>
51419
51420 * Makefules (o-iterator): Remove .s cases.
51421 (compile-command.s): Delete.
51422 (COMPILE.s): Delete.
51423 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
51424
51425 2012-05-21 Joseph Myers <joseph@codesourcery.com>
51426
51427 * configure.in (libc_cv_predef_stack_protector): Only consider
51428 "foobar" and "__stack_chk_fail" lines in libc_undefs.
51429 * configure: Regenerated.
51430
51431 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
51432
51433 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
51434 New macro. Use R*LP on int and pointer.
51435 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
51436 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
51437 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
51438 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
51439
51440 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
51441 [__WORDSIZE_TIME64_COMPAT32] instead of
51442 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
51443 (struct utmp): Likewise.
51444 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
51445 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
51446 Renamed to ...
51447 (__WORDSIZE_TIME64_COMPAT32): This.
51448 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
51449 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
51450 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
51451 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
51452 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
51453 (__WORDSIZE_TIME64_COMPAT32): New macro.
51454
51455 2012-05-21 Andreas Jaeger <aj@suse.de>
51456
51457 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
51458 only if [SHARED]. Add prototype for __wcschr_ia32.
51459
51460 2012-05-21 Roland McGrath <roland@hack.frob.com>
51461
51462 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
51463 of %rbp unmolested in the jmp_buf while mangling the low bits.
51464 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
51465 unmolested high bits of %rbp while demangling the low bits.
51466 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
51467
51468 2012-05-21 Andreas Jaeger <aj@suse.de>
51469
51470 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
51471 * sunrpc/svc_simple.c: Use it for registerrpc.
51472 * sunrpc/xcrypt.c: Use it for passwd2des.
51473
51474 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
51475
51476 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
51477
51478 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
51479 Don't define if [__SYSCALL_WORDSIZE != 32].
51480 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
51481 New macro.
51482
51483 2012-05-21 Bruno Haible <bruno@clisp.org>
51484 Andreas Jaeger <aj@suse.de>
51485
51486 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
51487 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
51488 inptr and inend for must_buffer_ch.
51489 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
51490 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
51491 * stdio-common/Makefile (tests): Remove bug15.
51492 (bug15-ENV): Remove macro.
51493 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
51494 anymore.
51495
51496 2012-05-19 Andreas Jaeger <aj@suse.de>
51497 Roland McGrath <roland@hack.frob.com>
51498
51499 * manual/contrib.texi: Completely rewritten. It contains now an
51500 alphabetical list of contributors and their contributions.
51501
51502 2012-05-21 Richard Henderson <rth@twiddle.net>
51503
51504 * misc/getauxval.c (__getauxval): Use unsigned long int.
51505 * misc/sys/auxv.h: Include <sys/cdefs.h>.
51506 (getauxval): Use unsigned long int.
51507
51508 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
51509
51510 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
51511
51512 2012-05-21 Roland McGrath <roland@hack.frob.com>
51513
51514 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
51515 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
51516 __alignof__ (long double).
51517
51518 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51519
51520 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51521
51522 2012-05-20 Richard Henderson <rth@twiddle.net>
51523
51524 * misc/getauxval.c: New file.
51525 * misc/sys/auxv.h: New file.
51526 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
51527 (routines): Add getauxval.
51528 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
51529 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
51530 * elf/dl-sysdep.c (_dl_auxv): Remove.
51531 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
51532 * elf/dl-support.c (_dl_auxv): New variable.
51533 (_dl_aux_init): Initialize it.
51534 * manual/startup.texi (Auxiliary Vector): New node.
51535 * sysdeps/generic/bits/hwcap.h: New file.
51536 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
51537 * sysdeps/powerpc/sysdep.h: ... here. Include it.
51538 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
51539 * sysdeps/sparc/sysdep.h: ... here. Include it.
51540 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
51541 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
51542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
51543 Update.
51544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
51545 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
51546 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
51547 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
51548 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
51549 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
51550 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
51551 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
51552
51553 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51554
51555 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51556
51557 2012-05-19 David S. Miller <davem@davemloft.net>
51558
51559 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51560
51561 2012-05-19 Joseph Myers <joseph@codesourcery.com>
51562
51563 [BZ #14123]
51564 * math/s_ccosh.c: Include <float.h>
51565 (__ccosh): Avoid internal overflow calculating sinh and cosh
51566 values before multiplying by sin and cos values.
51567 * math/s_ccoshf.c: Likewise.
51568 * math/s_ccoshl.c: Likewise.
51569 * math/s_csin.c: Likewise.
51570 * math/s_csinf.c: Likewise.
51571 * math/s_csinl.c: Likewise.
51572 * math/s_csinh.c: Likewise.
51573 * math/s_csinhf.c: Likewise.
51574 * math/s_csinhl.c: Likewise.
51575 * math/libm-test.inc (ccos_test): Add more tests.
51576 (ccosh_test): Likewise.
51577 (csin_test): Likewise.
51578 (csinh_test): Likewise.
51579 * sysdeps/i386/fpu/libm-test-ulps: Update.
51580 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51581
51582 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
51583
51584 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
51585 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
51586
51587 * sysdeps/x86_64/x32/_itoa.h: Add comment.
51588
51589 2012-05-19 Joseph Myers <joseph@codesourcery.com>
51590
51591 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
51592 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
51593 * sysdeps/powerpc/soft-fp/Versions: Likewise.
51594 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
51595 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
51596 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
51597 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
51598 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
51599 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
51600 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
51601 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
51602 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
51603 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
51604 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
51605 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
51606 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
51607 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
51608 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
51609 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
51610 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
51611 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
51612 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
51613 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
51614 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
51615 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
51616 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
51617 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
51618 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
51619 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
51620 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
51621 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
51622
51623 2012-05-18 Andreas Jaeger <aj@suse.de>
51624
51625 * csu/.gitignore: Delete.
51626
51627 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
51628
51629 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
51630 (timex): Use __syscall_slong_t.
51631
51632 2012-05-18 Andreas Jaeger <aj@suse.de>
51633 Carlos O'Donell <carlos_odonell@mentor.com>
51634
51635 * manual/install.texi (Configuring and compiling): Update
51636 description about files modified in the source directory.
51637 * INSTALL: Regenerated.
51638
51639 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
51640
51641 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
51642 value. Use "or" to set return value to -1.
51643 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
51644 negate return value.
51645
51646 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
51647
51648 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
51649 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
51650 failure if the compiler has Graphite support disabled.
51651 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
51652 Likewise.
51653 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
51654 (CFLAGS-memmove.c): Likewise.
51655 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
51656 Likewise.
51657
51658 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
51659
51660 * sysdeps/x86_64/x32/_itoa.h: New file.
51661
51662 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
51663 getdents system call only if kernel and user dirents have the
51664 same d_ino and d_off.
51665
51666 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
51667 LLONG_MAX != LONG_MAX.
51668 (_itoa_word): Use _ITOA_WORD_TYPE on value.
51669 (_fitoa_word): Likewise.
51670
51671 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
51672 years.
51673 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
51674 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
51675 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
51676
51677 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
51678 include <bits/wordsize.h>. Check __x86_64__ instead of
51679 __WORDSIZE.
51680 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
51681 if __x86_64__ is defined. Use anonymous union on fpstate.
51682
51683 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
51684 anonymous union.
51685
51686 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
51687
51688 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
51689 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
51690 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
51691 Refer to _rtld_local_ro instead of _rtld_global_ro.
51692 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
51693 Likewise.
51694 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
51695 Likewise.
51696 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
51697 Likewise.
51698 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
51699 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
51700 of _rtld_global, and rtld_progname instead of _dl_argv[0].
51701
51702 [BZ #10882]
51703 * sysdeps/powerpc/powerpc32/dl-machine.c
51704 (__elf_machine_runtime_setup) [PROF]: Don't reference
51705 _dl_prof_resolve.
51706
51707 2012-05-18 Andreas Jaeger <aj@suse.de>
51708
51709 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
51710 function only available for GCCs before 3.4 since GCC 3.4
51711 introduced a builtin.
51712 (lrint): Likewise.
51713 (llrintf): Likewise.
51714 (llrint): Likewise.
51715 (fmaxf): Likewise.
51716 (fmax): Likewise.
51717 (fminf): Likewise.
51718 (fmin): Likewise.
51719 (rint): Likewise.
51720 (rintf): Likewise.
51721 (nearbyint): Likewise.
51722 (nearbyintf): Likewise.
51723 (ceil): Likewise.
51724 (ceilf): Likewise.
51725 (floor): Likewise.
51726 (floorf): Likewise.
51727
51728 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
51729
51730 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
51731 on both fields and cast pointer to __syscall_ulong_t.
51732
51733 * bits/types.h (__fsword_t): New type.
51734 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
51735 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
51736 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
51737 (__FSWORD_T_TYPE): Likewise.
51738 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
51739 (__FSWORD_T_TYPE): Likewise.
51740 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
51741 (__FSWORD_T_TYPE): Likewise.
51742 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
51743 (__FSWORD_T_TYPE): Likewise.
51744 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
51745 __SWORD_TYPE with __fsword_t.
51746 (statfs64): Likewise.
51747
51748 2012-05-17 David S. Miller <davem@davemloft.net>
51749
51750 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
51751
51752 2012-05-17 Andreas Jaeger <aj@suse.de>
51753
51754 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
51755 warning.
51756
51757 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
51758
51759 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
51760
51761 2012-05-17 Andreas Jaeger <aj@suse.de>
51762
51763 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
51764 when it is used.
51765
51766 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
51767
51768 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
51769
51770 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
51771
51772 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
51773 * sysdeps/x86_64/tst-mallocalign1.c: New file.
51774
51775 2012-05-17 Andreas Jaeger <aj@suse.de>
51776 Carlos O'Donell <carlos_odonell@mentor.com>
51777
51778 [BZ #14059]
51779 * sysdeps/x86_64/multiarch/init-arch.h
51780 (bit_YMM_Usable): Rename to...
51781 (bit_AVX_Usable): ... this.
51782 (bit_FMA4_Usable): New macro.
51783 (bit_XMM_state): New macro.
51784 (bit_YMM_state): New macro.
51785 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
51786 [__ASSEMBLER__] (index_AVX_Usable): ... this.
51787 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
51788 (CPUID_OSXSAVE): New macro.
51789 (CPUID_AVX): New macro.
51790 (CPUID_FMA4): New macro.
51791 (index_YMM_Usable): Rename to...
51792 (index_AVX_Usable): ... this.
51793 (HAS_AVX): Use HAS_ARCH_FEATURE.
51794 (HAS_FMA4): Likewise.
51795 (HAS_YMM_USABLE): Remove.
51796 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51797 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
51798 are present.
51799 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
51800 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
51801 * sysdeps/x86_64/multiarch/Makefile: Likewise.
51802 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
51803 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
51804
51805 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
51806
51807 * math/libm-test.c: Support platforms without multiple rounding modes.
51808 * math/bug-nextafter.c: Support platforms without FP exceptions.
51809 * math/bug-nexttoward.c: Likewise.
51810 * math/test-fenv.c: Likewise.
51811 * math/test-misc.c: Likewise.
51812 * stdlib/bug-getcontext.c: Likewise.
51813
51814 2012-05-17 Andreas Jaeger <aj@suse.de>
51815
51816 * manual/examples/search.c (critter_cmp): Change signature to
51817 avoid warnings.
51818 * manual/string.texi (Collation Functions): Likewise.
51819
51820 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
51821
51822 * bits/types.h: Fold copyright years.
51823 * bits/typesizes.h: Likewise.
51824 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
51825 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
51826 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
51827 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
51828 * time/time.h: Likewise.
51829
51830 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
51831
51832 [BZ #208]
51833 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
51834 in instead of returning them. Return void.
51835 (__libc_mallinfo): Accumulate over all arenas.
51836 (__malloc_stats): Adjust for change in int_mallinfo interface.
51837
51838 2012-05-16 Roland McGrath <roland@hack.frob.com>
51839
51840 [BZ #10375]
51841 * configure.in (NM): Add AC_CHECK_TOOL for it.
51842 (libc_extra_cflags): New substituted variable.
51843 Check for -fstack-protector being used implicitly.
51844 * configure: Regenerated.
51845 * config.make.in (config-extra-cflags): New variable,
51846 gets @libc_extra_cflags@.
51847 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
51848
51849 [BZ #10375]
51850 * configure.in: Check for _FORTIFY_SOURCE being predefined.
51851 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
51852 * configure: Regenerated.
51853 * config.make.in (CPPUNDEFS): New substituted variable.
51854 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
51855 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
51856 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
51857
51858 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
51859
51860 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
51861 (mq_attr): Use __syscall_slong_t.
51862
51863 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
51864
51865 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
51866 Check __x86_64__ instead of __WORDSIZE.
51867 (_STAT_VER_LINUX): Likewise.
51868 (stat): Check __x86_64__ instead of __WORDSIZE. Use
51869 __syscall_ulong_t and __syscall_slong_t.
51870 (stat64): Likewise.
51871
51872 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
51873
51874 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
51875
51876 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
51877
51878 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
51879
51880 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
51881
51882 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
51883 __syscall_ulong_t.
51884
51885 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
51886 include <bits/wordsize.h>. Check __x86_64__ instead of
51887 __WORDSIZE.
51888 (greg_t): Use "__extension__ long long int" if __x86_64__ is
51889 defined.
51890 (mcontext_t): Replace "unsigned long" with "unsigned long long".
51891
51892 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
51893 include <bits/wordsize.h>. Check __x86_64__ instead of
51894 __WORDSIZE.
51895 (user_regs_struct): Use "__extension__ unsigned long long"
51896 instead of "unsigned long" if __x86_64__ is defined.
51897 (user): Likewise. Pad after pointer field if __ILP32__ is
51898 defined.
51899
51900 2012-05-16 Joseph Myers <joseph@codesourcery.com>
51901
51902 * configure.in (makeinfo): Require version 4.5 or later. Allow
51903 versions 5 to 9.
51904 * configure: Regenerated.
51905 * manual/install.texi (texinfo): Increase version requirement to
51906 4.5 or later.
51907 * INSTALL: Regenerated.
51908
51909 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
51910
51911 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
51912
51913 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
51914
51915 * sysdeps/x86_64/x32/ffs.c: New file.
51916
51917 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
51918 __syscall_ulong_t.
51919 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
51920 defined. Use __syscall_ulong_t.
51921 (shminfo): Use __syscall_ulong_t.
51922 (shm_info): Likewise.
51923
51924 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
51925 __syscall_ulong_t.
51926
51927 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
51928 <bits/wordsize.h>.
51929 (msgqnum_t): Use __syscall_ulong_t.
51930 (msglen_t): Likewise.
51931 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
51932 __syscall_ulong_t.
51933
51934 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
51935 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
51936
51937 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
51938
51939 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
51940 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
51941
51942 * sysvipc/sys/msg.h (msgbuf): Replace long int with
51943 __syscall_slong_t.
51944
51945 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
51946 include <bits/wordsize.h>. Check __x86_64__ instead of
51947 __WORDSIZE.
51948
51949 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
51950 "unsigned long long int" if __x86_64__ is defined.
51951 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
51952
51953 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
51954 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
51955 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
51956
51957 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
51958 <stdint.h>.
51959 (GET_PC): Cast to uintptr_t first.
51960 (GET_FRAME): Likewise.
51961 (GET_STACK): Likewise.
51962
51963 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
51964 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
51965 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
51966 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
51967 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
51968 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
51969 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
51970 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
51971 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
51972 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
51973 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
51974 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
51975 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
51976 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
51977 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
51978 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
51979 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
51980 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
51981 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
51982 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
51983 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
51984 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
51985 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
51986 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
51987 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
51988 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
51989 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
51990 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
51991 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
51992
51993 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
51994
51995 * Makerules (+depfiles): Also collect depfiles from .oS in
51996 $(extra-objs).
51997 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
51998 .oS, $(libnldbl-routines)).
51999
52000 * Makerules (native-compile-mkdep-flags): Define.
52001 * sunrpc/Makefile (extra-objs): Add $(addprefix
52002 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
52003 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
52004 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
52005 calling $(make-target-directory).
52006
52007 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52008
52009 * bits/types.h (__snseconds_t): Removed.
52010 * time/time.h (struct timespec): Replace __snseconds_t with
52011 __syscall_slong_t.
52012 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
52013 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
52014 Likewise.
52015 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
52016 (__SNSECONDS_T_TYPE): Likewise.
52017 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
52018 (__SNSECONDS_T_TYPE): Likewise.
52019 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
52020 (__SNSECONDS_T_TYPE): Likewise.
52021
52022 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52023
52024 * sysdeps/mach/hurd/bits/typesizes.h
52025 (__SYSCALL_SLONG_TYPE): New macro.
52026 (__SYSCALL_ULONG_TYPE): Likewise.
52027
52028 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52029
52030 * bits/types.h (__syscall_slong_t): New type.
52031 (__syscall_ulong_t): Likewise.
52032
52033 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
52034 (__SYSCALL_ULONG_TYPE): Likewise.
52035 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
52036 (__SYSCALL_SLONG_TYPE): Likewise.
52037 (__SYSCALL_ULONG_TYPE): Likewise.
52038 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
52039 (__SYSCALL_SLONG_TYPE): Likewise.
52040 (__SYSCALL_ULONG_TYPE): Likewise.
52041 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
52042 (__SYSCALL_SLONG_TYPE): Likewise.
52043 (__SYSCALL_ULONG_TYPE): Likewise.
52044
52045 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52046
52047 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
52048 Add sigaltstack-offsets.sym.
52049 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
52050 <sigaltstack-offsets.h>.
52051 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
52052 longjmp_msg pointer.
52053 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
52054 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
52055 signal stack.
52056 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
52057
52058 2012-05-15 Joseph Myers <joseph@codesourcery.com>
52059
52060 * elf/stackguard-macros.h: Remove file.
52061 * sysdeps/generic/stackguard-macros.h: New file.
52062 * sysdeps/i386/stackguard-macros.h: Likewise.
52063 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
52064 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
52065 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
52066 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
52067 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
52068 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
52069 * sysdeps/x86_64/stackguard-macros.h: Likewise.
52070 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
52071 <elf/stackguard-macros.h>.
52072
52073 [BZ #14109]
52074 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
52075 __aligned__ in attribute.
52076 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
52077 (gregset_t): Likewise.
52078
52079 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52080
52081 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
52082 * sysdeps/x86_64/64/Implies-after: Here. New file.
52083 * sysdeps/x86_64/x32/Implies-after: New file.
52084
52085 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52086
52087 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
52088 and access return value for _dl_profile_fixup. Use R10_LP to
52089 load frame size.
52090
52091 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52092
52093 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
52094
52095 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52096
52097 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
52098 * sysdeps/x86_64/x32/sysdep.h: New file.
52099
52100 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52101
52102 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
52103 * sysdeps/x86_64/setjmp.S: Likewise.
52104
52105 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52106
52107 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
52108 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
52109 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
52110 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
52111 remove unused global constant.
52112
52113 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
52114
52115 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
52116 include of <not-cancel.h>.
52117
52118 2012-05-15 Roland McGrath <roland@hack.frob.com>
52119
52120 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
52121
52122 2012-05-15 Jeff Law <law@redhat.com>
52123 Andreas Jaeger <aj@suse.de>
52124
52125 [BZ #13594]
52126 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
52127 out from...
52128 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
52129 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
52130 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
52131 code changing __hst_map_handle.map.
52132
52133 2012-05-15 Roland McGrath <roland@hack.frob.com>
52134
52135 * configure.in (sysnames): Look for Implies-before and Implies-after
52136 files.
52137 * configure: Regenerated.
52138
52139 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52140
52141 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
52142 8-byte data alignment with LP_SIZE alignment.
52143
52144 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52145
52146 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
52147 into R10_LP.
52148
52149 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52150
52151 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
52152
52153 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52154
52155 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
52156 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
52157 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
52158 Likewise.
52159 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
52160
52161 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52162
52163 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
52164 (stackinfo_sub_sp): Likewise.
52165
52166 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52167
52168 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
52169 RAX_LP.
52170
52171 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52172
52173 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
52174 into R*_LP.
52175
52176 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52177
52178 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
52179 sizes into R*_LP.
52180
52181 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52182
52183 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
52184
52185 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52186
52187 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
52188 into R11_LP and load __x86_64_shared_cache_size_half into
52189 R8_LP.
52190
52191 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52192
52193 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
52194 R8_LP.
52195
52196 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52197
52198 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
52199 logb for POWER7.
52200 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
52201 logbf for POWER7.
52202 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
52203 logbl for POWER7.
52204 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
52205 powerpc32/power7/fpu/s_logb.c via #include.
52206 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
52207 powerpc32/power7/fpu/s_logbf.c via #include.
52208 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
52209 powerpc32/power7/fpu/s_logbl.c via #include.
52210
52211 2012-05-15 Joseph Myers <joseph@codesourcery.com>
52212
52213 * README.libm: Remove file.
52214
52215 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
52216
52217 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
52218 count for x32. Use R*_LP and omit operand-size suffix.
52219
52220 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
52221
52222 * shlib-versions: Move x86_64-.*-linux.* entries to ...
52223 * sysdeps/x86_64/64/shlib-versions: Here. New file.
52224 * sysdeps/x86_64/x32/shlib-versions: New file.
52225
52226 2012-05-14 Roland McGrath <roland@hack.frob.com>
52227
52228 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
52229 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
52230 Use _dl_fatal_printf instead.
52231
52232 2012-05-14 Joseph Myers <joseph@codesourcery.com>
52233
52234 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
52235 set if not set by the user. Do not allow for being unset.
52236 * sysdeps/unix/sysv/linux/configure: Regenerated.
52237
52238 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
52239
52240 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
52241 the `q' suffix from lea and replace .quad with ASM_ADDR.
52242
52243 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
52244
52245 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
52246 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
52247 instead of $17.
52248 (PTR_DEMANGLE): Likewise.
52249
52250 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
52251
52252 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
52253 (LP_OP): Likewise.
52254 (ASM_ADDR): Likewise.
52255 (RAX_LP): Likewise.
52256 (RBP_LP): Likewise.
52257 (RBX_LP): Likewise.
52258 (RCX_LP): Likewise.
52259 (RDI_LP): Likewise.
52260 (RSI_LP): Likewise.
52261 (RSP_LP): Likewise.
52262 (R8_LP): Likewise.
52263 (R9_LP): Likewise.
52264 (R10_LP): Likewise.
52265 (R10_LP): Likewise.
52266 (R11_LP): Likewise.
52267 (R12_LP): Likewise.
52268 (R13_LP): Likewise.
52269 (R14_LP): Likewise.
52270 (R15_LP): Likewise.
52271
52272 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
52273
52274 * sysdeps/x86_64/x32/dl-machine.h: New file.
52275
52276 2012-05-14 Andreas Jaeger <aj@suse.de>
52277
52278 * manual/Makefile (subdir): Remove export of subdir.
52279 (all): Remove target.
52280 (.PHONY): Remove all from list.
52281 (mkinstalldirs): Remove.
52282 (.PHONY): Remove installdirs from list.
52283 ($(inst_infodir)/libc.info): Use make-target-directory.
52284 (installdirs): Remove.
52285 (subdir_%): Remove.
52286 (glibc-targets): Remove.
52287 (lib): Remove.
52288 (stubs): Remove.
52289 ($(objpfx)stubs ../po/manual.pot): Remove.
52290 ($(objpfx)stamp%): Remove.
52291 (make-target-directory): Remove.
52292 (subdir_install): Remove.
52293 (routines): Remove.
52294 (aux): Remove.
52295 (sources): Remove.
52296 (objects): Remove.
52297 (headers): Remove.
52298
52299 [BZ #13750]
52300 * manual/.gitignore: Remove, it's not needed anymore.
52301 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
52302 all files in it.
52303 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
52304 directory.
52305 (texis): Renamed to $(objpfx)texis.
52306 (texis-path): New, contains path to generated files.
52307 (chapters.%): Use texis-path for complete path, add extra argument
52308 libc-texinfo.sh.
52309 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
52310 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
52311 (summary,texi, stamp-summary): Use complete path of
52312 files. Generate files in build dir.
52313 (dir-add.texi): Build in build dir.
52314 (libm-err.texi,stamp-libm-err): Likewise.
52315 (version.texi, stamp-version): Likewise.
52316 (.%c.texi): Likewise.
52317 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
52318 (mostlyclean): Remove target.
52319 (realclean): Remove target.
52320 (generated): Add new variable with contents from mostlyclean and
52321 realclean, remove entries duplicated in common-mostlyclean, add
52322 stamp-libm-err and stamp-version.
52323 (generated-dirs): Add libc directory.
52324 ($(inst_infodir)/libc.info): Install files from build dir.
52325
52326 * manual/install.texi (Configuring and compiling): Adjust since
52327 the info files are not part of the tar ball anymore.
52328
52329 2012-05-14 Andreas Jaeger <aj@suse.de>
52330
52331 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
52332 variable.
52333
52334 2012-05-14 Joseph Myers <joseph@codesourcery.com>
52335
52336 [BZ #13717]
52337 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
52338 to 2.2.0 where earlier.
52339 * sysdeps/unix/sysv/linux/configure: Regenerated.
52340 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
52341 Remove conditional code.
52342 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
52343 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
52344 Remove conditional code.
52345 [!__NR_lchown]: Likewise.
52346 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
52347 [__NR_lchown]: Likewise.
52348 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
52349 comment referencing __ASSUME_LCHOWN_SYSCALL.
52350 * sysdeps/unix/sysv/linux/i386/sigaction.c
52351 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
52352 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
52353 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
52354 Remove conditional code.
52355 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
52356 (__protocol_available): Remove #if 0 code.
52357 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
52358 conditional code.
52359 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
52360 * sysdeps/unix/sysv/linux/kernel-features.h
52361 (__ASSUME_GETCWD_SYSCALL): Don't define.
52362 (__ASSUME_REALTIME_SIGNALS): Likewise.
52363 (__ASSUME_PREAD_SYSCALL): Likewise.
52364 (__ASSUME_PWRITE_SYSCALL): Likewise.
52365 (__ASSUME_POLL_SYSCALL): Likewise.
52366 (__ASSUME_LCHOWN_SYSCALL): Likewise.
52367 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
52368 non-SPARC.
52369 (__ASSUME_SIOCGIFNAME): Don't define.
52370 (__ASSUME_MSG_NOSIGNAL): Likewise.
52371 (__ASSUME_SENDFILE): Define unconditionally.
52372 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
52373 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
52374 conditional code.
52375 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
52376 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
52377 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
52378 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
52379 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
52380 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
52381 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
52382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
52383 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
52384 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
52385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
52386 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
52387 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
52388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
52389 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
52390 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
52391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
52392 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
52393 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
52394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
52395 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
52396 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
52397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
52398 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
52399 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
52400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
52401 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
52402 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
52403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
52404 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
52405 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
52406 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
52407 Remove conditional code.
52408 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
52409 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
52410 Remove conditional code.
52411 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
52412 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
52413 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
52414 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
52415 Remove conditional code.
52416 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
52417 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
52418 Remove conditional code.
52419 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
52420 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
52421 Remove conditional code.
52422 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
52423 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
52424 Remove conditional code.
52425 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
52426 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
52427 Remove conditional code.
52428 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
52429 * sysdeps/unix/sysv/linux/sh/pwrite64.c
52430 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
52431 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
52432 * sysdeps/unix/sysv/linux/sigaction.c
52433 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
52434 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
52435 * sysdeps/unix/sysv/linux/sigpending.c
52436 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
52437 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
52438 * sysdeps/unix/sysv/linux/sigprocmask.c
52439 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
52440 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
52441 * sysdeps/unix/sysv/linux/sigsuspend.c
52442 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
52443 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
52444 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
52445 (__libc_missing_rt_sigs): Remove.
52446 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
52447 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
52448 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
52449 Remove conditional code.
52450 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
52451 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
52452 return 1.
52453 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
52454 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
52455 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
52456 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
52457
52458 2012-05-14 Andreas Jaeger <aj@suse.de>
52459
52460 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
52461 it's not used in glibc.
52462 (__coshm1): Likewise.
52463 (__acosh1p): Likewise.
52464 (__sgn): Likewise.
52465
52466 * manual/string.texi (Copying and Concatenation): Add missing
52467 variable in concat example.
52468 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
52469
52470 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
52471
52472 [BZ #14103]
52473 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
52474 __builtin_clzl with __builtin_clzll.
52475
52476 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
52477
52478 [BZ #14104]
52479 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
52480 libc_freeres_ptr.
52481
52482 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52483
52484 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
52485 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
52486 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
52487 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
52488
52489 2012-05-14 Mike Frysinger <vapier@gentoo.org>
52490
52491 * NEWS: Update ia64 info.
52492
52493 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
52494
52495 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
52496 used as bcopy.
52497
52498 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
52499
52500 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
52501 * sysdeps/unix/syscalls.list (dup3): Likewise.
52502 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
52503 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
52504
52505 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
52506
52507 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
52508 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
52509
52510 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
52511
52512 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
52513 thread pointer.
52514 (TLS_IE): Use mov/add instead of movq/addq to load thread
52515 pointer.
52516 (TLS_GD_PREFIX): New.
52517 (TLS_GD): Use it.
52518
52519 2012-05-11 David S. Miller <davem@davemloft.net>
52520
52521 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
52522 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
52523 (_FPU_SETCW): Likewise.
52524
52525 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
52526
52527 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
52528 is 32-byte aligned.
52529
52530 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
52531
52532 [BZ #11837]
52533 * iconvdata/gb18030.c: Update tables.
52534 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
52535 characters specially.
52536 (BODY for TO_LOOP): Add encoding of missing ranges.
52537
52538 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
52539
52540 [BZ #13673]
52541 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
52542 * sysdeps/mach/hurd/dup3.c: Likewise.
52543 * sysdeps/mach/hurd/readlinkat.c: Likewise.
52544 * sysdeps/powerpc/memmove.c:: Likewise.
52545
52546 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
52547
52548 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
52549 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
52550
52551 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
52552
52553 * elf/elf.h (R_X86_64_RELATIVE64): New.
52554 (R_X86_64_NUM): Updated.
52555 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
52556 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
52557 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
52558 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
52559 tst-quad1pie tst-quad2pie
52560 (modules-names): Add tst-quadmod1 tst-quadmod2.
52561 ($(objpfx)tst-quad1): New dependency.
52562 ($(objpfx)tst-quad2): Likewise.
52563 ($(objpfx)tst-quad1pie): Likewise.
52564 ($(objpfx)tst-quad2pie): Likewise.
52565 * sysdeps/x86_64/tst-quad1.c: New file.
52566 * sysdeps/x86_64/tst-quad1pie.c: New file.
52567 * sysdeps/x86_64/tst-quad2.c: Likewise.
52568 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
52569 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
52570 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
52571 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
52572 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
52573
52574 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
52575
52576 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
52577 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
52578 * streams/stropts.h (t_scalar_t): Define type.
52579
52580 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
52581 (_PATH_PRESERVE): Set to "/var/lib".
52582 (_PATH_RWHODIR): Set to "/var/spool/rwho".
52583
52584 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
52585 instead of int.
52586
52587 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
52588 if __dir_mkfile succeeded.
52589
52590 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
52591 checking for _hurd_dtablesize. Unlock it right after having
52592 finished _hurd_dtable allocation.
52593
52594 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
52595
52596 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
52597 * sysdeps/mach/hurd/configure: Regenerated.
52598 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
52599 special-casing to...
52600 * sysdeps/gnu/configure.in: ... this new file.
52601 * sysdeps/unix/sysv/linux/configure: Regenerated.
52602 * sysdeps/gnu/configure: New generated file.
52603
52604 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
52605 for Linux: use nsec instead of usec, as well as:
52606 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
52607 members of type struct timespec.
52608 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
52609 New macros.
52610 (struct stat64): Likewise.
52611 (_STATBUF_ST_NSEC): New macro.
52612 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
52613
52614 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
52615 __strtoul_internal rather than strtoul.
52616
52617 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
52618
52619 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
52620 and reject them.
52621
52622 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
52623
52624 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
52625 which preserves existing values.
52626 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
52627
52628 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
52629
52630 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
52631 TIMEOUT values. Return EINVAL for NFDS values either negative or
52632 greater than FD_SETSIZE.
52633
52634 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
52635
52636 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
52637 allocated, call __vm_protect to finish enabling the existing space, and
52638 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
52639 allocate the remainder.
52640
52641 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
52642
52643 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
52644 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
52645
52646 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
52647
52648 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
52649 sysdeps/mach/hurd/readlink.c.
52650
52651 * posix/tst-sysconf.c (posix_options): Only use
52652 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
52653 _POSIX_SYNCHRONIZED_IO when they are defined
52654 * sysdeps/mach/hurd/bits/posix_opt.h:
52655 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
52656 (_XOPEN_REALTIME): Undefine macro.
52657 (_XOPEN_REALTIME_THREADS): Undefine macro.
52658 (_XOPEN_SHM): Undefine macro.
52659 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
52660 macro to -1.
52661 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
52662 macro to -1.
52663 (_POSIX_ASYNC_IO): Undefine macro.
52664 (_POSIX_PRIORITIZED_IO): Undefine macro.
52665 (_POSIX_SPIN_LOCKS): Define macro to -1.
52666
52667 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
52668 SA_NODEFER, SA_RESETHAND.
52669 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
52670 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
52671 F_DUPFD_CLOEXEC.
52672
52673 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
52674
52675 * elf/Makefile (pldd-modules): Define unconditionally.
52676
52677 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
52678
52679 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
52680
52681 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
52682
52683 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
52684 Return ENOENT when name is empty.
52685 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
52686
52687 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
52688
52689 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
52690
52691 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
52692
52693 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
52694
52695 Fix mlock in all cases except non-readable pages.
52696 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
52697 instead of VM_PROT_ALL as parameter to __vm_wire function.
52698
52699 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
52700 (__mkdir): When path is `/', just fail with EEXIST.
52701 * sysdeps/mach/hurd/mkdirat.c: Likewise.
52702
52703 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
52704
52705 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
52706 <sys/uio.h> (for writev).
52707 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
52708 and <sys/param.h> (for MIN).
52709
52710 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
52711
52712 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
52713 REQUESTED_TIME. Properly set the remaining time and return EINTR
52714 if interrupted.
52715
52716 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
52717
52718 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
52719 Depend on against $(link-rpcuserlibs).
52720
52721 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
52722
52723 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
52724 (__libc_stack_end): Do not use attribute_relro.
52725 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
52726 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
52727 to libthread-provided value.
52728 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
52729 attribute_relro.
52730
52731 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
52732
52733 [BZ #3748]
52734 * bits/libc-lock.h (__libc_once_get): New macro.
52735 * sysdeps/mach/bits/libc-lock.h: Likewise.
52736 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
52737 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
52738 instead of using implementation details.
52739
52740 * libio/fileops.c: Unconditionally include <kernel-features.h>.
52741 * libio/freopen.c: Likewise.
52742 * libio/freopen64.c: Likewise.
52743 * misc/syslog.c: Likewise.
52744 * nscd/connections.c: Likewise.
52745 * nscd/netgroupcache.c: Likewise.
52746 * sysdeps/posix/getcwd.c: Likewise.
52747
52748 2012-05-10 Roland McGrath <roland@hack.frob.com>
52749
52750 * math/w_ilogbf.c: Add #include <limits.h>.
52751
52752 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
52753
52754 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
52755 path instead of returning without unlocking.
52756
52757 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
52758 immediate-write ioctls.
52759 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
52760
52761 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
52762
52763 * sysdeps/mach/hurd/i386/init-first.c (init): Use
52764 __builtin_frame_address instead of making assumptions about the
52765 location of the return address relative to DATA. Force early load of
52766 the return address.
52767 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
52768 __builtin_frame_address.
52769
52770 dup3 for GNU Hurd.
52771 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
52772 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
52773 implement dup3 and do some further code clean-ups.
52774 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
52775 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
52776
52777 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
52778
52779 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
52780
52781 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
52782 HURD_CRITICAL_END around holding _hurd_dtable_lock.
52783 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
52784 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
52785 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
52786 d->port.lock.
52787
52788 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
52789 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
52790 when handler == SIG_ERR, not when handler != SIG_ERR.
52791
52792 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
52793
52794 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
52795 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
52796 definitions.
52797
52798 accept4 for GNU Hurd.
52799 * include/sys/socket.h (__libc_accept4): New prototype.
52800 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
52801 to implement __libc_accept4.
52802 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
52803 __libc_accept4.
52804 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
52805
52806 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
52807 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
52808 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
52809 signal-defines.sym.
52810
52811 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
52812
52813 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
52814
52815 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
52816
52817 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
52818 assertion on O_CLOEXEC flag.
52819 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
52820 * hurd/intern-fd.c: Likewise.
52821 * hurd/port2fd.c: Likewise.
52822
52823 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
52824
52825 [BZ #3906]
52826 * bits/in.h (IPV6_PKTINFO): Define new macro.
52827 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
52828
52829 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52830
52831 [BZ #13954]
52832 [BZ #13955]
52833 [BZ #13956]
52834 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
52835 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
52836 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
52837 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
52838 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
52839 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
52840 * math/libm-test.inc (logb_test) : Additional logb tests.
52841
52842 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
52843 Andreas Jaeger <aj@suse.de>
52844
52845 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
52846 * configure: Regenerated.
52847 * config.h.in (LINK_OBSOLETE_RPC): New macro.
52848 * config.make.in (link-obsolete-rpc): New substituted variable.
52849 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
52850 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
52851 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
52852 (shared-only-routines): Don't set it under [link-obsolete-rpc],
52853 so that libc.a contains the symbols.
52854 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
52855 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
52856 * sunrpc/auth_none.c: Likewise.
52857 * sunrpc/auth_unix.c: Likewise.
52858 * sunrpc/authdes_prot.c: Likewise.
52859 * sunrpc/authuxprot.c: Likewise.
52860 * sunrpc/clnt_gen.c: Likewise.
52861 * sunrpc/clnt_perr.c: Likewise.
52862 * sunrpc/clnt_raw.c: Likewise.
52863 * sunrpc/clnt_simp.c: Likewise.
52864 * sunrpc/clnt_tcp.c: Likewise.
52865 * sunrpc/clnt_udp.c: Likewise.
52866 * sunrpc/clnt_unix.c: Likewise.
52867 * sunrpc/des_crypt.c: Likewise.
52868 * sunrpc/des_soft.c: Likewise.
52869 * sunrpc/get_myaddr.c: Likewise.
52870 * sunrpc/key_call.c: Likewise.
52871 * sunrpc/key_prot.c: Likewise.
52872 * sunrpc/netname.c: Likewise.
52873 * sunrpc/pm_getmaps.c: Likewise.
52874 * sunrpc/pm_getport.c: Likewise.
52875 * sunrpc/pmap_clnt.c: Likewise.
52876 * sunrpc/pmap_prot.c: Likewise.
52877 * sunrpc/pmap_prot2.c: Likewise.
52878 * sunrpc/pmap_rmt.c: Likewise.
52879 * sunrpc/publickey.c: Likewise.
52880 * sunrpc/rpc_cmsg.c: Likewise.
52881 * sunrpc/rpc_common.c: Likewise.
52882 * sunrpc/rpc_dtable.c: Likewise.
52883 * sunrpc/rpc_prot.c: Likewise.
52884 * sunrpc/rpc_thread.c: Likewise.
52885 * sunrpc/rtime.c: Likewise.
52886 * sunrpc/svc.c: Likewise.
52887 * sunrpc/svc_auth.c: Likewise.
52888 * sunrpc/svc_raw.c: Likewise.
52889 * sunrpc/svc_run.c: Likewise.
52890 * sunrpc/svc_tcp.c: Likewise.
52891 * sunrpc/svc_udp.c: Likewise.
52892 * sunrpc/svc_unix.c: Likewise.
52893 * sunrpc/svcauth_des.c: Likewise.
52894 * sunrpc/xcrypt.c: Likewise.
52895 * sunrpc/xdr.c: Likewise.
52896 * sunrpc/xdr_array.c: Likewise.
52897 * sunrpc/xdr_float.c: Likewise.
52898 * sunrpc/xdr_intXX_t.c: Likewise.
52899 * sunrpc/xdr_mem.c: Likewise.
52900 * sunrpc/xdr_rec.c: Likewise.
52901 * sunrpc/xdr_ref.c: Likewise.
52902 * sunrpc/xdr_sizeof.c: Likewise.
52903 * sunrpc/xdr_stdio.c: Likewise.
52904
52905 2012-05-10 Roland McGrath <roland@hack.frob.com>
52906
52907 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
52908 change. Update copyright years.
52909
52910 2012-05-10 Joseph Myers <joseph@codesourcery.com>
52911
52912 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
52913
52914 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
52915 Joseph Myers <joseph@codesourcery.com>
52916 Paul Pluzhnikov <ppluzhnikov@google.com>
52917
52918 [BZ #14012]
52919 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
52920 requiring rpcgen.
52921 [cross-compiling] (extra-libs): Likewise.
52922 [cross-compiling] (extra-libs-others): Likewise.
52923 [cross-compiling] (librpcsvc-routines): Likewise.
52924 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
52925 [cross-compiling] (omit-deps): Likewise.
52926 (sunrpc-CPPFLAGS): New variable.
52927 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
52928 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
52929 (cross-rpcgen-objs): New variable.
52930 (extra-objs): Append $(cross-rpcgen-objs).
52931 ($(cross-rpcgen-objs)): New rule.
52932 ($(objpfx)cross-rpcgen): Likewise.
52933 (rpcgen-cmd): Define to use $(built-program-file). Expand
52934 comment.
52935 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
52936 ($(objpfx)x%.stmp): Likewise.
52937 * sunrpc/proto.h [IS_IN_build] (_): Define.
52938 [IS_IN_build] (_libc_intl_domainname): Likewise.
52939
52940 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
52941
52942 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
52943 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
52944 and R_X86_64_TPOFF64.
52945
52946 2012-05-10 Joseph Myers <joseph@codesourcery.com>
52947
52948 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
52949 sysdeps/unix/sysv/syscalls.list.
52950 (stime): Likewise.
52951 (utime): Likewise.
52952 * sysdeps/unix/sysv/syscalls.list: Remove file.
52953
52954 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
52955
52956 [BZ #3440]
52957 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
52958 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
52959 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
52960 (__LC_IDENTIFICATION): Make these macros useful in #if
52961 expressions, as required by C99.
52962
52963 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
52964
52965 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
52966 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
52967 after this.
52968
52969 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
52970
52971 * stdlib/longlong.h: Updated from GCC.
52972
52973 2012-05-09 Andreas Jaeger <aj@suse.de>
52974
52975 * nscd/nscd.c (run_modes): Make named enum, reorder so that
52976 default is first entry.
52977 (run_mode): Set type.
52978 (main): Remove informal message about syslog.
52979 (options): Fix typo.
52980
52981 [BZ #14053]
52982 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
52983 to asm.
52984 (lrint): Likewise.
52985 (llrintf): Likewise.
52986 (llrint): Likewise.
52987 (rint): Likewise.
52988 (rintf): Likewise.
52989 (nearbyint): Likewise.
52990 (nearbyintf): Likewise.
52991
52992 2012-05-09 Andreas Jaeger <aj@suse.de>
52993 Pedro Alves <palves@redhat.com>
52994
52995 * nscd/nscd.c (run_mode): Use enum.
52996 (main): Cleanup coding style issue.
52997
52998 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
52999 Andreas Jaeger <aj@suse.de>
53000
53001 * nscd/nscd.c (go_background): Replaced with...
53002 (run_mode): ... this.
53003 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
53004 (options): Add -F --foreground.
53005 (main): Implement it.
53006 (parse_opt): Parse it.
53007
53008 2012-05-09 Andreas Jaeger <aj@suse.de>
53009
53010 [BZ #14083]
53011 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
53012 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
53013 -Wconversion warning.
53014 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
53015 Likewise.
53016
53017 2012-05-09 Joseph Myers <joseph@codesourcery.com>
53018
53019 * conform/data/locale.h-data (NULL): Use macro-constant. Require
53020 == 0.
53021 (LC_ALL): Use macro-int-constant.
53022 (LC_COLLATE): Likewise.
53023 (LC_CTYPE): Likewise.
53024 (LC_MESSAGES): Likewise.
53025 (LC_MONETARY): Likewise.
53026 (LC_NUMERIC): Likewise.
53027 (LC_TIME): Likewise.
53028 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
53029 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
53030 [ISO || ISO99 || ISO11] (*_t): Do not allow.
53031 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
53032 Specify type.
53033 [C99-based standards] (float_t): Expect type.
53034 [C99-based standards] (double_t): Expect type.
53035 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
53036 type.
53037 [C99-based standards] (HUGE_VALL): Likewise.
53038 [C99-based standards] (INFINITY): Likewise.
53039 [C99-based standards] (NAN): Likewise.
53040 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
53041 [C99-based standards] (FP_NAN): Likewise.
53042 [C99-based standards] (FP_NORMAL): Likewise.
53043 [C99-based standards] (FP_SUBNORMAL): Likewise.
53044 [C99-based standards] (FP_ZERO): Likewise.
53045 [C99-based standards] (FP_FAST_FMA): Use
53046 optional-macro-int-constant. Specify type. Require == 1.
53047 [C99-based standards] (FP_FAST_FMAF): Likewise.
53048 [C99-based standards] (FP_FAST_FMAL): Likewise.
53049 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
53050 [C99-based standards] (FP_ILOGBNAN): Likewise.
53051 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
53052 Specify type.
53053 [C99-based standards] (MATH_ERREXCEPT): Likewise.
53054 [C99-based standards] (math_errhandling): Specify type.
53055 [ISO99 || ISO11] (signgam): Do not allow.
53056 [non-C99-based standards] (copysignf): Do not allow.
53057 [non-C99-based standards] (exp2f): Likewise.
53058 [non-C99-based standards] (log2f): Likewise.
53059 [non-C99-based standards] (modff): Allow.
53060 [non-C99-based standards] (erff): Do not allow.
53061 [non-C99-based standards] (erfcf): Likewise.
53062 [non-C99-based standards] (gammaf): Likewise.
53063 [non-C99-based standards] (hypotf): Likewise.
53064 [non-C99-based standards] (j0f): Likewise.
53065 [non-C99-based standards] (j1f): Likewise.
53066 [non-C99-based standards] (jnf): Likewise.
53067 [non-C99-based standards] (lgammaf): Likewise.
53068 [non-C99-based standards] (tgammaf): Likewise.
53069 [non-C99-based standards] (y0f): Likewise.
53070 [non-C99-based standards] (y1f): Likewise.
53071 [non-C99-based standards] (ynf): Likewise.
53072 [non-C99-based standards] (isnanf): Likewise.
53073 [non-C99-based standards] (acoshf): Likewise.
53074 [non-C99-based standards] (asinhf): Likewise.
53075 [non-C99-based standards] (atanhf): Likewise.
53076 [non-C99-based standards] (cbrtf): Likewise.
53077 [non-C99-based standards] (expm1f): Likewise.
53078 [non-C99-based standards] (ilogbf): Likewise.
53079 [non-C99-based standards] (log1pf): Likewise.
53080 [non-C99-based standards] (logbf): Likewise.
53081 [non-C99-based standards] (nextafterf): Likewise.
53082 [non-C99-based standards] (remainderf): Likewise.
53083 [non-C99-based standards] (rintf): Likewise.
53084 [non-C99-based standards] (scalbf): Likewise.
53085 [non-C99-based standards] (copysignl): Likewise.
53086 [non-C99-based standards] (exp2l): Likewise.
53087 [non-C99-based standards] (log2l): Likewise.
53088 [non-C99-based standards] (modfl): Allow.
53089 [non-C99-based standards] (erfl): Do not allow.
53090 [non-C99-based standards] (erfcl): Likewise.
53091 [non-C99-based standards] (gammal): Likewise.
53092 [non-C99-based standards] (hypotl): Likewise.
53093 [non-C99-based standards] (j0l): Likewise.
53094 [non-C99-based standards] (j1l): Likewise.
53095 [non-C99-based standards] (jnl): Likewise.
53096 [non-C99-based standards] (lgammal): Likewise.
53097 [non-C99-based standards] (tgammal): Likewise.
53098 [non-C99-based standards] (y0l): Likewise.
53099 [non-C99-based standards] (y1l): Likewise.
53100 [non-C99-based standards] (ynl): Likewise.
53101 [non-C99-based standards] (isnanl): Likewise.
53102 [non-C99-based standards] (acoshl): Likewise.
53103 [non-C99-based standards] (asinhl): Likewise.
53104 [non-C99-based standards] (atanhl): Likewise.
53105 [non-C99-based standards] (cbrtl): Likewise.
53106 [non-C99-based standards] (expm1l): Likewise.
53107 [non-C99-based standards] (ilogbl): Likewise.
53108 [non-C99-based standards] (log1pl): Likewise.
53109 [non-C99-based standards] (logbl): Likewise.
53110 [non-C99-based standards] (nextafterl): Likewise.
53111 [non-C99-based standards] (remainderl): Likewise.
53112 [non-C99-based standards] (rintl): Likewise.
53113 [non-C99-based standards] (scalbl): Likewise.
53114 [ISO || ISO99 || ISO11] (*_t): Do not allow.
53115 [non-C99-based standards] (FP_*): Do not allow.
53116 [C99-based standards] (FP_*): Change to
53117 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
53118 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
53119 allow.
53120 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
53121 (SIG_ERR): Likewise.
53122 [X/Open-based standards] (SIG_HOLD): Likewise.
53123 (SIG_IGN): Likewise.
53124 (SIGABRT): Use macro-int-constant. Specify type. Require
53125 positive value.
53126 (SIGFPE): Likewise.
53127 (SIGILL): Likewise.
53128 (SIGINT): Likewise.
53129 (SIGSEGV): Likewise.
53130 (SIGTER): Likewise.
53131 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
53132 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
53133 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
53134 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
53135 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
53136 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
53137 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
53138 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
53139 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
53140 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
53141 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
53142 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
53143 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
53144 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
53145 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
53146 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
53147 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
53148 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
53149 [X/Open-based standards] (SIGTRAP): Likewise.
53150 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
53151 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
53152 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
53153 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
53154 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
53155 allow.
53156
53157 2012-05-08 Ian Wienand <ianw@vmware.com>
53158
53159 [BZ #14080]
53160 * time/tzset.c (__tzset_parse_tz): Update default rules for
53161 daylight time changes in the Energy Policy Act of 2005.
53162
53163 2012-05-09 Andreas Jaeger <aj@suse.de>
53164
53165 [BZ #13983]
53166 * elf/ldconfig.c (parse_conf): Change string to make clear that
53167 ldconfig only issued a warning if ld.so.conf does not exist.
53168
53169 2012-05-08 David S. Miller <davem@davemloft.net>
53170
53171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
53172 movxtod instead of popping the value on the stack.
53173
53174 * sysdeps/sparc/fpu/libm-test-ulps: Update.
53175
53176 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
53177
53178 * config.h.in: Add HAVE_ARM_PCS_VFP.
53179
53180 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
53181
53182 [BZ #13979]
53183 * include/features.h: Warn if user requests __FORTIFY_SOURCE
53184 checking but the checks are disabled for any reason.
53185
53186 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
53187
53188 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
53189 and ELF64_R_TYPE with ELFW(R_TYPE).
53190
53191 2012-05-08 Joseph Myers <joseph@codesourcery.com>
53192
53193 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
53194 (ulimit): Likewise.
53195
53196 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
53197 (settimeofday): Likewise.
53198
53199 2012-05-08 Mike Frysinger <vapier@gentoo.org>
53200
53201 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
53202 a struct th_u2 inside the union, and move tu_block/tu_code into
53203 a new th_u3 union of tu_block/tu_code inside of that. Move
53204 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
53205 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
53206 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
53207 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
53208 (th_stuff): Change to th_u1.tu_stuff.
53209 (th_data): Define.
53210 (th_msg): Change to th_u1.th_u2.tu_data.
53211
53212 2012-05-07 David S. Miller <davem@davemloft.net>
53213
53214 * sysdeps/sparc/fpu/libm-test-ulps: Update.
53215
53216 [BZ #14074]
53217 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
53218 (SETUP_PIC_REG): Use it.
53219 (SETUP_PIC_REG_LEAF): Use it.
53220
53221 2012-05-07 Joseph Myers <joseph@codesourcery.com>
53222
53223 [BZ #13885]
53224 [BZ #13923]
53225 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
53226 USE_AS_EXPM1L.
53227 (EXPL_FINITE): Likewise.
53228 (FLDLOG): Likewise.
53229 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
53230 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
53231 e_expl.S.
53232 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
53233 USE_AS_EXPM1L.
53234 (EXPL_FINITE): Likewise.
53235 (FLDLOG): Likewise.
53236 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
53237 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
53238 e_expl.S.
53239 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
53240 test of -max_value argument for long double.
53241 * sysdeps/i386/fpu/libm-test-ulps: Update.
53242 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53243
53244 2012-05-06 David S. Miller <davem@davemloft.net>
53245
53246 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
53247 quad soft-float symbols whose references which are compiler
53248 generated.
53249 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
53250
53251 2012-05-06 Joseph Myers <joseph@codesourcery.com>
53252
53253 [BZ #13884]
53254 [BZ #13914]
53255 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
53256 USE_AS_EXP10L.
53257 (EXPL_FINITE): Likewise.
53258 (FLDLOG): Likewise.
53259 (c0): Likewise.
53260 (c1): Likewise.
53261 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
53262 Adjust comments for base varying.
53263 (__expl_finite): Change alias to EXPL_FINITE.
53264 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
53265 e_expl.S.
53266 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
53267 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
53268 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
53269 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
53270 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
53271 USE_AS_EXP10L.
53272 (EXPL_FINITE): Likewise.
53273 (FLDLOG): Likewise.
53274 (c0): Likewise.
53275 (c1): Likewise.
53276 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
53277 Adjust comments for base varying.
53278 (__expl_finite): Change alias to EXPL_FINITE.
53279 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
53280 tests for bugs.
53281 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53282
53283 [BZ #14064]
53284 * math/libm-test.inc (check_float_internal): Correct ulp
53285 calculation for subnormal expected results.
53286
53287 2012-05-06 Andreas Jaeger <aj@suse.de>
53288
53289 * Makeconfig (+math-flags): New, set to -frounding-math.
53290 (+cflags): Add +math-flags so that all of glibc gets compiled with
53291 it.
53292
53293 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
53294
53295 2012-05-05 Joseph Myers <joseph@codesourcery.com>
53296
53297 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
53298 Disable one test.
53299
53300 [BZ #13787]
53301 [BZ #13922]
53302 [BZ #14036]
53303 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
53304 (__ieee754_expl): Allow for and saturate large arguments.
53305 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
53306 (u_threshold): Likewise.
53307 (__exp): Call __ieee754_exp before checking for overflow and
53308 underflow.
53309 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
53310 (u_threshold): Likewise.
53311 (__expf): Call __ieee754_expf before checking for overflow and
53312 underflow.
53313 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
53314 (u_threshold): Likewise.
53315 (__expl): Call __ieee754_expl before checking for overflow and
53316 underflow.
53317 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
53318 (__ieee754_expl): Allow for and saturate large arguments.
53319 * math/libm-test.inc (exp_test): Add another test. Do not allow
53320 missing overflow exception on overflow.
53321 (expm1_test): Do not allow missing overflow exception on overflow.
53322
53323 * sysdeps/i386/fpu/e_expl.c: Move to ...
53324 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
53325 rather than using inline asm.
53326 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
53327 * sysdeps/x86_64/fpu/e_expl.S: Copy from
53328 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
53329
53330 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
53331 (nice): Likewise.
53332 (poll): Likewise.
53333 (signal): Likewise.
53334 (time): Likewise.
53335 (times): Likewise.
53336
53337 2012-05-04 Joseph Myers <joseph@codesourcery.com>
53338
53339 * sysdeps/unix/syscalls.list (adjtime): Add entry from
53340 sysdeps/unix/common/syscalls.list.
53341 (fchmod): Likewise.
53342 (fchown): Likewise.
53343 (ftruncate): Likewise.
53344 (getrusage): Likewise.
53345 (gettimeofday): Likewise.
53346 (setpgid): Likewise.
53347 (setregid): Likewise.
53348 (setreuid): Likewise.
53349 (sigaction): Likewise.
53350 (truncate): Likewise.
53351 (vhangup): Likewise.
53352 * sysdeps/unix/common/syscalls.list: Remove file.
53353 * sysdeps/unix/bsd/Implies: Don't include unix/common.
53354 * sysdeps/unix/sysv/linux/Implies: Likewise.
53355
53356 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
53357
53358 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
53359 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
53360 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
53361 Moved to ...
53362 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
53363 Here.
53364 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
53365 to ...
53366 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
53367 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
53368 to ...
53369 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
53370 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
53371 to ...
53372 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
53373 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
53374 to ...
53375 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
53376 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
53377 to ...
53378 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
53379 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
53380 to ...
53381 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
53382 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
53383 to ...
53384 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
53385 Here.
53386 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
53387 to ...
53388 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
53389 Here.
53390 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
53391 to ...
53392 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
53393 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
53394 Moved to ...
53395 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
53396 Here.
53397 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
53398 to ...
53399 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
53400
53401 2012-05-04 Joseph Myers <joseph@codesourcery.com>
53402
53403 * sysdeps/unix/common/bits/dirent.h: Remove file.
53404 * sysdeps/unix/common/bits/fcntl.h: Likewise.
53405
53406 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
53407 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
53408 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
53409 * sysdeps/unix/bsd/isatty.c: Likewise.
53410 * sysdeps/unix/bsd/tcdrain.c: Likewise.
53411 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
53412 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
53413
53414 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53415
53416 [BZ #13563]
53417 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
53418 long double comparison inaccuracies.
53419 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
53420 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53421
53422 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
53423
53424 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
53425 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
53426
53427 2012-05-04 Joseph Myers <joseph@codesourcery.com>
53428
53429 [BZ #14049]
53430 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
53431 nonzero digits before rounding a hex value.
53432 * stdlib/tst-strtod.c (tests): Add another test.
53433
53434 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53435
53436 * sysdeps/s390/fpu/libm-test-ulps: Update.
53437
53438 2012-05-03 Andreas Jaeger <aj@suse.de>
53439
53440 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
53441 does not get optimized out.
53442 (malloc_opt_barrier): New.
53443
53444 2012-05-03 Andreas Jaeger <aj@suse.de>
53445 Roland McGrath <roland@hack.frob.com>
53446
53447 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
53448 intermediate file deletion.
53449 (generated): Add .symlist files.
53450
53451 2012-05-03 Joseph Myers <joseph@codesourcery.com>
53452
53453 [BZ #13775]
53454 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
53455 Redirect under this condition.
53456 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
53457 [__USE_GNU] (__dprintf_chk): Not under this condition.
53458 [__USE_GNU] (__vdprintf_chk): Likewise.
53459 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
53460 under this condition.
53461 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
53462 [__USE_XOPEN2K8] (dprintf): Define under this condition.
53463 [__USE_XOPEN2K8] (vdprintf): Likewise.
53464 [__USE_GNU] (__dprintf_chk): Not under this condition.
53465 [__USE_GNU] (__vdprintf_chk): Likewise.
53466 [__USE_GNU] (dprintf): Likewise.
53467 [__USE_GNU] (vdprintf): Likewise.
53468
53469 2012-05-03 Roland McGrath <roland@hack.frob.com>
53470
53471 * elf/Makefile (common-generated): Set this instead of generated for
53472 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
53473 $(all-built-dso)-derived lists.
53474
53475 2012-05-03 Andreas Jaeger <aj@suse.de>
53476
53477 * sysdeps/i386/fpu/libm-test-ulps: Update.
53478
53479 * FAQ: Removed.
53480 * FAQ.in: Likewise.
53481 * scripts/gen-FAQ.pl: Likewise.
53482 * manual/install.texi (Installation): Point to online location of
53483 FAQ.
53484 * Makefile (files-for-dist): Remove FAQ.
53485 (FAQ): Remove.
53486
53487 2012-05-02 Allan McRae <allan@archlinux.org>
53488
53489 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
53490 (LDFLAGS-reldepmod5.so): Likewise.
53491 (LDFLAGS-reldep6mod1.so): Likewise.
53492 (LDFLAGS-reldep6mod4.so): Likewise.
53493 (LDFLAGS-reldep8mod3.so): Likewise.
53494 (LDFLAGS-unload4mod1.so): Likewise.
53495 (LDFLAGS-unload4mod2.so): Likewise.
53496 (LDFLAGS-tst-initorder): Likewise.
53497 (LDFLAGS-tst-initordera2.so): Likewise.
53498 (LDFLAGS-tst-initordera3.so): Likewise.
53499 (LDFLAGS-tst-initordera4.so): Likewise.
53500 (LDFLAGS-tst-initorderb2.so): Likewise.
53501 (LDFLAGS-noload): Likewise.
53502 (LDFLAGS-next): Likewise.
53503 (LDFLAGS-order2mod1.so): Likewise.
53504 (LDFLAGS-order2mod2.so): Likewise.
53505 (LDFLAGS-tst-initorder2): Likewise.
53506 (LDFLAGS-tst-initorder2a.so): Likewise.
53507 (LDFLAGS-tst-initorder2b.so): Likewise.
53508 (LDFLAGS-tst-initorder2c.so): Likewise.
53509 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
53510
53511 2012-05-02 David S. Miller <davem@davemloft.net>
53512
53513 * sysdeps/sparc/fpu/libm-test-ulps: Update.
53514
53515 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
53516
53517 [BZ #14055]
53518 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
53519
53520 2012-05-02 Andreas Jaeger <aj@suse.de>
53521
53522 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
53523 since we manipulate rounding mode.
53524 (CPPFLAGS-test-idouble.c): Likewise.
53525 (CPPFLAGS-test-ifloat.c): Likewise.
53526 (CFLAGS-test-ldouble.c): Likewise.
53527 (CFLAGS-test-double.c): Likewise.
53528 (CFLAGS-test-float.c): Likewise.
53529 (CFLAGS-test-misc.c): Likewise.
53530 (CFLAGS-test-test-fenv.c): Likewise.
53531
53532 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53533
53534 [BZ #2550]
53535 [BZ #2570]
53536 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
53537 comparisons to determine direction to adjust input.
53538
53539 2012-05-01 Roland McGrath <roland@hack.frob.com>
53540
53541 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
53542 output to the target.
53543
53544 * scripts/localplt.awk: New file.
53545 * elf/Makefile ($(objpfx)check-localplt): Target removed.
53546 (check-localplt-CFLAGS): Variable removed.
53547 ($(all-built-dso:=.jmprel)): New static pattern rule.
53548 (generated): Add those targets.
53549 (localplt-built-dso): New variable.
53550 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
53551
53552 * elf/check-localplt.c: File removed.
53553
53554 * scripts/check-execstack.awk: New file.
53555 * elf/Makefile ($(objpfx)check-execstack): Target removed.
53556 (check-execstack-CFLAGS): Variable removed.
53557 ($(objpfx)check-execstack.h): Target removed.
53558 ($(objpfx)execstack-default): New target.
53559 (generated): Add that instead of check-execstack.h.
53560 ($(all-built-dso:=.phdr)): New static pattern rule.
53561 (generated): Add those targets.
53562 * elf/check-execstack.c: File removed.
53563
53564 * scripts/check-textrel.awk: New file.
53565 * elf/Makefile ($(objpfx)check-textrel): Target removed.
53566 (check-textrel-CFLAGS): Variable removed.
53567 (all-built-dso): Use := to define.o
53568 ($(all-built-dso:=.dyn)): New static pattern rule.
53569 (generated): Add those targets.
53570 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
53571 * config.make.in (READELF): New substituted variable.
53572 * elf/check-textrel.c: File removed.
53573
53574 2012-05-01 Joseph Myers <joseph@codesourcery.com>
53575
53576 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
53577 allow.
53578 * conform/data/ctype.h-data [C99-based standards] (isblank):
53579 Expect function.
53580 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
53581 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
53582 [ISO || ISO99 || ISO11] (*_t): Do not allow.
53583 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
53584 Specify type. Require positive value.
53585 (EILSEQ): Likewise.
53586 (ERANGE): Likewise.
53587 [ISO || POSIX] (EILSEQ): Do not expect.
53588 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
53589 Specify type. Require positive value.
53590 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
53591 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
53592 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
53593 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
53594 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
53595 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
53596 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
53597 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
53598 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
53599 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
53600 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
53601 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
53602 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
53603 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
53604 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
53605 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
53606 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
53607 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
53608 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
53609 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
53610 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
53611 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
53612 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
53613 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
53614 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
53615 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
53616 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
53617 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
53618 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
53619 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
53620 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
53621 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
53622 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
53623 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
53624 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
53625 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
53626 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
53627 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
53628 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
53629 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
53630 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
53631 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
53632 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
53633 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
53634 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
53635 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
53636 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
53637 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
53638 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
53639 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
53640 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
53641 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
53642 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
53643 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
53644 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
53645 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
53646 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
53647 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
53648 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
53649 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
53650 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
53651 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
53652 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
53653 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
53654 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
53655 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
53656 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
53657 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
53658 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
53659 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
53660 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
53661 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
53662 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
53663 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
53664 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
53665 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
53666 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
53667 Require >= 2.
53668 (FLT_ROUNDS): Expect as macro, not constant.
53669 (FLT_MANT_DIG): Use macro-int-constant.
53670 (DBL_MANT_DIG): Likewise.
53671 (LDBL_MANT_DIG): Likewise.
53672 (FLT_DIG): Likewise.
53673 (DBL_DIG): Likewise.
53674 (LDBL_DIG): Likewise.
53675 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
53676 (DBL_MIN_EXP): Likewise.
53677 (LDBL_MIN_EXP): Likewise.
53678 (FLT_MAX_EXP): Use macro-int-constant.
53679 (DBL_MAX_EXP): Likewise.
53680 (LDBL_MAX_EXP): Likewise.
53681 (FLT_MAX_10_EXP): Likewise.
53682 (DBL_MAX_10_EXP): Likewise.
53683 (LDBL_MAX_10_EXP): Likewise.
53684 (FLT_MAX): Use macro-constant.
53685 (DBL_MAX): Likewise.
53686 (LDBL_MAX): Likewise.
53687 (FLT_EPSILON): Use macro-constant. Give upper bound.
53688 (DBL_EPSILON): Likewise.
53689 (LDBL_EPSILON): Likewise.
53690 (FLT_MIN): Likewise.
53691 (DBL_MIN): Likewise.
53692 (LDBL_MIN): Likewise.
53693 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
53694 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
53695 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
53696 [ISO11] (FLT_HAS_SUBNORM): Likewise.
53697 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
53698 [ISO11] (DBL_DECIMAL_DIG): Likewise.
53699 [ISO11] (FLT_DECIMAL_DIG): Likewise.
53700 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
53701 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
53702 [ISO11] (FLT_TRUE_MIN): Likewise.
53703 [ISO11] (LDBL_TRUE_MIN): Likewise.
53704 [ISO || ISO99 || ISO11] (*_t): Do not allow.
53705 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
53706 (SCHAR_MIN): Use macro-int-constant. Specify type.
53707 (SCHAR_MAX): Likewise.
53708 (UCHAR_MAX): Likewise.
53709 (CHAR_MIN): Likewise.
53710 (CHAR_MAX): Likewise.
53711 (MB_LEN_MAX): Use macro-int-constant.
53712 (SHRT_MIN): Use macro-int-constant. Specify type.
53713 (SHRT_MAX): Likewise.
53714 (USHRT_MAX): Likewise.
53715 (INT_MAX): Likewise.
53716 (INT_MIN): Use macro-int-constant. Specify type. Make upper
53717 bound negative.
53718 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
53719 bound with "U".
53720 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
53721 bound with "L".
53722 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
53723 bound negative. Suffix upper bound with "L".
53724 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
53725 bound with "UL".
53726 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
53727 Specify type.
53728 [C99-based standards] (LLONG_MAX): Likewise.
53729 [C99-based standards] (ULLONG_MAX): Likewise.
53730 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
53731 == 0.
53732 [ISO11] (max_align_t): Require type.
53733 [ISO || ISO99 || ISO11] (*_t): Do not allow.
53734
53735 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
53736 from $CFLAGS, without defining away __attribute__ calls.
53737 (checknamespace): Use $CFLAGS_namespace.
53738
53739 * conform/conformtest.pl (@keywords): Only include C99 keywords
53740 for standards based on C99 or C11.
53741
53742 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
53743 Disable tests.
53744 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
53745 UNIX98]: Likewise.
53746
53747 * conform/conformtest.pl: Handle "macro-int-constant" and test for
53748 usability of symbols in #if.
53749
53750 * conform/conformtest.pl: If macro or constant types start
53751 "promoted:", expect the symbol to be of the following type
53752 promoted by the integer promotions.
53753
53754 * conform/conformtest.pl: Parse all "constant" and "macro" lines
53755 in one place. Also handle "macro-constant".
53756
53757 * conform/conformtest.pl: Only accept expected macro values with
53758 "==". Parse all "macro" lines in one place.
53759 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
53760
53761 * conform/conformtest.pl: Handle braced types on "constant" lines
53762 instead of handling "typed-constant".
53763 * conform/data/signal.h-data: Use "constant" instead of
53764 "typed-constant".
53765
53766 * conform/conformtest.pl: Handle "optional-" at start of lines in
53767 one place rather than duplicating several cases. Handle each
53768 format of "macro" line with initial "optional-".
53769
53770 * conform/conformtest.pl: Only accept expected constant or
53771 optional-constant values with "==". Parse all "constant" lines in
53772 one place. Parse all "optional-constant" lines in one place.
53773 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
53774 * conform/data/fmtmsg.h-data: Likewise.
53775 * conform/data/netinet/in.h-data: Likewise.
53776 * conform/data/tar.h-data: Likewise.
53777 * conform/data/limits.h-data: Use "==" form on "constant" and
53778 "optional-constant" lines.
53779
53780 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
53781 Use -std=c99 for XOPEN2K.
53782 (@knownproblems): Remove.
53783 (newtoken): Don't check %isknown.
53784
53785 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
53786 Do not expect macro.
53787 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
53788 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
53789 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
53790 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
53791 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
53792 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
53793 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
53794 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
53795 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
53796 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
53797 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
53798 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
53799 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
53800 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
53801 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
53802 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
53803 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
53804 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
53805 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
53806 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
53807 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
53808 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
53809 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
53810 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
53811 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
53812 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
53813 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
53814 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
53815 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
53816 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
53817 [XPG3] (acosh): Likewise.
53818 [XPG3] (asinh): Likewise.
53819 [XPG3] (atanh): Likewise.
53820 [XPG3] (cbrt): Likewise.
53821 [XPG3] (expm1): Likewise.
53822 [XPG3] (ilogb): Likewise.
53823 [XPG3] (log1p): Likewise.
53824 [XPG3] (logb): Likewise.
53825 [XPG3] (nextafter): Likewise.
53826 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
53827 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
53828 [XPG3] (remainder): Likewise.
53829 [XPG3] (rint): Likewise.
53830 [XPG3 || XPG4 || UNIX98] (round): Likewise.
53831 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
53832 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
53833 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
53834 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
53835 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
53836 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
53837 [UNIX98 || XOPEN2K] (scalb): Expect.
53838 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
53839 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
53840 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
53841 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
53842 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
53843 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
53844 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
53845 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
53846 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
53847 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
53848 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
53849 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
53850 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
53851 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
53852 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
53853 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
53854 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
53855 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
53856 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
53857 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
53858 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
53859 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
53860 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
53861 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
53862 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
53863 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
53864 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
53865 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
53866 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
53867 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
53868 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
53869 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
53870 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
53871 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
53872 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
53873 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
53874 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
53875 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
53876 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
53877 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
53878 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
53879 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
53880 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
53881 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
53882 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
53883 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
53884 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
53885 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
53886 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
53887 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
53888 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
53889 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
53890 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
53891 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
53892 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
53893 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
53894 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
53895 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
53896 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
53897 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
53898 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
53899 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
53900 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
53901 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
53902 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
53903 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
53904 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
53905 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
53906 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
53907 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
53908 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
53909 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
53910 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
53911 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
53912 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
53913 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
53914 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
53915 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
53916 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
53917 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
53918 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
53919 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
53920 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
53921 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
53922 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
53923 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
53924 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
53925 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
53926 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
53927 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
53928 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
53929 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
53930 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
53931 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
53932 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
53933 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
53934 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
53935 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
53936 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
53937 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
53938 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
53939 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
53940 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
53941 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
53942 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
53943 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
53944 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
53945 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
53946 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
53947 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
53948 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
53949 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
53950 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
53951 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
53952 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
53953 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
53954 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
53955 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
53956 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
53957 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
53958 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
53959 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
53960 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
53961 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
53962 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
53963 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
53964 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
53965 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
53966 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
53967 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
53968 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
53969 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
53970 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
53971 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
53972 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
53973 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
53974 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
53975
53976 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
53977 _XOPEN_SOURCE_EXTENDED for XPG4.
53978
53979 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
53980
53981 * Makeconfig (localtime): Remove variable.
53982 (inst_localtime-file): Likewise.
53983
53984 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
53985
53986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
53987 Update.
53988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
53989 Update.
53990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
53991 Update.
53992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
53993 Update.
53994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
53995 Update.
53996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
53997 Update.
53998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
53999 Update.
54000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
54001 Update.
54002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
54003 Update.
54004
54005 2012-05-01 Joseph Myers <joseph@codesourcery.com>
54006
54007 [BZ #2550]
54008 [BZ #2570]
54009 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
54010 comparisons to determine direction to adjust input.
54011 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
54012 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
54013 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
54014 Likewise.
54015 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
54016 Likewise.
54017 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
54018 Likewise.
54019 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
54020 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
54021 Likewise.
54022 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
54023 Likewise.
54024 * math/libm-test.inc (nexttoward_test): Add more tests.
54025
54026 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
54027
54028 [BZ #14040]
54029 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
54030 in version GLIBC_2.1, not GLIBC_2.0.
54031 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
54032 Likewise.
54033
54034 2012-04-30 Joseph Myers <joseph@codesourcery.com>
54035
54036 [BZ #13942]
54037 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
54038 (1 - x) * (1 + x).
54039 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
54040 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
54041 * math/libm-test.inc (acos_test): Add more tests.
54042 (asin_test): Likewise.
54043 * sysdeps/i386/fpu/libm-test-ulps: Update.
54044 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54045
54046 [BZ #14034]
54047 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
54048 of square root.
54049 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
54050 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
54051 * math/libm-test.inc (acos_test_tonearest): New function.
54052 (acos_test_towardzero): Likewise.
54053 (acos_test_downward): Likewise.
54054 (acos_test_upward): Likewise.
54055 (asin_test_tonearest): Likewise.
54056 (asin_test_towardzero): Likewise.
54057 (asin_test_downward): Likewise.
54058 (asin_test_upward): Likewise.
54059 (main): Call the new functions.
54060 * sysdeps/i386/fpu/libm-test-ulps: Update.
54061 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54062
54063 [BZ #13884]
54064 [BZ #13924]
54065 * math/e_exp10.c: Include <float.h>.
54066 (__ieee754_exp10): Handle underflow here rather than multiplying
54067 large negative argument by M_LN10.
54068 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
54069 of __ieee754_expf.
54070 * math/e_exp10l.c: Include <float.h>.
54071 (__ieee754_exp10l): Handle underflow here rather than multiplying
54072 large negative argument by M_LN10l.
54073 * math/libm-test.inc (exp10_test): Add another test. Do not allow
54074 spurious overflow exception on underflow.
54075
54076 2012-04-29 Marek Polacek <polacek@redhat.com>
54077
54078 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
54079 (__fortify_function): New macro.
54080 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
54081 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
54082 __extern_always_inline.
54083 * libio/bits/stdio2.h: Likewise.
54084 * libio/bits/stdio.h: Likewise.
54085 * string/string.h: Likewise.
54086 * string/bits/string3.h: Likewise.
54087 * include/stdio.h: Likewise.
54088 * stdlib/bits/stdlib.h: Likewise.
54089 * stdlib/stdlib.h: Likewise.
54090 * rt/bits/mqueue2.h: Likewise.
54091 * rt/mqueue.h: Likewise.
54092 * posix/bits/unistd.h: Likewise.
54093 * posix/unistd.h: Likewise.
54094 * io/bits/poll2.h: Likewise.
54095 * io/bits/fcntl2.h: Likewise.
54096 * io/fcntl.h: Likewise.
54097 * io/sys/poll.h: Likewise.
54098 * misc/bits/syslog.h: Likewise.
54099 * misc/bits/syslog-ldbl.h: Likewise.
54100 * misc/sys/syslog.h: Likewise.
54101 * socket/bits/socket2.h: Likewise.
54102 * socket/sys/socket.h: Likewise.
54103 * debug/tst-chk1.c: Likewise.
54104 * wcsmbs/bits/wchar2.h: Likewise.
54105 * wcsmbs/bits/wchar-ldbl.h: Likewise.
54106 * wcsmbs/wchar.h: Likewise.
54107
54108 2012-04-29 Andreas Jaeger <aj@suse.de>
54109
54110 * Makerules (tests): Remove enable-check-abi protection.
54111 (check-abi-warn): Remove.
54112 (check-abi-%): Remove check-abi-warn usage.
54113
54114 * configure.in: Remove check-abi configure option.
54115 * configure: Regenerated.
54116 * config.make.in (enable-check-abi): Remove.
54117
54118 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
54119
54120 [BZ #14033]
54121 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
54122 double functions to double *_finite functions.
54123
54124 [BZ #13941]
54125 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
54126 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
54127 LDBL_MIN_EXP.
54128 * stdio-common/Makefile (tests): Add tst-sprintf3.
54129 * stdio-common/tst-sprintf3.c: New file.
54130
54131 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
54132 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
54133
54134 2012-04-28 Joseph Myers <joseph@codesourcery.com>
54135
54136 * conform/conformtest.pl: Remove duplicate typed-constant
54137 handling.
54138
54139 2012-04-28 David S. Miller <davem@davemloft.net>
54140
54141 * Makerules (%.abilist): Add vpath on sysdep_dirs.
54142 (check-abi-%): Remove AWK script prerequisite and explicit
54143 abilist directory.
54144 (check-abi): Rewrite to just diff the symlist with the abilist.
54145 (config-tls, config-abi-config): Delete, no longer used.
54146 (update-abi-%): Remove AWK script and explicit abilist directory.
54147 (update-abi): Rewrite to simply compare and conditionally copy the
54148 symlist and the sysdep abilist file. Remove update-abi-config
54149 checks.
54150 * abilist/ld.abilist: Remove.
54151 * abilist/libBrokenLocale.abilist: Remove.
54152 * abilist/libanl.abilist: Remove.
54153 * abilist/libcrypt.abilist: Remove.
54154 * abilist/libdl.abilist: Remove.
54155 * abilist/librt.abilist: Remove.
54156 * abilist/libthread_db.abilist: Remove.
54157 * abilist/libutil.abilist: Remove.
54158 * scripts/extract-abilist.awk: Remove.
54159 * scripts/merge-abilist.awk: Remove.
54160 * sysdeps/generic/libcidn.abilist: New file.
54161 * sysdeps/generic/libnss_compat.abilist: New file.
54162 * sysdeps/generic/libnss_db.abilist: New file.
54163 * sysdeps/generic/libnss_dns.abilist: New file.
54164 * sysdeps/generic/libnss_files.abilist: New file.
54165 * sysdeps/generic/libnss_hesiod.abilist: New file.
54166 * sysdeps/generic/libnss_nis.abilist: New file.
54167 * sysdeps/generic/libnss_nisplus.abilist: New file.
54168 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
54169 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
54170 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
54171 file.
54172 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
54173 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
54174 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
54175 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
54176 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
54177 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
54178 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
54179 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
54180 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
54181 file.
54182 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
54183 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
54184 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
54185 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
54186 file.
54187 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
54188 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
54189 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
54190 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
54191 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
54192 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
54193 file.
54194 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
54195 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
54196 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
54197 file.
54198 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
54199 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
54200 New file.
54201 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
54202 New file.
54203 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
54204 New file.
54205 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
54206 New file.
54207 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
54208 New file.
54209 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
54210 New file.
54211 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
54212 New file.
54213 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
54214 New file.
54215 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
54216 New file.
54217 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
54218 New file.
54219 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
54220 New file.
54221 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
54222 New file.
54223 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
54224 New file.
54225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
54226 file.
54227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
54228 New file.
54229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
54230 New file.
54231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
54232 file.
54233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
54234 New file.
54235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
54236 New file.
54237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
54238 file.
54239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
54240 New file.
54241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
54242 New file.
54243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
54244 New file.
54245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
54246 New file.
54247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
54248 New file.
54249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
54250 New file.
54251 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
54252 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
54253 file.
54254 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
54255 New file.
54256 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
54257 file.
54258 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
54259 file.
54260 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
54261 file.
54262 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
54263 file.
54264 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
54265 file.
54266 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
54267 New file.
54268 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
54269 file.
54270 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
54271 file.
54272 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
54273 New file.
54274 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
54275 file.
54276 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
54277 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
54278 file.
54279 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
54280 New file.
54281 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
54282 file.
54283 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
54284 file.
54285 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
54286 file.
54287 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
54288 file.
54289 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
54290 file.
54291 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
54292 New file.
54293 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
54294 file.
54295 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
54296 file.
54297 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
54298 New file.
54299 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
54300 file.
54301 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
54302 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
54303 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
54304 file.
54305 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
54306 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
54307 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
54308 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
54309 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
54310 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
54311 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
54312 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
54313 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
54314 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
54315 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
54316 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
54317 file.
54318 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
54319 New file.
54320 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
54321 file.
54322 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
54323 file.
54324 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
54325 file.
54326 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
54327 file.
54328 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
54329 file.
54330 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
54331 New file.
54332 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
54333 New file.
54334 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
54335 file.
54336 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
54337 New file.
54338 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
54339 file.
54340 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
54341 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
54342 file.
54343 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
54344 New file.
54345 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
54346 file.
54347 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
54348 file.
54349 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
54350 file.
54351 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
54352 file.
54353 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
54354 file.
54355 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
54356 New file.
54357 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
54358 New file.
54359 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
54360 file.
54361 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
54362 New file.
54363 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
54364 file.
54365
54366 2012-04-28 Joseph Myers <joseph@codesourcery.com>
54367
54368 * conform/conformtest.pl: Fix typo in handling typed-constant from
54369 allow-header.
54370
54371 2012-04-27 Joseph Myers <joseph@codesourcery.com>
54372
54373 * README: Cut down references to pre-2.6 Linux kernels and
54374 Linuxthreads. Update lists of configurations in libc and ports
54375 and sort alphabetically. Say "or newer" with Linux kernel version
54376 requirements.
54377
54378 * config.h.in [IS_IN_build]: Allow compiling without optimization.
54379
54380 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
54381
54382 [BZ #887]
54383 * math/libm-test.inc (logb_test_downward): New test to expose
54384 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
54385 rounding mode.
54386
54387 2012-04-27 Joseph Myers <joseph@codesourcery.com>
54388
54389 [BZ #14027]
54390 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
54391 to be done.
54392 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
54393 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
54394
54395 2012-04-26 Joseph Myers <joseph@codesourcery.com>
54396
54397 * sysdeps/unix/i386/brk.S: Remove file.
54398 * sysdeps/unix/i386/dl-brk.S: Likewise.
54399 * sysdeps/unix/i386/pipe.S: Likewise.
54400 * sysdeps/unix/i386/sigreturn.S: Likewise.
54401 * sysdeps/unix/i386/syscall.S: Likewise.
54402 * sysdeps/unix/i386/vfork.S: Likewise.
54403 * sysdeps/unix/i386/wait.S: Likewise.
54404
54405 * sysdeps/unix/common/tcsendbrk.c: Move to ...
54406 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
54407
54408 * configure.in (arm*-none*): Do not allow without
54409 --enable-hacker-mode.
54410 (netbsd*): Remove case setting base_os.
54411 (386bsd*): Likewise.
54412 (freebsd*): Likewise.
54413 (bsdi*): Likewise.
54414 (osf*): Likewise.
54415 (sunos*): Likewise.
54416 (ultrix*): Likewise.
54417 (newsos*): Likewise.
54418 (dynix*): Likewise.
54419 (*bsd*): Likewise.
54420 (sysv*): Likewise.
54421 (isc*): Likewise.
54422 (esix*): Likewise.
54423 (sco*): Likewise.
54424 (minix*): Likewise.
54425 (irix4*): Likewise.
54426 (irix6*): Likewise.
54427 (solaris[2-9]*): Likewise.
54428 (none): Likewise.
54429 * configure: Regenerated.
54430
54431 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54432
54433 [BZ #11521]
54434 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
54435 overflow or cancellation in calculating denominator.
54436 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
54437 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
54438 down expression to avoid unexpected rounding in newer GCCs.
54439 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
54440
54441 2012-04-26 David S. Miller <davem@davemloft.net>
54442
54443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
54444 long-double compat symbols.
54445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
54446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
54447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
54448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
54449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
54450 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
54451 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
54452 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
54453 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
54454 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
54455 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
54456 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
54457 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
54458
54459 2012-04-25 David S. Miller <davem@davemloft.net>
54460
54461 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
54462 HWCAP_* values only after the memory barriers have been defined.
54463 (atomic_full_barrier): Define.
54464 (atomic_read_barrier): Define.
54465 (atomic_write_barrier): Define.
54466
54467 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
54468
54469 * shlib-versions: Add libgcc_s version information.
54470 * sysdeps/generic/libgcc_s.h: Remove.
54471 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
54472 libgcc_s.h.
54473 * sysdeps/gnu/unwind-resume.c: Likewise.
54474 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
54475
54476 2012-04-25 David S. Miller <davem@davemloft.net>
54477
54478 * sysdeps/unix/sparc/brk.S: Delete.
54479 * sysdeps/unix/sparc/dl-brk.S: Delete.
54480 * sysdeps/unix/sparc/pipe.S: Delete.
54481 * sysdeps/unix/sparc/sysdep.S: Delete.
54482 * sysdeps/unix/sparc/sysdep.h: Delete.
54483 * sysdeps/unix/sparc/vfork.S: Delete.
54484 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
54485 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
54486 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
54487 (ret_ERRVAL, r0, r1, MOVE): Define.
54488 (JUMPTARGET): Remove.
54489 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
54490 sysdeps/unix/sparc/sysdep.h
54491 (ENTRY, END): Remove.
54492 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
54493
54494 2012-04-25 Joseph Myers <joseph@codesourcery.com>
54495
54496 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
54497 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
54498 -DIS_IN_build.
54499
54500 * timezone/README: Update upstream location and email address for
54501 tzcode and tzdata.
54502 * timezone/zdump.c: Update from tzcode 2012b.
54503 * timezone/zic.c: Likewise.
54504
54505 * configure.in (libc_cv_as_needed): Remove test.
54506 * configure: Regenerated.
54507 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
54508 conditional definition.
54509 [$(have-as-needed) != yes] (no-as-needed): Likewise.
54510 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
54511 * config.make.in (have-as-needed): Remove variable.
54512
54513 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
54514 Paul Pluzhnikov <ppluzhnikov@google.com>
54515
54516 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
54517 strings correctly.
54518
54519 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
54520
54521 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
54522 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
54523 * sysdeps/sh/strlen.S: Likewise.
54524
54525 2012-04-24 Joseph Myers <joseph@codesourcery.com>
54526
54527 * sysdeps/unix/fork.S: Remove file.
54528 * sysdeps/unix/i386/fork.S: Likewise.
54529 * sysdeps/unix/sparc/fork.S: Likewise.
54530
54531 * sysdeps/unix/system.c: Remove file.
54532 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
54533
54534 * sysdeps/unix/getegid.S: Remove file.
54535 * sysdeps/unix/geteuid.S: Likewise.
54536
54537 2012-04-24 Roland McGrath <roland@hack.frob.com>
54538
54539 * scripts/check-localplt.awk: New file.
54540 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
54541 of diff.
54542 * scripts/data/localplt-generic.data: Add a comment.
54543
54544 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
54545 NODE when __dir_mkfile failed.
54546 * sysdeps/mach/hurd/symlinkat.c: Likewise.
54547 Reported by Ludovic Courtès <ludo@gnu.org>.
54548
54549 2012-04-24 Andreas Jaeger <aj@suse.de>
54550
54551 * Makerules (common-clean): Also remove gen-as-const-headers
54552 files.
54553
54554 2012-04-24 Joseph Myers <joseph@codesourcery.com>
54555
54556 * Makerules (native-compile): Do not change working directory for
54557 build. Use $(OUTPUT_OPTION) in command.
54558 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
54559
54560 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54561
54562 [BZ #13886]
54563 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
54564 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
54565 * math/libm-test.inc (floor_test): Add more tests.
54566 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
54567
54568 2012-04-24 Joseph Myers <joseph@codesourcery.com>
54569
54570 * sysdeps/unix/getdents.c: Remove file.
54571 * sysdeps/unix/sysv/getdents.c: Likewise.
54572 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
54573
54574 * sysdeps/unix/syscalls.list (madvise): Add syscall from
54575 sysdeps/unix/mman/syscalls.list.
54576 (mmap): Likewise.
54577 (mprotect): Likewise.
54578 (msync): Likewise.
54579 (munmap): Likewise.
54580 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
54581 * sysdeps/unix/mman/syscalls.list: Remove.
54582 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
54583
54584 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
54585 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
54586 * configure: Regenerated.
54587 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
54588 $(libgcc_s_suffix).
54589 * config.make.in (libgcc_s_suffix): Remove variable.
54590
54591 2012-04-23 Joseph Myers <joseph@codesourcery.com>
54592
54593 * sysdeps/unix/sysv/gethostname.c: Move to ...
54594 * sysdeps/posix/gethostname.c: ... here.
54595
54596 * sysdeps/unix/execve.S: Remove file.
54597
54598 * sysdeps/unix/_exit.S: Remove file.
54599
54600 2012-04-23 Andreas Jaeger <aj@suse.de>
54601
54602 [BZ #13739]
54603 * manual/Makefile: Remove make dist support, there's no
54604 need for a stand-alone documentation tar ball.
54605 (TEXI2DVI): Define always, it's not in Makeconfig.
54606 (dist): Removed.
54607 (tar-it): Removed.
54608 (edition): Removed.
54609 (glibc-doc-$(edition).tar): Removed
54610 (%.Z): Removed.
54611 (%.gz): Removed.
54612 (%.uu): Removed.
54613 (ETAGS): Remove, it's in Makeconfig.
54614 (move-if-change): Remove, it's in Makeconfig.
54615
54616 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
54617
54618 [BZ #13970]
54619 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
54620 (strtod, strtof, strtold, strtol, strtoul, strtoq)
54621 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
54622 (strtod_l, strtof_l, strtold_l): Remove __wur.
54623 It is not necessarily an error to ignore strtol's return value.
54624 One can reliably look at the stored endptr to decide whether
54625 the number had valid syntax.
54626
54627 2012-04-21 Andreas Jaeger <aj@suse.de>
54628
54629 [BZ #13739]
54630 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
54631
54632 2012-04-21 Joseph Myers <joseph@codesourcery.com>
54633
54634 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
54635 * sysdeps/unix/sysv/Versions: Remove file.
54636
54637 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
54638
54639 [BZ #13927]
54640 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54641
54642 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
54643
54644 [BZ #7064]
54645 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
54646 version from __vm86.
54647
54648 2012-04-20 Joseph Myers <joseph@codesourcery.com>
54649
54650 * sysdeps/unix/common/lxstat.c: Remove file.
54651 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
54652
54653 * sysdeps/unix/sysv/Makefile: Remove file.
54654
54655 * sysdeps/unix/sysv/direct.h: Remove file.
54656
54657 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
54658 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
54659 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
54660 * sysdeps/unix/sysv/bits/signum.h: Likewise.
54661 * sysdeps/unix/sysv/bits/stat.h: Likewise.
54662 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
54663 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
54664
54665 * sysdeps/unix/sysv/setrlimit.c: Remove file.
54666
54667 * sysdeps/unix/xmknod.c: Remove file.
54668 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
54669
54670 * sysdeps/unix/sysv/settimeofday.c: Remove file.
54671
54672 * sysdeps/unix/sysv/i386/time.S: Remove file.
54673
54674 * sysdeps/unix/fxstat.c: Remove file.
54675 * sysdeps/unix/xstat.c: Likewise.
54676 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
54677
54678 * sysdeps/unix/sysv/sigaction.c: Remove file.
54679
54680 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
54681 (sysdep_headers): Remove variable.
54682 [termio.h not in sysdep_headers] (generated): Likewise.
54683 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
54684 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
54685 * sysdeps/unix/sysv/tcdrain.c: Likewise.
54686 * sysdeps/unix/sysv/tcflow.c: Likewise.
54687 * sysdeps/unix/sysv/tcflush.c: Likewise.
54688 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
54689 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
54690 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
54691 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
54692 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
54693
54694 * sysdeps/unix/siglist.c: Remove file.
54695
54696 * sysdeps/unix/getppid.S: Remove file.
54697
54698 * sysdeps/unix/mkdir.c: Remove file.
54699 * sysdeps/unix/rmdir.c: Likewise.
54700
54701 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
54702
54703 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
54704 ERR_MAX value.
54705 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
54706 errlist-compat value.
54707
54708 2012-04-18 David S. Miller <davem@davemloft.net>
54709
54710 * sysdeps/generic/memcopy.h (reg_char): Delete.
54711 * debug/strcat_chk.c: Use char, not reg_char.
54712 * debug/strcpy_chk.c: Likewise.
54713 * debug/strncat_chk.c: Likewise.
54714 * debug/strncpy_chk.c: Likewise.
54715 * string/memchr.c: Likewise.
54716 * string/memrchr.c: Likewise.
54717 * string/rawmemchr.c: Likewise.
54718 * string/strcat.c: Likewise.
54719 * string/strchr.c: Likewise.
54720 * string/strchrnul.c: Likewise.
54721 * string/strcmp.c: Likewise.
54722 * string/strcpy.c: Likewise.
54723 * string/strncat.c: Likewise.
54724 * string/strncmp.c: Likewise.
54725 * string/strncpy.c: Likewise.
54726
54727 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
54728
54729 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
54730 __builtin_memcopy is called when src and dest ranges are known to not
54731 overlap.
54732
54733 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
54734
54735 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
54736 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
54737 fwd_align_merge macro call.
54738 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
54739 bwd_align_merge macro call.
54740 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
54741
54742 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
54743
54744 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
54745 bwd_align_merge macros.
54746 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
54747 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
54748 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
54749
54750 2012-04-18 David S. Miller <davem@davemloft.net>
54751
54752 * sysdeps/sparc/sparc64/memcopy.h: Delete.
54753
54754 2012-04-18 Andreas Jaeger <aj@suse.de>
54755
54756 [BZ# 6794]
54757 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
54758 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
54759 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
54760
54761 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
54762 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
54763 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
54764
54765 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
54766 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
54767 Adjust for changed ldbl-128 files.
54768
54769 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
54770 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
54771 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
54772
54773 2012-04-17 David S. Miller <davem@davemloft.net>
54774
54775 * sysdeps/sparc/sparc32/memcopy.h: Delete.
54776
54777 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
54778
54779 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
54780 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
54781 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
54782 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
54783 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
54784 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
54785
54786 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54787
54788 [BZ #6794]
54789 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
54790 * math/libm-test.inc: Add ilogb errno and exception tests.
54791 * math/w_ilogb.c: New file: ilogb wrapper.
54792 * math/w_ilogbf.c: New file: ilogbf wrapper.
54793 * math/w_ilogbl.c: New file: ilogbl wrapper.
54794 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
54795 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
54796 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
54797 exception being thrown with 0.0 as argument.
54798 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
54799 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
54800 exception being thrown with 0.0 as argument.
54801 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
54802 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
54803 exception being thrown with 0.0 as argument.
54804 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
54805 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
54806 exception being thrown with 0.0 as argument.
54807 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
54808 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
54809 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
54810 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
54811 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
54812 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
54813 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
54814 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
54815 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
54816
54817 2012-04-17 Petr Baudis <pasky@ucw.cz>
54818
54819 * include/sys/uio.h: Change __vector to __iovec to avoid clash
54820 with altivec.
54821
54822 2012-04-16 Marek Polacek <polacek@redhat.com>
54823
54824 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
54825
54826 2012-04-16 Marek Polacek <polacek@redhat.com>
54827
54828 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
54829 operands of fdivp instruction.
54830
54831 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
54832
54833 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
54834 * elf/tst-auditmod3b.c: Likewise.
54835 * elf/tst-auditmod4b.c: Likewise.
54836 * elf/tst-auditmod5b.c: Likewise.
54837 * elf/tst-auditmod6b.c: Likewise.
54838 * elf/tst-auditmod6c.c: Likewise.
54839 * elf/tst-auditmod7b.c: Likewise.
54840 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
54841 * sysdeps/x86_64/preconfigure.in: Likewise.
54842 * sysdeps/x86_64/preconfigure: Regenerated.
54843
54844 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
54845
54846 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
54847 __ILP32__.
54848
54849 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
54850
54851 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
54852 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
54853
54854 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
54855
54856 [BZ #13973]
54857 * locale/iso-639.def: Fix gl language name. Spotted by
54858 Yaron Shahrabani.
54859
54860 2012-04-12 Roland McGrath <roland@hack.frob.com>
54861
54862 [BZ #2074]
54863 * libio/libio.h (__io_write_fn): Update comment.
54864
54865 2012-04-12 Petr Baudis <pasky@ucw.cz>
54866
54867 [BZ #2074]
54868 * stdio.texi (Hook Functions): The user provided writer function
54869 is not allowed to return -1.
54870
54871 2012-04-11 David S. Miller <davem@davemloft.net>
54872
54873 * sysdeps/sparc/fpu/libm-test-ulps: Update.
54874
54875 2012-04-11 Mike Frysinger <vapier@gentoo.org>
54876
54877 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
54878 Add a leading slash to rtkaio.
54879
54880 2012-04-11 Jim Meyering <meyering@redhat.com>
54881
54882 [BZ #11959]
54883 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
54884 It is not necessarily an error to ignore fwrite's return
54885 value. One can reliably use ferror to test for errors after
54886 the fact.
54887
54888 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
54889
54890 * bits/types.h (__snseconds_t): New type.
54891 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
54892
54893 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
54894 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
54895 (__SNSECONDS_T_TYPE): Likewise.
54896 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
54897 (__SNSECONDS_T_TYPE): Likewise.
54898 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
54899 (__SNSECONDS_T_TYPE): Likewise.
54900
54901 2012-04-10 Andreas Jaeger <aj@suse.de>
54902
54903 [BZ #2636]
54904 * manual/time.texi (Processor Time): Return type of times is
54905 elapsed real time since an arbitrary point in the past.
54906 (CPU Time): Move CLK_TCK from here...
54907 (Processor Time): ...to here. Correct description.
54908 * manual/conf.texi (Constants for Sysconf): Correct description of
54909 _SC_CLK_TCK.
54910
54911 2012-04-10 David S. Miller <davem@davemloft.net>
54912
54913 [BZ #13967]
54914 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
54915 where the is a gap between DT_REL(A) and DT_JMPREL.
54916
54917 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
54918
54919 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
54920 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
54921 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
54922
54923 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
54924
54925 * elf/dl-support.c (_dl_inhibit_cache): New variable.
54926 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
54927 (dl_main): Handle --inhibit-cache.
54928 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
54929 _dl_inhibit_cache.
54930 * elf/dl-load.c (_dl_map_object): Use it.
54931 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
54932
54933 2012-04-09 Joseph Myers <joseph@codesourcery.com>
54934
54935 [BZ #13872]
54936 * sysdeps/i386/fpu/e_powl.S (p78): New object.
54937 (__ieee754_powl): Saturate large exponents rather than testing for
54938 overflow of y*log2(x).
54939 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
54940 * math/libm-test.inc (pow_test): Do not permit spurious overflow
54941 exceptions.
54942
54943 [BZ #11521]
54944 * math/s_ctan.c: Include <float.h>.
54945 (__ctan): Avoid internal overflow or cancellation in calculating
54946 denominator.
54947 * math/s_ctanf.c: Likewise.
54948 * math/s_ctanl.c: Likewise.
54949 * math/s_ctanh.c: Likewise.
54950 * math/s_ctanhf.c: Likewise.
54951 * math/s_ctanhl.c: Likewise.
54952 * math/libm-test.inc (ctan_test): Add more tests.
54953 (ctanh_test): Likewise.
54954 * sysdeps/i386/fpu/libm-test-ulps: Update.
54955 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54956
54957 2012-04-09 Andreas Jaeger <aj@suse.de>
54958
54959 [BZ #6894]
54960 * manual/filesys.texi (Directory Entries): Mention that d_namlen
54961 is an optional BSD extension.
54962
54963 [BZ #10254]
54964 * manual/stdio.texi (Opening Streams): Document additional fopen
54965 parameters.
54966
54967 2012-04-09 Roland McGrath <roland@hack.frob.com>
54968
54969 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
54970 %eax without telling the compiler.
54971
54972 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
54973
54974 [BZ # 13963]
54975 * manual/install.texi: Use sourceware.org.
54976
54977 2012-04-09 Joseph Myers <joseph@codesourcery.com>
54978
54979 [BZ #13873]
54980 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
54981 (__ieee754_pow): Generate overflow and underflow using huge*huge
54982 and tiny*tiny rather than just returning constant infinity or zero
54983 for large exponents.
54984 * math/libm-test.inc (pow_test): Require overflow exceptions for
54985 applicable cases of large exponents.
54986
54987 [BZ #706]
54988 * sysdeps/i386/fpu/e_pow.S (p10): New object.
54989 (__ieee754_pow): Use iterative multiplication algorithm only for
54990 integer exponents with absolute value below 1024. Check for odd
54991 integer exponents when using algorithm for real exponents.
54992 * math/libm-test.inc (pow_test): Add more tests.
54993 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54994
54995 2012-04-08 Joseph Myers <joseph@codesourcery.com>
54996
54997 [BZ #13705]
54998 * math/libm-test.inc (exp_test): Do not allow overflow exception
54999 on underflow test.
55000
55001 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
55002
55003 [BZ #13705]
55004 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
55005 instead of __kernel_standard_f.
55006
55007 2012-04-08 Mike Frysinger <vapier@gentoo.org>
55008
55009 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
55010 * sysdeps/x86_64/memset_chk.S: Likewise.
55011
55012 2012-04-08 Andreas Jaeger <aj@suse.de>
55013
55014 [BZ #10153]
55015 * manual/startup.texi (Environment Access): Describe return value
55016 for putenv and setenv.
55017
55018 [BZ #6895]
55019 * manual/filesys.texi (Directory Entries): Add description for
55020 DT_LNK.
55021
55022 [BZ #6890]
55023 * manual/filesys.texi (Directory Entries): Clarify that it's file
55024 system not operating system in the description of DT_UNKNOWN.
55025
55026 [BZ #6578]
55027 * manual/syslog.texi (closelog): Fix reference, it's openlog.
55028
55029 2012-04-08 Stephen Compall <s11@member.fsf.org>
55030
55031 [BZ #6649]
55032 * manual/llio.texi (Opening and Closing Files): Add cross
55033 reference to explain mode argument.
55034
55035 2012-04-07 Mike Frysinger <vapier@gentoo.org>
55036
55037 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
55038 * sysdeps/x86_64/memset_chk.S: Likewise.
55039
55040 2012-04-07 David S. Miller <davem@davemloft.net>
55041
55042 * elf/elf.h (R_SPARC_WDISP10): Define.
55043 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
55044 R_SPARC_SIZE32.
55045 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
55046 R_SPARC_SIZE64 and R_SPARC_H34.
55047
55048 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
55049
55050 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
55051 conditions and remove no longer applicable assertion.
55052
55053 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
55054
55055 * bits/byteswap.h: Include <features.h>.
55056 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
55057 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
55058
55059 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
55060
55061 * bits/byteswap.h (__bswap_16): Removed.
55062 Include <bits/byteswap-16.h> to get __bswap_16.
55063 * sysdeps/i386/bits/byteswap.h: Likewise.
55064 * sysdeps/s390/bits/byteswap.h: Likewise.
55065 * sysdeps/x86_64/bits/byteswap.h: Likewise.
55066 * bits/byteswap-16.h: New file.
55067 * sysdeps/i386/bits/byteswap-16.h: Likewise.
55068 * sysdeps/s390/bits/byteswap-16.h: Likewise.
55069 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
55070 * string/Makefile (headers): Add bits/byteswap-16.h.
55071
55072 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
55073
55074 [BZ #13895]
55075 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
55076 extra indirection.
55077 * nss/Makefile (tests-static, tests): Add tst-nss-static.
55078 * nss/tst-nss-static.c: New.
55079
55080 2012-04-06 Robert Millan <rmh@gnu.org>
55081
55082 [BZ #6486]
55083 * manual/llio.texi (File Position Primitive): lseek
55084 refers to WHENCE when it really means OFFSET.
55085
55086 2012-04-06 Andreas Jaeger <aj@suse.de>
55087
55088 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
55089 strncmp declarations.
55090
55091 * abilist/libc.abilist: Add __poll and __ppoll.
55092
55093 2012-04-05 David S. Miller <davem@davemloft.net>
55094
55095 * scripts/check-local-headers.sh: Accept a host triplet in the
55096 path matched by the exclude regexp.
55097
55098 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
55099 definition.
55100 * sysdeps/powerpc/powerpc32/dl-machine.h
55101 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
55102 * sysdeps/s390/s390-32/dl-machine.h
55103 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
55104 * sysdeps/sparc/sparc32/dl-machine.h
55105 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
55106 * sysdeps/sparc/sparc64/dl-machine.h
55107 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
55108
55109 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
55110 lazy binding.
55111 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
55112 undefined symbol errors.
55113
55114 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
55115 DT_NEEDED entries.
55116
55117 2012-04-05 Michael Matz <matz@suse.de>
55118
55119 [BZ #13592]
55120 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
55121
55122 2012-04-05 Andreas Jaeger <aj@suse.de>
55123
55124 [BZ #13908]
55125 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
55126 comment.
55127
55128 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
55129
55130 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
55131 which ROUND is no valid rounding mode.
55132
55133 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
55134
55135 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
55136 read again.
55137 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
55138
55139 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
55140
55141 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
55142 an exception using FPU order intentionally.
55143
55144 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
55145
55146 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
55147 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
55148 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
55149 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
55150
55151 2012-04-05 Simon Josefsson <simon@josefsson.org>
55152
55153 [BZ #12340]
55154 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
55155 EINVAL when BUFLEN is too smal.
55156
55157 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
55158
55159 [BZ #13553]
55160 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
55161 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
55162
55163 2012-04-03 Andreas Jaeger <aj@suse.de>
55164
55165 [BZ #13938]
55166 * manual/setjmp.texi (System V contexts): Fix sentence.
55167
55168 [BZ #13926]
55169 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
55170 New macro for this case.
55171 [!__GNUC__] (__bswap_64): New inline function for this case.
55172 * sysdeps/x86_64/bits/byteswap.h: Likewise.
55173 * bits/byteswap.h: Likewise.
55174 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
55175 ull, guard with __GLIBC_HAVE_LONG_LONG.
55176
55177 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
55178 __GLIBC_HAVE_LONG_LONG.
55179
55180 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
55181 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
55182
55183 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
55184
55185 [BZ #13691]
55186 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
55187 inptr and inend, rather than using last_ch.
55188
55189 2012-04-02 David S. Miller <davem@davemloft.net>
55190
55191 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
55192 * stdio-common/printf-parse.h (read_int): Change return type to
55193 'int', return -1 on INT_MAX overflow.
55194 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
55195 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
55196 overflows INT_MAX. Check for overflow of in-format-string precision
55197 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
55198 SIZE_MAX not INT_MAX for integer overflow test.
55199 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
55200 skip the construct in the format string but do not record anything.
55201 * stdio-common/bug22.c: Adjust to test both width/prevision
55202 INT_MAX overflow as well as total length INT_MAX overflow. Check
55203 explicitly for proper errno values.
55204
55205 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
55206
55207 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
55208 CHAR_MAX.
55209 * string/test-strcmp.c [! WIDE]: Likewise.
55210 * time/tst-mktime2.c: Likewise for INT_MAX.
55211 * string/test-string.h: #include <sys/param.h> for MIN.
55212
55213 * csu/init-first.c (__libc_init_first): Call __ctype_init.
55214 * sysdeps/i386/init-first.c (init): Likewise.
55215 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
55216 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
55217 * sysdeps/sh/init-first.c (init): Likewise.
55218
55219 2012-04-01 Ulrich Drepper <drepper@gmail.com>
55220
55221 * po/ru.po: Update from translation team.
55222 * po/vi.po: Likewise.
55223
55224 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
55225
55226 * resolv/nss_dns/dns-host.c: Merge copyright years.
55227
55228 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55229
55230 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
55231 Optimize memcpy with prefetch if
55232 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
55233 src, dst pointers have unequal 16 byte alignments.
55234
55235 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
55236
55237 [BZ #13928]
55238 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
55239 from a CNAME entry and return the minimum ttl for the query.
55240 (gaih_getanswer_slice): Likewise.
55241
55242 2012-03-30 Jeff Law <law@redhat.com>
55243
55244 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
55245 due to long keys.
55246 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
55247 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
55248
55249 * resolv/nss_dns/dns-host.c: Update copyright year.
55250
55251 2012-03-30 Ulrich Drepper <drepper@gmail.com>
55252
55253 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
55254 requests to save a system call. Fix check that all bytes are sent.
55255
55256 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
55257 comments for sendmmsg.
55258
55259 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
55260
55261 [BZ #13691]
55262 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
55263 with only 1 character between 0x0041 and 0x01b0.
55264 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
55265 * wcsmbs/tst-mbsnrtowcs.c: New file.
55266
55267 2012-03-29 David S. Miller <davem@davemloft.net>
55268
55269 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
55270 small copies by hand.
55271
55272 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
55273
55274 [BZ #13761]
55275 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
55276 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
55277 group memberships.
55278
55279 2012-03-28 David S. Miller <davem@davemloft.net>
55280
55281 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
55282 that branches into memcpy.
55283 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
55284 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
55285 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
55286 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
55287 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
55288 bits.
55289 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
55290 implementation too.
55291 * sysdeps/sparc/mempcpy.S: New file.
55292
55293 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
55294 the IFUNC routine in the libc case.
55295 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
55296
55297 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
55298 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
55299 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
55300 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
55301 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
55302 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
55303 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
55304 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
55305
55306 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
55307 loop to 256 bytes instead of 64 bytes and fix test signedness.
55308
55309 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
55310 * sysdeps/sparc/sparc32/Makefile: rather than here...
55311 * sysdeps/sparc/sparc64/Makefile: and here.
55312
55313 2012-03-28 Ulrich Drepper <drepper@gmail.com>
55314
55315 * malloc/mallocbug.c: Avoid warnings about unused variables.
55316
55317 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
55318
55319 [BZ #13760]
55320 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
55321 in the right place. Discard and retry query if response is
55322 larger than input buffer size.
55323
55324 2012-03-28 Joseph Myers <joseph@codesourcery.com>
55325
55326 [BZ #369]
55327 [BZ #2678]
55328 [BZ #3866]
55329 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
55330 x for large integer exponent.
55331 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
55332 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
55333 sign of result as needed afterwards.
55334 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
55335 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
55336 result for underflowing pow the same as for overflow.
55337 (__kernel_standard_l): Handle powl overflow and underflow here
55338 rather than calling __kernel_standard.
55339 * math/libm-test.inc (pow_test): Add more tests.
55340
55341 [BZ #3868]
55342 [BZ #13879]
55343 [BZ #13910]
55344 [BZ #13911]
55345 [BZ #13912]
55346 [BZ #13913]
55347 [BZ #13915]
55348 [BZ #13916]
55349 [BZ #13917]
55350 [BZ #13918]
55351 [BZ #13919]
55352 [BZ #13920]
55353 [BZ #13921]
55354 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
55355 * sysdeps/ieee754/k_standard.c: Include <float.h>.
55356 (__kernel_standard_l): New function.
55357 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
55358 __kernel_standard.
55359 * math/w_acosl.c (__acosl): Likewise.
55360 * math/w_asinl.c (__asinl): Likewise.
55361 * math/w_atan2l.c (__atan2l): Likewise.
55362 * math/w_atanhl.c (__atanhl): Likewise.
55363 * math/w_coshl.c (__coshl): Likewise.
55364 * math/w_exp10l.c (__exp10l): Likewise.
55365 * math/w_exp2l.c (__exp2l): Likewise.
55366 * math/w_fmodl.c (__fmodl): Likewise.
55367 * math/w_hypotl.c (__hypotl): Likewise.
55368 * math/w_j0l.c (__j0l, __y0l): Likewise.
55369 * math/w_j1l.c (__j1l, __y1l): Likewise.
55370 * math/w_jnl.c (__jnl, __ynl): Likewise.
55371 * math/w_lgammal.c (__lgammal): Likewise.
55372 * math/w_log10l.c (__log10l): Likewise.
55373 * math/w_log2l.c (__log2l): Likewise.
55374 * math/w_logl.c (__logl): Likewise.
55375 * math/w_powl.c (__powl): Likewise.
55376 * math/w_remainderl.c (__remainderl): Likewise.
55377 * math/w_scalbl.c (sysv_scalbl): Likewise.
55378 * math/w_sinhl.c (__sinhl): Likewise.
55379 * math/w_sqrtl.c (__sqrtl): Likewise.
55380 * math/w_tgammal.c (__tgammal): Likewise.
55381 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
55382 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
55383 * math/libm-test.inc (acos_test): Add more tests.
55384 (acosh_test): Likewise.
55385 (asin_test): Likewise.
55386 (atanh_test): Likewise.
55387 (exp_test): Likewise.
55388 (exp10_test): Likewise.
55389 (exp2_test): Likewise.
55390 (expm1_test): Likewise.
55391 (lgamma_test): Likewise.
55392 (log_test): Likewise.
55393 (log10_test): Likewise.
55394 (log1p_test): Likewise.
55395 (log2_test): Likewise.
55396 (pow_test): Do not allow some spurious overflow exceptions.
55397 (sqrt_test): Add more tests.
55398 (tgamma_test): Likewise.
55399 (y0_test): Likewise.
55400 (y1_test): Likewise.
55401 (yn_test): Likewise.
55402
55403 2012-03-27 Anton Blanchard <anton@samba.org>
55404
55405 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
55406 MAP_HUGETLB.
55407 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
55408 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
55409 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
55410
55411 2012-03-27 David S. Miller <davem@davemloft.net>
55412
55413 * conform/Makefile: Run run-conformtest.sh using $(BASH).
55414
55415 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
55416 have-as-vis3 check.
55417
55418 2012-03-27 Andreas Jaeger <aj@suse.de>
55419
55420 * sysdeps/x86_64/elf/configure.in: Moved to ...
55421 * sysdeps/x86_64/configure.in: ... here.
55422 * sysdeps/x86_64/elf/start.S: Moved to ...
55423 * sysdeps/x86_64/start.S: ... here.
55424 * sysdeps/x86_64/elf/configure: Delete.
55425
55426 * sysdeps/x86_64/configure.in: Merge contents from
55427 sysdeps/i386/configure.in (without i686 check).
55428
55429 * sysdeps/i386/elf/Versions: Merge into ...
55430 * sysdeps/i386/Versions: ... this.
55431 * sysdeps/i386/elf/Versions: Delete file.
55432 * sysdeps/i386/elf/start.S: Moved to ...
55433 * sysdeps/i386/start.S: ...here.
55434 * sysdeps/i386/elf/configure.in: Merge into...
55435 * sysdeps/i386/configure.in: ...here.
55436 * sysdeps/i386/elf/configure.in: Delete file.
55437 * sysdeps/i386/elf/configure: Delete file.
55438
55439 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
55440 * debug/backtracesyms.c: ... here.
55441 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
55442 * debug/backtracesymsfd.c: ... here.
55443 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
55444 * sysdeps/generic/ifunc-sel.h: ... here.
55445
55446 * sysdeps/unix/i386/start.c: Delete file.
55447 * sysdeps/unix/sparc/start.c: Delete file.
55448 * sysdeps/unix/start.c: Delete file.
55449
55450 * sysdeps/sh/elf/configure.in: Moved to ...
55451 * sysdeps/sh/configure.in: ... here.
55452 * sysdeps/sh/elf/start.S: Moved to ...
55453 * sysdeps/sh/start.S: ... here.
55454 * sysdeps/sh/elf/configure: Delete file.
55455
55456 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
55457 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
55458 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
55459 * sysdeps/powerpc/powerpc64/entry.h: ... here.
55460 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
55461 * sysdeps/powerpc/powerpc64/start.S: here.
55462 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
55463 * sysdeps/powerpc/powerpc64/Makefile: ... this.
55464 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
55465 * sysdeps/powerpc/powerpc64/configure.in: ... this.
55466 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
55467
55468 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
55469 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
55470 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
55471 * sysdeps/powerpc/powerpc32/start.S: ... here.
55472 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
55473 * sysdeps/powerpc/powerpc32/configure.in: ... this.
55474 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
55475
55476 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
55477 * sysdeps/powerpc/ifunc-sel.h: ... here.
55478 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
55479 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
55480
55481 * sysdeps/sparc/elf/configure.in: Moved to ...
55482 * sysdeps/sparc/configure.in: ... here.
55483 * sysdeps/sparc/elf/configure: Delete file.
55484 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
55485 * sysdeps/sparc/sparc32/start.S: ... here.
55486 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
55487 * sysdeps/sparc/sparc64/start.S: ... here.
55488 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
55489 * sysdeps/sparc/sparc32/Makefile: ... this.
55490 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
55491 * sysdeps/sparc/sparc64/Makefile: ... this.
55492
55493 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
55494 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
55495 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
55496 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
55497 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
55498 * sysdeps/s390/s390-32/setjmp.S: ... here.
55499 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
55500 * sysdeps/s390/s390-32/configure.in: ... here.
55501 * sysdeps/s390/s390-32/elf/configure: Delete file.
55502 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
55503 * sysdeps/s390/s390-32/start.S: ... here.
55504
55505 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
55506 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
55507 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
55508 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
55509 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
55510 * sysdeps/s390/s390-64/setjmp.S: ... here.
55511 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
55512 * sysdeps/s390/s390-64/configure.in: ... here
55513 * sysdeps/s390/s390-64/elf/configure: Delete file.
55514 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
55515 * sysdeps/s390/s390-64/start.S: ... here.
55516 * sysdeps/s390/s390-64/elf/configure: Delete.
55517
55518 * configure.in: Remove support for elf directories in sysdeps.
55519
55520 * configure: Regenerated.
55521 * sysdeps/i386/configure: Regenerated.
55522 * sysdeps/powerpc/powerpc32/configure: Regenerated.
55523 * sysdeps/powerpc/powerpc64/configure: Regenerated.
55524 * sysdeps/s390/s390-32/configure: Regenerated.
55525 * sysdeps/s390/s390-64/configure: Regenerated.
55526 * sysdeps/sh/configure: Regenerated.
55527 * sysdeps/sparc/configure: Regenerated.
55528 * sysdeps/x86_64/configure: Regenerated.
55529
55530 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
55531
55532 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55533
55534 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
55535 denormal result into account.
55536
55537 2012-03-25 Roland McGrath <roland@hack.frob.com>
55538
55539 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
55540 Reported by Allan McRae <allan@archlinux.org>.
55541
55542 2012-03-23 Jeff Law <law@redhat.com>
55543
55544 * nss/getnssent.c (__nss_getent): Fix typo.
55545
55546 2012-03-23 David S. Miller <davem@davemloft.net>
55547
55548 * sysdeps/sparc/fpu/libm-test-ulps: Update.
55549
55550 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
55551
55552 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
55553 to pad to uint64_t for each field.
55554 (dl_tls_index): Replace unsigned long with uint64_t.
55555
55556 2012-03-23 Daniel Jacobowitz <dmj@google.com>
55557 Paul Pluzhnikov <ppluzhnikov@google.com>
55558
55559 [BZ #6528]
55560 * grp/Makefile (otherlibs): Don't set it.
55561 * inet/Makefile (otherlibs): Likewise.
55562 * login/Makefile (otherlibs): Likewise.
55563 * nscd/Makefile (otherlibs): Likewise.
55564 * posix/Makefile (otherlibs): Likewise.
55565 * pwd/Makefile (otherlibs): Likewise.
55566 * rt/Makefile (otherlibs): Likewise.
55567 * sunrpc/Makefile (otherlibs): Likewise.
55568 * nss/Makefile (otherlibs): Likewise.
55569 Add libnss_files to routines and static-only-routines.
55570 ($(objpfx)getent): Remove rule.
55571 * resolv/Makefile: Add libnss_dns and libresolv to routines and
55572 static-only-routines.
55573
55574 2012-03-22 Joseph Myers <joseph@codesourcery.com>
55575
55576 [BZ #13892]
55577 * math/s_cexp.c: Include <float.h>.
55578 (__cexp): Handle exp result overflowing not necessarily
55579 overflowing both real and imaginary parts of result.
55580 * math/s_cexpf.c: Likewise.
55581 * math/s_cexpl.c: Likewise.
55582 * math/libm-test.inc (cexp_test): Add more tests.
55583 * sysdeps/i386/fpu/libm-test-ulps: Update.
55584 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55585
55586 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
55587
55588 * include/link.h (ELFW): New macro.
55589 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
55590 Replace ELF64_R_TYPE with ELFW(R_TYPE).
55591
55592 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
55593
55594 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
55595 with uint64_t.
55596
55597 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
55598
55599 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
55600 declaration.
55601 (struct La_x32_retval): Likewise.
55602
55603 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
55604
55605 * sysdeps/x86_64/preconfigure.in: New file.
55606 * sysdeps/x86_64/preconfigure: New generated file.
55607
55608 2012-03-22 Joseph Myers <joseph@codesourcery.com>
55609
55610 [BZ #13824]
55611 * math/e_exp2l.c: Include <float.h>.
55612 (__ieee754_exp2l): Handle overflow and underflow cases
55613 separately. Only pass fractional part of argument to
55614 __ieee754_expl.
55615 * math/libm-test.inc (exp2_test): Add more tests.
55616
55617 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
55618 negating x to take absolute value.
55619 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
55620 Likewise.
55621 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
55622 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
55623 Likewise.
55624 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
55625 computing low part if x was negated.
55626 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
55627
55628 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
55629
55630 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
55631 la_x32_gnu_pltexit.
55632 (pltexit): Cast int_retval to ptrdiff_t.
55633 * elf/tst-auditmod3b.c: Likewise.
55634 * elf/tst-auditmod4b.c: Likewise.
55635 * elf/tst-auditmod5b.c: Likewise.
55636 * elf/tst-auditmod6b.c: Likewise.
55637 * elf/tst-auditmod6c.c: Likewise.
55638 * elf/tst-auditmod7b.c: Likewise.
55639
55640 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
55641 and x32_gnu_pltexit.
55642
55643 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
55644 __ELF_NATIVE_CLASS.
55645 (La_x32_regs): New macro.
55646 (La_x32_retval): Likewise.
55647 (la_x32_gnu_pltenter): New function prototype.
55648 (la_x32_gnu_pltexit): Likewise.
55649
55650 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
55651
55652 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
55653 exponent.
55654
55655 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55656
55657 * configure.in (libc_cv_cc_nofma): Check for option to disable
55658 generation of FMA instructions.
55659 * configure: Regenerate.
55660 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
55661 * sysdeps/ieee754/dbl-64/Makefile: New file.
55662 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
55663 Remove brandred-fma4.
55664 (CFLAGS-brandred-fma4.c): Remove.
55665 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
55666 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
55667 define.
55668 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
55669 define.
55670
55671 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
55672
55673 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
55674 LLONG_MAX != LONG_MAX.
55675 (_itoa_word): Use _ITOA_WORD_TYPE on value.
55676 (_fitoa_word): Likewise.
55677 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
55678 LLONG_MAX != LONG_MAX.
55679 * stdio-common/_itowa.h: Include <_itoa.h>.
55680 (_itowa_word): Use _ITOA_WORD_TYPE on value.
55681 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
55682 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
55683 only if not defined.
55684 (_ITOA_WORD_TYPE): Likewise.
55685 (_itoa_word): Use _ITOA_WORD_TYPE on value.
55686 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
55687
55688 2012-03-21 David S. Miller <davem@davemloft.net>
55689
55690 * sysdeps/sparc/fpu/libm-test-ulps: Update.
55691
55692 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
55693
55694 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
55695 of x86_64 when setting libc_cv_slibdir, libdir and
55696 libc_cv_localedir.
55697 * sysdeps/unix/sysv/linux/configure: Regenerated.
55698
55699 2012-03-21 Joseph Myers <joseph@codesourcery.com>
55700
55701 * manual/lang.texi (Old Varargs): Remove section.
55702 (How Variadic): Update menu.
55703 (va_start): Do not mention varargs.h.
55704
55705 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
55706 Joseph Myers <joseph@codesourcery.com>
55707
55708 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
55709 link test.
55710 * configure: Regenerated.
55711
55712 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
55713
55714 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
55715 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
55716 conformtest.pl
55717
55718 2012-03-21 Joseph Myers <joseph@codesourcery.com>
55719
55720 * NOTES: Remove.
55721 * Makefile (files-for-dist): Remove NOTES.
55722 (NOTES): Remove rule.
55723 * README: Don't refer to NOTES.
55724 * manual/creature.texi: Don't include macros.texi.
55725 * manual/intro.texi (creature.texi): Remove comment referring to
55726 NOTES.
55727
55728 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
55729 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
55730 * configure: Regenerated.
55731 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
55732 LIBC_TRY_CC_OPTION.
55733 (libc_cv_as_i686): Likewise.
55734 (libc_cv_cc_avx): Likewise.
55735 (libc_cv_cc_sse2avx): Likewise.
55736 (libc_cv_cc_fma4): Likewise.
55737 (libc_cv_cc_novzeroupper): Likewise.
55738 * sysdeps/i386/configure: Regenerated.
55739
55740 [BZ #13883]
55741 * sysdeps/i386/fpu/s_cexp.S: Remove.
55742 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
55743 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
55744 * math/libm-test.inc (cexp_test): Add more tests.
55745 * sysdeps/i386/fpu/libm-test-ulps: Update.
55746 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55747
55748 2012-03-21 Allan McRae <allan@archlinux.org>
55749
55750 * timezone/Makefile: Do not install iso3166.tab and zone.tab
55751
55752 2012-03-21 Joseph Myers <joseph@codesourcery.com>
55753
55754 [BZ #13871]
55755 * math/w_exp2.c: Do not include <float.h>.
55756 (o_threshold, u_threshold): Remove.
55757 (__exp2): Calculate result before checking finiteness and calling
55758 __kernel_standard.
55759 * math/w_exp2f.c: Likewise.
55760 * math/w_exp2l.c: Likewise.
55761 * math/libm-test.inc (exp2_test): Require overflow exception for
55762 1e6 input.
55763
55764 [BZ #3866]
55765 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
55766 range of signed 64-bit integers before using fistpll. Remove
55767 checks for whether integers fit in mantissa bits.
55768 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
55769 the range of signed 32-bit integers before using fistpl. Remove
55770 checks for whether integers fit in mantissa bits.
55771 * sysdeps/i386/fpu/e_powl.S (p64): New object.
55772 (__ieee754_powl): Test for y outside the range of signed 64-bit
55773 integers before using fistpll. Reduce 64-bit values to 63-bit
55774 ones as needed.
55775 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
55776 divide-by-zero is raised for zero to large negative powers.
55777 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
55778 (__ieee754_powl): Test for y outside the range of signed 64-bit
55779 integers before using fistpll. Reduce 64-bit values to 63-bit
55780 ones as needed.
55781 * math/libm-test.inc (pow_test): Add more tests.
55782
55783 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
55784
55785 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
55786 <stdio-common/_itoa.h>.
55787 * debug/segfault.c: Likewise.
55788 * elf/dl-cache.c: Likewise.
55789 * elf/dl-minimal.c: Likewise.
55790 * elf/dl-misc.c: Likewise.
55791 * elf/dl-sysdep.c: Likewise.
55792 * elf/dl-version.c: Likewise.
55793 * elf/rtld.c: Likewise.
55794 * hurd/hurdsock.c: Likewise.
55795 * hurd/lookup-retry.c: Likewise.
55796 * malloc/malloc.c: Likewise.
55797 * malloc/mtrace.c: Likewise.
55798 * nscd/nscd_getgr_r.c: Likewise.
55799 * nscd/nscd_getpw_r.c: Likewise.
55800 * nscd/nscd_getserv_r.c: Likewise.
55801 * posix/getopt_init.c: Likewise.
55802 * posix/wordexp.c: Likewise.
55803 * stdio-common/_itoa.c: Likewise.
55804 * stdio-common/printf_fphex.c: Likewise.
55805 * stdio-common/vfprintf.c: Likewise.
55806 * string/_strerror.c: Likewise.
55807 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
55808 * sysdeps/i386/i686/hp-timing.h: Likewise.
55809 * sysdeps/mach/_strerror.c: Likewise.
55810 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
55811 * sysdeps/mach/hurd/sethostid.c: Likewise.
55812 * sysdeps/mach/hurd/xmknodat.c: Likewise.
55813 * sysdeps/mach/xpg-strerror.c: Likewise.
55814 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
55815 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
55816 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
55817 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
55818 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
55819 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
55820 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
55821 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
55822 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
55823 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
55824 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
55825 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
55826 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
55827 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
55828 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
55829 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
55830 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
55831 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
55832 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
55833 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
55834 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
55835
55836 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
55837
55838 * stdio-common/_itoa.h: Moved to ...
55839 * sysdeps/generic/_itoa.h: Here.
55840
55841 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
55842
55843 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
55844 instead of "_itoa.h" and "_itowa.h".
55845 * stdio-common/vfprintf.: Likewise.
55846
55847 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
55848
55849 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
55850 <bits/wordsize.h>.
55851 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
55852 (__signbit): Likwise.
55853 (llrintf): Likwise.
55854 (llrint): Likwise.
55855
55856 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
55857
55858 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
55859 __WORDSIZE != 64.
55860
55861 2012-03-20 Joseph Myers <joseph@codesourcery.com>
55862
55863 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
55864 OVERFLOW_EXCEPTION_OK.
55865 * math/libm-test.inc ("Philosophy"): Update comment about
55866 exception testing.
55867 (OVERFLOW_EXCEPTION): Define.
55868 (OVERFLOW_EXCEPTION_OK): Likewise.
55869 (INVALID_EXCEPTION_OK): Renumber.
55870 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
55871 (IGNORE_ZERO_INF_SIGN): Likewise.
55872 (test_exceptions): Handle FE_OVERFLOW.
55873 (exp10_test): Expect overflow exceptions.
55874 (exp2_test): Likewise.
55875 (expm1_test): Likewise.
55876 (nextafter_test): Likewise.
55877 (pow_test): Likewise.
55878 (scalbn_test): Likewise.
55879 (scalbln_test): Likewise.
55880
55881 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
55882
55883 * sysdeps/x86_64/bits/atomic.h
55884 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
55885 64bit integer.
55886 (atomic_exchange_acq): Likewise.
55887 (__arch_exchange_and_add_body): Likewise.
55888 (__arch_add_body): Likewise.
55889 (atomic_add_negative): Likewise.
55890 (atomic_add_zero): Likewise.
55891
55892 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
55893
55894 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
55895 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
55896
55897 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
55898
55899 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
55900 Check __x86_64__ instead of __WORDSIZE.
55901
55902 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
55903
55904 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
55905
55906 2012-03-19 David S. Miller <davem@davemloft.net>
55907
55908 * sysdeps/sparc/fpu/libm-test-ulps: Update.
55909
55910 * sysdeps/sparc/fpu/fenv_private.h: New file.
55911 * sysdeps/sparc/fpu/math_private.h: Use it.
55912 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
55913 Remove.
55914 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
55915 (libc_feholdexcept_setroundl): Remove.
55916 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
55917 Remove.
55918 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
55919 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
55920
55921 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
55922
55923 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
55924 int64_t instead of long int.
55925 (INSERT_WORDS64): Likwise.
55926
55927 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
55928
55929 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
55930 _Unwind_GetCFA return to _Unwind_Ptr first.
55931
55932 2012-03-19 Joseph Myers <joseph@codesourcery.com>
55933
55934 [BZ #13629]
55935 * math/s_clog.c: Include <float.h>.
55936 (__clog): Scale large or subnormal inputs.
55937 * math/s_clogf.c: Likewise.
55938 * math/s_clogl.c: Likewise.
55939 * math/s_clog10.c: Include <float.h>.
55940 (M_LOG10_2): Define.
55941 (__clog10): Scale large or subnormal inputs.
55942 * math/s_clog10f.c: Likewise.
55943 * math/s_clog10l.c: Likewise.
55944 * math/libm-test.inc (clog_test): Add more tests.
55945 (clog10_test): Likewise.
55946 * sysdeps/i386/fpu/libm-test-ulps: Update.
55947 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55948
55949 [BZ #11451]
55950 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
55951 x and y.
55952 * math/libm-test.inc (atan2_test): Add another test.
55953
55954 * Makerules (common-objdir-compile): Remove.
55955 * sysdeps/unix/Makefile (config-generated): Do not add
55956 $(unix-generated) to variable.
55957 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
55958 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
55959 Remove rule.
55960 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
55961 Likewise.
55962 [generic bits/local_lim.h] (before-compile): Do not append to
55963 variable.
55964 [generic bits/local_lim.h] (common-generated): Likewise.
55965 [generic sys/param.h] (before-compile): Do not append to variable.
55966 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
55967 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
55968 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
55969 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
55970 include.
55971 [generic sys/param.h] (sys/param.h-includes): Remove variable.
55972 [generic sys/param.h] (sys/param.h-includes): Remove rule.
55973 [generic sys/param.h] ($(addprefix
55974 $(common-objpfx),$(sys/param.h-includes))): Likewise.
55975 [generic sys/param.h] (common-generated): Do not append to
55976 variable.
55977 [generic sys/param.h] (sysdep_headers): Likewise.
55978 [generic bits/errno.h] (before-compile): Do not append to
55979 variable.
55980 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
55981 rule.
55982 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
55983 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
55984 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
55985 [generic bits/errno.h] (common-generated): Do not append to
55986 variable.
55987 [generic bits/ioctls.h] (before-compile): Do not append to
55988 variable.
55989 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
55990 rule.
55991 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
55992 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
55993 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
55994 rule.
55995 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
55996 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
55997 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
55998 [generic bits/ioctls.h] (common-generated): Do not append to
55999 variable.
56000 [generic sys/syscall.h] (syscall.h): Remove variable.
56001 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
56002 rule.
56003 [generic sys/syscall.h] (before-compile): Do not append to
56004 variable.
56005 [generic sys/syscall.h] (common-generated): Likewise.
56006 * sysdeps/unix/errnos-tmpl.c: Remove file.
56007 * sysdeps/unix/errnos.awk: Likewise.
56008 * sysdeps/unix/ioctls-tmpl.c: Likewise.
56009 * sysdeps/unix/ioctls.awk: Likewise.
56010 * sysdeps/unix/mk-local_lim.c: Likewise.
56011 * sysdeps/unix/snarf-ioctls: Likewise.
56012
56013 2012-03-19 Richard Henderson <rth@twiddle.net>
56014
56015 * sysdeps/i386/fpu/fenv_private.h: New file.
56016 * sysdeps/i386/fpu/math_private.h: Use it.
56017 (math_opt_barrier, math_force_eval): Remove.
56018 (libc_feholdexcept_setround_53bit): Remove.
56019 (libc_feupdateenv_53bit): Remove.
56020 * sysdeps/x86_64/fpu/math_private.h: Likewise.
56021 (math_opt_barrier, math_force_eval): Remove.
56022 (libc_feholdexcept): Remove.
56023 (libc_feholdexcept_setround): Remove.
56024 (libc_fetestexcept, libc_fesetenv): Remove.
56025 (libc_feupdateenv_test): Remove.
56026 (libc_feupdateenv, libc_feholdsetround): Remove.
56027 (libc_feresetround): Remove.
56028
56029 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
56030 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
56031
56032 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
56033 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
56034 (libc_feupdateenv_testl): New.
56035 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
56036 (libc_feupdateenv_testf): New.
56037 (libc_feupdateenv): Use libc_feupdateenv_test.
56038 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
56039 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
56040
56041 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
56042 (libc_feholdsetroundf, libc_feholdsetroundl): New.
56043 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
56044 (libc_feresetround_noex): New.
56045 (libc_feresetround_noexf): New.
56046 (libc_feresetround_noexl): New.
56047 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
56048 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
56049 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
56050 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
56051 SET_RESTORE_ROUND.
56052 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
56053 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
56054 (__cos): Likewise.
56055 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
56056 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
56057 SET_RESTORE_ROUND_NOEX.
56058 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
56059 SET_RESTORE_ROUND_NOEXF.
56060 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
56061 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
56062 (libc_feholdsetroundf): New.
56063 (libc_feresetround, libc_feresetroundf): New.
56064
56065 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
56066 (libc_feholdexcept_setround_53bit): Convert from macro to function.
56067 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
56068
56069 * sysdeps/generic/math_private.h: Include <fenv.h>.
56070 (default_libc_feholdexcept): New.
56071 (default_libc_feholdexcept_setround): New.
56072 (default_libc_fesetenv, default_libc_feupdateenv): New.
56073 (libc_feholdexcept): Only define if undefined.
56074 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
56075 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
56076 (libc_feholdexcept_setroundl): Likewise.
56077 (libc_feholdexcept_setround_53bit): Likewise.
56078 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
56079 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
56080 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
56081 (libc_feupdateenv_53bit): Likewise.
56082 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
56083 (libc_feholdexcept): Convert from macro to inline function.
56084 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
56085 (libc_fesetenv, libc_feupdateenv): Likewise.
56086
56087 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
56088 not previously defined.
56089 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
56090 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
56091 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
56092 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
56093 * sysdeps/ieee754/flt-32/math_private.h: New file.
56094 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
56095 math_private.h below SET_FLOAT_WORD.
56096 (__isnan, __isinf_ns, __finite): Remove.
56097 (__isnanf, __isinf_nsf, __finitef): Remove.
56098
56099 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
56100
56101 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56102
56103 2012-03-17 David S. Miller <davem@davemloft.net>
56104
56105 [BZ #6471]
56106 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
56107 for 2.16.
56108
56109 2012-03-16 David S. Miller <davem@davemloft.net>
56110
56111 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
56112 warnings.
56113
56114 [BZ #6471]
56115 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
56116 properly.
56117 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
56118 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
56119 sysdep_routines when subdir is sysvipc.
56120 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
56121 __getshmlba helper.
56122
56123 * sysdeps/sparc/fpu/libm-test/ulps: Update.
56124
56125 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
56126
56127 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
56128 [__LP64__].
56129
56130 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
56131
56132 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
56133 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
56134 (__lround): Renamed to ...
56135 (__llround): This. Replace long int with long long int.
56136 Define lround functions as aliases of llround functions.
56137 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
56138
56139 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
56140
56141 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
56142 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
56143 adresses to uintptr_t. Replace "long int" and "unsigned long
56144 int" with "greg_t" on va_arg.
56145
56146 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
56147
56148 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
56149 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
56150
56151 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
56152 Move e_machine check before EI_CLASS check. Handle x32
56153 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
56154 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
56155 SKIP_EM_IA_64 and include
56156 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
56157
56158 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
56159 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
56160 (add_system_dir): New macro.
56161
56162 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
56163 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
56164
56165 2012-03-16 Joseph Myers <joseph@codesourcery.com>
56166
56167 [BZ #2551]
56168 [BZ #2552]
56169 [BZ #2553]
56170 [BZ #2554]
56171 [BZ #2562]
56172 [BZ #2563]
56173 [BZ #2565]
56174 [BZ #2566]
56175 [BZ #2576]
56176 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
56177 (y0): Likewise.
56178 * math/w_j0f.c (j0f): Likewise.
56179 (y0f): Likewise.
56180 * math/w_j0l.c (__j0l): Likewise.
56181 (__y0l): Likewise.
56182 * math/w_j1.c (j1): Likewise.
56183 (y1): Likewise.
56184 * math/w_j1f.c (j1f): Likewise.
56185 (y1f): Likewise.
56186 * math/w_j1l.c (__j1l): Likewise.
56187 (__y1l): Likewise.
56188 * math/w_jn.c (jn): Likewise.
56189 (yn): Likewise.
56190 * math/w_jnf.c (jnf): Likewise.
56191 (ynf): Likewise.
56192 * math/w_jnl.c (__jnl): Likewise.
56193 (__ynl): Likewise.
56194 * math/libm-test.inc (j0_test): Add more tests.
56195 (j1_test): Likewise.
56196 (jn_test): Likewise. Add trailing semicolon to existing test.
56197 (y0_test): Likewise.
56198 (y1_test): Likewise.
56199 * sysdeps/i386/fpu/libm-test-ulps: Update.
56200 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56201
56202 [BZ #13851]
56203 [BZ #13854]
56204 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
56205 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
56206 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
56207 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
56208 (__tanl): Set errno for infinite argument.
56209 * sysdeps/i386/fpu/mptan.c: Remove.
56210 * sysdeps/i386/fpu/s_tan.S: Likewise.
56211 * sysdeps/i386/fpu/s_tanl.S: Likewise.
56212 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
56213 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
56214 * math/libm-test.inc (tan_test): Add more tests and enable more
56215 tests for double and long double.
56216 * sysdeps/i386/fpu/libm-test-ulps: Update.
56217 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56218
56219 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
56220
56221 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
56222 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
56223
56224 2012-03-16 Roland McGrath <roland@hack.frob.com>
56225
56226 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
56227 * configure.in: Use it for both main tree and add-ons.
56228 * configure: Regenerated.
56229
56230 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
56231
56232 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
56233
56234 2012-03-16 Joseph Myers <joseph@codesourcery.com>
56235
56236 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
56237 in comment.
56238
56239 [BZ #13851]
56240 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
56241 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
56242 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
56243 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
56244 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
56245 infinite argument.
56246 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
56247 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
56248 != 0 for prec == 2.
56249 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
56250 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
56251 * sysdeps/i386/fpu/s_cosl.S: Likewise.
56252 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
56253 * sysdeps/i386/fpu/s_sinl.S: Likewise.
56254 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
56255 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
56256 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
56257 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
56258 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
56259 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
56260 * math/libm-test.inc (cos_test): Add more tests and enable more
56261 tests for long double.
56262 (sin_test): Likewise.
56263 (sincos_test): Likewise.
56264 * sysdeps/i386/fpu/libm-test-ulps: Update.
56265 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56266
56267 2012-03-16 David S. Miller <davem@davemloft.net>
56268
56269 * sysdeps/sparc/fpu/math_private.h: New file.
56270
56271 2012-03-15 David S. Miller <davem@davemloft.net>
56272
56273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
56274 file.
56275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
56276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
56277 file.
56278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
56279 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
56280 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
56281 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
56282 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
56283 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
56284 sysdep routines.
56285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
56286
56287 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
56288 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
56289
56290 * sysdeps/sparc/sparc-ifunc.h: New file.
56291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
56292 sparc-ifunc.h
56293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
56294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
56295 Likewise.
56296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
56297 Likewise.
56298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
56299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
56300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
56301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
56302 Likewise.
56303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
56304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
56305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
56306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
56307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
56308 Likewise.
56309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
56310 Likewise.
56311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
56312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
56313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
56314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
56315 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
56316 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
56317 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
56318 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
56319 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
56320 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
56321 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
56322 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
56323 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
56324 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
56325 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
56326 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
56327 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
56328 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
56329 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
56330 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
56331 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
56332 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
56333 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
56334 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
56335
56336 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
56337
56338 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
56339 scaling.
56340 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56341
56342 2012-03-15 Andreas Jaeger <aj@suse.de>
56343
56344 [BZ #13852]
56345 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
56346 ieee754/flt-32 implementation for sin, cos and sincos.
56347 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
56348 * sysdeps/i386/fpu/s_cosf.S: Likewise.
56349 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
56350 * sysdeps/i386/fpu/s_sinf.S: Likewise.
56351 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
56352 ieee754/flt-32 implementation for tan.
56353
56354 * math/libm-test.inc (cos_test): Enable some large input tests for
56355 float as well
56356 (sin_test): Likewise.
56357 (sincos_test): Likewise.
56358 (tan_test): Add tests for large input.
56359
56360 * sysdeps/i386/fpu/libm-test-ulps: Update.
56361
56362 2012-03-15 Andreas Jaeger <aj@suse.de>
56363
56364 [BZ #13658]
56365 * math/libm-test.inc (cos_test): Add more test cases.
56366 (sin_test): Likewise.
56367 (sincos_test): Likewise.
56368
56369 2012-03-15 Andreas Jaeger <aj@suse.de>
56370
56371 [BZ #13837]
56372 * math/libm-test.inc (cos_test): Add a test case for large input
56373 value.
56374 (sin_test): Likewise.
56375 (sincos_test): Likewise.
56376
56377 2012-03-15 Andreas Jaeger <aj@suse.de>
56378 Joseph Myers <joseph@codesourcery.com>
56379
56380 [BZ #13658]
56381 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
56382 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
56383 * sysdeps/i386/fpu/branred.c: Likewise.
56384 * sysdeps/i386/fpu/dosincos.c: Likewise.
56385 * sysdeps/i386/fpu/mpa.c: Likewise.
56386 * sysdeps/i386/fpu/s_cos.S: Likewise.
56387 * sysdeps/i386/fpu/s_sin.S: Likewise.
56388 * sysdeps/i386/fpu/s_sincos.S: Likewise.
56389 * sysdeps/i386/fpu/sincos32.c: Likewise.
56390
56391 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
56392 Define.
56393 (libc_feupdateenv_53bit): Define.
56394 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
56395 Define.
56396 (libc_feupdateenv_53bit): Define.
56397
56398 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
56399 53 bit (without extend i386 double precision).
56400
56401 * math/libm-test.inc (sincos_test): Add tests for large input.
56402 (sin): Likewise.
56403 (cos): Likewise.
56404
56405 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
56406
56407 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
56408
56409 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56410
56411 2012-03-15 David S. Miller <davem@davemloft.net>
56412
56413 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
56414 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
56415 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
56416 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
56417 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
56418 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
56419 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
56420 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
56421 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
56422 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
56423 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
56424 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
56425 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
56426 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
56427 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
56428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
56429 file.
56430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
56431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
56432 file.
56433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
56434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
56435 file.
56436 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
56437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
56438 file.
56439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
56440 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
56441 fmin/fmax sysdep routines.
56442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
56443
56444 2012-03-14 David S. Miller <davem@davemloft.net>
56445
56446 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
56447 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
56448 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
56449 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
56450 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
56451 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
56452 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
56453 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
56454 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
56455 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
56456 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
56457 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
56458 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
56459 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
56460 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
56461 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
56462 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
56463 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
56464 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
56465 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
56466 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
56467 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
56468 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
56469 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
56470 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
56471 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
56472 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
56473 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
56474 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
56475 routines.
56476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
56477 file.
56478 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
56479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
56480 file.
56481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
56482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
56483 file.
56484 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
56485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
56486 file.
56487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
56488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
56489 file.
56490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
56491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
56492 file.
56493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
56494 file.
56495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
56496 file.
56497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
56498 file.
56499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
56500 New file.
56501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
56502 file.
56503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
56504 file.
56505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
56506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
56507 file.
56508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
56509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
56510 file.
56511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
56512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
56513 file.
56514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
56515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
56516 VIS3 routines.
56517
56518 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
56519 New file.
56520
56521 * sysdeps/sparc/fpu/libm-test-ulps: Update.
56522
56523 * sysdeps/sparc/configure.in: New file.
56524 * sysdeps/sparc/configure: Generate.
56525 * configure.in (libc_cv_sparc_as_vis3): Substitute.
56526 * configure: Regenerate.
56527 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
56528 * config.make.in (have-as-vis3): New.
56529 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
56530 available use -Av9d instead of -Av9a.
56531 * sysdeps/sparc/sparc64/Makefile: Likewise.
56532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
56533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
56534 New file.
56535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
56536 file.
56537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
56538 New file.
56539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
56540 file.
56541 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
56542 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
56543 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
56544 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
56545 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
56546
56547 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
56548 fzeros/fnegs to load 0x80000000 into a float register instead of
56549 using the stack.
56550 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
56551
56552 2012-03-14 Joseph Myers <joseph@codesourcery.com>
56553
56554 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56555 bits/syscall.h.
56556 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
56557 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
56558 ($(inst_includedir)/bits/syscall.h): Remove rule.
56559 ($(objpfx)bits/syscall.d): Include instead of
56560 $(objpfx)syscall-list.d.
56561 (generated): Change syscall-list.h and syscall-list.d to
56562 bits/syscall.h and bits/syscall.d.
56563
56564 2012-03-14 Roland McGrath <roland@hack.frob.com>
56565
56566 [BZ #13846]
56567 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
56568
56569 2012-03-14 Joseph Myers <joseph@codesourcery.com>
56570
56571 [BZ #13841]
56572 * math/s_csqrt.c: Include <float.h>.
56573 (__csqrt): Scale large or subnormal inputs.
56574 * math/s_csqrtf.c: Likewise.
56575 * math/s_csqrtl.c: Likewise.
56576 * math/libm-test.inc (csqrt_test): Add more tests.
56577 * sysdeps/i386/fpu/libm-test-ulps: Update.
56578 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56579
56580 [BZ #13840]
56581 * math/libm-test.inc (hypot_test): Add more tests.
56582
56583 2012-03-13 David S. Miller <davem@davemloft.net>
56584
56585 [BZ #13840]
56586 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
56587 double-precision for the calculation instead of scaling.
56588
56589 2012-03-13 Joseph Myers <joseph@codesourcery.com>
56590
56591 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
56592 manipulate bits before adding and subtracting TWO52[sx].
56593 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
56594 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
56595 Likewise.
56596 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
56597
56598 2012-03-13 David S. Miller <davem@davemloft.net>
56599
56600 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
56601 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
56602 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
56603 rtld-global-offsets.h
56604 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
56605
56606 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
56607 large parameters.
56608
56609 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
56610
56611 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
56612 'err' in the ifdef scope in which it is actually used.
56613
56614 * nss/nss_db/db-init.c: Include string.h
56615
56616 2012-03-12 David S. Miller <davem@davemloft.net>
56617
56618 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
56619 masking out of the most significant byte of random value used.
56620 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
56621 Fix coding style in previous change.
56622
56623 * sysdeps/unix/sysv/linux/kernel-features.h
56624 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
56625 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
56626 expression.
56627 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
56628 later.
56629
56630 2012-03-11 David S. Miller <davem@davemloft.net>
56631
56632 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
56633 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
56634 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
56635 for 'resultvar' otherwise things get truncated on 64-bit.
56636
56637 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
56638 Fix masking out of the most significant byte of random value used.
56639
56640 * sysdeps/sparc/fpu/libm-test-ulps: Update.
56641
56642 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
56643
56644 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56645
56646 2012-03-09 David S. Miller <davem@davemloft.net>
56647
56648 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
56649 variables with appropriate CPP guards.
56650 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
56651 from the frame pointer, not the stack pointer. Correct layout
56652 comments. Fix test on resulting framesize and the management of
56653 the outregs buffer for pltexit. Preserve floating point return
56654 values across _dl_call_pltexit call.
56655 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
56656 framesize and the management of the outregs buffer for pltexit.
56657 Preserve floating point return values across _dl_call_pltexit
56658 call.
56659 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
56660 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
56661 (la_sparc64_gnu_pltexit): New functions.
56662 (print_exit): Fix format string for return register value.
56663
56664 2012-03-10 Joseph Myers <joseph@codesourcery.com>
56665
56666 * sunrpc/Makefile (others): Add rpcgen.
56667 ($(objpfx)rpcgen): Remove special build rule and dependency on
56668 libc.
56669 * sunrpc/rpcgen.c: New file.
56670
56671 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
56672
56673 [BZ #13673]
56674 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
56675 * stdio-common/bug-vfprintf-nargs.c: Likewise.
56676 * sysdeps/i386/crti.S: Likewise.
56677 * sysdeps/i386/crtn.S: Likewise.
56678 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
56679 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
56680 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
56681 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
56682 * sysdeps/sh/crti.S: Likewise.
56683 * sysdeps/sh/crtn.S: Likewise.
56684 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
56685
56686 [BZ #13673]
56687 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
56688 with URL.
56689 * locale/programs/locfile-kw.gperf: Likewise.
56690 * locale/programs/charmap-kw.h: Regenerated.
56691 * locale/programs/locfile-kw.h: Likewise.
56692
56693 [BZ #13673]
56694 * intl/plural.y: Replace FSF snail mail address with URL.
56695 * intl/plural.c: Regenerated.
56696
56697 2012-03-09 Richard Henderson <rth@twiddle.net>
56698
56699 * include/math_private.h: Remove file.
56700 * math/math_private.h: Move file ...
56701 * sysdeps/generic/math_private.h: ... here.
56702
56703 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
56704 * sysdeps/powerpc/fpu/math_private.h: Likewise.
56705 * sysdeps/x86_64/fpu/math_private.h: Likewise.
56706
56707 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
56708 and <math_private.h>.
56709 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
56710 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
56711 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
56712 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
56713 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
56714 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
56715 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
56716 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56717 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
56718 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
56719 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56720 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
56721 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
56722 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
56723 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
56724 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
56725 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
56726 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
56727 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
56728 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
56729 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56730 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
56731 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
56732 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56733 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
56734 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
56735 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
56736 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
56737 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56738 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
56739 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
56740 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
56741 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
56742 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
56743 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
56744 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
56745 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
56746 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
56747 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
56748 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
56749 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
56750 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
56751 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
56752 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
56753 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
56754 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
56755 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
56756 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
56757 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
56758 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
56759 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
56760 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
56761 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
56762 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
56763 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
56764 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
56765 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
56766 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
56767 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
56768 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
56769 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
56770 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
56771 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56772 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
56773 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
56774 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
56775 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
56776 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
56777 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
56778 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
56779 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
56780 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
56781 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
56782 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
56783 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
56784 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
56785 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
56786 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
56787 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
56788 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
56789 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
56790 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
56791 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
56792 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
56793 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
56794 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
56795 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
56796 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
56797 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
56798 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
56799 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
56800 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
56801 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
56802 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
56803 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
56804 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
56805 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
56806 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
56807 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
56808 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
56809 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
56810 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
56811 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
56812 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
56813 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
56814 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
56815 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
56816 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
56817 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
56818 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
56819 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
56820 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
56821 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
56822 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
56823 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
56824 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
56825 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
56826 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
56827 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
56828 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
56829 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
56830 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
56831 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
56832 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
56833 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
56834 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
56835 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
56836 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
56837 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
56838 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
56839 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
56840 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
56841 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
56842 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
56843 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
56844 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
56845 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
56846 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
56847 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
56848 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
56849 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
56850 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
56851 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
56852 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
56853 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
56854 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
56855 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
56856 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
56857 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
56858 * sysdeps/ieee754/k_standard.c: Likewise.
56859 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
56860 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
56861 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
56862 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
56863 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
56864 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
56865 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
56866 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
56867 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
56868 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
56869 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
56870 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
56871 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
56872 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
56873 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
56874 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
56875 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
56876 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
56877 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
56878 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
56879 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
56880 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
56881 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
56882 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
56883 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
56884 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
56885 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
56886 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
56887 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
56888 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
56889 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
56890 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
56891 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
56892 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
56893 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
56894 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
56895 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
56896 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
56897 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
56898 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
56899 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
56900 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
56901 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
56902 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
56903 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
56904 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
56905 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
56906 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
56907 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
56908 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
56909 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
56910 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
56911 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
56912 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
56913 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
56914 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
56915 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
56916 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
56917 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
56918 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
56919 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
56920 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
56921 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
56922 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
56923 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
56924 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
56925 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
56926 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
56927 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
56928 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
56929 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
56930 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
56931 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
56932 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
56933 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
56934 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
56935 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
56936 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
56937 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
56938 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
56939 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
56940 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
56941 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
56942 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
56943 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
56944 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
56945 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
56946 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
56947 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
56948 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
56949 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
56950 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
56951 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
56952 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
56953 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
56954 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
56955 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
56956 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
56957 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
56958 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
56959 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
56960 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
56961 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
56962 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
56963 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
56964 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
56965 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
56966 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
56967 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
56968 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
56969 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
56970 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
56971 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
56972 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
56973 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
56974 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
56975 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
56976 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
56977 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
56978 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
56979 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
56980 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
56981 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
56982 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
56983 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
56984 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
56985 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
56986 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
56987 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
56988 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
56989 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
56990 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
56991 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
56992 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
56993 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
56994 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
56995 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
56996 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
56997 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
56998 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
56999 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
57000 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
57001 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
57002 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
57003 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
57004 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
57005 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
57006 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
57007 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
57008 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
57009 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
57010 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
57011 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
57012 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
57013 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
57014 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
57015 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
57016 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
57017 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
57018 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
57019 * sysdeps/ieee754/s_lib_version.c: Likewise.
57020 * sysdeps/ieee754/s_matherr.c: Likewise.
57021 * sysdeps/ieee754/s_signgam.c: Likewise.
57022 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
57023 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
57024 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
57025 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
57026 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
57027 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
57028 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
57029 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
57030 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
57031 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
57032 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
57033 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
57034 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
57035 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
57036 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
57037 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
57038 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
57039 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
57040 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
57041 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
57042 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
57043
57044 2012-03-09 Joseph Myers <joseph@codesourcery.com>
57045
57046 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
57047 * sunrpc/rpc_main.c: Likewise.
57048 * sunrpc/rpc_svcout.c: Likewise.
57049
57050 2012-03-09 David S. Miller <davem@davemloft.net>
57051
57052 * include/math_private.h: New file.
57053
57054 2012-03-09 Joseph Myers <joseph@codesourcery.com>
57055
57056 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
57057 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
57058 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
57059 from <bits/socket_type.h>.
57060 (enum __socket_type): Don't define here.
57061 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
57062 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57063 bits/socket_type.h.
57064
57065 [BZ #13566]
57066 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
57067 checking __USE_GNU.
57068
57069 * Makerules ($(inst_includedir)/%.h): New rule.
57070 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
57071 (install-others): Remove variable setting.
57072 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
57073
57074 2012-03-08 Richard Henderson <rth@twiddle.net>
57075
57076 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
57077 from macro to inline function; merge with the
57078 !__LIBC_INTERNAL_MATH_INLINES version.
57079 (__ieee754_sqrtf): Likewise.
57080
57081 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
57082 to inline function.
57083 (__rintf, __floor, __floorf): Likewise.
57084
57085 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
57086 macro to inline function.
57087 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
57088
57089 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
57090 not <math/math_private.h>.
57091
57092 2012-03-08 David S. Miller <davem@davemloft.net>
57093
57094 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
57095 copyright year.
57096 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
57097
57098 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
57099
57100 * resolv/gai_misc.c (handle_requests): Fix struct timespec
57101 normalization.
57102 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
57103 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
57104
57105 2012-03-08 Ulrich Drepper <drepper@gmail.com>
57106
57107 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
57108 be defined individually, they must be defined as a block. Define
57109 S for printing a string instead of hidint the different by using a
57110 macro for adding the 'l'.
57111 * stdio-common/tst-fphex-wide.c: Adjust.
57112
57113 2012-03-07 Marek Polacek <polacek@redhat.com>
57114
57115 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
57116
57117 2012-03-08 Marek Polacek <polacek@redhat.com>
57118
57119 [BZ #13806]
57120 * stdio-common/Makefile (tests): Add tst-fphex-wide.
57121 * stdio-common/tst-fphex.c: Define a few macros to make the
57122 test reusable. Use them.
57123 * stdio-common/tst-fphex-wide.c: New file.
57124
57125 2012-03-08 Joseph Myers <joseph@codesourcery.com>
57126
57127 [BZ #6911]
57128 * manual/macros.texi (gnusystems): New macro.
57129 (nongnusystems): Likewise.
57130 (gnulinuxhurdsystems): Likewise.
57131 (gnuhurdsystems): Likewise..
57132 (gnulinuxsystems): Likewise.
57133 * manual/charset.texi: Use new macros or @theglibc{} to refer to
57134 variants of the GNU system, not "GNU system".
57135 * manual/conf.texi: Likewise.
57136 * manual/errno.texi: Likewise. Update example of errno macro
57137 expansion.
57138 * manual/filesys.texi: Likewise.
57139 (getumask): Document as specific to GNU/Hurd.
57140 * manual/install.texi: Likewise. Reword some references to
57141 GNU/Linux.
57142 * manual/intro.texi: Likewise.
57143 * manual/io.texi: Likewise.
57144 (File Name Portability): Detail which constraints are inapplicable
57145 to all GNU systems and which are only inapplicable to GNU/Hurd.
57146 * manual/job.texi: Likewise.
57147 * manual/llio.texi: Likewise.
57148 (O_NOCTTY): Document as present on GNU/Linux.
57149 * manual/maint.texi: Likewise.
57150 * manual/memory.texi: Likewise.
57151 * manual/pattern.texi: Likewise.
57152 * manual/pipe.texi: Likewise.
57153 * manual/process.texi: Likewise.
57154 * manual/resource.texi: Likewise.
57155 (RUSAGE_CHILDREN): Remove statement about specifying a particular
57156 child on GNU/Hurd.
57157 * manual/setjmp.texi: Likewise.
57158 * manual/signal.texi: Likewise.
57159 * manual/startup.texi: Likewise.
57160 * manual/stdio.texi: Likewise.
57161 * manual/terminal.texi: Likewise.
57162 (ONLCR): Document as POSIX.
57163 (OXTABS): Document availability on GNU/Linux as XTABS.
57164 (ONOEOT): Document availability separately from other bits.
57165 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
57166 * manual/time.texi: Likewise.
57167 * manual/users.texi: Likewise.
57168 * INSTALL: Regenerated.
57169 * sysdeps/gnu/errlist.c: Regenerated.
57170
57171 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
57172 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
57173 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
57174 puts.
57175 * configure: Regenerated.
57176
57177 2012-03-07 Joseph Myers <joseph@codesourcery.com>
57178
57179 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
57180 default includes instead of AC_HEADER_CHECK.
57181 * sysdeps/i386/configure: Regenerated.
57182
57183 [BZ #10716]
57184 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
57185 * math/s_cacoshf.c (__cacoshf): Likewise.
57186 * math/s_cacoshl.c (__cacoshl): Likewise.
57187 * math/s_casinh.c (__casinh): Set signs of result from argument.
57188 * math/s_casinhf.c (__casinhf): Likewise.
57189 * math/s_casinhl.c (__casinhl): Likewise.
57190 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
57191 (casinh_test): Add more tests.
57192 * sysdeps/i386/fpu/libm-test-ulps: Update.
57193 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57194
57195 2012-03-07 Ulrich Drepper <drepper@gmail.com>
57196
57197 * po/zh_TW.po: Update from translation team.
57198
57199 * login/Makefile (distribute): Remove variable.
57200 * catgets/Makefile: Likewise.
57201 * mach/Makefile: Likewise.
57202 * malloc/Makefile: Likewise.
57203 * misc/Makefile: Likewise.
57204 * iconv/Makefile: Likewise.
57205 * nscd/Makefile: Likewise.
57206 * hurd/Makefile: Likewise.
57207 * manual/Makefile: Likewise.
57208 * locale/Makefile: Likewise.
57209 * intl/Makefile: Likewise.
57210 * conform/Makefile: Likewise.
57211 * nss/Makefile: Likewise.
57212 * time/Makefile: Likewise.
57213 * soft-fp/Makefile: Likewise.
57214 * dirent/Makefile: Likewise.
57215 * gmon/Makefile: Likewise.
57216 * po/Makefile: Likewise.
57217 * rt/Makefile: Likewise.
57218 * socket/Makefile: Likewise.
57219 * math/Makefile: Likewise.
57220 * signal/Makefile: Likewise.
57221 * debug/Makefile: Likewise.
57222 * elf/Makefile: Likewise.
57223 * timezone/Makefile: Likewise.
57224 * stdlib/Makefile: Likewise.
57225 * iconvdata/Makefile: Likewise.
57226 * sunrpc/Makefile: Likewise.
57227 * io/Makefile: Likewise.
57228 * argp/Makefile: Likewise.
57229 * inet/Makefile: Likewise.
57230 * hesiod/Makefile: Likewise.
57231 * grp/Makefile: Likewise.
57232 * csu/Makefile: Likewise.
57233 * wctype/Makefile: Likewise.
57234 * crypt/Makefile: Likewise.
57235 * libio/Makefile: Likewise.
57236 * string/Makefile: Likewise.
57237 * nis/Makefile: Likewise.
57238 * resolv/Makefile: Likewise.
57239 * stdio-common/Makefile: Likewise.
57240 * wcsmbs/Makefile: Likewise.
57241 * dlfcn/Makefile: Likewise.
57242 * posix/Makefile: Likewise.
57243
57244 [BZ #6959]
57245 * timezone/Makefile: Don't install timezone files, just the programs
57246 and scripts.
57247
57248 2012-03-06 Ulrich Drepper <drepper@gmail.com>
57249
57250 * nss/databases.def: Add missing gshadow entry.
57251
57252 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
57253
57254 2012-03-06 Marek Polacek <polacek@redhat.com>
57255
57256 [BZ #13726]
57257 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
57258 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
57259 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
57260 * stdio-common/tst-long-dbl-fphex.c: New file.
57261
57262 2012-03-06 David S. Miller <davem@davemloft.net>
57263
57264 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
57265 (set_obp_int): New function.
57266 (get_obp_int): New function.
57267 (__get_clockfreq_via_dev_openprom): Likewise.
57268 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
57269 Avoid unused variable warnings on 'val' and use builtin_expect.
57270 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
57271 __builtin_expect.
57272 (INLINE_CLONE_SYSCALL): Likewise.
57273
57274 2012-03-05 David S. Miller <davem@davemloft.net>
57275
57276 * sysdeps/sparc/fpu/libm-test-ulps: Update.
57277
57278 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
57279
57280 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57281
57282 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
57283 only for |x| >= 40.
57284 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
57285
57286 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
57287
57288 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
57289 Replace gettimeofday with __vdso_gettimeofday.
57290
57291 * sysdeps/unix/sysv/linux/x86_64/init-first.c
57292 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
57293 __vdso_clock_gettime and __vdso_getcpu.
57294
57295 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
57296 time with __vdso_time.
57297
57298 2012-03-05 Joseph Myers <joseph@codesourcery.com>
57299
57300 * manual/lang.texi (size_t): Note types to which size_t may be
57301 equivalent with the GNU C Library, but do not describe when
57302 differences between them are significant.
57303
57304 2012-03-05 Andreas Jaeger <aj@suse.de>
57305
57306 * sysdeps/i386/fpu/libm-test-ulps: Update.
57307
57308 2012-03-05 Joseph Myers <joseph@codesourcery.com>
57309
57310 [BZ #3976]
57311 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
57312 (__ieee754_pow): Save and restore rounding mode and use
57313 round-to-nearest for main computations.
57314 * math/libm-test.inc (pow_test_tonearest): New function.
57315 (pow_test_towardzero): Likewise.
57316 (pow_test_downward): Likewise.
57317 (pow_test_upward): Likewise.
57318 (main): Call the new functions.
57319 * sysdeps/i386/fpu/libm-test-ulps: Update.
57320 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57321
57322 [BZ #3976]
57323 * math/libm-test.inc (cosh_test_tonearest): New function.
57324 (cosh_test_towardzero): Likewise.
57325 (cosh_test_downward): Likewise.
57326 (cosh_test_upward): Likewise.
57327 (sinh_test_tonearest): Likewise.
57328 (sinh_test_towardzero): Likewise.
57329 (sinh_test_downward): Likewise.
57330 (sinh_test_upward): Likewise.
57331 (main): Call the new functions.
57332 * sysdeps/i386/fpu/libm-test-ulps: Update.
57333 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57334
57335 2012-03-05 Tom de Vries <tom@codesourcery.com>
57336
57337 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
57338 default stack guard is set in last bytes.
57339 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
57340
57341 2012-03-05 Kees Cook <keescook@chromium.org>
57342
57343 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
57344
57345 [BZ #13656]
57346 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
57347 possibly allocate from heap instead of stack.
57348 * stdio-common/bug-vfprintf-nargs.c: New file.
57349 * stdio-common/Makefile (tests): Add nargs overflow test.
57350
57351 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
57352
57353 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57354
57355 2012-03-03 Marek Polacek <polacek@redhat.com>
57356
57357 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
57358 * math/math_private.h: Likewise.
57359 * stdlib/tst-strtod.c: Likewise.
57360 * sysdeps/i386/i486/bits/atomic.h: Likewise.
57361 * sysdeps/x86_64/bits/atomic.h: Likewise.
57362
57363 2012-03-02 David S. Miller <davem@davemloft.net>
57364
57365 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
57366 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
57367 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
57368 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
57369 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
57370 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
57371 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
57372 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
57373
57374 2012-03-02 Roland McGrath <roland@hack.frob.com>
57375
57376 [BZ #13792]
57377 * manual/examples/README: New file, says the example source files
57378 can be used under GPL>=2.
57379 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
57380 line containing just "*/".
57381 * manual/examples/add.c: Add copyright header (GPL>=2).
57382 * manual/examples/argp-ex1.c: Likewise.
57383 * manual/examples/argp-ex2.c: Likewise.
57384 * manual/examples/argp-ex3.c: Likewise.
57385 * manual/examples/argp-ex4.c: Likewise.
57386 * manual/examples/atexit.c: Likewise.
57387 * manual/examples/db.c: Likewise.
57388 * manual/examples/dir.c: Likewise.
57389 * manual/examples/dir2.c: Likewise.
57390 * manual/examples/execinfo.c: Likewise.
57391 * manual/examples/filecli.c: Likewise.
57392 * manual/examples/filesrv.c: Likewise.
57393 * manual/examples/fmtmsgexpl.c: Likewise.
57394 * manual/examples/genpass.c: Likewise.
57395 * manual/examples/inetcli.c: Likewise.
57396 * manual/examples/inetsrv.c: Likewise.
57397 * manual/examples/isockad.c: Likewise.
57398 * manual/examples/longopt.c: Likewise.
57399 * manual/examples/memopen.c: Likewise.
57400 * manual/examples/memstrm.c: Likewise.
57401 * manual/examples/mkfsock.c: Likewise.
57402 * manual/examples/mkisock.c: Likewise.
57403 * manual/examples/mygetpass.c: Likewise.
57404 * manual/examples/pipe.c: Likewise.
57405 * manual/examples/popen.c: Likewise.
57406 * manual/examples/rprintf.c: Likewise.
57407 * manual/examples/search.c: Likewise.
57408 * manual/examples/select.c: Likewise.
57409 * manual/examples/setjmp.c: Likewise.
57410 * manual/examples/sigh1.c: Likewise.
57411 * manual/examples/sigusr.c: Likewise.
57412 * manual/examples/stpcpy.c: Likewise.
57413 * manual/examples/strdupa.c: Likewise.
57414 * manual/examples/strftim.c: Likewise.
57415 * manual/examples/strncat.c: Likewise.
57416 * manual/examples/subopt.c: Likewise.
57417 * manual/examples/swapcontext.c: Likewise.
57418 * manual/examples/termios.c: Likewise.
57419 * manual/examples/testopt.c: Likewise.
57420 * manual/examples/testpass.c: Likewise.
57421 * manual/examples/timeval_subtract.c: Likewise.
57422
57423 [BZ #13792]
57424 * manual/time.texi (Elapsed Time): Move timeval_subtract example
57425 function to ...
57426 * manual/timeval_subtract.c.texi: ... here, new file.
57427
57428 2012-03-02 David S. Miller <davem@davemloft.net>
57429
57430 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
57431
57432 2012-03-02 Joseph Myers <joseph@codesourcery.com>
57433
57434 [BZ #3976]
57435 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
57436 (__sin): Save and restore rounding mode and use round-to-nearest
57437 for all computations.
57438 (__cos): Save and restore rounding mode and use round-to-nearest
57439 for all computations.
57440 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
57441 <fenv.h>.
57442 (tan): Save and restore rounding mode and use round-to-nearest for
57443 all computations.
57444 * math/libm-test.inc (cos_test_tonearest): New function.
57445 (cos_test_towardzero): Likewise.
57446 (cos_test_downward): Likewise.
57447 (cos_test_upward): Likewise.
57448 (sin_test_tonearest): Likewise.
57449 (sin_test_towardzero): Likewise.
57450 (sin_test_downward): Likewise.
57451 (sin_test_upward): Likewise.
57452 (tan_test_tonearest): Likewise.
57453 (tan_test_towardzero): Likewise.
57454 (tan_test_downward): Likewise.
57455 (tan_test_upward): Likewise.
57456 (main): Call the new functions.
57457 * sysdeps/i386/fpu/libm-test-ulps: Update.
57458 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57459
57460 [BZ #10135]
57461 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
57462 small n, then large n, before computing and testing k+n.
57463 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
57464 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
57465 Likewise.
57466 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
57467 Likewise.
57468 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
57469 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
57470 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
57471 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
57472 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
57473 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
57474 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
57475 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
57476 * math/libm-test.inc (scalbn_test): Add more tests.
57477 (scalbln_test): Likewise.
57478
57479 * manual/filesys.texi (mode_t): Describe constraints on size and
57480 signedness, not exact equivalence to a particular type.
57481 (ino_t): Likewise.
57482 (ino64_t): Likewise.
57483 (dev_t): Likewise.
57484 (nlink_t): Likewise.
57485 (blkcnt_t): Likewise.
57486 (blkcnt64_t): Likewise.
57487 * manual/llio.texi (off_t): Likewise.
57488
57489 [BZ #3976]
57490 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
57491 (__ieee754_exp): Save and restore rounding mode and use
57492 round-to-nearest for all computations.
57493 * math/libm-test.inc (exp_test_tonearest): New function.
57494 (exp_test_towardzero): Likewise.
57495 (exp_test_downward): Likewise.
57496 (exp_test_upward): Likewise.
57497 (main): Call the new functions.
57498 * sysdeps/i386/fpu/libm-test-ulps: Update.
57499 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57500
57501 2012-03-01 Chris Demetriou <cgd@google.com>
57502
57503 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
57504 have predictable order.
57505
57506 2012-03-01 David S. Miller <davem@davemloft.net>
57507
57508 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
57509
57510 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
57511 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
57512 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
57513 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
57514
57515 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
57516 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
57517 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
57518 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
57519 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
57520 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
57521 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
57522 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
57523 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
57524
57525 * sysdeps/sparc/fpu/libm-test-ulps: Update.
57526
57527 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
57528 * sysdeps/sparc/fpu/libm-test-ulps: to here.
57529 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
57530
57531 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
57532 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
57533 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
57534 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
57535 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
57536 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
57537 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
57538 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
57539 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
57540 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
57541 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
57542 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
57543 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
57544 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
57545 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
57546 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
57547 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
57548 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
57549 * sysdeps/sparc/elf/configure: Regenerated.
57550
57551 2012-03-01 Joseph Myers <joseph@codesourcery.com>
57552
57553 * configure.in (AS, LD): Require binutils 2.20 or later.
57554 * configure: Regenerated.
57555 * manual/install.texi (Tools for Compilation): Give binutils 2.20
57556 as required minimum version.
57557 * INSTALL: Regenerated.
57558
57559 [BZ #2541]
57560 [BZ #4108]
57561 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
57562 before squaring exponent.
57563 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
57564 bottom long double and 27 bits of top long double before squaring
57565 exponent.
57566 * math/libm-test.inc (erfc_test): Add more tests.
57567 * sysdeps/i386/fpu/libm-test-ulps: Update.
57568 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
57569 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57570
57571 2012-03-01 Kai Tietz <ktietz@redhat.com>
57572
57573 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
57574 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
57575 containing bit-fields.
57576 * soft-fp/extended.h (_FP_UNION_E): Likewise.
57577 * soft-fp/single.h (_FP_UNION_S): Likewise.
57578 * soft-fp/double.h (_FP_UNION_D): Likewise.
57579
57580 2012-02-29 Joseph Myers <joseph@codesourcery.com>
57581
57582 [BZ #13786]
57583 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
57584 not include ../strcmp.S.
57585 [USE_AS_STRNCASECMP_L]: Likewise.
57586 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
57587 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
57588 * sysdeps/i386/i686/multiarch/strncase_l-c.c
57589 (__strncasecmp_l_ia32): Define as alias to
57590 __strncasecmp_l_nonascii.
57591
57592 [BZ #5794]
57593 * math/libm-test.inc (expm1_test): Add test for bug 5794.
57594 * sysdeps/i386/fpu/libm-test-ulps: Update.
57595 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57596
57597 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
57598 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57599
57600 2012-02-29 Jeff Law <law@redhat.com>
57601
57602 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
57603 out of bounds read.
57604
57605 2012-02-29 Marek Polacek <polacek@redhat.com>
57606
57607 [BZ #13706]
57608 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
57609 * elf/Makefile: Add rules to run tst-unused-dep.out.
57610
57611 2012-02-28 David S. Miller <davem@davemloft.net>
57612
57613 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
57614 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
57615 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
57616 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
57617 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
57618 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
57619
57620 2012-02-29 Joseph Myers <joseph@codesourcery.com>
57621
57622 * math/libm-test.inc (llround_test): Move one test from
57623 lround_test. Use TEST_f_L in moved test.
57624 (lround_test): Move misplaced test to llround_test. Add testcase
57625 from bug 2561.
57626
57627 2012-02-28 Ulrich Drepper <drepper@gmail.com>
57628
57629 * sysdeps/x86_64/fpu/e_expf.S: New file.
57630 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
57631
57632 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
57633
57634 [BZ #13637]
57635 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
57636 of remain_len that may cause incomplete multi-byte character and
57637 false match.
57638 * posix/bug-regex33.c: New file.
57639 * posix/Makefile (tests): Add bug-regex33.
57640
57641 2012-02-28 Joseph Myers <joseph@codesourcery.com>
57642
57643 * manual/macros.texi: New file.
57644 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
57645 * manual/libc.texinfo: Include macros.texi.
57646 * manual/creatute.texi: Likewise.
57647 * manual/install.texi: Likewise.
57648 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
57649 @glibcadj{} in references to the GNU C Library.
57650 * manual/charset.texi: Likewise.
57651 * manual/conf.texi: Likewise.
57652 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
57653 when not using those macros.
57654 * manual/creature.texi: Likewise.
57655 * manual/crypt.texi: Likewise.
57656 * manual/errno.texi: Likewise.
57657 * manual/filesys.texi: Likewise.
57658 * manual/header.texi: Likewise.
57659 * manual/install.texi: Likewise.
57660 * manual/intro.texi: Likewise.
57661 * manual/io.texi: Likewise.
57662 * manual/job.texi: Likewise.
57663 * manual/lang.texi: Likewise.
57664 * manual/libc.texiinfo: Likewise.
57665 * manual/llio.texi: Likewise.
57666 * manual/locale.texi: Likewise.
57667 * manual/maint.texi: Likewise.
57668 * manual/math.texi: Likewise.
57669 * manual/memory.texi: Likewise.
57670 * manual/message.texi: Likewise.
57671 * manual/nss.texi: Likewise.
57672 * manual/pattern.texi: Likewise.
57673 * manual/process.texi: Likewise.
57674 * manual/resource.texi: Likewise.
57675 * manual/search.texi: Likewise.
57676 * manual/setjmp.texi: Likewise.
57677 * manual/signal.texi: Likewise.
57678 * manual/socket.texi: Likewise.
57679 * manual/startup.texi: Likewise.
57680 * manual/stdio.texi: Likewise.
57681 * manual/string.texi: Likewise.
57682 * manual/sysinfo.texi: Likewise.
57683 * manual/syslog.texi: Likewise.
57684 * manual/terminal.texi: Likewise.
57685 * manual/time.texi: Likewise.
57686 * manual/users.texi: Likewise.
57687 * INSTALL: Regenerated.
57688 * NOTES: Regenerated.
57689 * sysdeps/gnu/errlist.c: Regenerated.
57690
57691 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
57692
57693 * include/dirent.h: Include <dirstream.h> before
57694 <dirent/dirent.h>.
57695
57696 2012-02-28 David S. Miller <davem@davemloft.net>
57697
57698 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
57699 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
57700 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
57701 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
57702
57703 2012-02-27 David S. Miller <davem@davemloft.net>
57704
57705 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
57706 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
57707 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
57708 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
57709
57710 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
57711 frame pointer instead of stack pointer relative arg slot.
57712 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
57713 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
57714 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
57715
57716 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
57717
57718 [BZ #3992]
57719 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
57720
57721 2012-02-27 David S. Miller <davem@davemloft.net>
57722
57723 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
57724 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
57725 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
57726 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
57727 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
57728 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
57729 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
57730 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
57731
57732 2012-02-27 Joseph Myers <joseph@codesourcery.com>
57733
57734 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
57735 later. Allow versions 5-9.
57736 * configure: Regenerated.
57737 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
57738 required minimum version and 4.6 as recommended version. Do not
57739 mention bugs in GCC 2.7 and 2.8.
57740 * INSTALL: Regenerated.
57741
57742 2012-02-27 David S. Miller <davem@davemloft.net>
57743
57744 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
57745 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
57746 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
57747 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
57748 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
57749 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
57750 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
57751 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
57752
57753 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
57754 manipulate bits before adding and subtracting TWO112[sx].
57755 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
57756
57757 2012-02-27 Roland McGrath <roland@hack.frob.com>
57758
57759 [BZ #13775]
57760 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
57761 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
57762 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
57763 being in POSIX, because they are in 1003.1-2008.
57764
57765 * rt/tst-aio.c: Include <fcntl.h>.
57766 * rt/tst-aio7.c: Likewise.
57767 * rt/tst-aio64.c: Likewise.
57768
57769 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
57770
57771 2012-02-27 Joseph Myers <joseph@codesourcery.com>
57772
57773 * manual/install.texi (--with-headers): Describe headers as
57774 interface headers, not private headers.
57775 (Specific advice for GNU/Linux systems): Describe use of headers
57776 from "make headers_install", not private headers from older
57777 kernels.
57778 * INSTALL: Regenerated.
57779 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
57780 Change to 2.6.19.
57781 * sysdeps/unix/sysv/linux/configure: Regenerated.
57782
57783 * manual/llio.texi (fclean): Remove documentation.
57784
57785 * manual/Makefile (libc-texi-generated): New variable. Include
57786 version.texi.
57787 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
57788 $(libc-texi-generated), not duplicated list of files.
57789 (version.texi, stamp-version): New rules.
57790 (realclean): Remove $(libc-texi-generated), not individual files
57791 from that list. Do not remove dir-add.texinfo.
57792 * manual/libc.texinfo: Comment out uses of edition numbers and
57793 references to printed manual. Remove last-updated dates.
57794 (EDITION): Comment out.
57795 (ISBN): Likewise.
57796 (VERSION, UPDATED): Remove.
57797 (version.texi): Include.
57798
57799 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
57800
57801 * sysdeps/posix/spawni.c: Include <signal.h>.
57802 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
57803 * sysdeps/pthread/aio_fsync.c: Likewise.
57804
57805 2012-02-26 Ulrich Drepper <drepper@gmail.com>
57806
57807 * conform/Makefile (tests): Run only when not cross-compiling and
57808 when fast-check is not defined.
57809
57810 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
57811 * conform/data/limits.h-data: Fixes for POSIX2008.
57812 * conform/run-conformtest.sh: Run all tests.
57813 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
57814 headers.
57815 * include/bits/dlfcn.h: Likewise.
57816 * include/langinfo.h: Likewise.
57817 * include/monetary.h: Likewise.
57818 * include/sys/poll.h: Likewise.
57819
57820 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
57821 for __USE_GNU.
57822 * posix/spawn.h: Define __need_sigset_t.
57823 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
57824 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
57825 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
57826 to get sigevent_t only.
57827 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
57828 only for __USE_GNU.
57829 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
57830 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
57831 process_vm_writev only for __USE_GNU.
57832 * termios/termios.h: Declare tcgetsid also for POSIX2008.
57833
57834 * conform/Makefile: For now ignore errors from run-conformtest.
57835 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
57836 POSIX to avoid namespace pollution. Don't prepend headers.
57837 * conform/data/aio.h-data: Fixes for POSIX testing.
57838 * conform/data/fcntl.h-data: Likewise.
57839 * conform/data/glob.h-data: Likewise.
57840 * conform/data/grp.h-data: Likewise.
57841 * conform/data/pthread.h-data: Likewise.
57842 * conform/data/pwd.h-data: Likewise.
57843 * conform/data/signal.h-data: Likewise.
57844 * conform/data/spawn.h-data: Likewise.
57845 * conform/data/stdio.h-data: Likewise.
57846 * conform/data/stdlib.h-data: Likewise.
57847 * conform/data/stropts.h-data: Likewise.
57848 * conform/data/sys/mman.h-data: Likewise.
57849 * conform/data/sys/stat.h-data: Likewise.
57850 * conform/data/sys/types.h-data: Likewise.
57851 * conform/data/sys/wait.h-data: Likewise.
57852 * conform/data/time.h-data: Likewise.
57853 * conform/data/unistd.h-data: Likewise.
57854 * conform/data/utime.h-data: Likewise.
57855
57856 * io/sys/stat.h: fchmod was always in POSIX.
57857 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
57858 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
57859 * rt/aio.h: Define __need_timespec before including <time.h>.
57860 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
57861 struct. Add forward declaration of pthread_attr_t and use it in
57862 sigevent.
57863 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
57864 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
57865 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
57866 always remove CLK_TCK definition.
57867
57868 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
57869
57870 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
57871
57872 2012-02-25 Ulrich Drepper <drepper@gmail.com>
57873
57874 * conform/run-conformtest.sh: New file.
57875 * conform/Makefile: Run run-conformtest for tests.
57876 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
57877 support.
57878
57879 * conform/data/uchar.h-data: New file.
57880 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
57881 * conform/data/arpa/inet.h-data: Likewise.
57882 * conform/data/assert.h-data: Likewise.
57883 * conform/data/complex.h-data: Likewise.
57884 * conform/data/cpio.h-data: Likewise.
57885 * conform/data/ctype.h-data: Likewise.
57886 * conform/data/dirent.h-data: Likewise.
57887 * conform/data/dlfcn.h-data: Likewise.
57888 * conform/data/errno.h-data: Likewise.
57889 * conform/data/fcntl.h-data: Likewise.
57890 * conform/data/float.h-data: Likewise.
57891 * conform/data/fmtmsg.h-data: Likewise.
57892 * conform/data/fnmatch.h-data: Likewise.
57893 * conform/data/ftw.h-data: Likewise.
57894 * conform/data/glob.h-data: Likewise.
57895 * conform/data/grp.h-data: Likewise.
57896 * conform/data/iconv.h-data: Likewise.
57897 * conform/data/inttypes.h-data: Likewise.
57898 * conform/data/langinfo.h-data: Likewise.
57899 * conform/data/libgen.h-data: Likewise.
57900 * conform/data/limits.h-data: Likewise.
57901 * conform/data/locale.h-data: Likewise.
57902 * conform/data/math.h-data: Likewise.
57903 * conform/data/monetary.h-data: Likewise.
57904 * conform/data/mqueue.h-data: Likewise.
57905 * conform/data/ndbm.h-data: Likewise.
57906 * conform/data/net/if.h-data: Likewise.
57907 * conform/data/netdb.h-data: Likewise.
57908 * conform/data/netinet/in.h-data: Likewise.
57909 * conform/data/nl_types.h-data: Likewise.
57910 * conform/data/poll.h-data: Likewise.
57911 * conform/data/pthread.h-data: Likewise.
57912 * conform/data/pwd.h-data: Likewise.
57913 * conform/data/regex.h-data: Likewise.
57914 * conform/data/sched.h-data: Likewise.
57915 * conform/data/search.h-data: Likewise.
57916 * conform/data/semaphore.h-data: Likewise.
57917 * conform/data/setjmp.h-data: Likewise.
57918 * conform/data/signal.h-data: Likewise.
57919 * conform/data/spawn.h-data: Likewise.
57920 * conform/data/stdarg.h-data: Likewise.
57921 * conform/data/stdio.h-data: Likewise.
57922 * conform/data/stdlib.h-data: Likewise.
57923 * conform/data/string.h-data: Likewise.
57924 * conform/data/strings.h-data: Likewise.
57925 * conform/data/stropts.h-data: Likewise.
57926 * conform/data/sys/ipc.h-data: Likewise.
57927 * conform/data/sys/mman.h-data: Likewise.
57928 * conform/data/sys/msg.h-data: Likewise.
57929 * conform/data/sys/resource.h-data: Likewise.
57930 * conform/data/sys/select.h-data: Likewise.
57931 * conform/data/sys/sem.h-data: Likewise.
57932 * conform/data/sys/shm.h-data: Likewise.
57933 * conform/data/sys/socket.h-data: Likewise.
57934 * conform/data/sys/stat.h-data: Likewise.
57935 * conform/data/sys/statvfs.h-data: Likewise.
57936 * conform/data/sys/time.h-data: Likewise.
57937 * conform/data/sys/timeb.h-data: Likewise.
57938 * conform/data/sys/times.h-data: Likewise.
57939 * conform/data/sys/types.h-data: Likewise.
57940 * conform/data/sys/uio.h-data: Likewise.
57941 * conform/data/sys/un.h-data: Likewise.
57942 * conform/data/sys/utsname.h-data: Likewise.
57943 * conform/data/sys/wait.h-data: Likewise.
57944 * conform/data/syslog.h-data: Likewise.
57945 * conform/data/tar.h-data: Likewise.
57946 * conform/data/termios.h-data: Likewise.
57947 * conform/data/utime.h-data: Likewise.
57948 * conform/data/utmpx.h-data: Likewise.
57949 * conform/data/varargs.h-data: Likewise.
57950 * conform/data/wchar.h-data: Likewise.
57951 * conform/data/wctype.h-data: Likewise.
57952 * conform/data/wordexp.h-data: Likewise.
57953
57954 * include/stropts.h: New file.
57955 * include/uchar.h: New file.
57956 * include/aio.h: Changes to allow conformtest.pl to use the headers.
57957 * include/assert.h: Likewise.
57958 * include/ctype.h: Likewise.
57959 * include/dirent.h: Likewise.
57960 * include/dlfcn.h: Likewise.
57961 * include/fcntl.h: Likewise.
57962 * include/fnmatch.h: Likewise.
57963 * include/glob.h: Likewise.
57964 * include/grp.h: Likewise.
57965 * include/libio.h: Likewise.
57966 * include/locale.h: Likewise.
57967 * include/math.h: Likewise.
57968 * include/net/if.h: Likewise.
57969 * include/netdb.h: Likewise.
57970 * include/netinet/in.h: Likewise.
57971 * include/pthread.h: Likewise.
57972 * include/pwd.h: Likewise.
57973 * include/regex.h: Likewise.
57974 * include/sched.h: Likewise.
57975 * include/search.h: Likewise.
57976 * include/setjmp.h: Likewise.
57977 * include/signal.h: Likewise.
57978 * include/stdio.h: Likewise.
57979 * include/stdlib.h: Likewise.
57980 * include/string.h: Likewise.
57981 * include/sys/cdefs.h: Likewise.
57982 * include/sys/mman.h: Likewise.
57983 * include/sys/msg.h: Likewise.
57984 * include/sys/resource.h: Likewise.
57985 * include/sys/select.h: Likewise.
57986 * include/sys/socket.h: Likewise.
57987 * include/sys/stat.h: Likewise.
57988 * include/sys/statvfs.h: Likewise.
57989 * include/sys/time.h: Likewise.
57990 * include/sys/times.h: Likewise.
57991 * include/sys/uio.h: Likewise.
57992 * include/sys/utsname.h: Likewise.
57993 * include/sys/wait.h: Likewise.
57994 * include/termios.h: Likewise.
57995 * include/time.h: Likewise.
57996 * include/ulimit.h: Likewise.
57997 * include/unistd.h: Likewise.
57998 * include/utime.h: Likewise.
57999 * include/wchar.h: Likewise.
58000 * include/wctype.h: Likewise.
58001 * include/wordexp.h: Likewise.
58002
58003 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
58004
58005 * time/time.h: TIME_UTC must be a macro.
58006 Make timespec_get available for ISO C11 only as well.
58007
58008 2012-02-24 Ulrich Drepper <drepper@gmail.com>
58009
58010 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
58011 Reported by Peng Haitao <penght@cn.fujitsu.com>.
58012
58013 2012-02-24 Joseph Myers <joseph@codesourcery.com>
58014
58015 * configure.in: Use -o not -a in test for unsupported multi-arch.
58016
58017 2012-02-24 Joseph Myers <joseph@codesourcery.com>
58018
58019 * manual/texinfo.tex: Update to version 2012-01-19.16.
58020
58021 2012-02-24 Joseph Myers <joseph@codesourcery.com>
58022
58023 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
58024
58025 2012-02-24 Roland McGrath <roland@hack.frob.com>
58026
58027 [BZ #13738]
58028 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
58029 * manual/fdl-1.3.texi: New file.
58030 * manual/fdl-1.1.texi: File removed.
58031
58032 [BZ #13738]
58033 * manual/libc.texinfo (FDL_VERSION): New @set.
58034 Use it for mention of FDL in cover text.
58035 (Documentation License): Use it in @include file name.
58036
58037 2012-02-22 Joseph Myers <joseph@codesourcery.com>
58038 Roland McGrath <roland@hack.frob.com>
58039
58040 [BZ #5461]
58041 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
58042 (not LONG_LONG_MAX and LONG_LONG_MIN.
58043 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
58044 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
58045 name.
58046 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
58047
58048 2012-02-22 Joseph Myers <joseph@codesourcery.com>
58049
58050 [BZ #2547]
58051 [BZ #11365]
58052 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
58053 manipulate bits before adding and subtracting TWO23[sx].
58054 * math/libm-test.inc (nearbyint_test): Add more tests.
58055
58056 2012-02-22 Joseph Myers <joseph@codesourcery.com>
58057
58058 [BZ #2548]
58059 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
58060 bits before adding and subtracting TWO23[sx].
58061 * math/libm-test.inc (rint_test): Add more tests.
58062 (rint_test_tonearest): Likewise.
58063 (rint_test_towardzero): Likewise.
58064 (rint_test_downward): Likewise.
58065 (rint_test_upward: Likewise.
58066
58067 2012-02-22 Joseph Myers <joseph@codesourcery.com>
58068
58069 [BZ #10110]
58070 * include/stdc-predef.h: New file. Extracted from features.h.
58071 * include/features.h: Include stdc-predef.h.
58072 * Makefile (headers): Add stdc-predef.h.
58073 * CONFORMANCE (Compiler limitations): Update.
58074
58075 2012-02-22 Joseph Myers <joseph@codesourcery.com>
58076
58077 * manual/libc.texinfo (VERSION, UPDATED): Revert.
58078
58079 2012-02-21 David S. Miller <davem@davemloft.net>
58080
58081 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
58082 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
58083
58084 2012-02-20 David S. Miller <davem@davemloft.net>
58085
58086 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
58087 using a normal save/restore sequence, rather than allocating a
58088 dummy stack frame just to store a frame pointer and restore.
58089 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
58090
58091 2012-02-21 Joseph Myers <joseph@codesourcery.com>
58092
58093 * manual/install.texi: Fix stray word in line-wrapped comment.
58094
58095 2012-02-20 David S. Miller <davem@davemloft.net>
58096
58097 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
58098 both binutils and gcc support GOTDATA.
58099
58100 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
58101 "rd %pc" in the PIC register setup sequences.
58102
58103 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
58104 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
58105 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
58106 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
58107 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
58108 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
58109 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
58110 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
58111 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
58112 (SYSCALL_ERROR_HANDLER): Likewise.
58113 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
58114 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
58115 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
58116 (SYSCALL_ERROR_HANDLER): Likewise.
58117
58118 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
58119 (HAVE_GCC_GOTDATA): New.
58120 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
58121 relocation support in both binutils and gcc.
58122 * sysdeps/sparc/elf/configure: Regenerate.
58123
58124 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
58125 * sysdeps/sparc/sparc32/elf/configure: Delete.
58126 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
58127 * sysdeps/sparc/sparc64/elf/configure: Delete.
58128 * sysdeps/sparc/elf/configure.in: New file.
58129 * sysdeps/sparc/elf/configure: Generate.
58130
58131 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
58132 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
58133 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
58134 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
58135 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
58136
58137 2012-02-21 Joseph Myers <joseph@codesourcery.com>
58138
58139 * manual/install.texi: Do not mention specific glibc version
58140 numbers.
58141 * manual/libc.texinfo (VERSION, UPDATED): Update.
58142 (@copying): Use @copyright{} and range of years.
58143
58144 2012-02-21 Joseph Myers <joseph@codesourcery.com>
58145
58146 [BZ #13695]
58147 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
58148 [crti.S not in sysdirs] (generated): Do not append.
58149 [crti.S not in sysdirs] (omit-deps): Likewise.
58150 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
58151 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
58152 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
58153 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
58154 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
58155 Likewise.
58156 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
58157 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
58158 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
58159 * csu/defs.awk: Remove file.
58160 * sysdeps/generic/initfini.c: Likewise.
58161 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
58162 variable.
58163 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
58164 Likewise.
58165
58166 2012-02-20 Joseph Myers <joseph@codesourcery.com>
58167
58168 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
58169 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
58170 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
58171 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
58172 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
58173 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
58174 <bits/epoll.h>.
58175 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
58176 (__EPOLL_PACKED): Define to empty if not defined by
58177 <bits/epoll.h>.
58178 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
58179 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58180 bits/epoll.h.
58181
58182 2012-02-20 Joseph Myers <joseph@codesourcery.com>
58183
58184 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
58185 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
58186 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
58187 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
58188 <bits/timerfd.h>.
58189 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
58190 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58191 bits/timerfd.h.
58192
58193 2012-02-20 Joseph Myers <joseph@codesourcery.com>
58194
58195 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
58196 in C locale.
58197 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
58198 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
58199 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
58200 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58201
58202 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
58203
58204 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
58205 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
58206
58207 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
58208
58209 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
58210 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
58211 defined.
58212 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
58213 Likewise.
58214 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
58215 entry for 2.16.
58216
58217 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
58218
58219 * math/w_acos.c: Use non-signaling floating-point comparisons.
58220 * math/w_acosf.c: Likewise.
58221 * math/w_acosh.c: Likewise.
58222 * math/w_acoshf.c: Likewise.
58223 * math/w_acoshl.c: Likewise.
58224 * math/w_acosl.c: Likewise.
58225 * math/w_asin.c: Likewise.
58226 * math/w_asinf.c: Likewise.
58227 * math/w_asinl.c: Likewise.
58228 * math/w_atanh.c: Likewise.
58229 * math/w_atanhf.c: Likewise.
58230 * math/w_atanhl.c: Likewise.
58231 * math/w_exp2.c: Likewise.
58232 * math/w_exp2f.c: Likewise.
58233 * math/w_exp2l.c: Likewise.
58234 * math/w_j0.c: Likewise.
58235 * math/w_j0f.c: Likewise.
58236 * math/w_j0l.c: Likewise.
58237 * math/w_j1.c: Likewise.
58238 * math/w_j1f.c: Likewise.
58239 * math/w_j1l.c: Likewise.
58240 * math/w_jn.c: Likewise.
58241 * math/w_jnf.c: Likewise.
58242 * math/w_log.c: Likewise.
58243 * math/w_log10.c: Likewise.
58244 * math/w_log10f.c: Likewise.
58245 * math/w_log10l.c: Likewise.
58246 * math/w_log2.c: Likewise.
58247 * math/w_log2f.c: Likewise.
58248 * math/w_log2l.c: Likewise.
58249 * math/w_logf.c: Likewise.
58250 * math/w_logl.c: Likewise.
58251 * math/w_sqrt.c: Likewise.
58252 * math/w_sqrtf.c: Likewise.
58253 * math/w_sqrtl.c: Likewise.
58254 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
58255 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
58256 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
58257 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
58258 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
58259
58260 2012-02-19 Joseph Myers <joseph@codesourcery.com>
58261
58262 [BZ #9739]
58263 * manual/string.texi (strnlen): Use correct parameter name in
58264 equivalent expression.
58265
58266 2012-02-19 Joseph Myers <joseph@codesourcery.com>
58267
58268 [BZ #11174]
58269 * manual/users.texi (seteuid): Consistently use neweuid for
58270 argument name.
58271
58272 2012-02-19 Joseph Myers <joseph@codesourcery.com>
58273
58274 [BZ #13704]
58275 * manual/nss.texi (Services in the NSS configuration): Correct
58276 list of services in example configuration file.
58277
58278 2012-02-19 Nick Bowler <nbowler@draconx.ca>
58279
58280 [BZ #11322]
58281 * manual/arith.texi: Remove statements about negative zero
58282 behaving identically to zero.
58283
58284 2012-02-18 Joseph Myers <joseph@codesourcery.com>
58285
58286 [BZ #5993]
58287 * manual/install.texi: Do not document upgrading from libc5.
58288
58289 2012-02-18 Joseph Myers <joseph@codesourcery.com>
58290
58291 [BZ #4596]
58292 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
58293
58294 2012-02-18 David S. Miller <davem@davemloft.net>
58295
58296 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
58297 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
58298 %o7 across the call.
58299 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
58300 instead.
58301 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
58302 SETUP_PIC_REG_LEAF.
58303 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
58304 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
58305 * sysdeps/sparc/crtn.S: Likewise.
58306
58307 2012-02-17 Ulrich Drepper <drepper@gmail.com>
58308
58309 * aout/Makefile: Remove.
58310
58311 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
58312
58313 [BZ #13058]
58314 * manual/examples/argp-ex1.c (main): Format definition in GNU
58315 style.
58316 * manual/examples/argp-ex2.c (main): Likewise.
58317 * manual/examples/argp-ex3.c (main): Likewise.
58318 * manual/examples/argp-ex4.c (main): Likewise.
58319 * manual/examples/longopt.c (main): Use new-style prototype
58320 definition.
58321 * manual/examples/strncat.c (main): Specify return type and use
58322 (void) for arguments.
58323 * manual/examples/subopt.c (main): Use char **argv argument.
58324
58325 2012-02-17 Joseph Myers <joseph@codesourcery.com>
58326
58327 [BZ #5077]
58328 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
58329 rounding modes.
58330
58331 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
58332
58333 [BZ #6907]
58334 * manual/string.texi (strchr): Change when strchrnul is
58335 recommended.
58336
58337 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
58338
58339 [BZ #174]
58340 * manual/locale.texi (setlocale): Document LOCPATH.
58341
58342 2012-02-17 Joseph Myers <joseph@codesourcery.com>
58343
58344 [BZ #10210]
58345 * manual/process.texi (execle): Move @dots{} before last argument.
58346
58347 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
58348
58349 [BZ #12047]
58350 * manual/charset.texi (Generic Charset Conversion): Fix typo
58351 (LC_TYPE -> LC_CTYPE).
58352
58353 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
58354
58355 [BZ #5805]
58356 * manual/arith.texi (scalbn): Use @var{} on parameter names.
58357 (scalbnf): Likewise.
58358 (scalbnl): Likewise.
58359 (scalbln): Likewise.
58360 (scalblnf): Likewise.
58361 (scalblnl): Likewise.
58362 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
58363 (vwarnx): Likewise.
58364 (verr): Likewise.
58365 (verrx): Likewise.
58366 * manual/filesys.texi (telldir): Use braces around return type.
58367 * manual/llio.texi (mmap): Add space after comma.
58368 (mmap64): Likewise.
58369 * manual/math.texi (jn): Use @var{} on parameter names.
58370 (jnf): Likewise.
58371 (jnl): Likewise.
58372 (yn): Likewise.
58373 (ynf): Likewise.
58374 (ynl): Likewise.
58375 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
58376 line.
58377 * manual/resource.texi (ulimit): Use @dots{} instead of literal
58378 "...".
58379 (sched_get_priority_min): Remove semicolon on @deftypefun line.
58380 (sched_get_priority_max): Likewise.
58381 * manual/signal.texi (sigvec): Add space after comma.
58382 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
58383 names.
58384 (if_indextoname): Likewise.
58385 (if_freenameindex): Likewise.
58386 (sendto): Use ',' instead of '.' in prototype.
58387 * manual/startup.texi (syscall): Use @dots{} instead of literal
58388 "...".
58389 * manual/stdio.texi (__fpending): Separate initial words of
58390 paragraph from @deftypefun line.
58391 * manual/syslog.texi (syslog): Use @dots{} instead of literal
58392 "...".
58393 (vsyslog): Use @var{} on parameter names.
58394 * manual/terminal.texi (stty): Use @var{} on parameter names.
58395 * manual/users.texi (getutmp): Use @var{} on parameter names.
58396 (getutmpx): Likewise.
58397
58398 2012-02-17 Joseph Myers <joseph@codesourcery.com>
58399
58400 [BZ #6884]
58401 * manual/stdio.texi (fopen): Fix typos in description of
58402 ",ccs=STRING".
58403
58404 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
58405
58406 [BZ #4026]
58407 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
58408 get clock_id definition.
58409
58410 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
58411
58412 [BZ #4822]
58413 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
58414 (madvise): Cast every argument to void on its own.
58415
58416 2012-02-17 Joseph Myers <joseph@codesourcery.com>
58417
58418 [BZ #9902]
58419 * manual/startup.texi (Exit Status): Fix typo.
58420
58421 2012-02-17 Joseph Myers <joseph@codesourcery.com>
58422
58423 [BZ #10140]
58424 * manual/examples/argp-ex1.c: Include <stdlib.h>.
58425 * manual/examples/argp-ex2.c: Likewise.
58426 * manual/examples/argp-ex3.c: Likewise.
58427
58428 2012-02-16 Richard Henderson <rth@redhat.com>
58429
58430 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
58431 * sysdeps/s390/s390-32/initfini.c: Remove.
58432 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
58433 * sysdeps/s390/s390-64/initfini.c: Remove.
58434
58435 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
58436
58437 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
58438 compiler output for sysdeps/generic/initfini.c.
58439 * sysdeps/sh/elf/initfini.c: Remove file.
58440
58441 2012-02-16 David S. Miller <davem@davemloft.net>
58442
58443 [BZ #11494]
58444 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
58445
58446 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
58447 * sysdeps/sparc/crti.S: New file.
58448 * sysdeps/sparc/crtn.S: New file.
58449 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
58450 * sysdeps/sparc/sparc64/Makefile: Likewise.
58451
58452 2012-02-15 Mike Frysinger <vapier@gentoo.org>
58453
58454 [BZ #3335]
58455 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
58456
58457 2012-02-15 Roland McGrath <roland@hack.frob.com>
58458
58459 [BZ #4822]
58460 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
58461
58462 * mach/devstream.c (cookie_io_functions_t): Macro removed.
58463 (write, read, close): Likewise.
58464 Patch by Aurelien Jarno <aurelien@aurel32.net>.
58465
58466 2012-02-15 Joseph Myers <joseph@codesourcery.com>
58467
58468 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
58469 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
58470 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
58471 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
58472 <bits/signalfd.h>.
58473 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
58474 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58475 bits/signalfd.h.
58476
58477 2012-02-14 Marek Polacek <polacek@redhat.com>
58478
58479 * sysdeps/x86_64/crti.S: New file.
58480 * sysdeps/x86_64/crtn.S: New file.
58481 * sysdeps/x86_64/elf/initfini.c: Remove file.
58482
58483 2012-02-13 Joseph Myers <joseph@codesourcery.com>
58484
58485 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
58486 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
58487 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
58488 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
58489 <bits/inotify.h>.
58490 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
58491 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58492 bits/inotify.h.
58493
58494 2012-02-13 Joseph Myers <joseph@codesourcery.com>
58495
58496 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
58497 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
58498 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
58499 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
58500 <bits/eventfd.h>.
58501 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
58502 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58503 bits/eventfd.h.
58504
58505 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
58506
58507 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
58508 __feraiseexcept instead of feraiseexcept.
58509
58510 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
58511 nanosleep invocations.
58512 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
58513 strings, and add error checking for a nanosleep invocations.
58514
58515 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
58516
58517 Replace FSF snail mail address with URLs, as per GNU coding standards.
58518 Most of the snail mail addresses were wrong anyway, and omitting
58519 them makes the source code easier to maintain. Almost all of the
58520 changes are to license notices and to locale LC_IDENTIFICATION
58521 addresses, except for this one:
58522 * manual/libc.texinfo: In "Published by", give the FSF's URL,
58523 not its snail mail address.
58524
58525 2012-02-09 Richard Henderson <rth@twiddle.net>
58526
58527 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
58528 of kernel-features.h.
58529
58530 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
58531
58532 2012-02-08 Marek Polacek <polacek@redhat.com>
58533
58534 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
58535 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
58536 * sysdeps/gnu/_G_config.h: Likewise.
58537 * sysdeps/generic/_G_config.h: Likewise.
58538
58539 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
58540
58541 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
58542 tests.
58543 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58544
58545 * sysdeps/powerpc/powerpc32/crti.S: New file.
58546 * sysdeps/powerpc/powerpc32/crtn.S: New file.
58547 * sysdeps/powerpc/powerpc64/crti.S: New file.
58548 * sysdeps/powerpc/powerpc64/crtn.S: New file.
58549
58550 * Makeconfig (have-initfini): Don't set.
58551 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
58552 * configure.in (nopic_initfini): Don't substitute.
58553 * config.h.in (HAVE_INITFINI): Don't #undef.
58554 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
58555 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
58556
58557 2012-02-08 Joseph Myers <joseph@codesourcery.com>
58558
58559 Support crti.S and crtn.S provided directly by architectures.
58560 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
58561 [crti.S in sysdirs] (omit-deps): Likewise.
58562 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
58563 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
58564 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
58565 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
58566 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
58567 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
58568 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
58569 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
58570 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
58571 compiler output for sysdeps/generic/initfini.c.
58572 * sysdeps/i386/elf/Makefile: Remove file.
58573 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
58574
58575 2012-02-07 Marek Polacek <polacek@redhat.com>
58576
58577 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
58578 * sysdeps/gnu/_G_config.h: Likewise.
58579 * sysdeps/mach/hurd/_G_config.h: Likewise.
58580
58581 2012-02-07 Marek Polacek <polacek@redhat.com>
58582
58583 * math/Makefile (tests): Add tst-CMPLX2.
58584 * math/tst-CMPLX2.c: New file.
58585
58586 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
58587
58588 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
58589
58590 * math/libm-test.inc (jn_test): Add missing L suffix.
58591
58592 2012-02-06 Marek Polacek <polacek@redhat.com>
58593
58594 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
58595 * sysdeps/i386/fpu/e_powf.S: Likewise.
58596 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
58597 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
58598 * sysdeps/i386/fpu/e_acosh.S: Likewise.
58599 * sysdeps/i386/fpu/e_pow.S: Likewise.
58600 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
58601 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
58602 * sysdeps/i386/fpu/s_expm1.S: Likewise.
58603 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
58604 * sysdeps/i386/fpu/e_log2.S: Likewise.
58605 * sysdeps/i386/fpu/e_log2l.S: Likewise.
58606 * sysdeps/i386/fpu/e_scalb.S: Likewise.
58607 * sysdeps/i386/fpu/e_powl.S: Likewise.
58608 * sysdeps/i386/fpu/s_log1p.S: Likewise.
58609 * sysdeps/i386/fpu/e_log10f.S: Likewise.
58610 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
58611 * sysdeps/i386/fpu/e_logl.S: Likewise.
58612 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
58613 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
58614 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
58615 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
58616 * sysdeps/i386/fpu/e_log2f.S: Likewise.
58617 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
58618 * sysdeps/i386/fpu/e_log.S: Likewise.
58619 * sysdeps/i386/fpu/s_cexp.S: Likewise.
58620 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
58621 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
58622 * sysdeps/i386/fpu/e_logf.S: Likewise.
58623 * sysdeps/i386/fpu/e_log10l.S: Likewise.
58624 * sysdeps/i386/fpu/e_atanh.S: Likewise.
58625 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
58626 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
58627 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
58628 * sysdeps/i386/fpu/e_log10.S: Likewise.
58629 * sysdeps/i386/fpu/s_frexp.S: Likewise.
58630 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
58631 * sysdeps/i386/fpu/s_asinh.S: Likewise.
58632 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
58633 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
58634 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
58635 * sysdeps/i386/asm-syntax.h: Likewise.
58636 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
58637 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
58638 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
58639 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
58640 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
58641 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
58642 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
58643 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
58644 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
58645 * sysdeps/powerpc/sysdep.h: Likewise.
58646 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
58647 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
58648
58649 2012-02-06 Joseph Myers <joseph@codesourcery.com>
58650
58651 [BZ #411]
58652 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
58653
58654 2012-02-06 Joseph Myers <joseph@codesourcery.com>
58655
58656 * sysdeps/i386/sysdep.h: Include <features.h>.
58657 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
58658 version.
58659
58660 2012-02-05 Joseph Myers <joseph@codesourcery.com>
58661
58662 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
58663 Define.
58664 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
58665 LOAD_PIC_REG_STR.
58666
58667 2012-02-03 Joseph Myers <joseph@codesourcery.com>
58668
58669 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
58670 (SETUP_PIC_REG): Use GET_PC_THUNK.
58671 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
58672 macro.
58673
58674 2012-02-03 Joseph Myers <joseph@codesourcery.com>
58675
58676 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
58677 for non-PIC compilation.
58678 (SETUP_PIC_REG): Add .p2align directive.
58679 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
58680 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
58681 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
58682 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
58683 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
58684 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
58685 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
58686 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
58687 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
58688 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
58689 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
58690 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
58691 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
58692 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
58693 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
58694 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
58695 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
58696 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
58697 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
58698 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
58699 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
58700 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
58701 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
58702 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
58703 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
58704 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
58705 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
58706 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
58707 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
58708 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
58709 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
58710 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
58711 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
58712 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
58713 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
58714 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
58715 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
58716 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
58717 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
58718 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
58719 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
58720
58721 2012-02-03 Joseph Myers <joseph@codesourcery.com>
58722
58723 * math/tst-CMPLX.c: Include <stdio.h>.
58724
58725 2012-01-31 Joseph Myers <joseph@codesourcery.com>
58726
58727 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
58728 float.
58729 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
58730 * sysdeps/sparc/bits/mathdef.h: Likewise.
58731
58732 2012-01-31 Marek Polacek <polacek@redhat.com>
58733
58734 * libio/libio.h: Don't define _PARAMS.
58735 * locale/programs/config.h: Don't define PARAMS.
58736 * stdlib/strtol_l.c: Likewise.
58737 (__strtol_l): Remove PARAMS from the prototype.
58738
58739 2012-01-31 Ulrich Drepper <drepper@gmail.com>
58740
58741 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
58742 names. Just use the correct names. Remove unnecessary wrapper
58743 functions.
58744 * malloc/arena.c: Likewise.
58745 * malloc/hooks.c: Likewise.
58746
58747 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
58748 ARENA_TEST says not to. Simplify test for creation of a new arena.
58749 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
58750
58751 2012-01-30 Ulrich Drepper <drepper@gmail.com>
58752
58753 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
58754 into tail calls.
58755 (update_get_addr): New function.
58756 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
58757 GET_ADDR_MODULE parameter.
58758
58759 2012-01-30 Joseph Myers <joseph@codesourcery.com>
58760
58761 * crypt/cert.c: Remove __STDC__ conditionals.
58762 * crypt/crypt-entry.c: Likewise.
58763 * crypt/crypt_util.c: Likewise.
58764 * libio/filedoalloc.c: Likewise.
58765 * libio/fileops.c: Likewise.
58766 * libio/genops.c: Likewise.
58767 * libio/iofclose.c: Likewise.
58768 * libio/iofdopen.c: Likewise.
58769 * libio/iofopen.c: Likewise.
58770 * libio/iofopen64.c: Likewise.
58771 * libio/iogetdelim.c: Likewise.
58772 * libio/iopopen.c: Likewise.
58773 * libio/obprintf.c: Likewise.
58774 * libio/oldfileops.c: Likewise.
58775 * libio/oldiofclose.c: Likewise.
58776 * libio/oldiofdopen.c: Likewise.
58777 * libio/oldiofopen.c: Likewise.
58778 * libio/oldiopopen.c: Likewise.
58779 * libio/wfiledoalloc.c: Likewise.
58780 * libio/wgenops.c: Likewise.
58781 * locale/programs/xmalloc.c: Likewise.
58782 * misc/syslog.c: Likewise.
58783 * stdio-common/xbug.c: Likewise.
58784 * string/memchr.c: Likewise.
58785 * string/memcmp.c: Likewise.
58786 * string/memrchr.c: Likewise.
58787 * string/rawmemchr.c: Likewise.
58788 * sysdeps/posix/getcwd.c: Likewise.
58789 * time/strftime_l.c: Likewise.
58790
58791 2012-01-30 Joseph Myers <joseph@codesourcery.com>
58792
58793 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
58794 * config.make.in (config-cflags-sse2avx): Define.
58795 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
58796 Fix typo.
58797
58798 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
58799
58800 * scripts/config.guess: Update from upstream config git repository.
58801 * scripts/config.sub: Likewise.
58802
58803 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
58804
58805 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
58806 (EM_NUM): Update.
58807 (R_TILEPRO_*, R_TILEGX_*): New macros.
58808
58809 * scripts/firstversions.awk: Fix bug in version range handling.
58810
58811 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
58812
58813 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
58814
58815 * include/sys/epoll.h: New file.
58816 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
58817 libc_hidden_def.
58818
58819 2012-01-28 Ulrich Drepper <drepper@gmail.com>
58820
58821 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
58822 Avoid unnecessary __WORDSIZE == 64 test.
58823 (fmaxf): Use VEX format if possible.
58824 (fmax): Likewise.
58825 (fminf): Likewise.
58826 (fmin): Likewise.
58827
58828 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
58829 * math/math_private.h: Remove libc_fegetround* and
58830 libc_fesetround*.
58831 * sysdeps/i386/configure.in: Check for -msse2avx.
58832 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
58833 also if SSE2AVX is defined.
58834 Remove libc_fegetround* and libc_fesetround*.
58835 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
58836 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
58837 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
58838 of HAS_YMM_USABLE.
58839 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
58840 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
58841 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
58842 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
58843 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
58844
58845 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
58846
58847 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58848
58849 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
58850 size is not set.
58851 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
58852
58853 2012-01-27 Ulrich Drepper <drepper@gmail.com>
58854
58855 [BZ #13618]
58856 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
58857 relocation.
58858 * Makeconfig (libm): Define.
58859 * elf/Makefile: Add rules to build and run tst-relsort1.
58860 * elf/tst-relsort1.c: New file.
58861 * elf/tst-relsort1mod1.c: New file.
58862 * elf/tst-relsort1mod2.c: New file.
58863
58864 2012-01-27 Joseph Myers <joseph@codesourcery.com>
58865
58866 * math/s_ldexp.c: Remove __STDC__ conditionals.
58867 * math/s_ldexpf.c: Likewise.
58868 * math/s_ldexpl.c: Likewise.
58869 * math/s_nextafter.c: Likewise.
58870 * math/s_nexttowardf.c: Likewise.
58871 * math/s_significand.c: Likewise.
58872 * math/s_significandf.c: Likewise.
58873 * math/s_significandl.c: Likewise.
58874 * math/w_jnl.c: Likewise.
58875 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
58876 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
58877 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
58878 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
58879 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
58880 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
58881 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
58882 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
58883 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
58884 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
58885 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
58886 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
58887 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
58888 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
58889 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
58890 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
58891 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
58892 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
58893 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
58894 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
58895 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
58896 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
58897 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
58898 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
58899 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
58900 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
58901 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
58902 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
58903 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
58904 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
58905 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
58906 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
58907 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
58908 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
58909 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
58910 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
58911 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
58912 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
58913 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
58914 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
58915 * sysdeps/ieee754/k_standard.c: Likewise.
58916 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
58917 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
58918 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
58919 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
58920 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
58921 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
58922 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
58923 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
58924 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
58925 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
58926 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
58927 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
58928 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
58929 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
58930 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
58931 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
58932 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
58933 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
58934 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
58935 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
58936 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
58937 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
58938 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
58939 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
58940 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
58941 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
58942 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
58943 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
58944 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
58945 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
58946 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
58947 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
58948 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
58949 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
58950 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
58951 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
58952 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
58953 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
58954 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
58955 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
58956 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
58957 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
58958 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
58959 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
58960 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
58961 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
58962 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
58963 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
58964 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
58965 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
58966 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
58967 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
58968 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
58969 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
58970 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
58971 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
58972 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
58973 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
58974 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
58975 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
58976 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
58977 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
58978 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
58979 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
58980 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
58981 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
58982 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
58983 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
58984 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
58985 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
58986 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
58987 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
58988 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
58989 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
58990 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
58991 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
58992 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
58993 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
58994 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
58995 * sysdeps/ieee754/s_matherr.c: Likewise.
58996 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
58997 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
58998 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
58999 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
59000
59001 2012-01-26 Joseph Myers <joseph@codesourcery.com>
59002
59003 * crypt/md5.h: Remove __STDC__ conditionals.
59004 * libio/libioP.h: Likewise.
59005 * locale/programs/config.h: Likewise.
59006 * sysdeps/generic/sysdep.h: Likewise.
59007 * sysdeps/i386/asm-syntax.h: Likewise.
59008 * sysdeps/s390/asm-syntax.h: Likewise.
59009 * sysdeps/unix/sysdep.h: Likewise.
59010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
59011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
59012
59013 2012-01-26 Joseph Myers <joseph@codesourcery.com>
59014
59015 * libio/libio.h: Remove __STDC__ conditionals.
59016 * malloc/obstack.h: Likewise.
59017 * math/complex.h: Likewise.
59018 * math/math.h: Likewise.
59019 * sysdeps/generic/_G_config.h: Likewise.
59020 * sysdeps/gnu/_G_config.h: Likewise.
59021 * sysdeps/mach/hurd/_G_config.h: Likewise.
59022 * sysdeps/powerpc/bits/mathdef.h: Likewise.
59023 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
59024 * sysdeps/sparc/bits/mathdef.h: Likewise.
59025
59026 2012-01-26 Ulrich Drepper <drepper@gmail.com>
59027
59028 [BZ #13583]
59029 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
59030 Clean up HAS_* macros.
59031 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
59032 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
59033 possible.
59034 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
59035 HAS_AVX.
59036 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
59037 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
59038 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
59039 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
59040 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
59041
59042 2012-01-25 Joseph Myers <joseph@codesourcery.com>
59043
59044 * elf/tst-unique3.cc (gets): Remove declaration.
59045 * elf/tst-unique3lib.cc (gets): Likewise.
59046 * elf/tst-unique3lib2.cc (gets): Likewise.
59047 * elf/tst-unique4.cc (gets): Likewise.
59048
59049 2012-01-24 Ulrich Drepper <drepper@gmail.com>
59050
59051 * include/stdio.h: Add C++ protection. Add gets declarations and
59052 definitions.
59053 * debug/tst-chk1.c: Don't declare gets here.
59054 * stdio-common/tst-gets.c: Likewise.
59055
59056 2012-01-24 Joseph Myers <joseph@codesourcery.com>
59057
59058 * posix/glob: Remove directory.
59059
59060 2012-01-24 Joseph Myers <joseph@codesourcery.com>
59061
59062 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
59063
59064 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
59065
59066 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
59067 of the non-standard EPFNOSUPPORT.
59068
59069 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
59070
59071 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
59072 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
59073 ANYWHERE set to 1 only on KERN_NO_SPACE error.
59074
59075 2012-01-21 Ulrich Drepper <drepper@gmail.com>
59076
59077 * wcsmbs/uchar.h: Test __STDC_VERSION__.
59078
59079 2012-01-20 Ulrich Drepper <drepper@gmail.com>
59080
59081 * nscd/aicache.c (addhstaiX): Do not cache negative results of
59082 transient errors.
59083 * nscd/grpcache.c (cache_addgr): Likewise.
59084 * nscd/hstcache.c (cache_addhst): Likewise.
59085 * nscd/initgrcache.c (addinitgroupsX): Likewise.
59086 * nscd/pwdcache.c (cache_addpw): Likewise.
59087 * nscd/servicescache.c (cache_addserv): Likewise.
59088
59089 2012-01-16 Ulrich Drepper <drepper@gmail.com>
59090
59091 * malloc/malloc.c: Various cleanups.
59092 * malloc/hooks.c: Likewise.
59093
59094 * stdlib/Makefile (tests): Add bug-fmtmsg1.
59095 * stdlib/bug-fmtmsg1.c: New file.
59096
59097 * stdlib/fmtmsg.c (init): Add missing unlock.
59098 Patch by Peng Haitao <penght@cn.fujitsu.com>.
59099
59100 2012-01-12 Marek Polacek <polacek@redhat.com>
59101
59102 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
59103 and _GNU_SOURCE.
59104
59105 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
59106
59107 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
59108 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
59109 macro to ensure uniqueness of label name.
59110 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
59111 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
59112
59113 2012-01-11 Ulrich Drepper <drepper@gmail.com>
59114
59115 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
59116
59117 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
59118 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
59119 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
59120 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
59121
59122 2012-01-10 Ulrich Drepper <drepper@gmail.com>
59123
59124 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
59125
59126 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
59127 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
59128 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
59129
59130 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
59131
59132 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
59133 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
59134 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
59135 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
59136
59137 * math/bits/math-finite.h: Add ldexp support.
59138
59139 2012-01-10 Marek Polacek <polacek@redhat.com>
59140
59141 * locale/programs/localedef.h (show_archive_content): Add noreturn
59142 attribute.
59143
59144 2012-01-09 Ulrich Drepper <drepper@gmail.com>
59145
59146 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
59147
59148 2012-01-08 Ulrich Drepper <drepper@gmail.com>
59149
59150 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
59151
59152 * io/Makefile (headers): Add bits/poll2.h.
59153
59154 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
59155
59156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
59157 typo #include statement.
59158
59159 2012-01-08 Ulrich Drepper <drepper@gmail.com>
59160
59161 * include/sys/cdefs.h: Define __attribute_alloc_size.
59162 * catgets/gencat.c: Add alloc_size attribute and apply consistently
59163 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
59164 * elf/pldd.c: Likewise.
59165 * iconv/iconv_charmap.c: Likewise.
59166 * iconv/iconvconfig.c: Likewise.
59167 * iconv/strtab.c: Likewise.
59168 * locale/programs/locale.c: Likewise.
59169 * locale/programs/localedef.h: Likewise.
59170 * locale/programs/simple-hash.c: Likewise.
59171 * nscd/nscd.h: Likewise.
59172 * nss/makedb.c: Likewise.
59173 * sysdeps/generic/ldconfig.h: Likewise.
59174 * locale/programs/localedef.c: Remove xmalloc prototype.
59175 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
59176
59177 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
59178
59179 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
59180 appropriate.
59181
59182 2012-01-08 Ulrich Drepper <drepper@gmail.com>
59183
59184 * math/Makefile (tests): Add tst-CMPLX.
59185 * math/tst-CMPLX.c: New file.
59186
59187 * math/complex.h (CMPLXL): Fix typo.
59188
59189 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
59190 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
59191 GLIBC_2.16.
59192 * debug/tst-chk1.c: Add poll and ppoll tests.
59193 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
59194 * include/sys/poll.h: Add hidden proto for ppoll.
59195 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
59196 * sysdeps/mach/hurd/ppoll.c: Likewise.
59197 * io/ppoll.c: Likewise.
59198 * debug/poll_chk.c: New file.
59199 * debug/ppoll_chk.c: New file.
59200 * include/bits/poll2.h: New file.
59201 * io/bits/poll2.h: New file.
59202
59203 [BZ #1350]
59204 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
59205
59206 * configure.in: static is always set to yes. Remove.
59207 * config.make.in: Don't set build-static.
59208 * Makeconfig: Remove use of build-static.
59209 * dlfcn/Makefile: Likewise.
59210 * elf/Makefile: Likewise.
59211 * math/Makefile: Likewise.
59212 * misc/Makefile: Likewise.
59213 * nptl/Makefile: Likewise.
59214 * sysdeps/mach/hurd/Makefile: Likewise.
59215
59216 * configure.in: PWD_P is not used anymore.
59217 * config.make.in: Remove PWD_P entry.
59218
59219 * configure.in: Remove last remnants of RANLIB.
59220 No need to check for signed size_t anymore.
59221 Don't set libc_commonpagesize and libc_relro_required here for Alpha
59222 and IA-64.
59223 Remove __builtin_expect test because we require at least gcc 3.4.
59224 * aclocal.m4: Likewise.
59225
59226 * wcsmbs/mbrtoc16.c: Implement using towc function.
59227 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
59228 * wcsmbs/wcsmbsload.c: Likewise.
59229 * iconv/gconv_simple.c: Likewise.
59230 * iconv/gconv_int.h: Likewise.
59231 * iconv/gconv_builtin.h: Likewise.
59232 * iconv/iconv_prog.c: Remove CHAR16 handling.
59233
59234 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
59235
59236 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
59237
59238 * configure.in: Remove --with-elf and --enable-bounded options.
59239 Dont set base_machine for ia64. More non-ELF conditions removed.
59240 Remove testing and setting of leading underscore information.
59241 * config.make.in (build-bounded): Set to no.
59242 * config.h.in: Remove NO_UNDERSCORES entry.
59243 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
59244 them.
59245 * csu/start.c: Remove !NO_UNDERSCORE code.
59246 * locale/localeinfo.h: Likewise.
59247 * sysdeps/generic/machine-gmon.h: Likewise.
59248 * sysdeps/generic/sysdep.h: Likewise.
59249 * sysdeps/i386/sysdep.h: Likewise.
59250 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
59251 * sysdeps/mach/sysdep.h: Likewise.
59252 * sysdeps/s390/s390-32/sysdep.h: Likewise.
59253 * sysdeps/s390/s390-64/sysdep.h: Likewise.
59254 * sysdeps/sh/sysdep.h: Likewise.
59255 * sysdeps/sparc/sparc32/alloca.S: Likewise.
59256 * sysdeps/unix/i386/sysdep.S: Likewise.
59257 * sysdeps/unix/sparc/start.c: Likewise.
59258 * sysdeps/unix/sparc/sysdep.S: Likewise.
59259 * sysdeps/unix/sparc/sysdep.h: Likewise.
59260 * sysdeps/unix/start.c: Likewise.
59261 * sysdeps/unix/x86_64/sysdep.S: Likewise.
59262 * sysdeps/x86_64/sysdep.h: Likewise.
59263
59264 2012-01-07 Ulrich Drepper <drepper@gmail.com>
59265
59266 [BZ #13553]
59267 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
59268 for non-gcc.
59269 * argp/argp-fmtstream.h: Use const instead __const.
59270 * argp/argp.h: Likewise.
59271 * assert/assert.h: Likewise.
59272 * bits/fenv.h: Likewise.
59273 * bits/sched.h: Likewise.
59274 * bits/sigset.h: Likewise.
59275 * bits/sigthread.h: Likewise.
59276 * catgets/nl_types.h: Likewise.
59277 * conform/data/pthread.h-data: Likewise.
59278 * crypt/crypt-private.h: Likewise.
59279 * crypt/crypt.h: Likewise.
59280 * crypt/crypt_util.c: Likewise.
59281 * ctype/ctype.h: Likewise.
59282 * debug/execinfo.h: Likewise.
59283 * debug/mbsnrtowcs_chk.c: Likewise.
59284 * debug/mbsrtowcs_chk.c: Likewise.
59285 * debug/wcsnrtombs_chk.c: Likewise.
59286 * debug/wcsrtombs_chk.c: Likewise.
59287 * debug/wcstombs_chk.c: Likewise.
59288 * dirent/dirent.h: Likewise.
59289 * dlfcn/dlfcn.h: Likewise.
59290 * elf/neededtest4.c: Likewise.
59291 * grp/grp.h: Likewise.
59292 * gshadow/gshadow.h: Likewise.
59293 * iconv/gconv.h: Likewise.
59294 * iconv/gconv_int.h: Likewise.
59295 * iconv/gconv_simple.c: Likewise.
59296 * iconv/iconv.h: Likewise.
59297 * iconv/loop.c: Likewise.
59298 * iconv/skeleton.c: Likewise.
59299 * include/aio.h: Likewise.
59300 * include/aliases.h: Likewise.
59301 * include/argz.h: Likewise.
59302 * include/arpa/inet.h: Likewise.
59303 * include/assert.h: Likewise.
59304 * include/dirent.h: Likewise.
59305 * include/dlfcn.h: Likewise.
59306 * include/execinfo.h: Likewise.
59307 * include/fcntl.h: Likewise.
59308 * include/fenv.h: Likewise.
59309 * include/glob.h: Likewise.
59310 * include/grp.h: Likewise.
59311 * include/libintl.h: Likewise.
59312 * include/mntent.h: Likewise.
59313 * include/netdb.h: Likewise.
59314 * include/pwd.h: Likewise.
59315 * include/rpc/netdb.h: Likewise.
59316 * include/sched.h: Likewise.
59317 * include/search.h: Likewise.
59318 * include/shadow.h: Likewise.
59319 * include/signal.h: Likewise.
59320 * include/stdio.h: Likewise.
59321 * include/stdlib.h: Likewise.
59322 * include/string.h: Likewise.
59323 * include/sys/socket.h: Likewise.
59324 * include/sys/stat.h: Likewise.
59325 * include/sys/statfs.h: Likewise.
59326 * include/sys/statvfs.h: Likewise.
59327 * include/sys/syslog.h: Likewise.
59328 * include/sys/time.h: Likewise.
59329 * include/sys/uio.h: Likewise.
59330 * include/time.h: Likewise.
59331 * include/unistd.h: Likewise.
59332 * include/utmp.h: Likewise.
59333 * include/wchar.h: Likewise.
59334 * include/wctype.h: Likewise.
59335 * inet/aliases.h: Likewise.
59336 * inet/arpa/inet.h: Likewise.
59337 * inet/netinet/ether.h: Likewise.
59338 * inet/netinet/in.h: Likewise.
59339 * intl/libintl.h: Likewise.
59340 * io/bits/fcntl2.h: Likewise.
59341 * io/fcntl.h: Likewise.
59342 * io/ftw.h: Likewise.
59343 * io/sys/poll.h: Likewise.
59344 * io/sys/stat.h: Likewise.
59345 * io/sys/statfs.h: Likewise.
59346 * io/sys/statvfs.h: Likewise.
59347 * io/utime.h: Likewise.
59348 * libio/bits/stdio.h: Likewise.
59349 * libio/bits/stdio2.h: Likewise.
59350 * libio/libio.h: Likewise.
59351 * libio/libioP.h: Likewise.
59352 * libio/stdio.h: Likewise.
59353 * locale/lc-ctype.c: Likewise.
59354 * locale/locale.h: Likewise.
59355 * login/utmp.h: Likewise.
59356 * malloc/arena.c: Likewise.
59357 * malloc/malloc.c: Likewise.
59358 * malloc/malloc.h: Likewise.
59359 * malloc/mcheck.c: Likewise.
59360 * malloc/mtrace.c: Likewise.
59361 * math/bits/mathcalls.h: Likewise.
59362 * math/fenv.h: Likewise.
59363 * math/math_private.h: Likewise.
59364 * misc/bits/error.h: Likewise.
59365 * misc/bits/syslog.h: Likewise.
59366 * misc/err.h: Likewise.
59367 * misc/error.h: Likewise.
59368 * misc/fstab.h: Likewise.
59369 * misc/mntent.h: Likewise.
59370 * misc/regexp.h: Likewise.
59371 * misc/search.h: Likewise.
59372 * misc/sgtty.h: Likewise.
59373 * misc/sys/mman.h: Likewise.
59374 * misc/sys/syslog.h: Likewise.
59375 * misc/sys/uio.h: Likewise.
59376 * misc/sys/xattr.h: Likewise.
59377 * misc/ttyent.h: Likewise.
59378 * nis/rpcsvc/ypclnt.h: Likewise.
59379 * nss/nss.h: Likewise.
59380 * posix/bits/unistd.h: Likewise.
59381 * posix/fnmatch.h: Likewise.
59382 * posix/glob.h: Likewise.
59383 * posix/sched.h: Likewise.
59384 * posix/spawn.h: Likewise.
59385 * posix/sys/wait.h: Likewise.
59386 * posix/unistd.h: Likewise.
59387 * posix/wordexp.h: Likewise.
59388 * pwd/pwd.h: Likewise.
59389 * resolv/netdb.h: Likewise.
59390 * resource/sys/resource.h: Likewise.
59391 * rt/aio.h: Likewise.
59392 * rt/bits/mqueue2.h: Likewise.
59393 * rt/mqueue.h: Likewise.
59394 * shadow/shadow.h: Likewise.
59395 * signal/signal.h: Likewise.
59396 * socket/send.c: Likewise.
59397 * socket/sendto.c: Likewise.
59398 * socket/sys/socket.h: Likewise.
59399 * stdio-common/printf.h: Likewise.
59400 * stdlib/bits/stdlib.h: Likewise.
59401 * stdlib/fmtmsg.h: Likewise.
59402 * stdlib/monetary.h: Likewise.
59403 * stdlib/stdlib.h: Likewise.
59404 * stdlib/ucontext.h: Likewise.
59405 * streams/stropts.h: Likewise.
59406 * string/argz.h: Likewise.
59407 * string/bits/string2.h: Likewise.
59408 * string/string.h: Likewise.
59409 * string/strings.h: Likewise.
59410 * sunrpc/rpc/auth.h: Likewise.
59411 * sunrpc/rpc/auth_des.h: Likewise.
59412 * sunrpc/rpc/clnt.h: Likewise.
59413 * sunrpc/rpc/netdb.h: Likewise.
59414 * sunrpc/rpc/pmap_clnt.h: Likewise.
59415 * sunrpc/rpc/xdr.h: Likewise.
59416 * sysdeps/generic/inttypes.h: Likewise.
59417 * sysdeps/generic/net/if.h: Likewise.
59418 * sysdeps/generic/sys/swap.h: Likewise.
59419 * sysdeps/gnu/net/if.h: Likewise.
59420 * sysdeps/gnu/utmpx.h: Likewise.
59421 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
59422 * sysdeps/i386/i486/bits/string.h: Likewise.
59423 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
59424 * sysdeps/s390/bits/string.h: Likewise.
59425 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
59426 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
59427 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
59428 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
59429 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
59430 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
59431 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
59432 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
59433 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
59434 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
59435 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
59436 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
59437 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
59438 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
59439 * sysdeps/unix/sysv/linux/readv.c: Likewise.
59440 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
59441 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
59442 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
59443 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
59444 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
59445 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
59446 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
59447 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
59448 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
59449 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
59450 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
59451 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
59452 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
59453 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
59454 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
59455 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
59456 * sysvipc/sys/ipc.h: Likewise.
59457 * sysvipc/sys/msg.h: Likewise.
59458 * sysvipc/sys/sem.h: Likewise.
59459 * sysvipc/sys/shm.h: Likewise.
59460 * termios/termios.h: Likewise.
59461 * time/sys/time.h: Likewise.
59462 * time/time.h: Likewise.
59463 * wcsmbs/bits/wchar2.h: Likewise.
59464 * wcsmbs/uchar.h: Likewise.
59465 * wcsmbs/wchar.h: Likewise.
59466 * wctype/wctype.h: Likewise.
59467
59468 [BZ #13551]
59469 * Makeconfig: Remove all but ELF support including AIX support.
59470 * Makerules: Likewise.
59471 * config.h.in: Likewise.
59472 * config.make.in: Likewise.
59473 * configure: Likewise.
59474 * configure.in: Likewise.
59475 * csu/Makefile: Likewise.
59476 * csu/version.c: Likewise.
59477 * debug/Makefile: Likewise.
59478 * dlfcn/Makefile: Likewise.
59479 * elf/Makefile: Likewise.
59480 * extra-lib.mk: Likewise.
59481 * iconv/Makefile: Likewise.
59482 * include/libc-symbols.h: Likewise.
59483 * include/shlib-compat.h: Likewise.
59484 * resolv/Makefile: Likewise.
59485 * resolv/res_libc.c: Likewise.
59486 * rt/Makefile: Likewise.
59487 * sysdeps/i386/asm-syntax.h: Likewise.
59488 * sysdeps/i386/sysdep.h: Likewise.
59489 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
59490 * sysdeps/mach/sysdep.h: Likewise.
59491 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
59492 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
59493 * sysdeps/s390/asm-syntax.h: Likewise.
59494 * sysdeps/s390/s390-32/sysdep.h: Likewise.
59495 * sysdeps/s390/s390-64/sysdep.h: Likewise.
59496 * sysdeps/sh/sysdep.h: Likewise.
59497 * sysdeps/unix/sparc/sysdep.h: Likewise.
59498 * sysdeps/wordsize-32/divdi3.c: Likewise.
59499 * sysdeps/x86_64/sysdep.h: Likewise.
59500
59501 * argp/Versions: Remove _argp_unlock_xxx.
59502
59503 [BZ #13559]
59504 * abilist/ld.abilist: Update. Adjust for removal of tls option.
59505 * abilist/libBrokenLocale.abilist: Likewise.
59506 * abilist/libanl.abilist: Likewise.
59507 * abilist/libc.abilist: Likewise.
59508 * abilist/libcrypt.abilist: Likewise.
59509 * abilist/libdl.abilist: Likewise.
59510 * abilist/libm.abilist: Likewise.
59511 * abilist/libnsl.abilist: Likewise.
59512 * abilist/libpthread.abilist: Likewise.
59513 * abilist/libresolv.abilist: Likewise.
59514 * abilist/librt.abilist: Likewise.
59515 * abilist/libthread_db.abilist: Likewise.
59516 * abilist/libutil.abilist: Likewise.
59517 * abilist/libnss_db.abilist: New file.
59518
59519 * scripts/abilist.awk: Add support for indirect functions.
59520
59521 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
59522
59523 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
59524
59525 * shlib-versions: Remove entries for ports architectures.
59526
59527 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
59528 files in ports.
59529 * elf/stackguard-macros.h: Remove support for IA-64.
59530 * elf/tst-auditmod1.c: Likewise.
59531 * sysdeps/generic/ldsodefs.h: Likewise.
59532
59533 * sysdeps/unix/sysv/linux/configure.in: Ports should define
59534 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
59535 configure files.
59536
59537 [BZ #13552]
59538 * configure.in: Remove --enable-omitfp support.
59539 * FAQ.in: Adjust.
59540 * config.make.in: Likewise.
59541 * Makeconfig: Likewise.
59542 * manual/install.texi: Likewise.
59543
59544 In case anyone cares, the IA-64 architecture could move to ports.
59545 * sysdeps/ia64/*: Removed.
59546 * sysdeps/unix/sysv/linux/ia64/*: Removed.
59547 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
59548
59549 [BZ #13555]
59550 * configure.in: Remove entries for unsupported architectures.
59551
59552 [BZ #13533]
59553 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
59554 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
59555 routines.
59556 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
59557 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
59558 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
59559 fall back to using wcrtomb.
59560 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
59561 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
59562 renaming.
59563 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
59564 * wcsmbs/tst-c16c32-1.c: New file.
59565
59566 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
59567 local variable.
59568
59569 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
59570
59571 * elf/tst-unique3.cc: Add explicit declaration of gets.
59572 * elf/tst-unique3lib.cc: Likewise.
59573 * elf/tst-unique3lib2.cc: Likewise.
59574 * elf/tst-unique4.cc: Likewise.
59575
59576 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
59577
59578 2012-01-06 Joseph Myers <joseph@codesourcery.com>
59579
59580 [BZ #13566]
59581 * assert/assert.h (static_assert): Don't define for C++.
59582 * libio/stdio.h (gets): Do declare for C++ <= C++11.
59583 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
59584
59585 2012-01-03 Ulrich Drepper <drepper@gmail.com>
59586
59587 * iconv/loop.c (single loop): Fix assertion in storing of
59588 remaining bytes.
59589
59590 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
59591
59592 2012-01-01 Ulrich Drepper <drepper@gmail.com>
59593
59594 * posix/getconf.c: Update copyright year.
59595 * nss/getent.c: Likewise.
59596 * nss/makedb.c: Likewise.
59597 * iconv/iconvconfig.c: Likewise.
59598 * iconv/iconv_prog.c: Likewise.
59599 * elf/ldconfig.c: Likewise.
59600 * elf/pldd.c: Likewise.
59601 * elf/sotruss.ksh: Likewise.
59602 * catgets/gencat.c: Likewise.
59603 * csu/version.c: Likewise.
59604 * elf/ldd.bash.in: Likewise.
59605 * elf/sprof.c (print_version): Likewise.
59606 * locale/programs/locale.c: Likewise.
59607 * locale/programs/localedef.c: Likewise.
59608 * login/programs/pt_chown.c: Likewise.
59609 * nscd/nscd.c (print_version): Likewise.
59610 * debug/xtrace.sh: Likewise.
59611 * malloc/memusage.sh: Likewise.
59612 * malloc/mtrace.pl: Likewise.
59613 * debug/catchsegv.sh: Likewise.
59614
59615 2011-12-30 Jakub Jelinek <jakub@redhat.com>
59616
59617 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
59618 pure attribute.
59619
59620 2011-12-24 Ulrich Drepper <drepper@gmail.com>
59621
59622 [BZ #13533]
59623 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
59624 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
59625 transformations.
59626 * iconv/gconv_int.h: Likewise.
59627 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
59628 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
59629 from libc for GLIBC_2.16.
59630 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
59631 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
59632 * wcsmbs/uchar.h: Really define mbstate_t.
59633 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
59634 * wcsmbs/c16rtomb.c: New file.
59635 * wcsmbs/mbrtoc16.c: New file.
59636 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
59637 for C/POSIX locale.
59638 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
59639 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
59640
59641 * wcsmbs/wchar.h: Add missing __restrict.
59642
59643 2011-12-23 Ulrich Drepper <drepper@gmail.com>
59644
59645 [BZ #13532]
59646 * time/Makefile (routines): Add timespec_get.
59647 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
59648 * time/time.h: Define TIME_UTC and declare timespec_get. Define
59649 timespec for ISO C11.
59650 * time/timespec_get.c: New file.
59651 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
59652 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
59653
59654 [BZ #13531]
59655 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
59656 * stdlib/stdlib.h: Declare aligned_alloc.
59657 * Versions.def: Add GLIBC_2.16 for libc.
59658 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
59659
59660 [BZ 13527]
59661 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
59662 ISO C11.
59663
59664 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
59665 code.
59666
59667 [BZ #13528]
59668 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
59669
59670 [BZ #13529]
59671 * assert/assert.h (static_assert): Define.
59672
59673 * version.h: Update for 2.16 development version.
59674
59675 [BZ #13526]
59676 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
59677 _ISOC11_SOURCE.
59678
59679 * version.h (RELEASE): Bump for 2.15 release.
59680 * include/features.h (__GLIBC_MINOR__): Bump to 15.
59681
59682 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
59683 Patch by Marek Polacek <mpolacek@redhat.com>.
59684
59685 * bits/byteswap.h: Protect long long constants with __extension__.
59686 * sysdeps/i386/bits/byteswap.h: Likewise.
59687 * sysdeps/ia64/bits/byteswap.h: Likewise.
59688 * sysdeps/s390/bits/byteswap.h: Likewise.
59689 * sysdeps/x86_64/bits/byteswap.h: Likewise.
59690
59691 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59692
59693 [BZ #13540]
59694 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
59695 destination buffer.
59696 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
59697
59698 2011-12-23 Marek Polacek <polacek@redhat.com>
59699
59700 * elf/dl-addr.c (determine_info): Add inline keyword.
59701 * elf/tst-auditmod4b.c (check_avx): Likewise.
59702 * elf/tst-auditmod6b.c (check_avx): Likewise.
59703 * elf/tst-auditmod6c.c (check_avx): Likewise.
59704 * elf/tst-auditmod7b.c (check_avx): Likewise.
59705
59706 2011-12-23 Ulrich Drepper <drepper@gmail.com>
59707
59708 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
59709 !__SSE_MATH__.
59710
59711 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59712
59713 [BZ #13540]
59714 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
59715 processing for last bytes.
59716
59717 2011-08-06 Bruno Haible <bruno@clisp.org>
59718
59719 [BZ #13061]
59720 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
59721 U+0385, not to U+1FEE.
59722
59723 [BZ #13062]
59724 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
59725 entry for U+00A5 U+0301.
59726
59727 2011-12-22 Ulrich Drepper <drepper@gmail.com>
59728
59729 [BZ #13166]
59730 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
59731 buffer for the output is too small.
59732
59733 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
59734 optimization.
59735
59736 [BZ #13185]
59737 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
59738 SSE flags if possible.
59739
59740 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59741
59742 [BZ #13540]
59743 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
59744 processing for last bytes.
59745
59746 2011-12-22 Joseph Myers <joseph@codesourcery.com>
59747
59748 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
59749 (syscall-list-default-options, syscall-list-default-condition)
59750 (syscall-list-includes): Define.
59751 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
59752 list of ABIs and options and #if conditions for each ABI. Do not
59753 handle common syscalls between ABIs specially.
59754 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
59755 Remove.
59756 (syscall-list-variants, syscall-list-32bit-options)
59757 (syscall-list-32bit-condition, syscall-list-64bit-options)
59758 (syscall-list-64bit-condition): Define.
59759 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
59760 (syscall-list-variants, syscall-list-32bit-options)
59761 (syscall-list-32bit-condition, syscall-list-64bit-options)
59762 (syscall-list-64bit-condition): Define.
59763 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
59764 Remove.
59765 (syscall-list-variants, syscall-list-32bit-options)
59766 (syscall-list-32bit-condition, syscall-list-64bit-options)
59767 (syscall-list-64bit-condition): Define.
59768 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
59769 Remove.
59770 (syscall-list-variants, syscall-list-32bit-options)
59771 (syscall-list-32bit-condition, syscall-list-64bit-options)
59772 (syscall-list-64bit-condition): Define.
59773
59774 2011-12-22 Ulrich Drepper <drepper@gmail.com>
59775
59776 * locale/iso-639.def: Add brx entry.
59777
59778 [BZ #13328]
59779 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
59780 Proposed by Mariusz_Cukr <marcukr@op.pl>.
59781
59782 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
59783 __feraiseexcept_renamed.
59784
59785 2011-12-21 Ulrich Drepper <drepper@gmail.com>
59786
59787 [BZ #13538]
59788 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
59789 EPOLLET with unsigned values.
59790 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
59791 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
59792
59793 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
59794 to large cancellation.
59795 * math/s_cacoshf.c: Likewise.
59796 * math/s_cacoshl.c: Likewise.
59797
59798 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
59799
59800 [BZ #13305]
59801 [BZ #12786]
59802 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
59803 * math/s_cacoshf.c: Likewise.
59804 * math/s_cacoshl.c: Likewise.
59805
59806 2011-12-21 Ulrich Drepper <drepper@gmail.com>
59807
59808 [BZ #13439]
59809 * iconv/gconv.h: Define __GCONV_SWAP.
59810 * iconvdata/unicode.c: The swap bit must be stored in __flags.
59811 * iconvdata/utf-16.c: Likewise.
59812 * iconvdata/utf-32.c: Likewise.
59813
59814 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
59815
59816 [BZ #13524]
59817 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
59818 numerator after shifting it by one limb.
59819
59820 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
59821
59822 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
59823 under [__USE_EXTERN_INLINES].
59824
59825 2011-12-17 Ulrich Drepper <drepper@gmail.com>
59826
59827 [BZ #13446]
59828 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
59829
59830 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59831
59832 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
59833 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
59834 optimized code.
59835 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
59836 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
59837 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
59838 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
59839 for strncasecmp/strncasecmp_l compilation.
59840 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
59841 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
59842
59843 2011-12-08 Marek Polacek <mpolacek@redhat.com>
59844
59845 [BZ #13484]
59846 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
59847 of __asm__.
59848
59849 2011-12-17 Ulrich Drepper <drepper@gmail.com>
59850
59851 [BZ #13506]
59852 * time/tzfile.c (__tzfile_read): Check values from file header.
59853
59854 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
59855
59856 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
59857 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
59858 * powerpc/powerpc32/dl-start.S: Likewise.
59859 * powerpc/powerpc32/elf/start.S: Likewise.
59860 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
59861 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
59862 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
59863 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
59864 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
59865 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
59866 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
59867 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
59868 * powerpc/powerpc32/fpu/s_round.S: Likewise.
59869 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
59870 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
59871 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
59872 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
59873 * powerpc/powerpc32/memset.S: Likewise.
59874 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
59875 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
59876 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
59877 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
59878 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
59879 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
59880 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
59881 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
59882 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
59883 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
59884 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
59885 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
59886 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
59887
59888 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59889
59890 * math/libm-test.inc: Added more nearbyint tests.
59891 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
59892 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
59893 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
59894 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
59895
59896 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
59897
59898 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
59899 FD_CLOEXEC.
59900
59901 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59902
59903 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
59904 Add wcscpy-ssse3 wcscpy-c.
59905 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
59906 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
59907 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
59908 * sysdeps/x86_64/wcschr.S: New file.
59909 * sysdeps/x86_64/wcsrchr.S: New file.
59910 * string/test-strcmp.c: Remove checking of wcscmp function for
59911 wrong alignments.
59912 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
59913 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
59914 wcsrchr-sse2 wcsrchr-c.
59915 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
59916 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
59917 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
59918 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
59919 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
59920 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
59921 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
59922 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
59923 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
59924 * wcsmbc/wcschr.c (WCSCHR): New macro.
59925
59926 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59927
59928 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
59929 * wcsmbs/test-wcsrchr.c: New file.
59930 * string/test-strrchr.c: Add wcsrchr support.
59931 (WIDE): New macro.
59932 * wcsmbs/test-wcscpy.c: New file.
59933 * string/test-strcpy.c: Add wcscpy support.
59934 (WIDE): New macro.
59935
59936 2011-12-10 Ulrich Drepper <drepper@gmail.com>
59937
59938 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
59939 the inner loop.
59940
59941 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
59942
59943 [BZ #13472]
59944 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
59945
59946 2011-12-04 Ulrich Drepper <drepper@gmail.com>
59947
59948 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
59949 Minor optimizations.
59950
59951 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
59952 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
59953 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
59954
59955 2011-12-03 Ulrich Drepper <drepper@gmail.com>
59956
59957 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
59958 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
59959 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
59960 for gcc to avoid warnings.
59961 * inet/Makefile (tests): Add tst-checks.
59962 * inet/tst-checks.c: New file.
59963
59964 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
59965 warning.
59966
59967 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
59968 __wmemcmp_sse2.
59969
59970 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
59971 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
59972
59973 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
59974
59975 2011-12-02 Ulrich Drepper <drepper@gmail.com>
59976
59977 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
59978 problem.
59979
59980 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
59981
59982 2011-11-29 Joseph Myers <joseph@codesourcery.com>
59983
59984 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
59985 conditional on GCC version.
59986 (__arch_compare_and_exchange_val_8_acq)
59987 (__arch_compare_and_exchange_val_16_acq)
59988 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
59989 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
59990 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
59991
59992 2011-12-02 Joseph Myers <joseph@codesourcery.com>
59993
59994 * sysdeps/sh/backtrace.c: New file.
59995
59996 2011-12-02 Andreas Schwab <schwab@redhat.com>
59997
59998 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
59999 parenthesis.
60000
60001 2011-12-01 Andreas Schwab <schwab@redhat.com>
60002
60003 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
60004 falling back to utime.
60005
60006 2011-11-30 Andreas Schwab <schwab@redhat.com>
60007
60008 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
60009 expectations for float.
60010
60011 2011-11-29 Andreas Schwab <schwab@redhat.com>
60012
60013 * locale/weight.h (findidx): Add parameter len.
60014 * locale/weightwc.h (findidx): Likewise.
60015 * posix/fnmatch_loop.c (FCT): Adjust caller.
60016 * posix/regcomp.c (build_equiv_class): Likewise.
60017 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
60018 * posix/regexec.c (check_node_accept_bytes): Likewise.
60019 * string/strcoll_l.c (STRCOLL): Likewise.
60020 * string/strxfrm_l.c (STRXFRM): Likewise.
60021
60022 2011-11-17 Ulrich Drepper <drepper@gmail.com>
60023
60024 * Makefile.in: Remove CVSOPT handling.
60025 * configure.in: Remove use of AC_REVISION.
60026 * iconvdata/Makefile (distribute): No need to filter out CVS.
60027 * scripts/list-sources.sh: Remove CVS, subversion and monotone
60028 handling.
60029
60030 2011-11-16 Andreas Schwab <schwab@redhat.com>
60031
60032 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
60033 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
60034 [USE_AS_STRNCASECMP_L]: Likewise.
60035 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
60036 NO_TLS_DIRECT_SEG_REFS.
60037 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
60038 Fix argument offsets for non-PIC.
60039 [USE_AS_STRNCASECMP_L]: Likewise.
60040 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
60041 NO_TLS_DIRECT_SEG_REFS.
60042
60043 2011-11-15 Ulrich Drepper <drepper@gmail.com>
60044
60045 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
60046 O_CLOEXEC.
60047 * locale/loadlocale.c (_nl_load_locale): Likewise.
60048
60049 2011-11-15 Andreas Schwab <schwab@redhat.com>
60050
60051 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
60052 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
60053 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
60054 (SYSCALL_GETTIME): Set errno on error.
60055
60056 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
60057 count references to noai6ai_cached.
60058
60059 2011-11-15 Ulrich Drepper <drepper@gmail.com>
60060
60061 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
60062
60063 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
60064 FD_CLOEXEC for /proc/self/maps.
60065
60066 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
60067 FD_CLOEXEC for /proc/meminfo.
60068
60069 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
60070 gai.conf.
60071
60072 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
60073 FD_CLOEXEC for given file.
60074
60075 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
60076
60077 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
60078 FD_CLOEXEC for /etc/hosts.
60079 (_gethtent): Likewise.
60080
60081 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
60082
60083 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
60084 cancellation and set FD_CLOEXEC for /etc/netgroup.
60085
60086 * nss/nss_files/files-key.c (search): Don't allow cancellation when
60087 reading /etc/publickey.
60088
60089 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
60090 allow cancellation when reading /etc/group.
60091
60092 * nss/nss_files/files-alias.c (internal_setent): Don't allow
60093 cancellation.
60094 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
60095
60096 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
60097 when using data file.
60098
60099 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
60100
60101 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
60102 (write_nis_obj): Use "c" and "e" in fopen.
60103
60104 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
60105
60106 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
60107
60108 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
60109
60110 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
60111
60112 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
60113 locale.alias.
60114
60115 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
60116
60117 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
60118
60119 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
60120
60121 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
60122 file parsing and set FD_CLOEXEC.
60123
60124 2011-11-14 Ulrich Drepper <drepper@gmail.com>
60125
60126 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
60127
60128 2011-11-14 Andreas Schwab <schwab@redhat.com>
60129
60130 * malloc/arena.c (arena_get2): Don't call reused_arena when
60131 _int_new_arena failed.
60132
60133 2011-11-14 Ulrich Drepper <drepper@gmail.com>
60134
60135 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
60136 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
60137 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
60138 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
60139 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
60140 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
60141 to compile strcasecmp and strncasecmp.
60142 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
60143 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
60144
60145 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
60146
60147 2011-11-13 Ulrich Drepper <drepper@gmail.com>
60148
60149 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
60150 locale-defines.sym to gen-as-const-headers.
60151 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
60152 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
60153 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
60154 to compile strcasecmp and strncasecmp.
60155 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
60156 strcasecmp_l and strncasecmp_l.
60157 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
60158 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
60159 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
60160 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
60161 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
60162 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
60163 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
60164 * sysdeps/i386/i686/multiarch/strncase.S: New file.
60165 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
60166 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
60167 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
60168
60169 2011-11-12 Ulrich Drepper <drepper@gmail.com>
60170
60171 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
60172 result of SYSDEP_GETTIME_CPU to retval.
60173 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
60174 parameter list to macro. Remove trailing semicolon. Adjust users.
60175
60176 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
60177 variable.
60178
60179 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
60180 mantissa words.
60181 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
60182
60183 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
60184 from unused variable.
60185
60186 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
60187 DWARF definitions.
60188 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
60189 for assembling.
60190
60191 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
60192 over namespaces.
60193
60194 * sunrpc/rpc_prot.c (rejected): Fix case value.
60195
60196 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
60197 unsigned long long int to avoid warnings in shift.
60198
60199 * posix/regex_internal.c (re_string_reconstruct): Actually use result
60200 of use of trans.
60201 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
60202 variable tmp.
60203
60204 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
60205 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
60206 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
60207
60208 * nis/nis_table.c (nis_list): Use variable of correct type for
60209 result of __follow_path call.
60210
60211 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60212
60213 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
60214 of math functions ceil, trunc, floor, round, and sqrt, when
60215 avaliable on the platform.
60216 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
60217 name clash.
60218 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
60219 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
60220 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
60221
60222 2011-10-30 Marek Polacek <mpolacek@redhat.com>
60223
60224 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
60225 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
60226
60227 2011-11-11 Roland McGrath <roland@hack.frob.com>
60228
60229 * include/unistd.h: Fix __readlink return type.
60230 Reported by Chris Metcalf <cmetcalf@tilera.com>.
60231
60232 2011-11-11 Ulrich Drepper <drepper@gmail.com>
60233
60234 * stdlib/ucontext.h: Undo last change for makecontext.
60235
60236 2011-11-11 Andreas Schwab <schwab@redhat.com>
60237
60238 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
60239
60240 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
60241 * setjmp/setjmp.h: Mark functions as non-leaf.
60242 * setjmp/bits/setjmp2.h: Likewise.
60243 * stdlib/ucontext.h: Likewise.
60244
60245 2011-11-10 Andreas Schwab <schwab@redhat.com>
60246
60247 * malloc/arena.c (_int_new_arena): Don't increment narenas.
60248 (reused_arena): Don't check arena limit.
60249 (arena_get2): Atomically check arena limit.
60250
60251 2011-11-08 Ulrich Drepper <drepper@gmail.com>
60252
60253 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
60254 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
60255
60256 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
60257 instructions.
60258
60259 2011-11-07 Andreas Schwab <schwab@redhat.com>
60260
60261 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
60262 handler when locking.
60263
60264 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
60265 Fix size of allocated buffer.
60266
60267 2011-11-04 Andreas Schwab <schwab@redhat.com>
60268
60269 [BZ #10103]
60270 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
60271 declarations for long double functions.
60272 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
60273
60274 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
60275
60276 2011-11-03 Andreas Schwab <schwab@redhat.com>
60277
60278 * nscd/nscd.c (main): Don't start AVC thread until credentials are
60279 installed.
60280
60281 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
60282 is disabled.
60283
60284 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
60285
60286 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
60287
60288 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
60289
60290 * include/alloca.h (stackinfo_alloca_round): Define.
60291 (extend_alloca): Use it.
60292 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
60293 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
60294 here.
60295
60296 * scripts/check-local-headers.sh: Ignore libaudit.h.
60297
60298 * nscd/Makefile (extra-objs): Make recursively expanded.
60299
60300 2011-11-01 Ulrich Drepper <drepper@gmail.com>
60301
60302 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
60303 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
60304
60305 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
60306 * posix/tst-rfc3484-2.c: Likewise.
60307 * posix/tst-rfc3484-3.c: Likewise.
60308
60309 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
60310 process_vm_writev.
60311 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
60312 process_vm_writev.
60313 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
60314 process_vm_writev from libc using GLIBC_2.15 version.
60315
60316 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
60317
60318 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
60319
60320 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
60321 stack usage.
60322
60323 2011-10-31 Ulrich Drepper <drepper@gmail.com>
60324
60325 [BZ #13367]
60326 * nss/getent.c (initgroups_keys): Show error message in case no group
60327 names are given.
60328
60329 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
60330 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
60331 __bump_nl_timestamp.
60332 * nscd/connections (nscd_init): When host database is served open
60333 netlink socket and request notification about configuration changes.
60334 (main_loop_poll): Track netlink file descriptor and bump timestamp
60335 in case data becomes available.
60336 (main_loop_epoll): Likewise.
60337 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
60338 (database_pers_head): Add extra_data fileds.
60339 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
60340 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
60341 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
60342 Adjust caller.
60343 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
60344 in6ai data, call __free_in6ai.
60345 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
60346 Add -DHAVE_NETLINK.
60347 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
60348 interface information. Reuse previous data if netlink timestamp
60349 is not changed.
60350 (__bump_nl_timestamp): New function.
60351 (__free_in6ai): New function.
60352
60353 2011-10-30 Ulrich Drepper <drepper@gmail.com>
60354
60355 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
60356 close_not_cancel_no_status here.
60357 (__check_pf): Reorganize code a bit to not call close twice if OOM.
60358
60359 2011-10-29 Ulrich Drepper <drepper@gmail.com>
60360
60361 [BZ #13276]
60362 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
60363 return value.
60364
60365 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
60366 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
60367 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
60368
60369 2011-07-03 Andreas Jaeger <aj@suse.de>
60370
60371 [BZ #10709]
60372 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
60373 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
60374 * math/libm-test.inc (sin_test): Add test case.
60375
60376 2011-10-29 Ulrich Drepper <drepper@gmail.com>
60377
60378 [BZ #13337]
60379 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
60380 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
60381
60382 * elf/chroot_canon.c (chroot_canon): Cleanups.
60383
60384 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
60385
60386 [BZ #13335]
60387 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
60388 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
60389
60390 * string/test-strchr.c: Make usable for strchrnul testing.
60391 * string/test-strchrnul.c: New file.
60392 * string/Makefile (strop-tests): Add strchrnul.
60393
60394 * po/it.po: Update from translation team.
60395 * po/es.po: Likewise.
60396
60397 2011-10-28 Ulrich Drepper <drepper@gmail.com>
60398
60399 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
60400 the three constants needed as parameters. Drop the others.
60401 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
60402 __m128i_strloadu_tolower.
60403 Create and initialize variable zero and use it in all the places
60404 where _mm_setzero_si128 was used.
60405
60406 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
60407 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
60408 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
60409 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
60410 anymore.
60411 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
60412 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
60413 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
60414 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
60415 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
60416 __mpranred, __mptan.
60417 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
60418 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
60419 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
60420 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
60421 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
60422 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
60423 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
60424 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
60425 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
60426
60427 2011-10-28 Andreas Schwab <schwab@redhat.com>
60428
60429 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
60430 redefine if SHARED.
60431 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
60432
60433 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
60434 wide char related routines to wcsmbs subdir.
60435
60436 2011-10-27 Andreas Schwab <schwab@redhat.com>
60437
60438 [BZ #13344]
60439 * misc/sys/cdefs.h (__THROWNL): Define.
60440 * posix/unistd.h: Use __THREADNL instead of __THREAD
60441 for memory synchronization functions.
60442
60443 2011-10-26 Roland McGrath <roland@hack.frob.com>
60444
60445 [BZ #13349]
60446 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
60447 doesn't exist.
60448 * manual/stdio.texi (Obstack Streams): Node removed.
60449
60450 2011-10-26 Andreas Schwab <schwab@redhat.com>
60451
60452 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
60453 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
60454 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
60455
60456 * math/math_private.h (math_force_eval): Allow non-addressable
60457 arguments.
60458 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
60459
60460 2011-10-25 Ulrich Drepper <drepper@gmail.com>
60461
60462 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
60463 file is not needed.
60464
60465 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
60466 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
60467 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
60468 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
60469 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
60470 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
60471 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
60472 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
60473 Add AVX variants.
60474 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
60475 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
60476 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
60477 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
60478 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
60479 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
60480 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
60481 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
60482 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
60483 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
60484 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
60485 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
60486 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
60487 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
60488 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
60489 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
60490 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
60491 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
60492 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
60493
60494 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
60495 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
60496
60497 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
60498 place. Use VEX encoding when compiling for AVX.
60499
60500 2011-10-25 Andreas Schwab <schwab@redhat.com>
60501
60502 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
60503 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
60504
60505 * string/test-strchr.c (do_test): Don't generate NUL bytes.
60506
60507 2011-10-25 Ulrich Drepper <drepper@gmail.com>
60508
60509 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
60510 useless if() expression.
60511 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
60512 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
60513 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
60514 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
60515 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
60516 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
60517 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
60518 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
60519 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
60520 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
60521 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
60522 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
60523 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
60524 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
60525 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
60526 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
60527 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
60528 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
60529 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
60530
60531 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
60532
60533 2011-10-25 Andreas Schwab <schwab@redhat.com>
60534
60535 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
60536 condition.
60537 * elf/dl-fini.c (_dl_sort_fini): Likewise.
60538
60539 2011-10-25 Ulrich Drepper <drepper@gmail.com>
60540
60541 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
60542 .text section. Avoid duplicate constants.
60543 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
60544 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
60545 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
60546 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
60547 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
60548 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
60549 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
60550 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
60551 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
60552 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
60553 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
60554 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
60555 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
60556 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
60557 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
60558 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
60559 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
60560 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
60561 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
60562 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
60563 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
60564 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
60565 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
60566 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
60567 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
60568 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
60569 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
60570 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
60571 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
60572 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
60573 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
60574 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
60575 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
60576 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
60577 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
60578 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
60579 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
60580 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
60581 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
60582 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
60583 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
60584 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
60585 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
60586 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
60587 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
60588
60589 2011-10-24 Ulrich Drepper <drepper@gmail.com>
60590
60591 * sysdeps/x86_64/dla.h: Move to ...
60592 * sysdeps/x86_64/fpu/dla.h: ...here.
60593 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
60594 situations. Use __builtin_fma only for gcc 4.6 and up.
60595
60596 * config.make.in: Add have-mfma4 entry.
60597 * configure.in: Substitute libc_cv_cc_fma4.
60598 * math/Makefile (dbl-only-routines): Add sincostab.
60599 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
60600 Use __sincostab not sincos.
60601 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
60602 name is a macro.
60603 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
60604 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
60605 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
60606 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
60607 using __copysign.
60608 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
60609 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
60610 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
60611 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
60612 and __inv.
60613 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
60614 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
60615 __copysign.
60616 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
60617 define aliases when function name is a macro.
60618 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
60619 sysdeps/ieee754/dbl-64/sincos.tbl.
60620 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
60621 fma4-enabled routines.
60622 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
60623 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
60624 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
60625 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
60626 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
60627 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
60628 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
60629 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
60630 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
60631 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
60632 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
60633 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
60634 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
60635 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
60636 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
60637 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
60638 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
60639 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
60640 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
60641 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
60642 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
60643 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
60644 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
60645 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
60646 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
60647 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
60648 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
60649 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
60650 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
60651 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
60652
60653 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
60654 rename.
60655 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
60656 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
60657 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
60658 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
60659 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
60660 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
60661 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
60662 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
60663
60664 2011-10-24 Andreas Schwab <schwab@redhat.com>
60665
60666 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
60667
60668 2011-10-23 Ulrich Drepper <drepper@gmail.com>
60669
60670 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
60671
60672 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
60673 prediction.
60674 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
60675
60676 * string/strnlen.c: Don't define STRNLEN, reverse logic.
60677 Remove unused variable magic_bits.
60678 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
60679
60680 * string/strnlen.c: Define and use STRNLEN macro.
60681 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
60682 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
60683 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
60684 * wcsmbs/wcslen.c: Define and use WCSLEN.
60685 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
60686 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
60687 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
60688 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
60689 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
60690 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
60691 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
60692
60693 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
60694
60695 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60696 strnlen-sse2-no-bsf.
60697 Rename strlen-no-bsf to strlen-sse2-no-bsf.
60698 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
60699 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
60700 Add strnlen support.
60701 (USE_AS_STRNLEN): New macro.
60702 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
60703 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
60704 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
60705 * sysdeps/x86_64/wcslen.S: New file.
60706
60707 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
60708
60709 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
60710 XMM-moves are used for copying on small sizes.
60711
60712 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
60713
60714 * wcsmbs/Makefile (strop-tests): Add wcschr.
60715 * wcsmbs/test-wcschr.c: New file.
60716 * string/test-strchr.c: Update.
60717 Add wcschr support.
60718 (WIDE): New macro.
60719
60720 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
60721
60722 * wcsmbs/Makefile (strop-tests): Add wcslen.
60723 * wcsmbs/test-wcslen.c: New file.
60724 * string/test-strlen.c: Update.
60725 Add wcslen support.
60726 (WIDE): New macro.
60727
60728 2011-10-23 Ulrich Drepper <drepper@gmail.com>
60729
60730 * po/it.po: Update from translation team.
60731
60732 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
60733
60734 * sysdeps/x86_64/wcscmp.S: Update.
60735 Fix wrong comparison semantics.
60736 wcscmp shall use signed comparison not unsigned.
60737 Don't use substraction to avoid overflow bug.
60738 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
60739 * wcsmbc/wcscmp.c: Likewise.
60740 * string/test-strcmp.c: Likewise.
60741 Add new tests to check cases with negative values.
60742
60743 2011-10-23 Ulrich Drepper <drepper@gmail.com>
60744
60745 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
60746 * sysdeps/x86_64/dla.h: ...here. New file.
60747 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
60748 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
60749 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
60750 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
60751 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
60752 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
60753 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
60754 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
60755 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
60756
60757 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
60758
60759 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
60760 __ynl_finite aliases.
60761
60762 2011-10-22 Ulrich Drepper <drepper@gmail.com>
60763
60764 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60765
60766 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
60767 define DLA_FMA.
60768 [DLA_FMA] (EMULV): Use DLA_FMA.
60769 [DLA_FMA] (MUL12): Use EMULV.
60770 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
60771 that are not needed.
60772 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
60773 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
60774 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
60775 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
60776 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
60777 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
60778 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
60779
60780 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
60781
60782 * math/s_nan.c: Undef __nan.
60783 * math/s_nanf.c: Undef __nanf.
60784 * math/s_nanl.c: Undef __nanl.
60785 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
60786 "math_private.h".
60787
60788 2011-10-22 Ulrich Drepper <drepper@gmail.com>
60789
60790 * math/s_catan.c: Add branch predictions.
60791 * math/s_catanf.c: Likewise.
60792 * math/s_catanh.c: Likewise.
60793 * math/s_catanhf.c: Likewise.
60794 * math/s_catanhl.c: Likewise.
60795 * math/s_catanl.c: Likewise.
60796 * math/s_cexp.c: Likewise.
60797 * math/s_cexpf.c: Likewise.
60798 * math/s_cexpl.c: Likewise.
60799 * math/s_clog.c: Likewise.
60800 * math/s_clog10.c: Likewise.
60801 * math/s_clog10f.c: Likewise.
60802 * math/s_clog10l.c: Likewise.
60803 * math/s_clogf.c: Likewise.
60804 * math/s_clogl.c: Likewise.
60805 * math/s_csqrt.c: Likewise.
60806 * math/s_csqrtf.c: Likewise.
60807 * math/s_csqrtl.c: Likewise.
60808 * math/s_ctanf.c: Likewise.
60809 * math/s_ctanh.c: Likewise.
60810 * math/s_ctanhf.c: Likewise.
60811 * math/s_ctanhl.c: Likewise.
60812 * math/s_ctanl.c: Likewise.
60813
60814 * math/math_private.h: Define __nan, __nanf, __nanl.
60815 * math/s_cacosh.c: Include <math_private.h>.
60816 * math/s_cacoshl.c: Likewise.
60817 * math/s_casinh.c: Likewise.
60818 * math/s_casinhf.c: Likewise.
60819 * math/s_casinhl.c: Likewise.
60820 * math/s_ccos.c: Rely entire on ccosh.
60821 * math/s_ccosf.c: Rely entire on ccoshf.
60822 * math/s_ccosl.c: Rely entirely on ccoshl.
60823 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
60824 Remove tests for FE_INVALID.
60825 * math/s_ccoshf.c: Likewise.
60826 * math/s_ccoshl.c: Likewise.
60827 * math/s_csin.c: Likewise.
60828 * math/s_csinf.c: Likewise.
60829 * math/s_csinh.c Likewise.
60830 * math/s_csinhf.c: Likewise.
60831 * math/s_csinhl.c: Likewise.
60832 * math/s_csinl.c: Likewise.
60833 * math/s_ctan.c: Likewise.
60834 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
60835 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
60836 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
60837
60838 2011-10-21 Ulrich Drepper <drepper@gmail.com>
60839
60840 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
60841 compilation problems.
60842
60843 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
60844 __builtin_expect.
60845
60846 2011-10-20 Ulrich Drepper <drepper@gmail.com>
60847
60848 * sysdeps/i386/configure.in: Test for -mfma4 option.
60849 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
60850 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
60851 COMMON_CPUID_INDEX_80000001.
60852 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
60853 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
60854 use it if FMA3 is not supported.
60855 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
60856
60857 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
60858 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
60859
60860 2011-10-20 Andreas Schwab <schwab@redhat.com>
60861
60862 [BZ #12892]
60863 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
60864 it would create a cycle with a link time dependency.
60865
60866 2011-10-19 Ulrich Drepper <drepper@gmail.com>
60867
60868 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
60869 instruction.
60870 * string/Makefile (strop-tests): Add rawmemchr.
60871 * string/test-rawmemchr.c: New file.
60872
60873 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
60874 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
60875 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
60876 when compiling str{,n}casecmp and when AVX is available. Hook up
60877 new optimized code in initializers.
60878
60879 2011-10-19 Andreas Schwab <schwab@redhat.com>
60880
60881 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
60882 __feraiseexcept instead of feraiseexcept.
60883
60884 2011-10-18 Ulrich Drepper <drepper@gmail.com>
60885
60886 * math/math_private.h: Define defaults for libc_fetestexcept and
60887 libc_feupdateenv.
60888 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
60889 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
60890 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
60891 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
60892 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
60893 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
60894 libc_fetestexcept and libc_feupdateenv.
60895
60896 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
60897 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
60898 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
60899 * sysdeps/x86_64/fpu/math_private.h: Define special version of
60900 libc_feholdexcept_setround.
60901
60902 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
60903 Add s_nearbyint-c and s_nearbyintf-c.
60904 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
60905 nearbyintf inlines.
60906 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
60907 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
60908 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
60909 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
60910
60911 * math/math_private.h: Define defaults for libc_fegetround,
60912 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
60913 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
60914 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
60915 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
60916 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
60917 standard functions.
60918 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
60919 Remove comments and hacks for old compiler versions.
60920 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
60921 libc_fegetround, libc_fesetround, libc_feholdexcept, and
60922 libc_feholdexceptl.
60923
60924 2011-10-18 Andreas Schwab <schwab@redhat.com>
60925
60926 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
60927 (__feraiseexcept_renamed): Add __NTH.
60928 (feraiseexcept): Add __NTH. Rename local variables to fix
60929 namespace violations.
60930
60931 2011-10-17 Ulrich Drepper <drepper@gmail.com>
60932
60933 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
60934
60935 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
60936
60937 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
60938 recently added interfaces.
60939 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
60940
60941 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
60942 about macro parameter expansion.
60943
60944 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
60945 __NO_MATH_INLINES is defined. Cleanups.
60946
60947 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
60948 and __floorf is target has SSE4.1.
60949 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
60950 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
60951 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
60952 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
60953
60954 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
60955 name.
60956 (floorf): Likewise.
60957
60958 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
60959
60960 2011-10-17 Andreas Schwab <schwab@redhat.com>
60961
60962 * misc/sys/cdefs.h: Fix last change.
60963
60964 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
60965 database lookup.
60966
60967 2011-10-16 Ulrich Drepper <drepper@gmail.com>
60968
60969 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
60970
60971 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
60972 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
60973 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
60974 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
60975 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
60976 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
60977 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
60978 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
60979 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
60980 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
60981 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
60982 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
60983 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
60984 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
60985 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
60986 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
60987 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
60988 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
60989 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
60990 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
60991 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
60992 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
60993
60994 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
60995 ceil, ceilf, floor, floorf.
60996
60997 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
60998 Perform IRELATIVE relocations last.
60999
61000 * elf/do-rel.h: Add another parameter nrelative, replacing the
61001 local variable with the same name. Change name of the function
61002 to end in Rel or Rela (uppercase).
61003 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
61004 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
61005 elf_dynamic_do_##reloc function.
61006
61007 2011-10-15 Ulrich Drepper <drepper@gmail.com>
61008
61009 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
61010 is sufficient, at least on modern CPUs.
61011
61012 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
61013
61014 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
61015 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
61016
61017 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
61018 __expl_finite.
61019 * math/bits/math-finite.h: Add entries for exp.
61020 * math/e_expl.c: Add __*_finite alias.
61021 * sysdeps/i386/fpu/e_exp.S: Likewise.
61022 * sysdeps/i386/fpu/e_expf.S: Likewise.
61023 * sysdeps/i386/fpu/e_expl.c: Likewise.
61024 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
61025 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
61026 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
61027 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
61028 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
61029 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
61030 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
61031
61032 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
61033 is sufficient, at least on modern CPUs.
61034
61035 * ctype/ctype-info.c (__ctype_init): Define.
61036 * include/ctype.h (__ctype_init): Declare.
61037 (__ctype_b_loc): The variable is always initialized.
61038 (__ctype_toupper_loc): Likewise.
61039 (__ctype_tolower_loc): Likewise.
61040 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
61041 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
61042
61043 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
61044
61045 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
61046
61047 * configure.in: Also look in $cxxmachine/include for C++ system
61048 headers.
61049
61050 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
61051
61052 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
61053 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
61054 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
61055 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
61056 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
61057 (USE_AS_WMEMCMP): New macro.
61058 Fixing indents.
61059 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
61060 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
61061 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
61062 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
61063 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61064 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
61065 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
61066 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
61067 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
61068 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
61069 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
61070 (USE_AS_WMEMCMP): New macro.
61071 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
61072 * sysdeps/string/test-memcmp.c: Update.
61073 Fix simple_wmemcmp.
61074 Add new tests.
61075 * wcsmbs/wmemcmp.c: Update.
61076 (WMEMCMP): New macro.
61077 Fix overflow bug.
61078
61079 2011-10-12 Andreas Jaeger <aj@suse.de>
61080
61081 [BZ #13268]
61082 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
61083
61084 2011-10-15 Ulrich Drepper <drepper@gmail.com>
61085
61086 * libio/iofwide.c (do_length): Avoid warning.
61087
61088 * ctype/ctype.h (__isctype_f): Add missing __THROW.
61089
61090 2011-10-14 Ulrich Drepper <drepper@gmail.com>
61091
61092 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
61093
61094 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
61095 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
61096 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
61097 * sysdeps/i386/i686/fpu/e_log.S: New file.
61098 * sysdeps/i386/i686/fpu/e_logf.S: New file.
61099 * sysdeps/i386/i686/fpu/e_logl.S: New file.
61100
61101 * ctype/ctype.h: Add support for inlined isXXX functions when
61102 compiling C++ code.
61103
61104 2011-10-14 Andreas Schwab <schwab@redhat.com>
61105
61106 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
61107
61108 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
61109
61110 2011-10-13 Roland McGrath <roland@hack.frob.com>
61111
61112 [BZ #13291]
61113 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
61114
61115 2011-10-13 Andreas Schwab <schwab@redhat.com>
61116
61117 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
61118 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
61119 feraiseexcept.
61120
61121 * sysdeps/x86_64/memrchr.S: Check for zero size.
61122
61123 * string/stratcliff.c: Add memrchr tests.
61124
61125 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
61126
61127 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61128 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
61129 rawmemchr-sse2 rawmemchr-sse2-bsf.
61130 * sysdeps/i386/i686/multiarch/memchr.S: New file.
61131 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
61132 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
61133 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
61134 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
61135 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
61136 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
61137 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
61138 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
61139 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
61140 * string/memrchr.c (MEMRCHR): New macro.
61141
61142 2011-10-12 Ulrich Drepper <drepper@gmail.com>
61143
61144 Add integration with gcc's -ffinite-math-only and optimize wrapper
61145 functions in libm.
61146 * Versions.def: Define GLIBC_2.15 version for libm.
61147 * math/Makefile (headers): Add bits/math-finite.h.
61148 * math/bits/math-finite.h: New file.
61149 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
61150 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
61151 * math/e_acoshl.c: Add __*_finite alias.
61152 * math/e_acosl.c: Likewise.
61153 * math/e_asinl.c: Likewise.
61154 * math/e_atan2l.c: Likewise.
61155 * math/e_atanhl.c: Likewise.
61156 * math/e_coshl.c: Likewise.
61157 * math/e_exp10.c: Likewise.
61158 * math/e_exp10f.c: Likewise.
61159 * math/e_exp10l.c: Likewise.
61160 * math/e_exp2l.c: Likewise.
61161 * math/e_fmodl.c: Likewise.
61162 * math/e_gammal_r.c: Likewise.
61163 * math/e_hypotl.c: Likewise.
61164 * math/e_j0l.c: Likewise.
61165 * math/e_j1l.c: Likewise.
61166 * math/e_jnl.c: Likewise.
61167 * math/e_lgammal_r.c: Likewise.
61168 * math/e_log10l.c: Likewise.
61169 * math/e_log2l.c: Likewise.
61170 * math/e_logl.c: Likewise.
61171 * math/e_powl.c: Likewise.
61172 * math/e_sinhl.c: Likewise.
61173 * math/e_sqrtl.c: Likewise.
61174 * math/e_scalb.c: Completely rewritten and optimized.
61175 * math/e_scalbf.c: Likewise.
61176 * math/e_scalbl.c: Likewise.
61177 * math/w_acos.c: Likewise.
61178 * math/w_acosf.c: Likewise.
61179 * math/w_acosl.c: Likewise.
61180 * math/w_acosh.c: Likewise.
61181 * math/w_acoshf.c: Likewise.
61182 * math/w_acoshl.c: Likewise.
61183 * math/w_asin.c: Likewise.
61184 * math/w_asinf.c: Likewise.
61185 * math/w_asinl.c: Likewise.
61186 * math/w_atan2.c: Likewise.
61187 * math/w_atan2f.c: Likewise.
61188 * math/w_atan2l.c: Likewise.
61189 * math/w_atanh.c: Likewise.
61190 * math/w_atanhf.c: Likewise.
61191 * math/w_atanhl.c: Likewise.
61192 * math/w_exp10.c: Likewise.
61193 * math/w_exp10f.c: Likewise.
61194 * math/w_exp10l.c: Likewise.
61195 * math/w_fmod.c: Likewise.
61196 * math/w_fmodf.c: Likewise.
61197 * math/w_fmodl.c: Likewise.
61198 * math/w_j0.c: Likewise.
61199 * math/w_j0f.c: Likewise.
61200 * math/w_j0l.c: Likewise.
61201 * math/w_j1.c: Likewise.
61202 * math/w_j1f.c: Likewise.
61203 * math/w_j1l.c: Likewise.
61204 * math/w_jn.c: Likewise.
61205 * math/w_jnf.c: Likewise.
61206 * math/w_log.c: Likewise.
61207 * math/w_logf.c: Likewise.
61208 * math/w_logl.c: Likewise.
61209 * math/w_log10.c: Likewise.
61210 * math/w_log10f.c: Likewise.
61211 * math/w_log10l.c: Likewise.
61212 * math/w_log2.c: Likewise.
61213 * math/w_log2f.c: Likewise.
61214 * math/w_log2l.c: Likewise.
61215 * math/w_pow.c: Likewise.
61216 * math/w_powf.c: Likewise.
61217 * math/w_powl.c: Likewise.
61218 * math/w_remainder.c: Likewise.
61219 * math/w_remainderf.c: Likewise.
61220 * math/w_remainderl.c: Likewise.
61221 * math/w_scalb.c: Likewise.
61222 * math/w_scalbf.c: Likewise.
61223 * math/w_scalbl.c: Likewise.
61224 * math/w_sqrt.c: Likewise.
61225 * math/w_sqrtf.c: Likewise.
61226 * math/w_sqrtl.c: Likewise.
61227 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
61228 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
61229 used.
61230 * math/math_private.h: Declare __kernel_standard_f.
61231 * math/w_cosh.c: Remove cruft and optimize a bit.
61232 * math/w_coshf.c: Likewise.
61233 * math/w_coshl.c: Likewise.
61234 * math/w_exp2.c: Likewise.
61235 * math/w_exp2f.c: Likewise.
61236 * math/w_exp2l.c: Likewise.
61237 * math/w_hypot.c: Likewise.
61238 * math/w_hypotf.c: Likewise.
61239 * math/w_hypotl.c: Likewise.
61240 * math/w_lgamma.c: Likewise.
61241 * math/w_lgamma_r.c: Likewise.
61242 * math/w_lgammaf.c: Likewise.
61243 * math/w_lgammaf_r.c: Likewise.
61244 * math/w_lgammal.c: Likewise.
61245 * math/w_lgammal_r.c: Likewise.
61246 * math/w_sinh.c: Likewise.
61247 * math/w_sinhf.c: Likewise.
61248 * math/w_sinhl.c: Likewise.
61249 * math/w_tgamma.c: Likewise.
61250 * math/w_tgammaf.c: Likewise.
61251 * math/w_tgammal.c: Likewise.
61252 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
61253 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
61254 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
61255 Minor optimizations. Pretty printing. Remove cruft.
61256 * sysdeps/i386/fpu/e_acosf.S: Likewise.
61257 * sysdeps/i386/fpu/e_acosh.S: Likewise.
61258 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
61259 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
61260 * sysdeps/i386/fpu/e_acosl.c: Likewise.
61261 * sysdeps/i386/fpu/e_asin.S: Likewise.
61262 * sysdeps/i386/fpu/e_asinf.S: Likewise.
61263 * sysdeps/i386/fpu/e_atan2.S: Likewise.
61264 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
61265 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
61266 * sysdeps/i386/fpu/e_atanh.S: Likewise.
61267 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
61268 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
61269 * sysdeps/i386/fpu/e_exp10.S: Likewise.
61270 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
61271 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
61272 * sysdeps/i386/fpu/e_exp2.S: Likewise.
61273 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
61274 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
61275 * sysdeps/i386/fpu/e_fmod.S: Likewise.
61276 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
61277 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
61278 * sysdeps/i386/fpu/e_hypot.S: Likewise.
61279 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
61280 * sysdeps/i386/fpu/e_log.S: Likewise.
61281 * sysdeps/i386/fpu/e_log10.S: Likewise.
61282 * sysdeps/i386/fpu/e_log10f.S: Likewise.
61283 * sysdeps/i386/fpu/e_log10l.S: Likewise.
61284 * sysdeps/i386/fpu/e_log2.S: Likewise.
61285 * sysdeps/i386/fpu/e_log2f.S: Likewise.
61286 * sysdeps/i386/fpu/e_log2l.S: Likewise.
61287 * sysdeps/i386/fpu/e_logf.S: Likewise.
61288 * sysdeps/i386/fpu/e_logl.S: Likewise.
61289 * sysdeps/i386/fpu/e_pow.S: Likewise.
61290 * sysdeps/i386/fpu/e_powf.S: Likewise.
61291 * sysdeps/i386/fpu/e_powl.S: Likewise.
61292 * sysdeps/i386/fpu/e_remainder.S: Likewise.
61293 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
61294 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
61295 * sysdeps/i386/fpu/e_scalb.S: Likewise.
61296 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
61297 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
61298 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
61299 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
61300 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
61301 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
61302 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
61303 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
61304 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
61305 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
61306 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
61307 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
61308 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
61309 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
61310 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
61311 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
61312 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
61313 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
61314 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
61315 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
61316 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
61317 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
61318 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
61319 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
61320 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
61321 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
61322 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
61323 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
61324 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
61325 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
61326 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
61327 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
61328 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
61329 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
61330 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
61331 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
61332 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
61333 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
61334 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
61335 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
61336 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
61337 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
61338 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
61339 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
61340 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
61341 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
61342 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
61343 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
61344 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
61345 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
61346 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
61347 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
61348 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
61349 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
61350 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
61351 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
61352 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
61353 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
61354 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
61355 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
61356 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
61357 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
61358 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
61359 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
61360 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
61361 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
61362 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
61363 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
61364 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
61365 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
61366 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
61367 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
61368 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
61369 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
61370 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
61371 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
61372 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
61373 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
61374 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
61375 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
61376 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
61377 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
61378 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
61379 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
61380 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
61381 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
61382 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
61383 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
61384 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
61385 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
61386 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
61387 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
61388 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
61389 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
61390 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
61391 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
61392 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
61393 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
61394 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
61395 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
61396 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
61397 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
61398 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
61399 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
61400 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
61401 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
61402 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
61403 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
61404 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
61405 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
61406 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
61407 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
61408 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
61409 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
61410 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
61411 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
61412 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
61413 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
61414 (__isnanf): Likewise.
61415 (__isinf_ns): Likewise.
61416 (__isinf_nsf): Likewise.
61417 (__finite): Likewise.
61418 (__finitef): Likewise.
61419 (__ieee754_sqrt): Define as macro.
61420 (__ieee754_sqrtf): Define as macro.
61421 (__ieee754_sqrtl): Define as macro.
61422 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
61423 inlined copy.
61424 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
61425 __FINITE_MATH_ONLY__ consistent.
61426 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
61427
61428 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
61429
61430 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
61431 of rawmemchr.
61432
61433 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
61434
61435 2011-10-09 Ulrich Drepper <drepper@gmail.com>
61436
61437 * po/ja.po: Update from translation team.
61438
61439 2011-10-08 Roland McGrath <roland@hack.frob.com>
61440
61441 * locale/programs/locarchive.c (prepare_address_space): New function.
61442 (create_archive, enlarge_archive, open_archive): Use it.
61443
61444 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
61445 inside [SHARED], where it is used.
61446
61447 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
61448
61449 * nss/getent.c (netgroup_keys): Remove unused variable.
61450 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
61451
61452 2011-10-08 Ulrich Drepper <drepper@gmail.com>
61453
61454 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
61455 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
61456 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
61457 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
61458 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
61459 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
61460 * math/Makefile (libm-calls): Add s_isinf_ns.
61461 * math/divtc3.c: Use __isinf_nsl instead of isinf.
61462 * math/multc3.c: Likewise.
61463 * math/s_casin.c: Likewise.
61464 * math/s_casinf.c: Likewise.
61465 * math/s_casinl.c: Likewise.
61466 * math/s_ccos.c: Likewise.
61467 * math/s_ccosf.c: Likewise.
61468 * math/s_ccosl.c: Likewise.
61469 * math/s_ctan.c: Likewise.
61470 * math/s_ctanf.c: Likewise.
61471 * math/s_ctanh.c: Likewise.
61472 * math/s_ctanhf.c: Likewise.
61473 * math/s_ctanhl.c: Likewise.
61474 * math/s_ctanl.c: Likewise.
61475 * math/w_fmod.c: Likewise.
61476 * math/w_fmodf.c: Likewise.
61477 * math/w_fmodl.c: Likewise.
61478 * math/w_remainder.c: Likewise.
61479 * math/w_remainderf.c: Likewise.
61480 * math/w_remainderl.c: Likewise.
61481 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
61482 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
61483 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
61484 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
61485 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
61486 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
61487 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
61488 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
61489
61490 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
61491 of the number.
61492 * stdio-common/printf_fphex.c: Likewise.
61493 * stdio-common/printf_size.c: Likewise.
61494
61495 * math/e_exp10.c: Include math_private.h using <...> not "...".
61496 * math/e_exp10f.c: Likewise.
61497 * math/e_exp10l.c: Likewise.
61498 * math/e_exp2l.c: Likewise.
61499 * math/e_j0l.c: Likewise.
61500 * math/e_j1l.c: Likewise.
61501 * math/e_jnl.c: Likewise.
61502 * math/e_lgammal_r.c: Likewise.
61503 * math/e_rem_pio2l.c: Likewise.
61504 * math/e_scalb.c: Likewise.
61505 * math/e_scalbf.c: Likewise.
61506 * math/e_scalbl.c: Likewise.
61507 * math/k_cosl.c: Likewise.
61508 * math/k_sinl.c: Likewise.
61509 * math/k_tanl.c: Likewise.
61510 * math/s_cacoshf.c: Likewise.
61511 * math/s_catan.c: Likewise.
61512 * math/s_catanf.c: Likewise.
61513 * math/s_catanh.c: Likewise.
61514 * math/s_catanhf.c: Likewise.
61515 * math/s_catanhl.c: Likewise.
61516 * math/s_catanl.c: Likewise.
61517 * math/s_ccosh.c: Likewise.
61518 * math/s_ccoshf.c: Likewise.
61519 * math/s_ccoshl.c: Likewise.
61520 * math/s_cexp.c: Likewise.
61521 * math/s_cexpf.c: Likewise.
61522 * math/s_cexpl.c: Likewise.
61523 * math/s_clog.c: Likewise.
61524 * math/s_clog10.c: Likewise.
61525 * math/s_clog10f.c: Likewise.
61526 * math/s_clog10l.c: Likewise.
61527 * math/s_clogf.c: Likewise.
61528 * math/s_clogl.c: Likewise.
61529 * math/s_csin.c: Likewise.
61530 * math/s_csinf.c: Likewise.
61531 * math/s_csinh.c: Likewise.
61532 * math/s_csinhf.c: Likewise.
61533 * math/s_csinhl.c: Likewise.
61534 * math/s_csinl.c: Likewise.
61535 * math/s_csqrt.c: Likewise.
61536 * math/s_csqrtf.c: Likewise.
61537 * math/s_csqrtl.c: Likewise.
61538 * math/s_ctan.c: Likewise.
61539 * math/s_ctanf.c: Likewise.
61540 * math/s_ctanh.c: Likewise.
61541 * math/s_ctanhf.c: Likewise.
61542 * math/s_ctanhl.c: Likewise.
61543 * math/s_ctanl.c: Likewise.
61544 * math/s_ldexp.c: Likewise.
61545 * math/s_ldexpf.c: Likewise.
61546 * math/s_ldexpl.c: Likewise.
61547 * math/s_significand.c: Likewise.
61548 * math/s_significandf.c: Likewise.
61549 * math/s_significandl.c: Likewise.
61550 * math/w_acos.c: Likewise.
61551 * math/w_acosf.c: Likewise.
61552 * math/w_acosh.c: Likewise.
61553 * math/w_acoshf.c: Likewise.
61554 * math/w_acoshl.c: Likewise.
61555 * math/w_acosl.c: Likewise.
61556 * math/w_asin.c: Likewise.
61557 * math/w_asinf.c: Likewise.
61558 * math/w_asinl.c: Likewise.
61559 * math/w_atan2.c: Likewise.
61560 * math/w_atan2f.c: Likewise.
61561 * math/w_atan2l.c: Likewise.
61562 * math/w_atanh.c: Likewise.
61563 * math/w_atanhf.c: Likewise.
61564 * math/w_atanhl.c: Likewise.
61565 * math/w_cosh.c: Likewise.
61566 * math/w_coshf.c: Likewise.
61567 * math/w_coshl.c: Likewise.
61568 * math/w_dremf.c: Likewise.
61569 * math/w_exp10.c: Likewise.
61570 * math/w_exp10f.c: Likewise.
61571 * math/w_exp10l.c: Likewise.
61572 * math/w_exp2.c: Likewise.
61573 * math/w_exp2f.c: Likewise.
61574 * math/w_fmod.c: Likewise.
61575 * math/w_fmodf.c: Likewise.
61576 * math/w_fmodl.c: Likewise.
61577 * math/w_hypot.c: Likewise.
61578 * math/w_hypotf.c: Likewise.
61579 * math/w_hypotl.c: Likewise.
61580 * math/w_j0.c: Likewise.
61581 * math/w_j0f.c: Likewise.
61582 * math/w_j0l.c: Likewise.
61583 * math/w_j1.c: Likewise.
61584 * math/w_j1f.c: Likewise.
61585 * math/w_j1l.c: Likewise.
61586 * math/w_jn.c: Likewise.
61587 * math/w_jnf.c: Likewise.
61588 * math/w_jnl.c: Likewise.
61589 * math/w_lgamma.c: Likewise.
61590 * math/w_lgamma_r.c: Likewise.
61591 * math/w_lgammaf.c: Likewise.
61592 * math/w_lgammaf_r.c: Likewise.
61593 * math/w_lgammal.c: Likewise.
61594 * math/w_lgammal_r.c: Likewise.
61595 * math/w_log.c: Likewise.
61596 * math/w_log10.c: Likewise.
61597 * math/w_log10f.c: Likewise.
61598 * math/w_log10l.c: Likewise.
61599 * math/w_log2.c: Likewise.
61600 * math/w_log2f.c: Likewise.
61601 * math/w_log2l.c: Likewise.
61602 * math/w_logf.c: Likewise.
61603 * math/w_logl.c: Likewise.
61604 * math/w_pow.c: Likewise.
61605 * math/w_powf.c: Likewise.
61606 * math/w_powl.c: Likewise.
61607 * math/w_remainder.c: Likewise.
61608 * math/w_remainderf.c: Likewise.
61609 * math/w_remainderl.c: Likewise.
61610 * math/w_scalb.c: Likewise.
61611 * math/w_scalbf.c: Likewise.
61612 * math/w_scalbl.c: Likewise.
61613 * math/w_sinh.c: Likewise.
61614 * math/w_sinhf.c: Likewise.
61615 * math/w_sinhl.c: Likewise.
61616 * math/w_sqrt.c: Likewise.
61617 * math/w_sqrtf.c: Likewise.
61618 * math/w_sqrtl.c: Likewise.
61619 * math/w_tgamma.c: Likewise.
61620 * math/w_tgammaf.c: Likewise.
61621 * math/w_tgammal.c: Likewise.
61622
61623 * po/ja.po: Update from translation team.
61624
61625 2011-09-29 Andreas Jaeger <aj@suse.de>
61626
61627 [BZ #13179]
61628 * sunrpc/netname.c (netname2host): Fix logic.
61629
61630 [BZ #6779]
61631 [BZ #6783]
61632 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
61633 correctly.
61634 * math/w_remainder.c (__remainder): Likewise.
61635 * math/w_remainderf.c (__remainderf): Likewise.
61636 * math/libm-test.inc (remainder_test): Add test cases.
61637
61638 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
61639
61640 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
61641 sdiv_qrnnd.
61642
61643 2011-10-07 Ulrich Drepper <drepper@gmail.com>
61644
61645 * string/test-memcmp.c: Avoid unncessary #defines.
61646 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
61647
61648 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
61649
61650 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
61651 Use new sse2 version for core i3 - i7 as it's faster
61652 than sse42 version.
61653 (bit_Prefer_PMINUB_for_stringop): New.
61654 * sysdeps/x86_64/rawmemchr.S: Update.
61655 Replace with faster SSE2 version.
61656 * sysdeps/x86_64/memrchr.S: New file.
61657 * sysdeps/x86_64/memchr.S: Update.
61658 Replace with faster SSE2 version.
61659
61660 2011-09-12 Marek Polacek <mpolacek@redhat.com>
61661
61662 * elf/dl-load.c (lose): Add cast to avoid warning.
61663
61664 2011-10-07 Ulrich Drepper <drepper@gmail.com>
61665
61666 * po/ca.po: Update from translation team.
61667
61668 * inet/getnetgrent_r.c: Hook up nscd.
61669 * nscd/Makefile (routines): Add nscd_netgroup.
61670 (nscd-modules): Add netgroupcache.
61671 (CFLAGS-netgroupcache.c): Define.
61672 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
61673 (cache_search): Add const to second parameter.
61674 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
61675 INNETGR.
61676 (dbs): Add netgrdb entry.
61677 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
61678 (verify_persistent_db): Handle netgrdb.
61679 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
61680 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
61681 GETFDNETGR.
61682 (netgroup_response_header): Define.
61683 (innetgroup_response_header): Define.
61684 (datahead): Add netgroup_response_header and innetgroup_response_header
61685 elements.
61686 * nscd/nscd.conf: Add entries for netgroup cache.
61687 * nscd/nscd.h (dbtype): Add netgrdb.
61688 (_PATH_NSCD_NETGROUP_DB): Define.
61689 (netgroup_iov_disabled): Declare.
61690 (xmalloc, xcalloc, xrealloc): Move declarations here.
61691 (cache_search): Adjust prototype.
61692 Add netgroup-related prototypes.
61693 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
61694 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
61695 (__nscd_innetgr): Declare.
61696 * nscd/selinux.c (perms): Use access_vector_t as element type and
61697 add netgroup-related initializers.
61698 * nscd/netgroupcache.c: New file.
61699 * nscd/nscd_netgroup.c: New file.
61700 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
61701 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
61702 For four parameters use innetgr.
61703 * nss/nss_files/files-init.c: Add definition and callback for netgr.
61704 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
61705 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
61706 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
61707
61708 * nscd/connections.c (register_traced_file): Don't register file
61709 for disabled databases.
61710
61711 2011-10-06 Ulrich Drepper <drepper@gmail.com>
61712
61713 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
61714
61715 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
61716 from tree and freeing node.
61717
61718 2011-09-25 Jiri Olsa <jolsa@redhat.com>
61719
61720 * nss/nsswitch.c (__nss_database_lookup): Handle
61721 nss_parse_service_list out of memory case.
61722
61723 2011-09-15 Jiri Olsa <jolsa@redhat.com>
61724
61725 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
61726 out of memory case.
61727
61728 2011-10-04 Andreas Schwab <schwab@redhat.com>
61729
61730 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
61731 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
61732 pass it down.
61733 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
61734 elf_machine_rela, elf_machine_lazy_rel.
61735 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
61736 (ELF_DYNAMIC_DO_REL): Likewise.
61737 (ELF_DYNAMIC_DO_RELA): Likewise.
61738 (ELF_DYNAMIC_RELOCATE): Likewise.
61739 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
61740 to ELF_DYNAMIC_DO_REL.
61741 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
61742 (dl_main): In trace mode always set __RTLD_NOIFUNC.
61743 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
61744 elf_machine_rela.
61745 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
61746 skip_ifunc, don't call ifunc function if non-zero.
61747 (elf_machine_rela): Likewise.
61748 (elf_machine_lazy_rel): Likewise.
61749 (elf_machine_lazy_rela): Likewise.
61750 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
61751 (elf_machine_lazy_rel): Likewise.
61752 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
61753 Likewise.
61754 (elf_machine_lazy_rel): Likewise.
61755 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
61756 Likewise.
61757 (elf_machine_lazy_rel): Likewise.
61758 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
61759 (elf_machine_lazy_rel): Likewise.
61760 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
61761 (elf_machine_lazy_rel): Likewise.
61762 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
61763 (elf_machine_lazy_rel): Likewise.
61764 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
61765 (elf_machine_lazy_rel): Likewise.
61766 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
61767 (elf_machine_lazy_rel): Likewise.
61768 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
61769 (elf_machine_lazy_rel): Likewise.
61770
61771 2011-09-28 Ulrich Drepper <drepper@gmail.com>
61772
61773 * nss/nss_files/files-init.c (_nss_files_init): Use static
61774 initialization for all the *_traced_file variables.
61775
61776 2011-09-28 Andreas Schwab <schwab@redhat.com>
61777
61778 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
61779
61780 2011-09-27 Roland McGrath <roland@hack.frob.com>
61781
61782 [BZ #13226]
61783 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
61784
61785 2011-09-27 Andreas Schwab <schwab@redhat.com>
61786
61787 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
61788 Reread the line before reparsing it.
61789
61790 2011-09-26 Andreas Schwab <schwab@redhat.com>
61791
61792 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
61793
61794 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
61795 Maxim Kuvyrkov <maxim@codesourcery.com>
61796 Joseph Myers <joseph@codesourcery.com>
61797
61798 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
61799 if needed for __stack_chk_guard.
61800
61801 2011-09-19 Roland McGrath <roland@hack.frob.com>
61802
61803 * sysdeps/posix/spawni.c (script_execute): Always define it.
61804 It will be optimized away if unused.
61805 (maybe_script_execute): New function.
61806 (__spawni): Call it.
61807
61808 * Makerules: Don't include tls.make.
61809 (config-tls): Always set to thread.
61810 * tls.make.c: File removed.
61811
61812 2011-09-19 Mike Frysinger <vapier@gentoo.org>
61813
61814 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
61815 * config.make.in (CPPFLAGS-config): New substituted variable.
61816
61817 2011-09-15 Ulrich Drepper <drepper@gmail.com>
61818
61819 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
61820
61821 [BZ #13192]
61822 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
61823 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
61824
61825 2011-09-15 Roland McGrath <roland@hack.frob.com>
61826
61827 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
61828 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
61829 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
61830 (CALL_FAIL): Likewise.
61831 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
61832 (CALL_FAIL): Macro removed.
61833 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
61834
61835 2011-09-15 Ulrich Drepper <drepper@gmail.com>
61836
61837 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
61838 for __FINITE_MATH_ONLY__ == 1.
61839
61840 2011-09-15 Andreas Schwab <schwab@redhat.com>
61841
61842 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
61843 __ieee754_sqrt instead of sqrt.
61844 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
61845 __ieee754_sqrtf instead of sqrtf.
61846 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
61847 __floorf instead of floorf.
61848 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
61849 __floorf, __truncf instead of floorf, truncf.
61850
61851 2011-09-14 Ulrich Drepper <drepper@gmail.com>
61852
61853 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
61854
61855 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
61856 __extern_always_inline.
61857 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
61858 32-bit.
61859
61860 2011-09-14 Andreas Schwab <schwab@redhat.com>
61861
61862 * elf/rtld.c (dl_main): Also relocate in dependency order when
61863 doing symbol dependency testing.
61864
61865 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
61866
61867 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
61868 Always define `refsym'.
61869
61870 2011-09-13 Andreas Schwab <schwab@redhat.com>
61871
61872 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
61873 (__FD_ELT): Renamed from __FDELT.
61874 * misc/bits/select2.h (__FD_ELT): Likewise.
61875 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
61876 __FD_MASK instead of __FDELT, __FDMASK.
61877 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
61878 Likewise.
61879 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
61880 Likewise.
61881
61882 * elf/Makefile (gen-ldd): Fix pattern.
61883
61884 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
61885 (init_tls): Likewise.
61886
61887 2011-09-12 Ulrich Drepper <drepper@gmail.com>
61888
61889 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
61890
61891 2011-09-12 Andreas Schwab <schwab@redhat.com>
61892
61893 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
61894 `struct cmsghdr *' instead of `void *'.
61895 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
61896 Likewise.
61897
61898 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
61899
61900 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
61901 if non-absolute.
61902 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
61903 ldd_rewrite_script.
61904
61905 2011-09-11 Ulrich Drepper <drepper@gmail.com>
61906
61907 * configure.in: Remove --with-tls option.
61908 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
61909 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
61910 out in case it is missing.
61911 * sysdeps/ia64/elf/configure.in: Likewise.
61912 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
61913 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
61914 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
61915 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
61916 * sysdeps/sh/elf/configure.in: Likewise.
61917 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
61918 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
61919 * sysdeps/x86_64/elf/configure.in: Likewise.
61920 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
61921 * sysdeps/mach/hurd/tls.h: Likewise.
61922
61923 [BZ #13067]
61924 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
61925
61926 [BZ #13090]
61927 * configure.in: Fix use of AC_INIT.
61928
61929 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
61930
61931 2011-09-10 Ulrich Drepper <drepper@gmail.com>
61932
61933 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
61934 __set_errno.
61935 * malloc/hooks.c: Likewise.
61936
61937 [BZ #11929]
61938 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
61939 variables statically.
61940 (narenas): Initialize.
61941 (list_lock): Initialize.
61942 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
61943 initializtion of main_arena and list_lock. Small cleanups.
61944 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
61945 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
61946 Add initializers to main_arena and mp_.
61947 (malloc_state): Remove pagesize member. Change all users to use
61948 GLRO(dl_pagesize).
61949
61950 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
61951 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
61952 is always initialized.
61953
61954 * malloc/malloc.c: Removed unused configurations and dead code.
61955 * malloc/arena.c: Likewise.
61956 * malloc/hooks.c: Likewise.
61957 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
61958
61959 * include/tls.h: Removed. USE___THREAD must always be defined.
61960 * bits/libc-tsd.h: Don't handle !USE___THREAD.
61961 * elf/dl-libc.c: Likewise.
61962 * elf/dl-tsd.c: Likewise.
61963 * include/errno.h: Likewise.
61964 * include/netdb.h: Likewise.
61965 * include/resolv.h: Likewise.
61966 * inet/herrno-loc.c: Likewise.
61967 * inet/herrno.c: Likewise.
61968 * malloc/arena.c: Likewise.
61969 * malloc/hooks.c: Likewise.
61970 * malloc/malloc.c: Likewise.
61971 * resolv/res-state.c: Likewise.
61972 * resolv/res_libc.c: Likewise.
61973 * sysdeps/i386/dl-machine.h: Likewise.
61974 * sysdeps/ia64/dl-machine.h: Likewise.
61975 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
61976 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
61977 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
61978 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
61979 * sysdeps/sh/dl-machine.h: Likewise.
61980 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
61981 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
61982 * sysdeps/unix/i386/sysdep.S: Likewise.
61983 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
61984 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
61985 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
61986 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
61987 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
61988 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
61989 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
61990 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
61991 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
61992 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
61993 * sysdeps/unix/x86_64/sysdep.S: Likewise.
61994 * sysdeps/x86_64/dl-machine.h: Likewise.
61995 * tls.make.c: Likewise.
61996
61997 * configure.in: Remove --with-__thread option. Make tests for
61998 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
61999 tls_model attribute fail if no support is available. Remove
62000 USE_IN_LIBIO.
62001 * Makeconfig: Adjust for dropped configure option. All features are
62002 now mandatory.
62003 * Makerules: Likewise.
62004 * Versions.def: Likewise.
62005 * argp/argp-fmtstream.c: Likewise.
62006 * argp/argp-fmtstream.h: Likewise.
62007 * argp/argp-help.c: Likewise.
62008 * assert/assert.c: Likewise.
62009 * config.h.in: Likewise.
62010 * config.make.in: Likewise.
62011 * configure: Likewise.
62012 * configure.in: Likewise.
62013 * csu/Versions: Likewise.
62014 * csu/init.c: Likewise.
62015 * elf/tst-audit2.c: Likewise.
62016 * elf/tst-tls10.c: Likewise.
62017 * elf/tst-tls10.h: Likewise.
62018 * elf/tst-tls11.c: Likewise.
62019 * elf/tst-tls12.c: Likewise.
62020 * elf/tst-tls14.c: Likewise.
62021 * elf/tst-tlsmod11.c: Likewise.
62022 * elf/tst-tlsmod12.c: Likewise.
62023 * elf/tst-tlsmod13.c: Likewise.
62024 * elf/tst-tlsmod13a.c: Likewise.
62025 * elf/tst-tlsmod14a.c: Likewise.
62026 * elf/tst-tlsmod15b.c: Likewise.
62027 * elf/tst-tlsmod16a.c: Likewise.
62028 * elf/tst-tlsmod16b.c: Likewise.
62029 * elf/tst-tlsmod7.c: Likewise.
62030 * elf/tst-tlsmod8.c: Likewise.
62031 * elf/tst-tlsmod9.c: Likewise.
62032 * gmon/gmon.c: Likewise.
62033 * grp/fgetgrent_r.c: Likewise.
62034 * grp/putgrent.c: Likewise.
62035 * hurd/fopenport.c: Likewise.
62036 * include/libc-symbols.h: Likewise.
62037 * include/tls.h: Likewise.
62038 * intl/gettextP.h: Likewise.
62039 * intl/loadinfo.h: Likewise.
62040 * locale/global-locale.c: Likewise.
62041 * locale/localeinfo.h: Likewise.
62042 * mach/devstream.c: Likewise.
62043 * malloc/arena.c: Likewise.
62044 * malloc/set-freeres.c: Likewise.
62045 * misc/err.c: Likewise.
62046 * misc/getttyent.c: Likewise.
62047 * misc/mntent_r.c: Likewise.
62048 * posix/getopt.c: Likewise.
62049 * posix/wordexp.c: Likewise.
62050 * pwd/fgetpwent_r.c: Likewise.
62051 * resolv/Versions: Likewise.
62052 * resolv/res_hconf.c: Likewise.
62053 * shadow/fgetspent_r.c: Likewise.
62054 * shadow/putspent.c: Likewise.
62055 * stdio-common/printf_fphex.c: Likewise.
62056 * stdio-common/tmpfile.c: Likewise.
62057 * stdlib/abort.c: Likewise.
62058 * stdlib/fmtmsg.c: Likewise.
62059 * sunrpc/auth_unix.c: Likewise.
62060 * sunrpc/clnt_perr.c: Likewise.
62061 * sunrpc/clnt_tcp.c: Likewise.
62062 * sunrpc/clnt_udp.c: Likewise.
62063 * sunrpc/clnt_unix.c: Likewise.
62064 * sunrpc/openchild.c: Likewise.
62065 * sunrpc/svc_simple.c: Likewise.
62066 * sunrpc/svc_tcp.c: Likewise.
62067 * sunrpc/svc_udp.c: Likewise.
62068 * sunrpc/svc_unix.c: Likewise.
62069 * sunrpc/xdr.c: Likewise.
62070 * sunrpc/xdr_array.c: Likewise.
62071 * sunrpc/xdr_rec.c: Likewise.
62072 * sunrpc/xdr_ref.c: Likewise.
62073 * sunrpc/xdr_stdio.c: Likewise.
62074
62075 2011-09-09 Ulrich Drepper <drepper@gmail.com>
62076
62077 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
62078
62079 2011-07-03 Andreas Jaeger <aj@suse.de>
62080
62081 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
62082 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
62083 regenerate with gen-libm-tests.pl.
62084
62085 2010-05-12 Petr Baudis <pasky@suse.cz>
62086
62087 [BZ #11589]
62088 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
62089 around j0() zero points by switching to j1().
62090 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
62091 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
62092 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
62093 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
62094
62095 2011-09-09 Ulrich Drepper <drepper@gmail.com>
62096
62097 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
62098 instead of 0.
62099 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
62100 instead of 0.
62101 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
62102 Patch in part by Pavel Roskin <proski@gnu.org>.
62103
62104 [BZ #13138]
62105 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
62106 realloc.
62107 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
62108 Free memory block if necessary.
62109
62110 [BZ #12847]
62111 * libio/genops.c (INTDEF): For string streams the _lock pointer can
62112 be NULL. Don't lock in this case.
62113
62114 2011-09-09 Roland McGrath <roland@hack.frob.com>
62115
62116 * elf/elf.h (ELFOSABI_GNU): New macro.
62117 (ELFOSABI_LINUX): Define to that.
62118
62119 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
62120
62121 * string/strncat.c (strncat): Undef the symbol in case it has been
62122 defined in bits/string.h.
62123
62124 2011-09-09 Ulrich Drepper <drepper@gmail.com>
62125
62126 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
62127
62128 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
62129 link map.
62130
62131 2011-08-17 Andreas Jaeger <aj@suse.de>
62132
62133 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
62134
62135 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
62136 Ian Lance Taylor <iant@google.com>
62137
62138 * math/libm-test.inc (lround_test): New testcase.
62139 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
62140
62141 2011-09-08 Ulrich Drepper <drepper@gmail.com>
62142
62143 * Makefile: Remove support for automatic cvs check-ins.
62144 * Makerules: Likewise.
62145 * config.make.in: Likewise.
62146 * configure.in: Likewise.
62147 * intl/Makefile: Likewise.
62148 * locale/Makefile: Likewise.
62149 * po/Makefile: Likewise.
62150 * posix/Makefile: Likewise.
62151 * sysdeps/gnu/Makefile: Likewise.
62152 * sysdeps/mach/hurd/Makefile: Likewise.
62153 * sysdeps/sparc/sparc32/Makefile: Likewise.
62154
62155 [BZ #13118]
62156 * posix/Makefile (bug-regex32-ENV): Define.
62157 Patch by John Stanley <jpsinthemix@verizon.net>.
62158
62159 * misc/Makefile (headers): Add bits/select2.h.
62160 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
62161 * misc/bits/select2.h: New file.
62162 * include/bits/select2.h: New file.
62163 * debug/Makefile (routines): Add fdelt_chk.
62164 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
62165 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
62166 FD_ISSET.
62167 * debug/fdelt_chk.c: New file.
62168
62169 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
62170 * wcsmbs/test-wmemcmp.c: Likewise.
62171 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
62172 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
62173
62174 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
62175
62176 * string/Makefile (strop-tests): Add memcmp.
62177 * string/test-wmemcmp.c: New file.
62178 * string/test-memcmp.c: Add wmemcmp support.
62179
62180 2011-09-08 Roland McGrath <roland@hack.frob.com>
62181
62182 [BZ #13153]
62183 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
62184 2011-07-19 change.
62185
62186 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
62187 garbage value in a __mach_port_mod_refs call in the cases of the
62188 task-self and thread-self ports.
62189
62190 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
62191
62192 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
62193
62194 2011-09-08 Andreas Schwab <schwab@redhat.com>
62195
62196 * elf/dl-load.c (lose): Check for non-null L.
62197
62198 2011-09-07 Ulrich Drepper <drepper@gmail.com>
62199
62200 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
62201
62202 * elf/dl-libc.c (dlerror_run): Pass back error code from
62203 dl_catch_error.
62204
62205 [BZ #13123]
62206 * elf/dl-load.c (lose): Free l_origin if it is valid.
62207
62208 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
62209 names.
62210 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
62211 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
62212 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
62213 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
62214 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
62215 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
62216
62217 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
62218
62219 * sysdeps/powerpc/fpu/e_hypot.c: New file.
62220 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
62221 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
62222 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
62223 * sysdeps/powerpc/fpu/k_cosf.c: New file.
62224 * sysdeps/powerpc/fpu/k_sinf.c: New file.
62225 * sysdeps/powerpc/fpu/s_cosf.c: New file.
62226 * sysdeps/powerpc/fpu/s_sinf.c: New file.
62227 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
62228 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
62229
62230 2011-08-15 Alan Modra <amodra@gmail.com>
62231
62232 [BZ #13092]
62233 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
62234 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
62235 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
62236 ppc_mcount to static-only-routines.
62237 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
62238 __mcount_internal.
62239 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
62240 __mcount_internal with usual JUMPTARGET. Remove useless nop.
62241
62242 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
62243
62244 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
62245 for finite and infinity parameters.
62246
62247 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
62248
62249 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
62250 and add nop instructions for throughput optimization.
62251 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
62252
62253 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
62254
62255 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
62256 aligned copy for power7 with vector-scalar instructions.
62257 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
62258
62259 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
62260
62261 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
62262 AVX check.
62263
62264 2011-09-07 Andreas Schwab <schwab@redhat.com>
62265
62266 [BZ #13144]
62267 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
62268 last change.
62269
62270 2011-09-07 Ulrich Drepper <drepper@gmail.com>
62271
62272 * sysdeps/unix/sysv/linux/x86_64/init-first.c
62273 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
62274 syscall wrapper around clock_gettime in __vdso_clock_gettime.
62275 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
62276 clock_gettime.
62277
62278 2011-09-06 Ulrich Drepper <drepper@gmail.com>
62279
62280 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
62281 Forgot to demangle the pointer.
62282
62283 * sysdeps/i386/sysdep.h: Define atom_text_section.
62284 * sysdeps/x86_64/sysdep.h: Likewise.
62285 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
62286 section with atom_text_section.
62287 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
62288 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
62289 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
62290 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
62291 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
62292
62293 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
62294 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
62295 already be defined. Change to take two parameters and don't assign
62296 result to variable. Adjust all users.
62297 Define INTERNAL_GETTIME if not already defined.
62298 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
62299 call.
62300 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
62301 HAVE_CLOCK_GETTIME_VSYSCALL.
62302 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
62303
62304 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
62305 gettimeofday vsyscall, just use time.
62306
62307 2011-09-06 Andreas Schwab <schwab@redhat.com>
62308
62309 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
62310 <errno.h>.
62311
62312 2011-09-06 Ulrich Drepper <drepper@gmail.com>
62313
62314 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
62315 syscall on x86-64.
62316 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
62317 syscall.
62318 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
62319 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
62320 syscall if possible.
62321
62322 2011-09-05 Ulrich Drepper <drepper@gmail.com>
62323
62324 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
62325 e_ident. Don't pass to find_mapsXX.
62326 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
62327
62328 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
62329
62330 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
62331 strchr-sse2-no-bsf strrchr-sse2-no-bsf
62332 * sysdeps/x86_64/multiarch/strchr.S: Update.
62333 Check bit_slow_BSF bit.
62334 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
62335 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
62336 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
62337
62338 2011-09-05 Ulrich Drepper <drepper@gmail.com>
62339
62340 [BZ #13134]
62341 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
62342 before glibc 2.15.
62343 (tryshell): Define.
62344 (__spawni): Change last parameter to be flag. Test
62345 SPAWN_XFLAGS_USE_PATH flag to use path or not.
62346 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
62347 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
62348 * posix/spawni.c: Likewise.
62349 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
62350 * posix/spawnp.c: Likewise. Change normal version to use
62351 SPAWN_XFLAGS_USE_PATH.
62352 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
62353 SPAWN_XFLAGS_TRY_SHELL.
62354
62355 [BZ #13150]
62356 * posix/glob.h: Remove gcc 1.x support.
62357
62358 [BZ #13068]
62359 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
62360
62361 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
62362
62363 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
62364 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
62365 strrchr-sse2-bsf
62366 * sysdeps/i386/i686/multiarch/strchr.S: New file.
62367 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
62368 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
62369 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
62370 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
62371 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
62372
62373 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
62374
62375 * sysdeps/x86_64/wcscmp.S: New file.
62376
62377 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
62378 wcscmp-c wcscmp-sse2
62379 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
62380 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
62381 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
62382 * wcsmbs/wcscmp.c: Allow renaming.
62383
62384 2011-09-05 David S. Miller <davem@davemloft.net>
62385
62386 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
62387 stack slot, rather than the struct return pointer slot.
62388 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
62389 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
62390 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
62391 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
62392
62393 2011-09-05 Ulrich Drepper <drepper@gmail.com>
62394
62395 * po/ja.po: Update from translation team.
62396
62397 [BZ #13144]
62398 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
62399 kernel in 64-bit binaries.
62400
62401 2011-09-01 David S. Miller <davem@davemloft.net>
62402
62403 * elf/elf.h (HWCAP_SPARC_*): Move to..
62404 * sysdeps/sparc/sysdep.h: this new file and add new values.
62405 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
62406 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
62407 _DL_HWCAP_COUNT to 24.
62408 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
62409 entries.
62410 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
62411 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
62412 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
62413 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
62414 instead of magic constants.
62415 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
62416
62417 2011-08-31 David S. Miller <davem@davemloft.net>
62418
62419 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
62420 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
62421 Reimplement to do errno handling inline.
62422 (SYSCALL_ERROR_HANDLER): New macro.
62423 (__SYSCALL_STRING): Do not do errno handling in asm.
62424 (__CLONE_SYSCALL_STRING): Delete.
62425 (__INTERNAL_SYSCALL_STRING): Delete.
62426 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
62427 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
62428 (PSEUDO): Reimplement to do errno handling inline.
62429 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
62430 (SYSCALL_ERROR_HANDLER): New macro.
62431 (__SYSCALL_STRING): Do not do errno handling in asm.
62432 (__CLONE_SYSCALL_STRING): Delete.
62433 (__INTERNAL_SYSCALL_STRING): Delete.
62434 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
62435 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
62436 i386.
62437 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
62438 (inline_syscall*): Add 'err' argument.
62439 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
62440 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
62441 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
62442 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
62443
62444 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
62445 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
62446
62447 2011-08-30 Andreas Schwab <schwab@redhat.com>
62448
62449 * elf/rtld.c (dl_main): Relocate objects in dependency order.
62450
62451 2011-08-29 Jiri Olsa <jolsa@redhat.com>
62452
62453 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
62454 directive.
62455
62456 2011-08-24 David S. Miller <davem@davemloft.net>
62457
62458 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
62459
62460 2011-08-24 Andreas Schwab <schwab@redhat.com>
62461
62462 * elf/Makefile: Add rules to build and run unload8 test.
62463 * elf/unload8.c: New file.
62464 * elf/unload8mod1.c: New file.
62465 * elf/unload8mod1x.c: New file.
62466 * elf/unload8mod2.c: New file.
62467 * elf/unload8mod3.c: New file.
62468
62469 * elf/dl-close.c (_dl_close_worker): Reset private search list if
62470 it wasn't used.
62471
62472 2011-08-23 David S. Miller <davem@davemloft.net>
62473
62474 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
62475 subtract stack bias.
62476 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
62477 %sp not %fp in calculations.
62478 (_JMPBUF_UNWINDS_ADJ): Likewise.
62479
62480 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
62481 (aio_suspend): Call it to force an exception region around the
62482 AIO_MISC_WAIT() invocation.
62483
62484 2011-08-23 Andreas Schwab <schwab@redhat.com>
62485
62486 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
62487 backslash.
62488
62489 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
62490
62491 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
62492 protection macro.
62493 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
62494 and <dl-machine.h>.
62495 (Elf64_FuncDesc): Remove.
62496
62497 2011-08-22 David S. Miller <davem@davemloft.net>
62498
62499 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
62500 sigaltstack check, add missing cfi directives.
62501 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
62502 missing cfi directives, and sigaltstack handling.
62503
62504 2011-08-16 Andreas Schwab <schwab@redhat.com>
62505
62506 [BZ #11724]
62507 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
62508 object is seen twice.
62509 * elf/dl-fini.c (_dl_sort_fini): Likewise.
62510
62511 * elf/Makefile (distribute): Add tst-initorder2.c.
62512 (tests): Add tst-initorder2.
62513 (modules-names): Add tst-initorder2a tst-initorder2b
62514 tst-initorder2c tst-initorder2d. Add rules to build them.
62515 ($(objpfx)tst-initorder2.out): New rule.
62516 * elf/tst-initorder2.c: New file.
62517 * elf/tst-initorder2.exp: New file.
62518
62519 2011-08-22 Andreas Schwab <schwab@redhat.com>
62520
62521 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
62522
62523 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
62524 dependencies back to end of function.
62525
62526 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
62527 $(elfobjdir)/ld.so.
62528
62529 2011-08-21 Ulrich Drepper <drepper@gmail.com>
62530
62531 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
62532 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
62533 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
62534 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
62535 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
62536 of __vdso_gettimeofday.
62537 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
62538 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
62539 attribute_hidden.
62540 (_libc_vdso_platform_setup): Remove initialization of
62541 __vdso_gettimeofday and __vdso_time.
62542
62543 2011-08-20 Ulrich Drepper <drepper@gmail.com>
62544
62545 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
62546 and fgetc_unlocked.
62547 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
62548 getc_unlocked.
62549
62550 * elf/dl-open.c (add_to_global): Report additions to the global scope
62551 for LD_DEBUG=scopes.
62552 (dl_open_worker): Also print scope of newly loaded dependencies.
62553 (_dl_show_scope): Indicate if there is no scope.
62554
62555 [BZ #13114]
62556 * stdio-common/Makefile (tests): Add bug24.
62557 * stdio-common/bug24.c: New file.
62558
62559 2011-08-19 Andreas Jaeger <aj@suse.de>
62560
62561 [BZ #13114]
62562 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
62563 non-existant file when using close-on-exec mode.
62564
62565 2011-08-20 Ulrich Drepper <drepper@gmail.com>
62566
62567 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
62568 the very first instruction.
62569
62570 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
62571 the CFI state in the end.
62572 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
62573 inclusion of dl-trampoline.h.
62574 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
62575
62576 2011-08-19 Andreas Schwab <schwab@redhat.com>
62577
62578 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
62579 expectations for long double.
62580
62581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
62582 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
62583
62584 2011-08-14 David S. Miller <davem@davemloft.net>
62585
62586 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
62587 artificual limit depends upon the system page size.
62588
62589 2011-08-17 Ulrich Drepper <drepper@gmail.com>
62590
62591 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
62592 * resolv/Makefile: Define CFLAGS-libresolv.
62593
62594 2011-08-17 Andreas Schwab <schwab@redhat.com>
62595
62596 * nss/makedb.c (compute_tables): Make variables used in nested
62597 function static.
62598
62599 2011-08-17 Ulrich Drepper <drepper@gmail.com>
62600
62601 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
62602 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
62603 if buffer was too small.
62604
62605 * elf/pldd.c (main): Attach to all threads in the process.
62606 Rewrite /proc handling to use *at functions.
62607
62608 2011-08-16 Ulrich Drepper <drepper@gmail.com>
62609
62610 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
62611 specifies first scope to show.
62612 (dl_open_worker): Update callers. Move printing scope of new
62613 object to before the relocation.
62614 * elf/rtld.c (dl_main): Update _dl_show_scope call.
62615 * sysdeps/generic/ldsodefs.h: Update declaration.
62616
62617 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
62618 string for the scope number.
62619
62620 2011-08-14 Ulrich Drepper <drepper@gmail.com>
62621
62622 * nscd/servicescache.c (cache_addserv): Make sure written is always
62623 initialized.
62624
62625 2011-08-14 Roland McGrath <roland@hack.frob.com>
62626
62627 * sysdeps/i386/i486/bits/atomic.h
62628 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
62629 statement expression, so as to suppress "set but not used" warning.
62630 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
62631
62632 * string/strncat.c (STRNCAT): Use prototype definition.
62633
62634 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
62635 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
62636 -Iprograms here.
62637 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
62638 (localedef-modules): Add localedef.
62639 (locale-modules): Add locale.
62640
62641 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
62642 * elf/rtld.c (dl_main): Invert order of assignment in last change,
62643 to avoid a warning.
62644
62645 2011-08-14 David S. Miller <davem@davemloft.net>
62646
62647 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
62648 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
62649
62650 2011-08-13 Ulrich Drepper <drepper@gmail.com>
62651
62652 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
62653 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
62654 * elf/rtld.c (dl_main): Set l_name of vDSO.
62655 Call _dl_show_scope when DL_DEBUG_SCOPES.
62656 (process_dl_debug): Recognize scopes flag and also set it for all.
62657 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
62658 Declare _dl_show_scope.
62659
62660 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
62661 (do_dlopen): Pass caller_dlopen to dl_open.
62662 (__libc_dlopen_mode): Initialize caller_dlopen.
62663
62664 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
62665 of libc. Make tolower call locale-independent. Optimize a bit by
62666 using isdigit instead of isalnum.
62667 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
62668
62669 2011-08-12 Ulrich Drepper <drepper@gmail.com>
62670
62671 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
62672 was a dependency or dynamically loaded.
62673
62674 2011-08-11 Ulrich Drepper <drepper@gmail.com>
62675
62676 * intl/l10nflist.c: Allow architecture-specific pop function.
62677 * sysdeps/x86_64/l10nflist.c: New file.
62678
62679 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
62680 classification.
62681
62682 2011-08-10 Andreas Schwab <schwab@redhat.com>
62683
62684 * include/dirent.h: Add libc_hidden_proto for scandirat and
62685 scandirat64. Don't declare __scandirat64.
62686 * dirent/scandirat.c: Add libc_hidden_def.
62687 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
62688 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
62689
62690 2011-08-10 David S. Miller <davem@davemloft.net>
62691
62692 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
62693 enum.
62694 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
62695 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
62696 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
62697
62698 2011-08-09 Ulrich Drepper <drepper@gmail.com>
62699
62700 * Versions.def [libc]: Add GLIBC_2.15.
62701 * dirent/Makefile (routines): Add scandirat and scandirat64.
62702 * dirent/Versions [libc]: Export scandirat and scandirat64 for
62703 GLIBC_2.15.
62704 * dirent/dirent.h: Declare scandirat and scandirat64.
62705 * dirent/scandirat.c: New file.
62706 * dirent/scandirat64.c: New file.
62707 * sysdeps/wordsize-64/scandirat.c: New file.
62708 * sysdeps/wordsize-64/scandirat64.c: New file.
62709 * dirent/opendir.c: Define opendirat.
62710 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
62711 using scandirat.
62712 * dirent/scandir64.c: Adjust for scandir.c change.
62713 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
62714 __scandirat64, and __scandir_cancel_handler.
62715 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
62716 additional parameter and use openat instead of open (outside of ld.so).
62717 Add new __opendir as wrapper around __opendirat.
62718 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
62719 here without requiring old scandirat implementation.
62720
62721 2011-08-08 Ulrich Drepper <drepper@gmail.com>
62722
62723 * dirent/scandir.c (cancel_handler): Renamed to
62724 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
62725 defined. Adjust users.
62726 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
62727 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
62728
62729 2011-08-04 Ulrich Drepper <drepper@gmail.com>
62730
62731 * string/test-string.h (IMPL): Use __STRING to expand name and then
62732 stringify it.
62733
62734 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
62735 of cleanups.
62736
62737 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
62738
62739 * string/Makefile: Update.
62740 (strop-tests): Append strncat.
62741 * string/test-wcscmp.c: New file.
62742 New comprehensive test for wcscmp.
62743 * string/test-strcmp.c: Update.
62744 (WIDE): New define.
62745
62746 2011-07-22 Andreas Schwab <schwab@redhat.com>
62747
62748 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
62749 line.
62750
62751 2011-07-26 Andreas Schwab <schwab@redhat.com>
62752
62753 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
62754 encoding to ACE if AI_IDN.
62755
62756 2011-08-01 Jakub Jelinek <jakub@redhat.com>
62757
62758 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
62759 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
62760
62761 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
62762
62763 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
62764 Fix overflow bug in strncat.
62765 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
62766
62767 * string/test-strncat.c: Update.
62768 Add new tests for checking overflow bugs.
62769
62770 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
62771
62772 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
62773 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
62774 * sysdeps/i386/i686/multiarch/strcat.S: New file.
62775 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
62776 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
62777 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
62778 * sysdeps/i386/i686/multiarch/strncat.S: New file.
62779 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
62780 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
62781
62782 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
62783 (USE_AS_STRCAT): Define.
62784 Add strcat and strncat support.
62785 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
62786
62787 2011-07-25 Andreas Schwab <schwab@redhat.com>
62788
62789 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
62790 __n bigger than INT_MAX+1.
62791 (__strncmp_g): Likewise.
62792
62793 2011-07-23 Ulrich Drepper <drepper@gmail.com>
62794
62795 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
62796 * libio/stido.h: Likewise.
62797
62798 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
62799 (AF_NFC): Define.
62800 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
62801 (AF_NFC): Define.
62802
62803 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
62804 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
62805 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
62806 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
62807 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
62808
62809 [BZ #13021]
62810 * scripts/test-installation.pl: Don't expect libnss_test1 to be
62811 installed.
62812
62813 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
62814 typo.
62815 (_dl_x86_64_save_sse): Likewise.
62816
62817 2011-07-22 Ulrich Drepper <drepper@gmail.com>
62818
62819 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
62820 OSXSAVE.
62821 (_dl_x86_64_save_sse): Likewise.
62822
62823 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
62824
62825 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
62826
62827 2011-07-21 Andreas Schwab <schwab@redhat.com>
62828
62829 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
62830 change.
62831 (_dl_x86_64_save_sse): Use correct AVX check.
62832
62833 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
62834
62835 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
62836 bug in strncpy/strncat.
62837 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
62838
62839 2011-07-21 Ulrich Drepper <drepper@gmail.com>
62840
62841 * string/tester.c (test_strcat): Add tests for different alignments
62842 of source and destination.
62843 (test_strncat): Likewise.
62844
62845 2011-07-20 Ulrich Drepper <drepper@gmail.com>
62846
62847 [BZ #12852]
62848 * posix/glob.c (glob): Check passed in values before using them in
62849 expressions to avoid some overflows.
62850 (glob_in_dir): Likewise.
62851
62852 [BZ #13007]
62853 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
62854 check for AVX enablement so that we don't crash with old kernels and
62855 new hardware.
62856 * elf/tst-audit4.c: Add same checks here.
62857 * elf/tst-audit6.c: Likewise.
62858
62859 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
62860
62861 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
62862
62863 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
62864
62865 2011-07-20 Ulrich Drepper <drepper@gmail.com>
62866
62867 * po/cs.po: Update from translation team.
62868 * po/bg.po: Likewise.
62869
62870 2011-07-12 Marek Polacek <mpolacek@redhat.com>
62871
62872 * misc/sys/cdefs.h: Add support for const attribute.
62873 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
62874 to gnu_dev_{major,minor,makedev} functions.
62875
62876 2011-07-20 Marek Polacek <mpolacek@redhat.com>
62877
62878 * intl/dcigettext.c (get_output_charset): Add missing bracket.
62879
62880 2011-07-20 Andreas Schwab <schwab@redhat.com>
62881
62882 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
62883 strlen results.
62884
62885 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
62886
62887 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
62888 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
62889 register in order to avoid conflicts with the soft frame pointer
62890 being held in r11 when necessary.
62891 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
62892 (INTERNAL_VSYSCALL_NCS): Likewise.
62893
62894 2011-07-14 Marek Polacek <mpolacek@redhat.com>
62895
62896 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
62897 * elf/dl-fini.c (_dl_fini): Adjust caller.
62898 * elf/dl-close.c (_dl_close_worker): Likewise.
62899 * sysdeps/generic/ldsodefs.h: Adjust declaration.
62900
62901 2011-07-15 Marek Polacek <mpolacek@redhat.com>
62902
62903 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
62904 "aux_cache->nlibs < 0".
62905
62906 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
62907 in the reload-count case.
62908
62909 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
62910
62911 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
62912 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
62913 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
62914 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
62915 * sysdeps/x86_64/multiarch/strcat.S: New file.
62916 * sysdeps/x86_64/multiarch/strncat.S: New file.
62917 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
62918 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
62919 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
62920 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
62921 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
62922 (USE_AS_STRCAT): Define.
62923 Add strcat and strncat support.
62924 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
62925 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
62926 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
62927 * string/strncat.c: Update.
62928 (USE_AS_STRNCAT): Define.
62929 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62930 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
62931 and i7.
62932 * sysdeps/x86_64/multiarch/init-arch.h
62933 (bit_Prefer_PMINUB_for_stringop): New.
62934 (index_Prefer_PMINUB_for_stringop): Likewise.
62935 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
62936 bit_Prefer_PMINUB_for_stringop.
62937
62938 2011-07-19 Ulrich Drepper <drepper@gmail.com>
62939
62940 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
62941 buffer64.
62942 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
62943 of casting of buffer.
62944 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
62945 buffer32 and buffer64.
62946 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
62947 writes instead of casting of buffer.
62948 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
62949 buffer32.
62950 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
62951 casting of buffer.
62952
62953 2011-07-19 Andreas Schwab <schwab@redhat.com>
62954
62955 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
62956
62957 2011-07-19 Ulrich Drepper <drepper@gmail.com>
62958
62959 * nscd/nscd.c (termination_handler): Don't do anything for a database
62960 if it has not yet been initialized.
62961
62962 2011-07-18 Ulrich Drepper <drepper@gmail.com>
62963
62964 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
62965
62966 2011-07-15 Marek Polacek <mpolacek@redhat.com>
62967
62968 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
62969
62970 2011-07-18 Ulrich Drepper <drepper@gmail.com>
62971
62972 * po/nl.po: Update from translation team.
62973 * po/sv.po: Likewise.
62974
62975 2011-07-16 Roland McGrath <roland@hack.frob.com>
62976
62977 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
62978 now disallowed by GCC.
62979
62980 * configure.in (use-default-link): Default to yes if a test -shared
62981 link meets our qualifications.
62982 * configure: Regenerated.
62983
62984 * config.make.in (output-format): New variable.
62985 * configure.in: Check for ld --print-output-format support.
62986 * configure: Regenerated.
62987 * Makerules ($(common-objpfx)format.lds)
62988 [$(output-format) != unknown]: Just use $(output-format),
62989 instead of the linker-script munging.
62990
62991 2011-07-14 Roland McGrath <roland@hack.frob.com>
62992
62993 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
62994 of $(common-objpfx)shlib.lds.
62995 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
62996
62997 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
62998 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
62999
63000 * configure.in (-z relro check): Adjust test code to add a large
63001 writable data section after it.
63002 * configure: Regenerated.
63003
63004 2011-07-11 Roland McGrath <roland@hack.frob.com>
63005
63006 * configure.in (-z relro check): Fix test code to make the variable
63007 truly const.
63008 * configure: Regenerated.
63009
63010 2011-07-11 Ulrich Drepper <drepper@gmail.com>
63011
63012 * nscd/nscd.h (struct traced_file): Define.
63013 (struct database_dyn): Remove inotify_descr, reset_res, and filename
63014 elements. Add traced_files.
63015 (inotify_fd): Declare.
63016 (register_traced_file): Declare.
63017 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
63018 (inotify_fd): Export.
63019 (resolv_conf_descr): Remove.
63020 (nscd_init): Move inotify descriptor creation to main.
63021 Don't register files for notification here.
63022 (register_traced_file): New function.
63023 (invalidate_cache): Don't use reset_res to determine whether to call
63024 res_init, go through the list of registered files.
63025 (main_loop_poll): The inotify descriptors are now stored in the
63026 structures for the traced files.
63027 (main_loop_epoll): Likewise
63028 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
63029 to __nss_disable_nscd.
63030 * nscd/cache.c (prune_cache): There is no single inotify descriptor
63031 for a database anymore. Check the records for all the registered
63032 files instead.
63033 * nss/Makefile (libnss_files-routines): Add files-init.
63034 (libnss_db-routines): Add db-init.
63035 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
63036 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
63037 * nss/nss_db/db-init.c: New file.
63038 * nss/nss_files/files-init.c: New file.
63039 * nss/nsswitch.c (nss_load_library): New function. Broken out of
63040 __nss_lookup_function.
63041 (__nss_lookup_function): Call nss_load_library.
63042 (nss_load_all_libraries): New function.
63043 (__nss_disable_nscd): Take parameter with callback function for files
63044 to register. Set is_nscd. Load all the DSOs for the NSS modules
63045 used for the cached services.
63046 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
63047 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
63048 options for features to all the files in nscd.
63049
63050 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
63051
63052 2011-07-10 Roland McGrath <roland@hack.frob.com>
63053
63054 * csu/elf-init.c (__libc_csu_init): Comment typo.
63055
63056 2011-07-09 Ulrich Drepper <drepper@gmail.com>
63057
63058 * po/pl.po: Update from translation team.
63059 * po/ja.po: Likewise.
63060 * po/ru.po: Likewise.
63061 * po/ko.po: Likewise.
63062 * po/fr.po: Likewise.
63063
63064 2011-07-09 Roland McGrath <roland@hack.frob.com>
63065
63066 * configure.in (.ctors/.dtors header and trailer check):
63067 Use an empirical test on a built program.
63068 * configure: Regenerated.
63069
63070 * configure.in (-z relro check): Use an empirical test on a built DSO.
63071 Detect, but do not require, on ia64.
63072 * configure: Regenerated.
63073
63074 * configure.in (READELF): Find it with AC_CHECK_TOOL.
63075 Update tests that use readelf to use $READELF instead.
63076 * configure: Regenerated.
63077
63078 2011-07-08 Ulrich Drepper <drepper@gmail.com>
63079
63080 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
63081 if the result is not used.
63082
63083 2011-07-05 Andreas Jaeger <aj@suse.de>
63084
63085 [BZ#9696]
63086 * stdlib/tst-strtod.c: Add testcase.
63087
63088 2011-07-07 Ulrich Drepper <drepper@gmail.com>
63089
63090 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
63091 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
63092 The latter has a higher limit. Take additional parameter to pass to
63093 the new function.
63094 (__pathconf): Pass file to __statfs_link_max.
63095 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
63096 __statfs_link_max.
63097 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
63098 __statfs_link_max.
63099
63100 [BZ #12868]
63101 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
63102 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
63103 Handle Lustre.
63104 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
63105 (__statfs_filesize_max): Likewise.
63106 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
63107
63108 2011-07-05 Andreas Jaeger <aj@suse.de>
63109
63110 * resolv/res_comp.c (dn_skipname): Remove unused variable.
63111
63112 2011-07-06 Marek Polacek <mpolacek@redhat.com>
63113
63114 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
63115 `status' variable.
63116 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
63117 Likewise.
63118
63119 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
63120
63121 * Makefile (strop-tests): Add strncat.
63122 * string/test-strncat.c: New file.
63123
63124 2011-06-30 Marek Polacek <mpolacek@redhat.com>
63125
63126 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
63127
63128 2011-06-21 Andreas Jaeger <aj@suse.de>
63129
63130 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
63131 Copy rule from iconvdata/Makefile.
63132
63133 2011-07-06 Ulrich Drepper <drepper@gmail.com>
63134
63135 [BZ #12922]
63136 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
63137 but no long options are defined, just return 'W'.
63138
63139 2011-06-22 Marek Polacek <mpolacek@redhat.com>
63140
63141 [BZ #9696]
63142 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
63143
63144 2011-07-06 Ulrich Drepper <drepper@gmail.com>
63145
63146 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
63147 netgroups to read.
63148 (innetgr): Likewise.
63149
63150 2011-07-05 Roland McGrath <roland@hack.frob.com>
63151
63152 * config.make.in (install_root): Default to $(DESTDIR).
63153
63154 2011-07-05 Ulrich Drepper <drepper@gmail.com>
63155
63156 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
63157
63158 2011-07-02 Roland McGrath <roland@hack.frob.com>
63159
63160 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
63161
63162 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
63163 containing directory rather than embedding absolute directory names.
63164
63165 * scripts/check-local-headers.sh: Rewritten using awk.
63166 Match by word, not by line. Print error messages for matches.
63167 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
63168
63169 * Makerules [shlib-lds-flags empty]:
63170 ($(common-objpfx)libc_pic.opts): New target.
63171 ($(common-objpfx)libc_pic.os.clean): New target.
63172 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
63173
63174 * config.make.in (OBJCOPY): New variable.
63175 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
63176 * configure: Regenerated.
63177
63178 * config.make.in (use-default-link): New variable.
63179 * configure.in (use_default_link): Grok --with-default-link to set it.
63180 * configure: Regenerated.
63181 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
63182 (shlib-lds, shlib-lds-flags): Define to empty.
63183
63184 * Makerules (shlib-lds): New variable.
63185 (shlib-lds-flags): New variable.
63186 (build-shlib, build-moduile, build-module-asneeded): Use it.
63187 ($(common-objpfx)libc.so): Use $(shlib-lds).
63188 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
63189 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
63190
63191 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
63192 DT_FLAGS/DT_FLAGS_1 with zero flags.
63193
63194 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
63195 linker script munging.
63196
63197 2011-07-02 Ulrich Drepper <drepper@gmail.com>
63198
63199 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
63200 as 128-bit value.
63201 * crypt/sha512.c (sha512_process_block): Perform total addition using
63202 128-bit if possible.
63203 (__sha512_finish_ctx): Likewise.
63204 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
63205 as 64-bit value.
63206 * crypt/sha256.c (SWAP64): Define.
63207 (sha256_process_block): Perform total addition using 64-bit if
63208 possible.
63209 (__sha256_finish_ctx): Likewise.
63210
63211 2011-07-01 Ulrich Drepper <drepper@gmail.com>
63212
63213 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
63214 * nscd/initgrcache.c (addinitgroupsX): Likewise.
63215 * nscd/hstcache.c (cache_addhst): Likewise.
63216 * nscd/grpcache.c (cache_addgr): Likewise.
63217 * nscd/aicache.c (addhstaiX): Likewise
63218 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
63219
63220 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
63221
63222 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
63223 * nscd/initgrcache.c (addinitgroupsX): Likewise.
63224 * nscd/hstcache.c (cache_addhst): Likewise.
63225 * nscd/grpcache.c (cache_addgr): Likewise.
63226 * nscd/aicache.c (addhstaiX): Likewise
63227
63228 2011-07-01 Andreas Schwab <schwab@redhat.com>
63229
63230 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
63231 domain only when needed.
63232
63233 2011-06-30 Andreas Schwab <schwab@redhat.com>
63234
63235 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
63236 is always restored.
63237
63238 2011-06-29 Ulrich Drepper <drepper@gmail.com>
63239
63240 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
63241 are re-adding the entry.
63242 * nscd/servicescache.c (cache_addserv): Likewise.
63243
63244 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
63245
63246 * sysdeps/generic/dl-irel.h: fix protection against multiple
63247 inclusions.
63248 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
63249
63250 2011-06-28 Ulrich Drepper <drepper@gmail.com>
63251
63252 [BZ #12935]
63253 * malloc/memusage.sh: Fix quoting in message.
63254 * debug/xtrace.sh: Likewise.
63255
63256 * configure.in: Remove support for --experimental-malloc option, make
63257 it the default.
63258 * config.make.in: Likewise.
63259 * malloc/Makefile: Likewise.
63260
63261 2011-06-27 Andreas Schwab <schwab@redhat.com>
63262
63263 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
63264 two-byte characters.
63265
63266 2011-06-27 Roland McGrath <roland@hack.frob.com>
63267
63268 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
63269 AC_CACHE_CHECK invocation.
63270 * configure: Regenerated.
63271
63272 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
63273
63274 2011-06-27 Ulrich Drepper <drepper@gmail.com>
63275
63276 [BZ #12350]
63277 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
63278 bit from old_res_options.
63279
63280 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
63281
63282 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
63283 value type for setfct.
63284
63285 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
63286
63287 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
63288 __gettimeofday instead of gettimeofday.
63289
63290 2011-06-26 Ulrich Drepper <drepper@gmail.com>
63291
63292 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
63293
63294 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
63295
63296 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
63297
63298 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
63299 info.
63300
63301 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
63302
63303 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
63304 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
63305 strcpy-sse2-unaligned strncpy-sse2-unaligned
63306 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
63307 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
63308 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
63309 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
63310 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
63311 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
63312 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
63313 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
63314 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
63315 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
63316 (STRCPY): Support SSE2 and SSSE3 versions.
63317
63318 2011-06-24 Ulrich Drepper <drepper@gmail.com>
63319
63320 [BZ #12874]
63321 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
63322 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
63323 kernels which artificially limit size of requests.
63324
63325 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
63326
63327 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
63328 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
63329 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
63330 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
63331 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
63332 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
63333 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
63334 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
63335 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
63336 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
63337 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
63338 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
63339 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
63340 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
63341 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
63342 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63343 Enable unaligned load optimization for Intel Core i3, i5 and i7
63344 processors.
63345 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
63346 Define.
63347 (index_Fast_Unaligned_Load): Define.
63348 (HAS_FAST_UNALIGNED_LOAD): Define.
63349
63350 2011-06-23 Marek Polacek <mpolacek@redhat.com>
63351
63352 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
63353
63354 2011-06-22 Ulrich Drepper <drepper@gmail.com>
63355
63356 [BZ #12907]
63357 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
63358 until it is clear that the information is realy needed.
63359 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
63360
63361 2011-06-22 Andreas Schwab <schwab@redhat.com>
63362
63363 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
63364
63365 2011-06-22 Ulrich Drepper <drepper@gmail.com>
63366
63367 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
63368 /sys/devices/system/cpu/online if it is usable.
63369
63370 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
63371 reading the information from the /proc filesystem to once a second.
63372
63373 2011-06-21 Andreas Jaeger <aj@suse.de>
63374
63375 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
63376 NULL after inclusion of kernel headers.
63377
63378 2011-06-21 Ulrich Drepper <drepper@gmail.com>
63379
63380 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
63381 calls to internal_setent.
63382
63383 [BZ #12885]
63384 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
63385 addresses using gethostbyname4_r ignore IPv4 addresses.
63386
63387 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
63388 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
63389
63390 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
63391
63392 2011-06-20 David S. Miller <davem@davemloft.net>
63393
63394 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
63395 inclusions.
63396 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
63397
63398 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
63399 (elf_irel): Use it.
63400 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
63401 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
63402 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
63403 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
63404 * sysdeps/x86_64/dl-irel.h: Likewise.
63405
63406 * elf/dl-runtime.c: Use elf_ifunc_invoke.
63407 * elf/dl-sym.c: Likewise.
63408
63409 2011-06-15 Ulrich Drepper <drepper@gmail.com>
63410
63411 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
63412 need to dereference resplen2.
63413
63414 2011-06-14 Andreas Schwab <schwab@redhat.com>
63415
63416 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
63417
63418 2011-06-15 Ulrich Drepper <drepper@gmail.com>
63419
63420 * Makeconfig: Define vardbdir and inst_vardbdir.
63421 * nss/Makefile: Add rules to install db-Makefile.
63422
63423 * nss/nss_db/db-XXX.c: Cleanup.
63424
63425 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
63426 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
63427 GLIBC_PRIVATE.
63428 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
63429 * nss/makedb.c: Implement -g option to specify that value strings
63430 are generated and should not be added to table iterated over for
63431 get*ent calls.
63432 * nss/nss_db/db-initgroups.c: New file.
63433
63434 * nss/getent.c: Add support for initgroups lookups through getgrouplist
63435 interface.
63436
63437 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
63438 (internal_getgrouplist): Adjust to name change.
63439 Update use_initgroups_entry if this is not the first call.
63440 * nss/databases.def: Add initgroups entry.
63441
63442 * nss/makedb.c (compute_tables): Check result of multiple hash table
63443 sizes to minimize maximum chain length.
63444
63445 2011-06-14 Ulrich Drepper <drepper@gmail.com>
63446
63447 * Versions.def: Add entry for libnss_db.
63448 * shlib-versions: Likewise.
63449 * nss/Makefile: Add rules to build libnss_db.
63450 * nss/Versions: Add libnss_db information. Organize libnss_files
63451 entries better.
63452 * nss/db-Makefile: Add gshadow support. Change rules for the new
63453 makedb progra. Some minor improvements to generate smaller files.
63454 * nss/nss_db/nss_db.h: Move NSS database header data structures to
63455 here from...
63456 * nss/makedb.c: ...here.
63457 Improve database format to be smaller and require less memory at
63458 runtime.
63459 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
63460 db anymore.
63461 * nss/nss_db/db-netgrp.c: Likewise.
63462 * nss/nss_db/db-open.c: Likewise.
63463 * nss/nss_files/flies-XXX.x: Adjust comments.
63464 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
63465 * nss/nss_files/files-grp.c: Likewise.
63466 * nss/nss_files/files-hosts.c: Likewise.
63467 * nss/nss_files/files-network.c: Likewise.
63468 * nss/nss_files/files-proto.c: Likewise.
63469 * nss/nss_files/files-pwd.c: Likewise.
63470 * nss/nss_files/files-rpc.c: Likewise.
63471 * nss/nss_files/files-service.c: Likewise.
63472 * nss/nss_files/files-sgrp.c: Likewise.
63473 * nss/nss_files/files-spwd.c: Likewise.
63474 * nss/nss_db/db-alias.c: Removed.
63475 * nss/nss_db/dummy-db.h: Removed.
63476
63477 2011-06-02 Ulrich Drepper <drepper@gmail.com>
63478
63479 * nss/makedb.c: Rewritten to not use database library.
63480 * nss/Makefile: Update to build new makedb program.
63481
63482 2011-06-14 Andreas Jaeger <aj@suse.de>
63483
63484 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
63485 memset declaration.
63486
63487 2011-06-10 Andreas Schwab <schwab@redhat.com>
63488
63489 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
63490 tmpbuf.
63491
63492 2011-06-10 Roland McGrath <roland@hack.frob.com>
63493
63494 * Makerules (shlib.lds): Fail if the linker script comes out empty.
63495 * elf/Makefile ($(objpfx)ld.so): Likewise.
63496
63497 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
63498 Don't list ld.so twice in dependencies.
63499
63500 * posix/bug-regex31.c: Include <stdlib.h>.
63501
63502 * nscd/hstcache.c (cache_addhst): Remove unused variable.
63503
63504 * nis/nss_compat/compat-spwd.c
63505 (getspent_next_nss_netgr): Remove unused variable.
63506 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
63507
63508 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
63509 nonmembers" output to use the right array.
63510
63511 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
63512
63513 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
63514
63515 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
63516 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
63517 * catgets/gencat.c (read_input_file): Likewise.
63518 * locale/programs/locarchive.c (enlarge_archive): Likewise.
63519
63520 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
63521 variable definition inside #if's controlling its use.
63522
63523 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
63524
63525 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
63526
63527 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
63528
63529 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
63530 unreachable code.
63531
63532 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
63533
63534 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
63535 * configure: Regenerated.
63536
63537 * Makerules: Revert last change.
63538 * elf/Makefile: Likewise.
63539
63540 2011-06-09 Roland McGrath <roland@hack.frob.com>
63541
63542 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
63543 * elf/Makefile ($(objpfx)librtld.os): Likewise.
63544 (reloc-link): Likewise.
63545
63546 2011-06-09 Ulrich Drepper <drepper@gmail.com>
63547
63548 * elf/Makefile: Add rules to build pldd.
63549 * elf/pldd.c: New file.
63550 * elf/pldd-xx.c: New file.
63551
63552 2011-06-07 Ulrich Drepper <drepper@gmail.com>
63553
63554 * version.h: Update for 2.15 development version.
63555
63556 2011-06-07 David S. Miller <davem@davemloft.net>
63557
63558 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
63559 ifuncs.
63560 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
63561 elf_machine_lazy_rel): Likewise.
63562 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
63563 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
63564 elf_machine_lazy_rel): Likewise.
63565 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
63566 dl_hwcap via passed in argument.
63567 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
63568 Likewise.
63569
63570 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
63571
63572 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
63573
63574 2011-06-06 Roland McGrath <roland@hack.frob.com>
63575
63576 [BZ #12849]
63577 * manual/fdl-1.1.texi: New file, verbatim from:
63578 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
63579 * manual/lgpl-2.1.texi: New file, verbatim from:
63580 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
63581 * manual/Makefile (licenses): New variable, list those new file names.
63582 (texis): Use it.
63583 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
63584
63585 * manual/fdl.texi: File removed.
63586 * manual/lesser.texi: File removed.
63587 * manual/libc.texinfo (Copying, Documentation License):
63588 Use new @include file names, put @appendix directive before @include.
63589
63590 2011-06-04 Jakub Jelinek <jakub@redhat.com>
63591
63592 [BZ #12841]
63593 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
63594 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
63595 (mq_open): Add __NTH.
63596
63597 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
63598
63599 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63600 Assume Intel Core i3/i5/i7 processor if AVX is available.
63601
63602 2011-05-31 Ulrich Drepper <drepper@gmail.com>
63603
63604 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
63605 typo.
63606
63607 2011-05-31 Andreas Schwab <schwab@redhat.com>
63608
63609 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
63610 memory. Use alloca_account. Fix memory leak when retrying.
63611
63612 2011-05-31 Ulrich Drepper <drepper@gmail.com>
63613
63614 * version.h (RELEASE): Bump for 2.14 release.
63615 * include/features.h (__GLIBC_MINOR__): Bump to 14.
63616
63617 * config.make.in (RANLIB): Remove entry.
63618
63619 2011-05-30 Ulrich Drepper <drepper@gmail.com>
63620
63621 * po/Makefile (po-sed-cmd): Add ksh to extensions.
63622 (libc.pot): Work around missing support for .ksh extension in xgettext.
63623
63624 [BZ #12684]
63625 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
63626 if both request failed.
63627 (send_dg): In case of server errors clear resplen or *resplen2.
63628
63629 [BZ #12454]
63630 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
63631 when there are multiple maps.
63632 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
63633 (_dl_fini): Remove test here.
63634
63635 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
63636
63637 2011-05-29 Ulrich Drepper <drepper@gmail.com>
63638
63639 [BZ #12350]
63640 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
63641 bit from old_res_options.
63642 (gaih_inet): Likewise.
63643
63644 [BZ #11099]
63645 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
63646 as signed.
63647
63648 * resolv/res_init.c (res_setoptions): Make the code more compact.
63649
63650 [BZ #11558]
63651 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
63652 set RES_USEVC.
63653
63654 [BZ #11634]
63655 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
63656
63657 * malloc/malloc.h: Mark malloc hook variables as deprecated.
63658
63659 [BZ #11781]
63660 * malloc/malloc.h: Declare malloc hook variables as volatile.
63661
63662 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
63663 in last patch.
63664
63665 [BZ #11799]
63666 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
63667 raise in the comment.
63668 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
63669 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
63670 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
63671
63672 2011-05-28 Ulrich Drepper <drepper@gmail.com>
63673
63674 [BZ #12811]
63675 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
63676 grow the buffers more if it already has to be sufficient.
63677 (build_wcs_upper_buffer): Likewise.
63678 * posix/regexec.c (check_matching): Likewise.
63679 (clean_state_log_if_needed): Likewise.
63680 (extend_buffers): Don't enlarge buffers beyond size of the input
63681 buffer.
63682 Patches mostly by Emil Wojak <emil@wojak.eu>.
63683 * posix/bug-regex32.c: New file.
63684 * posix/Makefile (tests): Add bug-regex32.
63685
63686 * locale/findlocale.c (_nl_find_locale): Return right away if
63687 _nl_explode_name failed.
63688 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
63689
63690 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
63691
63692 * debug/xtrace.sh: Unify messages.
63693 * malloc/memusage.sh: Likewise.
63694
63695 [BZ #12813]
63696 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
63697 time symbol from vDSO. Substitute with vsyscall if not available.
63698 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
63699 __vdso_time.
63700
63701 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
63702 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
63703 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
63704 Add sendmmsg and internal_sendmmsg.
63705 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
63706 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
63707 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
63708
63709 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
63710 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
63711 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
63712
63713 2011-05-27 Ulrich Drepper <drepper@gmail.com>
63714
63715 [BZ #12813]
63716 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
63717 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
63718 available.
63719 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
63720 __vdso_getcpu.
63721
63722 [BZ #12814]
63723 * iconvdata/Makefile (tests): Add bug-iconv9.
63724 * iconvdata/bug-iconv9.c: New file.
63725
63726 2011-05-27 Andreas Schwab <schwab@redhat.com>
63727
63728 [BZ #12814]
63729 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
63730
63731 2011-05-25 Jakub Jelinek <jakub@redhat.com>
63732
63733 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
63734 (struct user_regs_struct): Change intcs field back to cs.
63735
63736 2011-05-25 Ulrich Drepper <drepper@gmail.com>
63737
63738 * po/ja.po: Update from translation team.
63739
63740 2011-05-23 Ulrich Drepper <drepper@gmail.com>
63741
63742 [BZ #12795]
63743 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
63744 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
63745
63746 2011-05-20 Andreas Schwab <schwab@redhat.com>
63747
63748 * stdlib/longlong.h: Update from GCC.
63749
63750 2011-05-23 Andreas Schwab <schwab@redhat.com>
63751
63752 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
63753 parameter name.
63754 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
63755 Add parameter name.
63756 (__sysconf): Pass it down.
63757
63758 2011-05-22 Ulrich Drepper <drepper@gmail.com>
63759
63760 [BZ #12671]
63761 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
63762 some situations.
63763 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
63764 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
63765 add in in __libc_use_alloca calls. Adjust callers.
63766 (glob): Use malloc in some situations.
63767
63768 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
63769 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
63770 pltexit.
63771
63772 2011-05-21 Ulrich Drepper <drepper@gmail.com>
63773
63774 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
63775 and CLOCK_BOOTTIME_ALARM.
63776
63777 [BZ #12782]
63778 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
63779 is returned.
63780
63781 * string/_strerror.c (__strerror_r): Print negative errors as signed
63782 numbers.
63783
63784 [BZ #12777]
63785 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
63786 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
63787 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
63788
63789 * configure.in: Fix typo in redirection and correct removal of test
63790 files in two cases.
63791
63792 [BZ #12788]
63793 * locale/setlocale.c (new_composite_name): Fix test to check for
63794 identical name of all categories.
63795
63796 [BZ #12792]
63797 * libio/filedoalloc.c (local_isatty): New function.
63798 (_IO_file_doallocate): Use local_isatty.
63799 * stdio-common/perror.c (perror): In case a new stream is used
63800 forward the stream error.
63801 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
63802 error flag.
63803
63804 2011-05-20 Ulrich Drepper <drepper@gmail.com>
63805
63806 [BZ #11869]
63807 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
63808 alloca.
63809 * include/alloca.h (extend_alloca_account): Define.
63810
63811 [BZ #11857]
63812 * posix/regex.h: Fix comments with documentation of user-accessible
63813 fields after compilation and describe correct free'ing of pattern
63814 after re_compile_pattern.
63815 Patch by Reuben Thomas <rrt@sc3d.org>.
63816
63817 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
63818
63819 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
63820 and -mno-altivec to prevent the compiler from using Altivec and/or
63821 VSX instructions when the corresponding registers are not available.
63822
63823 2011-05-19 Andreas Schwab <schwab@redhat.com>
63824
63825 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
63826
63827 2011-05-19 Ulrich Drepper <drepper@gmail.com>
63828
63829 * libio/freopen.c (freopen): Use __dup2, not dup2.
63830 * libio/freopen64.c (freopen64): Likewise.
63831
63832 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
63833
63834 [BZ #12775]
63835 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
63836 * math/Makefile (tests): Add test-powl.
63837 (CFLAGS-test-powl.c): Define.
63838 * math/test-powl.c: New file.
63839
63840 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
63841
63842 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
63843
63844 2011-05-17 Ulrich Drepper <drepper@gmail.com>
63845
63846 [BZ #11837]
63847 * iconvdata/gb18030.c: Update to GB18020-2005.
63848
63849 2011-05-16 Ulrich Drepper <drepper@gmail.com>
63850
63851 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
63852 RE_SYNTAX_POSIX_AWK): Update to match recent development.
63853 Patch by Aharon Robbins <arnold@skeeve.com>.
63854
63855 [BZ #11892]
63856 * stdlib/putenv.c (putenv): Don't always create copy of the variable
63857 on the stack.
63858
63859 [BZ #11895]
63860 * misc/pselect.c (__pselect): Handle timeout value errors hidden
63861 through underflows.
63862
63863 [BZ #12766]
63864 * misc/error.c (error_at_line): Ensure file_name and old_file_name
63865 point to strings before performing equality test for error_one_per_line
63866 mode.
63867
63868 [BZ #11697]
63869 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
63870
63871 [BZ #11820]
63872 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
63873 (struct user_fpregs_struct): Avoid __uint*_t types.
63874
63875 [BZ #6420]
63876 * malloc/mtrace.c (tr_where): Add additional parameter to point to
63877 symbol info. Use it instead of calling _dl_addr locally.
63878 (lock_and_info): New function.
63879 (tr_freehook): Call lock_and_info and pass symbol info as additional
63880 parameter to tr_where.
63881 (tr_mallochook): Likewise.
63882 (tr_reallochook): Likewise.
63883 (tr_memalignhook): Likewise.
63884
63885 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
63886 used and couldn't be at all thread-safe.
63887
63888 2011-05-15 Ulrich Drepper <drepper@gmail.com>
63889
63890 * libio/freopen.c (freopen): Don't close old file descriptor
63891 before the new one is opened. Instead dup the new file descriptor
63892 to the old one after the new stream is created.
63893 * libio/freopen64.c (freopen64): Likewise.
63894 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
63895 * libio/fileops.c (_IO_new_file_close_it): Handle new
63896 _IO_FLAGS2_NOCLOSE flag.
63897 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
63898 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
63899 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
63900 _IO_FLAGS2_NOCLOSE flag.
63901 * include/unistd.h: Add hidden_proto for dup3.
63902 Define __have_dup3.
63903 * io/dup3.c: Define hidden symbol.
63904 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
63905
63906 [BZ #7101]
63907 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
63908 when an incomplete long option is used.
63909 * posix/tst-getopt_long1.c: New file.
63910 * posix/Makefile (tests): Add tst-getopt_long1.
63911
63912 [BZ #10138]
63913 * scripts/config.guess: Update from autoconf-2.68.
63914 * scripts/config.sub: Likewise.
63915
63916 [BZ #10157]
63917 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
63918 tests into ...
63919 (has_cpuclock): ...this. New function.
63920 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
63921 macro here based on has_cpuclock code.
63922
63923 [BZ #10149]
63924 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
63925 First byte (not low byte) is now always NUL.
63926 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
63927
63928 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
63929 Use non-cancelable interfaces.
63930
63931 [BZ #9809]
63932 * locale/iso-639.def: Add entry for Sorani.
63933
63934 [BZ #11901]
63935 * include/stdlib.h: Move include protection to the right place.
63936 Define abort_msg_s. Declare __abort_msg with it.
63937 * stdlib/abort.c (__abort_msg): Adjust type.
63938 * assert/assert.c (__assert_fail_base): New function. Majority
63939 of code from __assert_fail. Allocate memory for __abort_msg with
63940 mmap.
63941 (__assert_fail): Now call __assert_fail_base.
63942 * assert/assert-perr.c: Remove bulk of implementation. Use
63943 __assert_fail_base.
63944 * include/assert.hL Declare __assert_fail_base.
63945 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
63946 mmap.
63947 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
63948
63949 2011-05-14 Ulrich Drepper <drepper@gmail.com>
63950
63951 [BZ #11952]
63952 [BZ #12453]
63953 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
63954 until all modules are registered in the DTV.
63955 * elf/Makefile: Add rules to build and run tst-tls19.
63956 * elf/tst-tls19.c: New file.
63957 * elf/tst-tls19mod1.c: New file.
63958 * elf/tst-tls19mod2.c: New file.
63959 * elf/tst-tls19mod3.c: New file.
63960 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
63961
63962 [BZ #12083]
63963 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
63964 correctly.
63965
63966 [BZ #12601]
63967 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
63968 two-byte sequence errors.
63969 * iconvdata/Makefile (tests): Add bug-iconv8.
63970 * iconvdata/bug-iconv8.c: New file.
63971
63972 [BZ #12626]
63973 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
63974 buf2 definition.
63975
63976 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
63977
63978 [BZ #12432]
63979 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
63980 (dummy_getcfa): New function.
63981 (init): Get _Unwind_GetCFA address, use dummy if not found.
63982 (backtrace_helper): In recursion check, also check whether CFA changes.
63983 (__backtrace): Completely initialize arg.
63984
63985 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
63986 storing incomplete byte sequence in state object. Avoid testing for
63987 guaranteed too small input if we know there is enough data available.
63988
63989 2011-05-11 Andreas Schwab <schwab@redhat.com>
63990
63991 * Makeconfig (+link-pie): Indent.
63992 * Rules (binaries-pie): Define if $(have-fpie) and
63993 $(build-shared).
63994 (binaries-shared): Also filter out $(binaries-pie).
63995 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
63996 * nscd/Makefile (others-pie): Add nscd.
63997 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
63998 ($(objpfx)nscd): Remove command override.
63999 * login/Makefile (others-pie): Add pt_chown.
64000 ($(objpfx)pt_chown): Remove command override.
64001 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
64002 remove command overrides.
64003
64004 2011-05-13 Ulrich Drepper <drepper@gmail.com>
64005
64006 * libio/tst_putwc.c: Fix error messages.
64007
64008 [BZ #12724]
64009 * libio/fileops.c (_IO_new_file_close_it): Always flush when
64010 currently writing and seek to current position when not.
64011 * libio/Makefile (tests): Add bug-fclose1.
64012 * libio/bug-fclose1.c: New file.
64013
64014 2011-05-12 Ulrich Drepper <drepper@gmail.com>
64015
64016 [BZ #12511]
64017 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
64018 don't set DF_1_NODELETE here.
64019 (do_lookup_x): When entering new entry test for copy relocation
64020 and if necessary set DF_1_NODELETE flag.
64021 * elf/tst-unique4.cc: New file.
64022 * elf/tst-unique4.h: New file.
64023 * elf/tst-unique4lib.cc: New file.
64024 * elf/Makefile: Add rules to build and run tst-unique4.
64025 Patch by Piotr Bury <pbury@goahead.com>.
64026
64027 2011-05-11 Ulrich Drepper <drepper@gmail.com>
64028
64029 [BZ #12052]
64030 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
64031
64032 [BZ #12625]
64033 * misc/mntent_r.c (addmntent): Flush the stream after the output
64034
64035 [BZ #12393]
64036 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
64037 (is_trusted_path_normalize): Skip initial colon. Append slash
64038 to empty buffer. Duplicate is_trusted_path code but allow
64039 constructed patch to be prefix.
64040 (is_dst): Allow $ORIGIN followed by /.
64041 (_dl_dst_substitute): Correct clearing of check_for_trusted.
64042 Correct testing of result of is_trusted_path_normalize
64043 (decompose_rpath): Fix warning.
64044
64045 2011-05-10 Ulrich Drepper <drepper@gmail.com>
64046
64047 [BZ #11257]
64048 * grp/initgroups.c (internal_getgrouplist): When we found the service
64049 list through the initgroups entry in nsswitch.conf do not always
64050 continue on a successful lookup. Don't always use the
64051 __nss_group_database value if it is set.
64052 * nss/nsswitch.conf (initgroups): Change action for successful db
64053 lookup to continue for compatibility.
64054
64055 2011-05-09 Ulrich Drepper <drepper@gmail.com>
64056
64057 [BZ #11532]
64058 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
64059 and CP774 modules.
64060 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
64061 and CP774 modules.
64062 * iconvdata/tst-tables.sh: Likewise.
64063 * iconvdata/cp770.c: New file.
64064 * iconvdata/cp771.c: New file.
64065 * iconvdata/cp772.c: New file.
64066 * iconvdata/cp773.c: New file.
64067 * iconvdata/cp774.c: New file.
64068 * iconvdata/testdata/CP770: New file.
64069 * iconvdata/testdata/CP770..UTF8: New file.
64070 * iconvdata/testdata/CP771: New file.
64071 * iconvdata/testdata/CP771..UTF8: New file.
64072 * iconvdata/testdata/CP772: New file.
64073 * iconvdata/testdata/CP772..UTF8: New file.
64074 * iconvdata/testdata/CP773: New file.
64075 * iconvdata/testdata/CP773..UTF8: New file.
64076 * iconvdata/testdata/CP774: New file.
64077 * iconvdata/testdata/CP774..UTF8: New file.
64078
64079 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
64080 END CHARMAP line.
64081 * iconvdata/gen-8bit-gap.sh: Likewise.
64082 * iconvdata/gen-8bit.sh: Likewise.
64083
64084 * locale/iso-639.def: Add ary entry.
64085
64086 [BZ #11258]
64087 * locale/C-translit.h.in: Add U20A1 transliteration.
64088
64089 [BZ #12178]
64090 * locale/iso-639.def: Add wae entry.
64091 Patch by Kevin Bortis <bortis@translate-wae.ch>.
64092
64093 [BZ #12545]
64094 * locale/programs/localedef.c (construct_output_path): Use ssize_t
64095 for n.
64096
64097 [BZ #12711]
64098 * locale/C-translit.h.in: Add entry for U20B9.
64099 Patch by pravin.d.s@gmail.com.
64100
64101 2011-05-08 Ulrich Drepper <drepper@gmail.com>
64102
64103 [BZ #12713]
64104 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
64105 ENAMETOOLONG use generic getcwd.
64106 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
64107 in rtld. Use *stat64.
64108 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
64109 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
64110 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
64111 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
64112 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
64113 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
64114 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
64115 __fstatat64 macros.
64116 * include/dirent.h: Add libc_hidden_proto for rewinddir.
64117 * dirent/rewinddir.c: Add libc_hidden_def.
64118 * sysdeps/mach/hurd/rewinddir.c: Likewise.
64119 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
64120
64121 * include/dirent.h (__alloc_dir): Add flags parameter.
64122 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
64123 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
64124 __alloc_dir.
64125 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
64126 from fdopendir if O_CLOEXEC is already set.
64127
64128 2011-03-15 Alan Modra <amodra@gmail.com>
64129
64130 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
64131 l_tls_firstbyte_offset non-zero. Save padding offset in
64132 l_tls_firstbyte_offset for later use.
64133 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
64134 freeing static tls block.
64135
64136 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
64137
64138 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
64139 where #ifdef was intended. The intent is to prevent ARG_MAX from
64140 being defined by the kernel headers.
64141
64142 2011-05-07 Ulrich Drepper <drepper@gmail.com>
64143
64144 [BZ #12734]
64145 * resolv/resolv.h: Define RES_NOTLDQUERY.
64146 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
64147 no-tld-query and set RES_NOTLDQUERY.
64148 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
64149 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
64150 modern BIND to search name as TLD unless forbidden.
64151
64152 2011-05-07 Petr Baudis <pasky@suse.cz>
64153 Ulrich Drepper <drepper@gmail.com>
64154
64155 [BZ #12393]
64156 * elf/dl-load.c (fillin_rpath): Move trusted path check...
64157 (is_trusted_path): ...to here.
64158 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
64159 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
64160 using is_trusted_path_normalize() in setuid scripts.
64161
64162 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
64163
64164 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
64165 __BEGIN/__END_DECLS.
64166
64167 2011-05-06 Ulrich Drepper <drepper@gmail.com>
64168
64169 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
64170 NSS_STATUS_NOTFOUND if no record was found.
64171
64172 2011-05-05 Andreas Schwab <schwab@redhat.com>
64173
64174 * sunrpc/Makefile (headers): Add rpc/netdb.h.
64175 (headers-not-in-tirpc): Remove rpc/netdb.h
64176 * resolv/netdb.h: Revert last change.
64177
64178 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
64179
64180 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
64181 circular dependency between libgcc.a and libc.a.
64182
64183 2011-05-05 Andreas Schwab <schwab@redhat.com>
64184
64185 * resolv/netdb.h: Don't include <rpc/netdb.h>.
64186 * nis/Makefile: Don't install rpcsvc/*.
64187 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
64188 instead of <rpc/types.h>.
64189 (MAXHOSTNAMELEN): Define.
64190
64191 2011-05-03 Andreas Schwab <schwab@redhat.com>
64192
64193 * elf/ldconfig.c (add_dir): Don't crash on empty path.
64194
64195 2011-04-28 Maciej Babinski <mbabinski@google.com>
64196
64197 [BZ #12714]
64198 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
64199 gethostbyname4_r when IPv6 results are possible.
64200
64201 2011-05-02 Ulrich Drepper <drepper@gmail.com>
64202
64203 [BZ #12723]
64204 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
64205 _PC_PIPE_BUF handling.
64206
64207 2011-04-30 Bruno Haible <bruno@clisp.org>
64208
64209 [BZ #12717]
64210 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
64211 * resolv/netdb.h (getnameinfo): Change type of flags parameter
64212 to 'int'.
64213 * inet/getnameinfo.c (getnameinfo): Likewise.
64214
64215 2011-04-29 Ulrich Drepper <drepper@gmail.com>
64216
64217 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
64218 to groups setting in database lookup.
64219 * nss/nsswitch.conf: Add initgroups entry.
64220
64221 2011-04-22 Ulrich Drepper <drepper@gmail.com>
64222
64223 [BZ #12685]
64224 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
64225 mode string.
64226 Patch by Eric Blake <eblake@redhat.com>.
64227
64228 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
64229
64230 * sunrpc/Makefile (need-export-routines): Add svc_run.
64231 (routines): Remove svc_run.
64232 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
64233 * sunrpc/clnt_perr.c (clnt_perrno): Export.
64234 * sunrpc/svc_run.c (svc_run): Likewise.
64235 * sunrpc/svc_udp.c (svcudp_create): Likewise.
64236
64237 2011-04-21 Ulrich Drepper <drepper@gmail.com>
64238
64239 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
64240 problem in reallocation in last patch.
64241
64242 2011-04-20 Ulrich Drepper <drepper@gmail.com>
64243
64244 * sunrpc/Makefile: Move inclusion of Rules.
64245
64246 2011-04-19 Ulrich Drepper <drepper@gmail.com>
64247
64248 * nss/nss_files/files-initgroups.c: New file.
64249 * nss/Makefile (libnss_files-routines): Add files-initgroups.
64250 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
64251 _nss_files_initgroups_dyn.
64252
64253 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
64254
64255 * elf/elf.h (R_ARM_IRELATIVE): Define.
64256
64257 2011-04-19 Ulrich Drepper <drepper@gmail.com>
64258
64259 * po/ru.po: Update from translation team.
64260
64261 2011-04-17 Ulrich Drepper <drepper@gmail.com>
64262
64263 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
64264 dependencies.
64265
64266 2011-02-06 Mike Frysinger <vapier@gentoo.org>
64267
64268 [BZ #12653]
64269 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
64270 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
64271 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
64272 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
64273 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
64274
64275 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
64276
64277 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
64278 differing bytes.
64279 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
64280 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
64281 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
64282
64283 2011-04-17 Ulrich Drepper <drepper@gmail.com>
64284
64285 [BZ #12420]
64286 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
64287 storing it.
64288 * stdlib/bug-getcontext.c: New file.
64289 * stdlib/Makefile: Add rules to build and run bug-getcontext.
64290
64291 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
64292
64293 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
64294 instructions into .machine "z9-109".
64295 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
64296 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
64297
64298 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
64299
64300 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
64301 between environment variables and auxiliary vector.
64302
64303 2011-04-16 Ulrich Drepper <drepper@gmail.com>
64304
64305 * Makefile: Add rules to build linkobj/libc.so.
64306 * include/libc-symbols.h: Define libc_hidden_nolink.
64307 * include/rpc/auth.h: Mark functions which are to be hidden.
64308 * include/rpc/auth_des.h: Likewise.
64309 * include/rpc/auth_unix.h: Likewise.
64310 * include/rpc/clnt.h: Likewise.
64311 * include/rpc/des_crypt.h: Likewise.
64312 * include/rpc/key_prot.h: Likewise.
64313 * include/rpc/pmap_clnt.h: Likewise.
64314 * include/rpc/pmap_prot.h: Likewise.
64315 * include/rpc/pmap_rmt.h: Likewise.
64316 * include/rpc/rpc_msg.h: Likewise.
64317 * include/rpc/svc.h: Likewise.
64318 * include/rpc/svc_auth.h: Likewise.
64319 * include/rpc/xdr.h: Likewise.
64320 * nis/Makefile: Link all DSOs against linkobj/libc.so.
64321 * nss/Makefile: Likewise.
64322 * sunrpc/Makefile: Don't install headers. Build library with normal
64323 entry points. Don't build rpcinfo. Link RPC tests appropriately.
64324 * sunrpc/auth_des.c: Hide exported symbols by default, export some
64325 for the compat linking library. Remove use of INTDEF/INTUSE.
64326 * sunrpc/auth_none.c: Likewise.
64327 * sunrpc/auth_unix.c: Likewise.
64328 * sunrpc/authdes_prot.c: Likewise.
64329 * sunrpc/authuxprot.c: Likewise.
64330 * sunrpc/clnt_gen.c: Likewise.
64331 * sunrpc/clnt_perr.c: Likewise.
64332 * sunrpc/clnt_raw.c: Likewise.
64333 * sunrpc/clnt_simp.c: Likewise.
64334 * sunrpc/clnt_tcp.c: Likewise.
64335 * sunrpc/clnt_udp.c: Likewise.
64336 * sunrpc/clnt_unix.c: Likewise.
64337 * sunrpc/des_crypt.c: Likewise.
64338 * sunrpc/des_soft.c: Likewise.
64339 * sunrpc/get_myaddr.c: Likewise.
64340 * sunrpc/key_call.c: Likewise.
64341 * sunrpc/key_prot.c: Likewise.
64342 * sunrpc/netname.c: Likewise.
64343 * sunrpc/pm_getmaps.c: Likewise.
64344 * sunrpc/pm_getport.c: Likewise.
64345 * sunrpc/pmap_clnt.c: Likewise.
64346 * sunrpc/pmap_prot.c: Likewise.
64347 * sunrpc/pmap_prot2.c: Likewise.
64348 * sunrpc/pmap_rmt.c: Likewise.
64349 * sunrpc/publickey.c: Likewise.
64350 * sunrpc/rpc_cmsg.c: Likewise.
64351 * sunrpc/rpc_common.c: Likewise.
64352 * sunrpc/rpc_dtable.c: Likewise.
64353 * sunrpc/rpc_prot.c: Likewise.
64354 * sunrpc/rpc_thread.c: Likewise.
64355 * sunrpc/rtime.c: Likewise.
64356 * sunrpc/svc.c: Likewise.
64357 * sunrpc/svc_auth.c: Likewise.
64358 * sunrpc/svc_authux.c: Likewise.
64359 * sunrpc/svc_raw.c: Likewise.
64360 * sunrpc/svc_run.c: Likewise.
64361 * sunrpc/svc_simple.c: Likewise.
64362 * sunrpc/svc_tcp.c: Likewise.
64363 * sunrpc/svc_udp.c: Likewise.
64364 * sunrpc/svc_unix.c: Likewise.
64365 * sunrpc/svcauth_des.c: Likewise.
64366 * sunrpc/xcrypt.c: Likewise.
64367 * sunrpc/xdr.c: Likewise.
64368 * sunrpc/xdr_array.c: Likewise.
64369 * sunrpc/xdr_float.c: Likewise.
64370 * sunrpc/xdr_intXX_t.c: Likewise.
64371 * sunrpc/xdr_mem.c: Likewise.
64372 * sunrpc/xdr_rec.c: Likewise.
64373 * sunrpc/xdr_ref.c: Likewise.
64374 * sunrpc/xdr_sizeof.c: Likewise.
64375 * sunrpc/xdr_stdio.c: Likewise.
64376
64377 2011-04-10 Ulrich Drepper <drepper@gmail.com>
64378
64379 [BZ #12650]
64380 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
64381 * sysdeps/ia64/dl-tls.h: Likewise.
64382 * sysdeps/powerpc/dl-tls.h: Likewise.
64383 * sysdeps/s390/dl-tls.h: Likewise.
64384 * sysdeps/sh/dl-tls.h: Likewise.
64385 * sysdeps/sparc/dl-tls.h: Likewise.
64386 * sysdeps/x86_64/dl-tls.h: Likewise.
64387 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
64388
64389 2011-03-14 Andreas Schwab <schwab@redhat.com>
64390
64391 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
64392 rpath element also skip the following colon.
64393 (expand_dynamic_string_token): Add is_path parameter and pass
64394 down to DL_DST_REQUIRED and _dl_dst_substitute.
64395 (decompose_rpath): Call expand_dynamic_string_token with
64396 non-zero is_path. Ignore empty rpaths.
64397 (_dl_map_object_from_fd): Call expand_dynamic_string_token
64398 with zero is_path.
64399
64400 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
64401
64402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
64403 Make cancelable.
64404
64405 2011-04-09 Ulrich Drepper <drepper@gmail.com>
64406
64407 [BZ #12655]
64408 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
64409 Patch by Filipe David Manana <fdmanana@apache.org>.
64410
64411 2011-04-07 Andreas Schwab <schwab@redhat.com>
64412
64413 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
64414 Maintain aligned stack.
64415 (CHECK_RSP): Remove unused macro.
64416
64417 2011-04-03 Ulrich Drepper <drepper@gmail.com>
64418
64419 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
64420 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
64421
64422 2011-04-02 Ulrich Drepper <drepper@gmail.com>
64423
64424 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
64425
64426 * include/features.h: Mention __USE_XOPEN2K8 in comment.
64427
64428 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
64429
64430 [BZ #12518]
64431 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
64432 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
64433 * sysdeps/x86_64/memmove.c: New file.
64434 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
64435 (memcpy): Renamed to ...
64436 (__new_memcpy): This.
64437 (memcpy): Provide GLIBC_2_14 memcpy.
64438 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
64439 (memcpy): Provide GLIBC_2_2_5 memcpy.
64440
64441 2011-04-01 Ulrich Drepper <drepper@gmail.com>
64442
64443 [BZ #12631]
64444 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
64445
64446 2011-03-30 Andreas Schwab <schwab@redhat.com>
64447
64448 * misc/syncfs.c: New file.
64449 * misc/Makefile (routines): Add syncfs.
64450 * posix/unistd.h: Declare syncfs.
64451 * sysdeps/unix/syscalls.list: Add syncfs.
64452
64453 2011-04-01 Andreas Schwab <schwab@redhat.com>
64454
64455 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
64456 open_by_handle_at.
64457 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
64458 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
64459 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
64460 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
64461 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
64462 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
64463 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
64464
64465 2011-04-01 Ulrich Drepper <drepper@gmail.com>
64466
64467 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
64468 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
64469 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
64470 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
64471 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
64472 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
64473 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
64474
64475 * io/Makefile: Compile fallocate.c, fallocate64.c, and
64476 sync_file_range.c with -fexceptions.
64477 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
64478 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
64479 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
64480 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
64481 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
64482 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
64483 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
64484 sync_file_range as cancellation point
64485 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
64486 now a wrapper around __call_sync_file_range with cancellation handling.
64487 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
64488 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
64489 function name to __call_sync_file_range.
64490 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
64491 Add call_sync_file_range.
64492
64493 2011-04-01 Andreas Schwab <schwab@redhat.com>
64494
64495 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64496 bits/timex.h.
64497
64498 2011-04-01 Ulrich Drepper <drepper@gmail.com>
64499
64500 * iconv/iconv.h: Fix typo in comment.
64501 * io/fcntl.h: Likewise.
64502 * libio/stdio.h: Likewise.
64503 * posix/spawn.h: Likewise.
64504 * posix/unistd.h: Likewise.
64505 * stdlib/stdlib.h: Likewise.
64506 * time/time.h: Likewise.
64507 * wcsmbs/wchar.h: Likewise.
64508
64509 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
64510 open_by_handle): Add.
64511 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
64512 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
64513 Augment a few comments.
64514 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
64515 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
64516 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
64517 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
64518 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
64519 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
64520 open_by_handle.
64521
64522 * io/fcntl.h (AT_EMPTY_PATH): Define.
64523
64524 2011-03-30 Ulrich Drepper <drepper@gmail.com>
64525
64526 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
64527 * sysdeps/unix/sysv/linux/bits/time.h: New file.
64528 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
64529 to...
64530 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
64531 * Versions.def: Add GLIBC_2.14.
64532 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
64533 Export.
64534
64535 2011-03-22 Ulrich Drepper <drepper@gmail.com>
64536
64537 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
64538 round counter.
64539 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
64540
64541 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
64542
64543 [BZ #12597]
64544 * string/test-strncmp.c (do_page_test): New function.
64545 (check2): Likewise.
64546 (test_main): Call check2.
64547 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
64548
64549 2011-03-20 Ulrich Drepper <drepper@gmail.com>
64550
64551 [BZ #12587]
64552 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
64553 Handle cache information in CPU leaf 4.
64554 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
64555
64556 2011-03-18 Ulrich Drepper <drepper@gmail.com>
64557
64558 [BZ #12583]
64559 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
64560 character representation.
64561 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
64562
64563 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
64564
64565 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
64566 END(__isnan) to END(__isnanf) to match function entry point/label
64567 EALIGN(__isnanf,...).
64568
64569 2011-03-10 Jakub Jelinek <jakub@redhat.com>
64570
64571 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
64572
64573 2011-03-10 Ulrich Drepper <drepper@gmail.com>
64574
64575 [BZ #12510]
64576 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
64577 copy from the symbol referenced in the relocation to initialize the
64578 used variable.
64579 Patch by Piotr Bury <pbury@goahead.com>.
64580 * elf/Makefile: Add rules to build and tst-unique3.
64581 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
64582 * elf/tst-unique3.cc: New file.
64583 * elf/tst-unique3.h: New file.
64584 * elf/tst-unique3lib.cc: New file.
64585 * elf/tst-unique3lib2.cc: New file.
64586
64587 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
64588
64589 2011-03-10 Mike Frysinger <vapier@gentoo.org>
64590
64591 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
64592 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
64593 to _start.
64594
64595 2011-03-06 Ulrich Drepper <drepper@gmail.com>
64596
64597 * elf/dl-load.c (_dl_map_object): If we are looking for the first
64598 to-be-loaded object along a path to loader is ld.so.
64599
64600 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
64601 Ulrich Drepper <drepper@gmail.com>
64602
64603 * sysdeps/x86_64/memset.S: After aligning destination, code
64604 branches to different locations depending on the value of
64605 misalignment, when multiarch is enabled. Fix this.
64606
64607 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
64608
64609 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
64610 Set _x86_64_preferred_memory_instruction for AMD processsors.
64611 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
64612 Set bit_Prefer_SSE_for_memop for AMD processors.
64613
64614 2011-03-04 Ulrich Drepper <drepper@gmail.com>
64615
64616 * libio/fmemopen.c (fmemopen): Optimize a bit.
64617
64618 2011-03-03 Andreas Schwab <schwab@redhat.com>
64619
64620 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
64621
64622 2011-03-03 Roland McGrath <roland@redhat.com>
64623
64624 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
64625
64626 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
64627
64628 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
64629 __bzero_ultra1 instead of __memset_ultra1.
64630
64631 2011-02-23 Andreas Schwab <schwab@redhat.com>
64632 Ulrich Drepper <drepper@gmail.com>
64633
64634 [BZ #12509]
64635 * include/link.h (struct link_map): Add l_orig_initfini.
64636 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
64637 returning unsuccessfully.
64638 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
64639 close of a file loaded at startup, restore the original l_initfini
64640 list.
64641 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
64642 list, store the pointer.
64643 * elf/Makefile ($(objpfx)noload-mem): New rule.
64644 (noload-ENV): Define.
64645 (tests): Add $(objpfx)noload-mem.
64646 * elf/noload.c: Include <memcheck.h>.
64647 (main): Call mtrace. Close all opened handles.
64648
64649 2011-02-17 Andreas Schwab <schwab@redhat.com>
64650
64651 [BZ #12454]
64652 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
64653 dependencies are missing.
64654
64655 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
64656
64657 Fix __if_freereq crash: Unlike the generic version which uses free,
64658 Hurd needs munmap.
64659 * sysdeps/mach/hurd/ifreq.h: New file.
64660
64661 2011-01-27 Petr Baudis <pasky@suse.cz>
64662 Ulrich Drepper <drepper@gmail.com>
64663
64664 [BZ 12445]#
64665 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
64666 to extend_alloca().
64667 * stdio-common/bug23.c: New file.
64668 * stdio-common/Makefile (tests): Add bug23.
64669
64670 2010-09-28 Andreas Schwab <schwab@redhat.com>
64671 Ulrich Drepper <drepper@gmail.com>
64672
64673 [BZ #12489]
64674 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
64675 before performing relro protection. At old place add assertion
64676 to make sure nothing changed.
64677
64678 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
64679 Glauber de Oliveira Costa <glommer@gmail.com>
64680
64681 * elf/elf.h: Add new ARM TLS relocs.
64682
64683 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
64684
64685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
64686 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
64687 cast from r3.
64688 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
64689 'tests' variable.
64690 * sysdeps/wordsize-64/tst-writev.c: New file.
64691
64692 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
64693
64694 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
64695 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
64696 insns in _dl_start to prevent a TOC reference before relocs are
64697 resolved.
64698
64699 2011-02-15 Ulrich Drepper <drepper@gmail.com>
64700
64701 [BZ #12469]
64702 * Makeconfig: Remove RANLIB definition.
64703 * Makerules: Don't use RANLIB.
64704 * aclocal.m4: Remove ranlib test.
64705 * configure.in: No need to check for ranlib.
64706 * elf/rtld-Rules: Don't use RANLIB.
64707
64708 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
64709
64710 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
64711 protection macro.
64712 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
64713 inclusion protection macro.
64714
64715 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
64716 SIGRTMIN and SIGRTMAX and print information in that case only when
64717 SIGRTMIN is defined.
64718
64719 2011-02-11 Jakub Jelinek <jakub@redhat.com>
64720
64721 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
64722 arginfo fn returning -1.
64723
64724 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
64725 and thousands string is zero terminated.
64726
64727 2011-02-03 Andreas Schwab <schwab@redhat.com>
64728
64729 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
64730 sysdeps/unix/sysv/linux/bits/socket.h.
64731
64732 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
64733
64734 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
64735 (__CPU_COUNT): Remove old macros.
64736 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
64737 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
64738 (__CPU_ALLOC, __CPU_FREE): Add macros.
64739 (__sched_cpualloc, __sched_cpufree): Add declarations.
64740
64741 2011-02-05 Ulrich Drepper <drepper@gmail.com>
64742
64743 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
64744 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
64745 * nscd/aicache.c (addhstaiX): Return timeout of added value.
64746 (readdhstai): Return value of addhstaiX call.
64747 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
64748 (addgrbyX): Return value returned by cache_addgr.
64749 (readdgrbyname): Return value returned by addgrbyX.
64750 (readdgrbygid): Likewise.
64751 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
64752 (addpwbyX): Return value returned by cache_addpw.
64753 (readdpwbyname): Return value returned by addhstbyX.
64754 (readdpwbyuid): Likewise.
64755 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
64756 (addservbyX): Return value returned by cache_addserv.
64757 (readdservbyname): Return value returned by addservbyX:
64758 (readdservbyport): Likewise.
64759 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
64760 (addhstbyX): Return value returned by cache_addhst.
64761 (readdhstbyname): Return value returned by addhstbyX.
64762 (readdhstbyaddr): Likewise.
64763 (readdhstbynamev6): Likewise.
64764 (readdhstbyaddrv6): Likewise.
64765 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
64766 (readdinitgroups): Return value returned by addinitgroupsX.
64767 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
64768 (prune_cache): Keep track of timeout value of re-added entries.
64769 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
64770 * nscd/nscd.h: Adjust prototypes of readd* functions.
64771
64772 2011-02-04 Roland McGrath <roland@redhat.com>
64773
64774 * nis/nis_server.c (nis_servstate): Use the right name for 0.
64775 (nis_stats): Likewise.
64776 * nis/nis_modify.c (nis_modify): Likewise.
64777 * nis/nis_remove.c (nis_remove): Likewise.
64778 * nis/nis_add.c (nis_add): Likewise.
64779
64780 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
64781
64782 * posix/fnmatch_loop.c: Add some consts.
64783
64784 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
64785
64786 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
64787
64788 [BZ #12460]
64789 * config.make.in (config-cflags-novzeroupper): Define.
64790 * configure.in: Substitute libc_cv_cc_novzeroupper.
64791 * elf/Makefile (AVX-CFLAGS): Define.
64792 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
64793 (CFLAGS-tst-auditmod4a.c): Likewise.
64794 (CFLAGS-tst-auditmod4b.c): Likewise.
64795 (CFLAGS-tst-auditmod6b.c): Likewise.
64796 (CFLAGS-tst-auditmod6c.c): Likewise.
64797 (CFLAGS-tst-auditmod7b.c): Likewise.
64798 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
64799
64800 2011-02-02 Ulrich Drepper <drepper@gmail.com>
64801
64802 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
64803 function to the callback.
64804 Patch partly by Jiri Olsa <jolsa@redhat.com>.
64805
64806 2011-02-02 Andreas Schwab <schwab@redhat.com>
64807
64808 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
64809 of errno.
64810
64811 2011-01-19 Ulrich Drepper <drepper@gmail.com>
64812
64813 [BZ #11724]
64814 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
64815 of constructors.
64816 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
64817 of destructors.
64818 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
64819
64820 [BZ #11724]
64821 * elf/Makefile: Add rules to build and run new test.
64822 * elf/tst-initorder.c: New file.
64823 * elf/tst-initorder.exp: New file.
64824 * elf/tst-initordera1.c: New file.
64825 * elf/tst-initordera2.c: New file.
64826 * elf/tst-initordera3.c: New file.
64827 * elf/tst-initordera4.c: New file.
64828 * elf/tst-initorderb1.c: New file.
64829 * elf/tst-initorderb2.c: New file.
64830 * elf/tst-order-a1.c: New file.
64831 * elf/tst-order-a2.c: New file.
64832 * elf/tst-order-a3.c: New file.
64833 * elf/tst-order-a4.c: New file.
64834 * elf/tst-order-b1.c: New file.
64835 * elf/tst-order-b2.c: New file.
64836 * elf/tst-order-main.c: New file.
64837 New test case by George Gensure <werkt0@gmail.com>.
64838
64839 2010-10-01 Andreas Schwab <schwab@redhat.com>
64840
64841 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
64842 decoding ACE if AI_CANONIDN.
64843
64844 2011-01-18 Ulrich Drepper <drepper@gmail.com>
64845
64846 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
64847
64848 2011-01-17 Ulrich Drepper <drepper@gmail.com>
64849
64850 * version.h (RELEASE): Bump for 2.13 release.
64851 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
64852
64853 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
64854
64855 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
64856 MADV_NOHUGEPAGE.
64857 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
64858 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
64859 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
64860 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
64861 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
64862 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
64863
64864 * posix/getconf.c: Update copyright year.
64865 * catgets/gencat.c: Likewise.
64866 * csu/version.c: Likewise.
64867 * debug/catchsegv.sh: Likewise.
64868 * debug/xtrace.sh: Likewise.
64869 * elf/ldconfig.c: Likewise.
64870 * elf/ldd.bash.in: Likewise.
64871 * elf/sprof.c (print_version): Likewise.
64872 * iconv/iconv_prog.c: Likewise.
64873 * iconv/iconvconfig.c: Likewise.
64874 * locale/programs/locale.c: Likewise.
64875 * locale/programs/localedef.c: Likewise.
64876 * malloc/memusage.sh: Likewise.
64877 * malloc/mtrace.pl: Likewise.
64878 * nscd/nscd.c (print_version): Likewise.
64879 * nss/getent.c: Likewise.
64880
64881 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
64882 PF_CAIF, and PF_ALG.
64883 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
64884
64885 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
64886
64887 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
64888 (modules-names): Use them.
64889 (ifunc-test-modules, ifunc-pie-tests): Define.
64890 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
64891 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
64892 (test-extras): Likewise.
64893 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
64894 $(compile-command.c).
64895 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
64896 (all-built-dso): Define.
64897 (check-textrel.out, check-execstack.out): Depend on it.
64898
64899 * configure.in: Don't override --enable-multi-arch.
64900
64901 2011-01-15 Ulrich Drepper <drepper@gmail.com>
64902
64903 [BZ #6812]
64904 * nscd/hstcache.c (tryagain): Define.
64905 (cache_addhst): Return tryagain not notfound for temporary errors.
64906 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
64907 failed.
64908
64909 2011-01-14 Ulrich Drepper <drepper@gmail.com>
64910
64911 [BZ #10563]
64912 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
64913 to make the syscall.
64914 * sysdeps/unix/sysv/linux/setgroups.c: New file.
64915
64916 [BZ #12378]
64917 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
64918 and fall back to matching as normal character if the string ends before
64919 the matching ']' is found. This is what POSIX requires.
64920 * posix/testfnm.c: Adjust test result.
64921 * posix/globtest.sh: Adjust test result. Add new test.
64922 * posix/tst-fnmatch.input: Likewise.
64923 * posix/tst-fnmatch2.c: Add new test.
64924
64925 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
64926
64927 * elf/Makefile (check-execstack): Revert last change. Depend on
64928 check-execstack.h.
64929 (check-execstack.h): New target.
64930 (generated): Add check-execstack.h.
64931 * elf/check-execstack.c: Include "check-execstack.h".
64932 (main): Revert last change.
64933 (handle_file): Return zero if GNU_STACK is absent and
64934 DEFAULT_STACK_PERMS doesn't include PF_X.
64935
64936 2011-01-13 Ulrich Drepper <drepper@gmail.com>
64937
64938 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
64939 in child fails because the descriptor is already closed.
64940 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
64941 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
64942 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
64943
64944 [BZ #12397]
64945 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
64946 syscall.
64947
64948 [BZ #10484]
64949 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
64950 temporary buffer used to handle multi lookups locally.
64951 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
64952
64953 2011-01-12 Ulrich Drepper <drepper@gmail.com>
64954
64955 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
64956 loader is ld.so.
64957
64958 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
64959
64960 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
64961 alignment for SSE2.
64962
64963 2011-01-12 Ulrich Drepper <drepper@gmail.com>
64964
64965 [BZ #12394]
64966 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
64967 characters. When rounding increased number of integer digits recompute
64968 number of groups.
64969 * stdio-common/tst-grouping.c: New file.
64970 * stdio-common/Makefile: Add rules to build and run tst-grouping.
64971
64972 2011-01-09 Ulrich Drepper <drepper@gmail.com>
64973
64974 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
64975 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
64976
64977 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
64978 void.
64979 * bits/select.h: Likewise.
64980
64981 2011-01-08 Ulrich Drepper <drepper@gmail.com>
64982
64983 * po/ja.po: Update from translation team.
64984
64985 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
64986
64987 [BZ #11155]
64988 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
64989 implementation just like for lxstat, fxstatat, et al.
64990
64991 2010-12-27 Jim Meyering <meyering@redhat.com>
64992
64993 [BZ #12348]
64994 * posix/regexec.c (build_trtable): Return failure indication upon
64995 calloc failure. Otherwise, re_search_internal could infloop on OOM.
64996
64997 2010-12-25 Ulrich Drepper <drepper@gmail.com>
64998
64999 [BZ #12201]
65000 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
65001 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
65002 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
65003 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
65004
65005 [BZ #12207]
65006 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
65007
65008 [BZ #12204]
65009 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
65010 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
65011
65012 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
65013
65014 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
65015 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
65016 script has SORT_BY_INIT_PRIORITY.
65017 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
65018 NO_CTORS_DTORS_SECTIONS is defined.
65019 * elf/soinit.c: Likewise.
65020 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
65021 NO_CTORS_DTORS_SECTIONS is defined.
65022 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
65023 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
65024 * sysdeps/sh/init-first.c: Likewise.
65025 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
65026
65027 2010-12-24 Ulrich Drepper <drepper@gmail.com>
65028
65029 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
65030 always use the slow path.
65031
65032 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
65033
65034 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
65035 similar rule which adds the sysdep directories to the header search in
65036 order to pick up the correct platform stackinfo.h.
65037 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
65038 perform test if it is, otherwise return successfully without testing.
65039 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
65040 DEFAULT_STACK_PERMS define in stackinfo.h.
65041 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
65042 defined in stackinfo.h.
65043 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
65044 DEFAULT_STACK_PERMS defined in stackinfo.h.
65045 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
65046 * sysdeps/ia64/stackinfo.h: Likewise.
65047 * sysdeps/s390/stackinfo.h: Likewise.
65048 * sysdeps/sh/stackinfo.h: Likewise.
65049 * sysdeps/sparc/stackinfo.h: Likewise.
65050 * sysdeps/x86_64/stackinfo.h: Likewise.
65051 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
65052 PF_X for powerpc64. Retain PF_X for powerpc32.
65053
65054 2010-12-19 Ulrich Drepper <drepper@gmail.com>
65055
65056 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
65057 accurately.
65058 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
65059 GETDENTS_64BIT_ALIGNED.
65060
65061 2010-12-14 Ulrich Drepper <dreper@gmail.com>
65062
65063 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
65064
65065 2010-12-10 Andreas Schwab <schwab@redhat.com>
65066
65067 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
65068 _GNU_SOURCE.
65069
65070 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
65071 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
65072 Remove __restrict.
65073 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
65074 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
65075
65076 2010-12-09 Ulrich Drepper <drepper@gmail.com>
65077
65078 [BZ #11655]
65079 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
65080 are initialized.
65081
65082 2010-12-09 Jakub Jelinek <jakub@redhat.com>
65083
65084 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
65085
65086 2010-12-03 Ulrich Drepper <drepper@gmail.com>
65087
65088 * po/it.po: Update from translation team.
65089
65090 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
65091
65092 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
65093 unused codes.
65094
65095 2010-11-30 Ulrich Drepper <drepper@gmail.com>
65096
65097 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
65098
65099 2010-11-24 Andreas Schwab <schwab@redhat.com>
65100
65101 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
65102 specially.
65103 (gaih_getanswer_slice): Likewise.
65104
65105 2010-10-20 Jakub Jelinek <jakub@redhat.com>
65106
65107 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
65108
65109 2010-05-31 Petr Baudis <pasky@suse.cz>
65110
65111 [BZ #11149]
65112 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
65113 silently even in the chroot mode.
65114
65115 2010-11-22 Ulrich Drepper <drepper@gmail.com>
65116
65117 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
65118 last patch a bit. Pretty printing
65119
65120 2010-05-31 Petr Baudis <pasky@suse.cz>
65121
65122 [BZ #10085]
65123 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
65124 initialization of skip_initgroups_dyn.
65125
65126 2010-11-19 Ulrich Drepper <drepper@gmail.com>
65127
65128 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
65129 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
65130
65131 2010-11-16 Ulrich Drepper <drepper@gmail.com>
65132
65133 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
65134
65135 2010-11-11 Andreas Schwab <schwab@redhat.com>
65136
65137 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
65138 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
65139 (tst-fnmatch-ENV): Set MALLOC_TRACE.
65140 ($(objpfx)tst-fnmatch-mem): New rule.
65141 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
65142 * posix/tst-fnmatch.c (main): Call mtrace.
65143
65144 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
65145
65146 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65147 Support Intel processor model 6 and model 0x2c.
65148
65149 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
65150
65151 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
65152 signed comparison.
65153
65154 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
65155
65156 [BZ #12205]
65157 * string/test-strncasecmp.c (check_result): New function.
65158 (do_one_test): Use it.
65159 (check1): New function.
65160 (test_main): Use it.
65161 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
65162 Support strcasecmp and strncasecmp.
65163
65164 2010-11-08 Ulrich Drepper <drepper@gmail.com>
65165
65166 [BZ #12194]
65167 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
65168 * sysdeps/x86_64/bits/byteswap.h: Likewise.
65169
65170 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
65171
65172 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
65173 IFUNC support.
65174 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
65175 memset-x86-64.
65176 * sysdeps/x86_64/multiarch/bzero.S: New file.
65177 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
65178 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
65179 * sysdeps/x86_64/multiarch/memset.S: New file.
65180 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
65181 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65182 Set bit_Prefer_SSE_for_memop for Intel processors.
65183 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
65184 Define.
65185 (index_Prefer_SSE_for_memop): Define.
65186 (HAS_PREFER_SSE_FOR_MEMOP): Define.
65187
65188 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
65189
65190 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
65191 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
65192
65193 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
65194
65195 [BZ #12191]
65196 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
65197 (__x86_64_raw_data_cache_size_half): Likewise.
65198 (__x86_64_raw_shared_cache_size): Likewise.
65199 (__x86_64_raw_shared_cache_size_half): Likewise.
65200
65201 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
65202 (__x86_64_raw_data_cache_size_half): Likewise.
65203 (__x86_64_raw_shared_cache_size): Likewise.
65204 (__x86_64_raw_shared_cache_size_half): Likewise.
65205 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
65206 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
65207 and __x86_64_raw_shared_cache_size_half. Round
65208 __x86_64_data_cache_size_half, __x86_64_data_cache_size
65209 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
65210 to multiple of 256 bytes.
65211
65212 2010-11-03 Ulrich Drepper <drepper@gmail.com>
65213
65214 [BZ #12167]
65215 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
65216 of inacessible symlinks. Verify result of symlink before returning it.
65217 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
65218 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
65219
65220 2010-10-28 Erich Ritz <erichritz@gmail.com>
65221
65222 * math/math.h (isinf): Fix typo in comment.
65223
65224 2010-11-01 Ulrich Drepper <drepper@gmail.com>
65225
65226 * po/da.po: Update from translation team.
65227
65228 2010-10-26 Ulrich Drepper <drepper@gmail.com>
65229
65230 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
65231 is added to the list.
65232
65233 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
65234 Ulrich Drepper <drepper@gmail.com>
65235
65236 * elf/dl-object.c (_dl_new_object): Don't append the new object to
65237 the global list here. Move code to...
65238 (_dl_add_to_namespace_list): ...here. New function.
65239 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
65240 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
65241 * elf/dl-load.c (lose): Don't remove the element from the list.
65242 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
65243 (_dl_map_object): Likewise.
65244
65245 2010-10-25 Ulrich Drepper <drepper@gmail.com>
65246
65247 [BZ #12159]
65248 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
65249 into all bytes of SSE register.
65250 Patch by Richard Li <richardpku@gmail.com>.
65251
65252 2010-10-24 Ulrich Drepper <drepper@gmail.com>
65253
65254 [BZ #12140]
65255 * malloc/malloc.c (_int_free): Fill correct number of bytes when
65256 perturbing.
65257
65258 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
65259
65260 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
65261 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
65262 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
65263 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
65264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
65265 submachine.
65266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
65267
65268 2010-10-22 Andreas Schwab <schwab@redhat.com>
65269
65270 * include/dlfcn.h (__RTLD_SECURE): Define.
65271 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
65272 mode & __RTLD_SECURE instead.
65273 (open_path): Rename preloaded parameter to secure.
65274 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
65275 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
65276 * elf/dl-deps.c (openaux): Likewise.
65277 * elf/rtld.c (struct map_args): Remove is_preloaded.
65278 (map_doit): Don't use it.
65279 (dl_main): Likewise.
65280 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
65281 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
65282
65283 2010-09-09 Andreas Schwab <schwab@redhat.com>
65284
65285 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
65286 (sysd-rules-targets): Remove duplicates.
65287 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
65288 rtld-%.$o dependency.
65289
65290 2010-10-18 Andreas Schwab <schwab@redhat.com>
65291
65292 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
65293 _dl_map_object do it.
65294
65295 2010-10-19 Ulrich Drepper <drepper@gmail.com>
65296
65297 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
65298 fast fma builtins, define the macros in the C99 standard.
65299 (FP_FAST_FMAF): Likewise.
65300 (FP_FAST_FMAL): Likewise.
65301 * sysdeps/x86_64/bits/mathdef.h: Likewise.
65302
65303 * bits/mathdef.h: Update copyright year.
65304 * sysdeps/powerpc/bits/mathdef.h: Likewise.
65305
65306 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
65307
65308 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
65309 builtins, define the macros in the C99 standard.
65310 (FP_FAST_FMAF): Likewise.
65311 (FP_FAST_FMAL): Likewise.
65312 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
65313 multiply/add.
65314 (FP_FAST_FMAF): Likewise.
65315
65316 2010-10-15 Jakub Jelinek <jakub@redhat.com>
65317
65318 [BZ #3268]
65319 * math/libm-test.inc (fma_test): Some new testcases.
65320 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
65321 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
65322 y and infinite z. Do multiplication by C already in long double.
65323 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
65324 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
65325 y and infinite z. Do bitwise or of inexact bit into u.d.
65326 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
65327 * sysdeps/i386/fpu/s_fmaf.S: Removed.
65328 * sysdeps/i386/fpu/s_fma.S: Removed.
65329 * sysdeps/i386/fpu/s_fmal.S: Removed.
65330
65331 2010-10-16 Jakub Jelinek <jakub@redhat.com>
65332
65333 [BZ #3268]
65334 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
65335 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
65336 computation is not scheduled after fetestexcept. Fix value
65337 of minimum denormal long double.
65338
65339 2010-10-14 Jakub Jelinek <jakub@redhat.com>
65340
65341 [BZ #3268]
65342 * math/libm-test.inc (fma_test): Add some more tests.
65343 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
65344 correctly.
65345
65346 2010-10-15 Andreas Schwab <schwab@redhat.com>
65347
65348 * scripts/data/localplt-s390-linux-gnu.data: New file.
65349 * scripts/data/localplt-s390x-linux-gnu.data: New file.
65350
65351 2010-10-13 Jakub Jelinek <jakub@redhat.com>
65352
65353 [BZ #3268]
65354 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
65355 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
65356 instead of dbl-64.
65357 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
65358 inlines.
65359 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
65360 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
65361 if one of x and y is very large and the other is subnormal.
65362 * sysdeps/s390/fpu/s_fmaf.c: New file.
65363 * sysdeps/s390/fpu/s_fma.c: New file.
65364 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
65365 * sysdeps/powerpc/fpu/s_fma.S: New file.
65366 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
65367 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
65368 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
65369
65370 2010-10-12 Jakub Jelinek <jakub@redhat.com>
65371
65372 [BZ #3268]
65373 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
65374 fma tests.
65375 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
65376 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
65377 * sysdeps/i386/i686/multiarch/s_fma.c: Include
65378 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
65379 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
65380 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
65381 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
65382
65383 2010-10-12 Ulrich Drepper <drepper@redhat.com>
65384
65385 [BZ #12078]
65386 * posix/regcomp.c (parse_branch): One more memory leak plugged.
65387 * posix/bug-regex31.input: Add test case.
65388
65389 2010-10-11 Ulrich Drepper <drepper@gmail.com>
65390
65391 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
65392 * posix/bug-regex31.input: New file.
65393
65394 [BZ #12078]
65395 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
65396 (parse_sub_exp): Fix last change, use postorder.
65397
65398 * posix/bug-regex31.c: New file.
65399 * posix/Makefile: Add rules to build and run bug-regex31.
65400
65401 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
65402
65403 [BZ #12078]
65404 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
65405
65406 [BZ #12108]
65407 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
65408 to have entries in sys_siglist.
65409
65410 [BZ #12093]
65411 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
65412 be NULL.
65413
65414 2010-10-07 Jakub Jelinek <jakub@redhat.com>
65415
65416 [BZ #3268]
65417 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
65418 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
65419 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
65420 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
65421 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
65422 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
65423 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
65424 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
65425 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
65426 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
65427 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
65428 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
65429 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
65430 * math/ftestexcept.c (fetestexcept): Likewise.
65431 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
65432 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
65433 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
65434 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
65435 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
65436 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
65437 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
65438
65439 2010-10-11 Ulrich Drepper <drepper@gmail.com>
65440
65441 [BZ #12107]
65442 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
65443 newline.
65444
65445 2010-10-06 Ulrich Drepper <drepper@gmail.com>
65446
65447 * string/bug-strstr1.c: New file.
65448 * string/Makefile: Add rules to build and run bug-strstr1.
65449
65450 2010-10-05 Eric Blake <eblake@redhat.com>
65451
65452 [BZ #12092]
65453 * string/str-two-way.h (two_way_long_needle): Always clear memory
65454 when skipping input due to the shift table.
65455
65456 2010-10-03 Ulrich Drepper <drepper@gmail.com>
65457
65458 [BZ #12005]
65459 * malloc/mcheck.c: Handle large requests.
65460
65461 [BZ #12077]
65462 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
65463 for strncmp and strncasecmp.
65464 * string/stratcliff.c: Add tests for strcmp and strncmp.
65465 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
65466
65467 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
65468
65469 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
65470 __set_fpscr.
65471
65472 2010-09-30 Andreas Jaeger <aj@suse.de>
65473
65474 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
65475 (CGROUP_SUPER_MAGIC): Define.
65476 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
65477 Handle btrfs and cgroup file systems.
65478 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
65479 Likewise.
65480
65481 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
65482
65483 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
65484 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
65485
65486 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
65487
65488 [BZ #12067]
65489 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
65490 trying to locate the ELF header.
65491
65492 2010-09-27 Andreas Schwab <schwab@redhat.com>
65493
65494 [BZ #11611]
65495 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
65496 Mask out sign-bit copies when constructing f_fsid.
65497
65498 2010-09-24 Petr Baudis <pasky@suse.cz>
65499
65500 * debug/stack_chk_fail_local.c: Add missing licence exception.
65501 * debug/warning-nop.c: Likewise.
65502
65503 2010-09-15 Joseph Myers <joseph@codesourcery.com>
65504
65505 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
65506 implementing getdents64 using getdents syscall, set d_type if
65507 __ASSUME_GETDENTS32_D_TYPE.
65508
65509 2010-09-16 Andreas Schwab <schwab@redhat.com>
65510
65511 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
65512 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
65513
65514 2010-09-21 Ulrich Drepper <drepper@redhat.com>
65515
65516 [BZ #12037]
65517 * posix/unistd.h: Undo change of feature selection for ftruncate from
65518 2010-01-11.
65519
65520 2010-09-20 Ulrich Drepper <drepper@redhat.com>
65521
65522 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
65523 detection.
65524
65525 2010-09-20 Andreas Schwab <schwab@redhat.com>
65526
65527 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
65528 fanotify_mark.
65529 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
65530
65531 2010-09-14 Andreas Schwab <schwab@redhat.com>
65532
65533 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
65534 variables after CHECK_SP call.
65535 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
65536
65537 2010-09-13 Andreas Schwab <schwab@redhat.com>
65538 Ulrich Drepper <drepper@redhat.com>
65539
65540 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
65541 re-relocationg ld.so.
65542 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
65543 _dl_init_paths call.
65544 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
65545 here anymore.
65546
65547 2010-09-14 Ulrich Drepper <drepper@redhat.com>
65548
65549 * resolv/res_init.c (__res_vinit): Count the default server we added.
65550
65551 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
65552 Ulrich Drepper <drepper@redhat.com>
65553
65554 [BZ #11968]
65555 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
65556 (____longjmp_chk): Use %ebx for saving value across system call.
65557 Add unwind info.
65558
65559 2010-09-06 Andreas Schwab <schwab@redhat.com>
65560
65561 * manual/Makefile: Don't mix pattern rules with normal rules.
65562
65563 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
65564
65565 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
65566 operation.
65567 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
65568 * libio/iofopncook.c (_IO_cookie_init): Likewise.
65569 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
65570 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
65571 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
65572 Likewise.
65573
65574 2010-09-04 Ulrich Drepper <drepper@redhat.com>
65575
65576 [BZ #11979]
65577 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
65578 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
65579
65580 2010-09-02 Ulrich Drepper <drepper@redhat.com>
65581
65582 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
65583 * sysdeps/x86_64/addmul_1.S: Likewise.
65584 * sysdeps/x86_64/lshift.S: Likewise.
65585 * sysdeps/x86_64/mul_1.S: Likewise.
65586 * sysdeps/x86_64/rshift.S: Likewise.
65587 * sysdeps/x86_64/sub_n.S: Likewise.
65588 * sysdeps/x86_64/submul_1.S: Likewise.
65589
65590 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
65591
65592 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
65593 Define __sched_param instead of SCHED_* and sched_param when
65594 <bits/sched.h> is included with __need_schedparam defined.
65595 * bits/sched.h [__need_schedparam]
65596 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
65597 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
65598 (__defined_schedparam): Define to 1.
65599 (__sched_param): New structure, identical to sched_param.
65600 (__need_schedparam): Undefine.
65601
65602 2010-08-31 Mike Frysinger <vapier@gentoo.org>
65603
65604 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
65605 (epoll_create1): Declare.
65606
65607 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
65608
65609 2010-08-31 Andreas Schwab <schwab@redhat.com>
65610
65611 [BZ #7066]
65612 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
65613 shifting retval into place.
65614
65615 2010-09-01 Ulrich Drepper <drepper@redhat.com>
65616
65617 * nis/rpcsvc/nis.h: Update copyright notice.
65618 * nis/rpcsvc/nis.x: Likewise.
65619 * nis/rpcsvc/nis_callback.h: Likewise.
65620 * nis/rpcsvc/nis_callback.x: Likewise.
65621 * nis/rpcsvc/nis_object.x: Likewise.
65622 * nis/rpcsvc/nis_tags.h: Likewise.
65623 * nis/rpcsvc/yp.h: Likewise.
65624 * nis/rpcsvc/yp.x: Likewise.
65625 * nis/rpcsvc/ypupd.h: Likewise.
65626 * nis/yp_xdr.c: Likewise.
65627 * nis/ypupdate_xdr.c: Likewise.
65628
65629 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
65630 mainly the body of pmap_getport. Add parameters to specify timeouts.
65631 (pmap_getport): Use __libc_rpc_getport.
65632 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
65633 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
65634 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
65635
65636 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
65637
65638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
65639 fanotify_mark.
65640
65641 2010-08-27 Roland McGrath <roland@redhat.com>
65642
65643 * sysdeps/i386/i686/multiarch/Makefile
65644 (CFLAGS-varshift.c): New variable.
65645
65646 2010-08-27 Ulrich Drepper <drepper@redhat.com>
65647
65648 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
65649 * sysdeps/i386/i686/multiarch/varshift.c: New file.
65650
65651 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
65652
65653 * sysdeps/x86_64/strlen.S: Minimal code improvement.
65654
65655 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
65656
65657 * sysdeps/x86_64/strlen.S: Unroll the loop.
65658 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
65659 strlen-sse2 strlen-sse2-bsf.
65660 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
65661 __strlen_no_bsf if bit_Slow_BSF is set.
65662 (__strlen_sse42): Removed.
65663 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
65664 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
65665
65666 2010-08-25 Roland McGrath <roland@redhat.com>
65667
65668 * sysdeps/x86_64/multiarch/varshift.S: File removed.
65669 * sysdeps/x86_64/multiarch/varshift.c: New file.
65670 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
65671 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
65672 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
65673 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
65674
65675 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
65676
65677 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
65678 strlen-sse2 strlen-sse2-bsf.
65679 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
65680 __strlen_sse2_bsf if bit_Slow_BSF is unset.
65681 (__strlen_sse2): Removed.
65682 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
65683 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
65684 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
65685 bit_Slow_BSF for Atom.
65686 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
65687 (index_Slow_BSF): Define.
65688 (HAS_SLOW_BSF): Define.
65689
65690 2010-08-25 Ulrich Drepper <drepper@redhat.com>
65691
65692 [BZ #10851]
65693 * resolv/res_init.c (__res_vinit): When no server address at all
65694 is given default to loopback.
65695
65696 2010-08-24 Roland McGrath <roland@redhat.com>
65697
65698 * configure.in: Remove config-name.h generation.
65699 * configure: Regenerated.
65700 * config-name.in: File removed.
65701 * scripts/config-uname.sh: New file.
65702 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
65703 ($(objdir)config-name.h): New target.
65704
65705 * sunrpc/rpc_parse.h: Avoid nested comment.
65706
65707 2010-08-24 Richard Henderson <rth@redhat.com>
65708 Ulrich Drepper <drepper@redhat.com>
65709 H.J. Lu <hongjiu.lu@intel.com>
65710
65711 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
65712 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
65713 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
65714 Replace _mm_srli_si128 with __m128i_shift_right. Replace
65715 _mm_alignr_epi8 with _mm_loadu_si128.
65716 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
65717 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
65718 (__m128i_shift_right): Removed.
65719 * sysdeps/i386/i686/multiarch/varshift.h: New file.
65720 * sysdeps/i386/i686/multiarch/varshift.S: New file.
65721 * sysdeps/x86_64/multiarch/varshift.h: New file.
65722 * sysdeps/x86_64/multiarch/varshift.S: New file.
65723
65724 2010-08-21 Mike Frysinger <vapier@gentoo.org>
65725
65726 * configure.in: Move assembler checks to before sysdep dir checking.
65727
65728 2010-08-20 Petr Baudis <pasky@suse.cz>
65729
65730 * LICENSES: Sync the sunrpc license.
65731
65732 2010-08-19 Ulrich Drepper <drepper@redhat.com>
65733
65734 * sunrpc/auth_des.c: Update copyright notice once again.
65735 * sunrpc/auth_none.c: Likewise.
65736 * sunrpc/auth_unix.c: Likewise.
65737 * sunrpc/authdes_prot.c: Likewise.
65738 * sunrpc/authuxprot.c: Likewise.
65739 * sunrpc/bindrsvprt.c: Likewise.
65740 * sunrpc/clnt_gen.c: Likewise.
65741 * sunrpc/clnt_perr.c: Likewise.
65742 * sunrpc/clnt_raw.c: Likewise.
65743 * sunrpc/clnt_simp.c: Likewise.
65744 * sunrpc/clnt_tcp.c: Likewise.
65745 * sunrpc/clnt_udp.c: Likewise.
65746 * sunrpc/clnt_unix.c: Likewise.
65747 * sunrpc/des_crypt.c: Likewise.
65748 * sunrpc/des_soft.c: Likewise.
65749 * sunrpc/get_myaddr.c: Likewise.
65750 * sunrpc/getrpcport.c: Likewise.
65751 * sunrpc/key_call.c: Likewise.
65752 * sunrpc/key_prot.c: Likewise.
65753 * sunrpc/openchild.c: Likewise.
65754 * sunrpc/pm_getmaps.c: Likewise.
65755 * sunrpc/pm_getport.c: Likewise.
65756 * sunrpc/pmap_clnt.c: Likewise.
65757 * sunrpc/pmap_prot.c: Likewise.
65758 * sunrpc/pmap_prot2.c: Likewise.
65759 * sunrpc/pmap_rmt.c: Likewise.
65760 * sunrpc/rpc/auth.h: Likewise.
65761 * sunrpc/rpc/auth_unix.h: Likewise.
65762 * sunrpc/rpc/clnt.h: Likewise.
65763 * sunrpc/rpc/des_crypt.h: Likewise.
65764 * sunrpc/rpc/key_prot.h: Likewise.
65765 * sunrpc/rpc/netdb.h: Likewise.
65766 * sunrpc/rpc/pmap_clnt.h: Likewise.
65767 * sunrpc/rpc/pmap_prot.h: Likewise.
65768 * sunrpc/rpc/pmap_rmt.h: Likewise.
65769 * sunrpc/rpc/rpc.h: Likewise.
65770 * sunrpc/rpc/rpc_des.h: Likewise.
65771 * sunrpc/rpc/rpc_msg.h: Likewise.
65772 * sunrpc/rpc/svc.h: Likewise.
65773 * sunrpc/rpc/svc_auth.h: Likewise.
65774 * sunrpc/rpc/types.h: Likewise.
65775 * sunrpc/rpc/xdr.h: Likewise.
65776 * sunrpc/rpc_clntout.c: Likewise.
65777 * sunrpc/rpc_cmsg.c: Likewise.
65778 * sunrpc/rpc_common.c: Likewise.
65779 * sunrpc/rpc_cout.c: Likewise.
65780 * sunrpc/rpc_dtable.c: Likewise.
65781 * sunrpc/rpc_hout.c: Likewise.
65782 * sunrpc/rpc_main.c: Likewise.
65783 * sunrpc/rpc_parse.c: Likewise.
65784 * sunrpc/rpc_parse.h: Likewise.
65785 * sunrpc/rpc_prot.c: Likewise.
65786 * sunrpc/rpc_sample.c: Likewise.
65787 * sunrpc/rpc_scan.c: Likewise.
65788 * sunrpc/rpc_scan.h: Likewise.
65789 * sunrpc/rpc_svcout.c: Likewise.
65790 * sunrpc/rpc_tblout.c: Likewise.
65791 * sunrpc/rpc_util.c: Likewise.
65792 * sunrpc/rpc_util.h: Likewise.
65793 * sunrpc/rpcinfo.c: Likewise.
65794 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
65795 * sunrpc/rpcsvc/key_prot.x: Likewise.
65796 * sunrpc/rpcsvc/klm_prot.x: Likewise.
65797 * sunrpc/rpcsvc/mount.x: Likewise.
65798 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
65799 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
65800 * sunrpc/rpcsvc/rex.x: Likewise.
65801 * sunrpc/rpcsvc/rstat.x: Likewise.
65802 * sunrpc/rpcsvc/rusers.x: Likewise.
65803 * sunrpc/rpcsvc/sm_inter.x: Likewise.
65804 * sunrpc/rpcsvc/spray.x: Likewise.
65805 * sunrpc/rpcsvc/yppasswd.x: Likewise.
65806 * sunrpc/rtime.c: Likewise.
65807 * sunrpc/svc.c: Likewise.
65808 * sunrpc/svc_auth.c: Likewise.
65809 * sunrpc/svc_authux.c: Likewise.
65810 * sunrpc/svc_raw.c: Likewise.
65811 * sunrpc/svc_run.c: Likewise.
65812 * sunrpc/svc_simple.c: Likewise.
65813 * sunrpc/svc_tcp.c: Likewise.
65814 * sunrpc/svc_udp.c: Likewise.
65815 * sunrpc/svc_unix.c: Likewise.
65816 * sunrpc/svcauth_des.c: Likewise.
65817 * sunrpc/xcrypt.c: Likewise.
65818 * sunrpc/xdr.c: Likewise.
65819 * sunrpc/xdr_array.c: Likewise.
65820 * sunrpc/xdr_float.c: Likewise.
65821 * sunrpc/xdr_mem.c: Likewise.
65822 * sunrpc/xdr_rec.c: Likewise.
65823 * sunrpc/xdr_ref.c: Likewise.
65824 * sunrpc/xdr_sizeof.c: Likewise.
65825 * sunrpc/xdr_stdio.c: Likewise.
65826
65827 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
65828 handling.
65829
65830 2010-08-19 Andreas Schwab <schwab@redhat.com>
65831
65832 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
65833
65834 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
65835
65836 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
65837 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
65838 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
65839 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
65840 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
65841 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
65842 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
65843 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
65844 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
65845 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
65846 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
65847 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
65848 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
65849 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
65850
65851 2010-07-26 Anton Blanchard <anton@samba.org>
65852
65853 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
65854 * malloc/arena.c (heap_trim): Likewise.
65855
65856 2010-08-16 Ulrich Drepper <drepper@redhat.com>
65857
65858 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
65859 here. Not...
65860 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
65861 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
65862
65863 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
65864
65865 * sysdeps/i386/elf/Makefile: New file.
65866
65867 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
65868
65869 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
65870 from fanotify_init.
65871 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
65872 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
65873
65874 2010-08-15 Ulrich Drepper <drepper@redhat.com>
65875
65876 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
65877 of strncasecmp_l.
65878 * sysdeps/multiarch/strcmp.S: Likewise.
65879
65880 2010-08-14 Ulrich Drepper <drepper@redhat.com>
65881
65882 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
65883 strncase_l-nonascii.
65884 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
65885 Add strncase_l-ssse3.
65886 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
65887 * sysdeps/x86_64/strcmp.S: Likewise.
65888 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
65889 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
65890 * sysdeps/x86_64/strncase.S: New file.
65891 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
65892 * sysdeps/x86_64/strncase_l.S: New file.
65893 * string/Makefile (strop-tests): Add strncasecmp.
65894 * string/test-strncasecmp.c: New file.
65895
65896 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
65897 warning.
65898
65899 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
65900 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
65901
65902 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
65903
65904 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
65905
65906 2010-08-12 Ulrich Drepper <drepper@redhat.com>
65907
65908 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
65909 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
65910 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
65911
65912 2010-05-01 Alan Modra <amodra@gmail.com>
65913
65914 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
65915 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
65916 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
65917 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
65918 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
65919 tidying. Don't tail-call __sigjmp_save for static lib.
65920 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
65921 save location.
65922 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
65923 (CALL_MCOUNT): Add eh info, and nop after bl.
65924 (TAIL_CALL_SYSCALL_ERROR): New macro.
65925 (PSEUDO_RET): Use it.
65926 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
65927 Correct save location of integer regs and cr.
65928 (_dl_profile_resolve): Correct cr save location. Delete nops
65929 after bl when SHARED. Reduce cfi size a little by better
65930 placement of cfi directives.
65931 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
65932 make a stack frame. Instead use parm save area as a temp.
65933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
65934 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
65935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
65936 Don't make a stack frame for parent, use parm save area.
65937 Increase child stack frame to 112 bytes. Don't save unused reg,
65938 and adjust reg usage. Set up cfi on error recovery and
65939 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
65940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
65941 (__makecontext): Add dummy nop after jump to exit.
65942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
65943 Use correct parm save area and cr save, reduce stack frame.
65944 Correct cfi for possible PSEUDO_RET frame setup.
65945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
65946 Branch to local label emitted by PSEUDO_RET rather than
65947 __syscall_error.
65948
65949 2010-08-12 Andreas Schwab <schwab@redhat.com>
65950
65951 [BZ #11904]
65952 * locale/programs/locale.c (print_assignment): New function.
65953 (show_locale_vars): Use it.
65954
65955 2010-08-11 Ulrich Drepper <drepper@redhat.com>
65956
65957 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
65958 field.
65959 (struct statfs64): Likewise.
65960 (_STATFS_F_FLAGS): Define.
65961 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
65962 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
65963 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
65964 (ST_VALID): Define locally.
65965 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
65966 __statvfs_getflags, use the provided value.
65967 * sysdeps/unix/sysv/linux/kernel-features.h: Define
65968 __ASSUME_STATFS_F_FLAGS.
65969
65970 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
65971
65972 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
65973 Add sys/fanotify.h.
65974 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
65975 fanotify_mask for GLIBC_2.13.
65976 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
65977 fanotify_init and fanotify_mark.
65978 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
65979 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
65980
65981 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
65982 Add prlimit.
65983 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
65984 prlimit64 for GLIBC_2.13.
65985 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
65986 prlimit64.
65987 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
65988 syscall.
65989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
65990 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
65991 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
65992 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
65993 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
65994 add prlimit alias.
65995 * sysdeps/unix/sysv/linux/prlimit.c: New file.
65996
65997 [BZ #11903]
65998 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
65999 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
66000
66001 * nss/Makefile: Add rules to build and run tst-nss-test1.
66002 * shlib-versions: Add entry for libnss_test1.
66003 * nss/nss_test1.c: New file.
66004 * nss/tst-nss-test1.c: New file.
66005
66006 * nss/nsswitch.c (__nss_database_custom): Define new variable.
66007 (__nss_configure_lookup): Set appropriate entry in
66008 __nss_configure_lookup to true.
66009 * nss/nsswitch.h: Define enum with indeces of databases in
66010 databases and __nss_database_custom arrays. Declare
66011 __nss_database_custom.
66012 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
66013 to avoid using nscd when custom rules are installed.
66014 * nss/getXXbyYY_r.c: Likewise.
66015 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
66016
66017 * nss/nss_files/files-parse.c: Whitespace fixes.
66018
66019 2010-08-09 Ulrich Drepper <drepper@redhat.com>
66020
66021 [BZ #11883]
66022 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
66023 * posix/fnmatch_loop.c: Likewise.
66024
66025 2010-07-17 Andi Kleen <ak@linux.intel.com>
66026
66027 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
66028 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
66029 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
66030 * Versions.def [GLIBC_2.13]: Add.
66031
66032 2010-08-06 Ulrich Drepper <drepper@redhat.com>
66033
66034 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
66035 Also fail if tpwd after pwuid call is NULL.
66036
66037 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
66038
66039 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
66040 when converting to ms.
66041
66042 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
66043
66044 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
66045 EOPNOTSUPP errors with ENOTTY.
66046 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
66047 EOPNOTSUPP errors with ENOTTY.
66048
66049 2010-07-31 Ulrich Drepper <drepper@redhat.com>
66050
66051 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
66052 Add strcasecmp_l-ssse3.
66053 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
66054 strcasecmp.
66055 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
66056 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
66057 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
66058
66059 2010-07-30 Ulrich Drepper <drepper@redhat.com>
66060
66061 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
66062
66063 * string/Makefile (strop-tests): Add strcasecmp.
66064 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
66065 strcasecmp_l-nonascii.
66066 (gen-as-const-headers): Add locale-defines.sym.
66067 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
66068 * sysdeps/x86_64/strcasecmp.S: New file.
66069 * sysdeps/x86_64/strcasecmp_l.S: New file.
66070 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
66071 * sysdeps/x86_64/locale-defines.sym: New file.
66072 * string/test-strcasecmp.c: New file.
66073
66074 * string/test-strcasestr.c: Test both ends of the range of characters.
66075 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
66076
66077 2010-07-29 Roland McGrath <roland@redhat.com>
66078
66079 [BZ #11856]
66080 * manual/locale.texi (Yes-or-No Questions): Fix example code.
66081
66082 2010-07-27 Ulrich Drepper <drepper@redhat.com>
66083
66084 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
66085 for ld.so.
66086
66087 2010-07-27 Andreas Schwab <schwab@redhat.com>
66088
66089 * manual/memory.texi (Malloc Tunable Parameters): Document
66090 M_PERTURB.
66091
66092 2010-07-26 Roland McGrath <roland@redhat.com>
66093
66094 [BZ #11840]
66095 * configure.in (-fgnu89-inline check): Set and substitute
66096 gnu89_inline, not libc_cv_gnu89_inline.
66097 * configure: Regenerated.
66098 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
66099
66100 2010-07-26 Ulrich Drepper <drepper@redhat.com>
66101
66102 * string/test-strnlen.c: New file.
66103 * string/Makefile (strop-tests): Add strnlen.
66104 * string/tester.c (test_strnlen): Add a few more test cases.
66105 * string/tst-strlen.c: Better error reporting.
66106
66107 * sysdeps/x86_64/strnlen.S: New file.
66108
66109 2010-07-24 Ulrich Drepper <drepper@redhat.com>
66110
66111 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
66112 lower-latency instructions.
66113
66114 2010-07-23 Ulrich Drepper <drepper@redhat.com>
66115
66116 * string/test-strcasestr.c: New file.
66117 * string/test-strstr.c: New file.
66118 * string/Makefile (strop-tests): Add strstr and strcasestr.
66119 * string/str-two-way.h: Don't undefine MAX.
66120 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
66121
66122 2010-07-21 Andreas Schwab <schwab@redhat.com>
66123
66124 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
66125 strcasestr-nonascii.
66126 (CFLAGS-strcasestr-nonascii.c): Define.
66127 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
66128 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
66129 Remove unused attribute.
66130
66131 2010-07-20 Roland McGrath <roland@redhat.com>
66132
66133 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
66134 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
66135 ld.so.cache was broken. With it, there is no way to disable dsocaps
66136 like LD_HWCAP_MASK can disable hwcaps.
66137
66138 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
66139
66140 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
66141
66142 2010-07-16 Ulrich Drepper <drepper@redhat.com>
66143
66144 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
66145 call in strcasestr.
66146 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
66147 __strcasestr_sse42_nonascii.
66148 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
66149 strcasestr-nonascii.c.
66150 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
66151
66152 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
66153
66154 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
66155 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
66156 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
66157 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
66158
66159 2010-07-09 Ulrich Drepper <drepper@redhat.com>
66160
66161 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
66162 fcntl.
66163
66164 2010-07-06 Andreas Schwab <schwab@redhat.com>
66165
66166 [BZ #11577]
66167 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
66168 dl_signal_cerror.
66169
66170 2010-07-06 Ulrich Drepper <drepper@redhat.com>
66171
66172 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
66173 _PC_PIPE_BUF using F_GETPIPE_SZ.
66174
66175 2010-07-05 Roland McGrath <roland@redhat.com>
66176
66177 * manual/arith.texi (Rounding Functions): Fix rint description
66178 implicit in round description.
66179
66180 2010-07-02 Ulrich Drepper <drepper@redhat.com>
66181
66182 * elf/Makefile: Fix linking for a few tests to make recent linker
66183 happy.
66184
66185 2010-06-30 Andreas Schwab <schwab@redhat.com>
66186
66187 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
66188 $(common-objpfx)libc_nonshared.a.
66189
66190 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
66191
66192 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
66193 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
66194 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
66195 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
66196 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
66197 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
66198 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
66199 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
66200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
66201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
66202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
66203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
66204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
66205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
66206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
66207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
66208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
66209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
66210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
66211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
66212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
66213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
66214 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
66215 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
66216 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
66217 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
66218 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
66219 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
66220 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
66221 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
66222 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
66223 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
66224 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
66225 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
66226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
66227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
66228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
66229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
66230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
66231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
66232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
66233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
66234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
66235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
66236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
66237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
66238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
66239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
66240
66241 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
66242
66243 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
66244 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
66245 * string/memmove.c (memmove): Renamed to ...
66246 (MEMMOVE): ...this. Default to memmove.
66247 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
66248 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
66249 (END_CHK): Define.
66250 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
66251 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
66252 mempcpy-ssse3-back memmove-ssse3-back.
66253 * sysdeps/x86_64/multiarch/bcopy.S: New file .
66254 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
66255 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
66256 * sysdeps/x86_64/multiarch/memcpy.S: New file.
66257 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
66258 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
66259 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
66260 * sysdeps/x86_64/multiarch/memmove.c: New file.
66261 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
66262 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
66263 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
66264 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
66265 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
66266 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
66267 Define.
66268 (index_Fast_Copy_Backward): Define.
66269 (HAS_ARCH_FEATURE): Define.
66270 (HAS_FAST_REP_STRING): Define.
66271 (HAS_FAST_COPY_BACKWARD): Define.
66272
66273 2010-06-21 Andreas Schwab <schwab@redhat.com>
66274
66275 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
66276 Restore proper fallback handling.
66277
66278 2010-06-19 Ulrich Drepper <drepper@redhat.com>
66279
66280 [BZ #11701]
66281 * posix/group_member.c (__group_member): Correct checking loop.
66282
66283 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
66284 OOM in getpwuid_r correctly. Return error number when the caller
66285 should return, otherwise -1.
66286 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
66287 call returning > 0 value.
66288 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
66289
66290 2010-06-07 Andreas Schwab <schwab@redhat.com>
66291
66292 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
66293 libc_nonshared.a from targets in modules-names.
66294
66295 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
66296
66297 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
66298 requires it.
66299
66300 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
66301
66302 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
66303 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
66304 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
66305 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
66306
66307 2010-06-02 Andreas Schwab <schwab@redhat.com>
66308
66309 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
66310
66311 2010-06-14 Ulrich Drepper <drepper@redhat.com>
66312
66313 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
66314 and F_GETPIPE_SZ.
66315 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
66316 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
66317 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
66318 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
66319 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
66320 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
66321
66322 2010-06-14 Roland McGrath <roland@redhat.com>
66323
66324 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
66325
66326 2010-06-07 Jakub Jelinek <jakub@redhat.com>
66327
66328 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
66329 __REDIRECT followed by __THROW.
66330 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
66331 * posix/getopt.h (getopt): Likewise.
66332
66333 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
66334
66335 * hurd/lookup-at.c (__file_name_lookup_at): Accept
66336 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
66337 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
66338 in AT_FLAGS.
66339 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
66340 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
66341
66342 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
66343
66344 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
66345
66346 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
66347
66348 [BZ #11640]
66349 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
66350 Properly check family and model.
66351
66352 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
66353
66354 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
66355
66356 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
66357
66358 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
66359
66360 2010-05-21 Ulrich Drepper <drepper@redhat.com>
66361
66362 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
66363 symbol reference.
66364
66365 2010-05-19 Andreas Schwab <schwab@redhat.com>
66366
66367 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
66368 symbol reference.
66369
66370 2010-05-21 Andreas Schwab <schwab@redhat.com>
66371
66372 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
66373 and internal_recvmmsg.
66374 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
66375 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
66376 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
66377 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
66378
66379 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
66380 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
66381 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
66382
66383 2010-05-20 Andreas Schwab <schwab@redhat.com>
66384
66385 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
66386
66387 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
66388
66389 POWER7 optimizations.
66390 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
66391 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
66392
66393 2010-05-19 Ulrich Drepper <drepper@redhat.com>
66394
66395 * version.h: Update for 2.13 development version.
66396
66397 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
66398
66399 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
66400 exceptions. Return 0.
66401
66402 2010-05-07 Roland McGrath <roland@redhat.com>
66403
66404 * elf/ldconfig.c (main): Add a const.
66405
66406 2010-05-06 Ulrich Drepper <drepper@redhat.com>
66407
66408 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
66409 (args_options): Add no-idn option.
66410 (ahosts_keys_int): Add idn_flags to ai_flags.
66411 (parse_option): Handle 'i' option to clear idn_flags.
66412
66413 * malloc/malloc.c (_int_free): Possible race in the most recently
66414 added check. Only act on the data if no current modification
66415 happened.
66416
66417 See ChangeLog.17 for earlier changes.