]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
Harden putpwent, putgrent, putspent, putspent against injection [BZ #18724]
[thirdparty/glibc.git] / ChangeLog
1 2015-10-02 Florian Weimer <fweimer@redhat.com>
2
3 [BZ #18724]
4 * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
5 (__nss_invalid_field_characters, __nss_valid_field)
6 (__nss_valid_list_field, __nss_rewrite_field): Declare.
7 * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
8 tst-field.c: New file.
9 * nss/Makefile (routines): Add valid_field, rewrite_field.
10 (tests-static): Define unconditionally.
11 (tests): Include tests-static.
12 [build-static-nss] (tests-static): Use append.
13 [build-static-nss] (tests): Remove modification.
14 * nss/getent.c (print_group): Call putgrent. Report error.
15 (print_gshadow): Call putsgent. Report error.
16 (print_passwd): Call putpwent. Report error.
17 (print_shadow): Call putspent. Report error.
18 * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
19 * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
20 * pwd/putpwent.c (putpwent): Use ISO function definition. Check
21 name, password, directory, shell fields for valid syntax. Rewrite
22 GECOS field to match syntax.
23 * pwd/Makefile (tests): Add tst-putpwent.
24 * pwd/tst-putpwent.c: New file.
25 * grp/putgrent.c (putgrent): Convert to ISO function definition.
26 Check grName, grpasswd, gr_mem fields for valid syntax.
27 Change loop variable i to size_t.
28 * grp/Makefile (tests): Add tst-putgrent.
29 * grp/tst-putgrent.c: New file.
30 * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
31 valid syntax.
32 * shadow/Makefile (tests): Add tst-putspent.
33 * shadow/tst-putspent.c: New file.
34 * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
35 sg_mem fields for valid syntax.
36 * gshadow/Makefile (tests): Add tst-putsgent.
37 * gshadow/tst-putsgent.c: New file.
38
39 2015-10-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
40
41 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
42 assembly instructions.
43
44 2015-10-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
45
46 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
47 prefix from operands.
48
49 2015-10-01 Joseph Myers <joseph@codesourcery.com>
50
51 [BZ #16347]
52 [BZ #19046]
53 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
54 <libc-internal.h>.
55 (MAXLGM): Do not use diagnostic control macros.
56 [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
57 threshold for ldbl-128ibm.
58 (__ieee754_lgammal_r): For large arguments, multiply by log - 1
59 instead of multiplying by log then subtracting.
60 * math/auto-libm-test-in: Add more tests of lgamma.
61 * math/auto-libm-test-out: Regenerated.
62
63 * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
64 (TYPE_HEX_DIG): Likewise.
65 (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
66 precisions when printing floating-point numbers.
67 (check_float_internal): Likewise.
68
69 2015-09-30 Joseph Myers <joseph@codesourcery.com>
70
71 [BZ #16620]
72 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
73 of log (10) rounded downward to 48 bits.
74 (log10_low): Use corresponding low part of log (10).
75
76 [BZ #19032]
77 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
78 compute result as (x - x) / (x - x) not as 0 / 0.
79 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
80 * math/libm-test.inc (acosh_test_data): Add another test of acosh.
81
82 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
83 atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
84 and expm1.
85 * math/auto-libm-test-out: Regenerated.
86 * math/libm-test.inc (acos_test_data): Add more tests.
87 (asin_test_data): Likewise.
88 (asinh_test_data): Likewise.
89 (atan_test_data): Likewise.
90 (atanh_test_data): Likewise.
91 (atan2_test_data): Likewise.
92 (cbrt_test_data): Likewise.
93 (ceil_test_data): Likewise.
94 (copysign_test_data): Likewise.
95 (cos_test_data): Likewise.
96 (cosh_test_data): Likewise.
97 (erf_test_data): Likewise.
98 (erfc_test_data): Likewise.
99 (exp_test_data): Likewise.
100 (exp10_test_data): Likewise.
101 (exp2_test_data): Likewise.
102 (expm1_test_data): Likewise.
103 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
104
105 2015-09-30 H.J. Lu <hongjiu.lu@intel.com>
106
107 [BZ #19006]
108 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
109 to ...
110 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
111 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
112 to ...
113 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
114 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
115 to ...
116 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
117 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
118 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
119 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
120 to ...
121 * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
122 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
123 Moved to ...
124 * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
125 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
126 Moved to ...
127 * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
128 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
129 to ...
130 * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
131 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
132 Moved to ...
133 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
134 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
135 to ...
136 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
137 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
138 Removed.
139 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
140 Likewise.
141 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
142 Likewise.
143 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
144 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
145 Likewise.
146 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
147 Likewise.
148 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
149 Likewise.
150 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
151 Likewise.
152 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
153 Likewise.
154 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
155 Likewise.
156 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
157 Likewise.
158 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
159 Likewise.
160 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
161 Likewise.
162 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
163 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
164 Likewise.
165 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
166 Likewise.
167 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
168 Likewise.
169 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
170 Likewise.
171 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
172 Likewise.
173 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
174 Replace ../i486/pthread_cond_timedwait.S with
175 ../pthread_cond_timedwait.S.
176
177 2015-09-30 Joseph Myers <joseph@codesourcery.com>
178
179 * math/libm-test.inc (acos_test_data): Refine expectations for
180 errno and "inexact" exceptions.
181 (acosh_test_data): Likewise.
182 (asin_test_data): Likewise.
183 (asinh_test_data): Likewise.
184 (atan_test_data): Likewise.
185 (atanh_test_data): Likewise.
186 (atan2_test_data): Likewise.
187 (cbrt_test_data): Likewise.
188 (ceil_test_data): Likewise.
189 (copysign_test_data): Likewise.
190 (cosh_test_data): Likewise.
191 (erf_test_data): Likewise.
192 (erfc_test_data): Likewise.
193 (exp_test_data): Likewise.
194 (exp10_test_data): Likewise.
195 (exp2_test_data): Likewise.
196 (expm1_test_data): Likewise.
197 (fabs_test_data): Likewise.
198 (floor_test_data): Likewise.
199 (fma_test_data): Likewise.
200 (fmax_test_data): Likewise.
201 (fmin_test_data): Likewise.
202 (fmod_test_data): Likewise.
203 (fpclassify_test_data): Likewise.
204 (frexp_test_data): Likewise.
205 (hypot_test_data): Likewise.
206 (ilogb_test_data): Likewise.
207 (isgreater_test_data): Likewise.
208 (isgreaterequal_test_data): Likewise.
209 (isinf_test_data): Likewise.
210 (isless_test_data): Likewise.
211 (islessequal_test_data): Likewise.
212 (islessgreater_test_data): Likewise.
213 (isnan_test_data): Likewise.
214 (isnormal_test_data): Likewise.
215 (issignaling_test_data): Likewise.
216 (isunordered_test_data): Likewise.
217 (j0_test_data): Likewise.
218 (j1_test_data): Likewise.
219 (jn_test_data): Likewise.
220 (lgamma_test_data): Likewise.
221 (lrint_test_data): Likewise.
222 (llrint_test_data): Likewise.
223 (log_test_data): Likewise.
224 (log10_test_data): Likewise.
225 (log1p_test_data): Likewise.
226 (log2_test_data): Likewise.
227 (logb_test_data): Likewise.
228 (lround_test_data): Likewise.
229 (llround_test_data): Likewise.
230 (modf_test_data): Likewise.
231 (nearbyint_test_data): Likewise.
232 (nextafter_test_data): Likewise.
233 (nexttoward_test_data): Likewise.
234 (pow_test_data): Likewise.
235 (remainder_test_data): Likewise.
236 (remquo_test_data): Likewise.
237 (rint_test_data): Likewise.
238 (round_test_data): Likewise.
239 (signbit_test_data): Likewise.
240 (sinh_test_data): Likewise.
241 (sqrt_test_data): Likewise.
242 (tanh_test_data): Likewise.
243 (tgamma_test_data): Likewise.
244 (trunc_test_data): Likewise.
245 (y0_test_data): Likewise.
246 (y1_test_data): Likewise.
247 (yn_test_data): Likewise.
248 (significand_test_data): Likewise.
249
250 2015-09-29 Carlos O'Donell <carlos@redhat.com>
251
252 * manual/filesys.texi (Storage Allocation): Document that
253 posix_fallocate emulation fails when fd is open with O_WRONLY.
254
255 2015-09-28 Joseph Myers <joseph@codesourcery.com>
256
257 [BZ #19016]
258 * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
259 allow more cases with X^2 + Y^2 >= 0.5.
260 * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise. Add -1 as
261 normal element in sum instead of special-casing based on values of
262 arguments.
263 * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
264 * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise. Add
265 -1 as normal element in sum instead of special-casing based on
266 values of arguments.
267 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
268 * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
269 (__x2y2m1): Update comment.
270 * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise. Add -1
271 as normal element in sum instead of special-casing based on values
272 of arguments.
273 * math/s_clog.c (__clog): Handle more cases using log1p without
274 hypot.
275 * math/s_clog10.c (__clog10): Likewise.
276 * math/s_clog10f.c (__clog10f): Likewise.
277 * math/s_clog10l.c (__clog10l): Likewise.
278 * math/s_clogf.c (__clogf): Likewise.
279 * math/s_clogl.c (__clogl): Likewise.
280 * math/auto-libm-test-in: Add more tests of clog and clog10.
281 * math/auto-libm-test-out: Regenerated.
282 * sysdeps/i386/fpu/libm-test-ulps: Update.
283 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
284
285 2015-09-28 Martin Sebor <msebor@redhat.com>
286
287 [BZ #18969]
288 * string/Makefile (LOCALES): Define.
289 (gen-locales.mk): Include.
290 (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
291 (tst-strxfrm2.out): Add deppendency on $(gen-locales).
292 * string/tst-strxfrm2.c (do_test): Print the name of the locale
293 on setlocale failure.
294
295 2015-09-26 Paul Pluzhnikov <ppluzhnikov@google.com>
296
297 [BZ #18985]
298 * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
299 (__strftime_internal): Likewise.
300 * time/tst-strftime.c (do_bz18985): New test.
301 (do_test): Call it.
302
303 2015-09-26 Joseph Myers <joseph@codesourcery.com>
304
305 [BZ #18956]
306 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
307 not 0x0040000 for high bit of mantissa. Mask with 0xfffff000 when
308 extracting high part.
309 * math/auto-libm-test-in: Add another test of pow.
310 * math/auto-libm-test-out: Regenerated.
311 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
312
313 2015-09-25 Joseph Myers <joseph@codesourcery.com>
314
315 [BZ #18825]
316 * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
317 New macro.
318 (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
319 (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
320 * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
321 (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
322 DBL_NARROW_EVAL, reloading the PIC register as needed.
323 * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
324 (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
325 FLT_NARROW_EVAL. Use separate return path for case when first
326 argument is NaN.
327 * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>. Use
328 DEFINE_LDBL_MIN.
329 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
330 PIC register.
331 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
332 math_check_force_underflow_nonneg.
333 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
334 underflow for subnormal result.
335 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
336 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
337 math_check_force_underflow_nonneg.
338 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
339 math_check_force_underflow.
340 * sysdeps/x86_64/fpu/x86_64-math-asm.h
341 (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
342 * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>. Use
343 DEFINE_LDBL_MIN.
344 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
345 * math/auto-libm-test-in: Add more tests of pow.
346 * math/auto-libm-test-out: Regenerated.
347
348 2015-09-25 Florian Weimer <fweimer@redhat.com>
349
350 * nss/bug17079.c (init_test_items): Add diagnostic for
351 inconsistent entries.
352 (test_buffer_size): Skip inconsistent entries.
353
354 2015-09-25 Joseph Myers <joseph@codesourcery.com>
355
356 [BZ #13304]
357 * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
358 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
359 * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
360
361 [BZ #13304]
362 * sysdeps/microblaze/s_fma.c: New file.
363 * sysdeps/microblaze/s_fmaf.c: Likewise.
364 * sysdeps/microblaze/sfp-machine.h: Likewise.
365
366 2015-09-25 Maciej W. Rozycki <macro@imgtec.com>
367
368 [BZ #17250]
369 * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
370 member.
371
372 2015-09-24 Joseph Myers <joseph@codesourcery.com>
373
374 [BZ #18803]
375 * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
376 (MO): New macro.
377 (__ieee754_hypot) [PIC]: Load PIC register.
378 (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
379 DBL_NARROW_EVAL.
380 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
381 math_check_force_underflow_nonneg in case where result might be
382 tiny.
383 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
384 Likewise.
385 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
386 Likewise.
387 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
388 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
389 * math/auto-libm-test-in: Add more tests of hypot.
390 * math/auto-libm-test-out: Regenerated.
391
392 2015-09-24 Steve Ellcey <sellcey@imgtec.com>
393
394 * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
395
396 2015-09-24 Joseph Myers <joseph@codesourcery.com>
397
398 * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
399 * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
400 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
401 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
402 * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
403 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
404 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
405
406 * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
407 LOAD_PIC_REG.
408
409 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
410 (FLT_CHECK_FORCE_UFLOW): Likewise.
411 (DBL_CHECK_FORCE_UFLOW): Likewise.
412 (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
413 (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
414 (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
415 (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
416 (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
417 (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
418 (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
419 (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
420 * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
421 (dbl_min): Replace with use of DEFINE_DBL_MIN.
422 (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
423 * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
424 (flt_min): Replace with use of DEFINE_FLT_MIN.
425 (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
426 * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
427 (dbl_min): Replace with use of DEFINE_DBL_MIN.
428 (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
429 * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
430 (flt_min): Replace with use of DEFINE_FLT_MIN.
431 (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
432 * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
433 (dbl_min): Replace with use of DEFINE_DBL_MIN.
434 (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
435 * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
436 (flt_min): Replace with use of DEFINE_FLT_MIN.
437 (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
438 * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
439 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
440 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
441 * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
442 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
443 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
444 * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
445 (dbl_min): Replace with use of DEFINE_DBL_MIN.
446 (__atan): Use DBL_CHECK_FORCE_UFLOW.
447 * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
448 (flt_min): Replace with use of DEFINE_FLT_MIN.
449 (__atanf): Use FLT_CHECK_FORCE_UFLOW.
450 * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
451 (dbl_min): Replace with use of DEFINE_DBL_MIN.
452 (__expm1): Use DBL_CHECK_FORCE_UFLOW. Move underflow check after
453 main computation.
454 * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
455 (flt_min): Replace with use of DEFINE_FLT_MIN.
456 (__expm1f): Use FLT_CHECK_FORCE_UFLOW. Move underflow check after
457 main computation.
458 * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
459 (dbl_min): Replace with use of DEFINE_DBL_MIN.
460 (MO): New macro.
461 (__log1p): Use MO. Use DBL_CHECK_FORCE_UFLOW_NONNAN.
462 * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
463 (flt_min): Replace with use of DEFINE_FLT_MIN.
464 (MO): New macro.
465 (__log1pf): Use MO. Use FLT_CHECK_FORCE_UFLOW_NONNAN.
466 * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
467 (__log1pl): Use MO.
468
469 [BZ #19003]
470 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
471 $(config-cflags-nofma).
472
473 2015-09-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
474
475 * sysdeps/aarch64/libm-test-ulps: Regenerated.
476
477 2015-09-23 Joseph Myers <joseph@codesourcery.com>
478
479 * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
480 (TWO127): Likewise.
481
482 * sysdeps/generic/math_private.h (fabs_tg): New macro.
483 (min_of_type): Likewise.
484 (math_check_force_underflow): Likewise.
485 (math_check_force_underflow_nonneg): Likewise.
486 (math_check_force_underflow_complex): Likewise.
487 * math/e_exp2l.c (__ieee754_exp2l): Use
488 math_check_force_underflow_nonneg.
489 * math/k_casinh.c (__kernel_casinh): Likewise.
490 * math/k_casinhf.c (__kernel_casinhf): Likewise.
491 * math/k_casinhl.c (__kernel_casinhl): Likewise.
492 * math/s_catan.c (__catan): Use
493 math_check_force_underflow_complex.
494 * math/s_catanf.c (__catanf): Likewise.
495 * math/s_catanh.c (__catanh): Likewise.
496 * math/s_catanhf.c (__catanhf): Likewise.
497 * math/s_catanhl.c (__catanhl): Likewise.
498 * math/s_catanl.c (__catanl): Likewise.
499 * math/s_ccosh.c (__ccosh): Likewise.
500 * math/s_ccoshf.c (__ccoshf): Likewise.
501 * math/s_ccoshl.c (__ccoshl): Likewise.
502 * math/s_cexp.c (__cexp): Likewise.
503 * math/s_cexpf.c (__cexpf): Likewise.
504 * math/s_cexpl.c (__cexpl): Likewise.
505 * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
506 * math/s_clog10.c (__clog10): Likewise.
507 * math/s_clog10f.c (__clog10f): Likewise.
508 * math/s_clog10l.c (__clog10l): Likewise.
509 * math/s_clogf.c (__clogf): Likewise.
510 * math/s_clogl.c (__clogl): Likewise.
511 * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
512 * math/s_csinf.c (__csinf): Likewise.
513 * math/s_csinh.c (__csinh): Likewise.
514 * math/s_csinhf.c (__csinhf): Likewise.
515 * math/s_csinhl.c (__csinhl): Likewise.
516 * math/s_csinl.c (__csinl): Likewise.
517 * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
518 * math/s_csqrtf.c (__csqrtf): Likewise.
519 * math/s_csqrtl.c (__csqrtl): Likewise.
520 * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
521 * math/s_ctanf.c (__ctanf): Likewise.
522 * math/s_ctanh.c (__ctanh): Likewise.
523 * math/s_ctanhf.c (__ctanhf): Likewise.
524 * math/s_ctanhl.c (__ctanhl): Likewise.
525 * math/s_ctanl.c (__ctanl): Likewise.
526 * stdlib/strtod_l.c (round_and_return): Use math_force_eval
527 instead of volatile.
528 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
529 math_check_force_underflow.
530 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
531 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
532 volatile when forcing underflow.
533 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
534 math_check_force_underflow_nonneg.
535 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
536 Likewise.
537 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
538 math_check_force_underflow.
539 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
540 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
541 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
542 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
543 math_check_force_underflow_nonneg.
544 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
545 math_check_force_underflow.
546 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
547 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
548 instead of volatile.
549 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
550 math_check_force_underflow.
551 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
552 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
553 math_check_force_underflow_nonneg.
554 * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
555 math_check_force_underflow.
556 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
557 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
558 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
559 math_check_force_underflow_nonneg.
560 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
561 Likewise.
562 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
563 math_check_force_underflow.
564 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
565 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
566 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
567 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
568 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
569 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
570 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
571 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
572 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
573 * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
574 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
575 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
576 Likewise.
577 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
578 math_check_force_underflow_nonneg.
579 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
580 Likewise.
581 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
582 math_check_force_underflow.
583 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
584 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
585 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
586 Likewise.
587 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
588 * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
589 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
590 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
591 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
592 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
593 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
594 instead of volatile.
595 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
596 math_check_force_underflow.
597 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
598 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
599 math_check_force_underflow.
600 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
601 Likewise.
602 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
603 Use math_check_force_underflow_nonneg.
604 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
605 math_check_force_underflow.
606 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
607 Likewise.
608 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
609 Likewise.
610 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
611 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
612 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
613 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
614 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
615 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
616 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
617 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
618 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
619 math_check_force_underflow_nonneg.
620 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
621 math_check_force_underflow.
622 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
623 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
624 * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
625 * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
626 math_check_force_underflow_nonneg.
627 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
628 math_check_force_underflow.
629 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
630 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
631 instead of volatile.
632 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
633 math_check_force_underflow.
634
635 * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
636 * stdlib/strtod_l.c: Include <math_private.h>.
637 (overflow_value): Use math_narrow_eval.
638 (underflow_value): Likewise.
639 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
640 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
641 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
642 (__ieee754_gamma_r): Likewise.
643 * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
644 Likewise.
645 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
646 Likewise.
647 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
648 * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
649 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
650 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
651 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
652 (__ieee754_gammaf_r): Likewise.
653 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
654 Likewise.
655 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
656 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
657 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
658 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
659 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
660 volatile.
661 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
662 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
663 math_narrow_eval.
664 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
665 Likewise.
666 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
667 Likewise.
668 * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
669 Likewise.
670 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
671 volatile.
672 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
673 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
674 math_narrow_eval.
675 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
676 Likewise.
677 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
678 Likewise.
679
680 2015-09-22 H.J. Lu <hongjiu.lu@intel.com>
681
682 * nptl/Versions: Remove ignored symbols.
683
684 2015-09-22 Florian Weimer <fweimer@redhat.com>
685
686 * nss/bug17079.c: Renamed from nss/bug18287.c. Add description.
687 * nss/Makefile (tests): Update.
688
689 2015-09-22 Florian Weimer <fweimer@redhat.com>
690
691 * nss/bug18287.c: New file.
692 * nss/Makefile (tests): Add bug18287.
693
694 2015-09-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
695
696 * mach/Versions (__mach_host_self_): Add symbol.
697
698 2015-09-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
699
700 * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
701 vm_page_size.
702
703 2015-09-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
704
705 Really fix sysdeps/i386/fpu/s_scalbn.S build
706
707 * math/Versions (libc: GLIBC_2_20): New (empty) version set.
708 (libc: GLIBC_2_22): Remove unused version set.
709
710 2015-09-18 Mike Frysinger <vapier@gentoo.org>
711
712 * config.make.in (enable-timezone-tools): New variable.
713 * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
714 (enable_timezone_tools): Export to generated files.
715 * configure: Regenerate.
716 * INSTALL: Regenerate.
717 * manual/install.texi (--disable-timezone-tools): Document new flag.
718 * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
719 ifeq ($(enable-timezone-tools),yes) check.
720
721 2015-09-18 Joseph Myers <joseph@codesourcery.com>
722
723 * timezone/Makefile: Revert previous change.
724
725 [BZ #18980]
726 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
727 (DEFINE_DBL_MIN): Likewise.
728 (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
729 (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
730 (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
731 (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
732 * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
733 (dbl_min): Replace with use of DEFINE_DBL_MIN.
734 (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
735 (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
736 * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
737 (dbl_min): Replace with use of DEFINE_DBL_MIN.
738 (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
739 * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
740 (flt_min): Replace with use of DEFINE_FLT_MIN.
741 (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
742 * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
743 (dbl_min): Replace with use of DEFINE_DBL_MIN.
744 (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
745 * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
746 (flt_min): Replace with use of DEFINE_FLT_MIN.
747 (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
748 * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
749 (flt_min): Replace with use of DEFINE_FLT_MIN.
750 (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
751 (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
752 * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
753 (__ieee754_hypot): Use DBL_NARROW_EVAL.
754 * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
755 (__ieee754_hypotf): Use FLT_NARROW_EVAL.
756 * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
757 (__ieee754_pow): Use DBL_NARROW_EVAL.
758 * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
759 (__ieee754_powf): Use FLT_NARROW_EVAL.
760 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
761 (__ieee754_expf_sse2): Convert double-precision result to single
762 precision.
763 * sysdeps/i386/fpu/libm-test-ulps: Update.
764
765 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
766
767 * timezone/Makefile: Ignore unused variable errors due to private.h
768 (time_t_min) and (time_t_max).
769 * timezone/private.h (time_t_min): Revert removal. (time_t_max):
770 Likewise.
771
772 2015-09-18 Joseph Myers <joseph@codesourcery.com>
773
774 [BZ #18981]
775 * sysdeps/i386/fpu/i386-math-asm.h: New file.
776 * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
777 (__ieee754_scalb): Use DBL_NARROW_EVAL.
778 * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
779 (__ieee754_scalbf): Use FLT_NARROW_EVAL.
780 * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
781 (__scalbn): Use DBL_NARROW_EVAL.
782 * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
783 (__scalbnf): Use FLT_NARROW_EVAL.
784
785 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
786
787 * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
788 * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
789 * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
790 * stdio-common/printf_fp.c (___printf_fp):
791 Use signbit to get the sign. Use isinf macro to allow inlining.
792 * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
793 * stdio-common/printf_size.c (__printf_size): Likewise.
794
795 2015-09-18 Mike Frysinger <vapier@gentoo.org>
796
797 * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
798
799 2015-09-18 Joseph Myers <joseph@codesourcery.com>
800
801 [BZ #18980]
802 * sysdeps/generic/math_private.h: Include <float.h>.
803 (math_narrow_eval): New macro.
804 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
805 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
806 math_narrow_eval on overflowing return value.
807 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
808 Likewise.
809 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
810 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
811 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
812 Likewise.
813 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
814
815 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
816
817 * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
818 * math/Makefile: Remove isinf_ns.c.
819 * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
820 * math/multc3.c (__multc3): Likewise.
821 * math/s_casin.c (__casin): Likewise.
822 * math/s_casinf.c (__casinf): Likewise.
823 * math/s_casinl.c (__casinl): Likewise.
824 * math/s_cproj.c (__cproj): Likewise.
825 * math/s_cprojf.c (__cprojf): Likewise.
826 * math/s_cprojl.c (__cprofl): Likewise.
827 * math/s_ctan.c (__ctan): Likewise.
828 * math/s_ctanf.c (__ctanf): Likewise.
829 * math/s_ctanh.c (__ctanh): Likewise.
830 * math/s_ctanhf.c (__ctanhf): Likewise.
831 * math/s_ctanhl.c (__ctanhl): Likewise.
832 * math/s_ctanl.c (__ctanl): Likewise.
833 * math/w_fmod.c (__fmod): Likewise.
834 * math/w_fmodf.c (__fmodf): Likewise.
835 * math/w_fmodl.c (_fmodl): Likewise.
836 * math/w_remainder.c (__remainder): Likewise.
837 * math/w_remainderf.c (__remainderf): Likewise.
838 * math/w_remainderl.c (__remainderl): Likewise.
839 * math/w_scalb.c (__scalb): Likewise.
840 * math/w_scalbf.c (__scalbf): Likewise.
841 * math/w_scalbl.c (__scalbl): Likewise.
842 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
843 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
844 with isinf.
845 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
846 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
847 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
848 __isinf_nsf with isinf.
849 * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
850 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
851 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
852 * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
853 with isinf.
854 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
855 __isinf_nsl with isinf.
856 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
857 with isinf.
858 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
859 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
860 __isinf_nsl with isinf.
861 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
862 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
863 with isinf.
864
865 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
866
867 * resolv/base64.c (rcsid): Remove unused static.
868 * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
869 static. (tqpi1): Likewise.
870 * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
871 * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
872 * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
873 * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
874 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
875 * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
876 * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
877 * timezone/private.h (time_t_min): Likewise. (time_t_max):
878 Likewise.
879
880 2015-09-18 H.J. Lu <hongjiu.lu@intel.com>
881
882 * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
883 <nptl/pthreadP.h>.
884 (_longjmp_unwind): Use __libc_ptf_call.
885 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
886
887 2015-09-18 David Lamparter <equinox-gentoo@diac24.net>
888
889 * sysdeps/arm/setjmp.S: Change PIC to SHARED.
890 * sysdeps/arm/__longjmp.S: Likewise
891
892 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
893
894 * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
895 Use __builtin_signbit.
896 * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
897 Use __builtin_signbitf.
898 * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
899 Use __builtin_signbitl.
900 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
901 * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
902
903 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
904
905 [BZ #15367]
906 [BZ #17441]
907
908 * math/Makefile: Build test-snan.c with -fsignaling-nans.
909 * math/math.h (fpclassify): Use __builtin_fpclassify when
910 available. (signbit): Use __builtin_signbit(f/l).
911 (isfinite): Use__builtin_isfinite. (isnormal): Use
912 __builtin_isnormal. (isnan): Use __builtin_isnan.
913 (isinf): Use __builtin_isinf_sign.
914
915 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
916
917 * benchtests/Makefile: Add bench-math-inlines, link with libm.
918 * benchtests/bench-math-inlines.c: New benchmark.
919 * benchtests/bench-util.h: New file.
920 * benchtests/bench-util.c: New file.
921 * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
922
923 2015-09-18 Carlos O'Donell <carlos@redhat.com>
924
925 * elf/tst-dlmopen1.c: Define TEST_SO.
926 (do_test): Use TEST_SO.
927
928 * elf/dl-load.c: Include libc-internal.h.
929 (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
930
931 2015-09-18 Vincent Bernat <vincent@bernat.im>
932
933 [BZ #17887]
934 * time/strptime_l.c (__strptime_internal): Make %z accept
935 [+-]HH:MM time zones.
936
937 2015-09-18 Vincent Bernat <vincent@bernat.im>
938
939 [BZ #17886]
940 * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
941 valid time zone.
942
943 2015-09-17 Mike Frysinger <vapier@gentoo.org>
944
945 * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
946 * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
947 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
948 (__ASSUME_FDATASYNC): Delete.
949
950 2015-09-17 Joseph Myers <joseph@codesourcery.com>
951
952 * conform/linknamespace.pl: Require weak undefined symbols to be
953 in the standard namespace.
954 (%strong_syms): Rename to %seen_syms.
955 (%strong_seen): Rename to %seen_where.
956
957 2015-09-17 H.J. Lu <hongjiu.lu@intel.com>
958
959 [BZ #18970]
960 * misc/error.c (error): Replace pthread_setcancelstate with
961 __pthread_setcancelstate.
962 (error_at_line): Likewise.
963 * posix/wordexp.c (parse_comm): Likewise.
964 * stdlib/fmtmsg.c (fmtmsg): Likewise.
965 * nptl/forward.c (pthread_setcancelstate): Renamed to ...
966 (__pthread_setcancelstate): This.
967 (pthread_setcancelstate): Add an alias.
968 * nptl/nptl-init.c (pthread_functions): Replace
969 ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
970 * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
971 * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
972 hidden_proto.
973 * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
974 it with hidden_def.
975 * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
976 (pthread_setcancelstate): Renamed to ...
977 (__pthread_setcancelstate): This.
978 * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
979 __libc_ptf_call with __pthread_setcancelstate.
980
981 2015-09-17 Joseph Myers <joseph@codesourcery.com>
982 Andreas Schwab <schwab@suse.de>
983
984 [BZ #17118]
985 * math/s_ctan.c (__ctan): Determine sign of zero real part of
986 result when imaginary part of argument is infinite using sine and
987 cosine.
988 * math/s_ctanf.c (__ctanf): Likewise.
989 * math/s_ctanl.c (__ctanl): Likewise.
990 * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
991 of result when real part of argument is infinite using sine and
992 cosine.
993 * math/s_ctanhf.c (__ctanhf): Likewise.
994 * math/s_ctanhl.c (__ctanhl): Likewise.
995 * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
996 (ctanh_test_data): Add more tests of ctanh.
997
998 2015-09-17 Joseph Myers <joseph@codesourcery.com>
999
1000 [BZ #15384]
1001 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
1002 bit-mask as in subtraction.
1003 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
1004 Likewise.
1005 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
1006 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
1007 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
1008
1009 [BZ #18951]
1010 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
1011 underflow exception for small results.
1012 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
1013 Likewise.
1014 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
1015 Likewise.
1016 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
1017 Likewise.
1018 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
1019 Likewise.
1020 * math/auto-libm-test-in: Add more tests of tgamma.
1021 * math/auto-libm-test-out: Regenerated.
1022
1023 2015-09-17 Andreas Schwab <schwab@suse.de>
1024
1025 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
1026
1027 2015-09-16 Joseph Myers <joseph@codesourcery.com>
1028
1029 [BZ #18977]
1030 * math/bits/mathcalls.h
1031 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
1032 not declare.
1033 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
1034 Likewise.
1035 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
1036 Likewise.
1037 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
1038 Likewise.
1039 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
1040 Likewise.
1041 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
1042 Likewise.
1043 * conform/data/math.h-data
1044 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
1045 function.
1046 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
1047 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
1048 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
1049 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
1050 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
1051 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
1052 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
1053 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
1054 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
1055 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
1056 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
1057
1058 [BZ #6803]
1059 * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
1060 [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
1061 * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
1062 * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
1063 * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
1064 * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
1065 * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
1066 * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
1067 [NO_LONG_DOUBLE] (scalbnl): Likewise.
1068 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
1069 Likewise.
1070 [NO_LONG_DOUBLE] (scalbnl): Likewise.
1071 * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
1072 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
1073 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
1074 long_double_symbol calls.
1075 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
1076 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
1077 strong alias of __ldexpl.
1078 (scalbnl): Define using long_double_symbol.
1079 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
1080 Remove alias.
1081 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
1082 * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
1083 * math/libm-test.inc (scalbn_test_data): Add errno expectations.
1084 (scalbln_test_data): Add more errno expectations.
1085
1086 2015-09-16 Justus Winter <4winter@informatik.uni-hamburg.de>
1087
1088 Cache the host port like we cache the task port. This way we do not
1089 need to call the kernel just to get the port. Furthermore, we no
1090 longer increase the reference count on every invocation of
1091 `mach_host_self'.
1092
1093 * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
1094 Protect declarations against the macro expansion.
1095 * mach/mach_init.c (__mach_host_self_): New variable.
1096 (mach_init): Initialize `__mach_host_self_'.
1097 * mach/mach_init.h (__mach_host_self_): New declaration.
1098 (__mach_host_self, mach_host_self): New macros.
1099 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
1100 Release reference.
1101
1102 2015-09-16 Joseph Myers <joseph@codesourcery.com>
1103
1104 [BZ #4404]
1105 * po/de.po: Update from Translation Project.
1106
1107 [BZ #16415]
1108 * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
1109 (__expm1l): Remove code to handle positive infinity and overflow.
1110 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
1111 variable.
1112 (__expm1l): Remove code to handle positive infinity and overflow.
1113
1114 2015-09-16 Paul Eggert <eggert@cs.ucla.edu>
1115 Paul Pluzhnikov <ppluzhnikov@google.com>
1116
1117 [BZ #18872]
1118 * stdio-common/Makefile (tst-printf-bz18872): New test.
1119 (tst-printf-bz18872-mem.out): Likewise.
1120 * stdio-common/tst-printf-bz18872.sh: Generate new test.
1121 * stdio-common/vfprintf.c: Fix memory leaks.
1122
1123 2015-09-16 Andreas Schwab <schwab@suse.de>
1124
1125 [BZ #17244]
1126 * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
1127 Remove extra va_start/va_end calls.
1128
1129 [BZ #17243]
1130 * posix/execl.c (execl): Add missing va_end.
1131 * posix/execle.c (execle): Likewise.
1132 * posix/execlp.c (execlp): Likewise.
1133
1134 2015-09-15 Roland McGrath <roland@hack.frob.com>
1135
1136 * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
1137 (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
1138
1139 2015-09-15 Joseph Myers <joseph@codesourcery.com>
1140
1141 [BZ #18967]
1142 * math/math.h (__MATH_DECLARING_DOUBLE): New macro. Define and
1143 undefine around includes of <bits/mathcalls.h>.
1144 * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
1145 not declare function.
1146 [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
1147 [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
1148 (scalb): Likewise.
1149 * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
1150 not define macro.
1151 * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
1152 variable.
1153 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
1154 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
1155 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
1156
1157 [BZ #18857]
1158 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
1159 return non-finite argument without doing ordered comparisons on
1160 it.
1161
1162 [BZ #16296]
1163 * math/fenv.h (fegetround): Use __attribute_pure__.
1164 * include/fenv.h (__fegetround): Likewise.
1165
1166 [BZ #18595]
1167 * math/s_ctan.c (__ctan): Force underflow exception for results
1168 whose real or imaginary part has small absolute value.
1169 * math/s_ctanf.c (__ctanf): Likewise.
1170 * math/s_ctanh.c (__ctanh): Likewise.
1171 * math/s_ctanhf.c (__ctanhf): Likewise.
1172 * math/s_ctanhl.c (__ctanhl): Likewise.
1173 * math/s_ctanl.c (__ctanl): Likewise.
1174 * math/auto-libm-test-in: Do not allow missing underflow for ctan
1175 and ctanh. Add more tests of ctan and ctanh.
1176
1177 [BZ #15918]
1178 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
1179 handling of cases where one argument is an infinity.
1180
1181 [BZ #18875]
1182 [BZ #18966]
1183 * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
1184 (MO): New macro.
1185 (__ieee754_exp10): For small results, force underflow exception
1186 and remove excess range and precision from return value.
1187 * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
1188 (MO): New macro.
1189 (__ieee754_exp10f): For small results, force underflow exception
1190 and remove excess range and precision from return value.
1191 * math/auto-libm-test-in: Add more tests of exp10.
1192 * math/auto-libm-test-out: Regenerated.
1193
1194 2015-09-14 Joseph Myers <joseph@codesourcery.com>
1195
1196 [BZ #18875]
1197 [BZ #18961]
1198 * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
1199 (MO): New macro.
1200 (__ieee754_exp): For small results, force underflow exception and
1201 remove excess range and precision from return value.
1202 (__exp_finite): Likewise.
1203 * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
1204 (MO): New macro.
1205 (__ieee754_expf): For small results, force underflow exception and
1206 remove excess range and precision from return value.
1207 (__expf_finite): Likewise.
1208 * math/auto-libm-test-in: Add more tests of exp.
1209 * math/auto-libm-test-out: Regenerated.
1210
1211 [BZ #16521]
1212 [BZ #18875]
1213 * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
1214 small results.
1215 * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
1216 (MO): New macro.
1217 (__ieee754_exp2): For small results, force underflow exception and
1218 remove excess range and precision from return value.
1219 * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
1220 (MO): New macro.
1221 (__ieee754_exp2f): For small results, force underflow exception
1222 and remove excess range and precision from return value.
1223 * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
1224 (MO): New macro.
1225 (__ieee754_exp2l): Force underflow exception for small results.
1226 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
1227 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
1228 * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
1229 (MO): New macro.
1230 (__ieee754_exp2l): Force underflow exception for small results.
1231 * math/auto-libm-test-in: Add more tests or exp2.
1232 * math/auto-libm-test-out: Regenerated.
1233
1234 2015-09-14 Carlos O'Donell <carlos@redhat.com>
1235
1236 * malloc/malloc.c (systrim): Use ALIGN_DOWN.
1237
1238 * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
1239 /dev/null.
1240
1241 2015-09-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
1242
1243 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
1244 io fs process)): Drop spurious backslash.
1245
1246 2015-09-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1247
1248 * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
1249 Use sysinfo system call instead of parsing /proc/meminfo.
1250 * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
1251 Likewise.
1252
1253 2015-09-11 Mike Frysinger <vapier@gentoo.org>
1254
1255 [BZ #16985]
1256 * programs/localedef.c (main): Display argv[remaining] when
1257 output_path is NULL.
1258
1259 2015-09-11 Joseph Myers <joseph@codesourcery.com>
1260
1261 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
1262 asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
1263 exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
1264 tanh.
1265 * math/auto-libm-test-out: Regenerated.
1266 * sysdeps/i386/fpu/libm-test-ulps: Update.
1267 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
1268 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1269 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1270
1271 2015-09-11 Roland McGrath <roland@hack.frob.com>
1272
1273 * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
1274 Use 'override' keyword to freeze the value here, preventing
1275 the addition of sys/mtio.h by sysdeps/gnu/Makefile.
1276
1277 2015-09-11 Joseph Myers <joseph@codesourcery.com>
1278
1279 [BZ #14912]
1280 * sysdeps/aarch64/bits/atomic.h: Move to ...
1281 * sysdeps/aarch64/atomic-machine.h: ...here.
1282 (_AARCH64_BITS_ATOMIC_H): Rename macro to
1283 _AARCH64_ATOMIC_MACHINE_H.
1284 * sysdeps/alpha/bits/atomic.h: Move to ...
1285 * sysdeps/alpha/atomic-machine.h: ...here.
1286 * sysdeps/arm/bits/atomic.h: Move to ...
1287 * sysdeps/arm/atomic-machine.h: ...here. Update comments.
1288 * bits/atomic.h: Move to ...
1289 * sysdeps/generic/atomic-machine.h: ...here.
1290 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
1291 * sysdeps/i386/bits/atomic.h: Move to ...
1292 * sysdeps/i386/atomic-machine.h: ...here.
1293 * sysdeps/ia64/bits/atomic.h: Move to ...
1294 * sysdeps/ia64/atomic-machine.h: ...here.
1295 * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
1296 * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
1297 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
1298 * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
1299 * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
1300 * sysdeps/microblaze/bits/atomic.h: Move to ...
1301 * sysdeps/microblaze/atomic-machine.h: ...here.
1302 * sysdeps/mips/bits/atomic.h: Move to ...
1303 * sysdeps/mips/atomic-machine.h: ...here.
1304 (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
1305 * sysdeps/powerpc/bits/atomic.h: Move to ...
1306 * sysdeps/powerpc/atomic-machine.h: ...here. Update comments.
1307 * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
1308 * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here. Update
1309 comments. Include <atomic-machine.h> instead of <bits/atomic.h>.
1310 * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
1311 * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here. Include
1312 <atomic-machine.h> instead of <bits/atomic.h>.
1313 * sysdeps/s390/bits/atomic.h: Move to ...
1314 * sysdeps/s390/atomic-machine.h: ...here.
1315 * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
1316 * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
1317 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
1318 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
1319 * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
1320 * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
1321 * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
1322 * sysdeps/tile/bits/atomic.h: Move to ...
1323 * sysdeps/tile/atomic-machine.h: ...here.
1324 * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
1325 * sysdeps/tile/tilegx/atomic-machine.h: ...here. Include
1326 <sysdeps/tile/atomic-machine.h> instead of
1327 <sysdeps/tile/bits/atomic.h>.
1328 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
1329 * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
1330 * sysdeps/tile/tilepro/atomic-machine.h: ...here. Include
1331 <sysdeps/tile/atomic-machine.h> instead of
1332 <sysdeps/tile/bits/atomic.h>.
1333 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
1334 * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
1335 * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here. Include
1336 <sysdeps/arm/atomic-machine.h> instead of
1337 <sysdeps/arm/bits/atomic.h>.
1338 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
1339 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
1340 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
1341 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
1342 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
1343 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
1344 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
1345 * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
1346 (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
1347 * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
1348 * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
1349 * sysdeps/x86_64/bits/atomic.h: Move to ...
1350 * sysdeps/x86_64/atomic-machine.h: ...here.
1351 * include/atomic.h: Include <atomic-machine.h> instead of
1352 <bits/atomic.h>.
1353
1354 * sysdeps/mips/mips32/libm-test-ulps: Update.
1355 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1356
1357 [BZ #18952]
1358 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
1359 not convert non-integer negative arguments to int to determine the
1360 value of signgam.
1361 * math/auto-libm-test-in: Add more tests of lgamma.
1362 * math/auto-libm-test-out: Regenerated.
1363
1364 * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
1365 cosh, csqrt, erfc, expm1 and lgamma.
1366 * math/auto-libm-test-out: Regenerated.
1367 * sysdeps/i386/fpu/libm-test-ulps: Update.
1368 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1369
1370 2015-09-10 Joseph Myers <joseph@codesourcery.com>
1371
1372 [BZ #2542]
1373 [BZ #2543]
1374 [BZ #2558]
1375 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
1376 __lgamma_neg for arguments from -28.0 to -2.0.
1377 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
1378 __lgamma_negf for arguments from -15.0 to -2.0.
1379 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
1380 Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
1381 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
1382 Call __lgamma_negl for arguments from -33.0 to -2.0.
1383 * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
1384 * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
1385 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
1386 * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
1387 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
1388 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
1389 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
1390 * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
1391 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
1392 * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
1393 * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
1394 * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
1395 (__lgamma_neg): Likewise.
1396 (__lgamma_negl): Likewise.
1397 (__lgamma_product): Likewise.
1398 (__lgamma_productl): Likewise.
1399 * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
1400 * math/auto-libm-test-in: Add more tests of lgamma.
1401 * math/auto-libm-test-out: Regenerated.
1402 * sysdeps/i386/fpu/libm-test-ulps: Update.
1403 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1404
1405 2015-09-09 Justin Maggard <jmaggard@netgear.com>
1406
1407 [BZ #18675]
1408 * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
1409
1410 2015-09-08 Joseph Myers <joseph@codesourcery.com>
1411
1412 [BZ #14912]
1413 * bits/libc-lock.h: Move to ...
1414 * sysdeps/generic/libc-lock.h: ...here.
1415 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
1416 * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
1417 * sysdeps/mach/hurd/libc-lock.h: ...here.
1418 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
1419 [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
1420 * sysdeps/mach/bits/libc-lock.h: Move to ...
1421 * sysdeps/mach/libc-lock.h: ...here.
1422 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
1423 * sysdeps/nptl/bits/libc-lock.h: Move to ...
1424 * sysdeps/nptl/libc-lock.h: ...here.
1425 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
1426 * sysdeps/nptl/bits/libc-lockP.h: Move to ...
1427 * sysdeps/nptl/libc-lockP.h: ...here.
1428 (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
1429 * crypt/crypt_util.c: Include <libc-lock.h> instead of
1430 <bits/libc-lock.h>.
1431 * dirent/scandir-tail.c: Likewise.
1432 * dlfcn/dlerror.c: Likewise.
1433 * elf/dl-close.c: Likewise.
1434 * elf/dl-iteratephdr.c: Likewise.
1435 * elf/dl-lookup.c: Likewise.
1436 * elf/dl-open.c: Likewise.
1437 * elf/dl-support.c: Likewise.
1438 * elf/dl-writev.h: Likewise.
1439 * elf/rtld.c: Likewise.
1440 * grp/fgetgrent.c: Likewise.
1441 * gshadow/fgetsgent.c: Likewise.
1442 * gshadow/sgetsgent.c: Likewise.
1443 * iconv/gconv_conf.c: Likewise.
1444 * iconv/gconv_db.c: Likewise.
1445 * iconv/gconv_dl.c: Likewise.
1446 * iconv/gconv_int.h: Likewise.
1447 * iconv/gconv_trans.c: Likewise.
1448 * include/link.h: Likewise.
1449 * inet/getnameinfo.c: Likewise.
1450 * inet/getnetgrent.c: Likewise.
1451 * inet/getnetgrent_r.c: Likewise.
1452 * intl/bindtextdom.c: Likewise.
1453 * intl/dcigettext.c: Likewise.
1454 * intl/finddomain.c: Likewise.
1455 * intl/gettextP.h: Likewise.
1456 * intl/loadmsgcat.c: Likewise.
1457 * intl/localealias.c: Likewise.
1458 * intl/textdomain.c: Likewise.
1459 * libidn/idn-stub.c: Likewise.
1460 * libio/libioP.h: Likewise.
1461 * locale/duplocale.c: Likewise.
1462 * locale/freelocale.c: Likewise.
1463 * locale/newlocale.c: Likewise.
1464 * locale/setlocale.c: Likewise.
1465 * login/getutent_r.c: Likewise.
1466 * login/getutid_r.c: Likewise.
1467 * login/getutline_r.c: Likewise.
1468 * login/utmp-private.h: Likewise.
1469 * login/utmpname.c: Likewise.
1470 * malloc/mtrace.c: Likewise.
1471 * misc/efgcvt.c: Likewise.
1472 * misc/error.c: Likewise.
1473 * misc/fstab.c: Likewise.
1474 * misc/getpass.c: Likewise.
1475 * misc/mntent.c: Likewise.
1476 * misc/syslog.c: Likewise.
1477 * nis/nis_call.c: Likewise.
1478 * nis/nis_callback.c: Likewise.
1479 * nis/nss-default.c: Likewise.
1480 * nis/nss_compat/compat-grp.c: Likewise.
1481 * nis/nss_compat/compat-initgroups.c: Likewise.
1482 * nis/nss_compat/compat-pwd.c: Likewise.
1483 * nis/nss_compat/compat-spwd.c: Likewise.
1484 * nis/nss_nis/nis-alias.c: Likewise.
1485 * nis/nss_nis/nis-ethers.c: Likewise.
1486 * nis/nss_nis/nis-grp.c: Likewise.
1487 * nis/nss_nis/nis-hosts.c: Likewise.
1488 * nis/nss_nis/nis-network.c: Likewise.
1489 * nis/nss_nis/nis-proto.c: Likewise.
1490 * nis/nss_nis/nis-pwd.c: Likewise.
1491 * nis/nss_nis/nis-rpc.c: Likewise.
1492 * nis/nss_nis/nis-service.c: Likewise.
1493 * nis/nss_nis/nis-spwd.c: Likewise.
1494 * nis/nss_nisplus/nisplus-alias.c: Likewise.
1495 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
1496 * nis/nss_nisplus/nisplus-grp.c: Likewise.
1497 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
1498 * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
1499 * nis/nss_nisplus/nisplus-network.c: Likewise.
1500 * nis/nss_nisplus/nisplus-proto.c: Likewise.
1501 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
1502 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
1503 * nis/nss_nisplus/nisplus-service.c: Likewise.
1504 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
1505 * nis/ypclnt.c: Likewise.
1506 * nptl/libc_pthread_init.c: Likewise.
1507 * nss/getXXbyYY.c: Likewise.
1508 * nss/getXXent.c: Likewise.
1509 * nss/getXXent_r.c: Likewise.
1510 * nss/nss_db/db-XXX.c: Likewise.
1511 * nss/nss_db/db-netgrp.c: Likewise.
1512 * nss/nss_db/nss_db.h: Likewise.
1513 * nss/nss_files/files-XXX.c: Likewise.
1514 * nss/nss_files/files-alias.c: Likewise.
1515 * nss/nsswitch.c: Likewise.
1516 * posix/regex_internal.h: Likewise.
1517 * posix/wordexp.c: Likewise.
1518 * pwd/fgetpwent.c: Likewise.
1519 * resolv/res_hconf.c: Likewise.
1520 * resolv/res_libc.c: Likewise.
1521 * shadow/fgetspent.c: Likewise.
1522 * shadow/lckpwdf.c: Likewise.
1523 * shadow/sgetspent.c: Likewise.
1524 * socket/opensock.c: Likewise.
1525 * stdio-common/reg-modifier.c: Likewise.
1526 * stdio-common/reg-printf.c: Likewise.
1527 * stdio-common/reg-type.c: Likewise.
1528 * stdio-common/vfprintf.c: Likewise.
1529 * stdio-common/vfscanf.c: Likewise.
1530 * stdlib/abort.c: Likewise.
1531 * stdlib/cxa_atexit.c: Likewise.
1532 * stdlib/fmtmsg.c: Likewise.
1533 * stdlib/random.c: Likewise.
1534 * stdlib/setenv.c: Likewise.
1535 * string/strsignal.c: Likewise.
1536 * sunrpc/auth_none.c: Likewise.
1537 * sunrpc/bindrsvprt.c: Likewise.
1538 * sunrpc/create_xid.c: Likewise.
1539 * sunrpc/key_call.c: Likewise.
1540 * sunrpc/rpc_thread.c: Likewise.
1541 * sysdeps/arm/backtrace.c: Likewise.
1542 * sysdeps/generic/ldsodefs.h: Likewise.
1543 * sysdeps/generic/stdio-lock.h: Likewise.
1544 * sysdeps/generic/unwind-dw2-fde.c: Likewise.
1545 * sysdeps/i386/backtrace.c: Likewise.
1546 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
1547 * sysdeps/m68k/backtrace.c: Likewise.
1548 * sysdeps/mach/hurd/cthreads.c: Likewise.
1549 * sysdeps/mach/hurd/dirstream.h: Likewise.
1550 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
1551 * sysdeps/nptl/malloc-machine.h: Likewise.
1552 * sysdeps/nptl/stdio-lock.h: Likewise.
1553 * sysdeps/posix/dirstream.h: Likewise.
1554 * sysdeps/posix/getaddrinfo.c: Likewise.
1555 * sysdeps/posix/system.c: Likewise.
1556 * sysdeps/pthread/aio_suspend.c: Likewise.
1557 * sysdeps/s390/s390-32/backtrace.c: Likewise.
1558 * sysdeps/s390/s390-64/backtrace.c: Likewise.
1559 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
1560 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
1561 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
1562 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
1563 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
1564 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
1565 * sysdeps/unix/sysv/linux/system.c: Likewise.
1566 * sysdeps/x86_64/backtrace.c: Likewise.
1567 * time/alt_digit.c: Likewise.
1568 * time/era.c: Likewise.
1569 * time/tzset.c: Likewise.
1570 * wcsmbs/wcsmbsload.c: Likewise.
1571 * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
1572 instead of <bits/libc-lock.h> in comment.
1573
1574 2015-09-08 Andrew Bennett <andrew.bennett@imgtec.com>
1575
1576 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
1577 Only use .set mips2 if the current ISA is below mips2.
1578 * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
1579 Likewise.
1580 * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
1581 mips32r2 if the current ISA is below mips32r2.
1582 * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
1583 (TLS_IE): Updated to use the TLD_RDHWR macro.
1584 (TLS_LE): Likewise.
1585 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
1586 __ASSEMBLER__ condition.
1587
1588 2015-09-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
1589
1590 Fix parallel build of before-compile targets.
1591
1592 * sysdeps/mach/Makefile ($(patsubst
1593 mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
1594 mach-before-compile target.
1595 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
1596 io fs process)): Move rule to dedicated hurd-before-compile target.
1597
1598 2015-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
1599
1600 Fix rules generating headers in hurd/ and mach/ when initial make call
1601 has subdir= explicitly set.
1602
1603 * sysdeps/mach/Makefile ($(patsubst
1604 mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
1605 calling $(MAKE).
1606 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
1607 io fs process)): Force subdir to hurd when calling $(MAKE).
1608 ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
1609 subdir to mach when calling $(MAKE).
1610
1611 2015-09-06 Manolis Ragkousis <manolis837@gmail.com>
1612
1613 Check sysheaders when looking for Mach and Hurd headers
1614
1615 * sysdeps/mach/configure.ac: Add sysheaders check.
1616 * sysdeps/mach/configure: Regenerate.
1617 * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
1618 * sysdeps/mach/hurd/configure: Regenerate.
1619
1620 2015-09-04 Roland McGrath <roland@hack.frob.com>
1621
1622 [BZ #18921]
1623 * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
1624 Fix inverted sense of test of 'o_directory_works' value.
1625 Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
1626 Bernhard Voelker <mail@bernhard-voelker.de>.
1627
1628 2015-09-04 Joseph Myers <joseph@codesourcery.com>
1629
1630 [BZ #14912]
1631 * bits/linkmap.h: Move to ...
1632 * sysdeps/generic/linkmap.h: ...here.
1633 * sysdeps/aarch64/bits/linkmap.h: Move to ...
1634 * sysdeps/aarch64/linkmap.h: ...here.
1635 * sysdeps/arm/bits/linkmap.h: Move to ...
1636 * sysdeps/arm/linkmap.h: ...here.
1637 * sysdeps/hppa/bits/linkmap.h: Move to ...
1638 * sysdeps/hppa/linkmap.h: ...here.
1639 * sysdeps/ia64/bits/linkmap.h: Move to ...
1640 * sysdeps/ia64/linkmap.h: ...here.
1641 * sysdeps/mips/bits/linkmap.h: Move to ...
1642 * sysdeps/mips/linkmap.h: ...here.
1643 * sysdeps/s390/bits/linkmap.h: Move to ...
1644 * sysdeps/s390/linkmap.h: ...here.
1645 * sysdeps/sh/bits/linkmap.h: Move to ...
1646 * sysdeps/sh/linkmap.h: ...here.
1647 * sysdeps/x86/bits/linkmap.h: Move to ...
1648 * sysdeps/x86/linkmap.h: ...here.
1649 * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
1650
1651 2015-09-04 Andreas Schwab <schwab@suse.de>
1652
1653 [BZ #18635]
1654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
1655 (__makecontext): Terminate FDE before return label.
1656 (__novec_makecontext): Likewise.
1657
1658 2015-09-04 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
1659
1660 * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
1661 first member of struct sv in syscall macro.
1662
1663 2015-09-04 Joseph Myers <joseph@codesourcery.com>
1664
1665 [BZ #14912]
1666 * bits/stdio-lock.h: Move to ...
1667 * sysdeps/generic/stdio-lock.h: ...here.
1668 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
1669 * sysdeps/nptl/bits/stdio-lock.h: Move to ...
1670 * sysdeps/nptl/stdio-lock.h: ...here.
1671 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
1672 * include/libio.h: Include <stdio-lock.h> instead of
1673 <bits/stdio-lock.h>.
1674 * sysdeps/nptl/fork.c: Likewise.
1675 * sysdeps/pthread/flockfile.c: Likewise.
1676 * sysdeps/pthread/ftrylockfile.c: Likewise.
1677 * sysdeps/pthread/funlockfile.c: Likewise.
1678
1679 [BZ #14912]
1680 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
1681 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
1682 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
1683 <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
1684 * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
1685 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
1686 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
1687
1688 2015-09-03 Roland McGrath <roland@hack.frob.com>
1689
1690 * elf/Makefile (test-xfail-tst-protected1a): New variable.
1691 (test-xfail-tst-protected1b): New variable.
1692
1693 2015-09-03 Joseph Myers <joseph@codesourcery.com>
1694
1695 [BZ #14912]
1696 * bits/libc-tsd.h: Move to ...
1697 * sysdeps/generic/libc-tsd.h: ...here.
1698 (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
1699 * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
1700 * sysdeps/mach/hurd/libc-tsd.h: ...here.
1701 (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
1702 * include/ctype.h: Include <libc-tsd.h> instead of
1703 <bits/libc-tsd.h>.
1704 * include/rpc/rpc.h: Likewise.
1705 * locale/localeinfo.h: Likewise.
1706 * sunrpc/rpc_thread.c: Likewise.
1707 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
1708 * sysdeps/nptl/malloc-machine.h: Likewise.
1709
1710 * Makefile (headers): Remove bits/libc-lock.h.
1711 * libio/Makefile (headers): Remove bits/stdio-lock.h.
1712
1713 * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
1714 <bits/stdio-lock.h> and commented-out include of <comthread.h>.
1715 * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
1716 <bits/stdio-lock.h>.
1717 * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
1718 * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
1719
1720 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
1721
1722 [BZ #18757]
1723 * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
1724 * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
1725 BZ #18757.
1726
1727 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
1728
1729 * malloc/mtrace.pl: Filter out NULL entries.
1730
1731 2015-09-01 Joseph Myers <joseph@codesourcery.com>
1732
1733 * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
1734 * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
1735 macro.
1736
1737 * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
1738 (TCP_CC_INFO): Likewise.
1739 (TCP_SAVE_SYN): Likewise.
1740 (TCP_SAVED_SYN): Likewise.
1741
1742 2015-08-31 Brett Neumeier <brett@neumeier.us>
1743
1744 [BZ #18870]
1745 * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
1746
1747 2015-08-31 Paul Eggert <eggert@cs.ucla.edu>
1748
1749 [BZ #18873]
1750 Fix broken overflow check in posix_fallocate
1751 * sysdeps/posix/posix_fallocate.c (posix_fallocate):
1752 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
1753 Fix parenthesization typo.
1754
1755 2015-08-28 Mike Frysinger <vapier@gentoo.org>
1756
1757 [BZ #18887]
1758 * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
1759 tst-mntent-blank-passno.
1760 * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
1761 * misc/tst-mntent-blank-corrupt.c: New test.
1762 * misc/tst-mntent-blank-passno.c: New test ripped from ...
1763 * misc/tst-mntent.c (do_test): ... here.
1764
1765 2015-08-29 Mike Frysinger <vapier@gentoo.org>
1766
1767 [BZ #4404]
1768 * po/de.po: Fix SIGALRM typo.
1769
1770 2015-08-28 James Perkins <james@loowit.net>
1771
1772 * time/tst-strptime2.c (tests): Replace short list of test
1773 strings for strptime %z specifier with code which exhaustively
1774 tests every combination of sign and 0 to 5 digits. Tests for
1775 rejection of invalid strings.
1776
1777 2015-08-28 James Perkins <james@loowit.net>
1778
1779 [BZ #16141]
1780 * time/strptime_l.c (__strptime_internal): Fix %z minutes
1781 calculation, removing incorrect decimal time rounding, so that
1782 all minute values result in a valid seconds value.
1783 * time/strptime_l.c (__strptime_internal): Extend %z time zone
1784 offset range limits to UTC-99:59 through UTC+99:59 to parse
1785 current and historical use cases.
1786 * time/tst-strptime2.c (tests): Modify and add tests for the
1787 strptime %z input field descriptor, specifically conversion of
1788 minutes to seconds and validating an offset range of -9959 to
1789 +9959.
1790
1791 2015-08-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1792 Dmitry V. Levin <ldv@altlinux.org>
1793
1794 [BZ #18877]
1795 * posix/Makefile (tests): Add tst-mmap-offset.
1796 * posix/tst-mmap.c: New file.
1797 * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
1798 offset calculation for negative values.
1799
1800 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
1801
1802 * sysdeps/i386/init-arch.h: New file.
1803 * sysdeps/i386/i586/init-arch.h: Likewise.
1804 * sysdeps/i386/i686/init-arch.h: Likewise.
1805 * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
1806 bit if CX8 is available. Set bit_I686 bit if CMOV is available.
1807 * sysdeps/x86/cpu-features.h (bit_I586): New.
1808 (bit_I686): Likewise.
1809 (bit_CX8): Likewise.
1810 (bit_CMOV): Likewise.
1811 (index_CX8): Likewise.
1812 (index_CMOV): Likewise.
1813 (index_I586): Likewise.
1814 (index_I686): Likewise.
1815 (reg_CX8): Likewise.
1816 (reg_CMOV): Likewise.
1817 (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
1818 available at compile-time.
1819 (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
1820 available at compile-time.
1821 * sysdeps/x86/init-arch.h (USE_I586): New macro.
1822 (USE_I686): Likewise.
1823
1824 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
1825
1826 * sysdeps/i386/bcopy.S: New file.
1827 * sysdeps/i386/bzero.S: Likewise.
1828 * sysdeps/i386/memcpy.S: Likewise.
1829 * sysdeps/i386/memmove.S: Likewise.
1830 * sysdeps/i386/mempcpy.S: Likewise.
1831 * sysdeps/i386/memset.S: Likewise.
1832 * sysdeps/i386/bzero.c: Removed.
1833 * sysdeps/i386/memset.c: Likewise.
1834 * sysdeps/i386/i586/memcpy_chk.S: Likewise.
1835 * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
1836 * sysdeps/i386/i586/memset_chk.S: Likewise.
1837 * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
1838 * sysdeps/i386/memcpy_chk.S: Here.
1839 * sysdeps/i386/i686/memmove_chk.S: Moved to ...
1840 * sysdeps/i386/memmove_chk.S: Here.
1841 * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
1842 * sysdeps/i386/mempcpy_chk.S: Likewise.
1843 * sysdeps/i386/i686/memset_chk.S: Moved to ...
1844 * sysdeps/i386/memset_chk.S: Likewise.
1845
1846 2015-08-27 Steve Ellcey <sellcey@imgtec.com>
1847
1848 * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
1849 Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
1850 file, move DIAG_POP_NEEDS_COMMENT to end of file.
1851 * soft-fp/fmadf4.c: Ditto.
1852 * soft-fp/fmatf4.c: Ditto.
1853
1854 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
1855
1856 * sysdeps/i386/i586/Implies: Removed.
1857 * sysdeps/i386/i686/Implies: Likewise.
1858
1859 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
1860
1861 * sysdeps/i386/i486/strlen.S: Moved to ...
1862 * sysdeps/i386/strlen.S: Here.
1863
1864 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
1865
1866 * sysdeps/i386/i486/strcat.S: Moved to ...
1867 * sysdeps/i386/strcat.S: Here.
1868
1869 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
1870
1871 * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
1872 * sysdeps/i386/pthread_spin_trylock.S: Here.
1873 * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
1874 * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
1875
1876 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
1877
1878 * sysdeps/i386/i486/string-inlines.c: Moved to ...
1879 * sysdeps/i386/string-inlines.c: Here.
1880
1881 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
1882
1883 * sysdeps/i386/i486/htonl.S: Moved ...
1884 * sysdeps/i386/htonl.S: here.
1885
1886 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
1887
1888 * sysdeps/i386/i486/bits/atomic.h: Moved to ...
1889 * sysdeps/i386/bits/atomic.h: Here.
1890
1891 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
1892
1893 * sysdeps/i386/i486/Versions: Removed.
1894
1895 2015-08-27 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
1896
1897 [BZ #2898]
1898 * misc/mktemp.c: Add mkdtemp to the link_warning message.
1899 Based on patch by Aurelien Jarno.
1900
1901 2015-08-26 Stan Shebs <stanshebs@google.com>
1902
1903 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
1904 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
1905
1906 2015-08-26 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
1907
1908 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
1909 * sysdeps/powerpc/dl-procinfo.c:
1910 (_dl_powerpc_cap_flags): Added descriptor for this hwcap
1911 feature so it shows when LD_SHOW_AUXV=1.
1912
1913 2015-08-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1914
1915 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
1916 (__arch_compare_and_exchange_val_32_acq): Remove and use common
1917 definition. ISA 2.07B no longer requires full sync.
1918
1919 2015-08-26 Mike Frysinger <vapier@gentoo.org>
1920
1921 [BZ #18863]
1922 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
1923 (si_call_addr): Define.
1924 (si_syscall): Define.
1925 (si_arch): Define.
1926
1927 2015-08-26 H.J. Lu <hongjiu.lu@intel.com>
1928
1929 * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
1930 * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
1931 * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
1932 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
1933 (__memset_zero_constant_len_parameter): New.
1934 * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
1935 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
1936 (__memset_zero_constant_len_parameter): Don't define if
1937 __memset_chk or USE_AS_BZERO are defined.
1938
1939 * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
1940 Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
1941 * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
1942
1943 * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
1944 tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
1945 * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
1946 tests-special, $(objpfx)tst-ld-sse-use.out): Here. Update
1947 comments.
1948 * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
1949 -mno-mmx for $(all-rtld-routines).
1950 * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
1951 * sysdeps/i386/tst-ld-sse-use.sh: Here. Replace x86-64 with
1952 i386.
1953
1954 2015-08-26 Stefan Liebler <stli@linux.vnet.ibm.com>
1955
1956 * sysdeps/generic/unwind.h
1957 (_Unwind_Word): Use __mode__(__unwind_word__)
1958 instead of __mode__(__word__).
1959 (_Unwind_Sword): Likewise.
1960
1961 * sysdeps/s390/s390-64/utf8-utf16-z9.c
1962 (MAX_NEEDED_INPUT): New define.
1963 (MAX_NEEDED_OUTPUT): New define.
1964
1965 * NEWS: New item for IBM z13 string optimizations.
1966
1967 * sysdeps/s390/multiarch/memrchr-c.c: New File.
1968 * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
1969 * sysdeps/s390/multiarch/memrchr.c: Likewise.
1970 * sysdeps/s390/multiarch/Makefile
1971 (sysdep_routines): Add memrchr functions.
1972 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
1973 (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
1974
1975 * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
1976 * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
1977 * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
1978 * sysdeps/s390/multiarch/Makefile
1979 (sysdep_routines): Add wmemcmp functions.
1980 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
1981 (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
1982 * benchtests/bench-wmemcmp.c: New File.
1983 * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
1984
1985 * sysdeps/s390/multiarch/wmemset-c.c: New File.
1986 * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
1987 * sysdeps/s390/multiarch/wmemset.c: Likewise.
1988 * sysdeps/s390/multiarch/Makefile
1989 (sysdep_routines): Add wmemset functions.
1990 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
1991 (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
1992 * wcsmbs/wmemset.c: Use WMEMSET if defined.
1993 * string/test-memset.c: Add wmemset support.
1994 * wcsmbs/test-wmemset.c: New File.
1995 * wcsmbs/Makefile (strop-tests): Add wmemset.
1996 * benchtests/bench-memset.c: Add wmemset support.
1997 * benchtests/bench-wmemset.c: New File.
1998 * benchtests/Makefile (wcsmbs-bench): Add wmemset.
1999
2000 * sysdeps/s390/multiarch/memccpy-c.c: New File.
2001 * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
2002 * sysdeps/s390/multiarch/memccpy.c: Likewise.
2003 * sysdeps/s390/multiarch/Makefile
2004 (sysdep_routines): Add memccpy functions.
2005 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
2006 (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
2007 * string/memccpy.c: Use MEMCCPY if defined.
2008
2009 * sysdeps/s390/multiarch/memchr-vx.S: New File.
2010 * sysdeps/s390/multiarch/memchr.c: Likewise.
2011 * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
2012 * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
2013 * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
2014 * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
2015 * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
2016 * sysdeps/s390/multiarch/wmemchr.c: Likewise.
2017 * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
2018 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
2019 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
2020 and rawmemchr functions.
2021 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
2022 (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
2023 and wmemchr.
2024 * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
2025 * string/test-memchr.c: Add wmemchr support.
2026 * wcsmbs/test-wmemchr.c: New File.
2027 * wcsmbs/Makefile (strop-tests): Add wmemchr.
2028 * benchtests/bench-memchr.c: Add wmemchr support.
2029 * benchtests/bench-wmemchr.c: New File.
2030 * benchtests/Makefile (wcsmbs-bench): wmemchr.
2031
2032 * sysdeps/s390/multiarch/strcspn-c.c: New File.
2033 * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
2034 * sysdeps/s390/multiarch/strcspn.c: Likewise.
2035 * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
2036 * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
2037 * sysdeps/s390/multiarch/wcscspn.c: Likewise.
2038 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
2039 wcscspn functions.
2040 * sysdeps/s390/multiarch/ifunc-impl-list.c
2041 (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
2042 * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
2043 * string/test-strcspn.c: Add wcscspn support.
2044 * wcsmbs/test-wcscspn.c: New File.
2045 * wcsmbs/Makefile (strop-tests): Add wcscspn.
2046 * benchtests/bench-strcspn.c: Add wcscspn support.
2047 * benchtests/bench-wcscspn.c: New File.
2048 * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
2049
2050 * sysdeps/s390/multiarch/strpbrk-c.c: New File.
2051 * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
2052 * sysdeps/s390/multiarch/strpbrk.c: Likewise.
2053 * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
2054 * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
2055 * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
2056 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
2057 wcspbrk functions.
2058 * sysdeps/s390/multiarch/ifunc-impl-list.c
2059 (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
2060 * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
2061 * string/test-strpbrk.c: Add wcspbrk support.
2062 * wcsmbs/test-wcspbrk.c: New File.
2063 * wcsmbs/Makefile (strop-tests): Add wcspbrk.
2064 * benchtests/bench-strpbrk.c: Add wcspbrk support.
2065 * benchtests/bench-wcspbrk.c: New File.
2066 * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
2067
2068 * sysdeps/s390/multiarch/strspn-c.c: New File.
2069 * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
2070 * sysdeps/s390/multiarch/strspn.c: Likewise.
2071 * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
2072 * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
2073 * sysdeps/s390/multiarch/wcsspn.c: Likewise.
2074 * wcsmbs/wcsspn.c: Use WCSSPN if defined.
2075 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
2076 wcsspn functions.
2077 * sysdeps/s390/multiarch/ifunc-impl-list.c
2078 (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
2079 * string/test-strspn.c: Add wcsspn support.
2080 * wcsmbs/test-wcsspn.c: New File.
2081 * wcsmbs/Makefile (strop-tests): Add wcsspn.
2082 * benchtests/bench-strspn.c: Add wcsspn support.
2083 * benchtests/bench-wcsspn.c: New File.
2084 * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
2085
2086 * sysdeps/s390/multiarch/strrchr-c.c: New File.
2087 * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
2088 * sysdeps/s390/multiarch/strrchr.c: Likewise.
2089 * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
2090 * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
2091 * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
2092 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
2093 wcsrchr functions.
2094 * sysdeps/s390/multiarch/ifunc-impl-list.c
2095 (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
2096 * benchtests/bench-wcsrchr.c: New File.
2097 * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
2098
2099 * sysdeps/s390/multiarch/strchrnul-c.c: New File.
2100 * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
2101 * sysdeps/s390/multiarch/strchrnul.c: Likewise.
2102 * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
2103 * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
2104 * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
2105 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
2106 wcschrnul functions.
2107 * sysdeps/s390/multiarch/ifunc-impl-list.c
2108 (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
2109 * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
2110 * string/test-strchr.c: Add wcschrnul support.
2111 * wcsmbs/test-wcschrnul.c: New File.
2112 * wcsmbs/Makefile (strop-tests): Add wcschrnul.
2113 * benchtests/bench-strchr.c: Add wcschrnul support.
2114 * benchtests/bench-wcschrnul.c: New File.
2115 * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
2116
2117 * sysdeps/s390/multiarch/strchr-c.c: New File.
2118 * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
2119 * sysdeps/s390/multiarch/strchr.c: Likewise.
2120 * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
2121 * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
2122 * sysdeps/s390/multiarch/wcschr.c: Likewise.
2123 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
2124 wcschr functions.
2125 * sysdeps/s390/multiarch/ifunc-impl-list.c
2126 (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
2127 * string/strchr.c (STRCHR): Define and use macro.
2128 * benchtests/bench-wcschr.c: New File.
2129 * benchtests/Makefile (wcsmbs-bench): Add wcschr.
2130
2131 * sysdeps/s390/multiarch/strncmp-c.c: New File.
2132 * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
2133 * sysdeps/s390/multiarch/strncmp.c: Likewise.
2134 * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
2135 * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
2136 * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
2137 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
2138 wcsncmp functions.
2139 * sysdeps/s390/multiarch/ifunc-impl-list.c
2140 (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
2141 * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
2142 * benchtests/bench-strncmp.c: Add wcsncmp support.
2143 * benchtests/bench-wcsncmp.c: New File.
2144 * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
2145
2146 * sysdeps/s390/multiarch/strcmp-vx.S: New File.
2147 * sysdeps/s390/multiarch/strcmp.c: Likewise.
2148 * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
2149 * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
2150 * sysdeps/s390/multiarch/wcscmp.c: Likewise.
2151 * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
2152 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
2153 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
2154 wcscmp functions.
2155 * sysdeps/s390/multiarch/ifunc-impl-list.c
2156 (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
2157 * string/strcmp.c (STRCMP): Define and use macro.
2158 * benchtests/bench-wcscmp.c: New File.
2159 * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
2160 * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
2161 instead of _HAVE_STRING_ARCH_memchr.
2162
2163 * sysdeps/s390/multiarch/strncat-c.c: New File.
2164 * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
2165 * sysdeps/s390/multiarch/strncat.c: Likewise.
2166 * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
2167 * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
2168 * sysdeps/s390/multiarch/wcsncat.c: Likewise.
2169 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
2170 wcsncat functions.
2171 * sysdeps/s390/multiarch/ifunc-impl-list.c
2172 (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
2173 * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
2174 * string/test-strncat.c: Add wcsncat support.
2175 * wcsmbs/test-wcsncat.c: New File.
2176 * wcsmbs/Makefile (strop-tests): Add wcsncat.
2177 * benchtests/bench-strncat.c: Add wcsncat support.
2178 * benchtests/bench-wcsncat.c: New File.
2179 * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
2180
2181 * sysdeps/s390/multiarch/strcat-c.c: New File.
2182 * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
2183 * sysdeps/s390/multiarch/strcat.c: Likewise.
2184 * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
2185 * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
2186 * sysdeps/s390/multiarch/wcscat.c: Likewise.
2187 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
2188 wcscat functions.
2189 * sysdeps/s390/multiarch/ifunc-impl-list.c
2190 (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
2191 * string/strcat.c (STRCAT): Define and use macro.
2192 * wcsmbs/wcscat.c: Use WCSCAT if defined.
2193 * string/test-strcat.c: Add wcscat support.
2194 * wcsmbs/test-wcscat.c: New File.
2195 * wcsmbs/Makefile (strop-tests): Add wcscat.
2196 * benchtests/bench-strcat.c: Add wcscat support.
2197 * benchtests/bench-wcscat.c: New File.
2198 * benchtests/Makefile (wcsmbs-bench): Add wcscat.
2199
2200 * sysdeps/s390/multiarch/stpncpy-c.c: New File.
2201 * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
2202 * sysdeps/s390/multiarch/stpncpy.c: Likewise.
2203 * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
2204 * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
2205 * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
2206 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
2207 wcpncpy functions.
2208 * sysdeps/s390/multiarch/ifunc-impl-list.c
2209 (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
2210 * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
2211 * string/test-stpncpy.c: Add wcpncpy support.
2212 * wcsmbs/test-wcpncpy.c: New File.
2213 * wcsmbs/Makefile (strop-tests): Add wcpncpy.
2214 * benchtests/bench-stpncpy.c: Add wcpncpy support.
2215 * benchtests/bench-wcpncpy.c: New File.
2216 * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
2217
2218 * sysdeps/s390/multiarch/strncpy-vx.S: New File.
2219 * sysdeps/s390/multiarch/strncpy.c: Likewise.
2220 * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
2221 * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
2222 * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
2223 * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
2224 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
2225 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
2226 wcsncpy functions.
2227 * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
2228 * sysdeps/s390/multiarch/ifunc-impl-list.c
2229 (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
2230 * string/test-strncpy.c: Add wcsncpy support.
2231 * wcsmbs/test-wcsncpy.c: New File.
2232 * wcsmbs/Makefile (strop-tests): Add wcsncpy.
2233 * benchtests/bench-strncpy.c: Add wcsncpy support.
2234 * benchtests/bench-wcsncpy.c: New File.
2235 * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
2236
2237 * sysdeps/s390/multiarch/stpcpy-c.c: New File.
2238 * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
2239 * sysdeps/s390/multiarch/stpcpy.c: Likewise.
2240 * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
2241 * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
2242 * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
2243 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
2244 wcpcpy functions.
2245 * string/stpcpy.c: Use STPCPY if defined.
2246 * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
2247 * sysdeps/s390/multiarch/ifunc-impl-list.c
2248 (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
2249 * string/test-stpcpy.c: Add wcpcpy support.
2250 * wcsmbs/test-wcpcpy.c: New File.
2251 * wcsmbs/Makefile (strop-tests): Add wcpcpy.
2252 * benchtests/bench-stpcpy.c: Add wcpcpy support.
2253 * benchtests/bench-wcpcpy.c: New File.
2254 * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
2255
2256 * sysdeps/s390/multiarch/strcpy-vx.S: New File.
2257 * sysdeps/s390/multiarch/strcpy.c: Likewise.
2258 * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
2259 * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
2260 * sysdeps/s390/multiarch/wcscpy.c: Likewise.
2261 * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
2262 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
2263 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
2264 wcscpy functions.
2265 * sysdeps/s390/multiarch/ifunc-impl-list.c
2266 (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
2267 * benchtests/bench-wcscpy.c: New File.
2268 * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
2269
2270 * sysdeps/s390/multiarch/strnlen-c.c: New File.
2271 * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
2272 * sysdeps/s390/multiarch/strnlen.c: Likewise.
2273 * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
2274 * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
2275 * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
2276 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
2277 wcsnlen functions.
2278 * sysdeps/s390/multiarch/ifunc-impl-list.c
2279 (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
2280 * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
2281 * string/test-strnlen.c: Add wcsnlen support.
2282 * wcsmbs/test-wcsnlen.c: New File.
2283 * wcsmbs/Makefile (strop-tests): Add wcsnlen.
2284 * benchtests/bench-strnlen.c: Add wcsnlen support.
2285 * benchtests/bench-wcsnlen.c: New File.
2286 * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
2287
2288 * sysdeps/s390/multiarch/Makefile: New File.
2289 * sysdeps/s390/multiarch/strlen-c.c: Likewise.
2290 * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
2291 * sysdeps/s390/multiarch/strlen.c: Likewise.
2292 * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
2293 * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
2294 * sysdeps/s390/multiarch/wcslen.c: Likewise.
2295 * string/strlen.c (STRLEN): Define and use macro.
2296 * sysdeps/s390/multiarch/ifunc-impl-list.c
2297 (IFUNC_VX_IMPL): New macro function.
2298 (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
2299 * benchtests/Makefile (wcsmbs-bench): New variable.
2300 (string-bench-all): Added wcsmbs-bench.
2301 * benchtests/bench-wcslen.c: New File.
2302
2303 * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
2304 s390_vx_libc_ifunc2): New macro function.
2305
2306 * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
2307 * sysdeps/s390/configure.ac: Add test for S390 vector instruction
2308 assembler support.
2309 * sysdeps/s390/configure: Regenerated.
2310
2311 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
2312 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
2313
2314 * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
2315 * sysdeps/s390/dl-procinfo.h: Add vector capability.
2316 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
2317
2318 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
2319 Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
2320 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
2321 * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
2322 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
2323 (memcmp, bcmp): Use __memcmp_default as alias source.
2324 * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
2325 * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
2326 Rename to __memcmp_default.
2327 * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
2328 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
2329 (memcpy): Use __memcpy_default as alias source.
2330 * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
2331 * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
2332 Rename to __memcpy_default.
2333 * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
2334 * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
2335 (memset): Use __memset_default as alias source.
2336 * sysdeps/s390/s390-32/multiarch/memset.c: New File.
2337 * sysdeps/s390/s390-32/memset.S (__memset_g5):
2338 Rename to __memset_default.
2339 * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
2340 Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
2341 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
2342 * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
2343 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
2344 (memcmp, bcmp): Use __memcmp_default as alias source.
2345 * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
2346 * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
2347 Rename to __memcmp_default.
2348 * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
2349 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
2350 (memcpy): Use __memcpy_default as alias source.
2351 * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
2352 * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
2353 Rename to __memcpy_default.
2354 * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
2355 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
2356 (memset): Use __memset_default as alias source.
2357 * sysdeps/s390/s390-64/multiarch/memset.c: New File.
2358 * sysdeps/s390/s390-64/memset.S (__memset_z900):
2359 Rename to __memset_default.
2360 * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
2361 * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
2362
2363 [BZ #18610]
2364 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
2365 __ieee_instruction_pointer to __unused.
2366 * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
2367 __ieee_instruction_pointer.
2368 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
2369 * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
2370 * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
2371 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
2372 * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
2373 Mark dxc-field as reserved.
2374
2375 2015-08-25 Roland McGrath <roland@hack.frob.com>
2376
2377 * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
2378 if the weak reference is not null.
2379
2380 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
2381
2382 * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
2383
2384 [BZ #11214]
2385 * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
2386
2387 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2388
2389 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
2390 * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
2391 * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
2392 * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
2393 * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
2394 * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
2395 * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
2396 * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
2397 * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
2398 * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
2399 * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
2400 * sysdeps/unix/sysv/linux/send.c: Call direct system call.
2401 * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
2402 * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
2403 * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
2404 * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
2405 * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
2406 * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
2407
2408 2015-08-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2409
2410 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
2411 register other than r0 for tabort, it has special meaning.
2412 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise
2413 * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
2414 transaction before starting syscall.
2415
2416 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2417
2418 * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
2419
2420 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
2421
2422 * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
2423
2424 * sysdeps/x86_64/rtld-memcmp.c: Removed.
2425 * sysdeps/x86_64/rtld-memset.S: Likewise.
2426 * sysdeps/x86_64/rtld-strchr.S: Likewise.
2427 * sysdeps/x86_64/rtld-strlen.S: Likewise.
2428 * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
2429 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
2430
2431 * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
2432
2433 2015-08-25 Ondřej Bílka <neleai@seznam.cz>
2434
2435 * debug/strcpy_chk.c: Improve performance.
2436 * debug/stpcpy_chk.c: Likewise.
2437 * sysdeps/x86_64/strcpy_chk.S: Remove.
2438 * sysdeps/x86_64/stpcpy_chk.S: Remove.
2439
2440 [BZ #18240]
2441 * misc/hsearch_r.c (__hcreate_r): Handle overflow.
2442
2443 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
2444
2445 [BZ #15128]
2446 * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
2447 ifuncmain8.
2448 (modules-names): Add ifuncmod8.
2449 ($(objpfx)ifuncmain8): New rule.
2450 * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
2451 <cpuid.h>.
2452 (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
2453 _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
2454 _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
2455 _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
2456 * sysdeps/x86_64/dl-trampoline.S: Rewrite.
2457 * sysdeps/x86_64/dl-trampoline.h: Likewise.
2458 * sysdeps/x86_64/ifuncmain8.c: New file.
2459 * sysdeps/x86_64/ifuncmod8.c: Likewise.
2460 * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
2461 Removed.
2462 * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
2463 (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
2464 Change rtld_savespace_sse to __glibc_unused2.
2465 (RTLD_CHECK_FOREIGN_CALL): Removed.
2466 (RTLD_ENABLE_FOREIGN_CALL): Likewise.
2467 (RTLD_PREPARE_FOREIGN_CALL): Likewise.
2468 (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
2469
2470 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
2471
2472 * sysdeps/aarch64/bzero.S (__bzero): Remove.
2473
2474 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
2475
2476 * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
2477 Unconditionally set __fpcr to avoid uninialized warning.
2478 (libc_feholdsetround_noex_aarch64_ctx): Likewise.
2479
2480 2015-08-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2481
2482 * malloc/arena.c (arena_get_retry): Don't use main_arena if it
2483 is corrupt.
2484
2485 * malloc/arena.c (arena_get2): Drop unused argument.
2486 (arena_lock): Adjust.
2487 (arena_get_retry): Likewise.
2488
2489 2015-08-24 Andreas Schwab <schwab@suse.de>
2490
2491 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
2492 Don't define.
2493 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
2494 (__ASSUME_IPC64): Don't undef.
2495 * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
2496 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
2497 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
2498 * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
2499 * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
2500 * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
2501 * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
2502 * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
2503 * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
2504 * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
2505 * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
2506 * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
2507 * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
2508 * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
2509 * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
2510 * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
2511 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
2512 * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
2513 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
2514 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
2515 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
2516
2517 2015-08-21 Mike Frysinger <vapier@gentoo.org>
2518
2519 * manual/Makefile (install): Only build manual when perl is available.
2520
2521 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
2522
2523 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
2524 '#undef memcpy' by '#undef memchr'.
2525
2526 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
2527
2528 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
2529 memchr not point to the internal __GI_memchr implementation.
2530
2531 2015-08-20 Joseph Myers <joseph@codesourcery.com>
2532
2533 * timezone/Makefile (CFLAGS-zdump.c): Remove
2534 -Wno-strict-prototypes.
2535 (CFLAGS-zic.c): Likewise.
2536 (CFLAGS-ialloc.c): Likewise.
2537 (CFLAGS-scheck.c): Likewise.
2538
2539 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
2540 -Wno-error=undef.
2541
2542 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
2543
2544 * i386/i686/multiarch/strcasestr-c.c: Removed.
2545 * x86_64/multiarch/strcasestr.c: Likewise.
2546 * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2547 Remove strcasestr.
2548
2549 2015-08-20 Joseph Myers <joseph@codesourcery.com>
2550
2551 * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
2552
2553 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
2554 variables for high and low parts before possibly modifying them.
2555
2556 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
2557
2558 * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
2559 * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
2560 * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
2561 of "multiarch/init-arch.h".
2562 * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
2563 * sysdeps/x86/init-arch.h: This.
2564
2565 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
2566
2567 * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
2568 * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
2569
2570 2015-08-20 Ondřej Bílka <neleai@seznam.cz>
2571
2572 [BZ #17787]
2573 * manual/macros.texi: Add twoexp macro.
2574 * manual/filesys.texi: Fix exponents.
2575 * manual/llio.texi: Likewise.
2576 * manual/stdio.texi: Likewise.
2577
2578 2015-08-20 Florian Weimer <fweimer@redhat.com>
2579
2580 * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
2581 incorrect use.
2582
2583 2015-08-19 Joseph Myers <joseph@codesourcery.com>
2584
2585 [BZ #18370]
2586 * math/s_csqrt.c (__csqrt): Force underflow exception for results
2587 whose real or imaginary part has small absolute value.
2588 * math/s_csqrtf.c (__csqrtf): Likewise.
2589 * math/s_csqrtl.c (__csqrtl): Likewise.
2590 * math/auto-libm-test-in: Add more tests of csqrt.
2591 * math/auto-libm-test-out: Regenerated.
2592 * sysdeps/i386/fpu/libm-test-ulps: Update.
2593
2594 2015-08-19 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2595
2596 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
2597 __ppc_set_ppr_very_low): New functions.
2598 * manual/platform.texi: Add documentation about
2599 __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
2600
2601 2015-08-19 Wilco Dijkstra <wdijkstr@arm.com>
2602
2603 * string/stpncpy.c (stpncpy): Improve performance using
2604 __strnlen/memcpy/memset.
2605
2606 2015-08-19 Andrew Senkevich <andrew.senkevich@intel.com>
2607
2608 [BZ #18796]
2609 * scripts/test-installation.pl: Don't add -lmvec to build options if
2610 libmvec wasn't built.
2611
2612 2015-08-19 Petar Jovanovic <petar.jovanovic@rt-rk.com>
2613
2614 [BZ #14341]
2615 * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
2616 case when there is a gap between DT_REL and DT_JMPREL sections.
2617 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
2618 (LDFLAGS-tst-split-dynreloc): New.
2619 (tst-split-dynreloc-ENV): Likewise.
2620 * sysdeps/x86_64/tst-split-dynreloc.c: New file.
2621 * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
2622
2623 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
2624
2625 [BZ #18822]
2626 * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
2627 attribute_hidden.
2628 (__xstat64_conv): Likewise.
2629 (__xstat32_conv): Likewise.
2630
2631 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
2632
2633 [BZ #18822]
2634 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
2635 Don't load %ebx when calling __setcontext. Call __setcontext
2636 with HIDDEN_JUMPTARGET.
2637 * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
2638 libc_hidden_def.
2639
2640 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
2641
2642 * sysdeps/i386/i686/Makefile
2643 [$(subdir) == string] (sysdep_routines): Moved to ...
2644 * sysdeps/i386/Makefile: Here.
2645 * sysdeps/i386/i686/cacheinfo.c: Moved to ...
2646 * sysdeps/i386/cacheinfo.c: Here.
2647 * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
2648 * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
2649 * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
2650 * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
2651
2652 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
2653
2654 * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
2655 __i586__ is defined.
2656 (HAS_I686): Defined to 1 if __i686__ is defined.
2657
2658 2015-08-19 Joseph Myers <joseph@codesourcery.com>
2659
2660 * elf/Makefile [$(have-z-execstack) = yes]
2661 (CPPFLAGS-tst-execstack.c): New variable.
2662
2663 * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
2664 conditional to [defined UTMPX || _HAVE_UT_TYPE].
2665 [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
2666 UTMPX || _HAVE_UT_TV].
2667 [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
2668 UTMPX || _HAVE_UT_TV - 0].
2669
2670 2015-08-18 Joseph Myers <joseph@codesourcery.com>
2671
2672 * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
2673 conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
2674 * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
2675
2676 2015-08-18 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
2677
2678 * sysdeps/powerpc/dl-procinfo.c:
2679 (_dl_powerpc_cap_flags): Added missing strings for some
2680 hwcap features.
2681 * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
2682
2683 2015-08-18 Paul Eggert <eggert@cs.ucla.edu>
2684
2685 Port the 0x7efe...feff pattern to GCC 6.
2686 See Steve Ellcey's bug report in:
2687 https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
2688 * string/memrchr.c (MEMRCHR):
2689 * string/rawmemchr.c (RAWMEMCHR):
2690 * string/strchr.c (strchr):
2691 * string/strchrnul.c (STRCHRNUL):
2692 Rewrite code to avoid issues with signed shift overflow.
2693
2694 2015-08-18 H.J. Lu <hongjiu.lu@intel.com>
2695
2696 * sysdeps/x86/cpu-features.c (init_cpu_features): Check
2697 whether cpuid is available only if HAS_CPUID is 0.
2698 * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
2699 (HAS_I586): Likewise.
2700 (HAS_I686): Likewise.
2701
2702 2015-08-18 Zack Weinberg <zackw@panix.com>
2703
2704 * misc/Versions (libc): Add GLIBC_2.23.
2705
2706 2015-08-18 Alan Modra <amodra@gmail.com>
2707
2708 [BZ #18421]
2709 * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
2710 .Lp__global.
2711 (_start): Load %dp via .Lp__global.
2712 [!SHARED]: Use .section .rodata.
2713
2714 2015-08-18 Mike Frysinger <vapier@gentoo.org>
2715
2716 * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
2717 * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
2718
2719 2015-08-18 Mike Frysinger <vapier@gentoo.org>
2720
2721 * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
2722 * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
2723
2724 2015-08-18 Mike Frysinger <vapier@gentoo.org>
2725
2726 * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
2727 * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
2728
2729 2015-08-18 Mike Frysinger <vapier@gentoo.org>
2730
2731 * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
2732 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
2733
2734 2015-08-18 Mike Frysinger <vapier@gentoo.org>
2735
2736 * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
2737 * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
2738
2739 2015-08-18 Mike Frysinger <vapier@gentoo.org>
2740
2741 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
2742 SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
2743
2744 2015-08-18 Mike Frysinger <vapier@gentoo.org>
2745
2746 * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
2747
2748 2015-08-18 Mike Frysinger <vapier@gentoo.org>
2749
2750 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
2751 kernel-features.h include. Delete __ASSUME_LWS_CAS checks.
2752 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2753 (__ASSUME_LWS_CAS): Delete.
2754
2755 2015-08-18 Mike Frysinger <vapier@gentoo.org>
2756
2757 * sysdeps/hppa/configure.ac: Delete binutils tls checks.
2758 * sysdeps/hppa/configure: Regenerated.
2759 * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
2760 * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
2761 * sysdeps/hppa/nptl/tls.h: Likewise.
2762
2763 2015-08-17 Joseph Myers <joseph@codesourcery.com>
2764
2765 [BZ #18823]
2766 * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
2767 for scaling up small arguments.
2768 * math/s_csqrtf.c (__csqrtf): Likewise.
2769 * math/s_csqrtl.c (__csqrtl): Likewise.
2770 * math/auto-libm-test-in: Add more tests of csqrt.
2771 * math/auto-libm-test-out: Regenerated.
2772
2773 2015-08-17 Andreas Schwab <schwab@suse.de>
2774
2775 * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
2776 version set GLIBC_2.19.
2777
2778 2015-08-16 Zack Weinberg <zackw@panix.com>
2779
2780 [BZ #18681]
2781 * misc/regexp.h: This interface is no longer supported.
2782 Remove all contents, leaving only an #error directive.
2783 * misc/regexp.c (loc1, loc2, locs, step, advance):
2784 Demote to compatibility symbols.
2785
2786 2015-08-15 Paul Pluzhnikov <ppluzhnikov@google.com>
2787
2788 [BZ #18084]
2789 * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
2790 * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
2791 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
2792 * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
2793 * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
2794 * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
2795 * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
2796 * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
2797 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
2798
2799 2015-08-15 Zack Weinberg <zackw@panix.com>
2800
2801 [BZ #18795]
2802 * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
2803 buffer length is known to be too large, not if it's known to be
2804 small enough.
2805 * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
2806 overflow at runtime, involving a length parameter, twice: once
2807 with a compile-time constant length parameter, once without.
2808
2809 2015-08-14 Joseph Myers <joseph@codesourcery.com>
2810
2811 [BZ #18824]
2812 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
2813 scaling x * y up instead of down.
2814 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2815 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2816 * math/auto-libm-test-in: Add more tests of fma.
2817 * math/auto-libm-test-out: Regenerated.
2818
2819 2015-08-14 Paul Pluzhnikov <ppluzhnikov@google.com>
2820
2821 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2822
2823 2015-08-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2824
2825 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
2826 unnecessary movq.
2827 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
2828 Likewise.
2829
2830 2015-08-13 Joseph Myers <joseph@codesourcery.com>
2831
2832 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
2833 asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
2834 exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
2835 and tgamma.
2836 * math/auto-libm-test-out: Regenerated.
2837 * sysdeps/i386/fpu/libm-test-ulps: Update.
2838 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2839
2840 [BZ #16520]
2841 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
2842 (__tanh): Force underflow exception for arguments with small
2843 absolute value.
2844 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
2845 (__tanhf): Force underflow exception for arguments with small
2846 absolute value.
2847 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
2848 (__tanhl): Force underflow exception for arguments with small
2849 absolute value.
2850 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
2851 (__tanhl): Force underflow exception for arguments with small
2852 absolute value.
2853 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
2854 (__tanhl): Force underflow exception for arguments with small
2855 absolute value.
2856 * math/auto-libm-test-in: Add more tests of tanh.
2857 * math/auto-libm-test-out: Regenerated.
2858 * sysdeps/i386/fpu/libm-test-ulps: Update.
2859
2860 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
2861
2862 * sysdeps/x86/cpu-features.c (init_cpu_features): Call
2863 __get_cpuid_max if not compiling for i586, i686 nor x86-64.
2864
2865 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
2866
2867 * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
2868 <cpuid.h>.
2869
2870 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
2871
2872 * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
2873 Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
2874
2875 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
2876
2877 * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
2878 Remove $(objpfx)init-arch.o.
2879 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
2880 init-arch.
2881 * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
2882 (INIT_ARCH_EXT): Defined as empty.
2883 (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
2884 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
2885 __init_cpu_features call. Replace HAS_XXX with
2886 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
2887 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
2888 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
2889 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
2890 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
2891 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
2892 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
2893 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
2894 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
2895 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
2896 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
2897 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
2898 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
2899 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
2900 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
2901 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
2902 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
2903 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
2904 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
2905 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
2906 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
2907 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
2908 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
2909 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
2910 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
2911 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
2912 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
2913 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
2914 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
2915 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
2916 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
2917 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
2918 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
2919 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
2920 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
2921 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
2922
2923 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
2924
2925 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
2926 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
2927 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
2928 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
2929 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
2930 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
2931 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
2932 * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
2933 * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
2934 * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
2935 call. Merge SHARED and !SHARED. Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
2936 Use LOAD_FUNC_GOT_EAX to load function address. Replace HAS_XXX
2937 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
2938 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
2939 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
2940 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
2941 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2942 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2943 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2944 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2945 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2946 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2947 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
2948 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
2949 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
2950 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
2951 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
2952 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
2953 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
2954 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
2955 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
2956 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
2957 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
2958 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2959 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
2960 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
2961 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
2962 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
2963 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
2964 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
2965 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
2966 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
2967 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
2968
2969 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
2970
2971 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
2972 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
2973 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
2974 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
2975 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
2976 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
2977 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
2978 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
2979 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
2980 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
2981 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
2982 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
2983 LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
2984 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
2985 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
2986 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
2987 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
2988 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
2989 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
2990 * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
2991 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
2992 * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
2993 * sysdeps/x86_64/multiarch/strstr.c: Likewise.
2994 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
2995 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
2996 * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
2997 * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
2998 call. Add LOAD_RTLD_GLOBAL_RO_RDX. Replace HAS_XXX with
2999 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
3000 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
3001 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3002 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3003 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3004 * sysdeps/x86_64/multiarch/memset.S: Likewise.
3005 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3006 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
3007 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
3008 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3009 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
3010 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
3011 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3012 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
3013 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
3014
3015 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
3016
3017 * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
3018 (dl_platform_init): Call init_cpu_features.
3019 * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
3020 * sysdeps/i386/i686/cacheinfo.c
3021 (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
3022 * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
3023 * sysdeps/i386/i686/multiarch/Versions: Removed.
3024 * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
3025 Removed.
3026 * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
3027 * sysdeps/unix/sysv/linux/x86/Makefile
3028 (libpthread-sysdep_routines): Remove init-arch.
3029 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
3030 <sysdeps/x86_64/dl-procinfo.c> instead of
3031 sysdeps/generic/dl-procinfo.c>.
3032 * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
3033 Add cpu-features-offsets.sym and rtld-global-offsets.sym.
3034 [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
3035 [$(subdir) == elf] (tests): Add tst-get-cpu-features.
3036 [$(subdir) == elf] (tests-static): Add
3037 tst-get-cpu-features-static.
3038 * sysdeps/x86/Versions: New file.
3039 * sysdeps/x86/cpu-features-offsets.sym: Likewise.
3040 * sysdeps/x86/cpu-features.c: Likewise.
3041 * sysdeps/x86/cpu-features.h: Likewise.
3042 * sysdeps/x86/dl-get-cpu-features.c: Likewise.
3043 * sysdeps/x86/libc-start.c: Likewise.
3044 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
3045 * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
3046 * sysdeps/x86/tst-get-cpu-features.c: Likewise.
3047 * sysdeps/x86_64/dl-procinfo.c: Likewise.
3048 * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
3049 Assume USE_MULTIARCH is defined and don't check it.
3050 (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
3051 (is_amd): Likewise.
3052 (max_cpuid): Likewise.
3053 (intel_check_word): Likewise.
3054 (__cache_sysconf): Don't call __init_cpu_features.
3055 (__x86_preferred_memory_instruction): Removed.
3056 (init_cacheinfo): Don't call __init_cpu_features. Replace
3057 __cpu_features with GLRO(dl_x86_cpu_features).
3058 * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
3059 (dl_platform_init): Call init_cpu_features.
3060 * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
3061 * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
3062 * sysdeps/x86_64/multiarch/Versions: Removed.
3063 * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
3064 * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
3065 * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
3066 Removed.
3067 * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
3068
3069 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
3070
3071 [BZ #18820]
3072 * libio/Makefile (test-fmemopen-mem): New test.
3073 * libio/test-fmemopen.c (do_bz18820): New test.
3074 * libio/fmemopen.c (__fmemopen): Fix memory leak.
3075 * libio/oldfmemopen.c (__old_fmemopen): Likewise.
3076
3077 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
3078
3079 [BZ #16734]
3080 * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
3081 (FREE_BUF): Delete.
3082 * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
3083 * libio/genops.c (_IO_setb): Use malloc and free directly.
3084 (_IO_default_doallocate, _IO_default_finish): Likewise.
3085 ( _IO_unbuffer_all): Likewise.
3086 ( libc_freeres_fn): Likewise.
3087 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
3088 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
3089 * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
3090 (_IO_wdefault_doallocate): Likewise.
3091
3092 2015-08-11 Paul Pluzhnikov <ppluzhnikov@google.com>
3093
3094 [BZ #18086]
3095 * sysdeps/posix/nice.c (nice): Restore old errno.
3096 * posix/tst-nice.c (do_test): Add test for BZ #18086.
3097
3098 2015-08-10 Ondrej Bilka <neleai@seznam.cz>
3099
3100 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
3101
3102 2015-08-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3103
3104 * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
3105 __bcopy and add a weak_alias to bcopy.
3106 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
3107 for static build.
3108
3109 * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
3110 cleanup macro usage.
3111 * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
3112 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
3113 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
3114 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
3115 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
3116 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
3117 * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
3118 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
3119 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
3120 * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
3121 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
3122 [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
3123 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
3124 [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
3125 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
3126 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
3127 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
3128 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
3129 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
3130
3131 * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
3132 libc_hidden_def.
3133 (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
3134
3135 * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
3136 (sysdep_routines): Add strstr-ppc64.
3137 * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
3138
3139 2015-08-10 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
3140
3141 [BZ #18778]
3142 * elf/Makefile (tests): Add Add tst-nodelete2.
3143 (modules-names): Add tst-nodelete2mod.
3144 (tst-nodelete2mod.so-no-z-defs): New.
3145 ($(objpfx)tst-nodelete2): Likewise.
3146 ($(objpfx)tst-nodelete2.out): Likewise.
3147 (LDFLAGS-tst-nodelete2): Likewise.
3148 * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
3149 out of loop through all loaded libraries.
3150 * elf/tst-nodelete2.c: New file.
3151 * elf/tst-nodelete2mod.c: Likewise.
3152 * elf/tst-znodelete-zlib.cc: Delete.
3153
3154 2015-08-11 Andreas Schwab <schwab@suse.de>
3155
3156 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
3157 * sysdeps/unix/sysv/linux/wordsize-64/openat.c
3158 (__openat64_nocancel): Likewise.
3159
3160 2015-08-11 Joseph Myers <joseph@codesourcery.com>
3161
3162 * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
3163 atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
3164 expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
3165 * math/auto-libm-test-out: Regenerated.
3166 * sysdeps/i386/fpu/libm-test-ulps: Update.
3167 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3168
3169 2015-08-10 Joseph Myers <joseph@codesourcery.com>
3170
3171 [BZ #18790]
3172 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
3173 threshold for returning +/- 1.
3174 * math/auto-libm-test-in: Add more tests of tanh.
3175 * math/auto-libm-test-out: Regenerated.
3176 * sysdeps/i386/fpu/libm-test-ulps: Update.
3177
3178 2015-08-10 Andreas Schwab <schwab@suse.de>
3179
3180 [BZ #18781]
3181 * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
3182 MORE_OFLAGS to oflag.
3183 * io/test-lfs.c (do_test): Test openat64.
3184
3185 2015-08-10 Joseph Myers <joseph@codesourcery.com>
3186
3187 [BZ #18789]
3188 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
3189 smaller threshold for returning the argument.
3190 * math/auto-libm-test-in: Add more tests of sinh.
3191 * math/auto-libm-test-out: Regenerated.
3192 * sysdeps/i386/fpu/libm-test-ulps: Update.
3193
3194 2015-08-09 H.J. Lu <hongjiu.lu@intel.com>
3195
3196 [BZ #18674]
3197 * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
3198 break.
3199
3200 2015-08-09 Andreas Schwab <schwab@linux-m68k.org>
3201
3202 * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
3203 (generated): Don't add $(addprefix z.,$(tzfiles)).
3204
3205 2015-08-09 Mike Frysinger <vapier@gentoo.org>
3206
3207 * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
3208 * scripts/sysd-rules.awk: Likewise.
3209
3210 2015-08-09 Mike Frysinger <vapier@gentoo.org>
3211
3212 * iconvdata/tst-tables.sh: Change echo -n to printf.
3213 * nss/db-Makefile: Likewise.
3214 * posix/tst-getconf.sh: Likewise.
3215 * stdio-common/tst-unbputc.sh: Likewise.
3216
3217 2015-08-09 Mike Frysinger <vapier@gentoo.org>
3218
3219 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
3220 MADV_*_PAGES defines behind this feature check.
3221
3222 2015-08-09 John David Anglin <danglin@gcc.gnu.org>
3223
3224 [BZ #18480]
3225 * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
3226 LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
3227 Define.
3228 (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
3229 LOAD_REGS_5, LOAD_REGS_6): Update.
3230 (INTERNAL_SYSCALL): Update using new LOAD defines.
3231 (INTERNAL_SYSCALL_NCS): Likewise.
3232 * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
3233
3234 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
3235
3236 [BZ #16734]
3237 * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
3238
3239 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
3240
3241 [BZ #17905]
3242 * catgets/Makefile (tst-catgets-mem): New test.
3243 * catgets/catgets.c (catopen): Don't use unbounded alloca.
3244 * catgets/open_catalog.c (__open_catalog): Likewise.
3245 * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
3246
3247 2015-08-08 John David Anglin <danglin@gcc.gnu.org>
3248
3249 [BZ #18787]
3250 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
3251 clobber registers.
3252 (atomic_compare_and_exchange_val_acq): Use register asms to assign
3253 operand registers. Use register %r20 for EAGAIN and EDEADLOCK checks.
3254 Cast return to __typeof (oldval).
3255
3256 2015-08-08 Mike Frysinger <vapier@gentoo.org>
3257
3258 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
3259 in _LINUX_MICROBLAZE_SYSDEP_H defines. Include sysdeps/unix/sysdep.h
3260 and delete sys/syscall.h include.
3261
3262 2015-08-07 Joseph Myers <joseph@codesourcery.com>
3263
3264 [BZ #16517]
3265 * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
3266 (tan): Force underflow exception for arguments with small absolute
3267 value.
3268 * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
3269 (__kernel_tanf): Force underflow exception for arguments with
3270 small absolute value.
3271 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
3272 (__kernel_tanl): Force underflow exception for arguments with
3273 small absolute value.
3274 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
3275 (__kernel_tanl): Force underflow exception for arguments with
3276 small absolute value.
3277 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
3278 (__kernel_tanl): Force underflow exception for arguments with
3279 small absolute value.
3280 * math/auto-libm-test-in: Add more tests of tan.
3281 * math/auto-libm-test-out: Regenerated.
3282
3283 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
3284
3285 Fix sysdeps/i386/fpu/s_scalbn.S build
3286
3287 * math/Versions (libc: GLIBC_2_22): New (empty) version set.
3288
3289 2015-08-07 Mike Frysinger <vapier@gentoo.org>
3290
3291 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
3292
3293 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
3294
3295 Fix gcrt0.o compilation
3296
3297 When static-start-installed-name is different from
3298 start-installed-name, we must not use the shared objects.
3299
3300 * csu/Makefile
3301 (extra-objs): Add gmon-start.o when building shared library and
3302 $(static-start-installed-name) is different from
3303 $(start-installed-name).
3304 $(objpfx)g$(static-start-installed-name): When building shared
3305 library and $(static-start-installed-name) is different from
3306 $(static-start-installed-name), revert to non-shared rule,
3307 i.e. using $(objpfx)% and gmon-start.o.
3308
3309 2015-08-06 Joseph Myers <joseph@codesourcery.com>
3310
3311 [BZ #16519]
3312 * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
3313 (__ieee754_sinh): Force underflow exception for arguments with
3314 small absolute value.
3315 * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
3316 (__ieee754_sinhf): Force underflow exception for arguments with
3317 small absolute value.
3318 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
3319 (__ieee754_sinhl): Force underflow exception for arguments with
3320 small absolute value.
3321 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
3322 (__ieee754_sinhl): Force underflow exception for arguments with
3323 small absolute value.
3324 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
3325 (__ieee754_sinhl): Force underflow exception for arguments with
3326 small absolute value.
3327 * math/auto-libm-test-in: Add more tests of sinh.
3328 * math/auto-libm-test-out: Regenerated.
3329 * sysdeps/i386/fpu/libm-test-ulps: Update.
3330
3331 2015-08-06 Paul Pluzhnikov <ppluzhnikov@google.com>
3332
3333 * libio/oldfileops.c: Include unistd.h.
3334
3335 2015-08-06 Mike Frysinger <vapier@gentoo.org>
3336
3337 * stdlib/isomac.c: Include ctype.h.
3338
3339 2015-08-06 Arjun Shankar <arjun.is@lostca.se>
3340
3341 * dirent/tst-seekdir.c (main): Converted to ...
3342 (do_test): ... this.
3343 (TEST_FUNCTION): New macro.
3344 Include test-skeleton.c.
3345 * elf/tst-dlmodcount.c (main): Converted to ...
3346 (do_test): ... this.
3347 (TEST_FUNCTION): New macro.
3348 Include test-skeleton.c.
3349 * elf/tst-order-main.c (main): Converted to ...
3350 (do_test): ... this.
3351 (TEST_FUNCTION): New macro.
3352 Include test-skeleton.c.
3353 * elf/tst-pie2.c (main): Converted to ...
3354 (do_test): ... this.
3355 (TEST_FUNCTION): New macro.
3356 Include test-skeleton.c.
3357 * inet/tst-ether_aton.c (main): Converted to ...
3358 (do_test): ... this.
3359 (TEST_FUNCTION): New macro.
3360 Include test-skeleton.c.
3361 * misc/tst-mntent.c (main): Converted to ...
3362 (do_test): ... this.
3363 (TEST_FUNCTION): New macro.
3364 Include test-skeleton.c.
3365 * misc/tst-tsearch.c (main): Converted to ...
3366 (do_test): ... this.
3367 (TEST_FUNCTION): New macro.
3368 Include test-skeleton.c.
3369 * posix/tst-regexloc.c (main): Converted to ...
3370 (do_test): ... this.
3371 (TEST_FUNCTION): New macro.
3372 Include test-skeleton.c.
3373 * resolv/tst-aton.c (main): Converted to ...
3374 (do_test): ... this.
3375 (TEST_FUNCTION): New macro.
3376 Include test-skeleton.c.
3377 * stdio-common/test-fwrite.c (main): Converted to ...
3378 (do_test): ... this.
3379 (TEST_FUNCTION): New macro.
3380 Include test-skeleton.c.
3381 * stdio-common/tst-ferror.c (main): Converted to ...
3382 (do_test): ... this.
3383 (TEST_FUNCTION): New macro.
3384 Include test-skeleton.c.
3385 * stdio-common/tst-printf.c (main): Converted to ...
3386 (do_test): ... this.
3387 (TEST_FUNCTION): New macro.
3388 Include test-skeleton.c.
3389 * stdio-common/tst-printfsz.c (main): Converted to ...
3390 (do_test): ... this.
3391 (TEST_FUNCTION): New macro.
3392 Include test-skeleton.c.
3393 * stdlib/tst-strtod.c (main): Converted to ...
3394 (do_test): ... this.
3395 (TEST_FUNCTION): New macro.
3396 Include test-skeleton.c.
3397 * string/tst-strlen.c (main): Converted to ...
3398 (do_test): ... this.
3399 (TEST_FUNCTION): New macro.
3400 Include test-skeleton.c.
3401 * string/tst-svc.c (main): Converted to ...
3402 (do_test): ... this.
3403 (TEST_FUNCTION): New macro.
3404 Include test-skeleton.c.
3405 * time/tst-strptime.c (main): Converted to ...
3406 (do_test): ... this.
3407 (TEST_FUNCTION): New macro.
3408 Include test-skeleton.c.
3409 * timezone/tst-timezone.c (main): Converted to ...
3410 (do_test): ... this.
3411 (TEST_FUNCTION): New macro.
3412 Include test-skeleton.c.
3413
3414 2015-08-05 Zack Weinberg <zackw@panix.com>
3415
3416 * misc/regexp.h: Update comments.
3417
3418 2015-08-05 Andreas Schwab <schwab@linux-m68k.org>
3419
3420 [BZ #18635]
3421 * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
3422 before return label.
3423
3424 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
3425
3426 [BZ #18661]
3427 * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
3428 when calling __errno_location.
3429 * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
3430 * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
3431
3432 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
3433
3434 [BZ #18661]
3435 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
3436 (__lll_timedwait_tid): Align stack to 16 bytes when calling
3437 __gettimeofday.
3438
3439 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
3440
3441 [BZ #18661]
3442 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
3443 (__start_context): Don't use pop to restore %rdi so that stack
3444 is aligned to 16 bytes when calling __setcontext.
3445
3446 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
3447
3448 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
3449 only for libc.
3450 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
3451
3452 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
3453
3454 * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
3455 (__mempcpy): Likewise. (__mempcpy_inline): New inline function.
3456 * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
3457
3458 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
3459
3460 * string/memccpy.c (memccpy):
3461 Improve performance by using memchr/memcpy/__mempcpy.
3462
3463 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
3464
3465 * string/strncpy.c (strncpy):
3466 Improve performance by using __strnlen/memcpy.
3467
3468 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
3469
3470 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
3471 Optimize to avoid an unnecessary FPCR read.
3472
3473 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
3474
3475 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
3476 Optimize to reduce FPCR/FPSR accesses.
3477
3478 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
3479
3480 * locale/loadarchive.c (_nl_archive_subfreeres): Also check
3481 dead->data[category] != NULL.
3482
3483 2015-08-05 Joseph Myers <joseph@codesourcery.com>
3484
3485 [BZ #18647]
3486 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
3487 and |x| close to 1, use absolute value of x when computing log.
3488 * math/auto-libm-test-in: Add more tests of pow.
3489 * math/auto-libm-test-out: Regenerated.
3490
3491 2015-08-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3492
3493 * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
3494 * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
3495 * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
3496
3497 2015-08-05 Marko Myllynen <myllynen@redhat.com>
3498
3499 [BZ #18525]
3500 * locales/km_KH: Remove timezone definition.
3501 * locales/lo_LA: Likewise.
3502 * locales/my_MM: Likewise.
3503 * locales/nan_TW@latin: Likewise.
3504 * locales/th_TH: Likewise.
3505 * locales/uk_UA: Likewise.
3506
3507 2015-08-05 Daniel Marjamäki <daniel.marjamaki@evidente.se>
3508
3509 [BZ #18265]
3510 * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
3511 (wcsncat): Likewise.
3512 (wcscmp): Likewise.
3513 (wcsncmp): Likewise.
3514
3515 2015-08-05 Mike Frysinger <vapier@gentoo.org>
3516
3517 * test-skeleton.c (usage): New function.
3518 (main): Call usage when opt is '?'.
3519
3520 2015-08-05 Mike Frysinger <vapier@gentoo.org>
3521
3522 * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
3523 before first use.
3524
3525 2015-08-05 Mike Frysinger <vapier@gentoo.org>
3526
3527 * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
3528 bottom and under _STACK_GROWS_DOWN. Move the stacktop assignment
3529 in there too.
3530
3531 2015-08-05 Carlos O'Donell <carlos@systemhalted.org>
3532
3533 * version.h (RELEASE): Set to "development".
3534 (VERSION): Set to "2.22.90"
3535
3536 * version.h (RELEASE): Set to "stable".
3537 (VERSION): Set to "2.22"
3538 * include/features.h (__GLIBC_MINOR__): Set to 22.
3539
3540 2015-08-04 Chris Metcalf <cmetcalf@ezchip.com>
3541
3542 * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
3543 Restructure macro to avoid "value computed is not used" warning.
3544 (atomic_compare_and_exchange_val_acq): Likewise.
3545
3546 2015-08-04 Andreas Schwab <schwab@suse.de>
3547
3548 [BZ #18635]
3549 * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
3550 ret.
3551 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
3552
3553 2015-08-01 Carlos O'Donell <carlos@redhat.com>
3554
3555 * po/pl.po: Updated translation.
3556 * po/uk.po: Likewise.
3557 * po/fi.po: Likewise.
3558 * po/ko.po: Likewise.
3559 * po/ru.po: Likewise.
3560 * po/vi.po: Likewise.
3561
3562 2015-07-31 Zack Weinberg <zackw@panix.com>
3563
3564 [BZ #18681]
3565 * regexp.h: Add unconditional #warning stating that this header
3566 will be removed soon. Revise banner comment to match.
3567 (compile): Consistently use ERROR instead of RETURN to report
3568 errors (partial fix for bz#18681).
3569 * regexp.c: Don't include regexp.h. Remove some unnecessary
3570 declarations.
3571
3572 2015-07-31 Carlos O'Donell <carlos@redhat.com>
3573
3574 * po/libc.pot: Regenerated.
3575
3576 2015-07-30 Andrew Senkevich <andrew.senkevich@intel.com>
3577
3578 [BZ #18740]
3579 * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
3580 float-vlen4-arch-ext-cflags): Removed.
3581 * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
3582 CFLAGS-test-float-vlen4-wrappers.c): Likewise.
3583
3584 2015-07-30 Mike Frysinger <vapier@gentoo.org>
3585
3586 [BZ #14113]
3587 * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
3588 aligned to __aligned__.
3589 (pthread_cond_t, pthread_rwlock_t): Likewise.
3590
3591 2015-07-30 Torvald Riegel <triegel@redhat.com>
3592
3593 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
3594
3595 2015-07-30 Mike Frysinger <vapier@gentoo.org>
3596
3597 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
3598 (struct sigaction): Change sa_flags from a long to an int, and add
3599 __glibc_reserved0 before it for padding when __WORDSIZE is 64.
3600
3601 2015-07-30 Mike Frysinger <vapier@gentoo.org>
3602
3603 * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
3604 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
3605 sysdeps/generic/sysdep.h include.
3606 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
3607 _LINUX_HPPA_SYSDEP_H defines. Include sysdeps/unix/sysdep.h and
3608 sysdeps/hppa/sysdep.h.
3609 (ENTRY, PSEUDO): Undefine before defining.
3610
3611 2015-07-30 Mike Frysinger <vapier@gentoo.org>
3612
3613 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
3614 from scratch to use INTERNAL_SYSCALL.
3615
3616 2015-07-29 H.J. Lu <hongjiu.lu@intel.com>
3617
3618 [BZ #18078]
3619 * scripts/check-localplt.awk: Support alternate relocations.
3620 * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
3621 sections.
3622 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
3623 malloc entries with + REL R_386_GLOB_DAT.
3624 * sysdeps/x86_64/localplt.data: New file.
3625
3626 2015-07-29 Andrew Senkevich <andrew.senkevich@intel.com>
3627
3628 [BZ #18731]
3629 * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
3630 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3631 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3632
3633 2015-07-27 Mike Frysinger <vapier@gentoo.org>
3634
3635 * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
3636
3637 2015-07-27 Mike Frysinger <vapier@gentoo.org>
3638
3639 * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
3640 directly in terms of __sync_fetch_and_add and delete (int) cast.
3641
3642 2015-07-27 Mike Frysinger <vapier@gentoo.org>
3643
3644 * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
3645 the -D_ASM_IA64_CURRENT_H flag.
3646
3647 2015-07-27 Mike Frysinger <vapier@gentoo.org>
3648
3649 [BZ #18641]
3650 * pwd/pwd.h (putpwent): Delete __nonnull markings.
3651
3652 2015-07-27 Andreas Schwab <schwab@suse.de>
3653
3654 * conform/conformtest.pl (checknamespace): Filter out string
3655 literals while tokenizing.
3656
3657 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
3658
3659 * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
3660 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
3661 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
3662
3663 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
3664
3665 * nptl/tst-join7mod.c: Add #include <string.h>.
3666
3667 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
3668
3669 * sysdeps/nios2/libm-test-ulps: Update.
3670
3671 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
3672
3673 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
3674 Fix order of arguments to the rt_sigprocmask syscall.
3675 * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
3676 Likewise.
3677
3678 2015-07-24 Roland McGrath <roland@hack.frob.com>
3679
3680 * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
3681
3682 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3683
3684 [BZ #18457]
3685 * nptl/Makefile (tests): New test case tst-join7.
3686 (modules-names): New test case module tst-join7mod.
3687 * nptl/tst-join7.c: New file.
3688 * nptl/tst-join7mod.c: New file.
3689 * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
3690 all translation units in libc.so, libpthread.so and rtld.
3691
3692 2015-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3693
3694 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3695
3696 2015-07-24 Andrew Senkevich <andrew.senkevich@intel.com>
3697
3698 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
3699 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
3700 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
3701 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
3702 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
3703 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
3704 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
3705 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
3706 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
3707 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
3708 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
3709 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
3710 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
3711 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
3712 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
3713 implementation.
3714
3715 2015-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
3716
3717 [BZ #17711]
3718 * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
3719 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
3720 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
3721 * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
3722 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
3723 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
3724
3725 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3726
3727 * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
3728 instead of just saying load lock in the comments.
3729
3730 2015-07-23 Roland McGrath <roland@hack.frob.com>
3731
3732 * sysdeps/unix/Subdirs: Moved ...
3733 * sysdeps/posix/Subdirs: ... here.
3734 * login/pty.h (struct termios, struct winsize): Add forward decls.
3735 * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
3736 * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
3737 * sysdeps/arm/nacl/libc.abilist: Updated.
3738 * sysdeps/nacl/libutil.abilist: New file.
3739
3740 * bits/signum.h: Update comments to mention 1003.1-2013 too.
3741 (SIGWINCH): New macro.
3742
3743 * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
3744 * sysdeps/arm/nacl/libc.abilist: Add it.
3745
3746 2015-07-23 Mike Frysinger <vapier@gentoo.org>
3747
3748 * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
3749
3750 2015-07-23 Mike Frysinger <vapier@gentoo.org>
3751
3752 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
3753 Swap __glibc_reserved0 and sa_flags order.
3754
3755 2015-07-23 Siddhesh Poyarekar <siddhesh@redhat.com>
3756
3757 [BZ #18657]
3758 * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
3759 are pending TLS destructor calls.
3760 * include/link.h (struct link_map): Add concurrency note for
3761 L_TLS_DTOR_COUNT.
3762 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
3763 Don't touch the link map flag. Atomically increment
3764 l_tls_dtor_count.
3765 (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
3766 Avoid taking the load lock and don't touch the link map flag.
3767 * stdlib/tst-tls-atexit-nodelete.c: New test case.
3768 * stdlib/Makefile (tests): Use it.
3769 * stdlib/tst-tls-atexit.c (do_test): dlopen
3770 tst-tls-atexit-lib.so again before dlclose. Add conditionals
3771 to allow tst-tls-atexit-nodelete test case to use it.
3772
3773 2015-07-22 Mike Frysinger <vapier@gentoo.org>
3774
3775 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
3776 to bits/types.h.
3777 (msgqnum_t): New typedef.
3778 (msglen_t): Likewise.
3779 (struct msqid_ds): Update comment. Change msg_qnum type to msgqnum_t
3780 and msg_qbytes type to msglen_t.
3781
3782 2015-07-22 Mike Frysinger <vapier@gentoo.org>
3783
3784 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
3785 pad0 to __glibc_reserved0.
3786 (struct stat64): Likewise.
3787
3788 2015-07-22 Mike Frysinger <vapier@gentoo.org>
3789
3790 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
3791 Change sa_flags from a long to an int and add __glibc_reserved0 before
3792 it for padding.
3793
3794 2015-07-22 Mike Frysinger <vapier@gentoo.org>
3795
3796 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
3797 anonymous by deleting "siginfo" name.
3798
3799 2015-07-21 Roland McGrath <roland@hack.frob.com>
3800
3801 * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
3802 * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
3803 rather than __nacl_irt_filename.
3804 * sysdeps/nacl/xstat.c (__xstat): Likewise.
3805
3806 * NEWS: New item for arm-nacl port.
3807 * sysdeps/arm/nacl/libc.abilist: New file.
3808 * sysdeps/nacl/ld.abilist: New file.
3809 * sysdeps/nacl/libBrokenLocale.abilist: New file.
3810 * sysdeps/nacl/libanl.abilist: New file.
3811 * sysdeps/nacl/libcrypt.abilist: New file.
3812 * sysdeps/nacl/libdl.abilist: New file.
3813 * sysdeps/nacl/libm.abilist: New file.
3814 * sysdeps/nacl/libpthread.abilist: New file.
3815 * sysdeps/nacl/libresolv.abilist: New file.
3816 * sysdeps/nacl/librt.abilist: New file.
3817
3818 2015-07-21 Chris Metcalf <cmetcalf@ezchip.com>
3819
3820 * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
3821 __startcontext to initialize the new context.
3822 * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
3823 up CFI directive to forbid further backtracing.
3824
3825 2015-07-21 Marko Myllynen <myllynen@redhat.com>
3826
3827 * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
3828 reference.
3829 * charmaps/ANSI_X3.4-1968: Likewise.
3830 * charmaps/BS_4730: Likewise.
3831 * charmaps/BS_VIEWDATA: Likewise.
3832 * charmaps/CP1250: Likewise.
3833 * charmaps/CP1251: Likewise.
3834 * charmaps/CP1252: Likewise.
3835 * charmaps/CP1253: Likewise.
3836 * charmaps/CP1254: Likewise.
3837 * charmaps/CP1255: Likewise.
3838 * charmaps/CP1256: Likewise.
3839 * charmaps/CSN_369103: Likewise.
3840 * charmaps/EBCDIC-DK-NO: Likewise.
3841 * charmaps/GB_1988-80: Likewise.
3842 * charmaps/GREEK-CCITT: Likewise.
3843 * charmaps/GREEK7: Likewise.
3844 * charmaps/INIS-8: Likewise.
3845 * charmaps/ISIRI-3342: Likewise.
3846 * charmaps/ISO_2033-1983: Likewise.
3847 * charmaps/ISO_5427-EXT: Likewise.
3848 * locales/POSIX: Likewise.
3849 * locales/ar_SA: Likewise.
3850 * locales/be_BY: Likewise.
3851 * locales/be_BY@latin: Likewise.
3852 * locales/ca_ES: Likewise.
3853 * locales/cs_CZ: Likewise.
3854 * locales/da_DK: Likewise.
3855 * locales/de_BE: Likewise.
3856 * locales/de_CH: Likewise.
3857 * locales/de_LU: Likewise.
3858 * locales/en_AU: Likewise.
3859 * locales/en_BW: Likewise.
3860 * locales/en_CA: Likewise.
3861 * locales/en_DK: Likewise.
3862 * locales/en_GB: Likewise.
3863 * locales/en_IE: Likewise.
3864 * locales/en_NZ: Likewise.
3865 * locales/en_ZA: Likewise.
3866 * locales/en_ZW: Likewise.
3867 * locales/es_AR: Likewise.
3868 * locales/es_BO: Likewise.
3869 * locales/es_CL: Likewise.
3870 * locales/es_CO: Likewise.
3871 * locales/es_DO: Likewise.
3872 * locales/es_EC: Likewise.
3873 * locales/es_ES: Likewise.
3874 * locales/es_HN: Likewise.
3875 * locales/es_MX: Likewise.
3876 * locales/es_PA: Likewise.
3877 * locales/es_PE: Likewise.
3878 * locales/es_PY: Likewise.
3879 * locales/es_SV: Likewise.
3880 * locales/es_US: Likewise.
3881 * locales/es_UY: Likewise.
3882 * locales/es_VE: Likewise.
3883 * locales/et_EE: Likewise.
3884 * locales/fa_IR: Likewise.
3885 * locales/fo_FO: Likewise.
3886 * locales/fr_CA: Likewise.
3887 * locales/fr_CH: Likewise.
3888 * locales/gv_GB: Likewise.
3889 * locales/he_IL: Likewise.
3890 * locales/hr_HR: Likewise.
3891 * locales/id_ID: Likewise.
3892 * locales/is_IS: Likewise.
3893 * locales/it_CH: Likewise.
3894 * locales/iw_IL: Likewise.
3895 * locales/kl_GL: Likewise.
3896 * locales/ko_KR: Likewise.
3897 * locales/kw_GB: Likewise.
3898 * locales/lg_UG: Likewise.
3899 * locales/lt_LT: Likewise.
3900 * locales/lv_LV: Likewise.
3901 * locales/mi_NZ: Likewise.
3902 * locales/nhn_MX: Likewise.
3903 * locales/nl_BE: Likewise.
3904 * locales/pl_PL: Likewise.
3905 * locales/sk_SK: Likewise.
3906 * locales/sl_SI: Likewise.
3907 * locales/sv_FI: Likewise.
3908 * locales/tl_PH: Likewise.
3909 * locales/tr_TR: Likewise.
3910 * locales/vi_VN: Likewise.
3911
3912 2015-07-21 Khem Raj <raj.khem@gmail.com>
3913
3914 [BZ #17475]
3915 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
3916 of tu_IN and bh_IN.
3917
3918 2015-07-21 Mike Frysinger <vapier@gentoo.org>
3919
3920 [BZ #18694]
3921 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
3922 bits/wordsize.h.
3923 (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
3924
3925 2015-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3926
3927 * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
3928 * stdlib/tst-tls-atexit.c: (is_loaded): New function.
3929 (spawn_thread): New function.
3930 (load): Rename to reg_dtor_and_close. Move dlopen to...
3931 (do_test): ... here. Use IS_LOADED to test for its
3932 availability.
3933
3934 2015-07-21 Andreas Schwab <schwab@linux-m68k.org>
3935
3936 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
3937
3938 2015-07-20 H.J. Lu <hongjiu.lu@intel.com>
3939
3940 [BZ #18696]
3941 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
3942 si_addr_bnd.
3943 (si_lower): New.
3944 (si_upper): Likewise.
3945
3946 2015-07-16 David S. Miller <davem@davemloft.net>
3947
3948 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
3949
3950 2015-07-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3951
3952 * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
3953 buffer.
3954 * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
3955 fail output information.
3956
3957 2015-07-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3958
3959 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
3960 and strstr-ppc64..
3961 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
3962 * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
3963 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
3964 * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
3965 * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
3966
3967 2015-07-16 Mike Frysinger <vapier@gentoo.org>
3968
3969 * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
3970 * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
3971 * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
3972 * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
3973
3974 2015-07-16 Mike Frysinger <vapier@gentoo.org>
3975
3976 * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
3977 * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
3978 rtld_hidden_proto.
3979 * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
3980
3981 2015-07-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3982
3983 * tst-nodelete-opened.c (do_test): Add comment to clarify how
3984 the test can fail.
3985
3986 * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
3987
3988 [BZ #18676]
3989 * elf/tst-nodelete-opened.c: New test case.
3990 * elf/tst-nodelete-opened-lib.c: New test case module.
3991 * elf/Makefile (tests, modules-names): Use them.
3992 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
3993 early.
3994
3995 2015-07-15 David S. Miller <davem@davemloft.net>
3996
3997 * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
3998 futex-intenal.h
3999 * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
4000 * sysdeps/sparc/sparc64/Makefile: Likewise.
4001 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
4002 Remove space from macro define.
4003 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
4004
4005 2015-07-15 Pravin Satpute <psatpute@redhat.com>
4006
4007 [BZ #17475]
4008 * locale/iso-639.def: Update Bhili and Tulu language codes as
4009 per iso639-3.
4010
4011 2015-07-15 Arjun Shankar <arjun.is@lostca.se>
4012
4013 * elf/tst-leaks1.c (main): Converted to ...
4014 (do_test): ... this.
4015 (TEST_FUNCTION): New macro.
4016 Include test-skeleton.c.
4017 * localedata/tst-langinfo.c (main): Converted to ...
4018 (do_test): ... this.
4019 (TEST_FUNCTION): New macro.
4020 Include test-skeleton.c.
4021 * math/test-fpucw.c (main): Converted to ...
4022 (do_test): ... this.
4023 (TEST_FUNCTION): New macro.
4024 Include test-skeleton.c.
4025 * math/test-tgmath.c (main): Converted to ...
4026 (do_test): ... this.
4027 (TEST_FUNCTION): New macro.
4028 Include test-skeleton.c.
4029 * math/test-tgmath2.c (main): Converted to ...
4030 (do_test): ... this.
4031 (TEST_FUNCTION): New macro.
4032 Include test-skeleton.c.
4033 * setjmp/tst-setjmp.c (main): Converted to ...
4034 (do_test): ... this.
4035 (TEST_FUNCTION): New macro.
4036 Include test-skeleton.c.
4037 * stdio-common/tst-sscanf.c (main): Converted to ...
4038 (do_test): ... this.
4039 (TEST_FUNCTION): New macro.
4040 Include test-skeleton.c.
4041 * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
4042 (do_test): ... this.
4043 (TEST_FUNCTION): New macro.
4044 Include test-skeleton.c.
4045
4046 * elf/tst-audit9.c (main): Converted to ...
4047 (do_test): ... this.
4048 (TEST_FUNCTION): New macro.
4049 Include test-skeleton.c.
4050
4051 2015-07-15 Mike Frysinger <vapier@gentoo.org>
4052
4053 * timezone/tst-tzset.c (TIMEOUT): Define to 5.
4054
4055 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
4056
4057 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
4058 New variable.
4059
4060 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
4061
4062 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
4063
4064 2015-07-14 Roland McGrath <roland@hack.frob.com>
4065
4066 * sysdeps/generic/dl-fileid.h: New file.
4067 * sysdeps/posix/dl-fileid.h: New file.
4068 * sysdeps/nacl/dl-fileid.h: New file.
4069 * include/link.h: Include <dl-fileid.h>.
4070 (struct link_map): Replace l_dev and l_ino with l_file_id.
4071 * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
4072 than __fxstat64. Use _dl_file_id_match_p rather than comparing l_dev
4073 and l_ino directly. Initialize l_file_id rather than l_dev and l_ino.
4074
4075 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4076
4077 * stdlib/tst-tls-atexit.c (do_test): Fix typo.
4078
4079 2015-07-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4080
4081 * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
4082 Add iff $CXX is set.
4083 [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
4084 Likewise.
4085 (tst-nodelete-zmodiff): Likewise.
4086 * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
4087
4088 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4089
4090 * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
4091
4092 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
4093
4094 * sysdeps/aarch64/fpu/math_private.h
4095 (define math_opt_barrier): Add AArch64 version.
4096 (math_force_eval): Likewise.
4097
4098 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
4099
4100 * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
4101
4102 2015-07-11 H.J. Lu <hongjiu.lu@intel.com>
4103
4104 * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
4105 %ld with %jd and cast to intmax_t.
4106 (do_test_length_zero): Likewise.
4107
4108 2015-07-10 Roland McGrath <roland@hack.frob.com>
4109
4110 * sysdeps/nacl/pthread_condattr_setclock.c: New file.
4111
4112 2015-07-10 Chris Metcalf <cmetcalf@ezchip.com>
4113
4114 * sysdeps/tile/libm-test-ulps: Regenerated.
4115
4116 * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
4117 Comment out the whole function, not just its body.
4118
4119 2015-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4120
4121 * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
4122 locks.
4123
4124 * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
4125
4126 2015-07-10 Torvald Riegel <triegel@redhat.com>
4127
4128 * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
4129 (sem_assume_only_signals_cause_futex_EINTR): Remove.
4130
4131 2015-07-10 Torvald Riegel <triegel@redhat.com>
4132
4133 * sysdeps/nptl/futex-internal.h: New file.
4134 * sysdeps/nacl/futex-internal.h: New file.
4135 * sysdeps/unix/sysv/linux/futex-internal.h: New file.
4136 * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
4137 error checking.
4138 (setxid_unmark_thread): Likewise.
4139 (__nptl_setxid): Likewise.
4140 (__wait_lookup_done): Likewise.
4141 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
4142 * nptl/nptl-init.c (sighandler_setxid): Likewise.
4143 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
4144 * nptl/pthread_once.c (clear_once_control): Likewise.
4145 (__pthread_once_slow): Likewise.
4146 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
4147 * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
4148 * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
4149 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
4150 * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
4151 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
4152 Likewise.
4153 (__pthread_rwlock_rdlock): Likewise.
4154 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
4155 Likewise.
4156 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
4157 Likewise.
4158 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
4159 Likewise.
4160 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
4161 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
4162 Likewise.
4163 * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
4164 __ASSUME_PRIVATE_FUTEX check.
4165 * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
4166 Check that shared futexes are supported.
4167 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
4168 wrappers with error checking.
4169 * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
4170 remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
4171 * nptl/pthread_barrierattr_setpshared.c
4172 (pthread_barrierattr_setpshared): Check that shared futexes are
4173 supported.
4174 * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
4175 Likewise.
4176 * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
4177 Likewise.
4178 * nptl/sem_init.c (futex_private_if_supported): Remove.
4179 (__new_sem_init): Adapt and check that shared futexes are supported.
4180 * nptl/sem_open.c (sem_open): Likewise.
4181 * nptl/sem_post.c (futex_wake): Remove.
4182 * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
4183 (do_futex_wait): Use futex wrappers with error checking.
4184 * nptl/sem_wait.c: Include lowlevellock.h.
4185 * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
4186 Use futex_supports_pshared.
4187 * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
4188 Use futex wrappers with error checking.
4189 * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
4190 Likewise.
4191 * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
4192 * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
4193 * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
4194 * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
4195 (futex_wake): Likewise.
4196 (sem_assume_only_signals_cause_futex_EINTR): Likewise.
4197 (do_futex_wait): Use futex wrappers with error checking.
4198 (__new_sem_wait_slow): Update EINTR handling.
4199 * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
4200
4201 2015-07-09 Martin Sebor <msebor@redhat.com>
4202
4203 [BZ #18435]
4204 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
4205 Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
4206 * nptl/Makefile (test-xfail-tst-once5): Define.
4207
4208 2015-07-09 Roland McGrath <roland@hack.frob.com>
4209
4210 * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
4211 * elf/dl-minimal.c: For readability, reorder some definitions and
4212 introduce more page breaks. Include <stdio.h>.
4213 (__libc_fatal): New function.
4214
4215 * include/unistd.h: Add rtld_hidden_proto for _exit.
4216 * posix/_exit.c: Add rtld_hidden_def.
4217 * sysdeps/mach/hurd/_exit.c: Likewise.
4218 * sysdeps/nacl/_exit.c: Likewise.
4219 * sysdeps/unix/sysv/linux/_exit.c: Likewise.
4220 * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
4221
4222 2015-07-09 H.J. Lu <hongjiu.lu@intel.com>
4223
4224 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
4225 bndmov encoding with zero displacement.
4226
4227 2015-07-09 Igor Zamyatin <igor.zamyatin@intel.com>
4228 H.J. Lu <hongjiu.lu@intel.com>
4229
4230 [BZ #18134]
4231 * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
4232 * sysdeps/i386/configure: Regenerated.
4233 * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
4234 (_dl_runtime_profile): Save and restore Intel MPX return bound
4235 registers when calling _dl_call_pltexit. Add
4236 PRESERVE_BND_REGS_PREFIX before return.
4237 * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
4238 (LRV_BND1_OFFSET): Likewise.
4239 * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
4240 lrv_bnd1.
4241 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
4242 typo in bndmov encoding.
4243 * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
4244 Intel MPX bound registers. Add PRESERVE_BND_REGS_PREFIX before
4245 branch instructions to preserve bounds.
4246
4247 2015-07-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4248
4249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
4250 [GLIBC_2.22]: Add fmemopen.
4251
4252 2015-07-09 Samuel Thibault <samuel.thibault@ens-lyon.org>
4253
4254 * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
4255 returns an error, also try to use host port from __mach_host_self for
4256 the __vm_wire call.
4257 * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
4258
4259 2015-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
4260
4261 [BZ #18400]
4262 [BZ #18648]
4263 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
4264 Fix pr_uid and pr_gid members.
4265 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
4266 definition to elf_greg_t.
4267
4268 2015-07-08 Roland McGrath <roland@hack.frob.com>
4269
4270 [BZ #18383]
4271 * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
4272 Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
4273 * sysdeps/arm/configure: Regenerated.
4274 * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
4275 (test-xfail-tst-tlsalign-static): Variable removed.
4276
4277 * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
4278 * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
4279 rather than explicit 'ln -s'.
4280
4281 * resolv/rpc/netdb.h: New file.
4282 * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
4283
4284 2015-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4285
4286 * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
4287 length buffers.
4288 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
4289 test-skeleton.c.
4290
4291 [BZ #6544]
4292 [BZ #11216]
4293 [BZ #12836]
4294 [BZ #13151]
4295 [BZ #13152]
4296 [BZ #14292]
4297 * include/stdio.h (fmemopen): Remove hidden prototype.
4298 (__fmemopen): Add new hidden prototype.
4299 * libio/Makefile: Add oldfmemopen object.
4300 * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
4301 * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
4302 compliance.
4303 * libio/oldfmemopen.c: New file: old fmemopen implementation for
4304 symbol compatibility.
4305 * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
4306 * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
4307 fmemopen.
4308 * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
4309 on append and read mode.
4310 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
4311 fmemopen.
4312 * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
4313 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
4314 * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
4315 * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
4316 Likewise.
4317 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
4318 [GLIBC_2.22]: Likewise.
4319 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
4320 Likewise.
4321 * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
4322 Likewise.
4323 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
4324 [GLIBC_2.22]: Likewise.
4325 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
4326 [GLIBC_2.22]: Likewise.
4327 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
4328 [GLIBC_2.22]: Likewise.
4329 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
4330 [GLIBC_2.22]: Likewise.
4331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
4332 [GLIBC_2.22]: Likewise.
4333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
4334 [GLIBC_2.22]: Likewise.
4335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
4336 [GLIBC_2.22]: Likewise.
4337 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
4338 Likewise.
4339 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
4340 Likewise.
4341 * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
4342 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
4343 [GLIBC_2.22]: Likewise.
4344 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
4345 [GLIBC_2.22]: Likewise.
4346 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
4347 [GLIBC_2.22]: Likewise.
4348 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
4349 [GLIBC_2.22]: Likewise.
4350 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
4351 Likewise.
4352 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
4353 Likewise.
4354 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
4355 Likewise.
4356 * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
4357 * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
4358
4359 2015-07-08 Carlos O'Donell <carlos@redhat.com>
4360
4361 [BZ #18643]
4362 * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
4363 IPV6_PATHMTU, and IPV6_DONTFRAG.
4364
4365 2015-07-08 Feng Gao <gfree.wind@gmail.com>
4366
4367 * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
4368 and _IO_UNBUFFERED.
4369 * libio/oldfileops.c: Likewise.
4370 * libio/wfileops.c: Likewise.
4371
4372 2015-07-08 Mike Frysinger <vapier@gentoo.org>
4373
4374 * nscd/selinux.c: Delete selinux/flask.h include.
4375
4376 2015-07-08 Mike Frysinger <vapier@gentoo.org>
4377
4378 [BZ #18641]
4379 * pwd/pwd.h (fgetpwent): Add __nonnull markings.
4380 (putpwent): Likewise.
4381 (getpwnam): Likewise.
4382 (getpwent_r): Likewise.
4383 (getpwuid_r): Likewise.
4384 (getpwnam_r): Likewise.
4385 (fgetpwent_r): Likewise.
4386
4387 2015-07-08 Carlos O'Donell <carlos@redhat.com>
4388
4389 [BZ #18557]
4390 * inet/rcmd.c (__validuser2_sa): Check user first to
4391 short-circuit host check.
4392
4393 2015-07-07 Pavel Kopyl <p.kopyl@samsung.com>
4394 Mikhail Ilin <m.ilin@samsung.com>
4395
4396 [BZ #17833]
4397 * elf/Makefile (tests): Add tst-nodelete.
4398 (modules-names): Add tst-nodelete-uniquemod.
4399 (tst-nodelete-uniquemod.so-no-z-defs): New.
4400 (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
4401 (tst-nodelete-zmod.so-no-z-defs): Likewise.
4402 ($(objpfx)tst-nodelete): Likewise.
4403 ($(objpfx)tst-nodelete.out): Likewise.
4404 (LDFLAGS-tst-nodelete): Likewise.
4405 (LDFLAGS-tst-nodelete-zmod.so): Likewise.
4406 * elf/dl-close.c (_dl_close_worker): Add a parameter to
4407 implement forced object deletion.
4408 (_dl_close): Pass false to _dl_close_worker.
4409 * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
4410 * elf/tst-nodelete.cc: New file.
4411 * elf/tst-nodeletelib.cc: Likewise.
4412 * elf/tst-znodeletelib.cc: Likewise.
4413 * include/dlfcn.h (_dl_close_worker): Add a new parameter.
4414
4415 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
4416
4417 [BZ #18508]
4418 * stdlib/Makefile ($(objpfx)tst-makecontext3):
4419 Depend on $(libdl).
4420 * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
4421 is not called infinitely times.
4422 (backtrace_helper): New function.
4423 (trace_arg): New struct.
4424 (st1): Enlarge stack size.
4425 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
4426 (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
4427 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
4428 Likewise.
4429
4430 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
4431
4432 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
4433
4434 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
4435
4436 * sysdeps/unix/sysv/linux/s390/bits/sem.h:
4437 Include sys/types.h instead of bits/types.h.
4438 Remove inclusion of bits/wordsize.h.
4439
4440 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
4441
4442 * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
4443 * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
4444 * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
4445 * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
4446 * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
4447 * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
4448
4449 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
4450
4451 * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
4452 link-defines.sym.
4453 * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
4454 (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
4455 LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
4456 and LR_SIZE.
4457 * sysdeps/i386/link-defines.sym: New file.
4458
4459 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
4460
4461 * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
4462 (modules-names): Add tst-auditmod3a tst-auditmod3b.
4463 ($(objpfx)tst-audit3): New rule.
4464 ($(objpfx)tst-audit3.out): Likewise.
4465 * sysdeps/i386/tst-audit3.c: New file.
4466 * sysdeps/i386/tst-audit3.h: Likewise.
4467 * sysdeps/i386/tst-auditmod3a.c: Likewise.
4468 * sysdeps/i386/tst-auditmod3b.c: Likewise.
4469
4470 2015-07-07 Torvald Riegel <triegel@redhat.com>
4471
4472 [BZ #18633]
4473 * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
4474 pointer in C code.
4475 (__strcat_c): Likewise.
4476 (__strcat_g): Likewise.
4477
4478 2015-07-07 Cyril Hrubis <chrubis@suse.cz>
4479
4480 [BZ #18592]
4481 * misc/sbrk.c: Set errno to ENOMEM on overflow.
4482
4483 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
4484
4485 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
4486 New function. (__ieee754_sqrtf): New function.
4487 * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
4488 New function.
4489 * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
4490 New function.
4491
4492 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
4493
4494 * sysdeps/ieee754/support.c: Remove unused file.
4495
4496 2015-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
4497
4498 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
4499 registers instead of d ones so the layout is kernel abi compatible.
4500 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
4501 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
4502 Likewise.
4503
4504 2015-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
4505
4506 * sysdeps/aarch64/libm-test-ulps: Regenerated.
4507
4508 2015-07-01 Joseph Myers <joseph@codesourcery.com>
4509
4510 [BZ #18619]
4511 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
4512 and return argument in case of subnormal argument.
4513
4514 2015-07-01 Martin Sebor <msebor@redhat.com>
4515
4516 [BZ #18435]
4517 * nptl/Makefile: Add tst-once5.cc.
4518 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
4519 Remove macro redefinitions.
4520 * nptl/tst-once5.cc: New test.
4521
4522 2015-07-01 Joseph Myers <joseph@codesourcery.com>
4523
4524 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4525
4526 * sysdeps/arm/libm-test-ulps: Regenerated.
4527
4528 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
4529 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4530
4531 2015-06-30 Torvald Riegel <triegel@redhat.com>
4532
4533 * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
4534 lll_lock_wait_private and lll_futex_wake probes.
4535
4536 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
4537 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
4538 Likewise.
4539 * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
4540 atomic_spin_nop.
4541 * sysdeps/x86_64/bits/atomic.h: Likewise.
4542 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
4543 to atomic_spin_nop and move ...
4544 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
4545 ... here and ...
4546 * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
4547 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
4548 atomic_spin_nop instead of BUSY_WAIT_NOP.
4549 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
4550 Likewise.
4551 * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
4552 * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
4553 (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
4554 * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
4555 instead of atomic_delay.
4556
4557 2015-06-29 Joseph Myers <joseph@codesourcery.com>
4558
4559 [BZ #18613]
4560 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
4561 X_ADJ not X when adjusting exponent.
4562 (__ieee754_gamma_r): Do intermediate computations in
4563 round-to-nearest then adjust overflowing and underflowing results
4564 as needed.
4565 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
4566 of X_ADJ not X when adjusting exponent.
4567 (__ieee754_gammaf_r): Do intermediate computations in
4568 round-to-nearest then adjust overflowing and underflowing results
4569 as needed.
4570 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
4571 log of X_ADJ not X when adjusting exponent.
4572 (__ieee754_gammal_r): Do intermediate computations in
4573 round-to-nearest then adjust overflowing and underflowing results
4574 as needed. Use 1.0L not 1.0f as numerator of division.
4575 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
4576 log of X_ADJ not X when adjusting exponent.
4577 (__ieee754_gammal_r): Do intermediate computations in
4578 round-to-nearest then adjust overflowing and underflowing results
4579 as needed. Use 1.0L not 1.0f as numerator of division.
4580 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
4581 of X_ADJ not X when adjusting exponent.
4582 (__ieee754_gammal_r): Do intermediate computations in
4583 round-to-nearest then adjust overflowing and underflowing results
4584 as needed. Use 1.0L not 1.0f as numerator of division.
4585 * math/libm-test.inc (tgamma_test_data): Remove one test. Moved
4586 to auto-libm-test-in.
4587 (tgamma_test): Use ALL_RM_TEST.
4588 * math/auto-libm-test-in: Add one test of tgamma. Mark some other
4589 tests of tgamma with spurious-overflow.
4590 * math/auto-libm-test-out: Regenerated.
4591 * math/gen-libm-have-vector-test.sh: Do not check for START.
4592 * sysdeps/i386/fpu/libm-test-ulps: Update.
4593 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4594
4595 [BZ #18612]
4596 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
4597 arguments, just return 0.5 times the argument, with underflow
4598 forced as needed.
4599 * math/auto-libm-test-in: Add more tests of j1.
4600 * math/auto-libm-test-out: Regenerated.
4601
4602 [BZ #16559]
4603 * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
4604 (__ieee754_j1): Force underflow exception for small results.
4605 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
4606 * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
4607 (__ieee754_j1f): Force underflow exception for small results.
4608 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
4609 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
4610 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
4611 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
4612 (__ieee754_j1l): Force underflow exception for small results.
4613 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
4614 * math/auto-libm-test-in: Add more tests of j1 and jn.
4615 * math/auto-libm-test-out: Regenerated.
4616
4617 * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
4618 * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
4619 (PF_MPLS): Likewise.
4620 (AF_IB): Likewise.
4621 (AF_MPLS): Likewise.
4622 * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
4623 value and macro.
4624 (MS_RMT_MASK): Include MS_LAZYTIME.
4625
4626 2015-06-26 Mel Gorman <mgorman@suse.de>
4627
4628 [BZ #18502]
4629 * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
4630 already minimal.
4631
4632 2015-06-26 Matthew Fortune <matthew.fortune@imgtec.com>
4633
4634 * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
4635 (DT_MIPS_NUM): Update.
4636 * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
4637 DT_MIPS_RLD_MAP_REL.
4638
4639 2015-06-25 Joseph Myers <joseph@codesourcery.com>
4640
4641 [BZ #16559]
4642 [BZ #18602]
4643 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
4644 round-to-nearest internally then recompute results that
4645 underflowed to zero in the original rounding mode.
4646 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
4647 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
4648 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
4649 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
4650 * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
4651 * sysdeps/i386/fpu/libm-test-ulps: Update.
4652 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4653
4654 2015-06-25 Andrew Senkevich <andrew.senkevich@intel.com>
4655
4656 * NEWS: Fixed description of link with vector math library.
4657
4658 2015-06-25 Andreas Schwab <schwab@suse.de>
4659
4660 [BZ #18549]
4661 * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
4662 * libio/test-fmemopen.c (do_test): Add test for it.
4663
4664 2015-06-25 H.J. Lu <hongjiu.lu@intel.com>
4665
4666 [BZ #17841]
4667 * Makeconfig (no-pie-ldflag): New.
4668 (+link): Set to $(+link-pie) if default to PIE.
4669 (+link-tests): Set to $(+link-pie-tests) if default to PIE.
4670 * config.make.in (build-pie-default): New.
4671 * configure.ac (libc_cv_pie_default): New. Set to yes if -fPIE
4672 is default. AC_SUBST.
4673 * configure: Regenerated.
4674 * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
4675
4676 2015-06-24 Roland McGrath <roland@hack.frob.com>
4677
4678 * nptl/descr.h (struct pthread): Change type of field setxid_futex
4679 to 'unsigned int'.
4680
4681 * resolv/gai_misc.h (struct waitlist): Change type of field
4682 counterp to 'volatile unsigned int *'.
4683 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
4684 FUTEXADDR and OLDVAL.
4685 * resolv/getaddrinfo_a.c (getaddrinfo_a):
4686 Give local variable TOTAL type 'volatile unsigned int'.
4687 (struct async_waitlist): Change type of field counter to 'unsigned int'.
4688 * resolv/gai_suspend.c (gai_suspend):
4689 Give local variable CNTR type 'unsigned int'.
4690
4691 * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
4692 counterp to 'volatile unsigned int *'.
4693 * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
4694 (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
4695 (aio_suspend): Give local variable CNTR type 'unsigned int'.
4696 * sysdeps/pthread/lio_listio.c (lio_listio_internal):
4697 Give local variable TOTAL type 'volatile unsigned int'.
4698 (struct async_waitlist): Change type of field counter to 'unsigned int'.
4699
4700 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
4701
4702 [BZ #18383]
4703 * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
4704 TCB_OFFSET to MAX_ALIGN, not just TCBALIGN. Add comment.
4705 * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
4706 comment for i386/x86-64.
4707 (test-xfail-tst-tlsalign-extern-static): Removed.
4708
4709 2015-06-24 Joseph Myers <joseph@codesourcery.com>
4710
4711 * math/test-double.h: New file.
4712 * math/test-float.h: Likewise.
4713 * math/test-ldouble.h: Likewise.
4714 * math/test-math-inline.h: Likewise.
4715 * math/test-math-no-inline.h: Likewise.
4716 * math/test-math-scalar.h: Likewise.
4717 * math/test-math-vector.h: Likewise.
4718 * math/test-vec-loop.h: Remove file. Contents moved into
4719 test-math-vector.h.
4720 * math/libm-test.inc (MATHCONST): Do not document macro.
4721 * math/test-double.c: Include test-double.h, test-math-no-inline.h
4722 and test-math-scalar.h.
4723 (FUNC): Remove macro.
4724 (FUNC_TEST): Likewise.
4725 (FLOAT): Likewise.
4726 (MATHCONST): Likewise.
4727 (PRINTF_EXPR): Likewise.
4728 (PRINTF_XEXPR): Likewise.
4729 (PRINTF_NEXPR): Likewise.
4730 (TEST_DOUBLE): Likewise.
4731 (TEST_MATHVEC): Likewise.
4732 (__NO_MATH_INLINES): Likewise.
4733 * math/test-float.c: Include test-float.h, test-math-no-inline.h
4734 and test-math-scalar.h.
4735 (FUNC): Remove macro.
4736 (FUNC_TEST): Likewise.
4737 (FLOAT): Likewise.
4738 (MATHCONST): Likewise.
4739 (PRINTF_EXPR): Likewise.
4740 (PRINTF_XEXPR): Likewise.
4741 (PRINTF_NEXPR): Likewise.
4742 (TEST_FLOAT): Likewise.
4743 (TEST_MATHVEC): Likewise.
4744 (__NO_MATH_INLINES): Likewise.
4745 * math/test-idouble.c: Include test-double.h, test-math-inline.h
4746 and test-math-scalar.h.
4747 (FUNC): Remove macro.
4748 (FUNC_TEST): Likewise.
4749 (FLOAT): Likewise.
4750 (MATHCONST): Likewise.
4751 (PRINTF_EXPR): Likewise.
4752 (PRINTF_XEXPR): Likewise.
4753 (PRINTF_NEXPR): Likewise.
4754 (TEST_DOUBLE): Likewise.
4755 (TEST_MATHVEC): Likewise.
4756 (TEST_INLINE): Likewise.
4757 (__NO_MATH_INLINES): Likewise.
4758 * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
4759 test-math-scalar.h.
4760 (FUNC): Remove macro.
4761 (FUNC_TEST): Likewise.
4762 (FLOAT): Likewise.
4763 (MATHCONST): Likewise.
4764 (PRINTF_EXPR): Likewise.
4765 (PRINTF_XEXPR): Likewise.
4766 (PRINTF_NEXPR): Likewise.
4767 (TEST_FLOAT): Likewise.
4768 (TEST_MATHVEC): Likewise.
4769 (TEST_INLINE): Likewise.
4770 (__NO_MATH_INLINES): Likewise.
4771 * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
4772 and test-math-scalar.h.
4773 (FUNC): Remove macro.
4774 (FUNC_TEST): Likewise.
4775 (FLOAT): Likewise.
4776 (MATHCONST): Likewise.
4777 (PRINTF_EXPR): Likewise.
4778 (PRINTF_XEXPR): Likewise.
4779 (PRINTF_NEXPR): Likewise.
4780 (TEST_LDOUBLE): Likewise.
4781 (TEST_MATHVEC): Likewise.
4782 (TEST_INLINE): Likewise.
4783 (__NO_MATH_INLINES): Likewise.
4784 * math/test-ldouble.c: Include test-ldouble.h,
4785 test-math-no-inline.h and test-math-scalar.h.
4786 (FUNC): Remove macro.
4787 (FUNC_TEST): Likewise.
4788 (FLOAT): Likewise.
4789 (MATHCONST): Likewise.
4790 (PRINTF_EXPR): Likewise.
4791 (PRINTF_XEXPR): Likewise.
4792 (PRINTF_NEXPR): Likewise.
4793 (TEST_LDOUBLE): Likewise.
4794 (TEST_MATHVEC): Likewise.
4795 (__NO_MATH_INLINES): Likewise.
4796 * math/test-double-vlen2.h: Include test-double.h,
4797 test-math-no-inline.h and test-math-vector.h.
4798 (FLOAT): Remove macro.
4799 (FUNC): Likewise.
4800 (MATHCONST): Likewise.
4801 (PRINTF_EXPR): Likewise.
4802 (PRINTF_XEXPR): Likewise.
4803 (PRINTF_NEXPR): Likewise.
4804 (TEST_DOUBLE): Likewise.
4805 (TEST_MATHVEC): Likewise.
4806 (__NO_MATH_INLINES): Likewise.
4807 (CNCT): Likewise.
4808 (CONCAT): Likewise.
4809 (WRAPPER_NAME): Likewise.
4810 (WRAPPER_DECL): Likewise.
4811 (WRAPPER_DECL_ff): Likewise.
4812 (WRAPPER_DECL_fFF): Likewise.
4813 (VECTOR_WRAPPER): Likewise.
4814 (VECTOR_WRAPPER_ff): Likewise.
4815 (VECTOR_WRAPPER_fFF): Likewise.
4816 (VEC_LEN): New macro.
4817 * math/test-double-vlen4.h: Include test-double.h,
4818 test-math-no-inline.h and test-math-vector.h.
4819 (FLOAT): Remove macro.
4820 (FUNC): Likewise.
4821 (MATHCONST): Likewise.
4822 (PRINTF_EXPR): Likewise.
4823 (PRINTF_XEXPR): Likewise.
4824 (PRINTF_NEXPR): Likewise.
4825 (TEST_DOUBLE): Likewise.
4826 (TEST_MATHVEC): Likewise.
4827 (__NO_MATH_INLINES): Likewise.
4828 (CNCT): Likewise.
4829 (CONCAT): Likewise.
4830 (WRAPPER_NAME): Likewise.
4831 (WRAPPER_DECL): Likewise.
4832 (WRAPPER_DECL_ff): Likewise.
4833 (WRAPPER_DECL_fFF): Likewise.
4834 (VECTOR_WRAPPER): Likewise.
4835 (VECTOR_WRAPPER_ff): Likewise.
4836 (VECTOR_WRAPPER_fFF): Likewise.
4837 (VEC_LEN): New macro.
4838 * math/test-double-vlen8.h: Include test-double.h,
4839 test-math-no-inline.h and test-math-vector.h.
4840 (FLOAT): Remove macro.
4841 (FUNC): Likewise.
4842 (MATHCONST): Likewise.
4843 (PRINTF_EXPR): Likewise.
4844 (PRINTF_XEXPR): Likewise.
4845 (PRINTF_NEXPR): Likewise.
4846 (TEST_DOUBLE): Likewise.
4847 (TEST_MATHVEC): Likewise.
4848 (__NO_MATH_INLINES): Likewise.
4849 (CNCT): Likewise.
4850 (CONCAT): Likewise.
4851 (WRAPPER_NAME): Likewise.
4852 (WRAPPER_DECL): Likewise.
4853 (WRAPPER_DECL_ff): Likewise.
4854 (WRAPPER_DECL_fFF): Likewise.
4855 (VECTOR_WRAPPER): Likewise.
4856 (VECTOR_WRAPPER_ff): Likewise.
4857 (VECTOR_WRAPPER_fFF): Likewise.
4858 (VEC_LEN): New macro.
4859 * math/test-float-vlen4.h: Include test-float.h,
4860 test-math-no-inline.h and test-math-vector.h.
4861 (FLOAT): Remove macro.
4862 (FUNC): Likewise.
4863 (MATHCONST): Likewise.
4864 (PRINTF_EXPR): Likewise.
4865 (PRINTF_XEXPR): Likewise.
4866 (PRINTF_NEXPR): Likewise.
4867 (TEST_FLOAT): Likewise.
4868 (TEST_MATHVEC): Likewise.
4869 (__NO_MATH_INLINES): Likewise.
4870 (CNCT): Likewise.
4871 (CONCAT): Likewise.
4872 (WRAPPER_NAME): Likewise.
4873 (WRAPPER_DECL): Likewise.
4874 (WRAPPER_DECL_ff): Likewise.
4875 (WRAPPER_DECL_fFF): Likewise.
4876 (VECTOR_WRAPPER): Likewise.
4877 (VECTOR_WRAPPER_ff): Likewise.
4878 (VECTOR_WRAPPER_fFF): Likewise.
4879 (VEC_LEN): New macro.
4880 * math/test-float-vlen8.h: Include test-float.h,
4881 test-math-no-inline.h and test-math-vector.h.
4882 (FLOAT): Remove macro.
4883 (FUNC): Likewise.
4884 (MATHCONST): Likewise.
4885 (PRINTF_EXPR): Likewise.
4886 (PRINTF_XEXPR): Likewise.
4887 (PRINTF_NEXPR): Likewise.
4888 (TEST_FLOAT): Likewise.
4889 (TEST_MATHVEC): Likewise.
4890 (__NO_MATH_INLINES): Likewise.
4891 (CNCT): Likewise.
4892 (CONCAT): Likewise.
4893 (WRAPPER_NAME): Likewise.
4894 (WRAPPER_DECL): Likewise.
4895 (WRAPPER_DECL_ff): Likewise.
4896 (WRAPPER_DECL_fFF): Likewise.
4897 (VECTOR_WRAPPER): Likewise.
4898 (VECTOR_WRAPPER_ff): Likewise.
4899 (VECTOR_WRAPPER_fFF): Likewise.
4900 (VEC_LEN): New macro.
4901 * math/test-float-vlen16.h: Include test-float.h,
4902 test-math-no-inline.h and test-math-vector.h.
4903 (FLOAT): Remove macro.
4904 (FUNC): Likewise.
4905 (MATHCONST): Likewise.
4906 (PRINTF_EXPR): Likewise.
4907 (PRINTF_XEXPR): Likewise.
4908 (PRINTF_NEXPR): Likewise.
4909 (TEST_FLOAT): Likewise.
4910 (TEST_MATHVEC): Likewise.
4911 (__NO_MATH_INLINES): Likewise.
4912 (CNCT): Likewise.
4913 (CONCAT): Likewise.
4914 (WRAPPER_NAME): Likewise.
4915 (WRAPPER_DECL): Likewise.
4916 (WRAPPER_DECL_ff): Likewise.
4917 (WRAPPER_DECL_fFF): Likewise.
4918 (VECTOR_WRAPPER): Likewise.
4919 (VECTOR_WRAPPER_ff): Likewise.
4920 (VECTOR_WRAPPER_fFF): Likewise.
4921 (VEC_LEN): New macro.
4922 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
4923 test-vec-loop.h.
4924 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
4925 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
4926 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
4927 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
4928 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
4929 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
4930 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
4931
4932 2015-06-24 Roland McGrath <roland@hack.frob.com>
4933
4934 * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
4935 (__getlogin_r): ... this.
4936
4937 2015-06-24 Joseph Myers <joseph@codesourcery.com>
4938
4939 [BZ #18594]
4940 * math/s_ccosh.c (__ccosh): Compare with least normal value
4941 instead of comparing class with FP_SUBNORMAL.
4942 * math/s_ccoshf.c (__ccoshf): Likewise.
4943 * math/s_ccoshl.c (__ccoshl): Likewise.
4944 * math/s_cexp.c (__cexp): Likewise.
4945 * math/s_cexpf.c (__cexpf): Likewise.
4946 * math/s_cexpl.c (__cexpl): Likewise.
4947 * math/s_csin.c (__csin): Likewise.
4948 * math/s_csinf.c (__csinf): Likewise.
4949 * math/s_csinh.c (__csinh): Likewise.
4950 * math/s_csinhf.c (__csinhf): Likewise.
4951 * math/s_csinhl.c (__csinhl): Likewise.
4952 * math/s_csinl.c (__csinl): Likewise.
4953 * math/s_ctan.c (__ctan): Likewise.
4954 * math/s_ctanf.c (__ctanf): Likewise.
4955 * math/s_ctanh.c (__ctanh): Likewise.
4956 * math/s_ctanhf.c (__ctanhf): Likewise.
4957 * math/s_ctanhl.c (__ctanhl): Likewise.
4958 * math/s_ctanl.c (__ctanl): Likewise.
4959 * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
4960 csin, csinh, ctan and ctanh.
4961 * math/auto-libm-test-out: Regenerated.
4962 * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
4963 * sysdeps/i386/fpu/libm-test-ulps: Update.
4964 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4965
4966 2015-06-24 Roland McGrath <roland@hack.frob.com>
4967
4968 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
4969 return value is wrong, print the expected value too.
4970
4971 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
4972
4973 [BZ #18585]
4974 * elf/readlib.c (is_gdb_python_file): New.
4975 (process_file): Don't issue errors on filenames with -gdb.py
4976 suffix.
4977
4978 2015-06-24 Joseph Myers <joseph@codesourcery.com>
4979
4980 * math/auto-libm-test-in: Add more tests of csin and csinh.
4981 * math/auto-libm-test-out: Regenerated.
4982 * math/libm-test.inc (csin_test_data): Remove tests moved to
4983 auto-libm-test-in.
4984 (csinh_test_data): Likewise.
4985
4986 [BZ #18593]
4987 * math/s_csin.c (__csin): Negate before rather than after possibly
4988 overflowing multiplication.
4989 * math/s_csinf.c (__csinf): Likewise.
4990 * math/s_csinh.c (__csinh): Likewise.
4991 * math/s_csinhf.c (__csinhf): Likewise.
4992 * math/s_csinhl.c (__csinhl): Likewise.
4993 * math/s_csinl.c (__csinl): Likewise.
4994 * math/auto-libm-test-in: Add some tests of csin and csinh.
4995 * math/auto-libm-test-out: Regenerated.
4996 * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
4997 (csinh_test_data): Likewise.
4998 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4999
5000 [BZ #18586]
5001 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
5002 underflow exception for small results.
5003
5004 2015-06-24 Andrew Senkevich <andrew.senkevich@intel.com>
5005
5006 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
5007 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
5008 variable and included header.
5009 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
5010 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
5011 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
5012 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
5013 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
5014 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
5015 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
5016 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
5017 * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
5018 * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
5019 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
5020 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
5021 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
5022 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
5023 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
5024 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
5025
5026 2015-06-23 Joseph Myers <joseph@codesourcery.com>
5027
5028 [BZ #16526]
5029 [BZ #16538]
5030 * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
5031 (__sin): Force underflow exception for arguments with small
5032 absolute value.
5033 * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
5034 (__kernel_sinf): Force underflow exception for arguments with
5035 small absolute value.
5036 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
5037 (__kernel_sincosl): Force underflow exception for arguments with
5038 small absolute value.
5039 * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
5040 (__kernel_sinl): Force underflow exception for arguments with
5041 small absolute value.
5042 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
5043 (__kernel_sincosl): Force underflow exception for arguments with
5044 small absolute value.
5045 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
5046 (__kernel_sinl): Force underflow exception for arguments with
5047 small absolute value.
5048 * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
5049 (__kernel_sinl): Force underflow exception for arguments with
5050 small absolute value.
5051 * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
5052 (__kernel_sinf): Force underflow exception for arguments with
5053 small absolute value.
5054 * math/auto-libm-test-in: Add more tests of sin and sincos.
5055 * math/auto-libm-test-out: Regenerated.
5056
5057 [BZ #18245]
5058 [BZ #18583]
5059 * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
5060 (__kernel_standard_l): Use feholdexcept and fesetenv around
5061 conversion to double instead of special-casing overflow and
5062 underflow.
5063 * math/libm-test.inc (fmod_test_data): Add more tests.
5064 (remainder_test_data): Likewise.
5065 (sqrt_test_data): Likewise.
5066
5067 2015-06-23 Torvald Riegel <triegel@redhat.com>
5068
5069 [BZ #17403]
5070 * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
5071 atomic_read_barrier, atomic_write_barrier): Define.
5072 * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
5073 atomic_read_barrier, atomic_write_barrier): Define.
5074
5075 2015-06-23 Joseph Myers <joseph@codesourcery.com>
5076
5077 * math/Makefile [$(PERL) != no]
5078 ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
5079 dependency on libm-test.stmp below the inclusion of Rules.
5080
5081 2015-06-23 Andrew Senkevich <andrew.senkevich@intel.com>
5082
5083 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
5084 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
5085 and included header.
5086 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
5087 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
5088 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
5089 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
5090 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
5091 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
5092 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
5093 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
5094 * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
5095 * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
5096 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
5097 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
5098 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
5099 * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
5100 * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
5101 * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
5102 * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
5103 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
5104 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
5105
5106 2015-06-23 Joseph Myers <joseph@codesourcery.com>
5107
5108 [BZ #18371]
5109 * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
5110 intermediate but not final result might underflow.
5111 * math/s_csqrtf.c (__csqrtf): Likewise.
5112 * math/s_csqrtl.c (__csqrtl): Likewise.
5113 * math/auto-libm-test-in: Add more tests of csqrt.
5114 * math/auto-libm-test-out: Regenerated.
5115 * sysdeps/i386/fpu/libm-test-ulps: Update.
5116
5117 [BZ #18219]
5118 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
5119 threshold on absolute value of exponent for which scaling is used.
5120 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
5121 * math/auto-libm-test-in: Add more tests of exp2.
5122 * math/auto-libm-test-out: Regenerated.
5123
5124 2015-06-23 Dmitry V. Levin <ldv@altlinux.org>
5125
5126 [BZ #17977]
5127 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
5128 when initializing interface list, based on the bug analysis
5129 and the patch proposed by Eric Newton.
5130 * resolv/tst-res_hconf_reorder.c: New test.
5131 * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
5132 tst-res_hconf_reorder.
5133 ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
5134 and $(shared-thread-library).
5135 (tst-res_hconf_reorder-ENV): New variable.
5136
5137 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
5138 in comment.
5139
5140 2015-06-22 Joseph Myers <joseph@codesourcery.com>
5141
5142 [BZ #16353]
5143 * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
5144 (__expm1): Force underflow exception for arguments with small
5145 absolute value.
5146 * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
5147 (__expm1f): Force underflow exception for arguments with small
5148 absolute value.
5149 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
5150 (__expm1): Force underflow exception for arguments with small
5151 absolute value.
5152 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
5153 (__expm1f): Force underflow exception for arguments with small
5154 absolute value.
5155 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
5156 Check for small arguments before calling __expm1.
5157 * math/auto-libm-test-in: Do not mark underflow exceptions as
5158 possibly missing for bug 16353.
5159 * math/auto-libm-test-out: Regenerated.
5160
5161 2015-06-22 Andreas Schwab <schwab@suse.de>
5162
5163 [BZ #18513]
5164 * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
5165 PTR queries.
5166
5167 2015-06-22 Leonhard Holz <leonhard.holz@web.de>
5168
5169 * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
5170
5171 * string/strcoll_l.c: Remove unused struct element idxnow.
5172
5173 2015-06-21 Joseph Myers <joseph@codesourcery.com>
5174
5175 [BZ #18569]
5176 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
5177 underflow and return argument in case of subnormal argument.
5178 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
5179 Likewise.
5180 * math/auto-libm-test-in: Add more tests of expm1.
5181 * math/auto-libm-test-out: Regenerated.
5182
5183 [BZ #16361]
5184 * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
5185 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
5186 tiny results.
5187 * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
5188 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
5189 tiny results.
5190 * math/auto-libm-test-in: Add more tests of exp and exp10. Do not
5191 mark underflow exceptions as possibly missing for bug 16361.
5192 * math/auto-libm-test-out: Regenerated.
5193
5194 2015-06-19 Joseph Myers <joseph@codesourcery.com>
5195
5196 * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
5197 * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
5198 Remove variable.
5199 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
5200 (test-xfail-XOPEN2K8/utmpx.h/conform).
5201
5202 * conform/conformtest.pl ($xerrors): New variable.
5203 (note_error): New function.
5204 (compiletest): New argument $xfail. Use not_error.
5205 (runtest): Likewise.
5206 (top level): Handle xfail- lines. Update calls to compiletest and
5207 runtest. Handle xfail- and optional- in headers listed with
5208 allow-header.
5209 * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
5210 (O_EXEC): Likewise.
5211 (O_SEARCH): Likewise.
5212 * conform/data/stropts.h-data (ioctl): Likewise.
5213 * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
5214 * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
5215 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
5216 (msghdr.msg_controllen): Likewise.
5217 (cmsghdr.cmsg_len): Likewise.
5218 * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
5219 * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
5220 variable.
5221 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
5222 (test-xfail-XPG4/stropts.h/conform): Likewise.
5223 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
5224 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
5225 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
5226 (test-xfail-UNIX98/stropts.h/conform): Likewise.
5227 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
5228 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
5229 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
5230 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
5231 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
5232 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
5233 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
5234 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
5235 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
5236 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
5237 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
5238 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
5239 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
5240 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
5241 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
5242
5243 2015-06-19 Andrew Senkevich <andrew.senkevich@intel.com>
5244
5245 * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
5246 __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
5247 definitions for proper unfolding of __MATHDECL_VEC.
5248
5249 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
5250
5251 * benchtests/bench-strcoll.c:
5252 Include string.h.
5253 (main): Remove unused variable res.
5254
5255 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
5256
5257 * timezone/Makefile (%/UTC %/Universal):
5258 Generate test-result files for UTC and Universal.
5259
5260 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
5261
5262 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
5263
5264 2015-06-18 Joseph Myers <joseph@codesourcery.com>
5265
5266 [BZ #16350]
5267 * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
5268 for arguments with small absolute value.
5269 * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
5270 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
5271 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
5272 (__asinh): Force underflow exception for arguments with small
5273 absolute value.
5274 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
5275 (__asinhf): Force underflow exception for arguments with small
5276 absolute value.
5277 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
5278 (__asinhl): Force underflow exception for arguments with small
5279 absolute value.
5280 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
5281 (__asinhl): Force underflow exception for arguments with small
5282 absolute value.
5283 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
5284 (__asinhl): Force underflow exception for arguments with small
5285 absolute value.
5286 * math/auto-libm-test-in: Do not mark underflow exceptions as
5287 possibly missing for bug 16350.
5288 * math/auto-libm-test-out: Regenerated.
5289
5290 * include/bits/ipc.h: Remove file.
5291 * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
5292 variable.
5293 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
5294 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
5295 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
5296 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
5297 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
5298 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
5299 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
5300 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
5301 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
5302
5303 * math/auto-libm-test-in: Remove spurious underflow allowance for
5304 tests of cexp.
5305 * math/auto-libm-test-out: Regenerated.
5306
5307 [BZ #18558]
5308 * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
5309 unconditional definition.
5310 (MCAST_BLOCK_SOURCE): Likewise.
5311 (MCAST_UNBLOCK_SOURCE): Likewise.
5312 (MCAST_LEAVE_GROUP): Likewise.
5313 (MCAST_JOIN_SOURCE_GROUP): Likewise.
5314 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
5315 (MCAST_MSFILTER): Likewise.
5316 * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
5317 Remove variable.
5318 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
5319 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
5320 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
5321 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
5322 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
5323
5324 2015-06-18 Andrew Senkevich <andrew.senkevich@intel.com>
5325
5326 * NEWS: Mention addition of x86_64 vector sincosf.
5327 * math/test-float-vlen16.h: Added wrapper for sincosf tests.
5328 * math/test-float-vlen4.h: Likewise.
5329 * math/test-float-vlen8.h: Likewise.
5330 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
5331 * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
5332 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5333 * sysdeps/x86_64/fpu/Versions: New versions added.
5334 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5335 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
5336 Added build of SSE, AVX2 and AVX512 IFUNC versions.
5337 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
5338 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
5339 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
5340 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
5341 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
5342 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
5343 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
5344 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
5345 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
5346 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
5347 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
5348 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
5349 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
5350 * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
5351 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
5352 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
5353 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
5354 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
5355 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
5356 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
5357 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
5358
5359 * NEWS: Mention addition of x86_64 vector sincos.
5360 * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
5361 * math/math.h (__MATHDECL_VEC): New macro.
5362 * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
5363 * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
5364 declaration under condition.
5365 * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
5366 * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
5367 TEST_VEC_LOOP change.
5368 * math/test-double-vlen4.h: Likewise.
5369 * math/test-double-vlen8.h: Likewise.
5370 * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
5371 * math/test-float-vlen4.h: Likewise.
5372 * math/test-float-vlen8.h: Likewise.
5373 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
5374 * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
5375 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5376 * sysdeps/x86_64/fpu/Versions: New versions added.
5377 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5378 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
5379 Added build of SSE, AVX2 and AVX512 IFUNC versions.
5380 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
5381 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
5382 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
5383 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
5384 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
5385 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
5386 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
5387 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
5388 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
5389 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
5390 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
5391 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
5392 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
5393 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
5394 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
5395 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
5396 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
5397 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
5398 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
5399 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
5400 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
5401
5402 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
5403 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
5404 redirections for powf.
5405 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5406 * sysdeps/x86_64/fpu/Versions: New versions added.
5407 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5408 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
5409 Added build of SSE, AVX2 and AVX512 IFUNC versions.
5410 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
5411 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
5412 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
5413 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
5414 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
5415 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
5416 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
5417 * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
5418 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
5419 * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
5420 * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
5421 * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
5422 * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
5423 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
5424 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
5425 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
5426 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
5427 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
5428 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
5429 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
5430 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
5431 * math/test-float-vlen16.h: Fixed 2 argument macro.
5432 * math/test-float-vlen4.h: Likewise.
5433 * math/test-float-vlen8.h: Likewise.
5434 * NEWS: Mention addition of x86_64 vector powf.
5435
5436 2015-06-17 Joseph Myers <joseph@codesourcery.com>
5437
5438 * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5439 and redefine.
5440 * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5441 and redefine.
5442 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
5443 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
5444 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
5445
5446 [BZ #18553]
5447 * resource/getpriority.c (getpriority): Rename to __getpriority
5448 and define as weak alias of __getpriority.
5449 * resource/setpriority.c (setpriority): Rename to __setpriority
5450 and define as weak alias of __setpriority.
5451 * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
5452 __getpriority and define as weak alias of __getpriority.
5453 * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
5454 __setpriority and define as weak alias of __setpriority.
5455 * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
5456 strong name.
5457 (setpriority): Use __setpriority as strong name.
5458 * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
5459 __getpriority and define as weak alias of __getpriority.
5460 * include/sys/resource.h (__getpriority): Declare. Use
5461 libc_hidden_proto.
5462 (__setpriority): Likewise.
5463 (getpriority): Don't use libc_hidden_proto.
5464 (setpriority): Likewise.
5465 * sysdeps/posix/nice.c (nice): Call __getpriority instead of
5466 getpriority. Call __setpriority instead of setpriority.
5467 * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
5468 Remove variable.
5469
5470 [BZ #18547]
5471 * misc/getttyent.c (getttynam): Rename to __getttynam and define
5472 as weak alias of __getttynam. Use prototype function definition.
5473 Call __setttyent, __getttyent and __endttyent instead of
5474 setttyent, getttyent and endttyent.
5475 (getttyent): Rename to __getttyent and define as weak alias of
5476 __getttyent. Call __setttyent instead of setttyent. Call
5477 __fgets_unlocked instead of fgets_unlocked.
5478 (setttyent): Rename to __setttyent and define as weak alias of
5479 __setttyent.
5480 (endttyent): Rename to __endttyent and define as weak alias of
5481 __endttyent.
5482 * include/ttyent.h (__getttyent): Declare. Use libc_hidden_proto.
5483 (__setttyent): Likewise.
5484 (__endttyent): Likewise.
5485 (getttyent): Don't use libc_hidden_proto.
5486 (setttyent): Likewise.
5487 (endttyent): Likewise.
5488 * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
5489 __endttyent instead of setttyent, getttyent and endttyent.
5490 * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
5491 Remove variable.
5492
5493 [BZ #18546]
5494 * socket/recv.c (__recv): Use libc_hidden_def.
5495 * socket/socket.c (__socket): Likewise.
5496 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
5497 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
5498 * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
5499 * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
5500 * sysdeps/unix/sysv/linux/socket.c (__socket): Use
5501 libc_hidden_def.
5502 * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
5503 libc_hidden_weak.
5504 * include/sys/socket.h (__socket): Do not use attribute_hidden.
5505 Use libc_hidden_proto.
5506 (__recv): Likewise.
5507 * socket/Versions (libc): Export __recv and __socket at version
5508 GLIBC_PRIVATE.
5509 * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
5510 instead of recv.
5511 (init_mq_netlink): Call __socket instead of socket.
5512 * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
5513 Remove variable.
5514
5515 [BZ #18545]
5516 * rt/mq_timedreceive.c (mq_timedreceive): Rename to
5517 __mq_timedreceive and define as alias of __mq_timedreceive. Use
5518 hidden_weak.
5519 * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
5520 define as alias of __mq_timedsend. Use hidden_weak.
5521 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
5522 __mq_timedsend as strong name.
5523 (mq_timedreceive): Use __mq_timedreceive as strong name.
5524 * include/mqueue.h (__mq_timedsend): Declare. Use hidden_proto.
5525 (__mq_timedreceive): Likewise.
5526 * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
5527 __mq_timedreceive instead of mq_timedreceive.
5528 * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
5529 instead of mq_timedsend.
5530 * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
5531 Remove variable.
5532
5533 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
5534 hidden_def and hidden_weak instead of libc_hidden_def and
5535 libc_hidden_weak.
5536 (top level): Refer to hidden_def in comment.
5537 * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
5538 macro. Use it instead of libc_hidden_def.
5539 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
5540 specify __GI_* name explicitly.
5541 (mq_timedreceive): Likewise.
5542 (mq_setattr): Likewise.
5543
5544 [BZ #18544]
5545 * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
5546 __pthread_barrier_init and define as weak alias of
5547 __pthread_barrier_init.
5548 * sysdeps/sparc/nptl/pthread_barrier_init.c
5549 (pthread_barrier_init): Likewise.
5550 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
5551 __pthread_barrier_wait and define as weak alias of
5552 __pthread_barrier_wait.
5553 * sysdeps/sparc/nptl/pthread_barrier_wait.c
5554 (pthread_barrier_wait): Likewise.
5555 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
5556 (pthread_barrier_wait): Likewise.
5557 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
5558 (pthread_barrier_wait): Likewise.
5559 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
5560 (pthread_barrier_wait): Likewise.
5561 * nptl/Versions (libpthread): Export __pthread_barrier_init and
5562 __pthread_barrier_wait at version GLIBC_PRIVATE.
5563 * include/pthread.h (__pthread_barrier_init): Declare.
5564 (__pthread_barrier_wait): Likewise.
5565 * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
5566 Call __pthread_barrier_wait instead of pthread_barrier_wait.
5567 (helper_thread): Likewise.
5568 (init_mq_netlink): Call __pthread_barrier_init instead of
5569 pthread_barrier_init.
5570
5571 [BZ #18542]
5572 * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
5573 (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
5574 * include/wchar.h (__vswscanf): Declare. Use libc_hidden_proto.
5575 * libio/swscanf.c (__swscanf): Call __vswscanf instead of
5576 vswscanf.
5577 * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
5578 Remove variable.
5579
5580 [BZ #18540]
5581 * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
5582 strong alias of _IO_fflush. Use libc_hidden_def.
5583 * libio/iofflush_u.c (fflush_unlocked): Rename to
5584 __fflush_unlocked and define as weak alias of __fflush_unlocked.
5585 Use libc_hidden_weak.
5586 * include/stdio.h (__fflush_unlocked): Declare. Use
5587 libc_hidden_proto.
5588 * misc/getpass.c (getpass): Call __fflush_unlocked instead of
5589 fflush_unlocked.
5590 * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
5591 Remove variable.
5592
5593 [BZ #18539]
5594 * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
5595 define as weak alias of __addseverity.
5596 * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
5597 Remove variable.
5598 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
5599 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
5600 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
5601
5602 [BZ #18536]
5603 * misc/tsearch.c (__tsearch): Use libc_hidden_def.
5604 (__tfind): Likewise.
5605 (__tdelete): Likewise.
5606 (__twalk): Likewise.
5607 * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
5608 __twalk to GLIBC_PRIVATE.
5609 * include/search.h (__tsearch): Use libc_hidden_proto.
5610 (__tfind): Likewise.
5611 (__tdelete): Likewise.
5612 (__twalk): Likewise.
5613 * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
5614 Call __tdelete instead of tdelete.
5615 * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
5616 tfind. Call __tsearch instead of tsearch.
5617 * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
5618 * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
5619 Remove variable.
5620 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
5621
5622 [BZ #18534]
5623 * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
5624 (dprintf): Define as a weak alias of __dprintf, not a strong
5625 alias.
5626 * include/stdio.h (__dprintf): Declare. Use libc_hidden_proto.
5627 * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
5628 dprintf.
5629 * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
5630 Remove variable.
5631 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
5632 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
5633
5634 [BZ #18533]
5635 * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
5636 not a strong alias.
5637 * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
5638 Remove variable.
5639
5640 [BZ #18532]
5641 * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
5642 define as weak alias of __in6addr_any. Use libc_hidden_data_weak.
5643 (in6addr_loopback): Rename to __in6addr_loopback and define as
5644 weak alias of __in6addr_loopback. Use libc_hidden_data_weak.
5645 * include/netinet/in.h (__in6addr_loopback): Declare. Use
5646 libc_hidden_proto.
5647 (__in6addr_any): Likewise.
5648 * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
5649 in6addr_any.
5650 * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
5651 variable.
5652 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
5653
5654 2015-06-17 Andrew Senkevich <andrew.senkevich@intel.com>
5655
5656 * bits/libm-simd-decl-stubs.h: Added stubs for pow.
5657 * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
5658 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
5659 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
5660 redirections for pow.
5661 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5662 * sysdeps/x86_64/fpu/Versions: New versions added.
5663 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5664 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
5665 build of SSE, AVX2 and AVX512 IFUNC versions.
5666 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
5667 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
5668 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
5669 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
5670 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
5671 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
5672 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
5673 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
5674 * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
5675 * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
5676 * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
5677 * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
5678 * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
5679 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
5680 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
5681 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
5682 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
5683 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
5684 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
5685 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
5686 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
5687 * NEWS: Mention addition of x86_64 vector pow.
5688
5689 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
5690 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
5691 redirections for expf.
5692 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5693 * sysdeps/x86_64/fpu/Versions: New versions added.
5694 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5695 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
5696 build of SSE, AVX2 and AVX512 IFUNC versions.
5697 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
5698 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
5699 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
5700 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
5701 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
5702 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
5703 * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
5704 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
5705 * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
5706 * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
5707 * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
5708 * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
5709 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
5710 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
5711 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
5712 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
5713 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
5714 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
5715 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
5716 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
5717 * NEWS: Mention addition of x86_64 vector expf.
5718
5719 * bits/libm-simd-decl-stubs.h: Added stubs for exp.
5720 * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
5721 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
5722 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
5723 redirections for exp.
5724 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5725 * sysdeps/x86_64/fpu/Versions: New versions added.
5726 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5727 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
5728 build of SSE, AVX2 and AVX512 IFUNC versions.
5729 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
5730 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
5731 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
5732 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
5733 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
5734 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
5735 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
5736 * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
5737 * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
5738 * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
5739 * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
5740 * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
5741 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
5742 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
5743 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
5744 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
5745 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
5746 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
5747 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
5748 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
5749 * NEWS: Mention addition of x86_64 vector exp.
5750
5751 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
5752 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
5753 redirections for logf.
5754 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5755 * sysdeps/x86_64/fpu/Versions: New versions added.
5756 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5757 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
5758 build of SSE, AVX2 and AVX512 IFUNC versions.
5759 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
5760 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
5761 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
5762 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
5763 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
5764 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
5765 * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
5766 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
5767 * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
5768 * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
5769 * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
5770 * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
5771 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
5772 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
5773 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
5774 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
5775 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
5776 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
5777 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
5778 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
5779 * NEWS: Mention addition of x86_64 vector logf.
5780
5781 * bits/libm-simd-decl-stubs.h: Added stubs for log.
5782 * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
5783 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
5784 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
5785 redirections for log.
5786 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5787 * sysdeps/x86_64/fpu/Versions: New versions added.
5788 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5789 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
5790 build of SSE, AVX2 and AVX512 IFUNC versions.
5791 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
5792 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
5793 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
5794 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
5795 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
5796 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
5797 * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
5798 * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
5799 * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
5800 * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
5801 * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
5802 * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
5803 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
5804 test.
5805 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
5806 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
5807 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
5808 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
5809 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
5810 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
5811 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
5812 * NEWS: Mention addition of x86_64 vector log.
5813
5814 2015-06-17 Szabolcs Nagy <szabolcs.nagy@arm.com>
5815
5816 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
5817 cfi_adjust_cfa_offset argument.
5818 (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
5819 (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
5820
5821 [BZ #18034]
5822 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
5823 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
5824 (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
5825 ordering using ldar.
5826 (_dl_tlsdesc_dynamic): Likewise.
5827 (_dl_tlsdesc_return_lazy): Likewise.
5828 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
5829 relaxed atomics instead of volatile and synchronize with release store.
5830 (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
5831 volatile.
5832 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
5833
5834 2015-06-15 Andrew Senkevich <andrew.senkevich@intel.com>
5835
5836 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
5837 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
5838 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5839 * sysdeps/x86_64/fpu/Versions: New versions added.
5840 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5841 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
5842 build of SSE, AVX2 and AVX512 IFUNC versions.
5843 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
5844 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
5845 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
5846 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
5847 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
5848 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
5849 * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
5850 * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
5851 * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
5852 * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
5853 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
5854 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
5855 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
5856 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
5857 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
5858 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
5859 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
5860 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
5861 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
5862 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
5863 * NEWS: Mention addition of x86_64 vector sinf.
5864
5865 2015-06-14 Joseph Myers <joseph@codesourcery.com>
5866
5867 * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
5868 and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
5869 * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
5870 Remove variable.
5871 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
5872 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
5873
5874 2015-06-12 Joseph Myers <joseph@codesourcery.com>
5875
5876 [BZ #18530]
5877 * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
5878 strong alias of _IO_fputs. Use libc_hidden_def.
5879 * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
5880 and define as weak alias of __fputs_unlocked. Use
5881 libc_hidden_weak.
5882 * include/stdio.h (__fputs_unlocked): Declare. Use
5883 libc_hidden_proto.
5884 * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
5885 fputs_unlocked.
5886
5887 [BZ #18529]
5888 * resolv/netdb.h [__USE_POSIX]: Change condition to
5889 [__USE_XOPEN2K].
5890 * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
5891 not expect.
5892 [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
5893 [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
5894 [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
5895 [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
5896 [XPG4 || UNIX98] (AI_ALL): Likewise.
5897 [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
5898 [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
5899 [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
5900 [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
5901 [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
5902 [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
5903 [XPG4 || UNIX98] (NI_DGRAM): Likewise.
5904 [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
5905 [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
5906 [XPG4 || UNIX98] (EAI_FAIL): Likewise.
5907 [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
5908 [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
5909 [XPG4 || UNIX98] (EAI_NONAME): Likewise.
5910 [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
5911 [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
5912 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
5913 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
5914 [XPG4 || UNIX98] (freeaddrinfo): Likewise.
5915 [XPG4 || UNIX98] (gai_strerror): Likewise.
5916 [XPG4 || UNIX98] (getaddrinfo): Likewise.
5917 [XPG4 || UNIX98] (getnameinfo): Likewise.
5918
5919 [BZ #18528]
5920 * grp/grp.h (endgrent): Condition on [__USE_MISC ||
5921 __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
5922 __USE_XOPEN2K8].
5923 (getgrent): Likewise.
5924 * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
5925 expect.
5926 [XPG3 || POSIX2008] (endgrent): Likewise.
5927 [XPG3] (setgrent): Likewise.
5928 * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
5929 variable.
5930 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
5931
5932 [BZ #18527]
5933 * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
5934 define as weak alias of __getlogin_r. Use libc_hidden_weak.
5935 * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
5936 * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
5937 * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
5938 * include/unistd.h (__getlogin_r): Declare. Use
5939 libc_hidden_proto.
5940 * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
5941 * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
5942 variable.
5943 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
5944 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
5945 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
5946
5947 2015-06-12 Martin Sebor <msebor@redhat.com>
5948
5949 [BZ #18512]
5950 * Makerules (check-install-supported): New target.
5951 (install): Add check-install-supported as a dependency.
5952 * manual/install.texi (Installing the C Library): Document
5953 that overriding prefix and exec_prefix is not supported.
5954 Mention DESTDIR.
5955 * INSTALL: Regenerate from the above.
5956
5957 2015-06-12 Joseph Myers <joseph@codesourcery.com>
5958
5959 [BZ #18519]
5960 * posix/Versions (libc): Export __libc_pread at version
5961 GLIBC_PRIVATE.
5962 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
5963 instead of pread.
5964 * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
5965 variable.
5966
5967 [BZ #18522]
5968 * misc/efgcvt_r.c
5969 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
5970 (cvt_symbol): Use weak_alias instead of strong_alias.
5971 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
5972 * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
5973 Remove variable.
5974 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
5975 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
5976
5977 [BZ #18520]
5978 * inet/herrno.c (h_errno): Rename to __h_errno.
5979 (__libc_h_errno): Define as alias of __h_errno not h_errno.
5980 * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
5981 to __h_errno instead of h_errno.
5982 * nptl/herrno.c (h_errno): Rename to __h_errno.
5983 (__h_errno_location): Refer to __h_errno not h_errno.
5984 * resolv/Versions (h_errno): Rename to __h_errno.
5985 * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
5986 Remove variable.
5987 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
5988
5989 2015-06-11 Andrew Senkevich <andrew.senkevich@intel.com>
5990
5991 * configure.ac: More strict check for AVX512 assembler support.
5992 * configure: Regenerated.
5993
5994 * bits/libm-simd-decl-stubs.h: Added stubs for sin.
5995 * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
5996 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
5997 * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
5998 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5999 * sysdeps/x86_64/fpu/Versions: New versions added.
6000 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6001 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
6002 Added build of SSE, AVX2 and AVX512 IFUNC versions.
6003 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
6004 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
6005 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
6006 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
6007 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
6008 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
6009 * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
6010 * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
6011 * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
6012 * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
6013 * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
6014 * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
6015 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
6016 test.
6017 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
6018 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
6019 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
6020 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
6021 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
6022 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
6023 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
6024 * NEWS: Mention addition of x86_64 vector sin.
6025
6026 2015-06-11 Florian Weimer <fweimer@redhat.com>
6027
6028 * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
6029 comment.
6030
6031 2015-06-10 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
6032
6033 [BZ #18479]
6034 * nptl/pt-interp.c: New file.
6035 * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
6036 Add pt-interp.
6037 [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
6038 $(common-objpfx)runtime-linker.h.
6039
6040 2015-06-10 Dmitry V. Levin <ldv@altlinux.org>
6041
6042 * Makeconfig (+interp): Remove unused variable.
6043 * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
6044 only. Depend on $(common-objpfx)runtime-linker.h instead of
6045 $(elf-objpfx)runtime-linker.h.
6046 ($(elf-objpfx)runtime-linker.h): Rename to
6047 $(common-objpfx)runtime-linker.h and move ...
6048 * Makerules [$(build-shared) = yes]: ... here.
6049 * elf/interp.c: Include <runtime-linker.h> instead of
6050 <elf/runtime-linker.h>.
6051
6052 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6053
6054 * sysdeps/unix/sysv/linux/i386/gettimeofday.c
6055 (__gettimeofday_syscall): Remove vsyscall fallback.
6056 * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
6057 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
6058 Add syscall fallback function.
6059 (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
6060 if vDSO is not present.
6061 * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
6062 fallback function.
6063 (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
6064 present.
6065 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
6066 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
6067
6068 2015-06-09 Joseph Myers <joseph@codesourcery.com>
6069
6070 [BZ #18497]
6071 * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
6072 of wcscmp.
6073 (wcscmp): Define as weak alias of WCSCMP.
6074 * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
6075 wcscoll.
6076 (USE_HIDDEN_DEF): Define.
6077 [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
6078 __wcscoll. Don't use libc_hidden_weak.
6079 * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
6080 wcscmp.
6081 * sysdeps/i386/i686/multiarch/wcscmp-c.c
6082 [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
6083 __GI_wcscmp.
6084 (weak_alias): Undefine and redefine.
6085 * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
6086 __wcscmp and define as weak alias of __wcscmp.
6087 * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
6088 * include/wchar.h (__wcscmp): Declare. Use libc_hidden_proto.
6089 (__wcscoll): Likewise.
6090 (wcscmp): Don't use libc_hidden_proto.
6091 (wcscoll): Likewise.
6092 * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
6093 wcscoll.
6094 * posix/regexec.c (check_node_accept_bytes): Likewise.
6095 * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
6096 variable.
6097 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
6098 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
6099
6100 [BZ #18507]
6101 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
6102 __fstatvfs and define as weak alias of __fstatvfs. Use
6103 libc_hidden_weak.
6104 * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
6105 and define as weak alias of __statvfs. Use libc_hidden_weak.
6106 * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
6107 Define as alias of __fstatvfs, not fstatvfs.
6108 (fstatvfs64): Likewise.
6109 * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
6110 Define as alias of __statvfs, not statvfs.
6111 (statvfs64): Likewise.
6112 * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
6113 Remove variable.
6114
6115 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6116
6117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6118 (HAVE_GETCPU_VSYSCALL): Define.
6119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
6120 (HAVE_GETCPU_VSYSCALL): Likewise.
6121 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
6122 * sysdeps/unix/sysv/linux/sched_getcpu.c
6123 (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
6124 (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
6125 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
6126 prototype.
6127 * sysdeps/unix/sysv/linux/x86_64/init-first.c
6128 (__vdso_platform_setup): Remove vsyscall getcpu fallback.
6129 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
6130 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
6131 Define.
6132 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
6133 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
6134 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
6135 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
6136
6137 2015-06-09 Andrew Senkevich <andrew.senkevich@intel.com>
6138
6139 * sysdeps/x86_64/fpu/Makefile: New file.
6140 * sysdeps/x86_64/fpu/Versions: New file.
6141 * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
6142 * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
6143 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
6144 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
6145 * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
6146 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
6147 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
6148 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
6149 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
6150 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
6151 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
6152 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
6153 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
6154 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
6155 Added build of SSE, AVX2 and AVX512 IFUNC versions.
6156 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
6157 * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
6158 * sysdeps/x86_64/configure.ac: Options for libmvec build.
6159 * sysdeps/x86_64/configure: Regenerated.
6160 * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
6161 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
6162 * manual/install.texi (Configuring and compiling): Document
6163 --disable-mathvec.
6164 * INSTALL: Regenerated.
6165 * NEWS: Mention addition of libmvec and x86_64 vector cos.
6166
6167 * math/Makefile: Added rules for vector tests.
6168 * math/gen-libm-have-vector-test.sh: Added generation of wrapper
6169 declaration under condition.
6170 * math/test-double-vlen2.h: New file.
6171 * math/test-double-vlen4.h: New file.
6172 * math/test-double-vlen8.h: New file.
6173 * math/test-vec-loop.h: Added initialization macro.
6174 * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
6175 * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
6176 * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
6177 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
6178 * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
6179 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
6180 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
6181 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
6182 * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
6183 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
6184 * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
6185
6186 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
6187 * sysdeps/x86_64/fpu/Versions: New versions added.
6188 * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
6189 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
6190 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
6191 * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
6192 * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
6193 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
6194 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
6195 * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
6196 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
6197 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
6198 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
6199 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
6200 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
6201 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
6202 Added build of SSE, AVX2 and AVX512 IFUNC versions.
6203 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
6204 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
6205 * NEWS: Mention addition of x86_64 vector cosf.
6206
6207 * math/Makefile: Added CFLAGS for new tests.
6208 * math/test-float-vlen16.h: New file.
6209 * math/test-float-vlen4.h: New file.
6210 * math/test-float-vlen8.h: New file.
6211 * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
6212 * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
6213 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6214 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
6215 * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
6216 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
6217 * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
6218 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
6219 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
6220 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
6221 * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
6222
6223 2015-06-09 Marko Myllynen <myllynen@redhat.com>
6224
6225 * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
6226 * locale/programs/ld-ctype.c: Likewise.
6227
6228 2015-06-08 Andrew Senkevich <andrew.senkevich@intel.com>
6229
6230 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
6231 bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
6232 bit_ZMM16_31_state): New macro.
6233 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6234 Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
6235
6236 2015-06-08 Joseph Myers <joseph@codesourcery.com>
6237
6238 * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
6239
6240 2015-06-06 Justus Winter <4winter@informatik.uni-hamburg.de>
6241
6242 * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
6243
6244 2015-06-05 Joseph Myers <joseph@codesourcery.com>
6245
6246 [BZ #18498]
6247 * libio/memstream.c (open_memstream): Rename to __open_memstream
6248 and define as weak alias of __open_memstream.
6249 * include/stdio.h (__open_memstream): Declare. Use
6250 libc_hidden_proto.
6251 (open_memstream): Don't use libc_hidden_proto.
6252 * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
6253 open_memstream.
6254 * posix/getopt.c (_getopt_internal_r): Likewise.
6255 * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
6256 variable.
6257 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
6258 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
6259 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
6260
6261 [BZ #18496]
6262 * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
6263 instead of wcrtomb.
6264
6265 [BZ #18483]
6266 * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
6267 [__USE_XOPEN2K8]. Remove redundant #endif.
6268 [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
6269 Remove redundant #if.
6270 * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
6271 Remove variable.
6272 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
6273 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
6274
6275 [BZ #18495]
6276 * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
6277 (__iswlower): Likewise.
6278 * include/wctype.h (__iswalnum): Declare. Use libc_hidden_proto.
6279 (__iswlower): Likewise.
6280 * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
6281 instead of towlower.
6282 * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
6283 instead of iswlower. Call __towupper instead of towupper.
6284 * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
6285 instead of iswalnum.
6286
6287 2015-06-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6288
6289 * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
6290 errors to stderr.
6291
6292 2015-06-05 Florian Weimer <fweimer@redhat.com>
6293
6294 [BZ #15661]
6295 [BZ #17322]
6296 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
6297 Check for overflow properly. Check for O_APPEND. Ignore large
6298 file system block sizes. Add comments about problems.
6299 * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
6300 * manual/filesys.texi (Storage Allocation): New node.
6301
6302 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6303
6304 * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
6305 cancellable syscalls.
6306 (SYS_ify): Add guard to no redefine it.
6307 (INLINE_SYSCALL): Likewise.
6308 * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
6309 LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
6310 SYSCALL_CANCEL instead.
6311 * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
6312 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
6313 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
6314 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
6315 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
6316 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
6317 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
6318 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
6319 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
6320 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
6321 * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
6322 * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
6323 * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
6324 * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
6325 * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
6326 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
6327 Likewise.
6328 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
6329 (__libc_pread64): Likewise.
6330 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
6331 (__libc_preadv): Likewise.
6332 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
6333 (__libc_readv64): Likewise.
6334 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
6335 (__libc_pwrite): Likewise.
6336 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
6337 (__libc_pwrite64): Likewise.
6338 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
6339 (__libc_pwritev): Likewise.
6340 * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
6341 (__libc_pwritev64): Likewise.
6342 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
6343 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
6344 (sync_file_range): Likewise.
6345 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
6346 Likewise.
6347 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
6348 Likewise.
6349 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
6350 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
6351 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
6352 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
6353 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
6354 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
6355 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
6356 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
6357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
6358 Likewise.
6359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
6360 (__libc_read64): Likewise.
6361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
6362 Likewise.
6363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
6364 Likewise.
6365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
6366 Likewise.
6367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
6368 Likewise.
6369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
6370 (__libc_pread64): Likewise.
6371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
6372 Likewise.
6373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
6374 (__libc_pwrite64): Likewise.
6375 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
6376 (sync_file_range): Likewise.
6377 * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
6378 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
6379 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
6380 * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
6381 * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
6382 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
6383 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
6384 * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
6385 * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
6386 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
6387 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
6388 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
6389 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
6390 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
6391 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
6392 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
6393 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
6394 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
6395 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
6396 Likewise.
6397 * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
6398 Likewise.
6399 * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
6400 * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
6401 Likewise.
6402 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
6403 * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
6404 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
6405 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
6406 Likewise.
6407 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
6408 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
6409 * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
6410 * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
6411 * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
6412
6413 2015-06-04 Nathan Lynch <nathan_lynch@codesourcery.com>
6414
6415 * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
6416 Include dl-vdso.
6417 * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
6418 Use VDSO routines for gettimeofday, clock_gettime if
6419 available.
6420 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
6421 Declare VDSO symbols.
6422 * sysdeps/unix/sysv/linux/arm/sysdep.h:
6423 [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
6424 [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
6425 * sysdeps/unix/sysv/linux/arm/Versions: Add
6426 __vdso_clock_gettime.
6427
6428 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6429
6430 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
6431 be an inline implementation regardless of library is built within.
6432 (open_not_cancel_2): Likewise.
6433 (__read_nocancel): Likewise.
6434 (__write_nocancel): Likewise.
6435 (openat_not_cancel): Likewise.
6436 (openat_not_cancel_3): Likewise.
6437 (openat64_not_cancel): Likewise.
6438 (openat64_not_cancel_3): Likewise.
6439 (__close_nocancel): Likewise.
6440 (pause_not_cancel): Likewise.
6441 (nanosleep_not_cancel): Likewise.
6442 (sigsuspend_not_cancel): Likewise.
6443
6444 2015-06-04 Torvald Riegel <triegel@redhat.com>
6445
6446 [BZ #14958]
6447 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
6448 wake-up.
6449 (__pthread_rwlock_rdlock_slow): Likewise.
6450 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
6451 Likewise.
6452 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
6453 Likewise.
6454 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
6455 * nptl/tst-rwlock16.c: New file.
6456 * nptl/Makefile (tests): Add new test.
6457
6458 2015-06-04 Torvald Riegel <triegel@redhat.com>
6459
6460 [BZ #18324]
6461 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
6462 missing wake-up of readers.
6463 * nptl/tst-rwlock15.c: New file.
6464 * nptl/Makefile (tests): Add new test.
6465
6466 2015-06-03 Roland McGrath <roland@hack.frob.com>
6467
6468 * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
6469 (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
6470 * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
6471 and __nacl_supply_interface_rtld.
6472 * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
6473 * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
6474 * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
6475 Add __nacl_supply_interface_rtld.
6476 (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
6477
6478 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
6479
6480 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
6481 isfinite.
6482 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6483 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
6484
6485 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
6486
6487 * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
6488 __signbit* with standard C99 macros.
6489 * math/e_exp10l.c: Likewise.
6490 * math/e_exp2l.c: Likewise.
6491 * math/e_scalb.c: Likewise.
6492 * math/e_scalbf.c: Likewise.
6493 * math/e_scalbl.c: Likewise.
6494 * math/s_ldexp.c: Likewise.
6495 * math/s_ldexpf.c: Likewise.
6496 * math/s_ldexpl.c: Likewise.
6497 * math/w_atan2.c: Likewise.
6498 * math/w_atan2f.c: Likewise.
6499 * math/w_atan2l.c: Likewise.
6500 * math/w_cosh.c: Likewise.
6501 * math/w_coshf.c: Likewise.
6502 * math/w_coshl.c: Likewise.
6503 * math/w_exp10.c: Likewise.
6504 * math/w_exp10f.c: Likewise.
6505 * math/w_exp10l.c: Likewise.
6506 * math/w_exp2.c: Likewise.
6507 * math/w_exp2f.c: Likewise.
6508 * math/w_exp2l.c: Likewise.
6509 * math/w_fmod.c: Likewise.
6510 * math/w_fmodf.c: Likewise.
6511 * math/w_fmodl.c: Likewise.
6512 * math/w_hypot.c: Likewise.
6513 * math/w_hypotf.c: Likewise.
6514 * math/w_hypotl.c: Likewise.
6515 * math/w_jnl.c: Likewise.
6516 * math/w_lgamma.c: Likewise.
6517 * math/w_lgamma_r.c: Likewise.
6518 * math/w_lgammaf.c: Likewise.
6519 * math/w_lgammaf_r.c: Likewise.
6520 * math/w_lgammal.c: Likewise.
6521 * math/w_lgammal_r.c: Likewise.
6522 * math/w_pow.c: Likewise.
6523 * math/w_powf.c: Likewise.
6524 * math/w_powl.c: Likewise.
6525 * math/w_remainder.c: Likewise.
6526 * math/w_remainderf.c: Likewise.
6527 * math/w_remainderl.c: Likewise.
6528 * math/w_scalb.c: Likewise.
6529 * math/w_scalbf.c: Likewise.
6530 * math/w_scalbl.c: Likewise.
6531 * math/w_scalbln.c: Likewise.
6532 * math/w_scalblnf.c: Likewise.
6533 * math/w_scalblnl.c: Likewise.
6534 * math/w_sinh.c: Likewise.
6535 * math/w_sinhf.c: Likewise.
6536 * math/w_sinhl.c: Likewise.
6537 * math/w_tgamma.c: Likewise.
6538 * math/w_tgammaf.c: Likewise.
6539 * math/w_tgammal.c: Likewise.
6540 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6541 * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
6542 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6543 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6544 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6545 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6546 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
6547 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
6548 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6549 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6550 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
6551 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
6552 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6553 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6554 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6555 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6556 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6557 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
6558 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
6559 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6560 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6561 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
6562 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6563 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6564 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
6565 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
6566 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
6567 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
6568 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6569 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
6570 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
6571 * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
6572 * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
6573 * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
6574 * stdio-common/printf_fp.c: Likewise.
6575 * stdio-common/printf_fphex.c: Likewise.
6576 * stdio-common/printf_size.c: Likewise.
6577
6578 2015-06-03 Joseph Myers <joseph@codesourcery.com>
6579
6580 [BZ #18470]
6581 * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
6582 strnlen.
6583 * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
6584 Remove variable.
6585 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
6586 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
6587 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
6588 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
6589 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
6590 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
6591 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
6592 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
6593 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
6594 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
6595
6596 [BZ #18468]
6597 * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
6598 weak alias of __wmemchr. Use libc_hidden_weak.
6599 * include/wchar.h (__wmemchr): Declare. Use libc_hidden_proto.
6600 * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
6601 instead of wmemchr.
6602
6603 2015-06-02 Roland McGrath <roland@hack.frob.com>
6604
6605 [BZ #18383]
6606 * elf/tst-tlsalign-extern.c: New file.
6607 * elf/tst-tlsalign-extern-static.c: New file.
6608 * elf/tst-tlsalign-vars.c: New file.
6609 * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
6610 [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
6611 ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
6612 ($(objpfx)tst-tlsalign-extern-static): Likewise.
6613 (test-xfail-tst-tlsalign-extern-static): New variable.
6614
6615 2015-06-02 Joseph Myers <joseph@codesourcery.com>
6616
6617 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
6618 Use variable name _sc_err instead of err.
6619 [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
6620 instead of ret.
6621 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
6622 (INLINE_SYSCALL): Use variable name _sc_err instead of err.
6623 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
6624 (INLINE_SYSCALL): Likewise.
6625
6626 * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
6627 * include/string.h (__strnlen): Use libc_hidden_proto.
6628 * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
6629 * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
6630 (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
6631 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
6632 (libc_hidden_def): Undefine and redefine.
6633 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
6634 [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
6635 __GI_strnlen.
6636 * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
6637 libc_hidden_def.
6638 * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
6639
6640 [BZ #18469]
6641 * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
6642 weak alias of __towlower. Use libc_hidden_weak.
6643 (towupper): Rename to __towupper and define as weak alias of
6644 __towupper. Use libc_hidden_weak.
6645 * include/wctype.h (__towlower): Declare. Use libc_hidden_proto.
6646 (__towupper): Likewise.
6647 * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
6648 __towlower instead of towlower.
6649
6650 2015-06-02 Roland McGrath <roland@hack.frob.com>
6651
6652 * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
6653 "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
6654
6655 2015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
6656
6657 * sysdeps/aarch64/libm-test-ulps: Update.
6658
6659 2015-06-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6660
6661 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
6662 Define.
6663 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
6664 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
6665 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
6666 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
6667 * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
6668 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
6669 * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
6670
6671 2015-06-01 Martin Sebor <msebor@redhat.com>
6672
6673 [BZ #18116]
6674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
6675 (__setcontext): Use extended four-operand version of mtsf whenever
6676 possible.
6677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
6678 (__novec_swapcontext): Likewise.
6679
6680 2015-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
6681
6682 * benchtests/scripts/compare_bench.py: New file.
6683 * benchtests/scripts/import_bench.py (mean): New function.
6684 (split_list): Likewise.
6685 (do_for_all_timings): Likewise.
6686 (compress_timings): Likewise.
6687
6688 * benchtests/scripts/import_bench.py: New file.
6689 * benchtests/scripts/validate_benchout.py: Import import_bench
6690 instead of jsonschema.
6691 (validate_bench): Remove function.
6692 (main): Use import_bench.
6693
6694 2015-06-01 Steve Ellcey <sellcey@imgtec.com>
6695
6696 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
6697 copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
6698
6699 2015-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6700
6701 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6702
6703 2015-05-28 Roland McGrath <roland@hack.frob.com>
6704
6705 * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
6706 set THREAD_SELF->tid to a magic value and futex-wake it.
6707 Pass its address to the thread_exit system call.
6708 * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
6709 bit is clear.
6710 * sysdeps/nacl/lowlevellock.h: New file.
6711 * sysdeps/nacl/lll_timedwait_tid.c: New file.
6712
6713 * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
6714 Add TIMEOUT to current time, don't subtract it.
6715
6716 2015-05-28 H.J. Lu <hongjiu.lu@intel.com>
6717
6718 [BZ #2981]
6719 [BZ #18422]
6720 * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
6721 ($(objpfx)tst-audit2.out): Also depend on
6722 $(objpfx)tst-auditmod9b.so.
6723 * elf/tst-audit2.c: Include <dlfcn.h>.
6724 (calloc_called): New.
6725 (calloc): Allow to be called more than once.
6726 (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
6727
6728 2015-05-28 Wilco Dijkstra <wdijkstr@arm.com>
6729
6730 * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
6731 * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
6732
6733 2015-05-27 Marko Myllynen <myllynen@redhat.com>
6734
6735 * stdlib/monetary.h: Fix comment.
6736
6737 2015-05-26 Chris Metcalf <cmetcalf@ezchip.com>
6738
6739 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
6740 Avoid using variables in #defines that might cause shadowing.
6741 (INTERNAL_VSYSCALL_CALL): Likewise.
6742
6743 2015-05-26 Roland McGrath <roland@hack.frob.com>
6744
6745 * sysdeps/nacl/lll_timedlock_wait.c: New file.
6746
6747 * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
6748 * nptl/lll_timedlock_wait.c: ... to this new file.
6749 * nptl/Makefile (libpthread-routines): Add it.
6750 * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
6751 * nptl/lll_timedwait_tid.c: ... to this new file.
6752 * nptl/Makefile (libpthread-routines): Add it.
6753 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
6754 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
6755 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
6756 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
6757 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
6758 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
6759 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
6760 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
6761 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
6762 * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
6763
6764 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6765
6766 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
6767 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
6768 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
6769 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
6770 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
6771 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
6772 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
6773 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
6774 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
6775 * sysdeps/unix/sysv/linux/tile/sysdep.h
6776 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
6777 * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
6778 using vDSO syscall macro.
6779
6780 2015-05-26 Andriy Rysin <arysin@gmail.com>
6781
6782 [BZ #17293]
6783 * uk_UA: Fix sorting order for Ukrainian locale
6784
6785 2015-05-26 Marko Myllynen <myllynen@redhat.com>
6786
6787 * stdlib/monetary.h: Fix comment.
6788
6789 2015-05-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
6790
6791 [BZ #18234]
6792 * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
6793 st_mtim and st_ctim members.
6794 * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
6795 st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
6796 * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
6797 (struct stat64): Likewise.
6798 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
6799 (struct stat64): Likewise.
6800 * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
6801 (struct stat64): Likewise.
6802
6803 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6804
6805 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
6806 Define and include sysdep-vdso.h.
6807 * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
6808 Likewise.
6809 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
6810 Likewise.
6811 * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
6812 Define with VDSO_SYMBOL and use PTR_MANGLE.
6813 (__vdso_clock_gettime): Likewise.
6814 (__vdso_clock_getres): Likewise.
6815 (_libc_vdso_platform_setup): Likewise.
6816 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
6817 Likewise.
6818 (_libc_vdso_platform_setup): Likewise.
6819 * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
6820 Likewise.
6821 (__vdso_clock_gettime): Likewise.
6822 (__vdso_clock_getres): Likewise.
6823 (__vdso_get_tbfreq): Likewise.
6824 (__vdso_getcpu): Likewise.
6825 (__vdso_time): Likewise.
6826 (__vdso_sigtramp_rt64): Likewise.
6827 (__vdso_signtramp32): Likewise.
6828 (__vdso_sigtramp_rt32): Likewise.
6829 (_libc_vdso_platform_setup): Likewise.
6830 * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
6831 Likewise.
6832 (__vdso_clock_gettime): Likewise.
6833 (__vdso_clock_getres): Likewise.
6834 (_libc_vdso_platform_setup): Likewise.
6835 * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
6836 Likewise.
6837 (__vdso_clock_gettime): Likewise.
6838 (_libc_vdso_platform_setup): Likewise.
6839 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
6840 Likewise.
6841 (__vdso_getcpu): Likewise.
6842 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
6843 Use VDSO_SYMBOL macro to define.
6844 (__vdso_clock_gettime): Likewise.
6845 (__vdso_clock_getres): Likewise.
6846 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
6847 Likewise.
6848 (__vdso_clock_gettime): Likewise.
6849 (__vdso_clock_getres): Likewise.
6850 (__vdso_get_tbfreq): Likewise.
6851 (__vdso_getcpu): Likewise.
6852 (__vdso_time): Likewise.
6853 (__vdso_sigtramp_rt64): Likewise.
6854 (__vdso_signtramp32): Likewise.
6855 (__vdso_sigtramp_rt32): Likewise.
6856 * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
6857 Likewise.
6858 (__vdso_clock_gettime): Likewise.
6859 (__vdso_clock_getres): Likewise.
6860 * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
6861 Likewise.
6862 (__vdso_clock_gettime): Likewise.
6863 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
6864 Likewise.
6865 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove
6866 macro.
6867 (INTERNAL_VSYSCALL): Likewise.
6868 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
6869 Remove macro.
6870 (INTERNAL_VSYSCALL): Likewise.
6871 (INTERNAL_VSYSCALL_NCS): Likewise.
6872 (INTERNAL_VSYSCALL_CALL): New macro.
6873 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
6874 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
6875 Likewise.
6876 (INTERNAL_VSYSCALL): Likewise.
6877 (INTERNAL_VSYSCALL_NCS): Likewise.
6878 (INTERNAL_VSYSCALL_CALL): New macro.
6879 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
6880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6881 (INLINE_VSYSCALL): Remove macro.
6882 (INTERNAL_VSYSCALL): Remove macro.
6883 (INTERNAL_VSYSCALL_NCS): Remove macro.
6884 (INTERNAL_VSYSCALL_CALL): New macro.
6885 (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
6886 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
6887 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
6888 (HAVE_CLOCK_GETRES_VSYSCALL): New define.
6889 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
6890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
6891 (INLINE_VSYSCALL): Remove macro.
6892 (INTERNAL_VSYSCALL): Likewise.
6893 (INTERNAL_VSYSCALL_NCS): Likewise.
6894 (INTERNAL_VSYSCALL_CALL): New macro.
6895 (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
6896 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
6897 PTR_DEMANGLE on vDSO pointer.
6898 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
6899 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
6900 macro.
6901 (INTERNAL_SYSCALL): Likewise.
6902 (INTERNAL_VSYSCALL_NCS): Remove macro.
6903 (INTERNAL_VSYSCALL_CALL): New macro.
6904 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
6905 Remove macro.
6906 (INTERNAL_VSYSCALL): Likewise.
6907 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
6908 sysdep-vdso.h instead of libc-vdso.h.
6909 * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
6910 definition.
6911 (INLINE_VSYSCALL): Likewise.
6912 (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
6913 * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
6914 definition.
6915 (INLINE_VSYSCALL): Likewise.
6916 (INTERNAL_VSYSCALL): Likewise.
6917 (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
6918 * sysdeps/unix/sysv/linux/timespec_get.c
6919 (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
6920 (timespec_get): Use ANSI prototype.
6921 * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
6922 and definition for Linux.
6923
6924 2015-05-25 Andrew Senkevich <andrew.senkevich@intel.com>
6925
6926 * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
6927 * include/libc-symbols.h: libmvec_hidden_* macro series added.
6928
6929 2015-05-22 H.J. Lu <hongjiu.lu@intel.com>
6930
6931 [BZ #2981]
6932 [BZ #18410]
6933 * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
6934 for missing DT_PLTRELSZ.
6935
6936 2015-05-22 Paul Eggert <eggert@cs.ucla.edu>
6937
6938 Remove obsolete aliases that broke 'locale -a'
6939 [BZ #18412]
6940 * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
6941 which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
6942 breaking some applications that use 'locale -a' output.
6943 Change the encoding of this file from Latin-1 to ASCII to avoid
6944 other potential problems with people grepping this file.
6945
6946 2015-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6947
6948 * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
6949 -fasynchronous-unwind-tables.
6950 (CFLAGS-sendto.c): Likewise.
6951 (CFLAGS-sendmsg.c): Likewise.
6952 (CFLAGS-connect.c): Likewise.
6953 (CFLAGS-recvmsg.c): Likewise.
6954 (CFLAGS-recvfrom.c): Likewise.
6955 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
6956 (SOCKETCALL): New macro: non-cancellable socketcall.
6957 (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
6958 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
6959 internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
6960 * sysdeps/unix/sysv/linux/accept.c: New file.
6961 * sysdeps/unix/sysv/linux/bind.c: Likewise.
6962 * sysdeps/unix/sysv/linux/connect.c: Likewise.
6963 * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
6964 * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
6965 * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
6966 * sysdeps/unix/sysv/linux/listen.c: Likewise.
6967 * sysdeps/unix/sysv/linux/recv.c: Likewise.
6968 * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
6969 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
6970 * sysdeps/unix/sysv/linux/send.c: Likewise.
6971 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
6972 * sysdeps/unix/sysv/linux/sendto.c: Likewise.
6973 * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
6974 * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
6975 * sysdeps/unix/sysv/linux/socket.c: Likewise.
6976 * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
6977 * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
6978 prototype.
6979 (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
6980 (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
6981 instead of __internal_xxx function.
6982 * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
6983 prototype.
6984 (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
6985 (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
6986 instead of __internal_xxx function.
6987 * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
6988 prototype.
6989 (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
6990 (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
6991 instead of __internal_xxx function.
6992 * sysdeps/unix/sysv/linux/accept.S: Remove file.
6993 * sysdeps/unix/sysv/linux/bind.S: Likewise.
6994 * sysdeps/unix/sysv/linux/connect.S: Likewise.
6995 * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
6996 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
6997 * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
6998 * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
6999 * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
7000 * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
7001 * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
7002 * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
7003 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
7004 * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
7005 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
7006 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
7007 * sysdeps/unix/sysv/linux/listen.S: Likewise.
7008 * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
7009 * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
7010 * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
7011 * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
7012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
7013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
7014 * sysdeps/unix/sysv/linux/recv.S: Likewise.
7015 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
7016 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
7017 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
7018 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
7019 * sysdeps/unix/sysv/linux/send.S: Likewise.
7020 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
7021 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
7022 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
7023 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
7024 * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
7025 * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
7026 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
7027 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
7028 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
7029 * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
7030 * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
7031 socketcall is implemented in GLIBC.
7032
7033 2015-05-22 Joseph Myers <joseph@codesourcery.com>
7034
7035 * soft-fp/fmadf4.c: Include <libc-internal.h>.
7036 (__fma): Ignore uninitialized warnings around packing.
7037 * soft-fp/fmasf4.c: Include <libc-internal.h>.
7038 (__fmaf): Ignore uninitialized warnings around packing.
7039 * soft-fp/fmatf4.c: Include <libc-internal.h>.
7040 (__fmal): Ignore uninitialized warnings around packing.
7041
7042 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
7043 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
7044 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
7045 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
7046
7047 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
7048 switch statement into default case.
7049 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
7050
7051 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
7052 a conditional in forcing "inexact".
7053 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
7054 Likewise.
7055
7056 2015-05-22 Roland McGrath <roland@hack.frob.com>
7057
7058 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
7059 Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
7060 for each INTERNAL_SYSCALL use.
7061
7062 2015-05-22 Joseph Myers <joseph@codesourcery.com>
7063
7064 [BZ #438]
7065 * posix/unistd.h (_POSIX2_C_VERSION): New macro.
7066 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
7067 variable.
7068
7069 [BZ #18444]
7070 * string/basename.c (basename): Rename to __basename and define as
7071 weak alias of __basename. Use libc_hidden_weak.
7072 * include/string.h (__basename): Declare. Use libc_hidden_proto.
7073 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
7074 __basename instead of basename.
7075 * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
7076 Remove variable.
7077 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
7078
7079 2015-05-18 Florian Weimer <fweimer@redhat.com>
7080
7081 * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
7082 (_IO_JUMPS_FILE_plus): New.
7083 (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
7084 _IO_CAST_FIELD_ACCESS.
7085 * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
7086 mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
7087 * libio/freopen.c (freopen): Likewise.
7088 * libio/freopen64.c (freopen64): Likewise.
7089 * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
7090 * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
7091 * libio/iofwide.c (_IO_fwide): Likewise.
7092 * libio/memstream.c (open_memstream): Likewise.
7093 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
7094 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
7095 * libio/oldiopopen.c (_IO_old_popen): Likewise.
7096
7097 2015-05-21 Joseph Myers <joseph@codesourcery.com>
7098
7099 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
7100 (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
7101 NADJ.
7102 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
7103 (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
7104 NADJ.
7105 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
7106 (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
7107 NADJ.
7108
7109 * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
7110 (p == 4) case.
7111
7112 * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
7113 * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
7114 Remove variable.
7115 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
7116 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
7117 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
7118
7119 2015-05-21 Florian Weimer <fweimer@redhat.com>
7120
7121 * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
7122 Adjust jump table label generation macros.
7123
7124 2015-05-21 Florian Weimer <fweimer@redhat.com>
7125
7126 * stdio-common/vfprintf.c (vfprintf): Move local variables
7127 args_malloced, specs, specs_malloced, and the code after
7128 do_positional to the printf_positional function.
7129 (printf_positional): New function.
7130
7131 2015-05-21 Florian Weimer <fweimer@redhat.com>
7132
7133 * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
7134 function.
7135 (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
7136 STEP4_TABLE, process_arg): Move macro definitions
7137 out of the vfprintf function. (Cosmetic change only.)
7138
7139 2015-05-21 Carlos O'Donell <carlos@redhat.com>
7140
7141 * benchtests/Makefile (stdio-common-bench): Define.
7142 (benchset): Add stdio-common-bench.
7143 * sprintf-inputs: New file.
7144 * sprintf-source.c: New file.
7145
7146 2015-05-21 Andreas Schwab <schwab@suse.de>
7147
7148 [BZ #13028]
7149 [BZ #17053]
7150 * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
7151 of struct __res_state.
7152 * resolv/res_send.c (__libc_res_nsend): Likewise.
7153 (get_nsaddr): New function.
7154 (res_ourserver_p, send_vc, reopen): Use it instead of accessing
7155 statp directly.
7156
7157 2015-05-20 Joseph Myers <joseph@codesourcery.com>
7158
7159 * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
7160 -D_POSIX_C_SOURCE=199506L.
7161
7162 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
7163
7164 * conform/data/unistd.h-data (_POSIX_VERSION): Require.
7165 (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
7166 Do not mention otherwise.
7167 [POSIX] (_XOPEN_VERSION): Do not expect.
7168 [POSIX] (_XOPEN_XCU_VERSION): Likewise.
7169 [POSIX] (_POSIX2_C_BIND): Likewise.
7170 [POSIX] (_POSIX2_VERSION): Likewise.
7171 [POSIX] (_XOPEN_XPG2): Likewise.
7172 [POSIX] (_XOPEN_XPG3): Likewise.
7173 [POSIX] (_XOPEN_XPG4): Likewise.
7174 [POSIX] (_XOPEN_UNIX): Likewise.
7175 [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
7176 [POSIX] (_POSIX_BARRIERS): Likewise.
7177 [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
7178 [POSIX] (_POSIX_CPUTIME): Likewise.
7179 [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
7180 [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
7181 [POSIX] (_POSIX_SHELL): Likewise.
7182 [POSIX] (_POSIX_SPAWN): Likewise.
7183 [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
7184 [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
7185 [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
7186 [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
7187 [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
7188 [POSIX] (_XBS5_ILP32_OFF32): Likewise.
7189 [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
7190 [POSIX] (_XBS5_LP64_OFF64): Likewise.
7191 [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
7192 [POSIX] (_POSIX_TIMEOUTS): Likewise.
7193 [POSIX] (_POSIX2_PBS): Likewise.
7194 [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
7195 [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
7196 [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
7197 [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
7198 [POSIX] (_POSIX2_PBS_TRACK): Likewise.
7199 [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
7200 [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
7201 [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
7202 [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
7203 [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
7204 [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
7205 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
7206 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
7207 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
7208 [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
7209 [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
7210 [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
7211 [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
7212 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
7213 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
7214 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
7215 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
7216 [POSIX] (_SC_2_C_BIND): Likewise.
7217 [POSIX] (_SC_2_C_VERSION): Likewise.
7218 [POSIX] (_SC_2_PBS): Likewise.
7219 [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
7220 [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
7221 [POSIX] (_SC_2_PBS_LOCATE): Likewise.
7222 [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
7223 [POSIX] (_SC_2_PBS_TRACK): Likewise.
7224 [POSIX] (_SC_ATEXIT_MAX): Likewise.
7225 [POSIX] (_SC_BARRIERS): Likewise.
7226 [POSIX] (_SC_BASE): Likewise.
7227 [POSIX] (_SC_CLOCK_SELECTION): Likewise.
7228 [POSIX] (_SC_DEVICE_IO): Likewise.
7229 [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
7230 [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
7231 [POSIX] (_SC_FD_MGMT): Likewise.
7232 [POSIX] (_SC_FIFO): Likewise.
7233 [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
7234 [POSIX] (_SC_FILE_LOCKING): Likewise.
7235 [POSIX] (_SC_FILE_SYSTEM): Likewise.
7236 [POSIX] (_SC_IOV_MAX): Likewise.
7237 [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
7238 [POSIX] (_SC_NETWORKING): Likewise.
7239 [POSIX] (_SC_PAGE_SIZE): Likewise.
7240 [POSIX] (_SC_PASS_MAX): Likewise.
7241 [POSIX] (_SC_PIPE): Likewise.
7242 [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
7243 [POSIX] (_SC_REGEXP): Likewise.
7244 [POSIX] (_SC_SHELL): Likewise.
7245 [POSIX] (_SC_SIGNALS): Likewise.
7246 [POSIX] (_SC_SINGLE_PROCESS): Likewise.
7247 [POSIX] (_SC_SPIN_LOCKS): Likewise.
7248 [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
7249 [POSIX] (_SC_USER_GROUPS): Likewise.
7250 [POSIX] (_SC_USER_GROUPS_R): Likewise.
7251 [POSIX] (_SC_STREAMS): Likewise.
7252 [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
7253 [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
7254 [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
7255 [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
7256 [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
7257 [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
7258 [POSIX] (_PC_FILESIZEBITS): Likewise.
7259 [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
7260 [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
7261 [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
7262 [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
7263 [POSIX] (uid_t): Likewise.
7264 [POSIX] (gid_t): Likewise.
7265 [POSIX] (off_t): Likewise.
7266 [POSIX] (pid_t): Likewise.
7267 [POSIX] (cuserid): Allow.
7268 (_SC_2_CHAR_TERM): Require constant.
7269 (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
7270 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
7271 variable.
7272
7273 2015-05-20 Roland McGrath <roland@hack.frob.com>
7274
7275 * sysdeps/nacl/pthread-pids.h: New file.
7276 * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
7277 (create_thread): Use __nacl_get_tid to initialize PD->tid.
7278
7279 * nptl/pthread-pids.h: New file.
7280 * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
7281 * nptl/nptl-init.c: Include <pthread-pids.h>.
7282 (__pthread_initialize_minimal_internal):
7283 Call __pthread_initialize_pids instead of set_tid_address syscall.
7284
7285 * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
7286 * sysdeps/posix/usleep.c: ... here.
7287
7288 2015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7289
7290 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
7291 call_pselect6 object.
7292 [$(subdir) = io]: Remove call_sync_file_range object.
7293 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
7294 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
7295 * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
7296 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
7297
7298 2015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
7299
7300 * math/s_cproj.c: Add include "math_private.h".
7301 * math/s_cprojf.c: Likewise.
7302 * math/s_cprojl.c: Likewise.
7303
7304 2015-05-19 Joseph Myers <joseph@codesourcery.com>
7305
7306 [BZ #18244]
7307 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
7308 high mantissa bit when testing whether P is a NaN.
7309 * math/libm-test.inc (remainder_test_data): Add more tests.
7310 (remquo_test_data): Likewise.
7311
7312 [BZ #18049]
7313 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
7314 below -32, return the argument, with underflow if subnormal.
7315 * math/auto-libm-test-in: Add more tests of atanh.
7316 * math/auto-libm-test-out: Regenerated.
7317
7318 2015-05-19 Roland McGrath <roland@hack.frob.com>
7319
7320 [BZ #18434]
7321 * nptl/tst-sem15.c: New file.
7322 * nptl/Makefile (tests): Add it.
7323 * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
7324 s/<</>>/ to fix typo in EOVERFLOW check.
7325 * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
7326
7327 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7328
7329 * manual/strings.texi (envz_remove): Fix typo in safety
7330 annotations.
7331
7332 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
7333 Steve Ellcey <sellcey@imgtec.com>
7334
7335 * inet/rcmd.c (rresvport_af): Change ss to anonymous union
7336 in order to avoid strict alias warnings.
7337 (iruserok_af): Ditto for ra.
7338
7339 2015-05-19 James Lemke <jwlemke@codesourcery.com>
7340
7341 [BZ #17581]
7342 * malloc/hooks.c
7343 (magicbyte): Convert to a function and avoid returning 0x01.
7344 (mem2mem_check): Avoid using a length byte equal to the magic byte.
7345 (mem2chunk_check): Fix unsigned comparisons to zero.
7346 Hoist defs of sz and magic.
7347
7348 2015-05-19 Richard Henderson <rth@redhat.com>
7349
7350 * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
7351
7352 * sysdeps/alpha/fpu/libm-test-ulps: Update.
7353
7354 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7355
7356 [BZ #16159]
7357 * malloc/Makefile (tests): New test case tst-malloc-backtrace.
7358 * malloc/arena.c (arena_lock): Check if arena is corrupt.
7359 (reused_arena): Find a non-corrupt arena.
7360 (heap_trim): Pass arena to unlink.
7361 * malloc/hooks.c (malloc_check_get_size): Pass arena to
7362 malloc_printerr.
7363 (top_check): Likewise.
7364 (free_check): Likewise.
7365 (realloc_check): Likewise.
7366 * malloc/malloc.c (malloc_printerr): Add arena argument.
7367 (unlink): Likewise.
7368 (munmap_chunk): Adjust.
7369 (ARENA_CORRUPTION_BIT): New macro.
7370 (arena_is_corrupt): Likewise.
7371 (set_arena_corrupt): Likewise.
7372 (sysmalloc): Use mmap if there are no usable arenas.
7373 (_int_malloc): Likewise.
7374 (__libc_malloc): Don't fail if arena_get returns NULL.
7375 (_mid_memalign): Likewise.
7376 (__libc_calloc): Likewise.
7377 (__libc_realloc): Adjust for additional argument to
7378 malloc_printerr.
7379 (_int_free): Likewise.
7380 (malloc_consolidate): Likewise.
7381 (_int_realloc): Likewise.
7382 (_int_memalign): Don't touch corrupt arenas.
7383 * malloc/tst-malloc-backtrace.c: New test case.
7384
7385 * Makefile (summarize-tests): Fix return value on success.
7386
7387 * manual/string.texi (Envz Functions): Add envz_remove.
7388
7389 2015-05-18 Roland McGrath <roland@hack.frob.com>
7390
7391 * sysdeps/posix/opendir.c: Include <stdbool.h>.
7392 (invalid_name): New function, broken out of ...
7393 (__opendirat): ... here. Call it.
7394 (need_isdir_precheck): New function, broken out of ...
7395 (__opendirat): ... here. Call it.
7396 Use __fxstatat64, not __xstatat64.
7397 (opendir_oflags): New function, broken out of ...
7398 (__opendirat): ... here. Call it.
7399 (opendir_tail): New function, broken out of ...
7400 (__opendirat): ... here. Call it.
7401 (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
7402 opendir_tail, rather than punting to __opendirat.
7403 (__opendirat): Conditionalize function definition on [IS_IN (libc)].
7404
7405 2015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7406
7407 * .gitignore: Ignore generated *.pyc.
7408
7409 2015-05-18 Arjun Shankar <arjun.is@lostca.se>
7410
7411 * include/stdio.h: Define __need_wint_t.
7412 * test-skeleton.c: Avoid `for' loop initial declaration.
7413 * nptl/tst-initializers1.c: Use test-skeleton.c.
7414
7415 2015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7416
7417 [BZ #18418]
7418 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
7419
7420 2015-05-15 Joseph Myers <joseph@codesourcery.com>
7421
7422 [BZ #16352]
7423 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
7424 (__ieee754_atanh): Force underflow exception for results with
7425 small absolute value.
7426 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
7427 (__ieee754_atanhf): Force underflow exception for results with
7428 small absolute value.
7429 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
7430 (__ieee754_atanh): Force underflow exception for results with
7431 small absolute value.
7432 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
7433 (__ieee754_atanhf): Force underflow exception for results with
7434 small absolute value.
7435 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
7436 (__ieee754_atanhl): Force underflow exception for results with
7437 small absolute value.
7438 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
7439 (__ieee754_atanhl): Force underflow exception for results with
7440 small absolute value.
7441 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
7442 (__ieee754_atanhl): Force underflow exception for results with
7443 small absolute value.
7444 * math/auto-libm-test-in: Do not allow missing underflow
7445 exceptions from atanh.
7446 * math/auto-libm-test-out: Regenerated.
7447
7448 [BZ #18221]
7449 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
7450 2**-28 as threshold for returning x or +/- 1/x.
7451 * math/auto-libm-test-in: Add more tests of tan.
7452 * math/auto-libm-test-out: Regenerated.
7453
7454 [BZ #18220]
7455 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
7456 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
7457 * math/auto-libm-test-in: Add another test of lgamma.
7458 * math/auto-libm-test-out: Regenerated.
7459
7460 2015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
7461
7462 * stdio-common/printf_fp.c (___printf_fp): Use abs.
7463 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
7464 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
7465 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
7466 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
7467 (ADD2A): Use fabs. (SUB2A): Use fabs.
7468 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
7469 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
7470 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
7471 (log1): Use fabs. (my_log2): Use fabs.
7472 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
7473 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
7474 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
7475 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
7476 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
7477 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
7478 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
7479 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
7480 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
7481 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
7482 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
7483
7484 2015-05-15 Joseph Myers <joseph@codesourcery.com>
7485
7486 [BZ #18217]
7487 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
7488 as threshold for returning 1 - x.
7489 * math/auto-libm-test-in: Add more tests of erfc.
7490 * math/auto-libm-test-out: Regenerated.
7491
7492 2015-05-14 Joseph Myers <joseph@codesourcery.com>
7493
7494 [BZ #18196]
7495 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
7496 threshold for large arguments.
7497 * math/auto-libm-test-in: Add another test of atan.
7498 * math/auto-libm-test-out: Regenerated.
7499
7500 [BZ #16339]
7501 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
7502 (__log1p): Force underflow exception for results with small
7503 absolute value.
7504 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
7505 (__log1pf): Force underflow exception for results with small
7506 absolute value.
7507 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
7508 (__log1p): Force underflow exception for results with small
7509 absolute value.
7510 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
7511 (__log1pf): Force underflow exception for results with small
7512 absolute value.
7513 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
7514 (__log1pl): Force underflow exception for results with small
7515 absolute value.
7516 * math/auto-libm-test-in: Do not allow missing underflow
7517 exceptions from log1p.
7518 * math/auto-libm-test-out: Regenerated.
7519
7520 2015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
7521 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7522
7523 [BZ #16704]
7524 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
7525
7526 2015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
7527
7528 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
7529 (libmvec): New variable.
7530 * configure.ac: Added option for mathvec build.
7531 * configure: Regenerated.
7532 * mathvec/Depend: New file.
7533 * mathvec/Makefile: New file.
7534 * shlib-versions: Added libmvec.
7535 * math/Makefile: Added rule for libm.so installation.
7536
7537 * bits/math-vector.h: New file.
7538 * bits/libm-simd-decl-stubs.h: New header.
7539 * math/Makefile (headers): Added new header
7540 libm-simd-decl-stubs.h.
7541 * math/math.h (__MATHCALL_VEC): New macro.
7542
7543 * math/gen-libm-have-vector-test.sh: Script generates series of macros
7544 for conditions in testing functions.
7545 * math/Makefile: Added call of libm-have-vector-test.sh.
7546 * math/libm-test.inc (HAVE_VECTOR): New macros.
7547
7548 * math/libm-test.inc: START refactored.
7549 * math/test-double.c (TEST_MATHVEC): Add define.
7550 * math/test-float.c: Likewise.
7551 * math/test-idouble.c: Likewise.
7552 * math/test-ifloat.c: Likewise.
7553 * math/test-ildoubl.c: Likewise.
7554 * math/test-ldouble.c: Likewise.
7555 * sysdeps/generic/math-tests-arch.h
7556 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
7557 architecture check.
7558
7559 * math/test-double.c (FUNC_TEST): New macro.
7560 * math/test-float.c: Likewise.
7561 * math/test-idouble.c: Likewise.
7562 * math/test-ifloat.c: Likewise.
7563 * math/test-ildoubl.c: Likewise.
7564 * math/test-ldouble.c: Likewise.
7565 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
7566
7567 2015-05-13 Roland McGrath <roland@hack.frob.com>
7568
7569 * sysdeps/nacl/fdopendir.c: New file.
7570
7571 * dirent/scandir-tail.c: New file.
7572 * dirent/scandir64-tail.c: New file.
7573 * dirent/Makefile (routines): Add them.
7574 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
7575 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
7576 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
7577 [!SCANDIR] (SCANDIR_TAIL): New macro.
7578 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
7579 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
7580 (SCANDIRAT): Macro removed.
7581 (SCANDIR_TAIL): New macro.
7582 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
7583 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
7584 (SCANDIRAT): Just call __opendirat and __scandir_tail.
7585 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
7586 (READDIR): Macro removed.
7587 (SCANDIR_TAIL): New macro.
7588 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
7589 (SCANDIR_TAIL): New macro.
7590
7591 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
7592 * dirent/scandir-cancel.c: ... to this new file.
7593 * dirent/Makefile (routines): Add it.
7594 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
7595 * sysdeps/unix/sysv/linux/i386/scandir64.c
7596 (SKIP_SCANDIR_CANCEL): Macro removed.
7597 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
7598
7599 * dirent/tst-scandir.c: New file.
7600 * dirent/tst-scandir64.c: New file.
7601 * dirent/Makefile (tests): Add them.
7602
7603 2015-05-13 H.J. Lu <hongjiu.lu@intel.com>
7604
7605 [BZ #18409]
7606 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
7607
7608 2015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
7609
7610 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
7611 list.
7612
7613 2015-05-13 Leonhard Holz <leonhard.holz@web.de>
7614
7615 * benchtests/bench-strcoll.c: New benchmark.
7616 * benchtests/Makefile: Generate locales and run benchmark.
7617 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
7618 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
7619 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
7620 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
7621 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
7622 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
7623 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
7624 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
7625 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
7626 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
7627 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
7628 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
7629 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
7630 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
7631 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
7632 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
7633 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
7634 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
7635 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
7636 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
7637 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
7638 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
7639 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
7640 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
7641
7642 2015-05-12 Ondřej Bílka <neleai@seznam.cz>
7643
7644 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
7645 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
7646
7647 2015-05-12 Roland McGrath <roland@hack.frob.com>
7648
7649 * posix/uname-values.h: New file.
7650 * posix/uname.c: Include that instead of <config-name.h>.
7651 * sysdeps/nacl/uname-values.h: New file.
7652 * sysdeps/arm/nacl/uname-values.h: New file.
7653
7654 2015-05-12 Joseph Myers <joseph@codesourcery.com>
7655
7656 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
7657 splitting into fields.
7658
7659 2015-05-12 Leonhard Holz <leonhard.holz@web.de>
7660
7661 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
7662 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
7663 * locale/localeinfo.h: Add enum collation_encoding_type.
7664 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
7665 * programs/ld-collate.c (collate_output): Add encoding type info.
7666 * string/strcoll_l.c (STRDIFF): New function.
7667 * (STRCOLL): Use STRDIFF to skip over equal prefix.
7668 * wcsmbs/wcscoll_l.c: Define STRDIFF.
7669
7670 2015-05-11 Joseph Myers <joseph@codesourcery.com>
7671
7672 [BZ #18397]
7673 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
7674 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
7675 <fpu_control.h> instead of <math/fpu_control.c>.
7676 * sysdeps/mips/mips32/fpu/Makefile: New file.
7677
7678 2015-05-11 Andreas Schwab <schwab@suse.de>
7679
7680 [BZ #18007]
7681 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
7682 nss_endgrent.
7683 (_nss_compat_endgrent): Call nss_endgrent.
7684 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
7685 nss_endpwent.
7686 (_nss_compat_endpwent): Call nss_endpwent.
7687 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
7688 needent, call nss_setspent only if non-zero.
7689 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
7690 (internal_endspent): Don't call nss_endspent.
7691 (_nss_compat_endspent): Call nss_endspent.
7692 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
7693 Remove. All uses removed.
7694 (internal_setent): Remove parameter stayopen, add parameter
7695 stream. Use it instead of global variable.
7696 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
7697 (internal_endent, internal_getent): Add parameter stream. Use it
7698 instead of global variable.
7699 (CONCAT(_nss_files_end,ENTNAME))
7700 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
7701 (_nss_files_get##name##_r): Pass local stream. Remove locking.
7702 * nss/nss_files/files-alias.c (position, last_use): Remove. All
7703 uses removed.
7704 (internal_setent, internal_endent): Add parameter stream. Use it
7705 instead of global variable.
7706 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
7707 stream.
7708 (get_next_alias): Add parameter stream.
7709 (_nss_files_getaliasent_r): Pass global stream.
7710 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
7711 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
7712 (_nss_files_gethostbyname4_r): Pass local stream to
7713 internal_setent, internal_getent and internal_endent. Remove
7714 locking.
7715
7716 2015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
7717
7718 * tst-strfmon1.c (tests): Update expected currency symbol.
7719
7720 2015-05-08 Roland McGrath <roland@hack.frob.com>
7721
7722 * sysdeps/nacl/gethostname.c: New file.
7723
7724 2015-05-08 Joseph Myers <joseph@codesourcery.com>
7725
7726 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
7727 and sinh.
7728 * math/auto-libm-test-out: Regenerated.
7729 * sysdeps/i386/fpu/libm-test-ulps: Update.
7730 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7731
7732 2015-05-08 Carlos O'Donell <carlos@redhat.com>
7733
7734 [BZ #18125]
7735 * stdlib/tst-setcontext3.c: New file.
7736 * stdlib/tst-setcontext3.sh: New file.
7737 * stdlib/Makefile (tests): Add tst-setcontext3.
7738 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
7739 to verify test program created output file.
7740 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
7741 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
7742 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
7743 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
7744
7745 2015-05-06 Roland McGrath <roland@hack.frob.com>
7746
7747 [BZ #18383]
7748 * elf/tst-tlsalign.c: New file.
7749 * elf/tst-tlsalign-static.c: New file.
7750 * elf/tst-tlsalign-lib.c: New file.
7751 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
7752 (tests-static): Add tst-tlsalign-static.
7753 (modules-names): Add tst-tlsalign-lib.
7754 (test-xfail-tst-tlsalign): New variable.
7755 (test-xfail-tst-tlsalign-static): New variable.
7756
7757 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
7758 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
7759
7760 2015-05-06 Joseph Myers <joseph@codesourcery.com>
7761
7762 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
7763 csqrt, erfc, sin and sincos.
7764 * math/auto-libm-test-out: Regenerated.
7765 * sysdeps/i386/fpu/libm-test-ulps: Update.
7766 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7767
7768 2015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
7769
7770 * sysdeps/aarch64/libm-test-ulps: Update.
7771
7772 2015-05-05 Joseph Myers <joseph@codesourcery.com>
7773
7774 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
7775 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
7776 * math/auto-libm-test-out: Regenerated.
7777 * sysdeps/i386/fpu/libm-test-ulps: Update.
7778 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7779
7780 2015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
7781
7782 [BZ #18265]
7783 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
7784 (wcsncpy): Likewise.
7785
7786 2015-05-05 Florian Weimer <fweimer@redhat.com>
7787
7788 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
7789 Assume __ASSUME_FALLOCATE is always true.
7790 * sysdeps/unix/sysv/linux/posix_fallocate64.c
7791 (__posix_fallocate64_l64): Likweise.
7792 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
7793 (posix_fallocate): Likewise.
7794 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
7795 (__posix_fallocate64_l64): Likewise.
7796 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
7797 [!__ASSUME_FALLOCATE]: Add comment.
7798
7799 2015-05-05 Florian Weimer <fweimer@redhat.com>
7800
7801 * sysdeps/unix/sysv/linux/i386/Makefile
7802 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
7803 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
7804 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
7805 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
7806 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
7807 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
7808 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
7809
7810 2015-05-02 Joseph Myers <joseph@codesourcery.com>
7811
7812 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
7813 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
7814 tgamma.
7815 * math/auto-libm-test-out: Regenerated.
7816 * sysdeps/i386/fpu/libm-test-ulps: Update.
7817 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7818
7819 2015-05-01 Joseph Myers <joseph@codesourcery.com>
7820
7821 * math/auto-libm-test-in: Add more tests of tgamma.
7822 * math/auto-libm-test-out: Regenerated.
7823 * sysdeps/i386/fpu/libm-test-ulps: Update.
7824 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7825
7826 * math/auto-libm-test-in: Add more tests of tanh.
7827 * math/auto-libm-test-out: Regenerated.
7828 * sysdeps/i386/fpu/libm-test-ulps: Update.
7829 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7830
7831 * math/auto-libm-test-in: Add more tests of tan.
7832 * math/auto-libm-test-out: Regenerated.
7833 * sysdeps/i386/fpu/libm-test-ulps: Update.
7834 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7835
7836 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
7837 * math/auto-libm-test-out: Regenerated.
7838 * sysdeps/i386/fpu/libm-test-ulps: Update.
7839 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7840
7841 * math/auto-libm-test-in: Add another test of pow.
7842 * math/auto-libm-test-out: Regenerated.
7843 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7844
7845 * math/auto-libm-test-in: Add more tests of lgamma.
7846 * math/auto-libm-test-out: Regenerated.
7847 * sysdeps/i386/fpu/libm-test-ulps: Update.
7848 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7849
7850 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
7851 log1p.
7852 * math/auto-libm-test-out: Regenerated.
7853 * sysdeps/i386/fpu/libm-test-ulps: Update.
7854 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7855
7856 2015-05-01 Mark Wielaard <mjw@redhat.com>
7857
7858 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
7859 Elf64_Chdr structs and ELFCOMPRESS constants.
7860
7861 2015-05-01 Joseph Myers <joseph@codesourcery.com>
7862
7863 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
7864 expm1.
7865 * math/auto-libm-test-out: Regenerated.
7866 * sysdeps/i386/fpu/libm-test-ulps: Update.
7867 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7868
7869 * math/auto-libm-test-in: Add more tests of erf and erfc.
7870 * math/auto-libm-test-out: Regenerated.
7871 * sysdeps/i386/fpu/libm-test-ulps: Update.
7872 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7873
7874 2015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
7875
7876 * config.h.in (HAVE_AARCH64_BE): Add.
7877
7878 2015-04-30 Joseph Myers <joseph@codesourcery.com>
7879
7880 * math/auto-libm-test-in: Add more tests of csqrt.
7881 * math/auto-libm-test-out: Regenerated.
7882 * sysdeps/i386/fpu/libm-test-ulps: Update.
7883 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7884
7885 * math/auto-libm-test-in: Add more tests of cosh 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 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
7891
7892 2015-04-29 Roland McGrath <roland@hack.frob.com>
7893
7894 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
7895 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
7896
7897 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
7898 (euidaccess, eaccess): Define as weak aliases.
7899
7900 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
7901 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
7902 but __suseconds_t is often 'long int' so some sources assume that
7903 type is being used (e.g. they use %ld to print tv_usec).
7904
7905 2015-04-29 Florian Weimer <fweimer@redhat.com>
7906
7907 [BZ #18007]
7908 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
7909 (CVE-2014-8121)
7910 * nss/tst-nss-getpwent.c: New file.
7911 * nss/Makefile (tests): Add new test.
7912
7913 2015-04-28 Joseph Myers <joseph@codesourcery.com>
7914
7915 [BZ #18346]
7916 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
7917 exponents less than 48 as cases where high part of mantissa needs
7918 examining to determine whether argument is integral.
7919 * math/libm-test.inc (round_test_data): Add more tests.
7920
7921 2015-04-28 Mark Wielaard <mjw@redhat.com>
7922
7923 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
7924
7925 2015-04-27 David S. Miller <davem@davemloft.net>
7926
7927 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
7928 __tls_get_addr.
7929 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
7930
7931 2015-04-27 H.J. Lu <hongjiu.lu@intel.com>
7932
7933 [BZ#18333]
7934 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
7935
7936 2015-04-27 Florian Weimer <fweimer@redhat.com>
7937
7938 [BZ#18333]
7939 * time/tzset.c (parse_tzname): Return error on memory allocation
7940 failure.
7941 * test-skeleton.c (struct temp_name_list): Change type of name
7942 member to non-const.
7943 (add_temp_file): Create a copy of the file name.
7944 (delete_temp_files): Deallocate memory.
7945 (create_temp_file): Add comment.
7946
7947 2015-04-24 Florian Weimer <fweimer@redhat.com>
7948
7949 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
7950 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
7951
7952 2015-04-24 Roland McGrath <roland@hack.frob.com>
7953
7954 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
7955 * sysdeps/arm/configure: Regenerated.
7956
7957 2015-04-24 Florian Weimer <fweimer@redhat.com>
7958
7959 [BZ #17715]
7960 * time/tzfile.c (__tzfile_read): Check for large values of
7961 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
7962 * time/tzset.c (__tzstring_len): New function, based on the old
7963 __tzstring function.
7964 (__tzstring): Call __tzstring_len.
7965 (parse_tzname): New helper function extracted from
7966 __tzset_parse_tz. Call __tzstring_len, without making a copy of
7967 the input string.
7968 (parse_offset): New helper function extracted from
7969 __tzset_parse_tz. Replace switch with fallthrough with
7970 initialization before sscanf.
7971 (parse_rule): Likewise.
7972 (__tzset_parse_tz): Rewrite using the new helper functions. Use
7973 new-style function definition.
7974 * timezone/Makefile (tests): Add tst-tzset.
7975 (tst-tzset.out): Dependencies on time zone files.
7976 (tst-tzset-ENV): Set TZDIR.
7977 (testdata/XT%): Copy crafted time zone files.
7978 * timezone/README: Mention crafted time zone files.
7979 * timezone/testdata/XT1, timezone/testdata/XT2,
7980 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
7981 files.
7982 * timezone/tst-tzset.c: New test.
7983
7984 2015-04-24 Florian Weimer <fweimer@redhat.com>
7985
7986 * Makeconfig (+gccwarn): Remove -Winline.
7987
7988 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
7989
7990 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
7991
7992 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
7993
7994 * NEWS: Mention sysconf() cache information support for s390.
7995 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
7996
7997 2015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
7998
7999 * math/k_casinh.c (__kernel_casinh): Use __copysign.
8000 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
8001 (__nearbyint): Likewise.
8002 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
8003 (copysignl): Likewise.
8004
8005 2015-04-21 Arjun Shankar <arjun.is@lostca.se>
8006
8007 [BZ #18287]
8008 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
8009 based on padding. (CVE-2015-1781)
8010
8011 2015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8012
8013 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
8014 libc-vdso.h.
8015 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
8016 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
8017 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
8018 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
8019 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
8020 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
8021 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
8022 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
8023 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
8024 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
8025 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
8026 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
8027 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
8028 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
8029 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
8030 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
8031 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
8032 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
8033 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
8034 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
8035 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
8036 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
8037 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
8038
8039 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
8040
8041 * stdlib/setenv.c (__add_to_environ):
8042 Dump core quickly if setenv (..., NULL, ...) is called.
8043 This time, do it the right way, and pacify GCC with a pragma.
8044
8045 2015-04-17 Roland McGrath <roland@hack.frob.com>
8046
8047 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
8048 IMAP->l_prev cannot be null, and #if out the code for the contrary
8049 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
8050 believe that NS (&_dl_ns[NSID]) could point outside the array.
8051
8052 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
8053 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
8054 before using NSID as an index.
8055
8056 2015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
8057
8058 [BZ #17825]
8059 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
8060 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
8061 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
8062
8063 2015-04-17 Roland McGrath <roland@hack.frob.com>
8064
8065 Add preliminary port to Google Native Client on ARM.
8066 * abi-tags (.*-.*-nacl.*): New entry.
8067 * sysdeps/arm/nacl: New directory.
8068 * sysdeps/nacl: New directory.
8069
8070 2015-04-16 David S. Miller <davem@davemloft.net>
8071
8072 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
8073 lowlevellock-futex.h
8074
8075 2015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
8076
8077 * sysdeps/tile/configure.ac: New file.
8078 * sysdeps/tile/configure: Regenerated.
8079
8080 2015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8081
8082 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
8083 conditionals for weak_alias and libc_hidden_weak.
8084 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
8085 libc_hidden_weak and weak_alias.
8086 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
8087 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
8088 and weak_alias for static one.
8089
8090 2015-04-15 David S. Miller <davem@davemloft.net>
8091
8092 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
8093
8094 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
8095
8096 [BZ #18206]
8097 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
8098 Use signed comparision instead of substraction to avoid
8099 overflow bug.
8100 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
8101 Take the sign of ret.
8102 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
8103 Do not expect precise return values. Only the sign matters.
8104 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
8105 * wcsmbs/test-wcsncmp.c: New File.
8106 * string/test-strncmp.c: Add wcsncmp support.
8107
8108 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
8109
8110 [BZ #6792]
8111 * math/w_log1p.c: New file.
8112 * math/w_log1pf.c: Likewise.
8113 * math/w_log1pl.c: Likewise.
8114 * math/Makefile (libm-calls): Add w_log1p.
8115 * math/s_log1pl.c (log1pl): Remove weak_alias.
8116 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
8117 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
8118 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
8119 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
8120 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
8121 [NO_LONG_DOUBLE] (log1pl): Likewise.
8122 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
8123 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
8124 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
8125 (log1p): Remove long_double_symbol.
8126 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
8127 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
8128 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
8129 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
8130 remove weak_alias for corresponding log1p function.
8131 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
8132 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
8133 * sysdeps/ia64/fpu/w_log1p.c: New file.
8134 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
8135 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
8136 * math/libm-test.inc (log1p_test_data): Add errno expectations.
8137
8138 2015-04-10 Joseph Myers <joseph@codesourcery.com>
8139
8140 [BZ #18247]
8141 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
8142 decimal exponent by 1.
8143 * stdlib/tst-strtod-round-data: Add more tests.
8144 * stdlib/tst-strtod-round.c (tests): Regenerated.
8145
8146 2015-04-09 Joseph Myers <joseph@codesourcery.com>
8147
8148 * math/auto-libm-test-in: Add more tests of clog and clog10.
8149 * math/auto-libm-test-out: Regenerated.
8150 * sysdeps/i386/fpu/libm-test-ulps: Update.
8151 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8152
8153 2015-04-09 Roland McGrath <roland@hack.frob.com>
8154
8155 * Makeconfig (module-cppflags): Exclude all .v.i files.
8156 (skip-module-cppflags): Variable removed.
8157
8158 * configure.ac (libc_config_ok): Initialize before reading
8159 preconfigure scripts, not after.
8160 * configure: Regenerated.
8161
8162 * test-skeleton.c (TIMEOUT): Move #define to top level.
8163 (main): Grok environment variable TEST_DIRECT. If set, print
8164 test expectation details into that file and then behave as if
8165 given --direct.
8166
8167 2015-04-09 Florian Weimer <fweimer@redhat.com>
8168
8169 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
8170 warning on 32-bit.
8171
8172 2015-04-08 David S. Miller <davem@davemloft.net>
8173
8174 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8175
8176 2015-04-08 Joseph Myers <joseph@codesourcery.com>
8177
8178 * math/auto-libm-test-in: Add more tests of atanh.
8179 * math/auto-libm-test-out: Regenerated.
8180 * sysdeps/i386/fpu/libm-test-ulps: Update.
8181 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8182
8183 * math/auto-libm-test-in: Add more tests of atan.
8184 * math/auto-libm-test-out: Regenerated.
8185 * sysdeps/i386/fpu/libm-test-ulps: Update.
8186 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8187
8188 2015-04-08 Florian Weimer <fweimer@redhat.com>
8189
8190 * elf/pldd.c (main): Rewrite to use struct
8191 scratch_buffer instead of extend_alloca.
8192 * elf/pldd-xx.c (find_maps): Likewise.
8193 * grp/initgroups.c: Include <scratch_buffer.h> instead of
8194 <alloca.h>.
8195 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
8196 scratch_buffer instead of extend_alloca.
8197 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
8198 grp/compat-initgroups.c.
8199 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
8200 Rewrite to use struct scratch_buffer instead of extend_alloca.
8201 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
8202 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
8203
8204 2015-04-08 Joseph Myers <joseph@codesourcery.com>
8205
8206 * math/auto-libm-test-in: Add more tests of cbrt.
8207 * math/auto-libm-test-out: Regenerated.
8208 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8209
8210 * math/auto-libm-test-in: Add more tests of cabs.
8211 * math/auto-libm-test-out: Regenerated.
8212 * sysdeps/i386/fpu/libm-test-ulps: Update.
8213 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8214
8215 [BZ #18210]
8216 [BZ #18211]
8217 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
8218 (__ieee754_atan2): Set FE_TONEAREST mode for internal
8219 computations.
8220 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
8221 clog10.
8222 * math/auto-libm-test-out: Regenerated.
8223 * sysdeps/i386/fpu/libm-test-ulps: Update.
8224 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8225
8226 [BZ #18197]
8227 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
8228 (atan): Set FE_TONEAREST mode for internal computations.
8229 * math/auto-libm-test-in: Add more tests of atan.
8230 * math/auto-libm-test-out: Regenerated.
8231
8232 2015-04-07 James Cowgill <james410@cowgill.org.uk>
8233
8234 [BZ #17930]
8235 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
8236
8237 2015-04-07 Florian Weimer <fweimer@redhat.com>
8238
8239 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
8240
8241 2015-04-07 Florian Weimer <fweimer@redhat.com>
8242
8243 * include/scratch_buffer.h: New file.
8244 * malloc/scratch_buffer_grow.c: Likewise.
8245 * malloc/scratch_buffer_grow_preserve.c: Likewise.
8246 * malloc/scratch_buffer_set_array_size.c: Likewise.
8247 * malloc/tst-scratch_buffer.c: Likewise.
8248 * malloc/Makefile (routines): Add scratch_buffer_grow.
8249 (tests): Add test case.
8250 * malloc/Versions (GLIBC_PRIVATE): Export
8251 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
8252 __libc_scratch_buffer_set_array_size.
8253
8254 2015-04-06 Richard Henderson <rth@redhat.com>
8255
8256 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
8257 * sysdeps/alpha/fpu/libm-test-ulps: Update.
8258
8259 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
8260 unsigned int before printing.
8261
8262 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8263
8264 [BZ #17596]
8265 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
8266 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
8267
8268 2015-04-02 Florian Weimer <fweimer@redhat.com>
8269
8270 * include/libc-internal.h (libc_max_align_t): Define.
8271
8272 2015-04-02 Andreas Schwab <schwab@suse.de>
8273
8274 [BZ #16850]
8275 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
8276
8277 2015-04-02 Mel Gorman <mgorman@suse.de>
8278
8279 [BZ #17195]
8280 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
8281 as well as the main arena.
8282
8283 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
8284
8285 [BZ #18185]
8286 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
8287 sharing L2 cache to 2 for Silvermont/Knights Landing.
8288
8289 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
8290
8291 [BZ #17711]
8292 * config.make.in (have-protected-data): New.
8293 * configure.ac: Check linker support for protected data symbol.
8294 * configure: Regenerated.
8295 * elf/Makefile (modules-names): Add tst-protected1moda and
8296 tst-protected1modb if $(have-protected-data) is yes.
8297 (tests): Add tst-protected1a and tst-protected1b if
8298 $(have-protected-data) is yes.
8299 ($(objpfx)tst-protected1a): New.
8300 ($(objpfx)tst-protected1b): Likewise.
8301 (tst-protected1modb.so-no-z-defs): Likewise.
8302 * elf/tst-protected1a.c: New file.
8303 * elf/tst-protected1b.c: Likewise.
8304 * elf/tst-protected1mod.h: Likewise.
8305 * elf/tst-protected1moda.c: Likewise.
8306 * elf/tst-protected1modb.c: Likewise.
8307
8308 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
8309
8310 [BZ #17711]
8311 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
8312 indicates it is called from do_lookup_x on relocation against
8313 protected data, skip the data definion in the executable from
8314 copy reloc.
8315 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
8316 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
8317 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
8318 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
8319 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
8320 otherwise to 0.
8321 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
8322 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
8323 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
8324 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
8325 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
8326 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
8327
8328 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
8329
8330 * sysdeps/nptl/pthread.h: Remove duplicate definition of
8331 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
8332
8333 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
8334
8335 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
8336 THREAD_SETMEM_NC.
8337 * sysdeps/x86_64/nptl/tls.h: Ditto.
8338
8339 2015-03-27 Roland McGrath <roland@hack.frob.com>
8340
8341 * dlfcn/tststatic.c (main): Converted to ...
8342 (do_test): ... this.
8343 (TEST_FUNCTION): New macro.
8344 Include test-skeleton.c.
8345
8346 2015-03-26 Alan Modra <amodra@gmail.com>
8347
8348 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
8349 Don't segfault if ifunc resolver returns a NULL. Do set plt to
8350 zero for undefined weak.
8351 (elf_machine_plt_conflict): Similarly.
8352
8353 2015-03-25 Joseph Myers <joseph@codesourcery.com>
8354
8355 * math/auto-libm-test-in: Add more tests of acosh, asinh and
8356 atanh.
8357 * math/auto-libm-test-out: Regenerated.
8358 * sysdeps/i386/fpu/libm-test-ulps: Update.
8359 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8360
8361 * math/auto-libm-test-in: Add another test of asin.
8362 * math/auto-libm-test-out: Regenerated.
8363 * sysdeps/i386/fpu/libm-test-ulps: Update.
8364 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8365
8366 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
8367 Remove macro.
8368 (LLL_EBX_REG): Likewise.
8369 (LLL_ENTER_KERNEL): Likewise.
8370
8371 * math/auto-libm-test-in: Add more tests of asin.
8372 * math/auto-libm-test-out: Regenerated.
8373 * sysdeps/i386/fpu/libm-test-ulps: Update.
8374 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8375
8376 [BZ #18138]
8377 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
8378 libc_do_syscall_args): New structure.
8379 (INTERNAL_SYSCALL_MAIN_0): New macro.
8380 (INTERNAL_SYSCALL_MAIN_1): Likewise.
8381 (INTERNAL_SYSCALL_MAIN_2): Likewise.
8382 (INTERNAL_SYSCALL_MAIN_3): Likewise.
8383 (INTERNAL_SYSCALL_MAIN_4): Likewise.
8384 (INTERNAL_SYSCALL_MAIN_5): Likewise.
8385 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
8386 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
8387 Replace conditional definitions by conditional definitions of ....
8388 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
8389 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
8390 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
8391 (libpthread-sysdep_routines): Add libc-do-syscall.
8392 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
8393 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
8394 to __NR_futex not 240.
8395
8396 2015-03-25 Alan Modra <amodra@gmail.com>
8397
8398 * NEWS: Advertise TLS optimization.
8399 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
8400 (DT_PPC_NUM): Increment.
8401 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
8402 (CHECK_STATIC_TLS): Use here.
8403 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
8404 TLS descriptors.
8405 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
8406 * sysdeps/powerpc/dl-tls.c: New file.
8407 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
8408 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
8409 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
8410 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
8411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
8412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
8413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
8414
8415 2015-03-25 Alan Modra <amodra@gmail.com>
8416
8417 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
8418 for overlapping .opd entries" to "support...".
8419 * sysdeps/powerpc/powerpc64/configure: Regenerate
8420
8421 2015-03-25 Joseph Myers <joseph@codesourcery.com>
8422
8423 * math/auto-libm-test-in: Add more tests of acos.
8424 * math/auto-libm-test-out: Regenerated.
8425 * sysdeps/i386/fpu/libm-test-ulps: Update.
8426 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8427
8428 * math/auto-libm-test-in: Add more tests of expm1.
8429 * math/auto-libm-test-out: Regenerated.
8430 * sysdeps/i386/fpu/libm-test-ulps: Update.
8431 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8432
8433 2015-03-24 Joseph Myers <joseph@codesourcery.com>
8434
8435 * math/auto-libm-test-in: Add more tests of cosh and sinh.
8436 * math/auto-libm-test-out: Regenerated.
8437 * sysdeps/i386/fpu/libm-test-ulps: Update.
8438 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8439
8440 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
8441 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8442
8443 * math/auto-libm-test-in: Add more tests of log2.
8444 * math/auto-libm-test-out: Regenerated.
8445 * sysdeps/i386/fpu/libm-test-ulps: Update.
8446 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8447
8448 2015-03-23 Roland McGrath <roland@hack.frob.com>
8449
8450 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
8451 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
8452 _IO_IS_APPENDING bit in READ_WRITE instead.
8453
8454 2015-03-23 Florian Weimer <fweimer@redhat.com>
8455
8456 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
8457 (__determine_cpumask_size): Replace extend_alloca with a
8458 variable-length array. Do not treat res == 0 as an error.
8459
8460 2015-03-23 Florian Weimer <fweimer@redhat.com>
8461
8462 [BZ #18100]
8463 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
8464 and integer overflow.
8465 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
8466 (main): Add integer overflow tests.
8467 * manual/pattern.texi (Calling Wordexp): Document additional use
8468 for WRDE_SYNTAX.
8469
8470 2015-03-23 Alan Modra <amodra@gmail.com>
8471
8472 * config.h.in: Remove HAVE_ASM_PPC_REL16.
8473 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
8474 and false branch of conditional.
8475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
8476 Likewise.
8477
8478 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
8479
8480 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
8481 libc-modules.h
8482 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
8483 unused declaration of _hurd_intr_rpc_msg_in_trap.
8484 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
8485 defined instead of whether it is non-zero.
8486 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
8487 input constraint instead of both input and output constraint. Use ecx
8488 clobber instead of %ecx.
8489 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
8490 mutex_unlock): Use a statement expression instead of an expression list.
8491 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
8492 type to vm_size_t instead of vm_address_t.
8493 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
8494 defined instead of whether it is non-zero.
8495 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
8496 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
8497 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
8498 comparisons with mapaddr.
8499 * nscd/nscd-client.h: Include <time.h>.
8500 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
8501 9th parameter to __vm_region instead of int.
8502 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
8503 * scripts/check-local-headers.sh (exclude): Add device/,
8504 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
8505 cthreads.h.
8506
8507 2015-03-19 Roland McGrath <roland@hack.frob.com>
8508
8509 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
8510 to account for alignment padding.
8511 * sysdeps/arm/memmove.S: Likewise.
8512
8513 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
8514
8515 * sysdeps/unix/sysv/linux/generic/README: New file.
8516
8517 2015-03-18 Joseph Myers <joseph@codesourcery.com>
8518
8519 [BZ #18138]
8520 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
8521 (futex_abstimed_wait)
8522 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
8523 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
8524 of lll_futex_timed_wait.
8525
8526 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
8527
8528 [BZ #17542]
8529 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
8530
8531 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
8532
8533 [BZ #17090]
8534 [BZ #17620]
8535 [BZ #17621]
8536 [BZ #17628]
8537 * NEWS: Update.
8538 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
8539 entries with Static TLS too. Skip entries past the end of the
8540 allocated DTV, from Alan Modra.
8541 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
8542 Static TLS DTV entry set up from...
8543 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
8544 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
8545 * nptl/allocatestack.c (init_one_static_tls): ... and here...
8546 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
8547 for Static TLS.
8548 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
8549 that the slot we find is associated with the given map before
8550 using its generation count.
8551 * nptl_db/db_info.c: Include ldsodefs.h.
8552 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
8553 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
8554 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
8555 (link_map::l_tls_offset): New struct field.
8556 (dtv_t::counter): Likewise.
8557 (rtld_global): New struct.
8558 (_rtld_global): New rtld variable.
8559 (dl_tls_dtv_slotinfo_list): New rtld global field.
8560 (dtv_slotinfo_list): New struct.
8561 (dtv_slotinfo): Likewise.
8562 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
8563 (td_lookup): Rename to...
8564 (td_mod_lookup): ... this. Use new mod parameter instead of
8565 LIBPTHREAD_SO.
8566 * nptl_db/td_thr_tlsbase.c: Include link.h.
8567 (dtv_slotinfo_list, dtv_slotinfo): New functions.
8568 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
8569 addresses even if the DTV is out of date or missing them.
8570 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
8571 index zero-length arrays.
8572 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
8573 (td_lookup): Make it a macro implemented in terms of...
8574 (td_mod_lookup): ... this declaration.
8575 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
8576 (DB_MAIN_VARIABLE): Likewise.
8577
8578 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
8579
8580 [BZ #18134]
8581 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
8582
8583 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
8584
8585 * stdlib/setenv.c (__add_to_environ): Revert previous change.
8586
8587 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
8588
8589 [BZ #18128]
8590 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
8591 (atomic_add, atomic_increment_and_test)
8592 (atomic_decrement_and_test): Fix 64-bit arithmetic.
8593
8594 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
8595
8596 * stdlib/setenv.c (__add_to_environ):
8597 Dump core quickly if setenv (..., NULL, ...) is called.
8598
8599 2015-03-13 Roland McGrath <roland@hack.frob.com>
8600
8601 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
8602 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
8603 all the necessary asm magic in one place.
8604 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
8605 using those.
8606
8607 2015-03-13 Carlos O'Donell <carlos@redhat.com>
8608
8609 [BZ #14906]
8610 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
8611 traced file mtime. Use consistent log message.
8612 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
8613 (register_traced_file): Call install_watches. Always set mtime.
8614 (invalidate_cache): Iterate over all trace files. Call install_watches.
8615 (inotify_check_files): Don't inline. Handle watching parent
8616 directories and configuration file movement in and out.
8617 (handle_inotify_events): New function.
8618 (main_loop_poll): Call handle_inotify_events.
8619 (main_loop_epoll): Likewise.
8620 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
8621 (struct traced_file): Use array of inotify fds. Add parent directory,
8622 and basename.
8623 (struct database_dyn): Remove unused file_mtime.
8624 (init_traced_file): New inline function.
8625 (define_traced_file): New macro.
8626 * nss/nss_db/db-init.c: Use define_traced_file.
8627 (_nss_db_init): Use init_traced_file.
8628 * nss/nss_files/files-init.c: Use define_traced_file.
8629 (_nss_files_init): Use init_traced_file.
8630
8631 2015-03-12 Joseph Myers <joseph@codesourcery.com>
8632
8633 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
8634 [_LIBC]: Do not include <stdlib.h>.
8635 [!_LIBC] (abort): Remove declaration.
8636 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
8637 _FP_STATIC_ASSERT instead of conditionally calling abort.
8638 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
8639 (_FP_EXTEND_CNAN): Likewise.
8640 (FP_TRUNC): Likewise.
8641 (__FP_CLZ): Likewise.
8642 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
8643
8644 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
8645
8646 * manual/string.texi (XPG basename): Fix prototype.
8647
8648 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
8649
8650 [BZ #18080]
8651 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
8652 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
8653 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
8654 (__setcontext): Likewise.
8655 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
8656 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
8657 Call rt_sigprocmask syscall one time to set new signal mask
8658 and retrieve the current signal mask instead of two calls.
8659 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
8660 (__swapcontext): Likewise.
8661 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
8662 * stdlib/tst-setcontext2.c: New file.
8663
8664 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
8665
8666 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8667
8668 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
8669
8670 [BZ #18093]
8671 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
8672 the wrong size.
8673
8674 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
8675
8676 [BZ #18043]
8677 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
8678
8679 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
8680
8681 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
8682 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
8683 Remove define.
8684 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
8685 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
8686 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
8687 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
8688 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
8689 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
8690 define.
8691 * nptl_db/td_symbol_list.c (td_lookup): Remove
8692 HAVE_ASM_GLOBAL_DOT_NAME code.
8693 * sysdeps/powerpc/powerpc64/configure.ac: Remove
8694 HAVE_ASM_GLOBAL_DOT_NAME check.
8695 * sysdeps/powerpc/powerpc64/configure: Regenerate.
8696 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
8697 (DOT_LABEL): Remove define.
8698 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
8699 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
8700 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
8701 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
8702 (__TLS_GET_ADDR): Likewise.
8703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
8704 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
8705
8706 2015-03-11 Carlos O'Donell <carlos@redhat.com>
8707
8708 [BZ #18111]
8709 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
8710 (_FPU_SETCW): Initialize cw from fpsr before storing.
8711 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
8712 (fesetexceptflag): Rewrite using fpu_control.h.
8713 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
8714
8715 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
8716
8717 [BZ #18110]
8718 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
8719 asms.
8720 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
8721
8722 2015-03-11 Joseph Myers <joseph@codesourcery.com>
8723
8724 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
8725 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
8726 abort.
8727 (_FP_FMA): Likewise.
8728 (_FP_DIV): Likewise.
8729
8730 2015-03-10 Roland McGrath <roland@hack.frob.com>
8731
8732 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
8733 with 0 in that case.
8734 * Makefile (summarize-tests): New canned sequence, factored out of
8735 commands for targets tests and xtests. Display summary lines that
8736 don't start with PASS: or XFAIL: rather than ones that do start with
8737 ERROR: or FAIL:. Make the commands fail if any summary lines fail
8738 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
8739 do start with ERROR: or FAIL:.
8740 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
8741 (except for [$(build-shared) = yes]).
8742 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
8743 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
8744 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
8745 * nptl/Makefile: Revert 2015-03-04 changes.
8746 [$(CXX) empty] (tests-unsupported): New variable.
8747 * debug/Makefile: Likewise.
8748
8749 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
8750 gnulib file. Replace __attribute with __attribute__ throughout.
8751
8752 2015-03-10 Carlos O'Donell <carlos@redhat.com>
8753
8754 * sysdeps/hppa/fpu/libm-test-ulps: Update.
8755
8756 2015-03-10 Joseph Myers <joseph@codesourcery.com>
8757
8758 [BZ #18104]
8759 * math/auto-libm-test-in: Add another test of pow.
8760 * math/auto-libm-test-out: Regenerated.
8761
8762 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8763
8764 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
8765 $(config-cflags-nofma).
8766
8767 2015-03-10 Joseph Myers <joseph@codesourcery.com>
8768
8769 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
8770 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
8771 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
8772 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
8773 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
8774 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
8775 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
8776 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
8777 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
8778 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
8779 Add comment on closing #endif.
8780
8781 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
8782
8783 * posix/wordexp.c (CHAR_IN_SET): New macro.
8784 (parse_param): Use it.
8785
8786 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8787
8788 * sysdeps/powerpc/fpu/libm-test-ulps: update.
8789
8790 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
8791
8792 [BZ #18043]
8793 * posix/wordexp.c (parse_param): Fix buffer overflow.
8794 * posix/wordexp-test.c (test_case): Add test case.
8795
8796 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
8797
8798 [BZ #18042]
8799 * posix/wordexp.c (parse_backtick): Fix off-by-one.
8800 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
8801
8802 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
8803
8804 [BZ #18043]
8805 * posix/wordexp-test.c (test_case): Add test for BZ #18043
8806 (do_bz18043): Delete.
8807 (at_page_end): New.
8808 (testit): Refactor to have words at the edge of unreadable page.
8809
8810 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
8811
8812 [BZ #16734]
8813 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
8814 Cleanup read-only streams as well.
8815 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
8816
8817 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
8818
8819 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
8820 <bits/libc-lockP.h>
8821
8822 2015-03-07 Joseph Myers <joseph@codesourcery.com>
8823
8824 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
8825 on [__KERNEL__].
8826 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
8827 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
8828 * soft-fp/op-common.h (_FP_DECL): Likewise.
8829
8830 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
8831
8832 * elf/ifuncdep2.c (global): Replace
8833 __attribute__((visibility("protected"))) with
8834 asm (".protected global").
8835 * elf/ifuncmod1.c (global): Likewise.
8836 * elf/ifuncmod5.c (global): Likewise.
8837
8838 2015-03-06 Joseph Myers <joseph@codesourcery.com>
8839
8840 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
8841 <asm/sfp-machine.h> instead of <sfp-machine.h>.
8842
8843 2015-03-06 Roland McGrath <roland@hack.frob.com>
8844
8845 * manual/install.texi (Configuring and compiling):
8846 Document test-wrapper-env-only.
8847 * INSTALL: Regenerated.
8848
8849 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8850
8851 [BZ #18043]
8852 * posix/wordexp.c (parse_param): Fix buffer overflow.
8853 * posix/wordexp-test.c (do_bz18043): Add test case.
8854
8855 2015-03-06 Vincent Bernat <vincent@bernat.im>
8856
8857 * time/tst-strptime2.c (do_test): Ensure failing tests are
8858 reported correctly.
8859 * time/tst-strptime3.c (do_test): Likewise.
8860
8861 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
8862
8863 Fix aio_error thread-safety.
8864 * sysdeps/pthread/aio_error.c: New file
8865 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
8866 synchronization.
8867
8868 2015-03-06 Florian Weimer <fweimer@redhat.com>
8869
8870 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
8871 (group_number, vfprintf): Use it.
8872 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
8873 (JUMP, REF): Use it.
8874 (WORK_BUFFER_SIZE): New enum constant.
8875 (process_arg, vfprintf): Use it.
8876
8877 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
8878
8879 * manual/errno.texi (Error Messages): Complete example function
8880 by adding missing #define.
8881 (program_invocation_name): Add statement indicating GNU
8882 extension and reference which header file declares the variable.
8883 (program_invocation_short_name): Likewise.
8884
8885 2015-03-06 Mike Frysinger <vapier@gentoo.org>
8886
8887 * manual/errno.texi (Error Messages): Delete strerror ISO C89
8888 compatibility note.
8889
8890 2015-03-05 Roland McGrath <roland@hack.frob.com>
8891
8892 * Makeconfig (test-wrapper-env-only): New variable.
8893 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
8894 then use that with $(test-wrapper-env-only) rather than using
8895 $(test-wrapper-env) $(run-program-env) $($*-ENV).
8896
8897 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
8898
8899 [BZ #18082]
8900 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
8901 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
8902 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
8903 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
8904 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
8905 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
8906 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
8907 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
8908 Likewise.
8909 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
8910 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
8911 Likewise.
8912 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
8913 Likewise.
8914 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
8915 Likewise.
8916 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
8917 Likewise.
8918 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
8919 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
8920 Likewise.
8921 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
8922 Likewise.
8923 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
8924 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
8925
8926 2015-03-04 Roland McGrath <roland@hack.frob.com>
8927
8928 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
8929 (ETH_ALEN): New macro.
8930 (struct ether_addr): Use it for length of ether_addr_octet.
8931
8932 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
8933 (setdb): Don't call __nss_configure_lookup for "rpc".
8934 (do_test): Don't call test_rpc.
8935 (output_rpcent, test_rpc): Functions moved ...
8936 * sunrpc/test-rpcent.c: ... to this new file.
8937 * sunrpc/Makefile (tests): Add it.
8938
8939 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
8940 __xpg_sigpause.
8941 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
8942 * nptl/tst-signal6.c: Likewise.
8943 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
8944 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
8945
8946 * configure.ac (libc_cv_cxx_link_ok): New check.
8947 Reset CXX to empty if it fails to link.
8948 * configure: Regenerated.
8949 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
8950 bug-atexit3-lib only if $(CXX) is nonempty.
8951 * nptl/Makefile (tests): Likewise for tst-cancel24.
8952 (tests, tests-static): Likewise for tst-cancel24-static.
8953 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
8954 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
8955 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
8956 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
8957
8958 2015-03-04 Andreas Schwab <schwab@suse.de>
8959
8960 [BZ #17631]
8961 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
8962 for non-GCC compilers.
8963 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
8964 Likewise.
8965
8966 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
8967
8968 [BZ #17776]
8969 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
8970 integer before bitwise and assembly operations.
8971 (feclearexcept): Likewise.
8972 * math/test-fenvinline.c: New file.
8973 * math/Makefile: Add test-fenvinline test.
8974
8975 2015-03-03 Alan Modra <amodra@gmail.com>
8976
8977 [BZ #16512]
8978 * scripts/localplt.awk: Strip off symbol version.
8979 * NEWS: Mention bug fix.
8980
8981 2015-03-02 Roland McGrath <roland@hack.frob.com>
8982
8983 * sysdeps/pthread/timer_routines.c
8984 (timer_free_list, thread_free_list, thread_active_list): Make static.
8985
8986 2015-03-02 Joseph Myers <joseph@codesourcery.com>
8987
8988 [BZ #17779]
8989 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8990 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
8991 Undefine.
8992 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8993 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
8994 Likewise.
8995 * sysdeps/unix/sysv/linux/sh/kernel-features.h
8996 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
8997 Likewise.
8998
8999 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
9000
9001 [BZ #18036]
9002 * posix/fnmatch_loop.c (END): Detect invalid pattern.
9003 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
9004
9005 2015-03-02 Andreas Schwab <schwab@suse.de>
9006
9007 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
9008 variable name.
9009
9010 2015-03-02 Florian Weimer <fweimer@redhat.com>
9011
9012 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
9013 Return error status.
9014
9015 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
9016
9017 [BZ #15969]
9018 * locale/findlocale.c (_nl_find_locale): Introduce const
9019 version of loc_name and drop unsafe type casts.
9020
9021 2015-02-27 Roland McGrath <roland@hack.frob.com>
9022
9023 * dlfcn/tststatic2.c (main): Converted to ...
9024 (do_test): ... this.
9025 (TEST_FUNCTION): New macro.
9026 Include test-skeleton.c.
9027
9028 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
9029
9030 [BZ #17711]
9031 * elf/Makefile (tests): Add vismain only if PIE is enabled.
9032 (tests-pie): Add vismain.
9033 (CFLAGS-vismain.c): New.
9034 * elf/vismain.c: Add comments for PIE requirement.
9035
9036 2015-02-27 Joseph Myers <joseph@codesourcery.com>
9037
9038 [BZ #18046]
9039 [BZ #18047]
9040 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
9041 0x1p-56L as threshold for just returning the argument.
9042 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
9043 0x1p-32L as threshold for just returning the argument.
9044 * math/auto-libm-test-in: Add more tests of atanh.
9045 * math/auto-libm-test-out: Regenerated.
9046 * sysdeps/i386/fpu/libm-test-ulps: Update.
9047 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
9048
9049 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
9050
9051 * string/bcopy.c (bcopy): Call memmove for performance.
9052
9053 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
9054
9055 * string/bzero.c (__bzero): Call memset for performance.
9056
9057 2015-02-27 John David Anglin <dave.anglin@bell.net>
9058
9059 [BZ #18068]
9060 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
9061 to 00100000.
9062
9063 2015-02-27 Joseph Myers <joseph@codesourcery.com>
9064
9065 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
9066
9067 2015-02-26 Joseph Myers <joseph@codesourcery.com>
9068
9069 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
9070 (__kernel_standard): Use CSTR macro when setting exc.name.
9071 * sysdeps/ieee754/Makefile [$(subdir) = math]
9072 (CFLAGS-k_standard.c): Remove variable.
9073
9074 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
9075 setting p and q from "else if" to "else".
9076 (qzero): Likewise.
9077 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
9078 (qone): Likewise.
9079 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
9080 (qzerof): Likewise.
9081 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
9082 (qonef): Likewise.
9083 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
9084 (qzero): Likewise.
9085 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
9086 (qone): Likewise.
9087
9088 [BZ #18038]
9089 [BZ #18039]
9090 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
9091 return pi/2 for arguments below 0x1p-113L.
9092 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
9093 return pi/2 for arguments below 0x1p-106L.
9094 * math/auto-libm-test-in: Add more tests of acos.
9095 * math/auto-libm-test-out: Regenerated.
9096
9097 [BZ #16351]
9098 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
9099 (MO): New macro.
9100 (__ieee754_asin): Force underflow exception for results with small
9101 absolute value.
9102 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
9103 (MO): New macro.
9104 (__ieee754_asinf): Force underflow exception for results with
9105 small absolute value.
9106 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
9107 (__ieee754_asin): Force underflow exception for results with small
9108 absolute value.
9109 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
9110 (__ieee754_asinf): Force underflow exception for results with
9111 small absolute value.
9112 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
9113 (__ieee754_asinl): Force underflow exception for results with
9114 small absolute value.
9115 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
9116 (__ieee754_asinl): Force underflow exception for results with
9117 small absolute value.
9118 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
9119 (__ieee754_asinl): Force underflow exception for results with
9120 small absolute value.
9121 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
9122 Include <math.h>.
9123 * math/auto-libm-test-in: Do not mark underflow exceptions as
9124 possibly missing for bug 16351.
9125 * math/auto-libm-test-out: Regenerated.
9126
9127 [BZ #18030]
9128 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
9129 of power of 2 down when low part has opposite sign.
9130 * math/libm-test.inc (logb_test_data): Add more tests.
9131
9132 2015-02-26 Andreas Schwab <schwab@suse.de>
9133
9134 [BZ #18032]
9135 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
9136 over collating symbol inside a bracket expression. Minor cleanup.
9137 * posix/tst-fnmatch3.c (do_test): Add test case.
9138
9139 2015-02-26 Joseph Myers <joseph@codesourcery.com>
9140
9141 [BZ #18029]
9142 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
9143 Adjust exponent of power of 2 down when low part has opposite
9144 sign.
9145 * math/libm-test.inc (ilogb_test_data): Add more tests.
9146
9147 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
9148
9149 [BZ #15969]
9150 * locale/findlocale.c (_nl_find_locale): Fix constness error in
9151 the previous change.
9152
9153 [BZ #15969]
9154 * locale/findlocale.c (_nl_find_locale): Retry archive search
9155 after alias expansion.
9156
9157 2015-02-25 Roland McGrath <roland@hack.frob.com>
9158
9159 * iconv/tst-iconv3.c (main): Converted to ...
9160 (do_test): ... this.
9161 (TEST_FUNCTION): New macro.
9162 Include test-skeleton.c.
9163
9164 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
9165 (convert): Make function static.
9166 (test_unalign): Likewise. Add const to argument pointee types.
9167 (main): Replace with static function do_test.
9168 Print "Succeeded." only if RET is zero.
9169 (TEST_FUNCTION): New macro.
9170 Include test-skeleton.c.
9171
9172 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
9173 returns a null pointer.
9174
9175 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9176
9177 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
9178 to __memcpy_ppc only for static builds.
9179
9180 2015-02-25 Joseph Myers <joseph@codesourcery.com>
9181
9182 [BZ #18020]
9183 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
9184 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
9185 * math/auto-libm-test-in: Add more tests of asinh.
9186 * math/auto-libm-test-out: Regenerated.
9187 * sysdeps/i386/fpu/libm-test-ulps: Update.
9188 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9189
9190 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
9191
9192 [BZ #15850]
9193 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
9194 and ip6_mtuinfo definitions here.
9195 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
9196 in this define too. Update comment.
9197
9198 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
9199
9200 * elf/sprof.c (load_shobj): Tweak error message to match others.
9201
9202 2015-02-24 Kevin Easton <kevin@guarana.org>
9203
9204 [BZ #16145] (partial fix)
9205 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
9206 to reduce lock contention.
9207
9208 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
9209
9210 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
9211 (struct timex): Update time comment.
9212 (ADJ_SETOFFSET): Define.
9213
9214 2015-02-24 Joseph Myers <joseph@codesourcery.com>
9215
9216 [BZ #18019]
9217 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
9218 2**56 not 2**28 as threshold for log (2x) formula.
9219 * math/auto-libm-test-in: Add more tests of acosh.
9220 * math/auto-libm-test-out: Regenerated.
9221 * sysdeps/i386/fpu/libm-test-ulps: Update.
9222 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9223
9224 2015-02-24 Mike Frysinger <vapier@gentoo.org>
9225
9226 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
9227 parenthesis around the buf assignment.
9228 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
9229
9230 2015-02-24 Joseph Myers <joseph@codesourcery.com>
9231
9232 [BZ #16783]
9233 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
9234 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
9235 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
9236 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
9237 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
9238 * math/libm-test.inc (scalb_test_data): Add more tests.
9239
9240 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
9241
9242 [BZ #17916]
9243 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
9244 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
9245
9246 2015-02-24 Eric Rannaud <e@nanocritical.com>
9247
9248 [BZ #17523]
9249 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
9250 * io/bits/fcntl2.h (open): Use it.
9251 (openat): Likewise.
9252 * io/open.c (__libc_open): Likewise.
9253 * io/open64.c (__libc_open64): Likewise.
9254 * io/open64_2.c (__open64_2): Likewise.
9255 * io/open_2.c (__open_2): Likewise.
9256 * io/openat.c (__openat): Likewise.
9257 * io/openat64.c (__openat64): Likewise.
9258 * io/openat64_2.c (__openat64_2): Likewise.
9259 * io/openat_2.c (__openat_2): Likewise.
9260 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
9261 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
9262 * sysdeps/posix/open64.c (__libc_open64): Likewise.
9263 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
9264 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
9265 (__open_nocancel): Likewise.
9266 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
9267 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
9268 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
9269
9270 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9271
9272 [BZ #14841]
9273 * resolv/gethnamaddr.c (getanswer): Skip logging if
9274 RES_USE_DNSSEC is set.
9275 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
9276
9277 2015-02-24 Mike Frysinger <vapier@gentoo.org>
9278
9279 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
9280
9281 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
9282
9283 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
9284 201304L, for Unicode 7.
9285
9286 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
9287
9288 [BZ #17836]
9289 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
9290 shared library. Add gmon-start.os otherwise.
9291 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
9292 $(objpfx)gmon-start.os if builing shared library.
9293 ($(objpfx)g$(static-start-installed-name)): Likewise.
9294
9295 2015-02-23 Andreas Schwab <schwab@suse.de>
9296
9297 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
9298
9299 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
9300
9301 [BZ #17269]
9302 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
9303 (enlarge_userbuf): Likewise.
9304
9305 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
9306
9307 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
9308 * math/atest-exp.c (TIMEOUT): Adjust to 200.
9309 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
9310 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
9311
9312 2015-02-20 Joseph Myers <joseph@codesourcery.com>
9313
9314 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
9315 expression inside statement expression.
9316
9317 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
9318
9319 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
9320 <sysdeps/nptl/lowlevellock.h> and remove macros and
9321 functions that are now defined there.
9322 (SYS_futex): Remove.
9323 (lll_compare_and_swap): Remove.
9324 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
9325
9326 2015-02-19 Joseph Myers <joseph@codesourcery.com>
9327
9328 [BZ #17999]
9329 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
9330 instead of scandirat.
9331 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
9332 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
9333 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
9334 __scandirat.
9335 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
9336 (__scandirat): Declare. Use libc_hidden_proto.
9337 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
9338 Remove variable.
9339 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
9340
9341 2015-02-18 Joseph Myers <joseph@codesourcery.com>
9342
9343 [BZ #15319]
9344 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
9345 (MO): New macro.
9346 (__ieee754_atan2): For results with small absolute value, force
9347 underflow exception and remove excess range and precision from
9348 return value.
9349 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
9350 (MO): New macro.
9351 (__ieee754_atan2f): For results with small absolute value, force
9352 underflow exception and remove excess range and precision from
9353 return value.
9354 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
9355 (MO): New macro.
9356 (__atan): For results with small absolute value, force underflow
9357 exception and remove excess range and precision from return value.
9358 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
9359 (MO): New macro.
9360 (__atanf): For results with small absolute value, force underflow
9361 exception and remove excess range and precision from return value.
9362 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
9363 <math.h>.
9364 (__ieee754_atan2): Force underflow exception for results with
9365 small absolute value.
9366 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
9367 <math_private.h>.
9368 (atan): Force underflow exception for results with small absolute
9369 value.
9370 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
9371 (__atanf): Force underflow exception for results with small
9372 absolute value.
9373 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
9374 <math.h>.
9375 (__atanl): Force underflow exception for results with small
9376 absolute value.
9377 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
9378 (__atanl): Force underflow exception for results with small
9379 absolute value.
9380 * sysdeps/x86/fpu/bits/mathinline.h
9381 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
9382 (__ieee754_atan2): Only define inline for long double.
9383 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
9384 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
9385 * math/auto-libm-test-in: Do not mark underflow exceptions as
9386 possibly missing for bug 15319. Add more tests of atan2.
9387 * math/auto-libm-test-out: Regenerated.
9388 * math/libm-test.inc (casin_test_data): Do not mark underflow
9389 exceptions as possibly missing for bug 15319.
9390 (casinh_test_data): Likewise.
9391 * sysdeps/i386/fpu/libm-test-ulps: Update.
9392
9393 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
9394
9395 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
9396 * sysdeps/mips/bits/endian.h: Fix comments.
9397
9398 2015-02-18 Joseph Myers <joseph@codesourcery.com>
9399
9400 [BZ #17996]
9401 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
9402 (hdestroy_r): Likewise.
9403 (hsearch_r): Likewise.
9404 (__hcreate_r): Declare and use libc_hidden_proto.
9405 (__hdestroy_r): Likewise.
9406 (__hsearch_r): Likewise.
9407 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
9408 (hcreate): Call __hcreate_r instead of hcreate_r.
9409 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
9410 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
9411 as weak alias of __hcreate_r.
9412 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
9413 __hdestroy_r.
9414 (hsearch_r): Rename to __hsearch_r and define as weak alias of
9415 __hsearch_r.
9416 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
9417 Remove variable.
9418 (test-xfail-XPG4/search.h/linknamespace): Likewise.
9419 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
9420 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
9421 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
9422
9423 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9424
9425 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
9426 arena_lock into a single arena_get.
9427
9428 2015-02-17 Carlos O'Donell <carlos@redhat.com>
9429
9430 * dl-reloc.c: Inlucde libc-internal.h.
9431 (_dl_try_allocate_static_tls): Call ALIGN_UP.
9432 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
9433 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
9434 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
9435 (grow_heap): Likewise.
9436 * malloc/malloc.c: Include libc-internal.h.
9437 (do_check_malloc): Call powerof2.
9438 (sysmalloc): Use pagesize. Call ALIGN_UP.
9439 (systrim): Use pagesize.
9440 (mremap_chunk): Use pagesize. Call ALIGN_UP.
9441 (__libc_valloc): Use pagesize.
9442 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
9443
9444 2015-02-17 Joseph Myers <joseph@codesourcery.com>
9445
9446 [BZ #17991]
9447 * include/sys/resource.h (__getrlimit64): Declare. Use
9448 libc_hidden_proto.
9449 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
9450 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
9451 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
9452 getrlimit64.
9453 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
9454 __getrlimit64.
9455 [!getrlimit64] (getrlimit64): Define as weak alias of
9456 __getrlimit64. Use libc_hidden_weak.
9457 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
9458 using __getrlimit64 not __new_getrlimit64.
9459 (__GI_getrlimit64): Likewise.
9460 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
9461 Likewise.
9462 (__GI_getrlimit64): Likewise.
9463 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
9464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
9465 (getrlimit): Add __getrlimit64 alias.
9466 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
9467 Likewise.
9468 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
9469 Remove variable.
9470 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
9471 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
9472
9473 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
9474
9475 * libio/fileops.c: Add missing sys/mman.h
9476 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
9477
9478 2015-02-17 Joseph Myers <joseph@codesourcery.com>
9479
9480 * manual/math.texi (Errors in Math Functions): Clarify goals
9481 regarding inexact and underflow exceptions.
9482
9483 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
9484
9485 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
9486 * sysdeps/mips/memset.S: Ditto.
9487
9488 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
9489
9490 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
9491
9492 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
9493
9494 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
9495 (__v1longjmp): Remove versioned symbol.
9496 (__v1siglongjmp): Remove alias and versioned symbol.
9497 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
9498 (__v2siglongjmp): Likewise.
9499
9500 2015-02-16 Torvald Riegel <triegel@redhat.com>
9501
9502 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
9503
9504 2015-02-16 Mike Frysinger <vapier@gentoo.org>
9505
9506 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
9507
9508 2015-02-16 Joseph Myers <joseph@codesourcery.com>
9509
9510 [BZ #17987]
9511 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
9512 zero result does not depend on the sign resulting from
9513 subtraction.
9514 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
9515 Likewise.
9516 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
9517 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
9518 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
9519 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
9520 * math/libm-test.inc (remquo_test_data): Add more tests.
9521
9522 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
9523
9524 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
9525 Problem reported by J William Piggott.
9526
9527 2015-02-16 Joseph Myers <joseph@codesourcery.com>
9528
9529 [BZ #17978]
9530 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
9531 products 4 * y and 2 * y where those would overflow.
9532 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
9533 Likewise.
9534 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
9535 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
9536 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
9537 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
9538 * math/libm-test.inc (remquo_test_data): Add more tests.
9539
9540 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
9541
9542 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
9543 [defined _COMPILING_NEWLIB].
9544 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
9545 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
9546
9547 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
9548 [!defined __mips_isa_rev || __mips_isa_rev < 6].
9549
9550 2015-02-16 Torvald Riegel <triegel@redhat.com>
9551
9552 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
9553 acquired.
9554
9555 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
9556
9557 [BZ #17792]
9558 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
9559 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
9560 HOST_STACK_END_ADDR): Likewise.
9561
9562 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
9563
9564 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
9565 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
9566 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
9567
9568 2015-02-13 Roland McGrath <roland@hack.frob.com>
9569
9570 * sysdeps/generic/c++-types.data: New file.
9571 * sysdeps/generic/ld.abilist: New file.
9572 * sysdeps/generic/libBrokenLocale.abilist: New file.
9573 * sysdeps/generic/libanl.abilist: New file.
9574 * sysdeps/generic/libc.abilist: New file.
9575 * sysdeps/generic/libcrypt.abilist: New file.
9576 * sysdeps/generic/libdl.abilist: New file.
9577 * sysdeps/generic/libm.abilist: New file.
9578 * sysdeps/generic/libpthread.abilist: New file.
9579 * sysdeps/generic/libresolv.abilist: New file.
9580 * sysdeps/generic/librt.abilist: New file.
9581
9582 2015-02-13 Joseph Myers <joseph@codesourcery.com>
9583
9584 [BZ #17569]
9585 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
9586 Compute absolute value of x as modified by fmod, not original
9587 value of x.
9588 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
9589 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
9590 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
9591 RUN_TEST_ffI_f1_mod8.
9592 (remquo_test_data): Add more tests.
9593
9594 2015-02-13 Roland McGrath <roland@hack.frob.com>
9595
9596 * sysdeps/init_array/pt-crti.S: New file.
9597
9598 2015-02-13 Joseph Myers <joseph@codesourcery.com>
9599
9600 [BZ #17967]
9601 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
9602 __builtin_fmaf instead of relying on contraction of a * b + c.
9603
9604 2015-02-12 J William Piggott <elseifthen@gmx.com>
9605
9606 [BZ #17969]
9607 * manual/time.texi: correct the zoneinfo path in the TZ Variable
9608 node.
9609
9610 2015-02-12 Joseph Myers <joseph@codesourcery.com>
9611
9612 [BZ #17964]
9613 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
9614 __builtin_fma instead of relying on contraction of a * b + c.
9615
9616 2015-02-12 Roland McGrath <roland@hack.frob.com>
9617
9618 * Makeconfig (ASFLAGS): Add -Werror=undef.
9619 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
9620 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
9621 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
9622
9623 * Makeconfig (after-link): New variable.
9624 (+link-pie, +link-pie-tests): Use it.
9625 (+link-static, +link-static-tests): Likewise.
9626 (+link, +link-tests): Likewise.
9627 * Makerules (build-module, build-module-asneeded): Likewise.
9628 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
9629 Likewise.
9630 * elf/Makefile ($(objpfx)ld.so): Likewise.
9631
9632 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
9633
9634 [BZ #17965]
9635 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
9636 both struct timeval and struct timespec.
9637
9638 2015-02-12 Joseph Myers <joseph@codesourcery.com>
9639
9640 [BZ #16560]
9641 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
9642 and redefine.
9643 (__ieee754_exp2l): Do not multiply small fractional parts by
9644 M_LN2l.
9645 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
9646 small argument.
9647 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
9648 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
9649 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
9650 * math/auto-libm-test-in: Add more tests of exp2.
9651 * math/auto-libm-test-out: Regenerated.
9652
9653 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9654
9655 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
9656 unaligned path.
9657
9658 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9659
9660 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
9661 little endian.
9662
9663 2015-02-12 Andreas Schwab <schwab@suse.de>
9664
9665 [BZ #15790]
9666 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
9667 Filter out elision flags from value returned in kind.
9668 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
9669 * nptl/tst-pthread-mutexattr.c: New file.
9670
9671 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
9672
9673 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
9674 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
9675 into gnu-gnu, and update comment to refer to abi-tags.
9676
9677 2015-02-11 Joseph Myers <joseph@codesourcery.com>
9678
9679 [BZ #15467]
9680 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
9681 (__sincos): Set errno to EDOM for infinite argument.
9682 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
9683 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
9684 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
9685 (__sincosl): Set errno to EDOM for infinite argument.
9686 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
9687 (__sincosl): Set errno to EDOM for infinite argument.
9688 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
9689 (__sincosl): Set errno to EDOM for infinite argument.
9690 * math/libm-test.inc (sincos_test_data): Test errno setting.
9691
9692 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
9693
9694 * string/strxfrm_l.c: Remove #define STRCMP.
9695 * string/strcoll_l.c: Remove #define STRLEN.
9696 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
9697 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
9698
9699 2015-02-10 Joseph Myers <joseph@codesourcery.com>
9700
9701 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
9702 * sysdeps/mips/mips32/sfp-machine.h: ... here.
9703 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
9704 * sysdeps/mips/mips64/Makefile: ... here.
9705 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
9706 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
9707 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
9708 * sysdeps/mips/mips64/sfp-machine.h: ... here.
9709 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
9710 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
9711 * sysdeps/mips/mips64/n64/Implies: Likewise.
9712
9713 2015-02-10 Roland McGrath <roland@hack.frob.com>
9714
9715 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
9716 <sys/time.h>, <string.h>, and <errno.h>.
9717 (dest_offset, dest_address, value, zero): Remove unused variables.
9718 (ldouble): Remove typedef.
9719 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
9720 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
9721 1). Fix code style.
9722 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
9723 (check): Function removed.
9724 (CHECK): New macro.
9725 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
9726 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
9727 Don't call set_sigaction_FP and remove_sigaction_FP here.
9728 (ldouble_test): Just use 'long double' as macro argument, no need for
9729 the 'ldouble' typedef.
9730 (do_test): Set up SIGFPE handler at start, using plain signal rather
9731 than sigaction. Fix code style.
9732
9733 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
9734
9735 [BZ #17949]
9736 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
9737 jump label.
9738
9739 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
9740
9741 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
9742 * sysdeps/powerpc/powerpc32/configure: Regenerated.
9743
9744 * sysdeps/powerpc/configure.ac: Remove file.
9745 * sysdeps/powerpc/configure: Likewise.
9746
9747 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
9748 [sysdep_routines]: Remove wordcopy-power6 object.
9749 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
9750 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
9751 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
9752 (__memmove_ppc32): Likewise.
9753 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
9754 file.
9755 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
9756 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
9757 Remove preprocessor.
9758
9759 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
9760 [sysdep_routines]: Remove wide chars objects.
9761 [wcsmbs]: New rule for wide char objects.
9762
9763 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9764 Remove wordcopy-power6 obejct.
9765 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
9766 Use local call for wordcopy and memcpy symbols.
9767 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
9768 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
9769 implementation for loader.
9770 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
9771
9772 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9773 Remove wordcopy-power7 object.
9774 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
9775 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
9776 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
9777 (_wordcopy_fwd_dest_aligned): Likewise.
9778 (_wordcopy_bwd_aligned): Likewise.
9779 (_wordcopy_bwd_dest_aligned): Likewise.
9780
9781 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
9782 Rewrite to call __memmove_ppc instead of include default
9783 implementation.
9784
9785 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9786 Remove wide chars objects.
9787 [wcsmbs]: New rule for wide char objects.
9788
9789 2015-02-09 Andreas Schwab <schwab@suse.de>
9790
9791 [BZ #17912]
9792 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
9793 in terms of __O_DIRECTORY.
9794
9795 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
9796
9797 * time/getdate.c: Include <stdbool.h>.
9798 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
9799 call PTR_MANGLE.
9800 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
9801 PTR_DEMANGLE.
9802
9803 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
9804
9805 Add ersatz _Static_assert on older C hosts
9806 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
9807 pre-C11 C platform that is not known to support _Static_assert.
9808
9809 2015-02-07 Richard Braun <rbraun@sceen.net>
9810
9811 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
9812 sigstate.
9813 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
9814
9815 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
9816
9817 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
9818 priority against unexistent AIO_PRIO_DELTA_MAX.
9819 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
9820 instead of int.
9821 * misc/fchflags.c (fchflags): Likewise.
9822 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
9823 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
9824 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
9825 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
9826 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
9827 Declare macros.
9828 [__USE_MISC] (chflags, fchflags): Declare functions.
9829 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
9830 EINVAL when nfds is greater than FD_SETSIZE.
9831 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
9832 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
9833 45.
9834 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
9835 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
9836 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
9837 MACH_RCV_TIMED_OUT.
9838 * hurd/hurd/signal.h (_hurd_self_sigstate,
9839 _hurd_critical_section_lock, _hurd_critical_section_unlock):
9840 Explicit casts from void *.
9841 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
9842 * abi-tags: Rename gnu-gnu os into gnu.
9843
9844 [BZ #4719]
9845 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
9846 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
9847 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
9848 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
9849 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
9850 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
9851
9852 [BZ #17944]
9853 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
9854 duplicates ADDR->sun_path with sockaddr LEN limitation.
9855 * sysdeps/mach/hurd/connect.c: Include <string.h>
9856 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
9857 * sysdeps/mach/hurd/sendmsg.c: Likewise.
9858 * sysdeps/mach/hurd/sendto.c: Likewise.
9859 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
9860 implementing it by hand.
9861
9862 2015-02-06 Roland McGrath <roland@hack.frob.com>
9863
9864 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
9865 Use sfi_breg on ldr.
9866 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
9867 Likewise.
9868
9869 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
9870 it's defined.
9871 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
9872 Test SIGSETXID only if it's defined.
9873
9874 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
9875
9876 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
9877 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
9878
9879 * nptl/tst-align2.c: Moved ...
9880 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
9881 * nptl/Makefile (tests): Remove tst-align2.
9882 * sysdeps/unix/sysv/linux/Makefile
9883 [$(subdir) = nptl] (tests): Add tst-align-clone.
9884 * nptl/tst-getpid1.c: Moved ...
9885 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
9886 * nptl/tst-getpid2.c: Moved ...
9887 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
9888 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
9889 * sysdeps/unix/sysv/linux/Makefile
9890 [$(subdir) = nptl] (tests): ... here.
9891 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
9892 * sysdeps/unix/sysv/linux/Makefile
9893 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
9894
9895 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
9896 Drop trailing \n from perror argument. Use return rather than exit.
9897
9898 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
9899 on [SA_SIGINFO].
9900 * nptl/tst-cancel21.c (do_test): Likewise.
9901 * debug/tst-backtrace6.c: Include <signal.h> first thing.
9902 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
9903 [!SA_SIGINFO]: Make it a stub test.
9904
9905 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
9906 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
9907
9908 * posix/tst-getlogin.c: Move to ...
9909 * login/tst-getlogin.c: ... here.
9910 * posix/Makefile (tests): Move tst-getlogin to ...
9911 * login/Makefile (tests): ... here.
9912
9913 * libio/tst-atime.c (do_test): Move local variables SV and E
9914 inside [ST_NOATIME] conditional.
9915
9916 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
9917
9918 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
9919
9920 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
9921 (wait_code): New function replaces macro.
9922 Call nanosleep rather than syscall.
9923
9924 * nptl/pt-system.c: Rewritten. Put everything under
9925 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
9926 Use IFUNC to redirect when possible.
9927
9928 * nptl/pt-longjmp.c: Rewritten. Put everything under
9929 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
9930 Use IFUNC to redirect when possible.
9931
9932 * nptl/pt-fork.c: Rewritten. Put everything under
9933 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
9934 Use IFUNC to redirect when possible.
9935 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
9936
9937 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
9938 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
9939 unconditionally nowadays. This included the only reference to
9940 __vdso_clock_gettime that appears outside libc proper.
9941 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
9942 Remove version set (containing only __vdso_clock_gettime).
9943 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
9944 Add attribute_hidden.
9945 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
9946 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
9947 libc_hidden_data_def.
9948 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
9949 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
9950
9951 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
9952 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
9953 setrpcent, and getrpcport to ...
9954 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
9955 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
9956 getrpcbynumber_r, and getrpcent_r to ...
9957 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
9958 * inet/getrpcbyname.c: Moved ...
9959 * sunrpc/getrpcbyname.c: ... here.
9960 * inet/getrpcbyname_r.c: Moved ...
9961 * sunrpc/getrpcbyname_r.c: ... here.
9962 * inet/getrpcbynumber.c: Moved ...
9963 * sunrpc/getrpcbynumber.c: ... here.
9964 * inet/getrpcbynumber_r.c: Moved ...
9965 * sunrpc/getrpcbynumber_r.c: ... here.
9966 * inet/getrpcent.c: Moved ...
9967 * sunrpc/getrpcent.c: ... here.
9968 * inet/getrpcent_r.c: Moved ...
9969 * sunrpc/getrpcent_r.c: ... here.
9970 * inet/Makefile (routines): Move those to ...
9971 * sunrpc/Makefile (routines): ... here.
9972 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
9973 the $(subdirs) list.
9974 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
9975 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
9976 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
9977 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
9978
9979 * elf/Makefile (routines): Include $(all-dl-routines), not just
9980 $(dl-routines).
9981 (rtld-routines): Likewise. Use = rather than :=.
9982 * sysdeps/aarch64/Makefile [$(subdir) = elf]
9983 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
9984 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
9985 * sysdeps/arm/Makefile: Likewise.
9986 * sysdeps/i386/Makefile: Likewise.
9987 * sysdeps/x86_64/Makefile: Likewise.
9988 * sysdeps/hppa/Makefile [$(subdir) = elf]
9989 (sysdep_routines, sysdep-rtld-routines): Don't add
9990 $(sysdep-dl-routines) to these.
9991 * sysdeps/ia64/Makefile: Likewise.
9992 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
9993 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
9994 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
9995 Don't add dl-static to these; sysdep-dl-routines alone is enough.
9996 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
9997 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
9998 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
9999 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
10000 * sysdeps/powerpc/Makefile [$(subdir) = elf]
10001 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
10002 these; sysdep-dl-routines alone is enough.
10003
10004 2015-02-06 Joseph Myers <joseph@codesourcery.com>
10005
10006 [BZ #17932]
10007 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
10008 where multiplication results in zero and third argument is finite
10009 and nonzero.
10010 * math/auto-libm-test-in: Add more tests of fma.
10011 * math/auto-libm-test-out: Regenerated.
10012
10013 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
10014 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
10015 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
10016 (_FP_CMP_EQ): Likewise.
10017 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
10018
10019 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
10020 extra argument CHECK_NAN. Redefine as wrapper around
10021 _FP_EXTEND_CNAN.
10022
10023 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
10024
10025 * version.h (RELEASE): Set to "stable".
10026 (VERSION): Set to "2.21"
10027 * include/features.h (__GLIBC_MINOR__): Set to 21.
10028
10029 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
10030
10031 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
10032 Paul Eggert <eggert@cs.ucla.edu>
10033
10034 [BZ #16618]
10035 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
10036 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
10037 size in bytes. Store needed elements in wpmax. Use needed size
10038 in bytes for extend_alloca.
10039
10040 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
10041
10042 * manual/install.texi: Latest tested versions are GCC 4.9.2,
10043 binutls 2.25, and texinfo 5.2.
10044 * INSTALL: Regenerate.
10045 * sysdeps/nios2/configure: Regenerate.
10046 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
10047 * manual/contrib.texi: Update.
10048 * po/be.po: Update.
10049 * po/bg.po: Update.
10050 * po/ca.po: Update.
10051 * po/cs.po: Update.
10052 * po/da.po: Update.
10053 * po/de.po: Update.
10054 * po/el.po: Update.
10055 * po/eo.po: Update.
10056 * po/es.po: Update.
10057 * po/fi.po: Update.
10058 * po/fr.po: Update.
10059 * po/gl.po: Update.
10060 * po/hr.po: Update.
10061 * po/hu.po: Update.
10062 * po/ia.po: Update.
10063 * po/id.po: Update.
10064 * po/it.po: Update.
10065 * po/ja.po: Update.
10066 * po/ko.po: Update.
10067 * po/lt.po: Update.
10068 * po/nb.po: Update.
10069 * po/nl.po: Update.
10070 * po/pl.po: Update.
10071 * po/pt_BR.po: Update.
10072 * po/ru.po: Update.
10073 * po/rw.po: Update.
10074 * po/sk.po: Update.
10075 * po/sl.po: Update.
10076 * po/sv.po: Update.
10077 * po/tr.po: Update.
10078 * po/uk.po: Update.
10079 * po/vi.po: Update.
10080 * po/zh_CN.po: Update.
10081 * po/zh_TW.po: Update.
10082
10083 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
10084 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
10085 * sysdeps/hppa/dl-irel.h: Remove #warning.
10086 * sysdeps/hppa/entry.h: Provide prototype for
10087 __canonicalize_funcptr_for_compare and cast argument.
10088 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
10089 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
10090 * sysdeps/hppa/sotruss-lib.c: New file.
10091 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
10092 (atomic_compare_and_exchange_val_acq): Use __typeof__.
10093 (atomic_compare_and_exchange_bool_acq): Likewise.
10094 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
10095 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
10096
10097 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
10098 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
10099 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
10100
10101 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
10102
10103 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
10104 called function in non-PIC case.
10105
10106 2015-01-31 David S. Miller <davem@davemloft.net>
10107
10108 * sysdeps/sparc/sparc32/bits/atomic.h
10109 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
10110 unlock not after it.
10111 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
10112 volatile register usage warnings from the compiler.
10113
10114 * sysdeps/sparc/nptl/sem_init.c: Delete.
10115 * sysdeps/sparc/nptl/sem_post.c: Delete.
10116 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
10117 * sysdeps/sparc/nptl/sem_wait.c: Delete.
10118 * sysdeps/sparc/sparc32/sem_init.c: New file.
10119 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
10120 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
10121 padding explicitly initialized.
10122 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
10123 padding for in-semaphore spinlock.
10124 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
10125 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
10126 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
10127 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
10128 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
10129 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
10130 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
10131 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
10132 version.
10133 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
10134 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
10135
10136 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
10137
10138 [BZ #17801]
10139 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10140 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
10141 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
10142 New.
10143 (index_AVX_Fast_Unaligned_Load): Likewise.
10144 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
10145 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
10146 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
10147 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
10148 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
10149 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
10150 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
10151 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
10152 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
10153
10154 2015-01-29 Andreas Schwab <schwab@suse.de>
10155
10156 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
10157
10158 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10159
10160 [BZ #17892]
10161 * nscd/nscd_stat.c (send_stats): Initialize DATA.
10162
10163 2015-01-28 Martin Sebor <msebor@redhat.com>
10164
10165 * math/README.libm-test: Clarify. Add "How to read the test output."
10166
10167 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
10168
10169 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
10170 Define to 0.
10171
10172 2015-01-28 Joseph Myers <joseph@codesourcery.com>
10173
10174 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
10175 (__HAVE_64B_ATOMICS): Define to 0.
10176
10177 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
10178
10179 [BZ #17885]
10180 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
10181 value to set as new flag.
10182
10183 [BZ #16576]
10184 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
10185 and use _ARCH_PPCSQ instead.
10186 (__ieee754_sqrt): Likewise.
10187 (__ieee754_sqrtf): Likewise.
10188 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
10189 _ARCH_PPCSQ is defined.
10190 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
10191 fsqrt instruction.
10192 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
10193 _ARCH_PPCSQ is defined.
10194 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
10195 fsqrts instruction.
10196 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
10197
10198 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10199
10200 * iconv/loop.c: Suppress array out of bound warning caused by GCC
10201 bug (GCC BZ #64739).
10202
10203 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
10204
10205 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
10206 Mark _retval as used.
10207 (lll_futex_wake_unlock): Likewise.
10208 (lll_futex_timed_wait_requeue_pi): Likewise.
10209
10210 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
10211 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
10212 register variables.
10213
10214 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
10215 libm_hidden_def.
10216
10217 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
10218 (__bswap_64): Mark as __always_inline.
10219
10220 2015-01-25 Bram <bug_rh@spam.wizbit.be>
10221
10222 [BZ #15378]
10223 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
10224 when none of the search directories exist.
10225
10226 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
10227
10228 [BZ #17869]
10229 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
10230 power8 in .machine directive.
10231
10232 [BZ #17868]
10233 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
10234 set dependency from opd value.
10235
10236 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
10237
10238 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10239 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
10240 architecture.
10241
10242 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
10243
10244 [BZ #17870]
10245 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
10246 with uint64_t.
10247 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
10248 (uint64_t) 1.
10249 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
10250 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
10251 Replace 1UL with (uint64_t) 1.
10252 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
10253 int with uint64_t.
10254
10255 2015-01-23 Roland McGrath <roland@hack.frob.com>
10256
10257 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
10258 (if_freenameindex): Likewise.
10259
10260 * resource/getrlimit64.c: Add missing libc_hidden_def.
10261
10262 2015-01-22 Joseph Myers <joseph@codesourcery.com>
10263
10264 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
10265 __label__.
10266 (_FP_FMA): Likewise.
10267 (_FP_TO_INT_ROUND): Likewise.
10268 (_FP_FROM_INT): Likewise.
10269
10270 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10271
10272 [BZ #16418]
10273 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
10274 Make code racy and cancel safe.
10275
10276 2015-01-21 Carlos O'Donell <carlos@redhat.com>
10277
10278 * sysdeps/arm/unwind-resume.h: Fix copyright year.
10279 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
10280 attribution.
10281
10282 * pwd/tst-getpw.c: Rewrite.
10283
10284 [BZ #17702]
10285 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
10286 (modules-names): Add moddummy1 and moddummy2.
10287 ($(objpfx)tst-rec-dlopen): Define.
10288 * dlfcn/moddummy1.c: New file.
10289 * dlfcn/moddummy2.c: New file.
10290 * dlfcn/tst-rec-dlopen.c: New file.
10291 * elf/dl-cache.c (_dl_load_cache_lookup):
10292 Return char*. Copy result with alloca/strcpy/strdup.
10293 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
10294 returns char*. Free cached. If not saving realname
10295 free cached.
10296 * elf/dl-open.c (dl_open_worker): Do not assert that
10297 _r_debug->r_state is RT_CONSISTENT.
10298 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
10299 returns char*.
10300
10301 2015-01-21 Torvald Riegel <triegel@redhat.com>
10302 Carlos O'Donell <carlos@redhat.com>
10303
10304 [BZ #12674]
10305 * nptl/sem_waitcommon.c: New file.
10306 * nptl/sem_wait.c: Include sem_waitcommon.c.
10307 (__sem_wait_cleanup, do_futex_wait): Remove.
10308 (__new_sem_wait): Adapt.
10309 (__new_sem_trywait): New function.
10310 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
10311 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
10312 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
10313 (sem_timedwait): Adapt.
10314 * nptl/sem_post.c (__new_sem_post): Adapt.
10315 (futex_wake): New function.
10316 (__old_sem_post): Add release MO fence.
10317 * nptl/sem_open.c (sem_open): Adapt.
10318 * nptl/sem_init.c (__new_sem_init): Adapt.
10319 (futex_private_if_supported): New function.
10320 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
10321 (__old_sem_getvalue): Add using previous code.
10322 * sysdeps/nptl/internaltypes.h: Adapt.
10323 * nptl/tst-sem13.c (do_test): Adapt.
10324 * nptl/tst-sem11.c (main): Adapt.
10325 * nptl/sem_trywait.c: Remove.
10326 * nptl/DESIGN-sem.txt: Remove.
10327 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
10328 (gen-as-const-headers): Remove structsem.sym.
10329 * nptl/structsem.sym: Remove.
10330 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
10331 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
10332 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
10333 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
10334 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
10335 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
10336 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
10337 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
10338 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
10339 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
10340 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
10341 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
10342 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
10343 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
10344 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
10345 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
10346 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
10347 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
10348 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
10349 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
10350 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
10351 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
10352
10353 2015-01-20 Carlos O'Donell <carlos@redhat.com>
10354
10355 * INSTALL: Regenerated.
10356
10357 * po/libc.pot: Regenerated.
10358
10359 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
10360 Sandra Loosemore <sandra@codesourcery.com>
10361 Andrew Jenner <andrew@codesourcery.com>
10362 Joseph Myers <joseph@codesourcery.com>
10363 Nathan Sidwell <nathan@codesourcery.com>
10364
10365 * NEWS: Mention new Nios II port.
10366 * sysdeps/nios2/Implies: New file.
10367 * sysdeps/nios2/Makefile: New file.
10368 * sysdeps/nios2/Subdirs: New file.
10369 * sysdeps/nios2/Versions: New file.
10370 * sysdeps/nios2/__longjmp.S: New file.
10371 * sysdeps/nios2/abort-instr.h: New file.
10372 * sysdeps/nios2/backtrace.c: New file.
10373 * sysdeps/nios2/bits/endian.h: New file.
10374 * sysdeps/nios2/bits/fenv.h: New file.
10375 * sysdeps/nios2/bits/link.h: New file.
10376 * sysdeps/nios2/bits/setjmp.h: New file.
10377 * sysdeps/nios2/bsd-_setjmp.S: New file.
10378 * sysdeps/nios2/bsd-setjmp.S: New file.
10379 * sysdeps/nios2/configure: New generated file.
10380 * sysdeps/nios2/configure.ac: New file.
10381 * sysdeps/nios2/crti.S: New file.
10382 * sysdeps/nios2/crtn.S: New file.
10383 * sysdeps/nios2/dl-init.c: New file.
10384 * sysdeps/nios2/dl-machine.h: New file.
10385 * sysdeps/nios2/dl-sysdep.h: New file.
10386 * sysdeps/nios2/dl-tls.h: New file.
10387 * sysdeps/nios2/dl-trampoline.S: New file.
10388 * sysdeps/nios2/gccframe.h: New file.
10389 * sysdeps/nios2/gmp-mparam.h: New file.
10390 * sysdeps/nios2/jmpbuf-offsets.h: New file.
10391 * sysdeps/nios2/jmpbuf-unwind.h: New file.
10392 * sysdeps/nios2/ldsodefs.h: New file.
10393 * sysdeps/nios2/libc-tls.c: New file.
10394 * sysdeps/nios2/libm-test-ulps: New file.
10395 * sysdeps/nios2/machine-gmon.h: New file.
10396 * sysdeps/nios2/math-tests.h: New file.
10397 * sysdeps/nios2/math_private.h: New file.
10398 * sysdeps/nios2/memusage.h: New file.
10399 * sysdeps/nios2/nptl/Makefile: New file.
10400 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
10401 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
10402 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
10403 * sysdeps/nios2/nptl/pthreaddef.h: New file.
10404 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
10405 * sysdeps/nios2/nptl/tls.h: New file.
10406 * sysdeps/nios2/preconfigure: New file.
10407 * sysdeps/nios2/s_fma.c: New file.
10408 * sysdeps/nios2/s_fmaf.c: New file.
10409 * sysdeps/nios2/setjmp.S: New file.
10410 * sysdeps/nios2/sfp-machine.h: New file.
10411 * sysdeps/nios2/sotruss-lib.c: New file.
10412 * sysdeps/nios2/stackguard-macros.h: New file.
10413 * sysdeps/nios2/stackinfo.h: New file.
10414 * sysdeps/nios2/start.S: New file.
10415 * sysdeps/nios2/sysdep.h: New file.
10416 * sysdeps/nios2/tls-macros.h: New file.
10417 * sysdeps/nios2/tst-audit.h: New file.
10418 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
10419 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
10420 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
10421 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
10422 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
10423 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
10424 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
10425 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
10426 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
10427 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
10428 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
10429 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
10430 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
10431 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
10432 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
10433 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
10434 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
10435 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
10436 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
10437 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
10438 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
10439 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
10440 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
10441 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
10442 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
10443 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
10444 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
10445 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
10446 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
10447 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
10448 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
10449 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
10450 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
10451 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
10452 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
10453 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
10454 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
10455 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
10456 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
10457 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
10458 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
10459 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
10460 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
10461 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
10462
10463 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
10464
10465 [BZ #17844]
10466 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
10467 (getutent): Use weak_alias in non SHARED case
10468 and default_symbol_version in SHARED case.
10469 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
10470 (getutent_r, pututline): Likewise.
10471 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
10472 (getutid): Likewise.
10473 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
10474 (getutid_r): Likewise.
10475 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
10476 (getutline): Likewise.
10477 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
10478 (getutline_r): Likewise.
10479 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
10480 (updwtmp): Likewise.
10481
10482 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
10483
10484 [BZ #17848]
10485 * sysdeps/s390/s390-32/memcmp.S
10486 (memcmp_g5): Rename to __memcmp_g5.
10487 * sysdeps/s390/s390-32/memcpy.S
10488 (memcpy_g5): Rename to __memcpy_g5.
10489 Jump to __memcpy_mvcle instead of memcpy_mvcle.
10490 (memcpy_mvcle) Rename to __memcpy_mvcle.
10491 * sysdeps/s390/s390-32/memset.S
10492 (memset_g5): Rename to __memset_g5.
10493 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
10494 (IFUNC_RESOLVE): Prefix ifunc-resolve function
10495 and use prefixed functions.
10496 * sysdeps/s390/s390-32/multiarch/memcmp.S
10497 (memcmp_z196): Rename to __memcmp_z196.
10498 (memcmp_z10): Rename to __memcmp_z10.
10499 (memcmp): Set alias to __memcmp_g5.
10500 (bcmp): Set alias to __memcmp_g5.
10501 * sysdeps/s390/s390-32/multiarch/memcpy.S
10502 (memcpy_z196): Rename to __memcpy_z196.
10503 Jump to __memcpy_mvcle instead of memcpy_mvcle.
10504 (memcpy_z10): Rename to __memcpy_z10.
10505 Jump to __memcpy_mvcle instead of memcpy_mvcle.
10506 (memcpy): Set alias to __memcpy_g5.
10507 * sysdeps/s390/s390-32/multiarch/memset.S
10508 (memset_z196): Rename to __memset_z196.
10509 Jump to __memset_mvcle instead of memset_mvcle.
10510 (memset_z10): Rename to __memset_z10.
10511 Jump to __memset_mvcle instead of memset_mvcle.
10512 (memset_mvcle) Rename to __memset_mvcle.
10513 (memset): Set alias to __memset_g5.
10514 * sysdeps/s390/s390-64/memcmp.S
10515 (memcmp_z900): Rename to __memcmp_z900.
10516 * sysdeps/s390/s390-64/memcpy.S
10517 (memcpy_z900): Rename to __memcpy_z900.
10518 Jump to __memcpy_mvcle instead of memcpy_mvcle.
10519 (memcpy_mvcle) Rename to __memcpy_mvcle.
10520 * sysdeps/s390/s390-64/memset.S
10521 (memset_z900): Rename to __memset_z900.
10522 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
10523 (IFUNC_RESOLVE): Prefix ifunc-resolve function
10524 and use prefixed functions.
10525 * sysdeps/s390/s390-64/multiarch/memcmp.S
10526 (memcmp_z196): Rename to __memcmp_z196.
10527 (memcmp_z10): Rename to __memcmp_z10.
10528 (memcmp): Set alias to __memcmp_z900.
10529 (bcmp): Set alias to __memcmp_z900.
10530 * sysdeps/s390/s390-64/multiarch/memcpy.S
10531 (memcpy_z196): Rename to __memcpy_z196.
10532 Jump to __memcpy_mvcle instead of memcpy_mvcle.
10533 (memcpy_z10): Rename to __memcpy_z10.
10534 Jump to __memcpy_mvcle instead of memcpy_mvcle.
10535 (memcpy): Set alias to __memcpy_z900.
10536 * sysdeps/s390/s390-64/multiarch/memset.S
10537 (memset_z196): Rename to __memset_z196.
10538 Jump to __memset_mvcle instead of memset_mvcle.
10539 (memset_z10): Rename to __memset_z10.
10540 Jump to __memset_mvcle instead of memset_mvcle.
10541 (memset_mvcle) Rename to __memset_mvcle.
10542 (memset): Set alias to __memset_z900.
10543
10544 2015-01-14 Joseph Myers <joseph@codesourcery.com>
10545
10546 [BZ #17748]
10547 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
10548 __fesetenv instead of fesetenv.
10549
10550 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
10551
10552 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
10553 macro.
10554
10555 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10556
10557 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
10558 regression on LE.
10559
10560 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
10561 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
10562 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
10563 strncmp-power8 object.
10564 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10565 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
10566 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
10567 * NEWS: Update.
10568
10569 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10570 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10571
10572 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
10573 trailing byte check.
10574
10575 2015-01-13 David S. Miller <davem@davemloft.net>
10576
10577 * include/signal.h (__sigreturn): Guard with __USE_MISC.
10578
10579 2015-01-13 Roland McGrath <roland@hack.frob.com>
10580
10581 * login/logout.c (logout): Use memset rather than bzero.
10582 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
10583 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
10584 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
10585 (_gethtbyaddr): Likewise.
10586 * locale/programs/simple-hash.c (bcopy): Macro removed.
10587
10588 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10589
10590 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10591 Add strcmp-power8 object.
10592 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10593 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
10594 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
10595 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
10596 __strcmp_power8 implementation.
10597 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
10598 * NEWS: Update.
10599
10600 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10601 Add strncpy-power8 and stpncpy-power8 objects.
10602 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10603 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
10604 implementations.
10605 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
10606 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
10607 __stpncpy_power8 implementation.
10608 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
10609 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
10610 __strncpy_power8 implementation.
10611 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
10612 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
10613 * NEWS: Update.
10614
10615 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
10616 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
10617 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
10618
10619 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
10620 strncat-power8 object.
10621 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
10622 __strcat_power8 implementation.
10623 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10624 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
10625 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
10626 optimized strcat for power8.
10627
10628 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
10629 strcpy-power8 and stpcpy-power8 objects.
10630 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10631 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
10632 implementations.
10633 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
10634 multiarch stpcpy implementation for POWER8.
10635 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
10636 multiarch strcpy implementation for POWER8.
10637 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
10638 __strcpy_power8 function.
10639 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
10640 stpcpy for POWER8.
10641 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
10642 strcpy for POWER8.
10643 * NEWS: Update.
10644
10645 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
10646
10647 [BZ #16009]
10648 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
10649 weights and rules. Use do_xfrm_cached if data fits in cache,
10650 do_xfrm otherwise. Moved former main loop to...
10651 * (do_xfrm_cached): New function.
10652 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
10653 find_idx, find_position and stack_push.
10654 * (find_idx): New function.
10655 * (find_position): Likewise.
10656 * localedata/sort-test.sh: Added test run for do_xfrm.
10657 * localedata/xfrm-test.c (main): Added command line option
10658 -nocache to run the test with strings that are too large for
10659 the STRXFRM cache.
10660
10661 2015-01-13 Torvald Riegel <triegel@redhat.com>
10662
10663 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
10664 variable to lll_futex_wake call, not the value itself.
10665
10666 2015-01-12 Joseph Myers <joseph@codesourcery.com>
10667
10668 [BZ #17803]
10669 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
10670 twom64. Adjust value to 0x1p-64L.
10671 (__scalblnl): Only return standard underflowing result for K <=
10672 -64 not K <= -63; adjust exponent for underflowing result by 64
10673 not 63.
10674 * math/libm-test.inc (scalbn_test_data): Add more tests.
10675 (scalbln_test_data): Likewise.
10676
10677 [BZ #17834]
10678 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
10679 0x1p63L.
10680 (__scalblnl): Get new exponent of adjusted subnormal value from ES
10681 not HX.
10682 * math/libm-test.inc (scalbn_test_data): Add more tests.
10683 (scalbln_test_data): Likewise.
10684
10685 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10686 Stefani Seibold <stefani@seibold.net>
10687
10688 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
10689 (sysdep_routines): Add dl-vdso here, ...
10690 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
10691 (sysdep_routines): ... not here.
10692 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
10693 fallback when vDSO is not presented.
10694 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
10695 Define with libc_hidden_proto/libc_hidden_data_def definitions.
10696 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
10697 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
10698 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
10699 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
10700 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
10701 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
10702 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
10703 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
10704 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
10705 fallback configurable symbol when vDSO is not available.
10706 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
10707 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
10708 be able to redefine fallback symbol when vDSO is not available.
10709 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
10710 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
10711
10712 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10713
10714 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
10715 (TLS_INIT_TP): Add tm_capable initialization.
10716 (TLS_DEFINE_INIT_TP): Likewise.
10717 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
10718 TCB.
10719 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
10720 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
10721 calculation.
10722 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
10723 transactoion is lock elision is built and TCB tm_capable is set.
10724 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
10725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10726 (INTERNAL_SYSCALL_NCS): Likewise.
10727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
10728 (INTERNAL_SYSCALL_NCS): Likewise.
10729 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
10730
10731 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
10732 for powerpc.
10733 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
10734 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
10735 and remove it for 32 bits case.
10736 [pthread_rwlock_t] (__rwelision): New field for lock elision.
10737 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
10738 initialization.
10739 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
10740 Disable lock elision with rdlocks if elision is not available.
10741
10742 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
10743 (sysdep_routines): Add lock elision objects.
10744 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
10745 [pthread_mutex_t] (__spins): Rework to add lock elision field.
10746 [pthread_mutex_t] (__elision): Add field.
10747 [__PTHREAD_SPINS]: Adjust to init lock elision field.
10748 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
10749 elision definitions for powerpc.
10750 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
10751 implementation of lock elision for powerpc.
10752 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
10753 implementation of timed lock elision for powerpc.
10754 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
10755 implementation of trylock with lock elision for powerpc.
10756 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
10757 implementaion of unlock for lock elision for powerpc.
10758 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
10759 automatic enable lock elision for mutexes.
10760 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
10761 transaction execution definitions for powerpc.
10762 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
10763 definitions.
10764 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
10765 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
10766 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
10767 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
10768 * NEWS: Update.
10769
10770 2015-01-09 Roland McGrath <roland@hack.frob.com>
10771
10772 * sysdeps/posix/shm-directory.c: Use <> rather than ""
10773 for #include of <shm-directory.h>.
10774
10775 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
10776
10777 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
10778 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
10779
10780 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
10781
10782 [BZ #17791]
10783 * NEWS: Mention bug fix.
10784 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
10785 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
10786 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
10787
10788 2015-01-09 Torvald Riegel <triegel@redhat.com>
10789
10790 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
10791
10792 2015-01-09 Torvald Riegel <triegel@redhat.com>
10793
10794 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
10795
10796 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
10797
10798 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
10799 pointer and cast to uintptr_t.
10800
10801 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
10802
10803 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
10804 removed.
10805 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
10806
10807 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
10808
10809 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
10810 of 0.
10811
10812 2015-01-08 Roland McGrath <roland@hack.frob.com>
10813
10814 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
10815 <nptl/pthreadP.h> instead.
10816 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
10817
10818 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
10819 already defined.
10820 [__SIGRTMIN] (init): Function removed.
10821 [__SIGRTMIN] (initialized): Variable removed.
10822 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
10823 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
10824 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
10825 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
10826 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
10827 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
10828 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
10829 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
10830 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
10831 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
10832 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
10833 * sysdeps/nptl/allocrtsig.c: New file.
10834 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
10835 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
10836 * sysdeps/generic/testrtsig.h: File removed.
10837
10838 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
10839 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
10840
10841 * nptl/nptl-init.c (pthread_functions): Conditionalize
10842 .ptr__nptl_setxid initialization on [SIGSETXID].
10843
10844 * sysdeps/nptl/sys/procfs.h: New file.
10845 * nptl_db/Makefile (headers): Add it.
10846 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
10847
10848 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
10849 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
10850 * nptl/pthread_attr_setaffinity.c: Include it.
10851 * nptl/pthread_setattr_default_np.c: Likewise.
10852 * nptl/check-cpuset.h: New file.
10853
10854 2015-01-08 Richard Henderson <rth@redhat.com>
10855
10856 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
10857 (CFLAGS-tst-execstack-prog.c): Likewise.
10858 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
10859
10860 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
10861 Sandra Loosemore <sandra@codesourcery.com>
10862 Andrew Jenner <andrew@codesourcery.com>
10863 Joseph Myers <joseph@codesourcery.com>
10864 Nathan Sidwell <nathan@codesourcery.com>
10865
10866 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
10867 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
10868 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
10869 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
10870 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
10871 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
10872 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
10873 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
10874 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
10875 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
10876 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
10877 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
10878 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
10879 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
10880 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
10881 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
10882 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
10883
10884 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10885
10886 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
10887 timespec struct member in syscall macro.
10888 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
10889 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
10890 first timeval struct member in syscall macro.
10891 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
10892
10893 2015-01-07 Joseph Myers <joseph@codesourcery.com>
10894
10895 [BZ #17748]
10896 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
10897 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
10898 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
10899 __feupdateenv and define as weak alias of __feupdateenv. Use
10900 libm_hidden_weak.
10901 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
10902 libm_hidden_def.
10903 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
10904 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
10905 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
10906 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
10907 libm_hidden_def.
10908 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
10909 __feupdateenv and define as weak alias of __feupdateenv. Use
10910 libm_hidden_weak.
10911 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
10912 libm_hidden_def.
10913 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
10914 __feupdateenv and define as weak alias of __feupdateenv. Use
10915 libm_hidden_weak.
10916 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
10917 libm_hidden_def.
10918 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
10919 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
10920 (__feupdateenv): Likewise.
10921 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
10922 __feupdateenv and define as weak alias of __feupdateenv. Use
10923 libm_hidden_weak.
10924 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
10925 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
10926 libm_hidden_def.
10927 * sysdeps/tile/math_private.h (__feupdateenv): New inline
10928 function.
10929 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
10930 libm_hidden_def.
10931 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
10932 __feupdateenv instead of feupdateenv.
10933 (default_libc_feupdateenv_test): Likewise.
10934 (libc_feresetround_ctx): Likewise.
10935
10936 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10937
10938 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
10939 prototype.
10940
10941 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
10942
10943 * posix/regcomp.c (parse_bracket_exp): Initialize type to
10944 COLL_SYM in a couple of places to avoid uninitialized variable
10945 wanings on tilegx gcc 4.8.2.
10946
10947 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
10948
10949 * sysdeps/aarch64/strcpy.S: New file.
10950 * sysdeps/aarch64/stpcpy.S: New file.
10951 * NEWS: Updated.
10952
10953 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
10954
10955 * sysdeps/aarch64/strrchr.S: New file.
10956 * NEWS: Updated.
10957
10958 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
10959
10960 [BZ #17658]
10961 * stdlib/setenv.c: Fix memory leak when setting large,
10962 duplicate string.
10963
10964 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
10965
10966 [BZ #17273]
10967 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
10968 and tabs from buffer before parsing fstab entry.
10969 * misc/tst-mntent.c (main): Add test for mount entry with
10970 trailing spaces and tabs.
10971
10972 2015-01-06 Joseph Myers <joseph@codesourcery.com>
10973
10974 [BZ #17748]
10975 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
10976 * math/fesetround.c (fesetround): Rename to __fesetround and
10977 define as weak alias of __fesetround. Use libm_hidden_weak.
10978 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
10979 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
10980 * sysdeps/arm/fesetround.c (fesetround): Likewise.
10981 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
10982 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
10983 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
10984 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
10985 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
10986 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
10987 __fesetround_inline.
10988 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
10989 __fesetround_inline instead of __fesetround.
10990 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
10991 __fesetround and define as weak alias of __fesetround. Use
10992 libm_hidden_weak. Call __fesetround_inline instead of
10993 __fesetround.
10994 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
10995 __fesetround and define as weak alias of __fesetround. Use
10996 libm_hidden_weak.
10997 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
10998 Likewise.
10999 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
11000 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
11001 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
11002 * sysdeps/tile/math_private.h (__fesetround): New inline function.
11003 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
11004 __fesetround and define as weak alias of __fesetround. Use
11005 libm_hidden_weak.
11006 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
11007 __fesetround instead of fesetround.
11008 (default_libc_feholdexcept_setround): Likewise.
11009 (libc_feholdsetround_ctx): Likewise.
11010 (libc_feholdsetround_noex_ctx): Likewise.
11011
11012 [BZ #17748]
11013 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
11014 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
11015 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
11016 and define as weak alias of __fesetenv. Use libm_hidden_weak.
11017 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
11018 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
11019 define as weak alias of __fesetenv. Use libm_hidden_weak.
11020 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
11021 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
11022 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
11023 define as weak alias of __fesetenv. Use libm_hidden_weak.
11024 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
11025 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
11026 define as weak alias of __fesetenv. Use libm_hidden_weak.
11027 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
11028 libm_hidden_def.
11029 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
11030 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
11031 Likewise.
11032 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
11033 define as weak alias of __fesetenv. Use libm_hidden_weak.
11034 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
11035 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
11036 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
11037 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
11038 and define as weak alias of __fesetenv. Use libm_hidden_weak.
11039 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
11040 __fesetenv instead of fesetenv.
11041 (libc_feresetround_noex_ctx): Likewise.
11042 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
11043 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
11044 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
11045 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
11046 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
11047 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
11048 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
11049 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
11050 (__feupdateenv): Likewise.
11051 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
11052 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
11053 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
11054 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
11055
11056 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
11057
11058 [BZ #17806]
11059 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
11060 addresses have been freed.
11061
11062 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
11063
11064 * resolv/res_init.c (__res_vinit): Improve comments about nserv
11065 and nservall.
11066
11067 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
11068
11069 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
11070 Clean up check_pf allocation pattern. addresses
11071
11072 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11073
11074 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
11075 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
11076 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
11077 * nptl/pthread_exit.c (__pthread_exit): Likewise.
11078 * nptl/pthread_join.c (pthread_join): Likewise.
11079 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
11080 * sysdeps/posix/waitid.c (__waitid): Likewise.
11081 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
11082 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
11083 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
11084 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
11085 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
11086 Likewise.
11087 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
11088 (__libc_pread64): Likewise.
11089 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
11090 (__libc_pwrite): Likewise.
11091 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
11092 (__libc_pwrite64): Likewsie.
11093 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
11094 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
11095 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
11096 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
11097 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
11098 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
11099 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
11100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
11101 Likewise.
11102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
11103 (__libc_pread64): Likewise.
11104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
11105 Likewise.
11106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
11107 (__libc_pwrite64): Likewise.
11108 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
11109 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
11110 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
11111 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
11112 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
11113 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
11114 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
11115 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
11116 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
11117 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
11118 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
11119 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
11120 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
11121 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
11122 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
11123 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
11124 Likewise.
11125
11126 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
11127
11128 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
11129 (CFLAGS-test-double.c): Likewise.
11130 (CFLAGS-test-ldouble.c): Likewise.
11131 (CPPFLAGS-test-ifloat.c): Likewise.
11132 (CPPFLAGS-test-idouble.c): Likewise.
11133 (CPPFLAGS-test-ildoubl.c): Likewise.
11134 (CFLAGS-test-test-fenv.c): Remove variable.
11135 (CFLAGS-test-misc.c): Likewise.
11136
11137 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
11138
11139 [BZ #17797]
11140 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
11141 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
11142 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
11143 CLOCKS_PER_SEC == 1000000.
11144 * time/clocktest.c (main): Replace %ld with %jd and cast to
11145 intmax_t.
11146
11147 2015-01-05 Roland McGrath <roland@hack.frob.com>
11148
11149 * sysdeps/generic/unwind-resume.h: New file.
11150 * sysdeps/gnu/unwind-resume.c: Include it.
11151 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
11152 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
11153 argument list.
11154 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
11155 global rather than static.
11156 (_Unwind_Resume): Update user.
11157 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
11158 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
11159 rather than static. Add __attribute__ ((cold)).
11160 (_Unwind_Resume, __gcc_personality_v0): Update callers.
11161 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
11162 * sysdeps/arm/arm-unwind-resume.S: New file.
11163 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
11164 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
11165 * sysdeps/arm/Makefile [$(subdir) = csu]
11166 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
11167 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
11168 Add rt-arm-unwind-resume.
11169 [$(subdir) = nptl]
11170 (libpthread-sysdep_routines, libpthread-shared-only-routines):
11171 Add pt-arm-unwind-resume.
11172 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
11173 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
11174
11175 2015-01-05 Joseph Myers <joseph@codesourcery.com>
11176
11177 [BZ #17748]
11178 * include/fenv.h (__feholdexcept): Declare. Use
11179 libm_hidden_proto.
11180 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
11181 define as weak alias of __feholdexcept. Use libm_hidden_weak.
11182 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
11183 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
11184 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
11185 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
11186 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
11187 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
11188 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
11189 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
11190 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
11191 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
11192 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
11193 (feholdexcept): Likewise.
11194 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
11195 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
11196 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
11197 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
11198 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
11199 __feholdexcept instead of feholdexcept.
11200 (default_libc_feholdexcept_setround): Likewise.
11201
11202 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
11203
11204 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
11205 to avoid using stl/str to align destination.
11206
11207 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
11208
11209 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
11210
11211 2015-01-05 Joseph Myers <joseph@codesourcery.com>
11212
11213 [BZ #17796]
11214 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
11215 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
11216 Define as weak alias not strong alias.
11217
11218 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
11219
11220 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
11221 bltzal with addiupc.
11222 (RTLD_START): Ditto.
11223
11224 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
11225
11226 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
11227 for __vdso_* functions in declarations.
11228 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
11229 definitions.
11230 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
11231 INTERNAL_VSYSCALL): Use struct return types to check for error.
11232
11233 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
11234 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
11235 function with cast from llround().
11236 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
11237 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
11238 Define.
11239
11240 2015-01-05 Joseph Myers <joseph@codesourcery.com>
11241
11242 [BZ #17793]
11243 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
11244 Define as weak alias not strong alias.
11245
11246 [BZ #17635]
11247 * ctype/ctype-c99.c: New file. isblank implementation moved from
11248 ...
11249 * ctype/ctype-extn.c: ... here.
11250 (__isblank_l): Move to ...
11251 * ctype/ctype-c99_l.c: ... here. New file.
11252 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
11253 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
11254 Remove variable.
11255 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
11256 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
11257 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
11258 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
11259 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
11260
11261 [BZ #17777]
11262 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
11263 (posix_fadvise64): Define as weak alias not strong alias.
11264 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
11265 (posix_fallocate64): Likewise.
11266 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
11267 Remove variable.
11268 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
11269 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
11270 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
11271 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
11272 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
11273
11274 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
11275
11276 [BZ #16191]
11277 * NEWS: Mention bug fix.
11278 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
11279 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
11280 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
11281 (HOST_STACK_END_ADDR): Likewise.
11282
11283 2015-01-02 Joseph Myers <joseph@codesourcery.com>
11284
11285 [BZ #17748]
11286 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
11287 * math/fegetround.c (fegetround): Rename to __fegetround and
11288 define as weak alias of __fegetround. Use libm_hidden_weak.
11289 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
11290 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
11291 * sysdeps/arm/fegetround.c (fegetround): Likewise.
11292 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
11293 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
11294 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
11295 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
11296 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
11297 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
11298 Undefine after rather than before function definition; use
11299 parentheses around function name in definition.
11300 (__fegetround): Also undefine macro after function definition.
11301 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
11302 __fegetround and define as weak alias of __fegetround. Use
11303 libm_hidden_weak. Do not undefine as macro.
11304 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
11305 Likewise.
11306 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
11307 __fegetround and define as weak alias of __fegetround. Use
11308 libm_hidden_weak.
11309 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
11310 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
11311 * sysdeps/tile/math_private.h (__fegetround): New inline function.
11312 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
11313 __fegetround and define as weak alias of __fegetround. Use
11314 libm_hidden_weak.
11315 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
11316 __fegetround instead of fegetround.
11317
11318 [BZ #17782]
11319 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
11320 Condition macro definition on [__USE_MISC].
11321
11322 [BZ #17781]
11323 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
11324 (struct sigaction): Change type of sa_flags field to int.
11325
11326 [BZ #17780]
11327 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
11328 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
11329 __glibc_reserved0.
11330
11331 * nptl/version.c (banner): Use single year in copyright notice.
11332
11333 * NEWS: Update copyright dates.
11334 * catgets/gencat.c (print_version): Likewise.
11335 * csu/version.c (banner): Likewise.
11336 * debug/catchsegv.sh: Likewise.
11337 * debug/pcprofiledump.c (print_version): Likewise.
11338 * debug/xtrace.sh (do_version): Likewise.
11339 * elf/ldconfig.c (print_version): Likewise.
11340 * elf/ldd.bash.in: Likewise.
11341 * elf/pldd.c (print_version): Likewise.
11342 * elf/sotruss.sh: Likewise.
11343 * elf/sprof.c (print_version): Likewise.
11344 * iconv/iconv_prog.c (print_version): Likewise.
11345 * iconv/iconvconfig.c (print_version): Likewise.
11346 * locale/programs/locale.c (print_version): Likewise.
11347 * locale/programs/localedef.c (print_version): Likewise.
11348 * login/programs/pt_chown.c (print_version): Likewise.
11349 * malloc/memusage.sh (do_version): Likewise.
11350 * malloc/memusagestat.c (print_version): Likewise.
11351 * malloc/mtrace.pl: Likewise.
11352 * manual/libc.texinfo: Likewise.
11353 * nptl/version.c (banner): Likewise.
11354 * nscd/nscd.c (print_version): Likewise.
11355 * nss/getent.c (print_version): Likewise.
11356 * nss/makedb.c (print_version): Likewise.
11357 * posix/getconf.c (main): Likewise.
11358 * scripts/test-installation.pl: Likewise.
11359 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
11360
11361 2015-01-02 Will Newton <will.newton@linaro.org>
11362
11363 * sysdeps/arm/armv7/configure: Removed.
11364 * sysdeps/arm/armv7/configure.ac: Likewise.
11365
11366 2015-01-02 Joseph Myers <joseph@codesourcery.com>
11367
11368 * All files with FSF copyright notices: Update copyright dates
11369 using scripts/update-copyrights.
11370 * intl/plural.c: Regenerated.
11371 * locale/programs/charmap-kw.h: Likewise.
11372 * locale/programs/locfile-kw.h: Likewise.
11373
11374 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11375
11376 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
11377
11378 2014-12-31 Joseph Myers <joseph@codesourcery.com>
11379
11380 [BZ #17748]
11381 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
11382 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
11383 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
11384 and define as weak alias of __fegetenv. Use libm_hidden_weak.
11385 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
11386 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
11387 define as weak alias of __fegetenv. Use libm_hidden_weak.
11388 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
11389 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
11390 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
11391 define as weak alias of __fegetenv. Use libm_hidden_weak.
11392 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
11393 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
11394 define as weak alias of __fegetenv. Use libm_hidden_weak.
11395 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
11396 libm_hidden_def.
11397 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
11398 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
11399 Likewise.
11400 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
11401 define as weak alias of __fegetenv. Use libm_hidden_weak.
11402 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
11403 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
11404 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
11405 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
11406 and define as weak alias of __fegetenv. Use libm_hidden_weak.
11407 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
11408 __fegetenv instead of fegetenv.
11409 (libc_feholdsetround_noex_ctx): Likewise.
11410
11411 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
11412
11413 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
11414 (Elf_MIPS_ABIFlags_v0): New structure.
11415 (EF_MIPS_FP64): Define.
11416 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
11417 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
11418 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
11419 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
11420 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
11421 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
11422 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
11423 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
11424 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
11425 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
11426 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
11427 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
11428 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
11429 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
11430 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
11431 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
11432 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
11433 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
11434 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
11435 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
11436 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
11437 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
11438 field.
11439 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
11440 EF_MIPS_FP64.
11441 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
11442 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
11443 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
11444 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
11445 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
11446 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
11447 * sysdeps/mips/tst-abi-interlink.c: Likewise.
11448 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
11449 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
11450 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
11451 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
11452 record the current FP ABI extension.
11453 (mips-mode-switch): Define to show if kernel headers support mode
11454 switching.
11455 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
11456 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
11457 supported SYSV ABI version to 3.
11458 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
11459 feature.
11460
11461 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11462 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11463
11464 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
11465 path.
11466 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
11467
11468 2014-12-31 Joseph Myers <joseph@codesourcery.com>
11469
11470 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
11471 __fegetround and redefine to call __fegetround. Remove condition
11472 on [!__NO_MATH_INLINES].
11473 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
11474 function.
11475 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
11476 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
11477 Remove macro.
11478 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
11479 instead of <fenv_libc.h>.
11480 (__llrintl): Call fegetround instead of __fegetround.
11481 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
11482 instead of <fenv_libc.h>.
11483 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
11484 (__lrintl): Call fegetround instead of __fegetround.
11485 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
11486 instead of <fenv_libc.h>.
11487 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
11488 (__rintl): Call fegetround instead of __fegetround.
11489
11490 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
11491
11492 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
11493 arrays.
11494
11495 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
11496
11497 [BZ #17775]
11498 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
11499 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
11500 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
11501
11502 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
11503
11504 * sysdeps/i386/tls-macros.h: Include <features.h>.
11505 (TLS_LE): Use non-PIC version for GCC >= 5.0.
11506 (TLS_IE): Likewise.
11507 (TLS_LD): Likewise.
11508 (TLS_GD): Likewise.
11509 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
11510 define for GCC >= 5.0.
11511
11512 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
11513
11514 * math/test-fenv.c (test_single_exception, set_single_exc,
11515 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
11516 feexcp_mask_test, feenable_test, fe_single_test): Add
11517 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
11518 case where they are not used.
11519 * math/libm-test.inc: Likewise.
11520 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
11521 unused in the absence of FP rounding/exception support.
11522 * stdio-common/tst-printf-round.c: Likewise.
11523 * stdlib/tst-strtod-round.c: Likewise.
11524 * stdlib/tst-strtod-underflow.c: Likewise.
11525
11526 2014-12-30 Joseph Myers <joseph@codesourcery.com>
11527
11528 [BZ #17723]
11529 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
11530 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
11531 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
11532 __feraiseexcept and define as weak alias of __feraiseexcept. Use
11533 libm_hidden_weak.
11534 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
11535 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
11536 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
11537 libm_hidden_def.
11538 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
11539 __feraiseexcept and define as weak alias of __feraiseexcept. Use
11540 libm_hidden_weak.
11541 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
11542 Likewise.
11543 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
11544 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
11545 __feraiseexcept and define as weak alias of __feraiseexcept. Use
11546 libm_hidden_weak.
11547 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
11548 libm_hidden_def.
11549 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
11550 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
11551 (__feraiseexcept): Likewise.
11552 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
11553 __feraiseexcept and define as weak alias of __feraiseexcept. Use
11554 libm_hidden_weak.
11555 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
11556 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
11557 libm_hidden_def.
11558 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
11559 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
11560 Use libm_hidden_def.
11561 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
11562 libm_hidden_def.
11563 (feraiseexcept): Define as weak not strong alias. Use
11564 libm_hidden_weak.
11565 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
11566 New inline function. Factored out of ...
11567 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
11568 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
11569 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
11570 feraiseexcept.
11571 * math/w_acos.c (__acos): Likewise.
11572 * math/w_asin.c (__asin): Likewise.
11573 * math/w_ilogb.c (__ilogb): Likewise.
11574 * math/w_j0.c (y0): Likewise.
11575 * math/w_j1.c (y1): Likewise.
11576 * math/w_jn.c (yn): Likewise.
11577 * math/w_log.c (__log): Likewise.
11578 * math/w_log10.c (__log10): Likewise.
11579 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
11580 * sysdeps/aarch64/fpu/math_private.h
11581 (libc_feupdateenv_test_aarch64): Likewise.
11582 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
11583 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
11584 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
11585 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
11586 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
11587 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
11588 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
11589 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
11590 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
11591 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
11592
11593 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
11594
11595 [BZ #17732]
11596 * io/test-utime.c (main): Replace %ld with %jd and cast to
11597 intmax_t.
11598 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
11599 * nptl/tst-mutex5.c: Include <stdint.h>.
11600 (do_test): Replace %ld with %jd and cast to intmax_t.
11601 * posix/tst-regex.c (run_test): Likewise.
11602 (run_test_backwards): Likewise.
11603 * rt/tst-clock.c: Include <stdint.h>.
11604 (clock_test): Replace %ld with %jd and cast to intmax_t.
11605 * rt/tst-cpuclock1.c: Include <stdint.h>.
11606 (do_test): Replace %lu with %ju and cast to uintmax_t.
11607 * rt/tst-cpuclock2.c: Include <stdint.h>.
11608 (do_test): Replace %lu with %ju and cast to uintmax_t.
11609 * rt/tst-mqueue1.c: Include <stdint.h>.
11610 (check_attrs): Replace %ld with %jd and cast to intmax_t.
11611 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
11612 intmax_t.
11613 * rt/tst-mqueue4.c (do_test): Likewise.
11614 * rt/tst-timer4.c: Include <stdint.h>.
11615 (check_ts): Replace %ld with %jd and cast to intmax_t.
11616 (do_test): Likewise.
11617 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
11618 and cast to intmax_t.
11619 * sysdeps/pthread/tst-timer.c (main): Likewise.
11620 * time/clocktest.c (main): Likewise.
11621 * time/tst-posixtz.c (do_test): Likewise.
11622 * timezone/tst-timezone.c (main): Likewise.
11623
11624 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
11625 H.J. Lu <hongjiu.lu@intel.com>
11626
11627 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
11628 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
11629 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
11630 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
11631 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
11632 version if bit_Fast_Unaligned_Load is set.
11633 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11634 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11635 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11636 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11637 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11638 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11639 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11640 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
11641 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
11642 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
11643 to 4.
11644 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
11645 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
11646 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
11647 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
11648
11649 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
11650
11651 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
11652 instead of #if to avoid a Wundef warning.
11653 * stdlib/tst-limits.c (do_test): Likewise.
11654
11655 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
11656 parallel other exception macros.
11657 (fegetenv): Convert from macro to extern inline so that it applies
11658 retroactively to inline functions already seen by the compiler.
11659 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
11660
11661 * posix/Makefile (before-compile): Use $(objpfx) for
11662 posix-conf-vars-def.h.
11663
11664 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11665
11666 * posix/getconf.c (main): Use size_t for type of I.
11667 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
11668 NSPEC.
11669
11670 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
11671 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
11672 * posix/posix-envs.def: Likewise.
11673 * sysdeps/posix/sysconf.c: Likewise.
11674 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
11675 (specs): Remove array.
11676 * scripts/gen-posix-conf-vars.awk: Support generation of specs
11677 array.
11678
11679 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
11680 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
11681 (__sysconf): Use CONF_IS_* macros.
11682
11683 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
11684 ($(objpfx)posix-conf-vars-def.h): New target.
11685 * posix/posix-conf-vars.list: New file.
11686 * posix/posix-conf-vars.h: New file.
11687 * posix/confstr.c: Include posix-conf-vars.h.
11688 (confstr): Use CONF_IS_* macros.
11689 * posix/posix-envs.def: Include posix-conf-vars.h. Use
11690 CONF_IS_* macros.
11691 * scripts/gen-posix-conf-vars.awk: New file.
11692
11693 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
11694
11695 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
11696 fegetround): Add no-op macros to avoid linknamespace issues.
11697
11698 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
11699 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
11700
11701 * sysdeps/unix/sysv/linux/tile/sysdep.h
11702 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
11703 assembly-specific section to avoid a redefinition warning.
11704
11705 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
11706 long before casting to pointer to avoid a cast warning.
11707
11708 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
11709
11710 * sysdeps/tile/tilegx/Implies: New file.
11711
11712 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
11713
11714 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
11715
11716 2014-12-23 Florian Weimer <fweimer@redhat.com>
11717
11718 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
11719
11720 2014-12-22 Joseph Myers <joseph@codesourcery.com>
11721
11722 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
11723 not define.
11724 * sysdeps/unix/sysv/linux/utimes.c: Do not include
11725 <kernel-features.h>.
11726 (__utimes) [__NR_utimes]: Make code unconditional.
11727 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
11728 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11729 (__ASSUME_UTIMES): Do not undefine.
11730 * sysdeps/unix/sysv/linux/tile/kernel-features.h
11731 (__ASSUME_UTIMES): Likewise.
11732 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
11733 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
11734 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
11735 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
11736
11737 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
11738
11739 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
11740
11741 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
11742
11743 [BZ #17747]
11744 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
11745 alias to weak alias for j0l, y0l.
11746 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
11747 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
11748
11749 [BZ #17746]
11750 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
11751 conversion.
11752
11753 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
11754
11755 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
11756 to zero if not already defined.
11757
11758 2014-12-22 Joseph Myers <joseph@codesourcery.com>
11759
11760 [BZ #17724]
11761 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
11762 (__kernel_standard_f): Remove. Moved to k_standardf.c.
11763 (__kernel_standard_l): Remove. Moved to k_standardl.c with
11764 (char *) casts added.
11765 * sysdeps/ieee754/k_standardf.c: New file.
11766 * sysdeps/ieee754/k_standardl.c: Likewise.
11767 * math/Makefile (libm-support): Remove k_standard.
11768 (libm-calls): Add k_standard.
11769
11770 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
11771
11772 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
11773 Optimize to avoid an unnecessary FPCR read.
11774
11775 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
11776
11777 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
11778 Optimize to reduce FPCR/FPSR accesses.
11779
11780 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
11781
11782 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
11783 Call libc_fetestexcept_aarch64.
11784
11785 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
11786
11787 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
11788 Call libc_fesetround_aarch64.
11789
11790 2014-12-22 Joseph Myers <joseph@codesourcery.com>
11791
11792 [BZ #17733]
11793 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
11794 (__bind): Do not define as weak alias.
11795 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
11796 define.
11797 (__getsockname): Do not define as weak alias.
11798
11799 2014-12-22 Will Newton <will.newton@linaro.org>
11800
11801 * manual/install.texi: Document that we require bison 2.7
11802 or above.
11803 * INSTALL: Regenerate.
11804 * configure.ac: Use AC_CHECK_PROG_VER instead of
11805 AC_PATH_PROG when checking for bison and check for
11806 version 2.7 or above.
11807 * configure: Regenerate.
11808
11809 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
11810
11811 [BZ #17745]
11812 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
11813 * sysdeps/tile/ffsll.c (ffsll): To here.
11814
11815 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
11816
11817 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
11818
11819 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
11820 if not defined.
11821 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
11822 definition.
11823 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
11824 hidden ___tls_get_addr.
11825 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
11826 hidden __tls_get_addr.
11827 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
11828 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
11829 Likewise.
11830
11831 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
11832
11833 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
11834 _dl_init call.
11835
11836 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
11837
11838 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
11839 from "call _dl_init@PLT".
11840 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
11841
11842 2014-12-21 Anders Kaseorg <andersk@mit.edu>
11843
11844 * manual/search.texi: (Array Sort Function): Clarify stable sorting
11845 guarantees.
11846
11847 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
11848
11849 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
11850
11851 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
11852
11853 [BZ #17744]
11854 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
11855 strnlen.
11856
11857 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
11858
11859 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
11860 of multu on MIPSr6.
11861 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
11862 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
11863 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
11864 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
11865 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
11866
11867 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
11868
11869 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
11870 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
11871 (PTR_SUBU): Use subu for mips32r6/mips64r6.
11872 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
11873 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
11874 mips32r6/mips64r6.
11875 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
11876
11877 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
11878
11879 * string/strncat.c (STRNCAT): Simplify implementation.
11880
11881 2014-12-19 David S. Miller <davem@davemloft.net>
11882
11883 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
11884 access the quad as both a long double and as a series of 4 words.
11885
11886 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
11887 link_map->l_info array access.
11888
11889 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
11890
11891 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
11892
11893 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
11894 * math/atest-exp2.c (TIMEOUT): Likewise.
11895 * math/atest-sincos.c (TIMEOUT): Likewise.
11896
11897 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
11898
11899 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
11900 -Wno-error with -fno-builtin-lround.
11901
11902 2014-12-19 Torvald Riegel <triegel@redhat.com>
11903
11904 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
11905 Contains futex constants and functions moved over from ...
11906 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
11907 <lowlevellock-futex.h>.
11908 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
11909 (lll_timedwait_tid): Add comments and parentheses around macro
11910 arguments.
11911
11912 2014-12-19 Torvald Riegel <triegel@redhat.com>
11913
11914 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
11915 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
11916 (__lll_private_flag): Remove.
11917 (lll_futex_wait): Likewise.
11918 (lll_futex_timed_wait): Likewise.
11919 (lll_futex_wake): Likewise.
11920 (lll_futex_requeue): Likewise.
11921 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
11922 (__lll_timedwait_tid): Spell out argument names.
11923 (lll_timedwait_tid): Add comments and parentheses around macro
11924 arguments.
11925 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
11926 LLL_SHARED and LLL_PRIVATE usable from assembly code.
11927
11928 2014-12-19 Torvald Riegel <triegel@redhat.com>
11929
11930 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
11931 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
11932 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
11933 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
11934 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
11935 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
11936 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
11937 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
11938 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
11939 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
11940 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
11941 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
11942 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
11943 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
11944 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
11945 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
11946 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
11947 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
11948 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
11949
11950 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
11951
11952 * sysdeps/x86_64/x32/Makefile: New file.
11953
11954 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
11955
11956 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
11957 1L with (mp_limb_t) 1.
11958
11959 2014-12-17 Roland McGrath <roland@hack.frob.com>
11960
11961 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
11962 * nptl/libc_pthread_init.c: ... here.
11963 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
11964 * nptl/register-atfork.c: ... here.
11965
11966 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
11967 Use pthread_sigmask rather than INTERNAL_SYSCALL.
11968 Use assert_perror to check its return value.
11969 (__gai_create_helper_thread): Likewise.
11970
11971 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
11972
11973 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
11974
11975 2014-12-17 Joseph Myers <joseph@codesourcery.com>
11976
11977 [BZ #17725]
11978 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
11979 __profil_counter.
11980 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
11981 Likewise.
11982 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
11983 Likewise.
11984 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
11985 Likewise.
11986 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
11987 (profil_counter): Likewise.
11988 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
11989 (profil_counter): Likewise.
11990 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
11991 Likewise.
11992 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
11993 Likewise.
11994 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
11995 (profil_counter): Likewise.
11996 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
11997 Likewise.
11998 [!__profil_counter] (profil_counter): Define as weak alias of
11999 __profil_counter.
12000 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
12001 (profil_counter): Rename to __profil_counter.
12002 [!__profil_counter] (profil_counter): Define as weak alias of
12003 __profil_counter.
12004 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
12005 (profil_counter): Rename to __profil_counter.
12006 [!__profil_counter] (profil_counter): Define as weak alias of
12007 __profil_counter.
12008 * sysdeps/posix/profil.c: Update comment referring to
12009 profil_counter.
12010 (__profil): Use __profil_counter instead of profil_counter.
12011 * sysdeps/posix/sprofil.c (profil_counter): Rename to
12012 __profil_counter. Use __profil_counter_ushort and
12013 __profil_counter_uint in definitions.
12014 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
12015 instead of profil_counter_uint and profil_counter_ushort.
12016
12017 [BZ #17722]
12018 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
12019 define as weak alias of __inet_makeaddr.
12020 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
12021 as weak alias of __inet_addr.
12022 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
12023 as weak alias of __inet_pton. Use libc_hidden_weak.
12024 * include/arpa/inet.h (__inet_pton): Declare. Use
12025 libc_hidden_proto.
12026 (inet_makeaddr): Don't use libc_hidden_proto.
12027 (__inet_makeaddr): Declare. Use libc_hidden_proto.
12028 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
12029 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
12030 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
12031 Remove variable.
12032 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
12033 (test-xfail-POSIX/time.h/linknamespace): Likewise.
12034
12035 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
12036
12037 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
12038
12039 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
12040
12041 * stdio-common/bug-vfprintf-nargs.c (do_test):
12042 Cast value to intptr_t to avoid format warning
12043 for usage with PRIdPTR printing macro.
12044
12045 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
12046
12047 * libio/tst-widetext.c (do_test):
12048 Use format type %td instead of %Zd for ptrdiff_t
12049 in order to avoid format warning.
12050
12051 2014-12-17 Andreas Schwab <schwab@suse.de>
12052
12053 * nscd/mem.c (gc): Add size_t cast to match printf format.
12054
12055 2014-12-16 Roland McGrath <roland@hack.frob.com>
12056
12057 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
12058 (init): Apply PTR_MANGLE to pointers before storing them.
12059 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
12060 before using them.
12061
12062 2014-12-16 Joseph Myers <joseph@codesourcery.com>
12063
12064 [BZ #17719]
12065 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
12066 define as weak alias of __memrchr.
12067 (__memrchr): Do not define as strong alias of memrchr.
12068 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
12069 Remove variable.
12070 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
12071 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
12072 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
12073
12074 [BZ #17717]
12075 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
12076 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
12077 (if_indextoname): Rename to __if_indextoname and define as weak
12078 alias of __if_indextoname. Use libc_hidden_weak.
12079 (if_freenameindex): Rename to __if_freenameindex and define as
12080 weak alias of __if_freenameindex.
12081 (if_nameindex): Rename to __if_nameindex and define as weak alias
12082 of __if_nameindex.
12083 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
12084 __if_nametoindex and define as weak alias of __if_nametoindex.
12085 Use libc_hidden_weak.
12086 (if_freenameindex): Rename to __if_freenameindex and define as
12087 weak alias of __if_freenameindex.
12088 (if_nameindex): Rename to __if_nameindex and define as weak alias
12089 of __if_nameindex.
12090 (if_indextoname): Rename to __if_indextoname and define as weak
12091 alias of __if_indextoname. Use libc_hidden_weak.
12092 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
12093 __if_nametoindex and define as weak alias of __if_nametoindex.
12094 Use libc_hidden_weak.
12095 (if_freenameindex): Rename to __if_freenameindex and define as
12096 weak alias of __if_freenameindex. Use libc_hidden_weak.
12097 (if_nameindex_netlink): Use __if_freenameindex instead of
12098 if_freenameindex.
12099 (if_nameindex): Rename to __if_nameindex and define as weak alias
12100 of __if_nameindex. Use libc_hidden_weak.
12101 (if_indextoname): Rename to __if_indextoname and define as weak
12102 alias of __if_indextoname. Use libc_hidden_weak.
12103 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
12104 libc_hidden_proto.
12105 [!_ISOMAC] (__if_freenameindex): Likewise.
12106 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
12107 if_nametoindex.
12108 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
12109 variable.
12110 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
12111 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
12112 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
12113 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
12114 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
12115 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
12116 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
12117
12118 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
12119 Remove variable.
12120 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
12121 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
12122
12123 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12124
12125 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
12126 subscript above bounds'
12127
12128 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
12129 bounds.
12130
12131 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
12132
12133 * libio/tst-fopenloc.c: Use test-skeleton.c.
12134
12135 * stdlib/tst-bsearch.c: Use test-skeleton.c.
12136 (entry): Rename to ITEM.
12137 (do_test, comp): Adjust.
12138
12139 * stdio-common/tst-fseek.c: Use test-skeleton.c.
12140
12141 2014-12-16 Torvald Riegel <triegel@redhat.com>
12142
12143 * string/tester.c: Include <libc-internal.h>.
12144 (test_memset): Ignore -Wmemset-transposed-args.
12145
12146 2014-12-16 Torvald Riegel <triegel@redhat.com>
12147
12148 * misc/tst-mntent2.c (do_test): Fix warning.
12149
12150 2014-12-16 Torvald Riegel <triegel@redhat.com>
12151
12152 * elf/tst-unique4lib.cc(a): Mark as used.
12153
12154 2014-12-16 Florian Weimer <fweimer@redhat.com>
12155
12156 [BZ #17630]
12157 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
12158 names.
12159
12160 2014-12-16 Allan McRae <allan@archlinux.org>
12161
12162 * stdio-common/Makefile (tests): Re-add bug26.
12163
12164 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
12165
12166 [BZ #17657]
12167 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
12168 static array.
12169
12170 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
12171
12172 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
12173 (__lll_lock_wait): Likewise.
12174 (__lll_timedlock_wait): Likewise.
12175 (__lll_timedwait_tid): Likewise.
12176 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
12177 (__lll_robust_timedlock_wait): Likewise.
12178 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
12179 (lll_cond_trylock): Likewise.
12180 (__lll_lock): Likewise.
12181 (__lll_robust_lock): Likewise.
12182 (__lll_cond_lock): Likewise.
12183 (lll_robust_cond_lock): Likewise.
12184 (__lll_timedlock): Likewise.
12185 (__lll_robust_timedlock): Likewise.
12186 (__lll_unlock): Likewise.
12187 (__lll_robust_unlock): Likewise.
12188 (lll_wait_tid): Likewise.
12189 (lll_timedwait_tid): Likewise.
12190
12191 2014-12-15 Torvald Riegel <triegel@redhat.com>
12192
12193 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
12194
12195 2014-12-15 Torvald Riegel <triegel@redhat.com>
12196
12197 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
12198
12199 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
12200
12201 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
12202 * stdio-common/tst-sprintf.c: Likewise.
12203
12204 2014-12-15 Torvald Riegel <triegel@redhat.com>
12205
12206 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
12207
12208 2014-12-15 Jeff Law <law@redhat.com>
12209
12210 [BZ #16617]
12211 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
12212 on the heap. (CVE-2012-3406)
12213 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
12214 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
12215 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
12216
12217 2014-12-15 Will Newton <will.newton@linaro.org>
12218
12219 * manual/install.texi: Bump required version of texinfo
12220 to 4.7 from 4.5.
12221 * INSTALL: Regenerated.
12222 * configure.ac: Check for makeinfo version 4.7 and above.
12223 * configure: Regenerated.
12224
12225 2014-12-12 Roland McGrath <roland@hack.frob.com>
12226
12227 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
12228 PREFIX, string constant to insert between directory and name.
12229 * sysdeps/posix/shm_open.c: Update caller.
12230 * sysdeps/posix/shm_unlink.c: Likewise.
12231 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
12232 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
12233 (SEM_SHM_PREFIX): New macro.
12234 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
12235 [$(have-thread-library) = no].
12236 * nptl/Makefile (libpthread-routines): Add shm-directory.
12237 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
12238 * sysdeps/nptl/shm-directory.h: New file.
12239 * sysdeps/posix/shm-directory.c
12240 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
12241 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
12242 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
12243 INTERNAL_SYSCALL.
12244 (__where_is_shmfs): Function removed.
12245 (mountpoint, defaultmount, defaultdir, __namedsem_once):
12246 Variables removed.
12247 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
12248 Use SHM_GET_NAME.
12249 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
12250
12251 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
12252 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
12253 unconditional for use inside libpthread.
12254 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
12255
12256 2014-12-12 Roland McGrath <roland@hack.frob.com>
12257
12258 * nptl/pthread_getaffinity.c: New file.
12259 * nptl/pthread_setaffinity.c: New file.
12260 * nptl/pthread_getname.c: New file.
12261 * nptl/pthread_setname.c: New file.
12262
12263 * nptl/pthread_create.c (START_THREAD_DEFN)
12264 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
12265
12266 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
12267 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12268
12269 * resolv/res_send.c (send_vc): Disable warning resplen may
12270 be used uninitialized.
12271
12272 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
12273
12274 * nptl/tst-mutex6.c
12275 (ATTR_NULL): New define checks ATTR against NULL.
12276 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
12277 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
12278
12279 2014-12-11 James Lemke <jwlemke@codesourcery.com>
12280
12281 [BZ #17581]
12282 * malloc/hooks.c
12283 (mem2mem_check): Revert my previous change.
12284 (malloc_check_get_size): Revert my previous change.
12285 (mem2chunk_check): Revert my previous change.
12286
12287 2014-12-11 Roland McGrath <roland@hack.frob.com>
12288
12289 * sysdeps/posix/shm-directory.c: New file.
12290 * sysdeps/posix/shm-directory.h: New file.
12291 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
12292 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
12293 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
12294 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
12295 Transmute EPERM to EACCES.
12296 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
12297 from ...
12298 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
12299 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
12300
12301 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12302
12303 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
12304 pointer and cast to uintptr_t.
12305 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
12306 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
12307 Add cast to avoid warning.
12308 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
12309
12310 2014-12-11 Joseph Myers <joseph@codesourcery.com>
12311
12312 * nptl/semaphore.h: Move to ...
12313 * sysdeps/pthread/semaphore.h: ... here.
12314 * Makefile (installed-headers): Change nptl/semaphore.h to
12315 sysdeps/pthread/semaphore.h.
12316
12317 2014-12-11 Roland McGrath <roland@hack.frob.com>
12318
12319 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
12320 generated error format strings.
12321
12322 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
12323 -Wformat-extra-args warnings for scanf formats.
12324 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
12325 test of zero-length format (duh).
12326 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
12327 corner-case scanf format test.
12328 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
12329 generated fprintf format string.
12330 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
12331 corner-case sprintf format tests.
12332 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
12333 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
12334 -Wformat-extra-args warnings throughout.
12335 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
12336 (CFLAGS-scanf4.c): Likewise.
12337 (CFLAGS-scanf7.c): Likewise.
12338 (CFLAGS-tst-sprintf.c): Likewise.
12339 (CFLAGS-tst-printf.c): Likewise.
12340 (CFLAGS-tst-printfsz.c): Likewise.
12341
12342 2014-12-11 Joseph Myers <joseph@codesourcery.com>
12343
12344 * include/cpio.h: New file.
12345 * include/fmtmsg.h: Likewise.
12346
12347 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
12348 corresponding format argument to size_t.
12349 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
12350 arguments.
12351 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
12352 corresponding format argument to size_t.
12353 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
12354 arguments.
12355 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
12356 corresponding format argument to size_t.
12357 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
12358 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
12359 (CFLAGS-tst-mbswcs2.c): Likewise.
12360 (CFLAGS-tst-mbswcs3.c): Likewise.
12361 (CFLAGS-tst-mbswcs4.c): Likewise.
12362 (CFLAGS-tst-mbswcs5.c): Likewise.
12363 (CFLAGS-tst-trans.c): Likewise
12364
12365 2014-12-11 Roland McGrath <roland@hack.frob.com>
12366
12367 * posix/regexbug1.c (main): Use "%s" format with regerror results,
12368 rather than assuming they won't contain any '%'s.
12369
12370 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
12371
12372 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
12373 inhibit_loop_to_libcall to avoid recursive calls.
12374 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
12375 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
12376
12377 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
12378
12379 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
12380 prototype.
12381
12382 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
12383
12384 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
12385 integer value instead of boolean.
12386
12387 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
12388
12389 * malloc/malloc.c: Fix powerof2 check.
12390
12391 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
12392
12393 * locale/programs/locfile.h (maybe_swap_uint32):
12394 Remove inline and add unused attribute.
12395
12396 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
12397
12398 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
12399 Truncating assembler expression to a .long expression.
12400
12401 2014-12-11 Andreas Schwab <schwab@suse.de>
12402
12403 * elf/rtld.c (struct map_args): Constify str member.
12404 (do_preload): Constify fname argument.
12405
12406 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12407
12408 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
12409 constants definition.
12410
12411 2014-12-11 Andreas Schwab <schwab@suse.de>
12412
12413 [BZ #16657]
12414 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
12415 FORCE_ELISION instead of DO_ELISION.
12416 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
12417 Remove.
12418 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
12419 Likewise.
12420
12421 * iconvdata/gconv-modules: Remove duplicate entry.
12422
12423 2014-12-11 Will Newton <will.newton@linaro.org>
12424
12425 Merge gettext 0.19.3 into intl/.
12426
12427 This involves a number of cosmetic changes to comments
12428 and ANSI function definitions and prototypes throughout
12429 all the files. The gettext copyright header is used but
12430 with the date ranges taken from the glibc copy.
12431
12432 * NEWS: Add gettext merge to 2.21.
12433 * intl/bindtextdom.c: Switch to gettext copyright.
12434 Use ANSI definitions and prototypes.
12435 Use gl_* locking primitives rather than __libc_* ones.
12436 Use __builtin_expect rather than __glibc_likely/unlikely.
12437 * intl/dcgettext.c: Switch to gettext copyright.
12438 Use ANSI definitions and prototypes.
12439 * intl/dcigettext.c: Switch to gettext copyright.
12440 Use ANSI definitions and prototypes.
12441 (INTDIV0_RAISES_SIGFPE): New define.
12442 Use gl_* locking primitives rather than __libc_* ones.
12443 Include eval-plural.h instead of plural-eval.c.
12444 Use __builtin_expect rather than __glibc_likely/unlikely.
12445 * intl/dcngettext.c: Switch to gettext copyright.
12446 Use ANSI definitions and prototypes.
12447 * intl/dgettext.c: Likewise.
12448 * intl/dngettext.c: Likewise.
12449 * intl/plural-eval.c: Renamed to...
12450 * intl/eval-plural.h: ...this.
12451 * intl/explodename.c: Switch to gettext copyright.
12452 Use ANSI definitions and prototypes.
12453 (_nl_explode_name): Use strchr instead of __rawmemchr.
12454 * intl/finddomain.c: Switch to gettext copyright.
12455 Use ANSI definitions and prototypes.
12456 Use gl_* locking primitives rather than __libc_* ones.
12457 (_nl_find_domain): Use malloc rather than alloca for
12458 allocation of temporary locale name.
12459 * intl/gettext.c: Switch to gettext copyright.
12460 Use ANSI definitions and prototypes.
12461 * intl/gettextP.h: Switch to gettext copyright.
12462 Use ANSI definitions and prototypes.
12463 Use gl_* locking primitives rather than __libc_* ones.
12464 * intl/gmo.h: Switch to gettext copyright.
12465 (struct sysdep_string): Move struct segment_pair outside of
12466 struct definition.
12467 * intl/hash-string.c: Use ANSI definitions and prototypes.
12468 * intl/hash-string.h: Switch to gettext copyright.
12469 Use ANSI definitions and prototypes.
12470 * intl/l10nflist.c: Switch to gettext copyright.
12471 Use ANSI definitions and prototypes.
12472 (_nl_normalize_codeset): Avoid integer overflow.
12473 * intl/loadinfo.h: Switch to gettext copyright.
12474 Use ANSI definitions and prototypes.
12475 (LIBINTL_DLL_EXPORTED): New define.
12476 (PATH_SEPARATOR): New define.
12477 * intl/loadmsgcat.c: Switch to gettext copyright.
12478 * intl/localealias.c: Switch to gettext copyright.
12479 Use ANSI definitions and prototypes.
12480 (_nl_expand_alias): Use PATH_SEPARATOR.
12481 * intl/ngettext.c: Switch to gettext copyright.
12482 Use ANSI definitions and prototypes.
12483 * intl/plural-exp.c: Likewise.
12484 * intl/plural-exp.h: Switch to gettext copyright.
12485 Use ANSI definitions and prototypes.
12486 (struct expression): Move definition of enum operator outside
12487 of struct definition.
12488 * intl/plural.c: Regenerate.
12489 * intl/plural.y: Switch to gettext copyright.
12490 Use ANSI definitions and prototypes.
12491 Port to bison 3.0.
12492 * intl/textdomain.c: Switch to gettext copyright.
12493 Use ANSI definitions and prototypes.
12494 Use gl_* locking primitives rather than __libc_* ones.
12495
12496 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
12497
12498 * debug/warning-nop.c: Add used atrribute.
12499
12500 2014-12-10 Joseph Myers <joseph@codesourcery.com>
12501
12502 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
12503
12504 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
12505 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
12506 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
12507
12508 2014-12-10 Joseph Myers <joseph@codesourcery.com>
12509 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12510
12511 [BZ #17634]
12512 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
12513 Undefine after defining function. Define as weak alias of
12514 __wcschr. Use libc_hidden_weak.
12515 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
12516 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
12517 (libc_hidden_def): Also define __GI___wcschr alias.
12518 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
12519 __wcschr and define as weak alias of __wcschr.
12520 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
12521 __wcschr.
12522 [!WCSCHR] (DEFAULT_WCSCHR): Define.
12523 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
12524 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
12525 libc_hidden_weak. Do not use libc_hidden_def.
12526 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
12527 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
12528 __GI___wcschr alias.
12529 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
12530 [IS_IN (libc)] (wcschr): Define as macro expanding to
12531 __redirect_wcschr.
12532 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
12533 [IS_IN (libc)] (__wcschr_power6): Likewise.
12534 [IS_IN (libc)] (__wcschr_power7): Likewise.
12535 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
12536 instead of wcschr.
12537 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
12538 __libc_wcschr.
12539 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
12540 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
12541 __wcschr and define as weak alias of __wcschr. Use
12542 libc_hidden_builtin_def.
12543 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
12544 as weak alias of __wcschr. Use libc_hidden_weak.
12545 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
12546 wcschr.
12547 * time/era.c (_nl_init_era_entries): Likewise.
12548 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
12549 variable.
12550 (test-xfail-XPG3/time.h/linknamespace): Likewise.
12551 (test-xfail-XPG4/time.h/linknamespace): Likewise.
12552
12553 2014-12-10 Joseph Myers <joseph@codesourcery.com>
12554
12555 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
12556 format for long int variable.
12557
12558 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
12559
12560 [BZ #10672]
12561 * manual/search.texi: (Array Sort Function): Remove claim how to make
12562 qsort stable.
12563
12564 2014-12-10 Andreas Schwab <schwab@suse.de>
12565
12566 [BZ #12847]
12567 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
12568 user-controlled locks.
12569
12570 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
12571
12572 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
12573 register.
12574
12575 2014-12-10 Joseph Myers <joseph@codesourcery.com>
12576
12577 * configure.ac (--disable-werror): New configure option.
12578 (enable_werror): New AC_SUBST.
12579 * configure: Regenerated.
12580 * config.make.in (enable-werror): New variable.
12581 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
12582 -Wno-error=undef.
12583 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
12584 * manual/install.texi (Configuring and compiling): Document
12585 --disable-werror.
12586 * INSTALL: Regenerated.
12587 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
12588 (CFLAGS-tst-chk2.c): Likewise.
12589 (CFLAGS-tst-chk3.c): Likewise.
12590 (CFLAGS-tst-chk4.cc): Likewise.
12591 (CFLAGS-tst-chk5.cc): Likewise.
12592 (CFLAGS-tst-chk6.cc): Likewise.
12593 (CFLAGS-tst-lfschk1.c): Likewise.
12594 (CFLAGS-tst-lfschk2.c): Likewise.
12595 (CFLAGS-tst-lfschk3.c): Likewise.
12596 (CFLAGS-tst-lfschk4.cc): Likewise.
12597 (CFLAGS-tst-lfschk5.cc): Likewise.
12598 (CFLAGS-tst-lfschk6.cc): Likewise.
12599
12600 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
12601 (main): Disable -Wdeprecated-declarations around calls to
12602 register_printf_function.
12603
12604 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
12605 (do_test): Disable -Wdiv-by-zero around some calls to
12606 fwrite_unlocked and fread_unlocked.
12607
12608 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
12609 (DIAG_POP_NEEDS_COMMENT): Likewise.
12610 (_DIAG_STR1): Likewise.
12611 (_DIAG_STR): Likewise.
12612 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
12613 * stdio-common/bug21.c: Include <libc-internal.h>.
12614 (do_test): Disable -Wformat around call to sscanf.
12615 * stdio-common/scanf14.c: Include <libc-internal.h>.
12616 (main): Disable -Wformat around some calls to scanf functions.
12617
12618 2014-12-09 Torvald Riegel <triegel@redhat.com>
12619
12620 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
12621
12622 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12623
12624 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
12625 stack variable alignment.
12626
12627 2014-12-06 Joseph Myers <joseph@codesourcery.com>
12628
12629 [BZ #17682]
12630 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
12631 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
12632 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
12633 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
12634 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
12635 __getrlimit instead of getrlimit.
12636 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
12637 __gettimeofday instead of gettimeofday.
12638 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
12639 Likewise.
12640 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
12641 Likewise.
12642 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
12643 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
12644 Remove variable.
12645 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
12646 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
12647
12648 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12649
12650 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
12651 for wide-character tests.
12652
12653 2014-12-04 Roland McGrath <roland@hack.frob.com>
12654
12655 * io/openat64.c: #include <libc-internal.h>
12656 (__openat64): Prototypify. Use ignore_value on MODE.
12657 * io/openat.c: Likewise.
12658 * misc/reboot.c: #include <libc-internal.h>
12659 (reboot): Prototypify. Use ignore_value on HOWTO.
12660 * misc/ptrace.c: #include <libc-internal.h>
12661 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
12662
12663 2014-12-04 Joseph Myers <joseph@codesourcery.com>
12664
12665 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
12666 XPG4, UNIX98 and XOPEN2K.
12667 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
12668 Remove variable.
12669 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
12670
12671 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12672
12673 * libio/fileops.c: Use ISO C style for function definitions.
12674 * libio/iofopen.c: Likewise.
12675 * libio/wfileops.c: Likewise.
12676
12677 [BZ #17653]
12678 * libio/fileops.c (_IO_new_file_underflow): Unset cached
12679 offset on EOF.
12680 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
12681 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
12682 (fgets_func): Function pointer to fgets and fgetws.
12683 (do_ftell_test): Add test to verify ftell value after read
12684 EOF.
12685 (do_test): Set fgets_func.
12686
12687 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
12688 O_TRUNC flag for w and w+ modes.
12689 (do_rewind_test): Likewise.
12690 (do_ftell_test): Likewise.
12691 (do_write_test): Likewise.
12692
12693 [BZ #17647]
12694 * libio/fileops.c (do_ftell): Seek only when there are
12695 unflushed writes.
12696 * libio/wfileops.c (do_ftell_wide): Likewise.
12697 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
12698 test case.
12699 (do_one_test): Call it.
12700
12701 2014-12-03 Joseph Myers <joseph@codesourcery.com>
12702
12703 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
12704 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
12705 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
12706 Remove variable.
12707 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
12708 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
12709 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
12710
12711 2014-12-02 Joseph Myers <joseph@codesourcery.com>
12712
12713 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
12714 Remove variable.
12715 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
12716
12717 [BZ #17668]
12718 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
12719 as weak alias of __getifaddrs. Use libc_hidden_weak.
12720 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
12721 __freeifaddrs. Use libc_hidden_weak.
12722 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
12723 define as weak alias of __getifaddrs. Use libc_hidden_weak.
12724 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
12725 __freeifaddrs. Use libc_hidden_weak.
12726 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
12727 __getifaddrs and define as weak alias of __getifaddrs. Use
12728 libc_hidden_weak.
12729 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
12730 __freeifaddrs. Use libc_hidden_weak.
12731 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
12732 Remove variable.
12733 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
12734 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
12735
12736 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
12737
12738 [BZ #17601]
12739 * sysdeps/mips/start.S (__start): Use indirect jump to call
12740 __libc_start_main.
12741
12742 2014-12-02 Joseph Myers <joseph@codesourcery.com>
12743
12744 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
12745
12746 * nptl/tst-mutex1.c: Include <stdbool.h>.
12747 [!ATTR] (ATTR_NULL): New macro.
12748 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
12749 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
12750 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
12751
12752 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
12753 to char *.
12754
12755 [BZ #17665]
12756 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
12757 Change conditional to [__USE_MISC].
12758
12759 [BZ #17664]
12760 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
12761 fgets_unlocked.
12762 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
12763 __fgets_unlocked.
12764 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
12765 fgets_unlocked.
12766 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
12767 Remove variable.
12768 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
12769 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
12770 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
12771 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
12772 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
12773 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
12774 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
12775 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
12776 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
12777
12778 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
12779
12780 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12781
12782 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12783 Remove strpbrk objects.
12784 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12785 (__libc_ifunc_impl_list): Remove strpbrk implementation.
12786 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
12787 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
12788 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
12789 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
12790
12791 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12792 Remove strcspn objects.
12793 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12794 (__libc_ifunc_impl_list): Remove strcspn implementation.
12795 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
12796 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
12797 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
12798 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
12799
12800 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12801 Remove strspn objetcs.
12802 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12803 (__libc_ifunc_impl_list): Remove strspn implementation.
12804 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
12805 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
12806 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
12807 * sysdeps/powerpc/powerpc64/strspn.S: New file.
12808
12809 2014-12-01 James Lemke <jwlemke@codesourcery.com>
12810
12811 [BZ #17581]
12812 * malloc/hooks.c
12813 (mem2mem_check): Add a terminator to the chain of checking blocks.
12814 (malloc_check_get_size): Use it here.
12815 (mem2chunk_check): Ditto.
12816
12817 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12818
12819 * sysdeps/powerpc/powerpc64/strtok.S: New file.
12820 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
12821
12822 2014-11-29 Carlos O'Donell <carlos@redhat.com>
12823
12824 * bits/ioctl-types.h: Indent preprocessor directives correctly.
12825
12826 * nptl/nptl-init.c: Include libc-internal.h.
12827 (__pthread_initialize_minimal_internal): Use ROUND_UP.
12828
12829 * elf/ldconfig.c (search_dir): Expand comment.
12830
12831 2014-11-29 Joseph Myers <joseph@codesourcery.com>
12832
12833 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
12834 variable.
12835 (linknamespace-symlist-stdlibs-tests): Likewise.
12836 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
12837 instead of $(objpfx)symlist-stdlibs.
12838 (linknamespace-libs-isoc): New variable.
12839 (linknamespace-libs): Use $(linknamespace-libs-isoc).
12840 (linknamespace-libs-ISO): New variable.
12841 (linknamespace-libs-ISO99): Likewise.
12842 (linknamespace-libs-ISO11): Likewise.
12843 (linknamespace-libs-XPG3): Likewise.
12844 (linknamespace-libs-XPG4): Likewise.
12845 (linknamespace-libs-POSIX): Likewise.
12846 (linknamespace-libs-UNIX98): Likewise.
12847 (linknamespace-libs-XOPEN2K): Likewise.
12848 (linknamespace-libs-POSIX2008): Likewise.
12849 (linknamespace-libs-XOPEN2K8): Likewise.
12850 ($(objpfx)symlist-stdlibs): Replace by
12851 $(linknamespace-symlist-stdlibs-tests). Use
12852 $(linknamespace-libs-$*) as set of libraries.
12853 ($(linknamespace-header-tests)): Update dependencies. Use
12854 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
12855 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
12856 * conform/linknamespace.pl: Remove comment about considering
12857 definitions of symbols from irrelevant libraries.
12858
12859 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
12860
12861 [BZ #13862]
12862 * elf/dl-tls.c: Include <atomic.h>.
12863 (oom): Remove #ifdef SHARED/#endif.
12864 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
12865 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
12866 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
12867 big enough.
12868 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
12869 * nptl/Makefile (tests): Add tst-stack4.
12870 (modules-names): Add tst-stack4mod.
12871 ($(objpfx)tst-stack4): New.
12872 (tst-stack4mod.sos): Likewise.
12873 ($(objpfx)tst-stack4.out): Likewise.
12874 ($(tst-stack4mod.sos)): Likewise.
12875 (clean): Likewise.
12876 * nptl/tst-stack4.c: New file.
12877 * nptl/tst-stack4mod.c: Likewise.
12878
12879 2014-11-27 J. Brown <jb999@gmx.de>
12880
12881 * sysdeps/x86/bits/string.h: Add recent CPUs.
12882
12883 2014-11-27 Joseph Myers <joseph@codesourcery.com>
12884
12885 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
12886 sigblock.
12887
12888 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
12889 feof.
12890
12891 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
12892 variable.
12893
12894 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
12895
12896 * nscd/connections.c: Include libc-internal.h because of macro
12897 usage ignore_value.
12898
12899 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12900
12901 * string/bits/string3.h (__warn_memset_zero_len): Don't
12902 declare for gcc newer than 5.0.
12903 (memset): Don't test for zero-length __LEN for gcc newer than
12904 5.0.
12905
12906 2014-11-27 Joseph Myers <joseph@codesourcery.com>
12907
12908 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
12909 size_t for %zu format.
12910
12911 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
12912 difference, not %ju.
12913
12914 2014-11-26 Joseph Myers <joseph@codesourcery.com>
12915
12916 * include/libc-internal.h (ignore_value): New macro.
12917 * nscd/connections.c (restart): Wrap calls to setuid and setgid
12918 with ignore_value.
12919
12920 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
12921 definition.
12922
12923 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
12924 pthread_cleanup_push to void *.
12925
12926 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
12927 Undefine.
12928
12929 [BZ #16619]
12930 [BZ #16740]
12931 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
12932 instead of 1L << 52.
12933
12934 * libio/bug-rewind.c (do_test): Check fwscanf return values.
12935 * libio/bug-rewind2.c (do_test): Likewise.
12936
12937 * debug/test-stpcpy_chk-ifunc.c: Remove file.
12938 * debug/test-strcpy_chk-ifunc.c: Likewise.
12939 * wcsmbs/test-wcschr-ifunc.c: Likewise.
12940 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
12941 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
12942 * wcsmbs/test-wcslen-ifunc.c: Likewise.
12943 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
12944 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
12945 * Rules [$(multi-arch) = no] (tests): Do not filter out
12946 $(tests-ifunc).
12947 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
12948 * debug/Makefile (tests-ifunc): Remove variable.
12949 (tests): Do not add $(tests-ifunc).
12950 * wcsmbs/Makefile (tests-ifunc): Remove variable.
12951 (tests): Do not add $(tests-ifunc).
12952 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
12953 [TEST_IFUNC]: Remove conditionals.
12954 * string/test-string.h (TEST_IFUNC): Remove macro.
12955 [TEST_IFUNC]: Remove conditionals.
12956
12957 * string/test-strchr.c [!WIDE] (L): New macro.
12958 [WIDE] (L): Likewise.
12959 (check1): Use CHAR instead of char. Use L on string and character
12960 constants.
12961
12962 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
12963
12964 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
12965 tests.
12966 * sysdeps/powerpc/bits/atomic.h
12967 (__arch_atomic_exchange_and_add_32_acq): Add definition.
12968 (__arch_atomic_exchange_and_add_32_rel): Likewise.
12969 (atomic_exchange_and_add_acq): Likewise.
12970 (atomic_exchange_and_add_rel): Likewise.
12971 * sysdeps/powerpc/powerpc32/bits/atomic.h
12972 (__arch_atomic_exchange_and_add_64_acq): Add definition.
12973 (__arch_atomic_exchange_and_add_64_rel): Likewise.
12974 * sysdeps/powerpc/powerpc64/bits/atomic.h
12975 (__arch_atomic_exchange_and_add_64_acq): Add definition.
12976 (__arch_atomic_exchange_and_add_64_rel): Likewise.
12977
12978 2014-11-26 Torvald Riegel <triegel@redhat.com>
12979
12980 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
12981 Change synchronization of __sched_fifo_min_prio and
12982 __sched_fifo_max_prio.
12983 * nptl/pthread_mutexattr_getprioceiling.c
12984 (pthread_mutexattr_getprioceiling): Likewise.
12985 * nptl/pthread_mutexattr_setprioceiling.c
12986 (pthread_mutexattr_setprioceiling): Likewise.
12987 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
12988 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
12989 Likewise.
12990
12991 2014-11-26 Joseph Myers <joseph@codesourcery.com>
12992
12993 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
12994 void.
12995
12996 2014-11-25 Joseph Myers <joseph@codesourcery.com>
12997
12998 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
12999 third argument const.
13000
13001 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
13002
13003 fnmatch: work around GCC compiler warning bug with uninit var
13004 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
13005 This works around a bug with x86-64 GCC 4.9.2 and earlier
13006 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
13007 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
13008 used uninitialized in this function [-Wmaybe-uninitialized]".
13009
13010 2014-11-25 Joseph Myers <joseph@codesourcery.com>
13011
13012 * posix/bug-regex31.c (main): Return RES not 0.
13013
13014 2014-11-25 Anton Blanchard <anton@samba.org>
13015
13016 * sysdeps/powerpc/bits/atomic.h
13017 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
13018
13019 2014-11-24 Sterling Augustine <saugustine@google.com>
13020
13021 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
13022
13023 2014-11-24 Ryan Cumming <etaoins@gmail.com>
13024
13025 [BZ #17608]
13026 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
13027
13028 2014-11-24 Joseph Myers <joseph@codesourcery.com>
13029
13030 [BZ #17633]
13031 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
13032 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
13033 variable.
13034 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
13035 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
13036
13037 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
13038
13039 * string/strncpy.c (strncpy): Improve performance by using memset.
13040
13041 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
13042
13043 * string/strcpy.c (strcpy):
13044 Improve performance by using strlen and memcpy.
13045
13046 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
13047
13048 * string/strcoll_l.c (get_next_seq): __always_inline.
13049 * string/strcoll_l.c (do_compare): __always_inline.
13050
13051 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
13052
13053 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
13054 defined.
13055 * include/mqueue.h: Likewise.
13056 * include/stdlib.h: Likewise.
13057
13058 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
13059 (get_null_defines): Adjust.
13060 * sunrpc/Makefile: Adjust comment.
13061 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
13062 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
13063 (CFLAGS-interp.c): Likewise.
13064 (CFLAGS-ldconfig.c): Likewise.
13065 (CPPFLAGS-.os): Likewise.
13066 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
13067 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
13068 * extra-modules.mk (extra-modules.mk): Likewise.
13069 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
13070 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
13071 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
13072 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
13073 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
13074 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
13075 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
13076 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
13077 * iconvdata/Makefile (CPPFLAGS): Likewise.
13078 (cpp-srcs-left): Add libof for all iconvdata routines.
13079 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
13080 * include/assert.h: Likewise.
13081 * include/ctype.h: Likewise.
13082 * include/errno.h: Likewise.
13083 * include/libc-symbols.h: Likewise.
13084 * include/math.h: Likewise.
13085 * include/netdb.h: Likewise.
13086 * include/resolv.h: Likewise.
13087 * include/stdio.h: Likewise.
13088 * include/stdlib.h: Likewise.
13089 * include/string.h: Likewise.
13090 * include/sys/stat.h: Likewise.
13091 * include/wctype.h: Likewise.
13092 * intl/l10nflist.c: Likewise.
13093 * libidn/idn-stub.c: Likewise.
13094 * libio/libioP.h: Likewise.
13095 * nptl/libc_multiple_threads.c: Likewise.
13096 * nptl/pthreadP.h: Likewise.
13097 * posix/regex_internal.h: Likewise.
13098 * resolv/res_hconf.c: Likewise.
13099 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
13100 * sysdeps/arm/memmove.S: Likewise.
13101 * sysdeps/arm/sysdep.h: Likewise.
13102 * sysdeps/generic/_itoa.h: Likewise.
13103 * sysdeps/generic/symbol-hacks.h: Likewise.
13104 * sysdeps/gnu/errlist.awk: Likewise.
13105 * sysdeps/gnu/errlist.c: Likewise.
13106 * sysdeps/i386/i586/memcpy.S: Likewise.
13107 * sysdeps/i386/i586/memset.S: Likewise.
13108 * sysdeps/i386/i686/memcpy.S: Likewise.
13109 * sysdeps/i386/i686/memmove.S: Likewise.
13110 * sysdeps/i386/i686/mempcpy.S: Likewise.
13111 * sysdeps/i386/i686/memset.S: Likewise.
13112 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
13113 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
13114 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
13115 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
13116 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
13117 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
13118 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
13119 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
13120 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
13121 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
13122 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
13123 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
13124 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
13125 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
13126 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
13127 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
13128 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
13129 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
13130 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
13131 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
13132 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
13133 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
13134 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
13135 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
13136 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
13137 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
13138 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
13139 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
13140 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
13141 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
13142 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
13143 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
13144 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
13145 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13146 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
13147 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
13148 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
13149 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
13150 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
13151 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
13152 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
13153 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
13154 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
13155 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
13156 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
13157 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
13158 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
13159 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
13160 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
13161 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
13162 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
13163 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
13164 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
13165 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
13166 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
13167 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
13168 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
13169 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
13170 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
13171 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
13172 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
13173 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
13174 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
13175 * sysdeps/nptl/bits/libc-lock.h: Likewise.
13176 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
13177 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
13178 * sysdeps/posix/closedir.c: Likewise.
13179 * sysdeps/posix/opendir.c: Likewise.
13180 * sysdeps/posix/readdir.c: Likewise.
13181 * sysdeps/posix/rewinddir.c: Likewise.
13182 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
13183 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
13184 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
13185 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
13186 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
13187 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
13188 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
13189 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
13190 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
13191 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
13192 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
13193 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
13194 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
13195 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
13196 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
13197 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
13198 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
13199 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
13200 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
13201 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
13202 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
13203 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
13204 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
13205 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
13206 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
13207 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
13208 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
13209 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
13210 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
13211 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
13212 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
13213 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
13214 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
13215 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
13216 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
13217 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
13218 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
13219 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
13220 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
13221 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
13222 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
13223 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
13224 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
13225 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
13226 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
13227 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
13228 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
13229 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
13230 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
13231 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
13232 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
13233 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
13234 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
13235 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
13236 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
13237 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
13238 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
13239 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
13240 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
13241 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
13242 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
13243 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
13244 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
13245 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
13246 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
13247 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
13248 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
13249 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
13250 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
13251 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
13252 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
13253 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
13254 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
13255 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
13256 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
13257 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
13258 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
13259 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
13260 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
13261 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
13262 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
13263 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
13264 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
13265 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
13266 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
13267 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
13268 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
13269 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
13270 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
13271 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
13272 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
13273 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
13274 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
13275 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
13276 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
13277 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
13278 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
13279 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
13280 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
13281 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
13282 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13283 * sysdeps/unix/alpha/sysdep.S: Likewise.
13284 * sysdeps/unix/alpha/sysdep.h: Likewise.
13285 * sysdeps/unix/make-syscalls.sh: Likewise.
13286 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
13287 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
13288 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
13289 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
13290 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
13291 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
13292 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
13293 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
13294 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
13295 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
13296 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
13297 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
13298 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
13299 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
13300 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
13301 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
13302 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
13303 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
13304 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
13305 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
13306 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
13307 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
13308 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
13309 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
13310 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
13311 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
13312 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
13313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
13314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
13315 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
13316 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
13317 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
13318 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
13319 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13320 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
13321 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
13322 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
13323 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13324 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
13325 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
13326 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
13327 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
13328 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
13329 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
13330 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
13331 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
13332 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
13333 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
13334 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
13335 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13336 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
13337 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
13338 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
13339 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
13340 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
13341 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
13342 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
13343 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13344 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
13345 * sysdeps/x86_64/memcpy.S: Likewise.
13346 * sysdeps/x86_64/memmove.c: Likewise.
13347 * sysdeps/x86_64/memset.S: Likewise.
13348 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
13349 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
13350 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
13351 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
13352 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
13353 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
13354 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
13355 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
13356 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
13357 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
13358 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
13359 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
13360 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
13361 * sysdeps/x86_64/multiarch/memset.S: Likewise.
13362 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13363 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
13364 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
13365 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
13366 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
13367 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
13368 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
13369 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
13370 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
13371 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
13372 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
13373 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
13374 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
13375 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
13376 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
13377 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
13378 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
13379 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
13380 * sysdeps/x86_64/strcmp.S: Likewise.
13381
13382 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
13383
13384 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
13385 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
13386 * elf/rtld-Rules: Likewise.
13387 * elf/setup-vdso.h: Likewise.
13388 * include/assert.h: Likewise.
13389 * include/bits/stdlib-float.h: Likewise.
13390 * include/errno.h: Likewise.
13391 * include/sys/stat.h: Likewise.
13392 * include/unistd.h: Likewise.
13393 * sysdeps/aarch64/setjmp.S: Likewise.
13394 * sysdeps/alpha/setjmp.S: Likewise.
13395 * sysdeps/arm/__longjmp.S: Likewise.
13396 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
13397 * sysdeps/arm/setjmp.S: Likewise.
13398 * sysdeps/arm/sysdep.h: Likewise.
13399 * sysdeps/generic/_itoa.h: Likewise.
13400 * sysdeps/generic/dl-sysdep.h: Likewise.
13401 * sysdeps/generic/ldsodefs.h: Likewise.
13402 * sysdeps/i386/dl-tls.h: Likewise.
13403 * sysdeps/i386/setjmp.S: Likewise.
13404 * sysdeps/m68k/setjmp.c: Likewise.
13405 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
13406 * sysdeps/mach/hurd/opendir.c: Likewise.
13407 * sysdeps/posix/getcwd.c: Likewise.
13408 * sysdeps/posix/opendir.c: Likewise.
13409 * sysdeps/posix/profil.c: Likewise.
13410 * sysdeps/powerpc/dl-procinfo.h: Likewise.
13411 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
13412 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
13413 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
13414 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
13415 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
13416 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
13417 * sysdeps/s390/dl-tls.h: Likewise.
13418 * sysdeps/s390/s390-32/setjmp.S: Likewise.
13419 * sysdeps/s390/s390-64/setjmp.S: Likewise.
13420 * sysdeps/sh/sh3/setjmp.S: Likewise.
13421 * sysdeps/sh/sh4/setjmp.S: Likewise.
13422 * sysdeps/unix/alpha/sysdep.h: Likewise.
13423 * sysdeps/unix/arm/sysdep.S: Likewise.
13424 * sysdeps/unix/i386/sysdep.S: Likewise.
13425 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
13426 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
13427 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
13428 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
13429 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
13430 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
13431 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
13432 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
13433 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
13434 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
13435 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
13436 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
13437 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
13438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
13439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13440 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
13441 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13442 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13443 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
13444 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
13445 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
13446 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
13447 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13448 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
13449 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
13450 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
13451 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13452 * sysdeps/unix/x86_64/sysdep.S: Likewise.
13453 * sysdeps/x86_64/setjmp.S: Likewise.
13454
13455 * include/math.h: Use IS_IN instead of IS_IN_libm.
13456 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
13457 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
13458 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
13459 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
13460 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
13461 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
13462 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
13463 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
13464 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13465 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
13466 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
13467 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
13468 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
13469 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
13470 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
13471 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
13472 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
13473 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
13474 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
13475 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
13476 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
13477 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
13478 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
13479 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
13480 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
13481 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
13482 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
13483 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
13484 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
13485 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
13486 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
13487 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
13488 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
13489 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
13490 Likewise.
13491 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
13492 Likewise.
13493 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
13494 Likewise.
13495 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
13496 Likewise.
13497 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
13498 Likewise.
13499 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
13500 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
13501 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
13502 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
13503 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
13504 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
13505 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
13506 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
13507 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
13508 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
13509 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
13510 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
13511 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
13512 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
13513 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
13514 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
13515 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
13516 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
13517 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
13518 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
13519 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
13520 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
13521 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
13522 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
13523 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
13524 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
13525 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
13526
13527 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
13528 * nptl/pthreadP.h: Likewise.
13529 * nptl_db/structs.def: Likewise.
13530 * sysdeps/arm/sysdep.h: Likewise.
13531 * sysdeps/nptl/bits/libc-lock.h: Likewise.
13532 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
13533 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
13534 * sysdeps/unix/alpha/sysdep.h: Likewise.
13535 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
13536 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
13537 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
13538 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
13539 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
13540 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
13541 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
13542 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
13543 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
13544 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
13545 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
13546 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
13547 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
13548 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
13549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
13550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
13551 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
13552 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
13553 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
13554 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
13555 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
13556 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
13557 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
13558 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
13559 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
13560 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
13561
13562 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
13563 * nptl/pthreadP.h: Likewise.
13564 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
13565 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
13566 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
13567 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
13568 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
13569 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
13570 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
13571 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
13572 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
13573 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
13574 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
13575 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
13576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
13577 Likewise.
13578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
13579 Likewise.
13580 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
13581 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
13582 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
13583 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
13584 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
13585 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
13586 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
13587 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
13588
13589 * dlfcn/dladdr.c: Use IS_IN.
13590 * dlfcn/dladdr1.c: Likewise.
13591 * dlfcn/dlclose.c: Likewise.
13592 * dlfcn/dlerror.c: Likewise.
13593 * dlfcn/dlinfo.c: Likewise.
13594 * dlfcn/dlmopen.c: Likewise.
13595 * dlfcn/dlopen.c: Likewise.
13596 * dlfcn/dlsym.c: Likewise.
13597 * dlfcn/dlvsym.c: Likewise.
13598
13599 * include/ifaddrs.h: Use IS_IN.
13600 * inet/check_pf.c: Likewise.
13601 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
13602 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
13603
13604 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
13605 IS_IN_ldconfig.
13606 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
13607 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
13608
13609 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
13610 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
13611 IS_IN (libc).
13612
13613 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
13614
13615 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
13616 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
13617 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
13618 * include/libc-symbols.h (IS_IN_LIB): New macro.
13619 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
13620 * include/netdb.h: Likewise.
13621 * include/stap-probe.h: Remove all uses of IN_LIB.
13622
13623 * Makeconfig (module-cppflags-real): Define MODULE_NAME
13624 instead of IN_MODULE.
13625 * include/libc-symbols.h (IN_MODULE): Define using
13626 MODULE_NAME.
13627 (PASTE_NAME, PASTE_NAME1): New macros.
13628 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
13629 of IN_LIB.
13630 (STAP_PROBE_ASM): Likewise.
13631
13632 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
13633
13634 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
13635 __mach_init in dlopened libc.
13636
13637 2014-11-22 Mike Frysinger <vapier@gentoo.org>
13638
13639 * sysdeps/arm/preconfigure.ac: Delete EABI check.
13640 * sysdeps/arm/preconfigure: Regenerate.
13641
13642 2014-11-21 Roland McGrath <roland@hack.frob.com>
13643
13644 * nptl/pthread_create.c (__pthread_create_2_1): Set
13645 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
13646 when copying values from IATTR into PD.
13647
13648 2014-11-21 Will Newton <will.newton@linaro.org>
13649 Andrew Pinski <andrew.pinski@caviumnetworks.com>
13650
13651 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
13652 Refactor inline-asm. Also add comment.
13653
13654 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
13655 ElfW macro instead of hardcoded Elf64 types.
13656 (la_aarch64_gnu_pltenter): Likewise.
13657 * sysdeps/aarch64/dl-machine.h
13658 (elf_machine_runtime_setup): Use ElfW(Addr).
13659
13660 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
13661 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
13662 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
13663 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
13664 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
13665 (R_AARCH64_TLS_DTPMOD64): Rename to ..
13666 (R_AARCH64_TLS_DTPMOD): This.
13667 (R_AARCH64_TLS_DTPREL64): Rename to ...
13668 (R_AARCH64_TLS_DTPREL): This.
13669 (R_AARCH64_TLS_TPREL64): Rename to ...
13670 (R_AARCH64_TLS_TPREL): This.
13671 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
13672 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
13673 R_AARCH64_TLS_TPREL64.
13674 (elf_machine_rela): Likewise.
13675
13676 2014-11-21 Torvald Riegel <triegel@redhat.com>
13677
13678 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
13679 by setting it to 0. 64b atomics are not supported currently.
13680
13681 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
13682
13683 [BZ #16469]
13684 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
13685 search domain names.
13686
13687 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
13688
13689 [BZ #16469]
13690 * NEWS: Update.
13691 * resolv/res_query.c (__libc_res_nquerydomain): Retain
13692 trailing dot.
13693 * posix/tst-getaddrinfo5.c: New.
13694 * posix/Makefile (tests): Add it.
13695
13696 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
13697
13698 [BZ #14498]
13699 * NEWS: Fixed.
13700 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
13701 after parsing line but before break_if_match.
13702 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
13703 if there is a protocol mismatch.
13704
13705 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
13706
13707 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
13708 because the potential race is on the user-supplied stream.
13709
13710 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
13711
13712 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
13713 string literal if not passed a buffer.
13714 * manual/job.texi (ctermid): Update reasoning, note deviation
13715 from posix, suggest mtasurace when not passed a buffer, for
13716 future non-preliminary safety notes.
13717
13718 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
13719
13720 * manual/users.texi (cuserid): Fix MT-Safety note for the case
13721 of not passing it a buffer.
13722 Reported by Peng Haitao.
13723
13724 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
13725
13726 * manual/Makefile ($(objpfx)stamp-summary): Require
13727 check-safety.sh to pass.
13728 * manual/check-safety.sh: Wish for verification that every
13729 @deftypefn and @deftypefun is followed by a @safety remark.
13730
13731 2014-11-20 Roland McGrath <roland@hack.frob.com>
13732
13733 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
13734
13735 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
13736 PTHREAD_CANCEL_ASYNCHRONOUS.
13737 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
13738 send SIGCANCEL.
13739
13740 * nptl/default-sched.h: New file.
13741 * sysdeps/unix/sysv/linux/default-sched.h: New file.
13742 * nptl/pthread_create.c: Include it.
13743 (__pthread_create_2_1): Use collect_default_sched instead of making
13744 Linux syscalls here directly.
13745
13746 2014-11-20 Torvald Riegel <triegel@redhat.com>
13747
13748 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
13749 __pthread_once): Use C11 atomics.
13750
13751 2014-11-20 Torvald Riegel <triegel@redhat.com>
13752
13753 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
13754
13755 2014-11-20 Torvald Riegel <triegel@redhat.com>
13756
13757 * include/atomic.h (__atomic_link_error, __atomic_check_size,
13758 atomic_thread_fence_acquire, atomic_thread_fence_release,
13759 atomic_thread_fence_seq_cst, atomic_load_relaxed,
13760 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
13761 atomic_compare_exchange_weak_relaxed,
13762 atomic_compare_exchange_weak_acquire,
13763 atomic_compare_exchange_weak_release,
13764 atomic_exchange_acquire, atomic_exchange_release,
13765 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
13766 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
13767 atomic_fetch_and_acquire,
13768 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
13769
13770 2014-11-20 Torvald Riegel <triegel@redhat.com>
13771
13772 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
13773 USE_ATOMIC_COMPILER_BUILTINS): Define.
13774 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
13775 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13776 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
13777 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13778 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
13779 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13780 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
13781 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13782 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
13783 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13784 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
13785 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13786 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
13787 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13788 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
13789 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13790 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
13791 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13792 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
13793 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13794 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
13795 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13796 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
13797 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13798 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
13799 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13800 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
13801 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13802 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
13803 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13804 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
13805 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13806 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
13807 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13808 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
13809 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13810 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
13811 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13812 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
13813 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13814
13815 2014-11-19 Roland McGrath <roland@hack.frob.com>
13816
13817 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
13818 the sched_priority value here. It was already checked when the user
13819 called pthread_attr_setschedparam.
13820
13821 * nptl/tst-bad-schedattr.c: New file.
13822 * nptl/Makefile (tests): Add it.
13823
13824 2014-11-19 Carlos O'Donell <carlos@redhat.com>
13825 Florian Weimer <fweimer@redhat.com>
13826 Joseph Myers <joseph@codesourcery.com>
13827 Adam Conrad <adconrad@0c3.net>
13828 Andreas Schwab <schwab@suse.de>
13829 Brooks <bmoses@google.com>
13830
13831 [BZ #17625]
13832 * wordexp-test.c (__dso_handle): Add prototype.
13833 (__register_atfork): Likewise.
13834 (__app_register_atfork): New function.
13835 (registered_forks): New global.
13836 (register_fork): New function.
13837 (test_case): Add 3 new tests for WRDE_CMDSUB.
13838 (main): Call __app_register_atfork.
13839 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
13840 fork count is non-zero fail the test.
13841 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
13842 is set.
13843 (parse_dollars): Remove check for WRDE_NOCMD.
13844 (parse_dquote): Likewise.
13845
13846 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13847
13848 * Makeconfig (built-modules): List non-library modules to be
13849 built.
13850 (module-cppflags): Include libc-modules.h for
13851 everything except shlib-versions.v.i.
13852 (CPPFLAGS): Use it.
13853 (before-compile): Add libc-modules.h.
13854 ($(common-objpfx)libc-modules.h,
13855 $(common-objpfx)libc-modules.stmp): New targets.
13856 (common-generated): Add libc-modules.h and libc-modules.stmp.
13857 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
13858 * include/libc-symbols.h: Don't include libc-modules.h.
13859 * include/libc-modules.h: Remove file.
13860 * scripts/gen-libc-modules.awk: New script to generate
13861 libc-modules.h.
13862 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
13863 Depend on libc-modules.stmp.
13864
13865 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
13866
13867 * Makeconfig (in-module): Get value of libof set for the
13868 translation unit.
13869 (CPPFLAGS): Use $(in-module).
13870 * Makerules: Don't suffix routine names for nonlib.
13871 * include/libc-modules.h: New file.
13872 * include/libc-symbols.h: Include libc-modules.h
13873 (IS_IN): New macro to replace IS_IN_* macros.
13874 * elf/Makefile: Set libof-* for each routine.
13875 * elf/rtld-Rules: Likewise.
13876 * extra-modules.mk: Likewise.
13877 * iconv/Makefile: Likewise.
13878 * iconvdata/Makefile: Likewise.
13879 * locale/Makefile: Likewise.
13880 * malloc/Makefile: Likewise.
13881 * nss/Makefile: Likewise.
13882 * sysdeps/gnu/Makefile: Likewise.
13883 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
13884 * sysdeps/unix/sysv/linux/Makefile: Likewise.
13885 * sysdeps/s390/s390-64/Makefile: Likewise.
13886 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
13887 CPPFLAGS for nscd instead of nonlib.
13888
13889 2014-11-18 Roland McGrath <roland@hack.frob.com>
13890
13891 * nptl/createthread.c: New file.
13892
13893 * nptl/createthread.c: Moved ...
13894 * sysdeps/unix/sysv/linux/createthread.c: ... here.
13895
13896 * nptl/createthread.c: Add proper top-line comment.
13897 (do_clone): Folded into ...
13898 (create_thread): ... here. Take new arguments STOPPED_START and
13899 THREAD_RAN. Always set PD->stopped_start to something here. Don't
13900 increment __nptl_threads, do event-reporting logic, do
13901 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
13902 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
13903 resource cleanup if sched_setaffinity or sched_setscheduler fails,
13904 just send SIGCANCEL.
13905 * nptl/pthread_create.c: Forward-declare create_thread before
13906 including createthread.c.
13907 (start_thread): Use new macro START_THREAD_DEFN to replace defining
13908 declaration, and new macro START_THREAD_SELF to replace argument.
13909 Remove return statement.
13910 (report_thread_creation): New function.
13911 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
13912 synchronization logic, and __nptl_nthreads increment here, around
13913 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
13914 PD->parent_cancelhandling here, before create_thread. When
13915 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
13916 __deallocate_stack, and ENOMEM translation here.
13917
13918 2014-11-18 Joseph Myers <joseph@codesourcery.com>
13919
13920 [BZ #17616]
13921 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
13922 (mptwo): Rename to __mptwo.
13923 (__inv): Use __mptwo instead of mptwo.
13924 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
13925 (mptwo): Rename to __mptwo.
13926 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
13927 of mpone and __mptwo instead of mptwo.
13928 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
13929 instead of mpone.
13930 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
13931 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
13932 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
13933 of mpone and __mptwo instead of mptwo.
13934 (__mpranred): Use __mpone instead of mpone.
13935 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
13936 variable.
13937 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
13938 (test-xfail-ISO99/math.h/linknamespace): Likewise.
13939 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
13940 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
13941 (test-xfail-ISO11/math.h/linknamespace): Likewise.
13942 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
13943 (test-xfail-XPG3/math.h/linknamespace): Likewise.
13944 (test-xfail-XPG4/math.h/linknamespace): Likewise.
13945 (test-xfail-POSIX/math.h/linknamespace): Likewise.
13946 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
13947 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
13948 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
13949 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
13950 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
13951 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
13952 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
13953 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
13954 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
13955 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
13956
13957 2014-11-18 Tom de Vries <tom@codesoucery.com>
13958
13959 * manual/signal.texi (Primitives Interrupted by Signals): In section,
13960 replace BSD Handler xref with BSD Signal Handling.
13961
13962 2014-11-17 Richard Henderson <rth@redhat.com>
13963
13964 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
13965 (_FP_PACK_RAW_2): Remove.
13966 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
13967 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
13968 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
13969 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
13970 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
13971 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
13972 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
13973 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
13974 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
13975 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
13976 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
13977 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
13978 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
13979 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
13980 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
13981 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
13982
13983 2014-11-14 Roland McGrath <roland@hack.frob.com>
13984
13985 * signal/signal.h [__USE_MISC]
13986 (struct sigvec): Remove type.
13987 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
13988 (sigvec): Remove declaration.
13989 * sysdeps/posix/sigvec.c: Moved ...
13990 * signal/sigvec.c: ... here, replacing old file.
13991 (struct sigvec): New type, copied from old signal.h definition.
13992 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
13993 (__sigvec): Convert definition to prototype.
13994 (sigvec): Replace weak_alias with compat_symbol.
13995 * signal/Versions (libc: GLIBC_2.21): New version set.
13996 * include/signal.h: Remove __sigvec declaration.
13997 * sysdeps/unix/bsd/sigvec.c: Remove file.
13998 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
13999 * manual/signal.texi (BSD Handler): Remove subsection.
14000 Move siginterrupt up to ...
14001 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
14002 (Blocking in BSD): Fold subsection into its parent.
14003 * NEWS: Mention sigvec removal.
14004
14005 2014-11-14 Joseph Myers <joseph@codesourcery.com>
14006
14007 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
14008 (DLA_FMS): Make definition conditional only on [__FMA4__].
14009 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
14010 definition.
14011
14012 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
14013 Make definition conditional only on [PROF].
14014 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
14015 definition.
14016 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
14017 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
14018
14019 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
14020 !__GNUC__].
14021 * include/signal.h (__sigpause): Move declaration above call to
14022 libc_hidden_proto.
14023 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
14024 variable.
14025 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
14026 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
14027
14028 2014-11-14 David S. Miller <davem@davemloft.net>
14029
14030 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
14031 Define before including <string/memcpy.c> and <string/mempcpy.c>.
14032
14033 2014-11-14 Joseph Myers <joseph@codesourcery.com>
14034
14035 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
14036 * configure: Regenerated.
14037 * manual/install.texi (Tools for Compilation): Document a
14038 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
14039 compiler verified to work.
14040 * INSTALL: Regenerated.
14041
14042 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
14043 redeclare with asm name.
14044 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
14045 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
14046 including <string.h>.
14047 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
14048 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
14049 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
14050 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
14051 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
14052 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
14053 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
14054
14055 2014-11-13 Joseph Myers <joseph@codesourcery.com>
14056
14057 * stdlib/strtol.c (__strtol): Use prototype definition.
14058
14059 [BZ #17594]
14060 * stdlib/strtol.c (SYM__): New macro.
14061 (SYM__1): Likewise.
14062 (__strtol): Likewise.
14063 (strtol): Rename to __strtol and define as weak alias of
14064 __strtol. Use libc_hidden_weak.
14065
14066 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
14067
14068 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
14069 Use numbered labels in inline assembly.
14070
14071 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
14072
14073 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
14074 Add setjmp LIBC_PROBE.
14075 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
14076 Likewise.
14077 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
14078 Add longjmp, longjmp_target LIBC_PROBE.
14079 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
14080 Likewise.
14081
14082 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
14083
14084 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
14085 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
14086 to get rid of unused variable warning.
14087
14088 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
14089
14090 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
14091 Check for unwind_backtrace == NULL only in SHARED case.
14092 (__backchain_backtrace): Compile only in SHARED case.
14093 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
14094 Likewise.
14095 (__backchain_backtrace): Declare as static.
14096
14097 2014-11-12 Roland McGrath <roland@hack.frob.com>
14098
14099 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
14100 (__libc_multiple_threads_ptr): Variable moved ...
14101 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
14102
14103 2014-11-12 Joseph Myers <joseph@codesourcery.com>
14104
14105 * conform/GlibcConform.pm: New file.
14106 * conform/conformtest.pl: Use GlibcConform module.
14107 * conform/linknamespace.pl: New file.
14108 * conform/list-header-symbols.pl: Likewise.
14109 * conform/Makefile (linknamespace-symlists-base): New variable.
14110 (linknamespace-symlists-tests): Likewise.
14111 (linknamespace-header-base): Likewise.
14112 (linknamespace-header-tests): Likewise.
14113 (tests-special): Add new tests.
14114 ($(linknamespace-symlists-tests)): New rule.
14115 (linknamespace-libs): New variable.
14116 ($(objpfx)symlist-stdlibs): New rule.
14117 ($(linknamespace-header-tests)): Likewise.
14118 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
14119 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
14120 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
14121 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
14122 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
14123 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
14124 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
14125 (test-xfail-ISO/math.h/linknamespace): Likewise.
14126 (test-xfail-ISO/signal.h/linknamespace): Likewise.
14127 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
14128 (test-xfail-ISO/time.h/linknamespace): Likewise.
14129 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
14130 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
14131 (test-xfail-ISO99/math.h/linknamespace): Likewise.
14132 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
14133 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
14134 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
14135 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
14136 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
14137 (test-xfail-ISO11/math.h/linknamespace): Likewise.
14138 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
14139 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
14140 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
14141 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
14142 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
14143 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
14144 (test-xfail-XPG3/math.h/linknamespace): Likewise.
14145 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
14146 (test-xfail-XPG3/search.h/linknamespace): Likewise.
14147 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
14148 (test-xfail-XPG3/time.h/linknamespace): Likewise.
14149 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
14150 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
14151 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
14152 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
14153 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
14154 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
14155 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
14156 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
14157 (test-xfail-XPG4/math.h/linknamespace): Likewise.
14158 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
14159 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
14160 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
14161 (test-xfail-XPG4/search.h/linknamespace): Likewise.
14162 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
14163 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
14164 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
14165 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
14166 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
14167 (test-xfail-XPG4/time.h/linknamespace): Likewise.
14168 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
14169 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
14170 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
14171 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
14172 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
14173 (test-xfail-POSIX/math.h/linknamespace): Likewise.
14174 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
14175 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
14176 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
14177 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
14178 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
14179 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
14180 (test-xfail-POSIX/time.h/linknamespace): Likewise.
14181 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
14182 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
14183 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
14184 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
14185 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
14186 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
14187 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
14188 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
14189 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
14190 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
14191 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
14192 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
14193 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
14194 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
14195 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
14196 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
14197 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
14198 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
14199 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
14200 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
14201 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
14202 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
14203 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
14204 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
14205 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
14206 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
14207 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
14208 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
14209 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
14210 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
14211 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
14212 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
14213 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
14214 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
14215 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
14216 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
14217 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
14218 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
14219 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
14220 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
14221 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
14222 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
14223 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
14224 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
14225 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
14226 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
14227 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
14228 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
14229 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
14230 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
14231 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
14232 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
14233 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
14234 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
14235 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
14236 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
14237 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
14238 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
14239 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
14240 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
14241 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
14242 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
14243 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
14244 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
14245 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
14246 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
14247 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
14248 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
14249 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
14250 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
14251 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
14252 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
14253 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
14254 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
14255 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
14256 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
14257 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
14258 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
14259 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
14260 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
14261 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
14262 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
14263 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
14264 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
14265 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
14266 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
14267 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
14268 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
14269 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
14270 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
14271 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
14272 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
14273 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
14274 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
14275 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
14276 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
14277 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
14278 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
14279
14280 [BZ #17589]
14281 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
14282 of fgets_unlocked.
14283
14284 [BZ #17585]
14285 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
14286 (memmem): Rename to __memmem and define as weak alias of
14287 __memmem. Use libc_hidden_weak.
14288 (__memmem): Use libc_hidden_def.
14289 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
14290 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
14291 memmem.
14292
14293 [BZ #17582]
14294 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
14295 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
14296 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
14297 and define as weak alias of __fgets_unlocked. Use
14298 libc_hidden_weak.
14299 (__fgets_unlocked): Use libc_hidden_def.
14300 * include/stdio.h (__fgets_unlocked): Declare. Use
14301 libc_hidden_proto.
14302 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
14303 __fgets_unlocked instead of fgets_unlocked.
14304 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
14305 (GET_NPROCS_CONF_PARSER): Likewise.
14306 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
14307 (GET_NPROCS_CONF_PARSER): Likewise.
14308
14309 [BZ #17574]
14310 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
14311 weak alias of __wmemset. Use libc_hidden_weak.
14312 (__wmemset): Use libc_hidden_def.
14313 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
14314 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
14315 of wmemset.
14316
14317 [BZ #17573]
14318 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
14319 with asm name __mempcpy.
14320 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
14321
14322 [BZ #17572]
14323 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
14324 and define as weak alias of __rawmemchr.
14325 (__rawmemchr): Do not define as strong alias of rawmemchr.
14326
14327 [BZ #17571]
14328 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
14329 alias of __qsort_r.
14330 (qsort): Call __qsort_r instead of qsort_r.
14331 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
14332 (__qsort_r): Declare. Call libc_hidden_proto.
14333 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
14334 instead of qsort_r.
14335 * nscd/gai.c (__qsort_r): Define to qsort_r.
14336 * posix/tst-rfc3484.c (__qsort_r): Likewise.
14337 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
14338 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
14339
14340 [BZ #17570]
14341 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
14342 define as weak alias of __malloc_info.
14343
14344 [BZ #17584]
14345 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
14346 as weak alias of __rewinddir. Don't use libc_hidden_def.
14347 (__rewinddir): Use libc_hidden_def.
14348 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
14349 as weak alias of __rewinddir. Don't use libc_hidden_def.
14350 (__rewinddir): Use libc_hidden_def.
14351 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
14352 weak alias of __rewinddir. Don't use libc_hidden_def.
14353 (__rewinddir): Use libc_hidden_def.
14354 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
14355 (__rewinddir): Use libc_hidden_proto.
14356 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
14357 rewinddir.
14358 (__getcwd): Use __rewinddir instead of rewinddir.
14359
14360 [BZ #17583]
14361 * libio/fileno.c (fileno): Rename to __fileno and define as weak
14362 alias of __fileno. Use libc_hidden_weak.
14363 (__fileno): Use libc_hidden_def.
14364 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
14365 * libio/ftello.c (ftello): Rename to __ftello and define as weak
14366 alias of __ftello.
14367 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
14368 __ftello.
14369 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
14370 (__fread_unlocked): Define as strong alias of _IO_fread. Use
14371 libc_hidden_def.
14372 (fread_unlocked): Don't use libc_hidden_ver.
14373 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
14374 and define as weak alias of __fread_unlocked. Don't use
14375 libc_hidden_def.
14376 (__fread_unlocked): Use libc_hidden_def.
14377 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
14378 (ftello): Don't use libc_hidden_proto.
14379 (__ftello): Declare. Use libc_hidden_proto.
14380 (fread_unlocked): Don't use libc_hidden_proto.
14381 (__fread_unlocked): Declare. Use libc_hidden_proto.
14382 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
14383 and __ftello instead of fileno, fread_unlocked and ftello.
14384
14385 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
14386
14387 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
14388 GOT12.
14389 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
14390 Likewise.
14391 (_dl_start_user): Likewise.
14392 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
14393
14394 2014-11-12 Carlos O'Donell <carlos@redhat.com>
14395 Siddhesh Poyarekar <siddhesh@redhat.com>
14396
14397 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
14398 Move argv and envp down instead of moving argc up.
14399 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
14400
14401 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
14402
14403 [BZ #17506]
14404 * test-skeleton.c (main): Return successful if one of
14405 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
14406 * string/tst-strcoll-overflow.c: Define expected status.
14407
14408 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
14409
14410 [BZ #17475]
14411 * locale/iso-639.def: Define Bhili and Tulu language codes.
14412
14413 2014-11-11 Alan Hayward <alan.hayward@arm.com>
14414
14415 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
14416
14417 2014-11-10 Renlin Li <Renlin.Li@arm.com>
14418
14419 [BZ #17555]
14420 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
14421
14422 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
14423
14424 * configure.ac: Updated check of minimal required version to
14425 2.22.
14426 * manual/install.texi (Tools for Compilation): Updated version
14427 number.
14428 * configure: Regenerated.
14429 * INSTALL: Likewise.
14430
14431 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
14432
14433 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
14434 __tls_get_addr.
14435
14436 2014-11-07 Joseph Myers <joseph@codesourcery.com>
14437
14438 * include/sys/wait.h (__libc_waitpid): Remove declaration.
14439 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
14440 (__waitpid): Don't define as alias. Use libc_hidden_def not
14441 libc_hidden_weak.
14442 (waitpid): Define as alias of __waitpid.
14443 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
14444 __waitpid.
14445 (__waitpid): Don't define as alias. Use libc_hidden_def not
14446 libc_hidden_weak.
14447 (waitpid): Define as alias of __waitpid.
14448 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
14449 __libc_waitpid alias.
14450 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
14451 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
14452 Likewise.
14453 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
14454 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
14455 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
14456 alias.
14457 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
14458 __waitpid.
14459 (__waitpid): Don't define as alias. Use libc_hidden_def not
14460 libc_hidden_weak.
14461 (waitpid): Define as alias of __waitpid.
14462
14463 2014-11-06 Carlos O'Donell <carlos@redhat.com>
14464
14465 * manual/llio.texi: Add comment that write safety has been
14466 fixed in Linux.
14467
14468 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
14469 (localplt-build-dso): Add elf/ld.so.
14470 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
14471 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
14472 and free for ld.so.
14473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
14474 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
14475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
14476 Likewise.
14477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
14478 Likewise.
14479 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
14480 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
14481 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
14482 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
14483 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
14484 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
14485 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
14486 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
14487 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
14488 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
14489 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
14490
14491 2014-11-05 Joseph Myers <joseph@codesourcery.com>
14492
14493 [BZ #14132]
14494 * include/libc-symbols.h (INTUSE): Remove macro.
14495 (INTDEF): Likewise.
14496 (INTVARDEF): Likewise.
14497 (_INTVARDEF): Likewise.
14498 (INTDEF2): Likewise.
14499 (INTVARDEF2): Likewise.
14500 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
14501 rtld_hidden_def instead of INTVARDEF.
14502 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
14503 (_dl_starting_up_internal): Remove declaration.
14504 (_dl_starting_up): Use rtld_hidden_proto.
14505 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
14506 declaration.
14507 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
14508 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
14509 _dl_starting_up.
14510 * elf/dl-writev.h (_dl_writev): Likewise.
14511 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
14512 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
14513 _dl_starting_up_internal.
14514
14515 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14516
14517 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
14518 test-skeleton.c.
14519
14520 2014-11-05 Will Newton <will.newton@linaro.org>
14521
14522 * benchtests/Makefile: (bench-malloc): Add malloc thread
14523 scalability benchmark.
14524 * benchtests/bench-malloc-threads.c: New file.
14525
14526 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
14527
14528 * sysdeps/aarch64/strchrnul.S: New file.
14529
14530 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14531
14532 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
14533 definition.
14534 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
14535 Likwise.
14536 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
14537 Likewise.
14538 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
14539 Likewise.
14540 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
14541 Likewise.
14542 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
14543 Likewise.
14544
14545 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
14546
14547 * catgets/test-gencat.c: Use test-skeleton.c.
14548 * catgets/tst-catgets.c: Likewise.
14549 * csu/tst-empty.c: Likewise.
14550 * elf/tst-audit2.c: Likewise.
14551 * elf/tst-global1.c: Likewise.
14552 * elf/tst-pathopt.c: Likewise.
14553 * elf/tst-piemod1.c: Likewise.
14554 * elf/tst-tls10.c: Likewise.
14555 * elf/tst-tls11.c: Likewise.
14556 * elf/tst-tls12.c: Likewise.
14557 * gnulib/tst-gcc.c: Likewise.
14558 * iconvdata/tst-e2big.c: Likewise.
14559 * iconvdata/tst-loading.c: Likewise.
14560 * iconv/tst-iconv1.c: Likewise.
14561 * iconv/tst-iconv2.c: Likewise.
14562 * inet/test-inet6_opt.c: Likewise.
14563 * inet/tst-gethnm.c: Likewise.
14564 * inet/tst-network.c: Likewise.
14565 * inet/tst-ntoa.c: Likewise.
14566 * intl/tst-codeset.c: Likewise.
14567 * intl/tst-gettext2.c: Likewise.
14568 * intl/tst-gettext3.c: Likewise.
14569 * intl/tst-ngettext.c: Likewise.
14570 * intl/tst-translit.c: Likewise.
14571 * io/test-stat.c: Likewise.
14572 * libio/test-fmemopen.c: Likewise.
14573 * libio/tst-freopen.c: Likewise.
14574 * libio/tst-sscanf.c: Likewise.
14575 * libio/tst-ungetwc1.c: Likewise.
14576 * libio/tst-ungetwc2.c: Likewise.
14577 * libio/tst-widetext.c: Likewise.
14578 * localedata/tst-ctype.c: Likewise.
14579 * localedata/tst-digits.c: Likewise.
14580 * localedata/tst-leaks.c: Likewise.
14581 * localedata/tst-mbswcs1.c: Likewise.
14582 * localedata/tst-mbswcs2.c: Likewise.
14583 * localedata/tst-mbswcs3.c: Likewise.
14584 * localedata/tst-mbswcs4.c: Likewise.
14585 * localedata/tst-mbswcs5.c: Likewise.
14586 * localedata/tst-setlocale.c: Likewise.
14587 * localedata/tst-trans.c: Likewise.
14588 * localedata/tst-wctype.c: Likewise.
14589 * localedata/tst-xlocale1.c: Likewise.
14590 * login/tst-grantpt.c: Likewise.
14591 * malloc/tst-calloc.c: Likewise.
14592 * malloc/tst-malloc.c: Likewise.
14593 * malloc/tst-mallocstate.c: Likewise.
14594 * malloc/tst-mcheck.c: Likewise.
14595 * malloc/tst-mtrace.c: Likewise.
14596 * malloc/tst-obstack.c: Likewise.
14597 * math/atest-exp2.c: Likewise.
14598 * math/atest-exp.c: Likewise.
14599 * math/atest-sincos.c: Likewise.
14600 * math/test-matherr.c: Likewise.
14601 * math/test-misc.c: Likewise.
14602 * math/test-powl.c: Likewise.
14603 * math/tst-definitions.c: Likewise.
14604 * misc/tst-dirname.c: Likewise.
14605 * misc/tst-efgcvt.c: Likewise.
14606 * misc/tst-fdset.c: Likewise.
14607 * misc/tst-hsearch.c: Likewise.
14608 * misc/tst-mntent2.c: Likewise.
14609 * nptl/tst-sem7.c: Likewise.
14610 * nptl/tst-sem8.c: Likewise.
14611 * nptl/tst-sem9.c: Likewise.
14612 * nss/test-netdb.c: Likewise.
14613 * posix/tst-fnmatch.c: Likewise.
14614 * posix/tst-getlogin.c: Likewise.
14615 * posix/tst-gnuglob.c: Likewise.
14616 * posix/tst-mmap.c: Likewise.
14617 * pwd/tst-getpw.c: Likewise.
14618 * resolv/tst-inet_ntop.c: Likewise.
14619 * rt/tst-timer.c: Likewise.
14620 * stdio-common/test-fseek.c: Likewise.
14621 * stdio-common/test-popen.c: Likewise.
14622 * stdio-common/test-vfprintf.c: Likewise.
14623 * stdio-common/tst-cookie.c: Likewise.
14624 * stdio-common/tst-fileno.c: Likewise.
14625 * stdio-common/tst-gets.c: Likewise.
14626 * stdio-common/tst-obprintf.c: Likewise.
14627 * stdio-common/tst-perror.c: Likewise.
14628 * stdio-common/tst-sprintf2.c: Likewise.
14629 * stdio-common/tst-sprintf3.c: Likewise.
14630 * stdio-common/tst-sprintf.c: Likewise.
14631 * stdio-common/tst-swprintf.c: Likewise.
14632 * stdio-common/tst-tmpnam.c: Likewise.
14633 * stdio-common/tst-unbputc.c: Likewise.
14634 * stdio-common/tst-wc-printf.c: Likewise.
14635 * stdlib/tst-environ.c: Likewise.
14636 * stdlib/tst-fmtmsg.c: Likewise.
14637 * stdlib/tst-limits.c: Likewise.
14638 * stdlib/tst-rand48-2.c: Likewise.
14639 * stdlib/tst-rand48.c: Likewise.
14640 * stdlib/tst-random2.c: Likewise.
14641 * stdlib/tst-random.c: Likewise.
14642 * stdlib/tst-strtol.c: Likewise.
14643 * stdlib/tst-strtoll.c: Likewise.
14644 * stdlib/tst-tls-atexit.c: Likewise.
14645 * stdlib/tst-xpg-basename.c: Likewise.
14646 * string/test-ffs.c: Likewise.
14647 * string/tst-bswap.c: Likewise.
14648 * string/tst-inlcall.c: Likewise.
14649 * string/tst-strtok.c: Likewise.
14650 * string/tst-strxfrm.c: Likewise.
14651 * sysdeps/x86_64/tst-audit10.c: Likewise.
14652 * sysdeps/x86_64/tst-audit3.c: Likewise.
14653 * sysdeps/x86_64/tst-audit4.c: Likewise.
14654 * sysdeps/x86_64/tst-audit5.c: Likewise.
14655 * time/tst-ftime_l.c: Likewise.
14656 * time/tst-getdate.c: Likewise.
14657 * time/tst-mktime3.c: Likewise.
14658 * time/tst-mktime.c: Likewise.
14659 * time/tst-posixtz.c: Likewise.
14660 * time/tst-strptime2.c: Likewise.
14661 * time/tst-strptime3.c: Likewise.
14662 * wcsmbs/tst-btowc.c: Likewise.
14663 * wcsmbs/tst-mbrtowc.c: Likewise.
14664 * wcsmbs/tst-mbsrtowcs.c: Likewise.
14665 * wcsmbs/tst-wchar-h.c: Likewise.
14666 * wcsmbs/tst-wcpncpy.c: Likewise.
14667 * wcsmbs/tst-wcrtomb.c: Likewise.
14668 * wcsmbs/tst-wcsnlen.c: Likewise.
14669 * wcsmbs/tst-wcstof.c: Likewise.
14670
14671 2014-11-04 Joseph Myers <joseph@codesourcery.com>
14672
14673 [BZ #14132]
14674 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
14675 INTDEF.
14676 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
14677 declaration.
14678 (_dl_mcount): Use rtld_hidden_proto.
14679 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
14680 _dl_mcount.
14681 * elf/rtld.c (_rtld_global_ro): Likewise.
14682
14683 [BZ #14132]
14684 * elf/dl-init.c (_dl_init): Don't use INTDEF.
14685 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
14686 of _dl_init_internal.
14687 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
14688 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
14689 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
14690 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
14691 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
14692 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
14693 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
14694 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
14695 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
14696 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
14697 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
14698 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
14699 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
14700 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
14701 * sysdeps/tile/dl-start.S (_start): Likewise.
14702 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
14703 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
14704
14705 [BZ #14132]
14706 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
14707 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
14708 (rtld_progname): Make macro definition unconditional.
14709 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
14710 INTDEF.
14711 (dlmopen_doit): Do not use INTUSE with _dl_argv.
14712 (dl_main): Likewise.
14713 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
14714 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
14715 instead of _dl_argv_internal.
14716 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
14717 __GI__dl_argv instead of INTUSE(_dl_argv).
14718 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
14719 __GI__dl_argv instead of _dl_argv_internal.
14720
14721 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
14722 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
14723 macro.
14724 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
14725 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
14726 New macro.
14727 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
14728 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
14729 macro.
14730 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
14731 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
14732
14733 2014-11-04 Andreas Schwab <schwab@suse.de>
14734
14735 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
14736
14737 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14738
14739 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
14740 mtvsrd instruction in binary form.
14741
14742 2014-11-03 Andreas Schwab <schwab@suse.de>
14743
14744 [BZ #17522]
14745 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
14746 for less than MB_LEN_MAX use a local buffer of that size.
14747 * libio/tst-fputws.c: New file.
14748 * libio/Makefile (tests): Add tst-fputws.
14749
14750 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
14751
14752 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
14753 the size of the fpu_fr.fpu_dregs[] array.
14754
14755 2014-11-01 Joseph Myers <joseph@codesourcery.com>
14756
14757 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
14758 (__nanosleep): Do not define as alias.
14759 (nanosleep): Define as alias of __nanosleep.
14760 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
14761 __libc_nanosleep name.
14762
14763 2014-10-31 Joseph Myers <joseph@codesourcery.com>
14764
14765 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
14766 install.texi in comment.
14767
14768 2014-10-31 Torvald Riegel <triegel@redhat.com>
14769
14770 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
14771 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
14772 ... add here and use lwsync or sync ...
14773 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
14774 ... and add here using lwsync.
14775
14776 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
14777
14778 * elf/dl-machine-reject-phdr.h: New file.
14779 * elf/dl-load.c: #include that.
14780 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
14781 if that returned true.
14782
14783 2014-10-31 Roland McGrath <roland@hack.frob.com>
14784
14785 [BZ #17496]
14786 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
14787 gen-as-const-headers chunk. Add a big scare comment after the last
14788 safe place to touch before-compile.
14789
14790 2014-10-31 Joseph Myers <joseph@codesourcery.com>
14791
14792 * manual/install.texi (Tools for Compilation): Update autoconf
14793 version requirements.
14794 * INSTALL: Regenerated.
14795
14796 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
14797 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
14798 (__libc_pselect): Likewise.
14799
14800 [BZ #14138]
14801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
14802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
14803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
14804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
14805
14806 2014-10-31 Torvald Riegel <triegel@redhat.com>
14807
14808 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
14809 correct barrier instruction.
14810 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
14811 Likewise.
14812 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
14813 Likewise.
14814
14815 2014-10-30 Roland McGrath <roland@hack.frob.com>
14816
14817 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
14818 after defining inlines. Instead, just use parens to defeat macro
14819 expansion of __isctype in its declaration.
14820
14821 2014-10-30 Joseph Myers <joseph@codesourcery.com>
14822
14823 * include/sys/uio.h (__libc_readv): Remove declaration.
14824 (__libc_writev): Likewise.
14825 * misc/readv.c (__libc_readv): Rename to __readv.
14826 (__readv): Do not define as alias.
14827 (readv): Define as alias of __readv.
14828 * misc/writev.c (__libc_writev): Rename to __writev.
14829 (__writev): Do not define as alias.
14830 (writev): Define as alias of __writev.
14831 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
14832 (__readv): Do not define as alias.
14833 (readv): Define unconditionally as alias of __readv.
14834 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
14835 (__writev): Do not define as alias.
14836 (writev): Define unconditionally as alias of __writev.
14837 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
14838 name.
14839 (writev): Do not define __libc_writev name.
14840
14841 2014-10-30 Roland McGrath <roland@hack.frob.com>
14842
14843 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
14844 (convert_charseq): New function, broken out of ...
14845 (use_from_charmap): ... here. Call it.
14846 (use_to_charmap): Use convert_charseq and free instead of duplicating
14847 its code with a variable-length stack struct.
14848
14849 2014-10-30 Joseph Myers <joseph@codesourcery.com>
14850
14851 * include/fcntl.h (__libc_creat): Remove declaration.
14852 * io/creat.c (__libc_creat): Rename to creat.
14853 (creat): Do not define as alias.
14854 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
14855 of creat instead of __libc_creat.
14856 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
14857 to creat.
14858 (creat): Do not define as alias.
14859 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
14860 __libc_creat.
14861 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
14862 __libc_creat name.
14863 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
14864 Likewise.
14865
14866 2014-10-29 Carlos O'Donell <carlos@redhat.com>
14867
14868 * manual/llio.texi: Add comments discussing why write() may be
14869 considered MT-unsafe on Linux.
14870
14871 2014-10-28 Carlos O'Donell <carlos@redhat.com>
14872
14873 * dl-load.c (local_strdup): Remove.
14874 (expand_dynamic_string_token): Use __strdup.
14875 (decompose_rpath): Likewise.
14876 (_dl_map_object): Likewise.
14877
14878 2014-10-28 Joseph Myers <joseph@codesourcery.com>
14879
14880 [BZ #14132]
14881 * sysdeps/generic/unwind-dw2-fde.c
14882 (__register_frame_info_bases_internal): Do not declare.
14883 (__register_frame_info_table_bases_internal): Likewise.
14884 (__deregister_frame_info_bases_internal): Likewise.
14885 (__register_frame_info_bases): Declare and use hidden_proto before
14886 definition. Use hidden_def instead of INTDEF.
14887 (__register_frame_info_table_bases): Likewise.
14888 (__deregister_frame_info_bases): Likewise.
14889 (__register_frame_info): Do not use INTUSE.
14890 (__register_frame): Likewise.
14891 (__register_frame_info_table): Likewise.
14892 (__register_frame_table): Likewise.
14893 (__deregister_frame_info): Likewise.
14894 (__deregister_frame): Likewise.
14895
14896 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
14897
14898 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14899 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
14900 not undefine.
14901 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
14902 Likewise.
14903 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
14904 Likewise.
14905
14906 2014-10-27 Joseph Myers <joseph@codesourcery.com>
14907
14908 [BZ #14138]
14909 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
14910 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
14911 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
14912 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
14913 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
14914 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
14915 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
14916 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
14917 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
14918 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
14919 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
14920 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
14921 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
14922 syscall.
14923 (setfsuid): Likewise.
14924 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
14925 (setfsuid): Likewise.
14926 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
14927 (setfsuid): Likewise.
14928 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
14929 Likewise.
14930 (setfsuid): Likewise.
14931 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
14932 (setfsuid): Likewise.
14933 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
14934 Likewise.
14935 (setfsuid): Likewise.
14936
14937 2014-10-27 Andreas Schwab <schwab@suse.de>
14938
14939 [BZ #17501]
14940 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
14941 check for Slow_SSE4_2 feature bit.
14942 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
14943 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
14944 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
14945 Likewise. Fix check for Fast_Unaligned_Load feature bit.
14946
14947 2014-10-24 Roland McGrath <roland@hack.frob.com>
14948
14949 * configure.ac: Validate compiler version with a empirical test of
14950 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
14951 $CC -v output.
14952 * configure: Regenerated.
14953
14954 * inet/htons.c (htons): Prototypify.
14955 * inet/htonl.c (htonl): Likewise.
14956
14957 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
14958
14959 * string/strncat.c (strncat): Improve performance by using strlen.
14960
14961 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
14962
14963 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
14964
14965 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
14966
14967 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
14968 Call libc_fetestexcept_aarch64.
14969
14970 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
14971
14972 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
14973 Call libc_feholdexcept_aarch64.
14974
14975 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
14976
14977 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
14978 Call get_rounding_mode.
14979
14980 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
14981
14982 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
14983 Simplify logic.
14984
14985 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
14986
14987 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
14988 Simplify logic.
14989
14990 2014-10-24 Joseph Myers <joseph@codesourcery.com>
14991
14992 [BZ #14138]
14993 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
14994 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
14995 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
14996 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
14997 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
14998 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
14999 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
15000 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
15001 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
15002 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
15003 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
15004 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
15005 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
15006 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
15007 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
15008 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
15009 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
15010 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
15011 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
15012 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
15013 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
15014 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
15015 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
15016 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
15017 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
15018 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
15019 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
15020 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
15021 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
15022 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
15023 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
15024 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
15025 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
15026 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
15027 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
15028 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
15029 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
15030 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
15031 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
15032 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
15033 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
15034 syscall.
15035 (geteuid): Likewise.
15036 (getgid): Likewise.
15037 (getuid): Likewise.
15038 (getresgid): Likewise.
15039 (getresuid): Likewise.
15040 (getgroups): Likewise.
15041 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
15042 (geteuid): Likewise.
15043 (getgid): Likewise.
15044 (getuid): Likewise.
15045 (getresgid): Likewise.
15046 (getresuid): Likewise.
15047 (getgroups): Likewise.
15048 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
15049 (geteuid): Likewise.
15050 (getgid): Likewise.
15051 (getuid): Likewise.
15052 (getresgid): Likewise.
15053 (getresuid): Likewise.
15054 (getgroups): Likewise.
15055 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
15056 Likewise.
15057 (geteuid): Likewise.
15058 (getgid): Likewise.
15059 (getuid): Likewise.
15060 (getresgid): Likewise.
15061 (getresuid): Likewise.
15062 (getgroups): Likewise.
15063 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
15064 (geteuid): Likewise.
15065 (getgid): Likewise.
15066 (getuid): Likewise.
15067 (getresgid): Likewise.
15068 (getresuid): Likewise.
15069 (getgroups): Likewise.
15070 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
15071 Likewise.
15072 (geteuid): Likewise.
15073 (getgid): Likewise.
15074 (getuid): Likewise.
15075 (getgroups): Likewise.
15076
15077 [BZ #14138]
15078 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
15079 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
15080 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
15081 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
15082 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
15083 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
15084 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
15085 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
15086 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
15087 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
15088 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
15089 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
15090 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
15091 __chown.
15092 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
15093 (lchown): Likewise.
15094 (fchown): Likewise.
15095 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
15096 Likewise.
15097 (lchown): Likewise.
15098 (fchown): Likewise.
15099 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
15100 (lchown): Likewise.
15101 (fchown): Likewise.
15102 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
15103 Likewise.
15104 (lchown): Likewise.
15105 (fchown): Likewise.
15106
15107 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
15108
15109 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
15110 Simplify logic.
15111
15112 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
15113
15114 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
15115 Cleanup logic.
15116
15117 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
15118
15119 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
15120 Remove unused include.
15121
15122 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
15123
15124 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
15125 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
15126 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
15127 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
15128
15129 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
15130 Helge Deller <deller@gmx.de>
15131
15132 [BZ #17508]
15133 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
15134 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
15135 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
15136
15137 2014-10-23 Joseph Myers <joseph@codesourcery.com>
15138
15139 [BZ #14132]
15140 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
15141 Remove macro definition.
15142 (__ashrdi3_v_glibc20): Likewise.
15143 (__lshrdi3_v_glibc20): Likewise.
15144 (__cmpdi2_v_glibc20): Likewise.
15145 (__ucmpdi2_v_glibc20): Likewise.
15146 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
15147 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
15148 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
15149 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
15150 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
15151 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
15152
15153 2014-10-22 Roland McGrath <roland@hack.frob.com>
15154
15155 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
15156 old GNU extension [0] syntax.
15157 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
15158 alloca rather than an array member with variable length.
15159 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
15160 * nscd/nscd.c (invalidate_db): New function, broken out of ...
15161 (parse_opt): ... here. Likewise use alloca there.
15162 Validate the -i argument before checking for rootness.
15163 (send_shutdown): New function, broken out of ...
15164 (parse_opt): ... here.
15165
15166 2014-10-22 Roland McGrath <roland@hack.frob.com>
15167
15168 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
15169 macro to get at the _rt_local_ro field.
15170 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
15171 ([PIC] case) or _dl_hwcap ([!PIC] case).
15172 * sysdeps/arm/setjmp.S: Likewise.
15173
15174 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
15175 * sysdeps/arm/configure.ac: New check to define it.
15176 * sysdeps/arm/configure: Regenerated.
15177 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
15178 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
15179 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
15180 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
15181 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
15182 Use move/movt pair instead of a load.
15183 (LDST_GLOBAL): Macro removed.
15184 (LDR_GLOBAL): New macro replaces it.
15185 (LDR_HIDDEN): New macro.
15186 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
15187 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
15188
15189 * setjmp/tst-setjmp-static.c: New file.
15190 * setjmp/Makefile (tests): Add it.
15191 (tests-static): New variable.
15192
15193 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
15194
15195 [BZ #17485]
15196 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
15197
15198 2014-10-21 Joseph Myers <joseph@codesourcery.com>
15199
15200 [BZ #14132]
15201 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
15202
15203 2014-10-21 Roland McGrath <roland@hack.frob.com>
15204
15205 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
15206
15207 2014-10-20 Roland McGrath <roland@hack.frob.com>
15208
15209 * io/fts.c (dirent_not_directory): New function.
15210 (fts_build): Call it.
15211
15212 2014-10-20 Roland McGrath <roland@hack.frob.com>
15213
15214 * nptl/version.c (__nptl_main): Use normal __write rather than
15215 INTERNAL_SYSCALL.
15216 (banner): Update copyright years.
15217
15218 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
15219 gettimeofday.
15220 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
15221 * nptl/pthread_cond_timedwait.c: Likewise.
15222 * nptl/pthread_mutex_timedlock.c: Likewise.
15223 * nptl/sem_timedwait.c: Likewise.
15224
15225 * sysdeps/nptl/bits/libc-lock.h
15226 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
15227 (__libc_lock_init_recursive): Return void, not 0.
15228 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
15229 (__libc_rwlock_init): Likewise.
15230 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
15231
15232 2014-10-20 Torvald Riegel <triegel@redhat.com>
15233
15234 [BZ #15215]
15235 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
15236 (__pthread_once_slow): ... here.
15237 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
15238 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
15239
15240 2014-10-20 Torvald Riegel <triegel@redhat.com>
15241
15242 [BZ #15215]
15243 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
15244 __PTHREAD_ONCE_FORK_GEN_INCR): New.
15245 * sysdeps/nptl/fork.c (__libc_fork): Use them.
15246 * nptl/pthread_once.c (__pthread_once): Likewise.
15247 Update comments.
15248
15249 2014-10-20 Joseph Myers <joseph@codesourcery.com>
15250
15251 [BZ #14138]
15252 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
15253 name.
15254 (writev): Use __libc_writev as strong name.
15255 * sysdeps/unix/sysv/linux/readv.c: Remove file.
15256 * sysdeps/unix/sysv/linux/writev.c: Likewise.
15257
15258 2014-10-17 Roland McGrath <roland@hack.frob.com>
15259
15260 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
15261
15262 * sysdeps/i386/nptl/tls.h
15263 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
15264 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
15265 New macros.
15266 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
15267 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
15268 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
15269 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
15270 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
15271 Call CHECK_THREAD_SYSINFO instead of doing an assert.
15272
15273 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
15274 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
15275 on [__NR_futex].
15276 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
15277 broken out of ...
15278 (__pthread_mutex_init): ... here. Call it.
15279 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
15280 Conditionalize PI cases on [__NR_futex].
15281 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
15282 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
15283 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
15284
15285 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
15286 conditional on [SIGSETXID].
15287 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
15288 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
15289 is defined. Likewise for SIGSETXID.
15290 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
15291 Conditionalize definitions on [SIGSETXID].
15292 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
15293 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
15294 unblocking on [SIGCANCEL].
15295
15296 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
15297 [__NR_set_robust_list].
15298
15299 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15300
15301 * string/strcoll_l.c (get_next_seq): Fix up formatting.
15302 (do_compare): Likewise.
15303
15304 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
15305
15306 [BZ #15884]
15307 * string/strcoll_l.c: Don't include stdio.h.
15308 (coll_seq): Remove members idxarr and rulearr.
15309 (get_next_seq_cached): Remove function.
15310 (get_next_seq): Likewise.
15311 (get_next_seq_nocache): Rename to get_next_seq.
15312 (do_compare): Remove function.
15313 (do_compare_nocache): Rename to do_compare.
15314 (STRCOLL): Remove weight and rules cache.
15315
15316 2014-10-16 Roland McGrath <roland@hack.frob.com>
15317
15318 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
15319 * sysdeps/arm/sfp-machine.h: ... to here.
15320 * sysdeps/arm/Implies: Remove arm/soft-fp.
15321
15322 2014-10-14 Joseph Myers <joseph@codesourcery.com>
15323
15324 * conform/data/sys/utsname.h-data (*_t): Allow.
15325 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
15326 [POSIX] (WEXITED): Do not expect constant.
15327 [POSIX] (WSTOPPED): Likewise.
15328 [POSIX] (WNOHANG): Likewise.
15329 [POSIX] (WNOWAIT): Likewise.
15330 [POSIX] (siginfo_t): Do not expect type or elements.
15331 [POSIX] (pid_t): Do not expect type.
15332 [POSIX] (signal.h): Do not allow header.
15333 [POSIX] (sys/resource.h): Likewise.
15334 [POSIX] (si_*): Do not allow pattern.
15335 [POSIX] (W*): Likewise.
15336 [POSIX] (P_*): Likewise.
15337 [POSIX] (BUS_*): Likewise.
15338 [POSIX] (CLD_*): Likewise.
15339 [POSIX] (FPE_*): Likewise.
15340 [POSIX] (ILL_*): Likewise.
15341 [POSIX] (POLL_*): Likewise.
15342 [POSIX] (SEGV_*): Likewise.
15343 [POSIX] (SI_*): Likewise.
15344 [POSIX] (TRAP_*): Likewise.
15345 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
15346 variable.
15347
15348 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
15349
15350 [BZ #12926]
15351 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
15352 infinite loop when __recvmsg returns 0.
15353
15354 2014-10-10 Joseph Myers <joseph@codesourcery.com>
15355
15356 * CANCEL-FCT-WAIVE: Remove file.
15357 * CANCEL-FILE-WAIVE: Likewise.
15358
15359 [BZ #14132]
15360 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
15361 instead of INTVARDEF.
15362 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
15363 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
15364 rtld_hidden_data_def instead of INTVARDEF.
15365 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
15366 * elf/dl-deps.c (expand_dst): Likewise.
15367 * elf/dl-load.c (_dl_dst_count): Likewise.
15368 (_dl_dst_substitute): Likewise.
15369 (decompose_rpath): Likewise.
15370 (_dl_init_paths): Likewise.
15371 (open_path): Likewise.
15372 (_dl_map_object): Likewise.
15373 * elf/rtld.c (dl_main): Likewise.
15374 (process_dl_audit): Likewise.
15375 (process_envvars): Likewise.
15376 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
15377 Remove declaration.
15378 (__libc_enable_secure): Use rtld_hidden_proto.
15379
15380 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
15381
15382 * elf/dl-load.c
15383 (add_path): New function broken out of _dl_rtld_di_serinfo.
15384 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
15385
15386 2014-10-09 Joseph Myers <joseph@codesourcery.com>
15387
15388 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
15389 parentheses around macro arguments.
15390 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
15391 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
15392 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
15393 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
15394 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
15395 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
15396 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
15397 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
15398 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
15399 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
15400 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
15401 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
15402 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
15403 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
15404 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
15405 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
15406 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
15407 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
15408 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
15409 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
15410 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
15411 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
15412 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
15413 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
15414 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
15415 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
15416 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
15417 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
15418 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
15419 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
15420 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
15421 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
15422 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
15423 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
15424 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
15425 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
15426 Likewise.
15427 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
15428 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
15429 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
15430 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
15431 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
15432 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
15433 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
15434 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
15435 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
15436 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
15437 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
15438 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
15439 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
15440 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
15441 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
15442 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
15443 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
15444 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
15445 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
15446 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
15447 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
15448 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
15449 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
15450 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
15451 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
15452 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
15453 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
15454 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
15455 (_FP_FRAC_SRS_1): Likewise.
15456 (_FP_FRAC_CLZ_1): Likewise.
15457 (_FP_MUL_MEAT_1_imm): Likewise.
15458 (_FP_MUL_MEAT_1_wide): Likewise.
15459 (_FP_MUL_MEAT_1_hard): Likewise.
15460 (_FP_SQRT_MEAT_1): Likewise.
15461 (_FP_FRAC_ASSEMBLE_1): Likewise.
15462 (_FP_FRAC_DISASSEMBLE_1): Likewise.
15463 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
15464 (__FP_CLZ_2): Likewise.
15465 (_FP_MUL_MEAT_2_wide): Likewise.
15466 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
15467 (_FP_MUL_MEAT_2_gmp): Likewise.
15468 (_FP_MUL_MEAT_2_120_240_double): Likewise.
15469 (_FP_SQRT_MEAT_2): Likewise.
15470 (_FP_FRAC_ASSEMBLE_2): Likewise.
15471 (_FP_FRAC_DISASSEMBLE_2): Likewise.
15472 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
15473 (_FP_FRAC_CLZ_4): Likewise.
15474 (_FP_MUL_MEAT_4_wide): Likewise.
15475 (_FP_MUL_MEAT_4_gmp): Likewise.
15476 (_FP_SQRT_MEAT_4): Likewise.
15477 (_FP_FRAC_ASSEMBLE_4): Likewise.
15478 (_FP_FRAC_DISASSEMBLE_4): Likewise.
15479 * soft-fp/op-common.h (_FP_CMP): Likewise.
15480 (_FP_CMP_EQ): Likewise.
15481 (_FP_CMP_UNORD): Likewise.
15482 (_FP_TO_INT): Likewise.
15483 (_FP_FROM_INT): Likewise.
15484 [!__FP_CLZ] (__FP_CLZ): Likewise.
15485 (_FP_DIV_HELP_imm): Likewise.
15486 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
15487 Likewise.
15488 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
15489 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
15490 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
15491 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
15492 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
15493 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
15494 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
15495 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
15496 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
15497 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
15498 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
15499 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
15500 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
15501 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
15502 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
15503 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
15504 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
15505 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
15506 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
15507 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
15508 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
15509 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
15510 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
15511 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
15512 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
15513 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
15514 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
15515 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
15516 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
15517 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
15518 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
15519 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
15520 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
15521 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
15522 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
15523 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
15524 (FP_UNPACK_RAW_SP): Likewise.
15525 (FP_PACK_RAW_S): Likewise.
15526 (FP_PACK_RAW_SP): Likewise.
15527 (FP_UNPACK_S): Likewise.
15528 (FP_UNPACK_SP): Likewise.
15529 (FP_UNPACK_SEMIRAW_S): Likewise.
15530 (FP_UNPACK_SEMIRAW_SP): Likewise.
15531 (FP_PACK_S): Likewise.
15532 (FP_PACK_SP): Likewise.
15533 (FP_PACK_SEMIRAW_S): Likewise.
15534 (FP_PACK_SEMIRAW_SP): Likewise.
15535 (_FP_SQRT_MEAT_S): Likewise.
15536 (FP_CMP_S): Likewise.
15537 (FP_CMP_EQ_S): Likewise.
15538 (FP_CMP_UNORD_S): Likewise.
15539 (FP_TO_INT_S): Likewise.
15540 (FP_FROM_INT_S): Likewise.
15541
15542 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
15543
15544 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
15545 (FP_EX_INVALID_IMZ): Likewise.
15546 (FP_EX_INVALID_IMZ_FMA): Likewise.
15547 (FP_EX_INVALID_ISI): Likewise.
15548 (FP_EX_INVALID_ZDZ): Likewise.
15549 (FP_EX_INVALID_IDI): Likewise.
15550 (FP_EX_INVALID_SQRT): Likewise.
15551 (FP_EX_INVALID_CVI): Likewise.
15552 (FP_EX_INVALID_VC): Likewise.
15553 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
15554 "invalid" exceptions.
15555 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
15556 (_FP_ADD_INTERNAL): Likewise.
15557 (_FP_MUL): Likewise.
15558 (_FP_FMA): Likewise.
15559 (_FP_DIV): Likewise.
15560 (_FP_CMP_CHECK_NAN): Likewise.
15561 (_FP_SQRT): Likewise.
15562 (_FP_TO_INT): Likewise.
15563 (FP_EXTEND): Likewise.
15564
15565 2014-10-09 Allan McRae <allan@archlinux.org>
15566
15567 * po/fr.po: Update French translation from translation project.
15568
15569 2014-10-09 Joseph Myers <joseph@codesourcery.com>
15570
15571 [BZ #14132]
15572 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
15573 of INTDEF.
15574 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
15575 (__cxa_atexit): Use libc_hidden_proto.
15576 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
15577
15578 [BZ #14132]
15579 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
15580 declaration.
15581 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
15582 [!_ISOMAC] (__iswspace_l_internal): Likewise.
15583 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
15584 [!_ISOMAC] (__iswctype_internal): Likewise.
15585 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
15586 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
15587 alias.
15588 (fcntl): Remove __fcntl_internal alias.
15589 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
15590 __connect_internal alias.
15591 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
15592 Likewise.
15593
15594 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
15595 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
15596 FP_DENORM_ZERO.
15597 (_FP_CHECK_FLUSH_ZERO): New macro.
15598 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
15599 (_FP_CMP): Likewise.
15600 (_FP_CMP_EQ): Likewise.
15601 (_FP_TO_INT): Do not set inexact for subnormal arguments if
15602 FP_DENORM_ZERO.
15603 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
15604 (FP_TRUNC): Likewise.
15605
15606 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
15607 treated as invalid conversion, not as normal exponent.
15608
15609 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
15610 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
15611 (_FP_CMP_EQ): Likewise.
15612 (_FP_CMP_UNORD): Likewise.
15613 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
15614 (FP_CMP_EQ_D): Likewise.
15615 (FP_CMP_UNORD_D): Likewise.
15616 * soft-fp/extended.h (FP_CMP_E): Likewise.
15617 (FP_CMP_EQ_E): Likewise.
15618 (FP_CMP_UNORD_E): Likewise.
15619 * soft-fp/quad.h (FP_CMP_Q): Likewise.
15620 (FP_CMP_EQ_Q): Likewise.
15621 (FP_CMP_UNORD_Q): Likewise.
15622 * soft-fp/single.h (FP_CMP_S): Likewise.
15623 (FP_CMP_EQ_S): Likewise.
15624 (FP_CMP_UNORD_S): Likewise.
15625 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
15626 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
15627 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
15628 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
15629 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
15630 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
15631 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
15632 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
15633 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
15634 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
15635 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
15636 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
15637 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
15638 to FP_CMP_Q.
15639 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
15640 FP_CMP_Q.
15641 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
15642 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
15643 FP_CMP_EQ_Q.
15644 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
15645 FP_CMP_Q.
15646 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
15647 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
15648 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
15649 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
15650 FP_CMP_EQ_Q.
15651 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
15652 FP_CMP_Q.
15653 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
15654 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
15655 FP_CMP_EQ_Q.
15656 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
15657 FP_CMP_Q.
15658 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
15659 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
15660 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
15661 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
15662 FP_CMP_EQ_Q.
15663
15664 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
15665 a subnormal result, set the underflow exception if trapping on
15666 underflow is enabled.
15667 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
15668 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
15669 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
15670 redefine to 0.
15671 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
15672 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
15673 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
15674 * soft-fp/extendxftf2.c (__extendxftf2): Use
15675 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
15676
15677 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
15678 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
15679 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
15680 FP_HANDLE_EXCEPTIONS.
15681 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
15682 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
15683 FP_HANDLE_EXCEPTIONS.
15684 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
15685 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
15686 FP_HANDLE_EXCEPTIONS.
15687 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
15688 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
15689 FP_HANDLE_EXCEPTIONS.
15690
15691 2014-10-08 Joseph Myers <joseph@codesourcery.com>
15692
15693 [BZ #14132]
15694 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
15695 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
15696 use INTUSE.
15697 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
15698 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
15699 Remove alias.
15700 (__adjtimex): Define using libc_hidden_ver.
15701 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
15702 Remove declaration.
15703 (ntp_gettime): Call __adjtimex directly.
15704 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
15705 Remove declaration.
15706 (ntp_gettimex): Call __adjtimex directly.
15707 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
15708 __adjtimex_internal alias.
15709
15710 2014-10-08 Roland McGrath <roland@hack.frob.com>
15711
15712 [BZ #17460]
15713 * nscd/nscd.c (more_help): Rewrite list of tables collection
15714 using xstrdup and asprintf.
15715
15716 * nscd/nscd_conf.c: Remove local xstrdup declaration.
15717
15718 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
15719 Roland McGrath <roland@hack.frob.com>
15720
15721 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
15722 (do_lookup_unique): ... local function 'enter' here; update callers.
15723
15724 2014-10-06 Joseph Myers <joseph@codesourcery.com>
15725
15726 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
15727 compat_symbol calls on [SHARED].
15728 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
15729 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
15730 Remove.
15731 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
15732 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
15733 (oldsetrlimit): Remove.
15734 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
15735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
15736 (lchown): New syscall entry.
15737 (oldsetrlimit): Remove.
15738 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
15739 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
15740 (oldsetrlimit): Remove.
15741 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
15742
15743 [BZ #14138]
15744 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
15745 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
15746 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
15747 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
15748 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
15749 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
15750 (fchown): Likewise.
15751 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
15752 (fchown): Likewise.
15753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
15754 Likewise.
15755
15756 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15757
15758 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
15759 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
15760 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
15761 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
15762 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
15763 Likewise.
15764 (__old_sem_post): Likewise.
15765
15766 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
15767
15768 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
15769 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
15770 HAVE_CLOCK_GETTIME_VSYSCALL macros.
15771 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
15772 Use INLINE_VSYSCALL macro.
15773 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
15774 __vdso_clock_gettime.
15775 * sysdeps/unix/sysv/linux/tile/init-first.c
15776 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
15777 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
15778 __vdso_clock_gettime.
15779
15780 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
15781 to set up frame more cleanly.
15782
15783 * sysdeps/tile/memcmp.c: New file.
15784
15785 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
15786
15787 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
15788 * sysdeps/tile/tilegx/strcasestr.c: New file.
15789 * sysdeps/tile/tilegx/strnlen.c: New file.
15790 * sysdeps/tile/tilegx/strstr.c: New file.
15791
15792 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
15793
15794 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
15795
15796 * nptl/tst-setuid3.c: Write errors to stdout.
15797
15798 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
15799
15800 * elf/dl-deps.c
15801 (preload): New functions broken out of _dl_map_object_deps.
15802 (_dl_map_object_deps): Remove a nested function. Update call sites.
15803
15804 2014-10-01 Joseph Myers <joseph@codesourcery.com>
15805
15806 [BZ #14138]
15807 * sysdeps/unix/sysv/linux/execve.c: Remove file.
15808 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
15809
15810 2014-10-01 Steve Ellcey <sellcey@mips.com>
15811
15812 * sysdeps/mips/strcmp.S: New.
15813
15814 2014-09-30 Joseph Myers <joseph@codesourcery.com>
15815
15816 [BZ #14138]
15817 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
15818 (linkat): Likewise.
15819 (mkdirat): Likewise.
15820 (readlinkat): Likewise.
15821 (renameat): Likewise.
15822 (symlinkat): Likewise.
15823 (unlinkat): Likewise.
15824 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
15825 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
15826 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
15827 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
15828 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
15829 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
15830 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
15831
15832 2014-09-30 Will Newton <will.newton@linaro.org>
15833
15834 * math/math.h: Define long double math functions if
15835 _LIBC_TEST is defined.
15836 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
15837
15838 * localedata/Makefile: Move assignment to tests-special
15839 into an ifdef testing run-built-tests.
15840 * timezone/Makefile: Likewise.
15841
15842 2014-09-29 Joseph Myers <joseph@codesourcery.com>
15843
15844 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
15845 with $(BASH) not $(SHELL).
15846
15847 2014-09-29 Carlos O'Donell <carlos@redhat.com>
15848 Matthew LeGendre <legendre1@llnl.gov>
15849
15850 [BZ #17411]
15851 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
15852 l_reloc_result.
15853
15854 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
15855
15856 * stdio-common/printf_fp.c
15857 (hack_digit): New function, broken out of ...
15858 (__printf_fp): ... local function here. Update call sites.
15859 hack_digit now takes an additional parameter that is a pointer
15860 to a struct of the referenced locals. Those locals moved inside
15861 the struct and references updated.
15862
15863 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
15864
15865 * aclocal.m4: Require autoconf 2.69.
15866 * configure: Regenerated.
15867 * sysdeps/aarch64/configure: Likewise.
15868 * sysdeps/alpha/configure: Likewise.
15869 * sysdeps/arm/armv7/configure: Likewise.
15870 * sysdeps/arm/configure: Likewise.
15871 * sysdeps/ia64/configure: Likewise.
15872 * sysdeps/mach/configure: Likewise.
15873 * sysdeps/mips/configure: Likewise.
15874 * sysdeps/s390/configure: Likewise.
15875 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
15876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
15877
15878 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
15879 file.
15880 * sysdeps/ia64/configure.ac: Likewise.
15881
15882 2014-09-26 Joseph Myers <joseph@codesourcery.com>
15883
15884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
15885 specify symbol version for ld.so. Do not include entry for
15886 libpthread.
15887 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
15888 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
15889 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
15890
15891 [BZ #14171]
15892 * Makeconfig [$(build-shared) = yes]
15893 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
15894 makefiles.
15895 [$(build-shared) = yes && $(soversions.mk-done) = t]
15896 ($(common-objpfx)gnu/lib-names.h): Remove rule.
15897 [$(build-shared) = yes && $(soversions.mk-done) = t]
15898 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
15899 to Makerules.
15900 [$(build-shared) = yes && $(soversions.mk-done) = t]
15901 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
15902 here.
15903 [$(build-shared) = yes && $(soversions.mk-done) = t]
15904 (common-generated): Don't append gnu/lib-names.h and
15905 gnu/lib-names.stmp here.
15906 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
15907 (lib-names-h-abi): New variable.
15908 [$(build-shared) = yes && $(soversions.mk-done) = t]
15909 (lib-names-stmp-abi): Likewise.
15910 [$(build-shared) = yes && $(soversions.mk-done) = t &&
15911 abi-variants] (before-compile): Append
15912 $(common-objpfx)$(lib-names-h-abi).
15913 [$(build-shared) = yes && $(soversions.mk-done) = t &&
15914 abi-variants] (common-generated): Append gnu/lib-names.h.
15915 [$(build-shared) = yes && $(soversions.mk-done) = t &&
15916 abi-variants] (install-others-nosubdir): Depend on
15917 $(inst_includedir)/$(lib-names-h-abi).
15918 [$(build-shared) = yes && $(soversions.mk-done) = t &&
15919 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
15920 [$(build-shared) = yes && $(soversions.mk-done) = t]
15921 ($(common-objpfx)$(lib-names-h-abi)): New rule.
15922 [$(build-shared) = yes && $(soversions.mk-done) = t]
15923 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
15924 [$(build-shared) = yes && $(soversions.mk-done) = t]
15925 (common-generated): Append $(lib-names-h-abi) and
15926 $(lib-names-stmp-abi).
15927 * scripts/lib-names.awk: Do not handle multi being set.
15928 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
15929 Remove variable.
15930 (abi-lp64_be-ld-soname): Likewise.
15931 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
15932 Likewise.
15933 (abi-hard-ld-soname): Likewise.
15934 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
15935 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
15936 Remove variable.
15937 (abi-o32_hard-ld-soname): Likewise.
15938 (abi-o32_soft_2008-ld-soname): Likewise.
15939 (abi-o32_hard_2008-ld-soname): Likewise.
15940 (abi-n32_soft-ld-soname): Likewise.
15941 (abi-n32_hard-ld-soname): Likewise.
15942 (abi-n32_soft_2008-ld-soname): Likewise.
15943 (abi-n32_hard_2008-ld-soname): Likewise.
15944 (abi-n64_soft-ld-soname): Likewise.
15945 (abi-n64_hard-ld-soname): Likewise.
15946 (abi-n64_soft_2008-ld-soname): Likewise.
15947 (abi-n64_hard_2008-ld-soname): Likewise.
15948 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
15949 Likewise.
15950 (abi-64-v2-ld-soname): Likewise.
15951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
15952 ld.so entries.
15953 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
15954 variable.
15955 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
15956 entry.
15957 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
15958 variable.
15959 (abi-64-ld-soname): Likewise.
15960 (abi-x32-ld-soname): Likewise.
15961 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
15962 entry.
15963 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
15964
15965 2014-09-23 Joseph Myers <joseph@codesourcery.com>
15966
15967 [BZ #14138]
15968 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
15969 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
15970 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
15971 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
15972 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
15973 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
15974 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
15975 syscall entry for GLIBC_2.2 symbol version.
15976 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
15977 Likewise.
15978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
15979 (setrlimit): Likewise.
15980 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
15981 Likewise.
15982
15983 2014-09-23 Will Newton <will.newton@linaro.org>
15984
15985 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
15986 _LINUX_ARM_SYSDEP_H include guard too.
15987 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
15988 define.
15989
15990 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
15991
15992 * sysdeps/unix/sysv/linux/eventfd.c:
15993 Make first argument unsigned.
15994 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
15995 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
15996
15997 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
15998
15999 * socket/recvmmsg.c (recvmmsg): Drop const argument.
16000 * socket/sys/socket.h: Likewise
16001 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
16002
16003 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16004
16005 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
16006
16007 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
16008
16009 * time/tst-ftime.c: New test.
16010 * time/Makefile (tests): Add tst-ftime.
16011
16012 2014-09-17 Joseph Myers <joseph@codesourcery.com>
16013
16014 * soft-fp/extended.h: Fix comment formatting.
16015 * soft-fp/op-1.h: Likewise.
16016 * soft-fp/op-2.h: Likewise.
16017 * soft-fp/op-4.h: Likewise.
16018 * soft-fp/op-8.h: Likewise.
16019 * soft-fp/op-common.h: Likewise.
16020 * soft-fp/soft-fp.h: Likewise.
16021
16022 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
16023
16024 2014-09-16 Joseph Myers <joseph@codesourcery.com>
16025
16026 [BZ #6652]
16027 * Makeconfig (soversions-default-setname): Remove variable.
16028 ($(common-objpfx)soversions.i): Don't pass default_setname to
16029 soversions.awk.
16030 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
16031 oldest_abi to abi-versions.awk.
16032 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
16033 * config.make.in (oldest-abi): Remove variable.
16034 * configure.ac (--enable-oldest-abi): Remove configure option.
16035 * configure: Regenerated.
16036 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
16037 text.
16038 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
16039 * scripts/soversions.awk: Do not handle default_setname variable.
16040 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
16041 variable.
16042 * sysdeps/mach/hurd/configure: Regenerated.
16043 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
16044 variable.
16045 * sysdeps/unix/sysv/linux/configure: Regenerated.
16046
16047 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16048
16049 * elf/Makefile (CFLAGS-interp.c): Remove.
16050 ($(elf-objpfx)runtime-linker.h): Generate header with linker
16051 path string.
16052 * elf/interp.c: Include generated runtime-linker.h
16053
16054 * Makerules (lib%.so): Don't include $(+interp) in
16055 prerequisites.
16056 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
16057 * dlfcn/eval.c: Remove file.
16058
16059 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
16060 macros.
16061
16062 [BZ #17266]
16063 * misc/sys/cdefs.h: Define __extern_always_inline for clang
16064 4.2 and newer.
16065
16066 [BZ #17370]
16067 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
16068
16069 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16070 Jakub Jelinek <jakub@redhat.com>
16071
16072 [BZ #17266]
16073 * libio/stdio.h: Check definition of __fortify_function
16074 instead of __extern_always_inline to include bits/stdio2.h.
16075 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
16076 check if __extern_always_inline is defined.
16077 [__USE_MISC || __USE_XOPEN]: Likewise.
16078 [__USE_ISOC99] Likewise.
16079 * misc/sys/cdefs.h (__fortify_function): Define only if
16080 __extern_always_inline is defined.
16081 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
16082 __extern_always_inline and __extern_inline only for g++-4.3
16083 and newer or a compatible gcc.
16084
16085 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
16086
16087 [BZ #17371]
16088 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
16089 last change to handle zero prefix length.
16090
16091 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16092
16093 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
16094 _SC_REGEX_VERSION.
16095
16096 * posix/getconf.c (vars): Add _POSIX_IPV6 and
16097 _POSIX_RAW_SOCKETS.
16098
16099 2014-09-13 Allan McRae <allan@archlinux.org>
16100
16101 * po/ru.po: Update Russian translation from translation project.
16102
16103 2014-09-12 Roland McGrath <roland@hack.frob.com>
16104
16105 * locale/programs/locale.c (show_locale_vars): Inline local function
16106 into its sole call site. Clean up some style nits.
16107 (print_item): New function, broken out of ...
16108 (show_info): ... local function here. Clean up style nits.
16109
16110 * locale/programs/ld-ctype.c (set_one_default): New function, broken
16111 out of ...
16112 (set_class_defaults): ... local function set_default here.
16113 Define set_default as a macro locally to pass constant parameters.
16114 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
16115 rather than a shared local.
16116
16117 * stdlib/rpmatch.c (try): New function, broken out of ...
16118 (rpmatch): ... local function here. Also, prototypify definition.
16119
16120 2014-09-12 Joseph Myers <joseph@codesourcery.com>
16121
16122 * scripts/soversions.awk: Do not handle configuration names.
16123 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
16124 vendor and os variables to soversions.awk.
16125 * configure.ac: Do not modify gnu-* host_os.
16126 * configure: Regenerated
16127 * shlib-versions: Remove first column with configuration names.
16128 * nptl/shlib-versions: Likewise.
16129 * nptl_db/shlib-versions: Likewise.
16130 * sysdeps/hppa/shlib-versions: Likewise.
16131 * sysdeps/m68k/shlib-versions: Likewise.
16132 * sysdeps/mach/hurd/shlib-versions: Likewise.
16133 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
16134 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
16135 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
16136 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
16137 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
16138 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
16139 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
16140 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
16141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
16142 Likewise.
16143 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
16144 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
16145 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
16146 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
16147 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
16148 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
16149 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
16150 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
16151
16152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
16153 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
16154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
16155 Regenerated.
16156 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
16157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
16158 Condition symbol version definitions on [HAVE_ELFV2_ABI].
16159
16160 * shlib-versions: Remove OS-specific entries. Moved to files in
16161 sysdeps.
16162 * sysdeps/mach/hurd/shlib-versions: New file.
16163 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
16164
16165 * nptl/shlib-versions: Remove architecture-specific entries.
16166 Moved to files in sysdeps.
16167 * shlib-versions: Likewise.
16168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
16169 file.
16170 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
16171 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
16172 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
16173 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
16174
16175 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
16176 (UDP_NO_CHECK6_RX): Likewise.
16177
16178 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
16179
16180 * sysdeps/posix/sysconf.c (__sysconf): Spell
16181 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
16182
16183 2014-08-12 Florian Weimer <fweimer@redhat.com>
16184
16185 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
16186 loading.
16187 * iconv/Versions (__gconv_transliterate): Export for use from
16188 gconv modules.
16189 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
16190 (struct __gconv_trans_data, __gconv_trans_fct,
16191 __gconv_trans_context_fct, __gconv_trans_query_fct,
16192 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
16193 definitions.
16194 (struct __gconv_step_data): Remove __trans member.
16195 (__gconv_transliterate): Declaration moved from gconv_int.h. No
16196 longer hidden. Remove unused trans_data argument.
16197 * iconv/gconv_int.h (struct trans_struct): Remove definition.
16198 (__gconv_translit_find): Remove declaration.
16199 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
16200 prototype.
16201 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
16202 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
16203 trans_data argument. Add hidden definition.
16204 (__gconv_translit_find): Remove.
16205 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
16206 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
16207 * iconv/skeleton.c: Remove transliteration initialization.
16208 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
16209 __gconv_step_data initialization.
16210 * libio/iofwide.c (__libio_translit_): Remove.
16211 (_IO_fwide): Adjust struct __gconv_step_data initialization.
16212 * wcsmbs/btowc.c (__btowc): Likewise.
16213 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
16214 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
16215 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
16216 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
16217 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
16218 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
16219 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
16220 * wcsmbs/wctob.c (wctob): Likewise.
16221
16222 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
16223
16224 [BZ #16194]
16225 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
16226 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
16227 register usage.
16228 * sysdeps/x86/Makefile: Adjust.
16229
16230 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
16231 Roland McGrath <roland@hack.frob.com>
16232
16233 * locale/weight.h: Add include guard.
16234 (findidx): Make static rather than auto; take new parameters
16235 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
16236 * locale/weightwc.h: Likewise.
16237 * posix/fnmatch_loop.c
16238 (FCT): Change type of EXTRA from int32_t to wint_t.
16239 Don't include either header inside the function.
16240 Call FINDIDX rather than findidx, and pass new arguments.
16241 #undef FINDIDX at the end of the file.
16242 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
16243 FINDIDX before including fnmatch_loop.c for the non-wide version.
16244 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
16245 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
16246 for the wide version.
16247 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
16248 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
16249 Pass new arguments to findidx.
16250 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
16251 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
16252 Don't #include it inside the function. Pass new arguments to findidx.
16253 * posix/regex_internal.h
16254 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
16255 (re_string_elem_size_at): Don't #include it inside the function.
16256 Pass new arguments to findidx.
16257 * string/strcoll_l.c: #include WEIGHT_H at top level.
16258 (get_next_seq): Don't #include it inside the function.
16259 Pass new arguments to findidx.
16260 (get_next_seq_nocache): Likewise.
16261 * string/strxfrm_l.c: #include WEIGHT_H at top level.
16262 (STRXFRM): Don't #include it inside the function.
16263 Pass new arguments to findidx.
16264
16265 2014-09-11 Florian Weimer <fweimer@redhat.com>
16266
16267 [BZ #17344]
16268 * malloc/malloc.c (unlink): Turn asserts into a call to
16269 malloc_printerr.
16270
16271 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
16272
16273 [BZ #17370]
16274 * libio/wfileops (do_ftell_wide): Free OUT.
16275
16276 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
16277
16278 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
16279
16280 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16281
16282 [BZ #17363]
16283 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
16284 group if the current group is empty.
16285
16286 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16287
16288 * benchtests/bench-memset.c (test_main): Add more test from size
16289 from 32 to 512 bytes.
16290 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
16291 Add POWER8 memset object.
16292 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16293 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
16294 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
16295 implementation.
16296 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
16297 Likewise.
16298 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
16299 multiarch POWER8 memset optimization.
16300 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
16301 POWER8 memset optimization.
16302
16303 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
16304 Remove bzero multiarch objects.
16305 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
16306 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
16307 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
16308 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
16309 Remove define.
16310 [__bzero]: Redefine to specific name.
16311 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
16312 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
16313 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
16314 define.
16315 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
16316 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
16317
16318 2014-09-10 Florian Weimer <fweimer@redhat.com>
16319
16320 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
16321 warnings into errors.
16322
16323 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
16324 __cxa_thread_atexit_impl prototype.
16325
16326 2014-09-09 Steve Ellcey <sellcey@mips.com>
16327
16328 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
16329 Fix capitalization of error message.
16330
16331 2014-09-09 Steve Ellcey <sellcey@mips.com>
16332
16333 * sysdeps/mips/preconfigure: Modify ABI tests.
16334
16335 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
16336
16337 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
16338
16339 2014-09-07 Roland McGrath <roland@hack.frob.com>
16340 Carlos O'Donell <carlos@systemhalted.org>
16341
16342 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
16343 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
16344 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
16345 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
16346 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
16347 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
16348 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
16349 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
16350 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
16351 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
16352 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
16353 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
16354 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
16355 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
16356 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
16357 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
16358 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
16359 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
16360 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
16361 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
16362 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
16363 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
16364 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
16365 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
16366 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
16367 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
16368 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
16369 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
16370 Deconditionalize the code that was previously under [RESET_PID].
16371 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
16372 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
16373 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
16374 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
16375 include sysdep.h.
16376
16377 2014-09-08 Allan McRae <allan@archlinux.org>
16378
16379 * version.h (RELEASE): Set to "development".
16380 (VERSION): Set to "2.20.90"
16381
16382 2014-09-07 Allan McRae <allan@archlinux.org
16383
16384 * version.h (RELEASE): Set to "stable".
16385 (VERSION): Set to "2.20"
16386 * include/features.h (__GLIBC_MINOR__): Set to 20.
16387
16388 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
16389 Liebler.
16390
16391 * po/ko.po: Update Korean translation from translation project.
16392
16393 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
16394
16395 [BZ #17354]
16396 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
16397 macro for handling signed relocations.
16398
16399 2014-09-03 Florian Weimer <fweimer@redhat.com>
16400
16401 [BZ #17325]
16402 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
16403 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
16404 assert.
16405 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
16406 * iconvdata/ibm935.c (BODY): Likewise.
16407 * iconvdata/ibm937.c (BODY): Likewise.
16408 * iconvdata/ibm939.c (BODY): Likewise.
16409 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
16410 assert.
16411 * iconvdata/Makefile (iconv-test.out): Pass module list to test
16412 script.
16413 * iconvdata/run-iconv-test.sh: New test loop for checking for
16414 decoder crashers.
16415
16416 2014-09-02 Khem Raj <raj.khem@gmail.com>
16417
16418 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
16419 libm_hidden_ver.
16420
16421 2014-09-01 Allan McRae <allan@archlinux.org>
16422
16423 * po/eo.po: Update Esperanto translation from translation project.
16424
16425 * po/ca.po: Update Catalan translation from translation project.
16426
16427 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
16428
16429 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
16430 __proc_dostop call.
16431
16432 2014-08-27 Mark Wielaard <mjw@redhat.com>
16433
16434 [BZ #17319]
16435 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
16436 to call set_thread_area instead of hand written asm.
16437 (__NR_set_thread_area): Removed define.
16438 (TLS_FLAG_WRITABLE): Likewise.
16439 (__ASSUME_SET_THREAD_AREA): Remove check.
16440 (TLS_EBX_ARG): Remove define.
16441 (TLS_LOAD_EBX): Likewise.
16442
16443 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
16444
16445 Simplify atomicity of socket creation in bind.
16446
16447 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
16448 looking up the name after linking the file.
16449
16450 2014-08-27 Allan McRae <allan@archlinux.org>
16451
16452 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
16453
16454 2014-08-26 Florian Weimer <fweimer@redhat.com>
16455
16456 [BZ #17187]
16457 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
16458 trans_compare, open_translit, __gconv_translit_find):
16459 Remove module loading code.
16460
16461 2014-08-26 Allan McRae <allan@archlinux.org>
16462
16463 * po/vi.po: Update Vietnamese translation from translation project.
16464
16465 * po/uk.po: Update Ukrainian translation from translation project.
16466
16467 * po/fr.po: Update French translation from translation project.
16468
16469 * po/ru.po: Update Russian translation from translation project.
16470
16471 * po/pl.po: Update Polish translation from translation project.
16472
16473 * po/cs.po: Update Czech translation from translation project.
16474
16475 * po/de.po: Update German translation from translation project.
16476
16477 * po/bg.po: Update Bulgarian translation from translation project.
16478
16479 * po/sv.po: Update Sweedish translation from translation project.
16480
16481 * po/nl.po: Update Dutch translation from translation project.
16482
16483 * po/es.po: Update Spanish translation from translation project.
16484
16485 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16486
16487 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
16488
16489 * catgets/Makefile (CPPFLAGS-gencat): Remove.
16490 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
16491 (CPPFLAGS-iconvconfig): Likewise.
16492 * timezone/Makefile (CPPFLAGS-zic): Likewise.
16493
16494 * include/libc-symbols.h: Remove unnecessary check for
16495 NOT_IN_libc.
16496 * nptl/pthreadP.h: Likewise.
16497 * sysdeps/aarch64/setjmp.S: Likewise.
16498 * sysdeps/alpha/setjmp.S: Likewise.
16499 * sysdeps/arm/sysdep.h: Likewise.
16500 * sysdeps/i386/setjmp.S: Likewise.
16501 * sysdeps/m68k/setjmp.c: Likewise.
16502 * sysdeps/posix/getcwd.c: Likewise.
16503 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
16504 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
16505 * sysdeps/s390/s390-32/setjmp.S: Likewise.
16506 * sysdeps/s390/s390-64/setjmp.S: Likewise.
16507 * sysdeps/sh/sh3/setjmp.S: Likewise.
16508 * sysdeps/sh/sh4/setjmp.S: Likewise.
16509 * sysdeps/unix/alpha/sysdep.h: Likewise.
16510 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
16511 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
16512 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
16513 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
16514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
16515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
16516 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
16517 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
16518 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
16519 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
16520 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16521 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
16522 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
16523 * sysdeps/x86_64/setjmp.S: Likewise.
16524
16525 2014-08-13 Joseph Myers <joseph@codesourcery.com>
16526
16527 [BZ #17263]
16528 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
16529 <stdint.h>.
16530 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
16531 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
16532
16533 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
16534
16535 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
16536
16537 [BZ #17262]
16538 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
16539 and __x86_64__ when disabling x87 inline functions.
16540
16541 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
16542
16543 [BZ #17259]
16544 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
16545 asm statement with __cpuid_count.
16546
16547 2014-08-12 Mike Frysinger <vapier@gentoo.org>
16548
16549 * configure.ac: Change __ehdr_start code to dereference the struct.
16550 Run readelf on the output to look for relocations.
16551 * configure: Regenerated.
16552
16553 2014-08-12 Joseph Myers <joseph@codesourcery.com>
16554
16555 [BZ #17261]
16556 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
16557 value to 0.
16558 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
16559
16560 2014-08-12 Roland McGrath <roland@hack.frob.com>
16561
16562 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
16563
16564 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
16565
16566 [BZ #16892]
16567 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
16568 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
16569
16570 2014-08-12 Sean Anderson <seanga2@gmail.com>
16571
16572 * malloc/malloc.c: Fix typo in comment.
16573
16574 2014-08-09 Allan McRae <allan@archlinux.org>
16575
16576 * Regenerate libc.po.
16577
16578 2014-08-08 Mike Frysinger <vapier@gentoo.org>
16579
16580 * intl/tst-gettext2.sh: Check every lang file for creation.
16581
16582 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
16583
16584 * sysdeps/aarch64/fpu/math_private.h
16585 (libc_feholdsetround_noex_aarch64_ctx): New function.
16586
16587 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
16588
16589 * sysdeps/arm/armv6/strcpy.S (strcpy):
16590 Fix performance issue in misaligned cases.
16591
16592 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16593
16594 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
16595 Move definition from termios.h.
16596 (struct termio): Likewise.
16597 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
16598 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
16599 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
16600 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
16601 Likewise.
16602 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
16603 Move definition to ioctl-types.h
16604 (struct termio): Likewise.
16605 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
16606 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
16607 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
16608 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
16609 Likewise.
16610
16611 2014-08-05 Richard Henderson <rth@redhat.com>
16612
16613 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
16614 exceptions.
16615 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
16616 Add fraiseexcpt.
16617 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
16618 Use __feraiseexcept.
16619 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
16620 Protect libm symbols with IS_IN_libm.
16621
16622 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
16623
16624 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
16625
16626 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
16627
16628 2014-08-04 Will Newton <will.newton@linaro.org>
16629
16630 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
16631 file.
16632
16633 2014-08-04 Mike Frysinger <vapier@gentoo.org>
16634
16635 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
16636 variants for each function.
16637
16638 2014-08-04 Roland McGrath <roland@hack.frob.com>
16639
16640 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
16641 appended ...
16642 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
16643 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
16644 appended ...
16645 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
16646 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
16647 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
16648 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
16649 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
16650 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
16651 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
16652 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
16653 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
16654 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
16655 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
16656 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
16657 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
16658 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
16659 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
16660 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
16661 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
16662 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
16663 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
16664 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
16665 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
16666 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
16667 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
16668 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
16669 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
16670 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
16671 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
16672 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
16673 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
16674 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
16675 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
16676 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
16677 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
16678 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
16679 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
16680 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
16681 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
16682 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
16683 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
16684 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
16685 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
16686 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
16687 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
16688 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
16689 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
16690 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
16691 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
16692 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
16693 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
16694 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
16695 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
16696 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
16697 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
16698 Update #include.
16699 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
16700 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
16701
16702 2014-08-04 Roland McGrath <roland@hack.frob.com>
16703
16704 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
16705 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
16706 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
16707 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
16708 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
16709 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
16710
16711 2014-08-04 Roland McGrath <roland@hack.frob.com>
16712
16713 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
16714 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
16715 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16716 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
16717
16718 2014-08-04 Roland McGrath <roland@hack.frob.com>
16719
16720 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
16721 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
16722 (__libc_vfork): Define function under this name.
16723 (__vfork): Define as an alias.
16724 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
16725 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
16726
16727 2014-08-04 Roland McGrath <roland@hack.frob.com>
16728
16729 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
16730 that was previously under [RESET_PID].
16731 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
16732
16733 2014-08-04 Andreas Schwab <schwab@suse.de>
16734
16735 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
16736
16737 2014-08-03 Mike Frysinger <vapier@gentoo.org>
16738
16739 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
16740 (main): Likewise.
16741
16742 2014-08-01 Roland McGrath <roland@hack.frob.com>
16743
16744 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
16745
16746 2014-08-01 Richard Henderon <rth@redhat.com>
16747
16748 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
16749 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
16750 typo in exact zero test.
16751 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16752 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16753 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16754
16755 2014-08-01 Roland McGrath <roland@hack.frob.com>
16756
16757 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
16758 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
16759 * sysdeps/arm/sysdep.h: ... here.
16760 [!__ASSEMBLER__]: Include <stdint.h>.
16761
16762 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
16763
16764 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
16765 (HAVE_WCTYPE_H): Likewise.
16766 (HAVE_ISWCTYPE): Likewise.
16767 (ENABLE_NLS): Likewise.
16768 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
16769 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
16770
16771 * posix/regex_internal.c: Check if DEBUG is defined and is
16772 set.
16773
16774 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
16775 (HAVE_MBSRTOWCS): Likewise.
16776 * posix/fnmatch.c: Include string.h unconditionally.
16777
16778 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
16779
16780 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
16781 reversal.
16782
16783 2014-07-31 Roland McGrath <roland@hack.frob.com>
16784
16785 * sysdeps/generic/safe-fatal.h: New file.
16786 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
16787 * nptl/forward.c: Include it.
16788 (__pthread_unwind): Use __safe_fatal as default action, rather
16789 than a bogus use of INTERNAL_SYSCALL that could never work.
16790
16791 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
16792 * configure.ac (libc_cv_builtin_trap): New test.
16793 * configure: Regenerated.
16794 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
16795 (ABORT_INSTRUCTION): Define using __builtin_trap.
16796
16797 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
16798 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
16799 * sysdeps/nptl/nptl-signals.h: New file.
16800 * nptl/pthreadP.h: Include <nptl-signals.h>.
16801
16802 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
16803
16804 * sysdeps/s390/s390-64/utf16-utf32-z9.c
16805 (ONE_DIRECTION): Define.
16806 * sysdeps/s390/s390-64/utf8-utf16-z9.c
16807 (ONE_DIRECTION): Define.
16808 * sysdeps/s390/s390-64/utf8-utf32-z9.c
16809 (ONE_DIRECTION): Define.
16810
16811 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
16812
16813 * sysdeps/s390/Makefile: Delete file.
16814 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
16815 * sysdeps/s390/__longjmp.c: Delete file.
16816 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
16817 Remove fields __flags and __reserved.
16818 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
16819 and add versioning.
16820 * sysdeps/s390/rtld-__longjmp.c: Delete file.
16821 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
16822 * sysdeps/s390/rtld-setjmp.S: Likewise.
16823 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
16824 * sysdeps/s390/s390-32/__longjmp.c: ... here.
16825 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
16826 * sysdeps/s390/s390-32/setjmp.S: ... here.
16827 Add versioning.
16828 (__sigsetjmp): Remove setting __flags field.
16829 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
16830 * sysdeps/s390/s390-64/__longjmp.c: ... here.
16831 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
16832 * sysdeps/s390/s390-64/setjmp.S: ... here.
16833 Add versioning.
16834 (__sigsetjmp): Remove setting __flags field.
16835 * sysdeps/s390/setjmp.S: Delete file.
16836 * sysdeps/s390/sigjmp.c: Likewise.
16837 * sysdeps/s390/v1-longjmp.c: Likewise.
16838 * sysdeps/s390/v1-setjmp.h: Likewise.
16839 * sysdeps/s390/v1-sigjmp.c: Likewise.
16840 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
16841 Remove v1-longjmp_chk.
16842 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
16843 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
16844 Include debug/longjmp_chk.c and add versioning.
16845 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
16846 Include nptl/pt-longjmp.c and add versioning.
16847 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
16848 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
16849 Include __longjmp.c.
16850 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
16851 Move to ...
16852 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
16853 (__getcontext): Remove setting __flags field.
16854 Add versioning.
16855 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
16856 Don't restore upper high grps.
16857 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
16858 Likewise.
16859 (__swapcontext): Remove setting uc_flags field.
16860 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
16861 Delete file.
16862 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
16863 Include __longjmp.c.
16864 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
16865 Move to ...
16866 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
16867 (__getcontext): Remove setting __flags field.
16868 Add versioning.
16869 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
16870 (__swapcontext): Remove setting uc_flags field.
16871 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
16872 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
16873 Remove fields uc_high_gprs and __reserved.
16874 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
16875 New file with reverted content.
16876 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
16877 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
16878 Regenerated.
16879 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
16880 Regenerated.
16881
16882 2014-07-31 Andreas Schwab <schwab@suse.de>
16883
16884 * config.h.in (HAVE_IFUNC): Define to 0.
16885 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
16886 definedness.
16887
16888 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
16889
16890 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16891 memmove-avx-unaligned, memcpy-avx-unaligned and
16892 mempcpy-avx-unaligned.
16893 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16894 Add tests for AVX memcpy functions.
16895 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
16896 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
16897 memcpy_chk.
16898 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
16899 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
16900 memmove_chk.
16901 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
16902 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
16903 mempcpy_chk.
16904 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
16905 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
16906 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
16907
16908 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16909
16910 [BZ #17213]
16911 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
16912 powerpc64le.
16913
16914 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
16915
16916 [BZ #16839]
16917 * manual/llio.texi: Add section about open file description locks.
16918 * manual/examples/ofdlocks.c: Example of open file description
16919 lock usage.
16920 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
16921 F_OFD_SETLK, and F_OFD_SETLKW.
16922
16923 2014-07-23 Allan McRae <allan@archlinux.org>
16924
16925 * po/es.po: Update Spanish translation from translation project.
16926
16927 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
16928
16929 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
16930
16931 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
16932
16933 [BZ #17078]
16934 * sysdeps/arm/dl-machine.h (elf_machine_rela)
16935 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
16936 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
16937
16938 2014-07-17 Joseph Myers <joseph@codesourcery.com>
16939
16940 [BZ #17088]
16941 * math/fesetenv.c (__fesetenv)
16942 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
16943 * math/feupdateenv.c (__feupdateenv)
16944 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
16945
16946 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
16947 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
16948 (__ASSUME_SOCKETCALL): Do not define.
16949
16950 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
16951 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
16952 (__ASSUME_SOCKETCALL): Do not define.
16953 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
16954 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
16955 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
16956 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
16957 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16958 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
16959 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16960 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16961
16962 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
16963 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
16964 (__ASSUME_SOCKETCALL): Do not define.
16965 (__ASSUME_IPC64): Define unconditionally.
16966 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
16967 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
16968 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
16969 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16970 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
16971 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16972 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
16973 Likewise.
16974
16975 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
16976 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
16977 (__ASSUME_SOCKETCALL): Do not define.
16978 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
16979 (__ASSUME_FUTEX_LOCK_PI): Likewise.
16980 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
16981 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
16982 (__ASSUME_REQUEUE_PI): Define unconditionally.
16983 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
16984 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
16985 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16986 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
16987 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16988 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16989
16990 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
16991 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
16992 (__ASSUME_SOCKETCALL): Do not define.
16993 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
16994 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16995 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16996 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
16997 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16998 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16999
17000 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
17001 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
17002 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
17003 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
17004 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17005 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
17006 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17007 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
17008 (__ASSUME_GETCPU_SYSCALL): Likewise.
17009
17010 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
17011 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
17012 cases for individual architectures.
17013 * sysdeps/gnu/configure: Regenerated.
17014 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
17015 LIBC_SLIBDIR_RTLDDIR.
17016 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
17017 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
17018 LIBC_SLIBDIR_RTLDDIR.
17019 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
17020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
17021 LIBC_SLIBDIR_RTLDDIR.
17022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
17023 Regenerated.
17024 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
17025 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
17026 file.
17027 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
17028 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
17029 file.
17030 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
17031 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
17032 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
17033 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
17034
17035 * sysdeps/aarch64/shlib-versions: Move to ...
17036 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
17037 * sysdeps/alpha/shlib-versions: Move to ...
17038 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
17039 * sysdeps/arm/shlib-versions: Move to ...
17040 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
17041 * sysdeps/hppa/shlib-versions: Move all contents except for
17042 libgcc_s entry to ...
17043 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
17044 entry from ...
17045 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
17046 * sysdeps/ia64/shlib-versions: Move to ...
17047 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
17048 entry from ...
17049 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
17050 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
17051 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
17052 * sysdeps/microblaze/shlib-versions: Move to ...
17053 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
17054 * sysdeps/mips/shlib-versions: Move to ...
17055 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
17056 entry from ...
17057 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
17058 * sysdeps/tile/shlib-versions: Move to ...
17059 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
17060 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
17061 from ...
17062 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
17063 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
17064 entry from ...
17065 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
17066
17067 2014-07-17 Will Newton <will.newton@linaro.org>
17068
17069 * sysdeps/arm/bits/atomic.h
17070 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
17071 (__arch_compare_and_exchange_bool_16_int): Likewise.
17072 (__arch_compare_and_exchange_bool_64_int): Likewise.
17073
17074 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
17075 into an #else block.
17076
17077 2014-07-16 Roland McGrath <roland@hack.frob.com>
17078
17079 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
17080 just Linux configurations. Test empirically that the compiler sets
17081 __ARM_EABI__, rather than using the tuple to decide.
17082 * sysdeps/arm/preconfigure: Regenerated.
17083 * sysdeps/unix/sysv/linux/arm/configure: File removed.
17084 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
17085 contents appended ...
17086 * sysdeps/arm/configure.ac: ... here.
17087 * sysdeps/arm/configure: Regenerated.
17088
17089 2014-07-15 Roland McGrath <roland@hack.frob.com>
17090
17091 * nptl/pthread_kill.c: New file.
17092 * nptl/pthread_sigmask.c: New file.
17093 * nptl/pthread_sigqueue.c: New file.
17094
17095 * sysdeps/nptl/lowlevellock.h: New file.
17096 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
17097 * sysdeps/nptl/lowlevellock-futex.h: New file.
17098
17099 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
17100 Remove dead declarations.
17101
17102 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
17103
17104 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
17105 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
17106 config-cflags-avx2.
17107 * sysdeps/x86_64/configure.ac: Likewise.
17108 * sysdeps/i386/configure: Regenerated.
17109 * sysdeps/x86_64/configure: Likewise.
17110 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17111 memset-avx2 only if config-cflags-avx2 is yes.
17112 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17113 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
17114 defined.
17115 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
17116 only if HAVE_AVX2_SUPPORT is defined.
17117 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17118
17119 2014-07-14 Alan Modra <amodra@gmail.com>
17120
17121 [BZ #17153]
17122 * elf/elf.h (DT_PPC64_NUM): Correct value.
17123 * NEWS: Add to fixed bug list.
17124
17125 2014-07-13 Jim Meyering <meyering@fb.com>
17126
17127 [BZ 17150]
17128 regex: don't deref NULL upon heap allocation failure
17129 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
17130 failure in one more place.
17131 To trigger the segfault, configure grep -with-included-regex,
17132 build it, and run these commands:
17133 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
17134
17135 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
17136
17137 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
17138
17139 2014-07-11 Richard Henderson <rth@redhat.com>
17140
17141 * sysdeps/aarch64/libm-test-ulps: Update.
17142
17143 2014-07-10 Florian Weimer <fweimer@redhat.com>
17144
17145 [BZ #17135]
17146 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
17147 * nptl/allocatestack.c (__nptl_setxid_error): New function.
17148 (__nptl_setxid): Initialize error member. Call
17149 __nptl_setxid_error.
17150 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
17151 * nptl/descr.h (struct xid_command): Add error member.
17152 * nptl/tst-setuid3.c: New file.
17153 * nptl/Makefile (tests): Add it.
17154
17155 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17156
17157 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
17158 New define.
17159 (__lll_trylock): Use __lll_base_trylock.
17160 (__lll_cond_trylock): Likewise.
17161
17162 2014-07-10 Roland McGrath <roland@hack.frob.com>
17163
17164 * nptl/pthread_create.c (start_thread): Use atomic_or and
17165 lll_futex_wake directly rather than lll_robust_dead.
17166 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
17167 (lll_robust_dead): Macro removed.
17168 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
17169 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
17170 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
17171 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
17172 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
17173 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
17174 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
17175 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
17176 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
17177 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
17178 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
17179 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
17180 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
17181 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
17182 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
17183
17184 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
17185 Use atomic_compare_and_exchange_val_acq directly rather than
17186 lll_robust_trylock.
17187 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
17188 (__lll_robust_trylock, lll_robust_trylock): Removed.
17189 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
17190 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
17191 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
17192 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
17193 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
17194 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
17195 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
17196 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
17197 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
17198 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
17199 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
17200 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
17201 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
17202 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
17203
17204 2014-07-02 Florian Weimer <fweimer@redhat.com>
17205
17206 * manual/locale.texi (Locale Names): New section documenting
17207 locale name syntax. Adjust menu and node chaining accordingly.
17208 (Choosing Locale): Reference Locale Names, Locale Categories.
17209 Mention setting LC_ALL=C. Reflect that name syntax is now
17210 documented.
17211 (Locale Categories): New section title. Reference Locale Names.
17212 LC_ALL is an environment variable, but not a category.
17213 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
17214 description, now in Locale Name. Reference that section. Locale
17215 name syntax is now documented.
17216
17217 2014-07-02 Florian Weimer <fweimer@redhat.com>
17218
17219 [BZ #17137]
17220 * locale/findlocale.c (name_present, valid_locale_name): New
17221 functions.
17222 (_nl_find_locale): Use the loc_name variable to store name
17223 candidates. Call name_present and valid_locale_name to check and
17224 validate locale names. Return an error if the locale is invalid.
17225
17226 2014-07-02 Florian Weimer <fweimer@redhat.com>
17227
17228 * locale/setlocale.c (setlocale): Use strdup for allocating
17229 composite name copy.
17230
17231 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17232
17233 Sync up with gnulib.
17234 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
17235 [!_LIBC && ENABLE_NLS]: Include gettext.h.
17236 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
17237 and _GL_ARG_NONNULL.
17238 [USE_UNLOCKED_IO]: Include unlocked-io.h.
17239 [!_LIBC]: Include code for Windows and Cygwin.
17240 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
17241 Include prototype for int strerror_r.
17242 [!_LIBC] (is_open): New function.
17243 (flush_stdout): New function.
17244 (print_errno_message): Use it.
17245 (error): Likewise.
17246 (error_at_line): Likewise.
17247 (error_tail) Add function attribute macros. Use
17248 __builtin_expect.
17249
17250 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
17251
17252 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
17253
17254 * io/ftw.c: Include sys/param.h unconditionally.
17255
17256 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
17257
17258 [BZ #17125]
17259 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
17260 libc_freeres_ptr.
17261 (freecache): New function to free CACHE on exit.
17262
17263 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
17264 initialization.
17265
17266 2014-07-09 David S. Miller <davem@davemloft.net>
17267
17268 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17269
17270 * sysdeps/sparc/nptl/internaltypes.h: Delete.
17271 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
17272 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
17273 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
17274 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
17275 * sysdeps/sparc/nptl/sem_init.c: Likewise.
17276 * sysdeps/sparc/nptl/sem_post.c: Likewise.
17277 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
17278 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
17279 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
17280 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
17281 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
17282 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
17283
17284 2014-07-09 Andreas Schwab <schwab@suse.de>
17285
17286 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
17287 output.
17288 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
17289 (do_test): Likewise.
17290
17291 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
17292
17293 2014-07-09 Will Newton <will.newton@linaro.org>
17294
17295 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
17296 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
17297 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
17298 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
17299 * sysdeps/hppa/start.S (_start): Likewise.
17300
17301 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
17302
17303 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
17304
17305 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
17306 defined.
17307
17308 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
17309
17310 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
17311 after checking that it is non-NULL.
17312
17313 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
17314
17315 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17316
17317 * sysdeps/powerpc/memmove.c: Remove file.
17318 * sysdeps/powerpc/powerpc32/power4/memcopy.h
17319 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
17320 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
17321 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
17322 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
17323 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
17324 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
17325 string memmove instead of removed powerpc one.
17326
17327 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
17328 [weak_alias]: Fix compiler warning due trailing data.
17329 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
17330 [weak_alias]: Likewise.
17331 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
17332 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
17333
17334 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17335 (__libc_ifunc_impl_list): Add memmove functions.
17336
17337 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
17338
17339 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
17340 Remove code.
17341 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
17342 Likewise
17343 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
17344 Likewise
17345 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
17346 Likewise
17347 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
17348 Likewise
17349 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
17350 Likewise
17351 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
17352 Likewise
17353 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
17354 Likewise
17355 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
17356 Likewise
17357 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
17358 Likewise
17359 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
17360 Likewise
17361 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
17362 Likewise
17363 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
17364 Likewise
17365 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
17366 Likewise
17367 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
17368 Likewise
17369 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
17370 Likewise
17371 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
17372 Likewise
17373
17374 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17375
17376 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
17377 to avoid alignment traps in non-cacheable memory.
17378 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
17379
17380 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
17381 multiarch objects.
17382 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
17383 file: multiarch power7 memmove.
17384 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
17385 multiarch default memmove.
17386 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
17387 multiarch memove for powerpc32/power4.
17388
17389 * string/bcopy.c: Use full path to include memmove.c.
17390 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
17391 multiarch objects.
17392 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
17393 bcopy for powerpc64.
17394 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
17395 bcopy for powerpc64.
17396 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
17397 and memmove implementations.
17398 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
17399 optimized multiarch memmove for POWER7/powerpc64.
17400 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
17401 default multiarch memmove for powerpc64.
17402 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
17403 multiarch for powerpc64.
17404 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
17405 for POWER7/powerpc64.
17406 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
17407 memmove for POWER7/powerpc64.
17408
17409 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
17410 glibc default one.
17411
17412 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
17413 __ELF_NATIVE_CLASS equal to 64.
17414
17415 2014-07-07 Roland McGrath <roland@hack.frob.com>
17416
17417 * sysdeps/nptl/lowlevellock.h: File removed.
17418
17419 * NEWS: NPTL is no longer an add-on!
17420 * nptl/internaltypes.h: Moved ...
17421 * sysdeps/nptl/internaltypes.h: ... here.
17422 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
17423 * sysdeps/nptl/fork.c: Likewise.
17424 * sysdeps/nptl/gai_misc.h: Likewise.
17425 * sysdeps/nptl/librt-cancellation.c: Likewise.
17426 * sysdeps/nptl/jmp-unwind.c: Likewise.
17427 * sysdeps/nptl/setxid.h: Likewise.
17428 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
17429 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
17430 * sysdeps/unix/sysv/linux/arm/Implies: New file.
17431 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
17432 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
17433 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
17434 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
17435 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
17436 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
17437 * sysdeps/unix/sysv/linux/mips/Implies: New file.
17438 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
17439 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
17440 * sysdeps/unix/sysv/linux/sh/Implies: New file.
17441 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
17442 * sysdeps/unix/sysv/linux/tile/Implies: New file.
17443 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
17444 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
17445 * nptl/Makeconfig: Moved ...
17446 * sysdeps/nptl/Makeconfig: ... here.
17447 * nptl/configure: File removed.
17448 * nptl/ANNOUNCE: File removed.
17449 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
17450 * sysdeps/unix/sysv/linux/configure: Regenerated.
17451
17452 * nptl/Makefile (routines): Add libc_pthread_init,
17453 libc_multiple_threads, register-atfork and unregister-atfork.
17454 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
17455 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
17456 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
17457 pthread-pi-defines.sym, structsem.sym.
17458 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
17459 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
17460 [$(subdir) = nptl] (tests): Add tst-setgetname.
17461 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
17462 * sysdeps/unix/sysv/linux/sigaction.c: Just include
17463 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
17464 [!LIBC_SIGACTION]: Remove aliases.
17465 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
17466 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
17467 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
17468 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
17469 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
17470 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
17471 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
17472 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
17473 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
17474 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
17475 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
17476 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
17477 __libc_allocate_rtsig_private.
17478 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
17479 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
17480 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
17481 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
17482 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
17483 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
17484 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
17485 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
17486 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
17487 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
17488 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
17489 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
17490 * nptl/internaltypes.h: ... here.
17491 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
17492 * sysdeps/nptl/jmp-unwind.c: ... here.
17493 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
17494 * nptl/libc-lowlevellock.c: ... here.
17495 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
17496 * nptl/libc_multiple_threads.c: ... here.
17497 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
17498 * nptl/libc_pthread_init.c: ... here.
17499 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
17500 * nptl/lowlevelbarrier.sym: ... here.
17501 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
17502 * nptl/lowlevelcond.sym: ... here.
17503 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
17504 * nptl/lowlevellock.c: ... here.
17505 * nptl/lowlevellock.h: Moved ...
17506 * sysdeps/nptl/lowlevellock.h: ... here.
17507 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
17508 * nptl/lowlevelrobustlock.c: ... here.
17509 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
17510 * nptl/lowlevelrobustlock.sym: ... here.
17511 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
17512 * nptl/lowlevelrwlock.sym: ... here.
17513 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
17514 * nptl/pt-fork.c: ... here.
17515 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
17516 * nptl/pthread-pi-defines.sym: ... here.
17517 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
17518 * nptl/pthread_attr_getaffinity.c: ... here.
17519 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
17520 * nptl/pthread_attr_setaffinity.c: ... here.
17521 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
17522 * nptl/pthread_mutex_cond_lock.c: ... here.
17523 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
17524 Update #include.
17525 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
17526 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
17527 * nptl/pthread_once.c: ... here, replacing old file.
17528 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
17529 * nptl/pthread_yield.c: ... here.
17530 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
17531 * nptl/register-atfork.c: ... here.
17532 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
17533 * nptl/sem_post.c: ... here.
17534 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
17535 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
17536 * nptl/sem_timedwait.c: ... here.
17537 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
17538 * nptl/sem_trywait.c: ... here.
17539 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
17540 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
17541 * nptl/sem_wait.c: ... here.
17542 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
17543 * nptl/structsem.sym: ... here.
17544 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
17545 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
17546 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
17547 * nptl/unregister-atfork.c: ... here.
17548 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
17549 * nptl/unwindbuf.sym: ... here.
17550 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
17551 * sysdeps/nptl/fork.c: ... here.
17552 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
17553 * sysdeps/nptl/fork.h: ... here.
17554 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
17555 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
17556 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
17557 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
17558 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
17559 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
17560 * sysdeps/unix/sysv/linux/getpid.c: ... here.
17561 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
17562 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
17563 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
17564 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
17565 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
17566 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
17567 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
17568 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
17569 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
17570 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
17571 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
17572 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
17573 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
17574 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
17575 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
17576 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
17577 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
17578 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
17579 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
17580 * sysdeps/unix/sysv/linux/raise.c: ... here.
17581 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
17582 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
17583 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
17584 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
17585 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
17586 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
17587 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
17588 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
17589 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
17590 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
17591 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
17592 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
17593 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
17594 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
17595 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
17596
17597 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17598
17599 * sysdeps/generic/memcopy.h: Add comment for
17600 MEMCPY_OK_FOR_FWD_MEMMOVE.
17601
17602 2014-07-04 Will Newton <will.newton@linaro.org>
17603
17604 * string/memchr.c: Merge from gnulib.
17605 [_LIBC]: Remove conditionals.
17606 (__ptr_t): Remove define.
17607 (LONG_MAX_32_BITS): Likewise.
17608 (LONG_MAX): Likewise.
17609 (MEMCHR): Use ANSI prototype and optimize algorithm.
17610
17611 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
17612
17613 2014-07-03 Roland McGrath <roland@hack.frob.com>
17614
17615 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
17616 (lll_futex_timed_wait_bitset): Fix syscall argument count.
17617
17618 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
17619 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
17620 in a bare environment with no <stdlib.h> installed.
17621 * sysdeps/nptl/configure: Regenerated.
17622
17623 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
17624
17625 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
17626 AC_EGREP_CPP for kernel header checks, so they only succeed if
17627 including <linux/version.h> actually works right.
17628 * sysdeps/unix/sysv/linux/configure: Regenerated.
17629
17630 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
17631 value so it's not diagnosed as unused.
17632
17633 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
17634 thing) with "ifeq ($(subdir),rt)".
17635
17636 2014-07-03 Richard Henderson <rth@redhat.com>
17637
17638 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
17639 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
17640 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
17641
17642 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
17643 (math_force_eval): New.
17644
17645 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
17646 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
17647
17648 * sysdeps/alpha/fpu/s_round.c: Remove file.
17649 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
17650
17651 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
17652 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
17653 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
17654 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
17655 (_dl_start, print_statistics): Likewise.
17656 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
17657 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
17658
17659 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
17660 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
17661 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
17662 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
17663 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
17664 (HP_SMALL_TIMING_AVAIL): Define.
17665 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
17666 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
17667 (HP_SMALL_TIMING_AVAIL): Define.
17668 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
17669 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
17670
17671 * sysdeps/aarch64/hp-timing.h: New file.
17672
17673 * sysdeps/generic/hp-timing.h: Remove dead comment.
17674 * sysdeps/generic/hp-timing-common.h: New file.
17675 * sysdeps/alpha/hp-timing.h: Include it.
17676 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
17677 * sysdeps/i386/i686/hp-timing.h: Likewise.
17678 * sysdeps/ia64/hp-timing.h: Likewise.
17679 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
17680 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
17681 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
17682 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
17683 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
17684 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
17685 (hp_timing_t): New.
17686
17687 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
17688 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
17689 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
17690 * elf/rtld.c (_dl_start_final): Likewise.
17691 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
17692 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
17693 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
17694 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
17695 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
17696 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
17697 (HP_TIMING_DIFF_INIT): Remove.
17698 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
17699 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
17700 (HP_TIMING_DIFF_INIT): Remove.
17701 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
17702 * sysdeps/i386/i686/hp-timing.c: Remove file.
17703 * sysdeps/x86_64/hp-timing.c: Remove file.
17704 * sysdeps/ia64/hp-timing.c: Remove file.
17705 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
17706 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
17707 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
17708 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
17709
17710 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
17711 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
17712 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
17713 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
17714 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
17715 (HP_TIMING_ACCUM): Remove.
17716 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
17717 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
17718 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
17719
17720 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
17721 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
17722 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
17723 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
17724 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
17725 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
17726 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
17727 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
17728
17729 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
17730
17731 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
17732
17733 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
17734
17735 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17736
17737 Sync up with gettext.
17738 * intl/loadmsgcat.c: Define O_BINARY if not defined.
17739 [_MSC_VER]: Include malloc.h
17740 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
17741 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
17742 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
17743 TEMP_FAILURE_RETRY. Cast return of alloca.
17744 [!_LIBC] Call gl_rwlock_init.
17745 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
17746
17747 2014-07-02 Roland McGrath <roland@hack.frob.com>
17748
17749 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
17750 before checking its value.
17751
17752 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17753
17754 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
17755
17756 * debug/memcpy_chk.c: Don't include pagecopy.h.
17757 * debug/mempcpy_chk.c: Likewise.
17758 * string/memcpy.c: Likewise.
17759 * string/memmove.c: Likewise.
17760 * sysdeps/powerpc/memmove.c: Likewise.
17761 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
17762 definition of PAGE_COPY_FWD_MAYBE here...
17763 * sysdeps/generic/pagecopy.h: ... from here.
17764 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
17765
17766 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
17767 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17768
17769 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
17770 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
17771 optimizations.
17772 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17773 (__libc_ifunc_impl_list): Likewise.
17774 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
17775 multiarch strcat for PPC64.
17776 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
17777 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
17778
17779 2014-07-02 Roland McGrath <roland@hack.frob.com>
17780
17781 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
17782
17783 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17784
17785 * intl/loadmsgcat.c: Remove declaration of
17786 get_sysdep_segment_value.
17787 (get_sysdep_segment_value): Use ISO C style.
17788 (_nl_load_domain): Use ISO C style. Get rid of redundant
17789 semicolon. Fix typo and formatting in comment.
17790 (_nl_unload_domain): Use ISO C style.
17791
17792 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
17793
17794 2014-07-02 Will Newton <will.newton@linaro.org>
17795
17796 * malloc/obstack.c: Merge from gnulib master.
17797 [HAVE_CONFIG_H]: Remove conditional code.
17798 [!_LIBC]: Include config.h.
17799 [!ELIDE_CODE]: Don't include inttypes.h, include
17800 stdint.h unconditionally.
17801 (print_and_abort): Mark as _Noreturn.
17802 (_obstack_allocated_p): Mark as __attribute_pure__.
17803 (obstack_free): Rename to __obstack_free.
17804 [!__attribute__]: Remove conditional code.
17805 * malloc/obstack.h: Merge from gnulib master.
17806 [__cplusplus]: Move conditional down.
17807 [!__attribute_pure__]: Define __attribute_pure__ here
17808 if it is not already defined.
17809 (_obstack_memory_used): Mark as __attribute_pure__.
17810 [!__obstack_free]: Define as obstack_free.
17811 [__GNUC__]: Remove check for ancient NeXT gcc.
17812
17813 2014-07-02 Will Newton <will.newton@linaro.org>
17814 Paul Eggert <eggert@cs.ucla.edu>
17815
17816 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
17817
17818 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17819
17820 * resolv/gethnamaddr.c: Add comment warning that the file is
17821 not maintained.
17822
17823 2014-07-01 Carlos O'Donell <carlos@redhat.com>
17824
17825 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
17826 entries.
17827
17828 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
17829 entry for aio_cancel and aio_cancel64.
17830 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
17831 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
17832 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
17833 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
17834 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
17835 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
17836 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
17837 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
17838 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
17839 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
17840 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
17841 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
17842 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
17843
17844 2014-07-01 Roland McGrath <roland@hack.frob.com>
17845
17846 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
17847 * nptl/pthread_mutex_lock.c: Likewise.
17848 * nptl/pthread_mutex_timedlock.c: Likewise.
17849 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
17850
17851 2014-07-01 Richard henderson <rth@redhat.com>
17852
17853 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
17854 (__isnan, __isnanl): Remove.
17855 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
17856
17857 * sysdeps/alpha/fpu/libm-test-ulps: Update.
17858
17859 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
17860
17861 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17862
17863 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
17864
17865 * resolv/nss_dns/dns-host.c (getanswer_r)
17866 [MULTI_PTRS_ARE_ALIASES]: Remove code.
17867
17868 2014-07-01 Joseph Myers <joseph@codesourcery.com>
17869
17870 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17871 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
17872 undefine.
17873 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
17874 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
17875
17876 2014-07-01 Roland McGrath <roland@hack.frob.com>
17877
17878 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
17879 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
17880
17881 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
17882 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
17883
17884 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
17885 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
17886 ... here.
17887 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
17888 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
17889
17890 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
17891 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
17892 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
17893 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
17894
17895 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
17896 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
17897 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
17898 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
17899 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
17900 Moved ...
17901 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
17902 ... here.
17903 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
17904 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
17905 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
17906 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
17907 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
17908 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
17909 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
17910 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
17911 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
17912 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
17913 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
17914 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
17915 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
17916 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
17917 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
17918 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
17919 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
17920 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
17921 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
17922 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
17923 ... here.
17924 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
17925 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
17926 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
17927 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
17928 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
17929 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
17930 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
17931 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
17932
17933 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
17934
17935 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
17936 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
17937 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
17938 Add sysdep.
17939
17940 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17941
17942 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17943
17944 2014-06-30 Joseph Myers <joseph@codesourcery.com>
17945
17946 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
17947 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17948
17949 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
17950
17951 * sysdeps/arm/libm-test-ulps: Regenerated.
17952
17953 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
17954 Roland McGrath <roland@hack.frob.com>
17955
17956 * test-skeleton.c (signal_handler): Kill the whole process group
17957 before killing the child individually.
17958 (main): Report any failure on `setpgid'.
17959
17960 2014-06-30 Roland McGrath <roland@hack.frob.com>
17961
17962 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
17963 from _TLS_H to _ARM_NPTL_TLS_H.
17964 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
17965 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
17966
17967 2014-06-30 Joseph Myers <joseph@codesourcery.com>
17968
17969 [BZ #16539]
17970 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
17971 (__expm1l): Return argument unchanged when small but not
17972 subnormal.
17973
17974 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
17975 include macro name.
17976 (_FP_UNPACK_RAW_1_P): Likewise.
17977 (_FP_PACK_RAW_1): Likewise.
17978 (_FP_PACK_RAW_1_P): Likewise.
17979 (_FP_MUL_MEAT_1_wide): Likewise.
17980 (_FP_MUL_MEAT_DW_1_hard): Likewise.
17981 (_FP_MUL_MEAT_1_hard): Likewise.
17982 (_FP_DIV_MEAT_1_imm): Likewise.
17983 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
17984 (_FP_DIV_MEAT_1_udiv): Likewise.
17985 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
17986 (_FP_UNPACK_RAW_2): Likewise.
17987 (_FP_UNPACK_RAW_2_P): Likewise.
17988 (_FP_PACK_RAW_2): Likewise.
17989 (_FP_PACK_RAW_2_P): Likewise.
17990 (_FP_MUL_MEAT_DW_2_wide): Likewise.
17991 (_FP_MUL_MEAT_2_wide): Likewise.
17992 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
17993 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
17994 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
17995 (_FP_MUL_MEAT_2_gmp): Likewise.
17996 (_FP_DIV_MEAT_2_udiv): Likewise.
17997 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
17998 (_FP_FRAC_SRL_4): Likewise.
17999 (_FP_FRAC_SRST_4): Likewise.
18000 (_FP_FRAC_SRS_4): Likewise.
18001 (_FP_UNPACK_RAW_4): Likewise.
18002 (_FP_UNPACK_RAW_4_P): Likewise.
18003 (_FP_PACK_RAW_4): Likewise.
18004 (_FP_PACK_RAW_4_P): Likewise.
18005 (_FP_MUL_MEAT_DW_4_wide): Likewise.
18006 (_FP_MUL_MEAT_4_wide): Likewise.
18007 (_FP_MUL_MEAT_4_gmp): Likewise.
18008 (umul_ppppmnnn): Likewise.
18009 (_FP_DIV_MEAT_4_udiv): Likewise.
18010 (__FP_FRAC_ADD_4): Likewise.
18011 (__FP_FRAC_SUB_3): Likewise.
18012 (__FP_FRAC_SUB_4): Likewise.
18013 (__FP_FRAC_DEC_3): Likewise.
18014 (__FP_FRAC_DEC_4): Likewise.
18015 (__FP_FRAC_ADDI_4): Likewise.
18016 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
18017 (_FP_FRAC_SRL_8): Likewise.
18018 (_FP_FRAC_SRS_8): Likewise.
18019
18020 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
18021 include macro name.
18022 (FP_UNPACK_RAW_EP): Likewise.
18023 (FP_PACK_RAW_E): Likewise.
18024 (FP_PACK_RAW_EP): Likewise.
18025 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
18026 (_FP_ISSIGNAN): Likewise.
18027 (_FP_ADD_INTERNAL): Likewise.
18028 (_FP_FMA): Likewise.
18029 (_FP_CMP): Likewise.
18030 (_FP_SQRT): Likewise.
18031 (_FP_TO_INT): Likewise.
18032 (_FP_FROM_INT): Likewise.
18033 (FP_EXTEND): Likewise.
18034 (_FP_DIV_MEAT_N_loop): Likewise.
18035
18036 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
18037
18038 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
18039 throughout.
18040
18041 2014-06-29 Joseph Myers <joseph@codesourcery.com>
18042
18043 [BZ #17097]
18044 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
18045 result with correct sign in case of exponents that produce
18046 overflow except for X very close to 1.
18047
18048 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
18049
18050 mktime: merge #if/#ifdef usage from glibc
18051 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
18052 as that works with both Glibc's and Gnulib's style.
18053 See thread starting at Siddhesh Poyarekar's bug report at:
18054 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
18055
18056 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18057
18058 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
18059 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
18060 * sysdeps/tile/tilegx/memmove.c: Remove file.
18061
18062 2014-06-27 Joseph Myers <joseph@codesourcery.com>
18063
18064 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
18065 abi-name definition.
18066 * scripts/soversions.awk: Do not handle or generate ABI lines.
18067 * shlib-versions: Remove ABI entries.
18068 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
18069 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
18070
18071 2014-06-27 Roland McGrath <roland@hack.frob.com>
18072
18073 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
18074 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
18075 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
18076 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
18077 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
18078 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
18079 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
18080 Moved ...
18081 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
18082 ... here.
18083 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
18084 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
18085 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
18086 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
18087 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
18088 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
18089 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
18090 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
18091 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
18092 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
18093 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
18094 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
18095 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
18096 Moved ...
18097 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
18098 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
18099 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
18100 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
18101 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
18102 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
18103 Moved ...
18104 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
18105 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
18106 Moved ...
18107 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
18108 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
18109 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
18110 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
18111 Moved ...
18112 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
18113 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
18114 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
18115 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
18116 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
18117 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
18118 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
18119 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
18120 Moved ...
18121 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
18122 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
18123 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
18124 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
18125 Moved ...
18126 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
18127 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
18128 Moved ...
18129 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
18130 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
18131 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
18132 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
18133 Moved ...
18134 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
18135 ... here.
18136 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
18137 Identical file removed.
18138 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
18139 Moved ...
18140 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
18141 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
18142 Identical file removed.
18143 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
18144 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
18145 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
18146 Moved ...
18147 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
18148 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
18149 Identical file removed.
18150 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
18151 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
18152 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
18153 Identical file removed.
18154 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
18155 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
18156 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
18157 Identical file removed.
18158 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
18159 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
18160 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
18161 Identical file removed.
18162 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
18163 Moved ...
18164 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
18165 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
18166 Identical file removed.
18167 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
18168 Moved ...
18169 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
18170 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
18171 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
18172 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
18173 Identical file removed.
18174 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
18175 Moved ...
18176 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
18177 ... here.
18178 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
18179 Identical file removed.
18180 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
18181 Moved ...
18182 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
18183 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
18184 Identical file removed.
18185 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
18186 Moved ...
18187 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
18188 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
18189 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
18190 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
18191 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
18192 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
18193 Moved ...
18194 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
18195 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
18196 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
18197
18198 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
18199 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
18200 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
18201 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
18202 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
18203
18204 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
18205
18206 [BZ #17092]
18207 * nscd/nscd.c (monitor_child): Return exit status of child
18208 instead of return value from wait syscall.
18209
18210 2014-06-27 Joseph Myers <joseph@codesourcery.com>
18211
18212 * configure.ac (libc_commonpagesize): Remove variable.
18213 (libc_relro_required): Likewise.
18214 (libc_cv_z_relro): Remove configure test.
18215 * configure: Regenerated.
18216 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
18217 variable.
18218 (libc_relro_required): Likewise.
18219 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
18220 (libc_relro_required): Likewise.
18221 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
18222 (libc_relro_required): Likewise.
18223 * sysdeps/arm/preconfigure: Regenerated.
18224 * sysdeps/ia64/preconfigure: Remove file.
18225 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
18226 variable.
18227 (libc_relro_required): Likewise.
18228
18229 [BZ #16561]
18230 [BZ #16562]
18231 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
18232 (__ieee754_yn): Set FE_TONEAREST mode internally and then
18233 recompute overflowing results in original rounding mode.
18234 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
18235 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
18236 recompute overflowing results in original rounding mode.
18237 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
18238 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
18239 recompute overflowing results in original rounding mode.
18240 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
18241 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
18242 recompute overflowing results in original rounding mode.
18243 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
18244 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
18245 recompute overflowing results in original rounding mode.
18246 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
18247 (libc_feholdsetround_ctx): New macro.
18248 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
18249 * sysdeps/i386/fpu/libm-test-ulps: Update.
18250 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
18251
18252 2014-06-26 Joseph Myers <joseph@codesourcery.com>
18253
18254 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
18255 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
18256 corresponding .cpsetup call.
18257
18258 2014-06-26 Roland McGrath <roland@hack.frob.com>
18259
18260 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
18261 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
18262 * sysdeps/arm/Makefile [$(subdir) = csu]
18263 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
18264 (static-only-routines): Add aeabi_read_tp here.
18265 (shared-only-routines): Add libc-aeabi_read_tp here.
18266 (CFLAGS-libc-start.c): Add -fexceptions here.
18267 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
18268 (sysdep_routines, static-only-routines, shared-only-routines):
18269 Don't add to these here.
18270 (CFLAGS-libc-start.c): Likewise.
18271
18272 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
18273 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
18274 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
18275 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
18276 * sysdeps/arm/Makefile [$(subdir) = rt]
18277 (librt-sysdep_routines, librt-shared-only-routines):
18278 Append rt-aeabi_unwind_cpp_pr1 here.
18279 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
18280 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
18281 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
18282 (libpthread-sysdep_routines, libpthread-shared-only-routines):
18283 Append nptl-aeabi_unwind_cpp_pr1 here.
18284 (tests): Filter out tst-cleanupx4 here.
18285 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
18286 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
18287 Don't do those here.
18288
18289 2014-06-26 Joseph Myers <joseph@codesourcery.com>
18290
18291 * scripts/list-sources.sh: Do not handle ports specially.
18292
18293 2014-06-26 Roland McGrath <roland@hack.frob.com>
18294
18295 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
18296 * sysdeps/arm/feupdateenv.c: Likewise.
18297
18298 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
18299
18300 2014-06-26 Joseph Myers <joseph@codesourcery.com>
18301
18302 * manual/texinfo.tex: Update to version 2014-05-05.10 with
18303 trailing whitespace removed.
18304 * scripts/config.guess: Update to version 2014-03-23.
18305 * scripts/config.sub: Update to version 2014-05-01
18306 * scripts/install-sh: Update to version 2013-12-25.23.
18307 * scripts/move-if-change: Update from gnulib.
18308
18309 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18310
18311 * debug/memmove_chk.c: Remove pagecopy.h include.
18312
18313 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
18314
18315 * time/mktime.c (leapyear): Remove inline keyword. The code is now
18316 identical to gnulib mktime.
18317
18318 2014-06-26 Joseph Myers <joseph@codesourcery.com>
18319
18320 * configure.ac: Do not test for machine being rs6000. Do not test
18321 for powerpc*-*soft.
18322 * configure: Regenerated.
18323
18324 [BZ #11505]
18325 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
18326 test.
18327 * configure: Regenerated.
18328 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
18329 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
18330 Remove configure test.
18331 * sysdeps/arm/configure: Regenerated.
18332 * sysdeps/nptl/configure.ac: Do not check
18333 libc_cv_asm_cfi_directives.
18334 * sysdeps/nptl/configure: Regenerated.
18335 * sysdeps/x86_64/nptl/configure.ac: Remove file.
18336 * sysdeps/x86_64/nptl/configure: Remove generated file.
18337 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
18338 unconditional.
18339 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
18340
18341 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18342
18343 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
18344 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
18345 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
18346 it is defined.
18347
18348 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
18349 instead of whether it is defined.
18350 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
18351 * sysdeps/hppa/dl-machine.h: Likewise.
18352 * sysdeps/ia64/dl-machine.h: Likewise.
18353 * sysdeps/m68k/dl-machine.h: Likewise.
18354 * sysdeps/microblaze/dl-machine.h: Likewise.
18355 * sysdeps/mips/dl-machine.: Likewise.
18356 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
18357 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
18358 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
18359 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
18360 * sysdeps/sh/dl-machine.h: Likewise.
18361 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
18362 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
18363 * sysdeps/tile/dl-machine.h: Likewise.
18364 * sysdeps/x86_64/dl-machine.h: Likewise.
18365
18366 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
18367 code.
18368 (verify_persistent_db): Likewise.
18369
18370 2014-06-26 Roland McGrath <roland@hack.frob.com>
18371
18372 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
18373 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
18374 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
18375 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
18376 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
18377 Moved ...
18378 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
18379 ... here.
18380 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
18381 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
18382 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
18383 Identical file removed.
18384 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
18385 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
18386 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
18387 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
18388 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
18389 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
18390 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
18391 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
18392 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
18393 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
18394 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18395 Moved ...
18396 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
18397 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
18398 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
18399 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
18400 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
18401 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
18402 Moved ...
18403 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
18404 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
18405 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
18406 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
18407 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
18408 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
18409 Identical file removed.
18410 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
18411 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
18412 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
18413 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
18414 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
18415 Moved ...
18416 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
18417 ... here.
18418 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
18419 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
18420 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
18421 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
18422 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
18423 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
18424 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
18425 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
18426 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
18427 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
18428 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18429 Moved ...
18430 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
18431 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
18432 Moved ...
18433 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
18434 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
18435 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
18436 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
18437 Moved ...
18438 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
18439 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
18440 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
18441
18442 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
18443 folded into ...
18444 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
18445 * sysdeps/unix/sysv/linux/s390/Versions
18446 (libpthread: GLIBC_2.19): New version set.
18447 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
18448 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
18449 (librt: GLIBC_2.3.3): New version set.
18450 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
18451 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
18452 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
18453 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
18454 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
18455 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
18456 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
18457 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
18458 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
18459 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
18460 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
18461 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
18462 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
18463 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
18464 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
18465 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
18466 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
18467 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
18468 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
18469 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
18470 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
18471 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
18472 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
18473 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
18474 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
18475 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
18476 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
18477 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
18478 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
18479 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
18480 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
18481 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
18482 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
18483 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
18484 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
18485 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
18486 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
18487 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
18488 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
18489 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
18490 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
18491 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
18492 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
18493 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
18494 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
18495
18496 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
18497 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
18498 (__libc_vfork): Define the function under this name.
18499 [!NOT_IN_libc] (__vfork): Make this an alias.
18500 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
18501 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
18502 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
18503 (__libc_vfork): Define the function under this name.
18504 [!NOT_IN_libc] (__vfork): Make this an alias.
18505 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
18506 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
18507 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
18508 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
18509 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
18510 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
18511
18512 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
18513 code that was previously under [RESET_PID].
18514 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
18515 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
18516 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
18517
18518 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
18519 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
18520 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
18521 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
18522 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
18523 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
18524 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
18525 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
18526 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
18527 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
18528 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
18529 Moved ...
18530 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
18531 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
18532 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
18533 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
18534 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
18535 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
18536 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
18537 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
18538 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
18539 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
18540 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
18541 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
18542 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
18543 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
18544 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
18545 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
18546 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
18547 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
18548 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
18549 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
18550 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
18551 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
18552 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
18553 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
18554 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
18555 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
18556 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
18557 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
18558 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
18559
18560 2014-06-25 Roland McGrath <roland@hack.frob.com>
18561
18562 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
18563 that was previously under [RESET_PID].
18564 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
18565
18566 2014-06-25 Joseph Myers <joseph@codesourcery.com>
18567
18568 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
18569 not undefine and redefine.
18570 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
18571 [O_CLOEXEC]: Make code unconditional.
18572 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
18573 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
18574 <kernel-features.h>.
18575 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
18576 conditional variable definition.
18577 (shm_open) [O_CLOEXEC]: Make code unconditional.
18578 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
18579 code.
18580
18581 * configure.ac (USE_REGPARMS): Don't define here.
18582 * configure: Regenerated.
18583 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
18584 * sysdeps/i386/configure: Regenerated.
18585
18586 * nptl/createthread.c: Don't include kernel-features.h.
18587 * nptl/pthread_cancel.c: Likewise.
18588 * nptl/pthread_condattr_setclock.c: Likewise.
18589 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
18590 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
18591 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
18592 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
18593 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
18594 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
18595 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
18596 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
18597 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
18598 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
18599 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
18600 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
18601 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
18602 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
18603 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
18604 * nscd/gai.c: Likewise.
18605 * nss/nss_db/db-open.c: Likewise.
18606 * sysdeps/generic/ldsodefs.h: Likewise.
18607 * sysdeps/sh/nptl/tls.h: Likewise.
18608 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
18609 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
18610 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
18611 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
18612 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
18613 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
18614 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
18615 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
18616 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
18617 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
18618 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
18619 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
18620 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
18621 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
18622 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
18623 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
18624 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
18625 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
18626 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
18627 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
18628 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
18629 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
18630 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
18631 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
18632 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
18633 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
18634 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
18635 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
18636 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
18637 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
18638 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
18639 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
18640 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
18641 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
18642 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
18643 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
18644 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
18645 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
18646 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
18647 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
18648 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
18649 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
18650 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
18651 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
18652 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
18653 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
18654 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
18655 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
18656 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
18657 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
18658 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
18659 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
18660 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
18661 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
18662 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
18663 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
18664 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
18665 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
18666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
18667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
18668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
18669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
18670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
18671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
18672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
18673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
18674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
18675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
18676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
18677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
18678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
18679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
18680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
18681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
18682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
18683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
18684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
18685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
18686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
18687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
18688 * sysdeps/unix/sysv/linux/pread.c: Likewise.
18689 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
18690 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
18691 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
18692 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
18693 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
18694 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
18695 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
18696 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
18697 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
18698 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
18699 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
18700 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
18701 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
18702 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
18703 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
18704 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
18705 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
18706 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
18707 * sysdeps/unix/sysv/linux/system.c: Likewise.
18708 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
18709 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
18710 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
18711 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
18712 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
18713 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
18714 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
18715
18716 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
18717 * configure: Regenerated.
18718 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
18719
18720 * configure.ac (base_machine): Do not set specially for particular
18721 machines here.
18722 * configure: Regenerated.
18723 * sysdeps/powerpc/preconfigure: Move machine and base_machine
18724 settings from configure.ac.
18725 * sysdeps/i386/preconfigure: New file.
18726 * sysdeps/s390/preconfigure: Likewise.
18727 * sysdeps/sh/preconfigure: Likewise.
18728 * sysdeps/sparc/preconfigure: Likewise.
18729
18730 2014-06-25 Roland McGrath <roland@hack.frob.com>
18731
18732 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
18733 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
18734 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
18735 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
18736 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
18737 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
18738 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
18739 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
18740 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
18741 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
18742 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
18743 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
18744 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
18745 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
18746 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
18747 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
18748 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
18749 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
18750 * sysdeps/sparc/sparc64/Makefile: ... appended here.
18751
18752 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
18753 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
18754 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
18755 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
18756 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
18757 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
18758 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
18759 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
18760 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
18761 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
18762 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
18763 * sysdeps/sparc/sparc32/sem_post.c: ... here.
18764 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
18765 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
18766 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
18767 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
18768 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
18769 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
18770 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
18771 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
18772 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
18773 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
18774 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
18775 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
18776 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
18777 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
18778 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
18779 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
18780 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
18781 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
18782 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
18783 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
18784 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
18785 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
18786 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
18787 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
18788 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
18789 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
18790
18791 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
18792 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
18793 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
18794 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
18795 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
18796 Moved ...
18797 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
18798 ... here.
18799 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
18800 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
18801 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
18802 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
18803 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
18804 Moved ...
18805 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
18806 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
18807 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
18808 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
18809 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
18810 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
18811 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
18812 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
18813 Moved ...
18814 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
18815 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
18816 Moved ...
18817 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
18818 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
18819 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
18820 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
18821 Moved ...
18822 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
18823 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
18824 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
18825 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
18826 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
18827 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
18828 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
18829 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
18830 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
18831 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
18832 Moved ...
18833 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
18834 ... here.
18835 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
18836 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
18837 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
18838 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
18839 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
18840 Moved ...
18841 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
18842 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
18843 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
18844 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
18845 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
18846 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
18847 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
18848 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
18849 Moved ...
18850 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
18851 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
18852 Moved ...
18853 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
18854 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
18855 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
18856 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
18857 Moved ...
18858 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
18859 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
18860 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
18861 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
18862 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
18863
18864 2014-06-25 Joseph Myers <joseph@codesourcery.com>
18865
18866 * timezone/checktab.awk: Update from tzcode 2014e.
18867 * timezone/private.h: Likewise.
18868 * timezone/tzfile.h: Likewise.
18869 * timezone/zdump.c: Likewise.
18870 * timezone/zic.c: Likewise.
18871
18872 * sysdeps/unix/sysv/linux/kernel-features.h
18873 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
18874 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
18875 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
18876 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
18877 Remove conditional code.
18878
18879 2014-06-25 Will Newton <will.newton@linaro.org>
18880
18881 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
18882 (_dl_arm_cap_flags): Add HWCAP2 values.
18883 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
18884 (_DL_HWCAP_COUNT): Increase to 37.
18885 (_DL_HWCAP_LAST): New define.
18886 (_DL_HWCAP2_LAST): New define.
18887 (_dl_procinfo): Add support for printing
18888 AT_HWCAP2 entries.
18889 (_dl_string_hwcap): Use _dl_hwcap_string.
18890
18891 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18892
18893 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18894
18895 2014-06-25 Joseph Myers <joseph@codesourcery.com>
18896
18897 * README: Do not mention ports directory.
18898
18899 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
18900 Remove macro.
18901 * sysdeps/unix/sysv/linux/futimes.c: Do not include
18902 <kernel-features.h>.
18903 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
18904 conditional variable definition.
18905 (__futimes): Update comment.
18906 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
18907 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
18908
18909 [BZ #16560]
18910 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
18911 arguments close to 0.
18912 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
18913 Likewise.
18914 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
18915 Likewise.
18916 * math/auto-libm-test-in: Add more tests of exp10.
18917 * math/auto-libm-test-out: Regenerated.
18918 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18919
18920 * sysdeps/unix/sysv/linux/kernel-features.h
18921 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
18922 * sysdeps/unix/sysv/linux/readv.c: Do not include
18923 <kernel-features.h>.
18924 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
18925 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
18926 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
18927 unconditional.
18928 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
18929 conditional code.
18930 * sysdeps/unix/sysv/linux/writev.c: Do not include
18931 <kernel-features.h>.
18932 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
18933 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
18934 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
18935 unconditional.
18936 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
18937 conditional code.
18938
18939 2014-06-25 Will Newton <will.newton@linaro.org>
18940
18941 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
18942 comment changes throughout the file. Remove checks
18943 for HAVE_*_H definitions that are not required.
18944 (__gen_tempname): Call abort if an unknown kind value is
18945 passed.
18946
18947 2014-06-25 Andreas Schwab <schwab@suse.de>
18948
18949 [BZ #17086]
18950 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
18951 scalbln, scalblnf, scalblnl in libc.
18952
18953 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18954
18955 [BZ #17086]
18956 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
18957 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
18958 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
18959
18960 2014-06-24 Roland McGrath <roland@hack.frob.com>
18961
18962 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
18963 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
18964 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
18965 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
18966 Update #include.
18967 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
18968 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
18969 Update #include.
18970 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
18971 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
18972 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
18973 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
18974 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
18975 * sysdeps/x86/bits/pthreadtypes.h: ... here.
18976 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
18977 * sysdeps/x86/bits/semaphore.h: ... here.
18978 * sysdeps/x86/nptl/elide.h: Moved ...
18979 * sysdeps/x86/elide.h: ... here.
18980 * sysdeps/x86_64/nptl/Implies: File removed.
18981 * sysdeps/i386/nptl/Implies: File removed.
18982
18983 2014-06-24 Joseph Myers <joseph@codesourcery.com>
18984
18985 [BZ #16539]
18986 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
18987 return the argument for normal arguments with exponent below -64.
18988 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
18989 Likewise.
18990 * math/auto-libm-test-in: Add another test of expm1.
18991 * math/auto-libm-test-out: Regenerated.
18992
18993 [BZ #16287]
18994 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
18995 calling __erfcl for arguments at least 16.
18996 * math/auto-libm-test-in: Add more tests of erf.
18997 * math/auto-libm-test-out: Regenerated.
18998
18999 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
19000 individual architectures.
19001 * sysdeps/unix/sysv/linux/configure: Regenerated.
19002 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
19003 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
19004 * sysdeps/unix/sysv/linux/powerpc/configure.ac
19005 (ldd_rewrite_script): Define variable.
19006 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
19007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
19008 file.
19009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
19010 generated file.
19011 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
19012 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
19013 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
19014 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
19015 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
19016 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
19017 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
19018 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
19019
19020 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
19021
19022 [BZ #17084]
19023 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
19024 Rename member __data.d to __data.__elision_data.
19025
19026 2014-06-24 Wilco <wdijkstr@arm.com>
19027
19028 * NEWS: Add 16918 to fixed bug list.
19029
19030 2014-06-24 Wilco <wdijkstr@arm.com>
19031
19032 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
19033
19034 2014-06-24 Wilco <wdijkstr@arm.com>
19035
19036 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
19037 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
19038 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
19039 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
19040 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
19041 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
19042 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
19043 Use _FPU_MASK_RM.
19044
19045 2014-06-24 Wilco <wdijkstr@arm.com>
19046
19047 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
19048
19049 2014-06-24 Wilco <wdijkstr@arm.com>
19050
19051 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
19052 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
19053 * sysdeps/arm/fesetround.c (fesetround): Remove space.
19054 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
19055
19056 2014-06-24 Wilco <wdijkstr@arm.com>
19057
19058 [BZ #16918]
19059 * sysdeps/arm/feupdateenv.c (feupdateenv):
19060 Rewrite to reduce FPSCR accesses and fix return value.
19061
19062 2014-06-24 Wilco <wdijkstr@arm.com>
19063
19064 * sysdeps/arm/fclrexcpt.c (feclearexcept):
19065 Optimize to avoid unnecessary FPSCR writes.
19066 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
19067 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
19068 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
19069 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
19070
19071 2014-06-24 Wilco <wdijkstr@arm.com>
19072
19073 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
19074 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
19075 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
19076 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
19077 Call libc_fetestexcept_vfp.
19078 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
19079 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
19080 __SOFTFP__ ifdef so that they can be built for softfp.
19081
19082 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
19083
19084 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
19085 argument type signed char.
19086
19087 * Makerules (check-abi): Dump diff of symlist if the test
19088 fails.
19089
19090 2014-06-23 Roland McGrath <roland@hack.frob.com>
19091
19092 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
19093 using abort.
19094
19095 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
19096 Remove unused variable ST.
19097
19098 2014-06-23 Joseph Myers <joseph@codesourcery.com>
19099
19100 [BZ #16354]
19101 [BZ #17061]
19102 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
19103 small arguments before calling __expm1.
19104 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
19105 small arguments before calling __expm1f.
19106 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
19107 small arguments before calling __expm1l.
19108 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
19109 Likewise.
19110 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
19111 * math/auto-libm-test-in: Add more cosh tests. Do not allow
19112 spurious underflow for some cosh tests.
19113 * math/auto-libm-test-out: Regenerated.
19114 * sysdeps/i386/fpu/libm-test-ulps: Update.
19115
19116 [BZ #17050]
19117 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
19118 (__ieee754_y1): Set errno if return value overflows.
19119 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
19120 (__ieee754_y1f): Set errno if return value overflows.
19121 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
19122 (__ieee754_y1l): Set errno if return value overflows.
19123 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
19124 (__ieee754_y1l): Set errno if return value overflows.
19125 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
19126 * math/auto-libm-test-out: Regenerated.
19127
19128 * math/gen-auto-libm-tests.c: Document use of
19129 ignore-zero-inf-sign.
19130 (input_flag_type): Add value flag_ignore_zero_inf_sign.
19131 (input_flags): Add ignore-zero-inf-sign.
19132 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
19133 * math/gen-libm-test.pl (generate_testfile): Handle
19134 ignore-zero-inf-sign.
19135 * math/auto-libm-test-in: Mark some cpow tests with
19136 ignore-zero-inf-sign and some with xfail-rounding.
19137 * math/auto-libm-test-out: Regenerated.
19138 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
19139 * sysdeps/i386/fpu/libm-test-ulps: Update.
19140 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19141
19142 [BZ #16315]
19143 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
19144 overflowing or underflowing operations take place with sign of
19145 result.
19146 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
19147 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
19148 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
19149 (__ieee754_pow): Recompute overflowing and underflowing results in
19150 original rounding mode.
19151 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
19152 (__powl_helper): Allow negative argument X and scale negated value
19153 as needed. Avoid passing value outside [-1, 1] to f2xm1.
19154 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
19155 overflowing or underflowing operations take place with sign of
19156 result.
19157 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
19158 Include <math.h>.
19159 * math/auto-libm-test-in: Add more tests of pow.
19160 * math/auto-libm-test-out: Regenerated.
19161 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
19162 (pow_tonearest_test_data): Remove.
19163 (pow_test_tonearest): Likewise.
19164 (pow_towardzero_test_data): Likewise.
19165 (pow_test_towardzero): Likewise.
19166 (pow_downward_test_data): Likewise.
19167 (pow_test_downward): Likewise.
19168 (pow_upward_test_data): Likewise.
19169 (pow_test_upward): Likewise.
19170 (main): Don't call removed functions.
19171 * sysdeps/i386/fpu/libm-test-ulps: Update.
19172 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19173
19174 2014-06-23 Roland McGrath <roland@hack.frob.com>
19175
19176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
19177 Moved ...
19178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
19179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19180 Moved ...
19181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
19182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
19183 Moved ...
19184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
19185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
19186 Moved ...
19187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
19188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
19189 File removed.
19190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
19191 File removed.
19192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
19193 File removed.
19194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
19195 File removed.
19196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
19197 File removed.
19198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
19199 File removed.
19200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
19201 File removed.
19202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
19203 File removed.
19204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
19205 File removed.
19206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
19207 File removed.
19208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
19209 File removed.
19210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
19211 File removed.
19212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
19213 Moved ...
19214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
19215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
19216 Moved ...
19217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
19218 ... here.
19219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
19220 Moved ...
19221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
19222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
19223 Moved ...
19224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
19225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
19226 Moved ...
19227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
19228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
19229 Moved ...
19230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
19231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
19232 Moved ...
19233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
19234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
19235 Moved ...
19236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
19237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
19238 Moved ...
19239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
19240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
19241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
19242 ... here.
19243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
19244 Moved ...
19245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
19246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
19247 Moved ...
19248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
19249 ... here.
19250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
19251 Moved ...
19252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
19253 ... here.
19254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
19255 Moved ...
19256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
19257 ... here.
19258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
19259 Moved ...
19260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
19261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
19262 Moved ...
19263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
19264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
19265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
19266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
19267 Moved ...
19268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
19269 ... here.
19270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
19271 Moved ...
19272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
19273 ... here.
19274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
19275 Moved ...
19276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
19277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
19278 Moved ...
19279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
19280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
19281 Moved ...
19282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
19283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19284 Moved ...
19285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
19286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
19287 Moved ...
19288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
19289 ... here.
19290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
19291 Moved ...
19292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
19293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
19294 Moved ...
19295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
19296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
19297 Moved ...
19298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
19299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
19300 Moved ...
19301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
19302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
19303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
19304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
19305 Moved ...
19306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
19307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
19308 Moved ...
19309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
19310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
19311 Moved ...
19312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
19313 ... here.
19314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19315 Moved ...
19316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
19317 ... here.
19318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
19319 Moved ...
19320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
19321 ... here.
19322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
19323 Moved ...
19324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
19325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
19326 Moved ...
19327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
19328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
19329 Moved ...
19330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
19331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
19332 Moved ...
19333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
19334 ... here.
19335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
19336 Moved ...
19337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
19338 ... here.
19339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
19340 Moved ...
19341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
19342 ... here.
19343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
19344 Moved ...
19345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
19346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
19347 Moved ...
19348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
19349
19350 2014-06-23 Will Newton <will.newton@linaro.org>
19351 Wilco <wdijkstr@arm.com>
19352
19353 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
19354 implementation. Include get-rounding-mode.h.
19355 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
19356 [!libc_feholdsetround_noex_ctx]: Define
19357 libc_feholdsetround_noex_ctx.
19358 [!libc_feholdsetround_noexf_ctx]: Define
19359 libc_feholdsetround_noexf_ctx.
19360 [!libc_feholdsetround_noexl_ctx]: Define
19361 libc_feholdsetround_noexl_ctx.
19362 (libc_feholdsetround_ctx): New function.
19363 (libc_feresetround_ctx): New function.
19364 (libc_feholdsetround_noex_ctx): New function.
19365 (libc_feresetround_noex_ctx): New function.
19366
19367 2014-06-23 Roland McGrath <roland@hack.frob.com>
19368
19369 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
19370 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
19371 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
19372 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
19373 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
19374 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
19375
19376 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
19377 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
19378 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
19379 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
19380 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
19381 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
19382 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
19383 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
19384 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
19385 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
19386 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
19387 Moved ...
19388 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
19389 ... here.
19390 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
19391 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
19392 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
19393 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
19394 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
19395 Moved ...
19396 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
19397 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
19398 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
19399 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
19400 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
19401 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
19402 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
19403 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
19404 Moved ...
19405 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
19406 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
19407 Moved ...
19408 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
19409 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
19410 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
19411 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
19412 Moved ...
19413 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
19414 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
19415 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
19416 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
19417 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
19418 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
19419 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
19420 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
19421 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
19422 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
19423 Moved ...
19424 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
19425 ... here.
19426 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
19427 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
19428 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
19429 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
19430 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
19431 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
19432 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
19433 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
19434 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
19435 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
19436 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
19437 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
19438 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
19439 Moved ...
19440 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
19441 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
19442 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
19443 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
19444 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
19445 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
19446 Moved ...
19447 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
19448 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
19449 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
19450 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
19451 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
19452
19453 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
19454 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
19455 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
19456 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
19457 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
19458 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
19459 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
19460 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
19461 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
19462 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
19463 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
19464 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
19465 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
19466 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
19467 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
19468 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
19469 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
19470 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
19471 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
19472 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
19473 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
19474 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
19475 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
19476 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
19477 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
19478 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
19479 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
19480 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
19481
19482 2014-06-23 Joseph Myers <joseph@codesourcery.com>
19483
19484 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
19485 (FALLOC_FL_COLLAPSE_RANGE): New macro.
19486 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
19487 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
19488 (IPV6_PMTUDISC_INTERFACE): Likewise.
19489 (IPV6_PMTUDISC_OMIT): Likewise.
19490
19491 2014-06-23 Andreas Schwab <schwab@suse.de>
19492
19493 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
19494 Remove unused errout label.
19495
19496 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19497
19498 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
19499 macro: hardware supports Vector Crypto instructions.
19500
19501 2014-06-23 Will Newton <will.newton@linaro.org>
19502
19503 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
19504 rather than __builtin_expect.
19505
19506 * elf/dl-lookup.c (undefined_msg): Remove variable.
19507 (_dl_lookup_symbol_x): Replace undefined_msg with string
19508 literal.
19509
19510 * elf/dl-lookup.c (do_lookup_unique): New function.
19511 (do_lookup_x): Move STB_GNU_UNIQUE handling code
19512 to a separate function.
19513
19514 2014-06-23 Andreas Schwab <schwab@suse.de>
19515
19516 [BZ #17079]
19517 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
19518 before reading the next line.
19519
19520 2014-06-23 Will Newton <will.newton@linaro.org>
19521
19522 * test-skeleton.c (signal_handler): Use printf and %m
19523 rather than perror. Use printf rather than fprintf to
19524 stderr. Use puts rather than fputs to stderr.
19525 (main): Likewise.
19526
19527 2014-06-22 Ludovic Courtès <ludo@gnu.org>
19528
19529 * nscd/nscd.c (thread_info_t): Remove typedef.
19530 (thread_info): Remove variable.
19531
19532 2014-06-21 Allan McRae <allan@archlinux.org>
19533
19534 * NEWS: Mention CVE-2014-4043.
19535
19536 2014-06-20 Roland McGrath <roland@hack.frob.com>
19537
19538 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
19539 * nptl/smp.h: ... here.
19540
19541 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
19542
19543 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
19544 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
19545 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
19546 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
19547
19548 * nptl/allocatestack.c: Include <stack-aliasing.h>.
19549 * nptl/stack-aliasing.h: New file.
19550 * sysdeps/i386/i686/stack-aliasing.h: New file.
19551 * sysdeps/i386/i686/nptl/Makefile: File removed.
19552 * sysdeps/x86_64/stack-aliasing.h: New file.
19553 * sysdeps/x86_64/nptl/Makefile
19554 (CFLAGS-pthread_create.c): Variable removed.
19555
19556 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
19557 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
19558 old file.
19559 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
19560 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
19561 old file.
19562
19563 2014-06-21 Joseph Myers <joseph@codesourcery.com>
19564
19565 * sysdeps/unix/sysv/linux/arm/kernel-features.h
19566 (__ASSUME_SIGFRAME_V2): Remove macro.
19567 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
19568 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
19569 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
19570 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
19571 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
19572 Declare as function. Remove conditional macro definitions.
19573 (__default_rt_sa_restorer): Likewise.
19574 (__default_sa_restorer_v1): Remove declaration.
19575 (__default_sa_restorer_v2): Likewise.
19576 (__default_rt_sa_restorer_v1): Likewise.
19577 (__default_rt_sa_restorer_v2): Likewise.
19578 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
19579 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
19580 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
19581
19582 2014-06-20 Roland McGrath <roland@hack.frob.com>
19583
19584 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
19585 (libpthread-routines): Add sysdep.
19586 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
19587 * sysdeps/unix/sysv/linux/sparc/Versions
19588 (libpthread: GLIBC_2.3.3): New version set.
19589 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
19590 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
19591 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
19592 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
19593 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
19594 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
19595 Moved ...
19596 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
19597 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
19598 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
19599 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
19600 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
19601 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
19602 * sysdeps/sparc/nptl/sem_init.c: ... here.
19603 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
19604 * sysdeps/sparc/nptl/sem_post.c: ... here.
19605 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
19606 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
19607 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
19608 * sysdeps/sparc/nptl/sem_wait.c: ... here.
19609 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
19610 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
19611 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
19612 (libpthread-routines): Add cpu_relax.
19613 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
19614 File removed.
19615 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
19616 (librt: GLIBC_2.3.3): New version set.
19617 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
19618 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
19619 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
19620 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
19621 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
19622 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
19623 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
19624 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
19625 Moved ...
19626 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
19627 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
19628 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
19629 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
19630 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
19631 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
19632 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
19633 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
19634 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
19635 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
19636 Moved ...
19637 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
19638 Update #include.
19639 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
19640 Moved ...
19641 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
19642 Update #include.
19643 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
19644 Moved ...
19645 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
19646 Update #include.
19647 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
19648 Moved ...
19649 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
19650 Update #include.
19651 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
19652 Moved ...
19653 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
19654 Update #include.
19655 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
19656 Moved ...
19657 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
19658 Update #include.
19659 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
19660 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
19661 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
19662 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
19663 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
19664 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
19665 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
19666 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
19667 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
19668 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
19669 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
19670 Moved ...
19671 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
19672 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
19673 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
19674 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
19675 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
19676
19677 2014-06-20 Joseph Myers <joseph@codesourcery.com>
19678
19679 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
19680 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
19681 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
19682 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
19683 * nscd/nscd.c: Likewise.
19684 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
19685 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
19686 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
19687 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
19688
19689 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
19690 <kernel-features.h>.
19691 (init_mq_netlink): Remove conditional have_sock_cloexec
19692 definitions. Remove code conditional on have_sock_cloexec < 0.
19693 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
19694 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
19695 * sysdeps/unix/sysv/linux/opensock.c: Do not include
19696 <kernel-features.h>.
19697 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
19698 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
19699
19700 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
19701
19702 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19703 Add tests for memset_chk and memset.
19704
19705 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
19706 with AVX2_Usable.
19707
19708 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
19709
19710 [BZ #16046]
19711 * elf/tst-dl-iter-static.c: New file.
19712 * elf/Makefile (tests-static): Add tst-dl-iter-static.
19713
19714 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
19715 error.
19716
19717 2014-06-20 Joseph Myers <joseph@codesourcery.com>
19718
19719 * sysdeps/unix/sysv/linux/kernel-features.h
19720 (__ASSUME_F_GETOWN_EX): Remove macro.
19721 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
19722 <kernel-features.h>.
19723 (miss_F_GETOWN_EX): Remove variable or macro.
19724 (do_fcntl): Do not check miss_F_GETOWN_EX.
19725 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
19726
19727 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
19728 Remove macro.
19729 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
19730 [!__ASSUME_AT_RANDOM]: Remove conditional code.
19731 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
19732
19733 * sysdeps/unix/sysv/linux/kernel-features.h
19734 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
19735 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
19736 [ADJ_OFFSET_SS_READ]: Make code unconditional.
19737 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
19738
19739 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
19740
19741 [BZ #17075]
19742 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
19743 Fix calculation of the symbol's value.
19744 * sysdeps/arm/tst-armtlsdescloc.c: New file.
19745 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
19746 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
19747 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
19748 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
19749 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
19750 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
19751 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
19752 (modules-names): Add `tst-armtlsdescmod',
19753 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
19754 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
19755 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
19756 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
19757 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
19758 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
19759 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
19760 ($(objpfx)tst-armtlsdescloc): New dependency.
19761 ($(objpfx)tst-armtlsdescextnow): Likewise.
19762 ($(objpfx)tst-armtlsdescextlazy): Likewise.
19763 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
19764 TLS scheme support.
19765 * sysdeps/arm/configure: Regenerate.
19766
19767 2014-06-20 Joseph Myers <joseph@codesourcery.com>
19768
19769 * include/fcntl.h (__atfct_seterrno): Remove prototype.
19770 (__atfct_seterrno_2): Likewise.
19771 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
19772 <kernel-features.h>.
19773 (__ASSUME_ATFCTS): Do not undefine and redefine.
19774 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
19775 (__have_atfcts): Remove conditional definition.
19776 (__fxstatat([__NR_fstatat64]: Make code unconditional.
19777 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
19778 unreachable if [__ASSUME_ATFCTS].
19779 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
19780 not undefine and redefine.
19781 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
19782 <kernel-features.h>.
19783 (faccessat) [__NR_faccessat]: Make code unconditional.
19784 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
19785 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
19786 <kernel-features.h>.
19787 (fchmodat) [__NR_fchmodat]: Make code unconditional.
19788 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
19789 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
19790 <kernel-features.h>.
19791 (fchownat) [__NR_fchownat]: Make code unconditional.
19792 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
19793 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
19794 <kernel-features.h>.
19795 (futimesat) [__NR_futimesat]: Make code unconditional.
19796 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
19797 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
19798 <kernel-features.h>.
19799 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
19800 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
19801 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
19802 <kernel-features.h>.
19803 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
19804 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
19805 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
19806 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
19807 <kernel-features.h>.
19808 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
19809 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
19810 * sysdeps/unix/sysv/linux/linkat.c: Do not include
19811 <kernel-features.h>.
19812 (linkat) [__NR_linkat]: Make code unconditional.
19813 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
19814 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
19815 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
19816 <kernel-features.h>.
19817 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
19818 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
19819 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
19820 <kernel-features.h>.
19821 (mkdirat) [__NR_mkdirat]: Make code unconditional.
19822 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
19823 * sysdeps/unix/sysv/linux/openat.c: Do not include
19824 <kernel-features.h>.
19825 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
19826 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
19827 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
19828 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
19829 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
19830 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
19831 <kernel-features.h>.
19832 (readlinkat) [__NR_readlinkat]: Make code unconditional.
19833 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
19834 result of INLINE_SYSCALL directly, not via int variable.
19835 * sysdeps/unix/sysv/linux/renameat.c: Do not include
19836 <kernel-features.h>.
19837 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
19838 (renameat) [__NR_renameat]: Make code unconditional.
19839 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
19840 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
19841 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
19842 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
19843 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
19844 (__ASSUME_ATFCTS): Do not undefine and redefine.
19845 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
19846 <kernel-features.h>.
19847 (symlinkat) [__NR_symlinkat]: Make code unconditional.
19848 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
19849 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
19850 <kernel-features.h>.
19851 (unlinkat) [__NR_unlinkat]: Make code unconditional.
19852 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
19853 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
19854 (__ASSUME_ATFCTS): Do not undefine and redefine.
19855 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
19856 <kernel-features.h>.
19857 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
19858 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
19859 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
19860 <kernel-features.h>.
19861 (__xmknodat) [__NR_mknodat]: Make code unconditional.
19862 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
19863
19864 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
19865
19866 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
19867
19868 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
19869
19870 [BZ #17069]
19871 * posix/regcomp.c (parse_reg_exp): Deallocate partially
19872 constructed tree before returning error.
19873 * posix/bug-regexp36.c: Expand test case.
19874
19875 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
19876
19877 [BZ #6803]
19878 * math/libm-test.inc (scalbln_test_date):
19879 Add errno expectations.
19880 * math/w_scalblnf.c: New File.
19881 Add wrapper which checks for setting errno to ERANGE.
19882 Add weak_alias for corresponding scalbln function.
19883 * math/w_scalbln.c: Likewise.
19884 * math/w_scalblnl.c: Likewise.
19885 * math/Makefile (libm-calls): Add w_scalbln.
19886 * sysdeps/ieee754/flt-32/s_scalblnf.c:
19887 Remove weak_alias for corresponding scalbln function.
19888 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
19889 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
19890 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
19891 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19892 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
19893 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
19894 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
19895 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
19896 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
19897 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
19898 Remove long_double_symbol for scalblnl function in libm, libc.
19899 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
19900 Add wrapper which checks for setting errno to ERANGE.
19901 Add long_double_symbol for scalblnl function in libm, libc.
19902 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
19903 Remove long_double_symbol for scalblnl in libm.
19904 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
19905 Add wrapper which checks for setting errno to ERANGE.
19906 Add long_double_symbol for scalblnl function in libm.
19907 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
19908 Do not use wrapper because of own implementation.
19909
19910 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
19911
19912 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
19913 3 bytes for __pad1 for x32.
19914 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
19915
19916 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
19917 H.J. Lu <hongjiu.lu@intel.com>
19918
19919 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
19920 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
19921 * sysdeps/x86_64/multiarch/memset.S: Likewise.
19922 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19923 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
19924
19925 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
19926
19927 [BZ #17069]
19928 * posix/regcomp.c (parse_expression): Deallocate partially
19929 constructed tree before returning error.
19930 * posix/Makefile.c (tests): Add bug-regex36.
19931 (generated): Add bug-regex36.mtrace.
19932 (tests-special): Add $(objpfx)bug-regex36-mem.out
19933 (bug-regex36-ENV): New variable.
19934 ($(objpfx)bug-regex36-mem.out): New rule.
19935 * posix/bug-regex36.c: New file.
19936
19937 2014-06-19 Will Newton <will.newton@linaro.org>
19938
19939 * malloc/malloc.c (systrim): If extra is zero then return
19940 early.
19941
19942 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19943
19944 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
19945
19946 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
19947
19948 * sysdeps/aarch64/strchr.S: New file.
19949
19950 2014-06-18 Joseph Myers <joseph@codesourcery.com>
19951
19952 [BZ #17022]
19953 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
19954 from arguments -2 or below.
19955 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
19956 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
19957
19958 2014-06-18 Andreas Schwab <schwab@suse.de>
19959
19960 [BZ #17062]
19961 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
19962 of a bracket expr not to run off the end of the string.
19963 * posix/Makefile (tests): Add tst-fnmatch3.
19964 * posix/tst-fnmatch3.c: New file.
19965
19966 2014-06-18 Joseph Myers <joseph@codesourcery.com>
19967
19968 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
19969 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
19970 [$(cross-compiling) = no]: Likewise.
19971 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
19972 [$(cross-compiling) = no]: Likewise.
19973
19974 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19975
19976 [BZ #17031]
19977 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
19978 double, adjusted for any remainder from the high double.
19979 * math/libm-test.inc (nearbyint): Add tests.
19980 (rint): Likewise.
19981
19982 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19983
19984 * nptl/sysdeps/powerpc/Makefile: Moved ...
19985 * sysdeps/powerpc/nptl/Makefile: ... here.
19986 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
19987 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
19988 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
19989 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
19990 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
19991 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
19992 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
19993 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
19994 * nptl/sysdeps/powerpc/tls.h: Moved ...
19995 * sysdeps/powerpc/nptl/tls.h: ... here.
19996
19997 2014-06-16 Joseph Myers <joseph@codesourcery.com>
19998
19999 [BZ #16681]
20000 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
20001 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
20002 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
20003 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
20004 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
20005 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
20006 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
20007 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
20008 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
20009
20010 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
20011
20012 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
20013
20014 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
20015
20016 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
20017 defined operator.
20018
20019 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
20020 $TIMEOUTFACTOR.
20021
20022 2014-06-16 Florian Weimer <fweimer@redhat.com>
20023
20024 [BZ #17058]
20025 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
20026 non-executed part of the test.
20027
20028 2014-06-16 Andreas Schwab <schwab@suse.de>
20029
20030 * string/bits/string2.h (strdup, strndup): Update feature guard.
20031
20032 2014-06-14 David S. Miller <davem@davemloft.net>
20033
20034 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20035
20036 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
20037
20038 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
20039 that was previously under [RESET_PID].
20040 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
20041
20042 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
20043 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
20044 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
20045 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
20046 (__libc_vfork): New strong alias.
20047 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
20048
20049 2014-06-14 Andi Kleen <ak@linux.intel.com>
20050
20051 * sysdeps/generic/elide.h: New file.
20052
20053 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
20054
20055 * Makefile (installed-headers): Adjust path of pthread.h header.
20056
20057 2014-06-13 Roland McGrath <roland@hack.frob.com>
20058
20059 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
20060 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
20061 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
20062 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
20063
20064 * nptl/sysdeps/s390/Makefile: Moved ...
20065 * sysdeps/s390/nptl/Makefile: ... here.
20066 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
20067 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
20068 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
20069 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
20070 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
20071 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
20072 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
20073 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
20074 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
20075 * sysdeps/s390/nptl/pthreaddef.h: ... here.
20076 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
20077 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
20078 * nptl/sysdeps/s390/tls.h: Moved ...
20079 * sysdeps/s390/nptl/tls.h: ... here.
20080
20081 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
20082 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
20083
20084 2014-06-13 David S. Miller <davem@davemloft.net>
20085
20086 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
20087 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
20088 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
20089 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
20090 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
20091 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
20092 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
20093 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
20094 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
20095 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
20096 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
20097 Remove RESET_PID cpp guards.
20098 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
20099 Remove RESET_PID cpp guards.
20100 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
20101
20102 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
20103
20104 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
20105 __sp to uintptr_t.
20106
20107 2014-06-13 Andi Kleen <ak@linux.intel.com>
20108
20109 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
20110 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
20111 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
20112 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
20113 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
20114 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
20115 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
20116 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
20117 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
20118 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
20119 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
20120 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
20121 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
20122 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
20123 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
20124 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
20125 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
20126 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
20127 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
20128 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
20129
20130 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
20131 (pthread_rwlock_rdlock): Add elision.
20132 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
20133 (pthread_rwlock_wrlock): Add elision.
20134 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
20135 (pthread_rwlock_trywrlock): Add elision.
20136 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
20137 (pthread_rwlock_tryrdlock): Add elision.
20138 * nptl/pthread_rwlock_unlock.c: Include elide.h.
20139 (pthread_rwlock_tryrdlock): Add elision unlock.
20140 * nptl/sysdeps/pthread/pthread.h:
20141 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
20142 (PTHREAD_RWLOCK_INITIALIZER,
20143 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
20144 Handle new elision field.
20145 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
20146 * sysdeps/arm/nptl/bits/pthreadtypes.h
20147 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20148 * sysdeps/sh/nptl/bits/pthreadtypes.h
20149 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20150 * sysdeps/tile/nptl/bits/pthreadtypes.h
20151 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20152 * sysdeps/a/nptl/bits/pthreadtypes.h
20153 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20154 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
20155 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20156 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
20157 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20158 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
20159 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20160 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
20161 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20162 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
20163 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20164 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
20165 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20166 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
20167 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20168 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
20169 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20170 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
20171 (elision_init): Set try_xbegin to zero when no RTM.
20172 * sysdeps/x86/nptl/bits/pthreadtypes.h
20173 (pthread_rwlock_t): Change __pad1 to __rwelision.
20174 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20175
20176 2014-06-13 Andi Kleen <ak@linux.intel.com>
20177
20178 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
20179 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
20180 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
20181 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
20182
20183 2014-06-13 Meador Inge <meadori@codesourcery.com>
20184
20185 [BZ #16996]
20186 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
20187 that the cached result has been set before returning it.
20188
20189 2014-06-12 Roland McGrath <roland@hack.frob.com>
20190
20191 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
20192 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
20193 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
20194 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
20195 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
20196 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
20197
20198 * nptl/sysdeps/sparc/Makefile: Moved ...
20199 * sysdeps/sparc/nptl/Makefile: ... here.
20200 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
20201 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
20202 * nptl/sysdeps/sparc/tls.h: Moved ...
20203 * sysdeps/sparc/nptl/tls.h: ... here.
20204 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
20205 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
20206 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
20207 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
20208 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
20209 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
20210 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
20211 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
20212 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
20213 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
20214 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
20215 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
20216 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
20217 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
20218 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
20219 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
20220 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
20221 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
20222 Update #include.
20223 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
20224 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
20225 Update #include.
20226 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
20227 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
20228 Update #include.
20229 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
20230 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
20231 Update #include.
20232
20233 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
20234
20235 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
20236 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
20237
20238 * sysdeps/pthread/posix-timer.h: Include <list.h>.
20239 (struct list_links): Type removed.
20240 (struct thread_node, struct timer_node): Replace struct list_links
20241 with struct list_head.
20242 (list_unlink_ip): Likewise.
20243 * sysdeps/pthread/timer_routines.c
20244 (timer_free_list, thread_free_list, thread_active_list): Likewise.
20245 (list_append, list_insbefore): Likewise.
20246 (list_init): Function removed.
20247 (thread_init, init_module): Use INIT_LIST_HEAD instead.
20248 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
20249 * sysdeps/pthread/Makefile: ... here, new file.
20250
20251 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
20252 * sysdeps/nptl/Implies: ... here.
20253 * sysdeps/unix/sysv/linux/Implies: Add nptl.
20254 * nptl/sysdeps/pthread/list.h: Moved ...
20255 * include/list.h: ... here.
20256 * nptl/sysdeps/pthread/createthread.c: Moved ...
20257 * nptl/createthread.c: ... here.
20258 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
20259 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
20260 * nptl/pt-longjmp.c: ... here.
20261 * nptl/sysdeps/pthread/Makefile: Moved ...
20262 * sysdeps/nptl/Makefile: ... here.
20263 * nptl/sysdeps/pthread/Subdirs: Moved ...
20264 * sysdeps/nptl/Subdirs: ... here.
20265 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
20266 * sysdeps/nptl/aio_misc.h: ... here.
20267 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
20268 * sysdeps/nptl/bits/libc-lock.h: ... here.
20269 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
20270 * sysdeps/nptl/bits/libc-lockP.h: ... here.
20271 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
20272 * sysdeps/nptl/bits/stdio-lock.h: ... here.
20273 * nptl/sysdeps/pthread/configure: Moved ...
20274 * sysdeps/nptl/configure: ... here.
20275 * nptl/sysdeps/pthread/configure.ac: Moved ...
20276 * sysdeps/nptl/configure.ac: ... here.
20277 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
20278 * sysdeps/nptl/gai_misc.h: ... here.
20279 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
20280 * sysdeps/nptl/librt-cancellation.c: ... here.
20281 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
20282 * sysdeps/nptl/malloc-machine.h: ... here.
20283 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
20284 * sysdeps/nptl/pthread-functions.h: ... here.
20285 * nptl/sysdeps/pthread/pthread.h: Moved ...
20286 * sysdeps/nptl/pthread.h: ... here.
20287 * nptl/sysdeps/pthread/setxid.h: Moved ...
20288 * sysdeps/nptl/setxid.h: ... here.
20289 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
20290 * sysdeps/nptl/sigfillset.c: ... here.
20291 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
20292 * sysdeps/nptl/tcb-offsets.h: ... here.
20293 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
20294 * sysdeps/nptl/tst-mqueue8x.c: ... here.
20295 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
20296 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
20297 * nptl/sysdeps/pthread/allocalim.h: Moved ...
20298 * sysdeps/pthread/allocalim.h: ... here.
20299 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
20300 * sysdeps/pthread/bits/sigthread.h: ... here.
20301 * nptl/sysdeps/pthread/flockfile.c: Moved ...
20302 * sysdeps/pthread/flockfile.c: ... here.
20303 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
20304 * sysdeps/pthread/ftrylockfile.c: ... here.
20305 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
20306 * sysdeps/pthread/funlockfile.c: ... here.
20307 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
20308 * sysdeps/pthread/posix-timer.h: ... here.
20309 * nptl/sysdeps/pthread/timer_create.c: Moved ...
20310 * sysdeps/pthread/timer_create.c: ... here.
20311 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
20312 * sysdeps/pthread/timer_delete.c: ... here.
20313 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
20314 * sysdeps/pthread/timer_getoverr.c: ... here.
20315 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
20316 * sysdeps/pthread/timer_gettime.c: ... here.
20317 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
20318 * sysdeps/pthread/timer_routines.c: ... here.
20319 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
20320 * sysdeps/pthread/timer_settime.c: ... here.
20321 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
20322 * sysdeps/pthread/tst-timer.c: ... here.
20323 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
20324 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
20325
20326 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
20327 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
20328
20329 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
20330 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
20331 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
20332 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
20333 Update #include target.
20334 * nptl/sysdeps/i386/i686/Makefile: Moved ...
20335 * sysdeps/i386/i686/nptl/Makefile: ... here.
20336 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
20337 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
20338 Update #include target.
20339 * nptl/sysdeps/i386/i686/tls.h: Moved ...
20340 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
20341 * nptl/sysdeps/i386/Makefile: Moved ...
20342 * sysdeps/i386/nptl/Makefile: ... here.
20343 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
20344 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
20345 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
20346 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
20347 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
20348 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
20349 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
20350 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
20351 * sysdeps/i386/nptl/pthreaddef.h: ... here.
20352 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
20353 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
20354 * nptl/sysdeps/i386/tls.h: Moved ...
20355 * sysdeps/i386/nptl/tls.h: ... here.
20356
20357 * sysdeps/sh/Makefile [$(subdir) = csu]
20358 (gen-as-const-headers): Add tcb-offsets.sym.
20359 * nptl/sysdeps/sh/Makefile: File removed.
20360 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
20361 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
20362 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
20363 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
20364 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
20365 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
20366 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
20367 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
20368 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
20369 * sysdeps/sh/nptl/pthreaddef.h: ... here.
20370 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
20371 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
20372 * nptl/sysdeps/sh/tls.h: Moved ...
20373 * sysdeps/sh/nptl/tls.h: ... here.
20374 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
20375 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
20376 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
20377 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
20378 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
20379 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
20380 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
20381 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
20382 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
20383 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
20384 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
20385 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
20386 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
20387 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
20388 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
20389 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
20390 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
20391 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
20392 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
20393 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
20394 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
20395 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
20396 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
20397 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
20398 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
20399 Moved ...
20400 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
20401 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
20402 Moved ...
20403 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
20404 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
20405 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
20406 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
20407 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
20408 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
20409 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
20410 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
20411 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
20412 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
20413 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
20414 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
20415 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
20416 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
20417 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
20418 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
20419 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
20420 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
20421 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
20422
20423 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
20424
20425 * posix/spawn_faction_addopen.c: Include string.h.
20426
20427 2014-06-11 Roland McGrath <roland@hack.frob.com>
20428
20429 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
20430 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
20431 * nptl/sysdeps/x86_64/Makefile: Moved ...
20432 * sysdeps/x86_64/nptl/Makefile: ... here.
20433 * nptl/sysdeps/x86_64/configure: Moved ...
20434 * sysdeps/x86_64/nptl/configure: ... here.
20435 * nptl/sysdeps/x86_64/configure.ac: Moved ...
20436 * sysdeps/x86_64/nptl/configure.ac: ... here.
20437 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
20438 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
20439 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
20440 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
20441 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
20442 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
20443 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
20444 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
20445 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
20446 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
20447 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
20448 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
20449 * nptl/sysdeps/x86_64/tls.h: Moved ...
20450 * sysdeps/x86_64/nptl/tls.h: ... here.
20451 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
20452 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
20453 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
20454 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
20455
20456 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
20457
20458 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20459
20460 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20461
20462 2014-06-11 Joseph Myers <joseph@codesourcery.com>
20463
20464 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
20465 type.
20466 [POSIX] (off_t): Likewise.
20467 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
20468 [POSIX] (S_ISBLK): Require macro.
20469 [POSIX] (S_ISCHR): Likewise.
20470 [POSIX] (S_ISDIR): Likewise.
20471 [POSIX] (S_ISFIFO): Likewise.
20472 [POSIX] (S_ISREG): Likewise.
20473 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
20474 optional-macro.
20475 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
20476 type.
20477 [POSIX] (time_t): Likewise.
20478 [POSIX] (timer_t): Likewise.
20479
20480 2014-06-11 Florian Weimer <fweimer@redhat.com>
20481
20482 [BZ #17048]
20483 * posix/spawn_int.h (struct __spawn_action): Make the path string
20484 non-const to support deallocation.
20485 * posix/spawn_faction_addopen.c
20486 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
20487 * posix/spawn_faction_destroy.c
20488 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
20489 path in all spawn_do_open actions.
20490 * posix/tst-spawn.c (do_test): Exercise the copy operation in
20491 posix_spawn_file_actions_addopen.
20492
20493 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
20494
20495 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
20496 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
20497 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
20498 conditional code always true.
20499 (__libc_vfork): New alias.
20500
20501 2014-06-11 Roland McGrath <roland@hack.frob.com>
20502
20503 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
20504 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
20505
20506 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
20507
20508 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
20509 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
20510
20511 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
20512 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
20513
20514 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
20515 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
20516
20517 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
20518
20519 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
20520 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
20521 multiarch strcmp for PPC64.
20522 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
20523 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
20524 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
20525 multiarch optimizations.
20526 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20527 (__libc_ifunc_impl_list): Likewise.
20528
20529 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20530
20531 * benchtests/scripts/validate_benchout.py: New script.
20532 * benchtests/Makefile (bench-func): Call it.
20533 * benchtests/scripts/benchout.schema.json: New file.
20534
20535 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
20536
20537 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
20538 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
20539 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
20540 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
20541 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
20542 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
20543 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
20544 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
20545 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
20546 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
20547 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
20548 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
20549 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
20550 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
20551 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
20552 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
20553 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
20554 Moved ...
20555 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
20556 ... here.
20557 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
20558 Moved ...
20559 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
20560 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
20561 Moved ...
20562 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
20563 ... here.
20564 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
20565 Moved ...
20566 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
20567 ... here.
20568 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
20569 Moved ...
20570 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
20571 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
20572 Moved ...
20573 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
20574 ... here.
20575 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
20576 Moved ...
20577 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
20578 ... here.
20579 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
20580 Moved ...
20581 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
20582 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
20583 Moved ...
20584 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
20585 ... here.
20586 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
20587 Moved ...
20588 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
20589 ... here.
20590 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
20591 Moved ...
20592 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
20593 ... here.
20594 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
20595 Moved ...
20596 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
20597 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
20598 Moved ...
20599 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
20600 ... here.
20601 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
20602 Moved ...
20603 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
20604 ... here.
20605 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
20606 Moved ...
20607 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
20608 ... here.
20609 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
20610 Moved ...
20611 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
20612 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
20613 Moved ...
20614 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
20615 ... here.
20616 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
20617 Moved ...
20618 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
20619 ... here.
20620 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
20621 Moved ...
20622 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
20623 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
20624 Moved ...
20625 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
20626 ... here.
20627 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
20628 Moved ...
20629 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
20630 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
20631 Moved ...
20632 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
20633 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
20634 Moved ...
20635 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
20636 ... here.
20637 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
20638 Moved ...
20639 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
20640 ... here.
20641 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
20642 Moved ...
20643 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
20644 ... here.
20645 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
20646 Moved ...
20647 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
20648 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
20649 Moved ...
20650 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
20651 ... here.
20652 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
20653 Moved ...
20654 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
20655 ... here.
20656 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
20657 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
20658 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
20659 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
20660 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
20661 Moved ...
20662 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
20663 ... here.
20664 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
20665 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
20666 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
20667 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
20668 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
20669 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
20670 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
20671 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
20672 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
20673 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
20674 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
20675 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
20676 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
20677 Moved ...
20678 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
20679 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
20680 Moved ...
20681 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
20682 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
20683 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
20684 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
20685 Moved ...
20686 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
20687 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
20688 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
20689 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
20690 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
20691 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
20692 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
20693
20694 2014-06-10 Wilco <wdijkstr@arm.com>
20695
20696 * math/test-fenv-return.c: New file.
20697 * math/Makefile: Add new test test-fenv-return.
20698
20699 2014-06-10 Joseph Myers <joseph@codesourcery.com>
20700
20701 [BZ #17042]
20702 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
20703 when x - 1 is zero.
20704 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
20705 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
20706 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
20707 0.0L for an argument of 1.0L.
20708 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
20709 Likewise.
20710 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
20711 value when x - 1 is zero.
20712 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
20713 * sysdeps/i386/fpu/libm-test-ulps: Update.
20714 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20715
20716 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
20717
20718 [BZ #15119]
20719 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
20720
20721 2014-06-09 Roland McGrath <roland@hack.frob.com>
20722
20723 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
20724 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
20725
20726 2014-06-09 Roland McGrath <roland@hack.frob.com>
20727
20728 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
20729 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
20730
20731 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
20732 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
20733
20734 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
20735 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
20736
20737 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
20738 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
20739
20740 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
20741 if not already defined.
20742 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
20743 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
20744 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
20745 (TLS_INIT_TP): Use it.
20746 (TLS_DEFINE_INIT_TP): New macro.
20747 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
20748
20749 2014-06-09 Joseph Myers <joseph@codesourcery.com>
20750
20751 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
20752 constant.
20753 [POSIX] (IXANY): Likewise.
20754 [POSIX] (OLCUC): Likewise.
20755 [POSIX || POSIX2008] (CBAUD): Do not allow.
20756 [POSIX || POSIX2008] (DEFECHO): Likewise.
20757 [POSIX || POSIX2008] (ECHOCTL): Likewise.
20758 [POSIX || POSIX2008] (ECHOKE): Likewise.
20759 [POSIX || POSIX2008] (ECHOPRT): Likewise.
20760 [POSIX || POSIX2008] (EXTA): Likewise.
20761 [POSIX || POSIX2008] (EXTB): Likewise.
20762 [POSIX || POSIX2008] (FLUSHO): Likewise.
20763 [POSIX || POSIX2008] (LOBLK): Likewise.
20764 [POSIX || POSIX2008] (PENDIN): Likewise.
20765 [POSIX || POSIX2008] (SWTCH): Likewise.
20766 [POSIX || POSIX2008] (VDISCARD): Likewise.
20767 [POSIX || POSIX2008] (VDSUSP): Likewise.
20768 [POSIX || POSIX2008] (VLNEXT): Likewise.
20769 [POSIX || POSIX2008] (VREPRINT): Likewise.
20770 [POSIX || POSIX2008] (VSTATUS): Likewise.
20771 [POSIX || POSIX2008] (VWERASE): Likewise.
20772 (B*): Change to B[0123456789]*.
20773 * conform/data/time.h-data [POSIX || UNIX98]
20774 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
20775 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
20776 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
20777 [POSIX] (tm_*): Do not allow.
20778
20779 2014-06-07 Joseph Myers <joseph@codesourcery.com>
20780
20781 * Makefile (install): Don't set LANGUAGE.
20782 * Makefile.in (install): Likewise.
20783 * assert/Makefile (test-assert-ENV): Remove variable.
20784 (test-assert-perr-ENV): Likewise.
20785 * elf/Makefile (neededtest4-ENV): Likewise.
20786 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
20787 [$(cross-compiling) = no]: Don't set LANGUAGE.
20788 * io/ftwtest-sh (LANG): Remove variable.
20789 * libio/Makefile (tst-widetext-ENV): Likewise.
20790 * manual/install.texi (Running make install): Don't refer to
20791 environment settings for make install.
20792 * INSTALL: Regenerated.
20793 * nptl/tst-tls6.sh: Don't set LANG.
20794 * posix/globtest.sh (LANG): Remove variable.
20795 * string/Makefile (tester-ENV): Likewise.
20796 (inl-tester-ENV): Likewise.
20797 (noinl-tester-ENV): Likewise.
20798 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
20799 [$(cross-compiling) = no]: Don't set LANGUAGE.
20800 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
20801 without explicit environment settings.
20802
20803 2014-06-06 Roland McGrath <roland@hack.frob.com>
20804
20805 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
20806 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
20807 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
20808 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
20809
20810 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
20811
20812 * crypt/crypt-private.h [DOS]: Add some includes taken from the
20813 other files in the crypt directory.
20814 * crypt/crypt.c: Remove duplicate includes.
20815 * crypt/crypt-entry.c: Likewise.
20816 * crypt/crypt_util.c: Likewise.
20817
20818 2014-06-06 Joseph Myers <joseph@codesourcery.com>
20819
20820 * Makeconfig (run-program-env): New variable.
20821 (run-program-prefix-before-env): Likewise.
20822 (run-program-prefix-after-env): Likewise.
20823 (run-program-prefix): Define in terms of new variables.
20824 (built-program-cmd-before-env): New variable.
20825 (built-program-cmd-after-env): Likewise.
20826 (built-program-cmd): Define in terms of new variables.
20827 (test-program-prefix-before-env): New variable.
20828 (test-program-prefix-after-env): Likewise.
20829 (test-program-prefix): Define in terms of new variables.
20830 (test-program-cmd-before-env): New variable.
20831 (test-program-cmd-after-env): Likewise.
20832 (test-program-cmd): Define in terms of new variables.
20833 * Rules (make-test-out): Use $(run-program-env).
20834 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
20835 (help): Do not mention environment variables. Mention
20836 --timeoutfactor option.
20837 (timeoutfactor): New variable.
20838 (blacklist_exports): Remove function.
20839 (exports): Remove variable.
20840 (command): Do not include ${exports}.
20841 * manual/install.texi (Configuring and compiling): Do not mention
20842 test wrappers preserving environment variables. Mention that last
20843 assignment to a variable must take precedence.
20844 * INSTALL: Regenerated.
20845 * benchtests/Makefile (run-bench): Use $(run-program-env).
20846 * catgets/Makefile ($(objpfx)test1.cat): Use
20847 $(built-program-cmd-before-env), $(run-program-env) and
20848 $(built-program-cmd-after-env).
20849 ($(objpfx)test2.cat): Do not specify environment variables
20850 explicitly.
20851 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
20852 $(run-program-env) and $(built-program-cmd-after-env).
20853 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
20854 $(run-program-env) and $(test-program-cmd-after-env).
20855 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
20856 explicitly.
20857 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
20858 run_program_env and test_program_cmd_after_env arguments.
20859 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
20860 * elf/tst-pathopt.sh: Use run_program_env argument.
20861 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
20862 $(test-wrapper-env) and $(run-program-env).
20863 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
20864 run_program_env arguments.
20865 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
20866 * intl/Makefile ($(objpfx)tst-gettext.out): Use
20867 $(test-program-prefix-before-env), $(run-program-env) and
20868 $(test-program-prefix-after-env).
20869 ($(objpfx)tst-gettext2.out): Likewise.
20870 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
20871 run_program_env and test_program_prefix_after_env arguments.
20872 * intl/tst-gettext2.sh: Likewise.
20873 * intl/tst-gettext4.sh: Do not set environment variables
20874 explicitly.
20875 * intl/tst-gettext6.sh: Likewise.
20876 * intl/tst-translit.sh: Likewise.
20877 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
20878 $(test-program-prefix-before-env), $(run-program-env) and
20879 $(test-program-prefix-after-env).
20880 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
20881 run_program_env and test_program_prefix_after_env arguments.
20882 * math/Makefile (run-regen-ulps): Use $(run-program-env).
20883 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
20884 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
20885 explicitly with each use of ${test_wrapper_env}.
20886 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
20887 $(test-program-prefix-before-env), $(run-program-env) and
20888 $(test-program-prefix-after-env).
20889 * posix/tst-getconf.sh: Do not set environment variables
20890 explicitly.
20891 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
20892 run_program_env and test_program_prefix_after_env arguments.
20893 * stdio-common/tst-printf.sh: Do not set environment variables
20894 explicitly.
20895 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
20896 $(test-program-prefix-before-env), $(run-program-env) and
20897 $(test-program-prefix-after-env).
20898 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
20899 run_program_env and test_program_prefix_after_env arguments.
20900 Split $test calls into $test_pre and $test.
20901 * timezone/Makefile (build-testdata): Use
20902 $(built-program-cmd-before-env), $(run-program-env) and
20903 $(built-program-cmd-after-env).
20904
20905 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20906
20907 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
20908 strlen for non SHARED builds.
20909
20910 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
20911
20912 * nptl/allocatestack.c (check_list): Inlined function...
20913 (__reclaim_stacks): ... here.
20914
20915 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
20916
20917 [BZ #15698]
20918 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
20919 memory overrun.
20920
20921 2014-06-05 Joseph Myers <joseph@codesourcery.com>
20922
20923 * Rules (make-test-out): Include
20924 LOCPATH=$(common-objpfx)localedata in default environment.
20925 * debug/Makefile (tst-chk1-ENV): Remove variable.
20926 (tst-chk2-ENV): Likewise.
20927 (tst-chk3-ENV): Likewise.
20928 (tst-chk4-ENV): Likewise.
20929 (tst-chk5-ENV): Likewise.
20930 (tst-chk6-ENV): Likewise.
20931 (tst-lfschk1-ENV): Likewise.
20932 (tst-lfschk2-ENV): Likewise.
20933 (tst-lfschk3-ENV): Likewise.
20934 (tst-lfschk4-ENV): Likewise.
20935 (tst-lfschk5-ENV): Likewise.
20936 (tst-lfschk6-ENV): Likewise.
20937 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
20938 (tst-iconv7-ENV): Likewise.
20939 * intl/Makefile (LOCPATH-ENV): Likewise.
20940 (tst-codeset-ENV): Likewise.
20941 (tst-gettext3-ENV): Likewise.
20942 (tst-gettext5-ENV): Likewise.
20943 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
20944 (tst-fopenloc-ENV): Likewise.
20945 (tst-fgetws-ENV): Remove variable.
20946 (tst-ungetwc1-ENV): Likewise.
20947 (tst-ungetwc2-ENV): Likewise.
20948 (bug-ungetwc2-ENV): Likewise.
20949 (tst-swscanf-ENV): Likewise.
20950 (bug-ftell-ENV): Likewise.
20951 (tst-fgetwc-ENV): Likewise.
20952 (tst-fseek-ENV): Likewise.
20953 (tst-ftell-partial-wide-ENV): Likewise.
20954 (tst-ftell-active-handler-ENV): Likewise.
20955 (tst-ftell-append-ENV): Likewise.
20956 * posix/Makefile (tst-fnmatch-ENV): Likewise.
20957 (tst-regexloc-ENV): Likewise.
20958 (bug-regex1-ENV): Likewise.
20959 (tst-regex-ENV): Likewise.
20960 (tst-regex2-ENV): Likewise.
20961 (bug-regex5-ENV): Likewise.
20962 (bug-regex6-ENV): Likewise.
20963 (bug-regex17-ENV): Likewise.
20964 (bug-regex18-ENV): Likewise.
20965 (bug-regex19-ENV): Likewise.
20966 (bug-regex20-ENV): Likewise.
20967 (bug-regex22-ENV): Likewise.
20968 (bug-regex23-ENV): Likewise.
20969 (bug-regex25-ENV): Likewise.
20970 (bug-regex26-ENV): Likewise.
20971 (bug-regex30-ENV): Likewise.
20972 (bug-regex32-ENV): Likewise.
20973 (bug-regex33-ENV): Likewise.
20974 (bug-regex34-ENV): Likewise.
20975 (bug-regex35-ENV): Likewise.
20976 (tst-rxspencer-ENV): Likewise.
20977 (tst-rxspencer-no-utf8-ENV): Likewise.
20978 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
20979 (tst-sscanf-ENV): Likewise.
20980 (tst-swprintf-ENV): Likewise.
20981 (tst-swscanf-ENV): Likewise.
20982 (test-vfprintf-ENV): Likewise.
20983 (scanf13-ENV): Likewise.
20984 (bug14-ENV): Likewise.
20985 (tst-grouping-ENV): Likewise.
20986 * stdlib/Makefile (tst-strtod-ENV): Likewise.
20987 (tst-strtod3-ENV): Likewise.
20988 (tst-strtod4-ENV): Likewise.
20989 (tst-strtod5-ENV): Likewise.
20990 (testmb2-ENV): Likewise./
20991 * string/Makefile (tst-strxfrm-ENV): Likewise.
20992 (tst-strxfrm2-ENV): Likewise.
20993 (bug-strcoll1-ENV): Likewise.
20994 (test-strcasecmp-ENV): Likewise.
20995 (test-strncasecmp-ENV): Likewise.
20996 * time/Makefile (tst-strptime-ENV): Likewise.
20997 (tst-ftime_l-ENV): Likewise.
20998 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
20999 (tst-mbrtowc-ENV): Likewise.
21000 (tst-wcrtomb-ENV): Likewise.
21001 (tst-mbrtowc2-ENV): Likewise.
21002 (tst-c16c32-1-ENV): Likewise.
21003 (tst-mbsnrtowcs-ENV): Likewise.
21004
21005 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
21006
21007 * manual/resource.texi (How to get information about the memory
21008 subsystem?): Fix typo.
21009 Reported by Peon de la Parra Ivan <peon@keba.com>
21010
21011 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
21012
21013 [BZ #16882]
21014 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
21015 (pthread_spin_lock): Branch out of spin loop to proper location.
21016 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
21017 (pthread_spin_lock): Likewise.
21018
21019 * nptl/tst-spin4.c: New test.
21020 * nptl/Makefile (tests): Add tst-spin4.
21021
21022 2014-06-03 Andreas Schwab <schwab@suse.de>
21023
21024 [BZ #15946]
21025 * resolv/res_send.c (send_dg): Reload file descriptor after
21026 calling reopen.
21027
21028 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
21029
21030 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
21031
21032 2014-06-03 Richard Henderson <rth@redhat.com>
21033
21034 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
21035 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
21036 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
21037 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
21038 in the SAVE_PID block.
21039 (__libc_vfork): New alias.
21040 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
21041
21042 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
21043 child in registers, not on the stack. Remove RESET_PID conditionals.
21044 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
21045
21046 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
21047
21048 * sysdeps/aarch64/libm-test-ulps: Regenerate.
21049
21050 2014-06-03 Wilco <wdijkstr@arm.com>
21051
21052 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
21053 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
21054 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
21055 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
21056 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
21057 Likewise.
21058
21059 2014-06-03 Wilco <wdijkstr@arm.com>
21060
21061 * sysdeps/aarch64/fpu/math_private.h
21062 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
21063 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
21064 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
21065 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
21066 Fix declarations.
21067
21068 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
21069
21070 * crypt/crypt-private.h: Include ufc-crypt.h.
21071 (__b64_from_24bit): Declare extern.
21072 * crypt/crypt_util.c(__b64_from_24bit): New function.
21073 (b64t): New static const variable.
21074 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
21075 (b64t): Remove variable.
21076 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
21077 * crypt/sha256-crypt.c: Include crypt-private.h.
21078 (b64t): Remove variable.
21079 (__sha256_crypt_r): Remove b64_from_24bit and replace
21080 with __b64_from_24bit.
21081 * crypt/sha512-crypt.c: Likewise.
21082
21083 2014-06-02 Roland McGrath <roland@hack.frob.com>
21084
21085 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
21086 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
21087 Label the code __libc_vfork rather than __vfork.
21088 [!NOT_IN_libc] (vfork): Define as weak alias.
21089 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
21090 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
21091 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
21092
21093 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
21094
21095 * malloc/malloc.c (malloc_info): Fix format specifier for
21096 n_mmaps.
21097
21098 2014-06-02 Wilco <wdijkstr@arm.com>
21099
21100 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
21101 FPCR write.
21102
21103 2014-06-02 Wilco <wdijkstr@arm.com>
21104
21105 [BZ #17009]
21106 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
21107 Rewrite to reduce FPCR/FPSR accesses.
21108
21109 2014-06-01 David S. Miller <davem@davemloft.net>
21110
21111 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21112
21113 2014-05-31 David S. Miller <davem@davemloft.net>
21114
21115 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
21116 to occur in round to nearest mode when |x| >= 2.0
21117
21118 2014-05-30 Richard Henderson <rth@twiddle.net>
21119
21120 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
21121 (PSEUDO_RET_NOERRNO): Remove.
21122 (ret): Don't redefine.
21123 (ret_NOERRNO): Define in terms of ret.
21124 (ret_ERRVAL): Likewise.
21125
21126 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
21127 use of PSEUDO_RET; perform the error check directly.
21128
21129 2014-05-30 Marko Myllynen <myllynen@redhat.com>
21130
21131 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
21132 with __int128_t.
21133
21134 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21135
21136 * malloc/malloc (malloc_info): Fix formatting.
21137
21138 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21139 Roland McGrath <roland@hack.frob.com>
21140
21141 * malloc/malloc (malloc_info): Also print mmapped statistics.
21142
21143 2014-05-30 Roland McGrath <roland@hack.frob.com>
21144
21145 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
21146 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
21147
21148 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
21149
21150 * malloc/malloc.c (malloc_info): Inline mi_arena.
21151
21152 2014-05-29 Richard Henderson <rth@twiddle.net>
21153
21154 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
21155 Remove comma before expanding ASM_ARGS_##nr.
21156 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
21157 Make _x0 a strict output; make _x8 a strict input; adjust expansion
21158 of ASM_ARGS_##nr.
21159 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
21160 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
21161 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
21162 (ASM_ARGS_1): Add leading comma.
21163
21164 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
21165 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
21166 to __errno_location.
21167 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
21168 Remove the expected plt for __errno_location.
21169
21170 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
21171 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
21172 call to __read_tp.
21173
21174 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
21175 Always allocate 64 bytes of stack frame. Use ldp/stp to create
21176 it and break it down.
21177 (DOCARGS_0, DOCARGS_1): Do nothing.
21178 (DOCARGS_2): Update to store into the new stack frame.
21179 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
21180 (UNDOCARGS_1): Update to restore from the new stack frame.
21181 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
21182 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
21183
21184 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
21185 (SINGLE_THREAD_P): New parameter for result regno.
21186 (PSEUDO): Update to match; use cbz instead of beq.
21187
21188 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
21189 Use ENTRY to define the _nocancel entry point. Share the syscall
21190 and syscall error check paths with the cancel path.
21191 (PSEUDO_END): New.
21192
21193 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
21194 whitespace; tabs before and after asm mnemonics.
21195
21196 2014-05-29 Eric Wong <normalperson@yhbt.net>
21197
21198 [BZ #15132]
21199 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21200 Call fstat64 or stat64 internally, depending on arguments passed.
21201 Replace stat buffer argument with file descriptor argument.
21202 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
21203 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
21204 Pass fd to __internal_statvfs instead of calling fstat64.
21205 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
21206 Pass fd to __internal_statvfs64 instead of calling fstat64.
21207 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
21208 Pass -1 to __internal_statvfs instead of calling stat64.
21209 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
21210 Pass -1 to __internal_statvfs64 instead of calling stat64.
21211
21212 2014-05-28 Roland McGrath <roland@hack.frob.com>
21213
21214 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
21215 that was previously under [RESET_PID].
21216 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
21217
21218 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
21219 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
21220
21221 2014-05-27 Roland McGrath <roland@hack.frob.com>
21222
21223 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
21224
21225 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
21226 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
21227
21228 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
21229
21230 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
21231
21232 2014-05-27 Andreas Schwab <schwab@suse.de>
21233
21234 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
21235 TLS_INIT_TP macro.
21236 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
21237 * elf/rtld.c (init_tls, dl_main): Likewise.
21238 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
21239 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
21240 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
21241 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
21242 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
21243 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
21244 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
21245 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
21246 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
21247 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
21248 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
21249 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
21250 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
21251 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
21252 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
21253 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
21254 * sysdeps/generic/tls.h: Update description.
21255
21256 2014-05-27 Will Newton <will.newton@linaro.org>
21257
21258 [BZ #16990]
21259 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
21260 and restore r2 rather than just restoring.
21261
21262 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21263
21264 [BZ #16724]
21265 * libio/tst-ftell-append.c: New test case.
21266 * libio/Makefile (tests): Add test case.
21267 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
21268 append mode.
21269 * libio/wfileops.c (do_ftell_wide): Likewise.
21270
21271 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21272
21273 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21274
21275 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
21276 ...
21277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
21278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
21279 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
21280 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
21281 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
21282 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
21283 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
21284 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
21285 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
21286 Moved ...
21287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
21288 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
21289 Moved ...
21290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
21291 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
21292 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
21293 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
21294 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
21295 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
21296 ...
21297 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
21298 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
21299 Moved ...
21300 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
21301 here.
21302 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
21303 ...
21304 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
21305 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
21306 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
21307
21308 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
21309 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
21310 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
21311 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
21312
21313 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
21314 merge into ...
21315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
21316 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
21317 ...
21318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
21319 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
21320 ...
21321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
21322 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
21323 Moved ...
21324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
21325 here.
21326 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
21327 Moved ...
21328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
21329 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
21330 Moved ...
21331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
21332
21333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
21334 conditional [RESET_PID].
21335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
21336 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
21337 removed.
21338 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
21339 removed.
21340
21341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
21342 <tcb-offsets.h>.
21343 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
21344 (__libc_vfork): New strong alias.
21345 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
21346 removed.
21347 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
21348 Removed.
21349
21350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
21351 <tcb-offsets.h>.
21352 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
21353 (__libc_vfork): New strong alias.
21354 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
21355 removed.
21356 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
21357 removed.
21358
21359 2014-05-26 Carlos O'Donell <carlos@redhat.com>
21360
21361 * malloc/malloc.c (mi_arena): New function.
21362 (malloc_info): Remove nested function mi_arena. Call non-nosted
21363 function mi_arena.
21364
21365 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21366
21367 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
21368 by insrwi.
21369 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
21370 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
21371 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
21372 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
21373 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
21374 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
21375 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
21376
21377 2014-05-26 Andreas Schwab <schwab@suse.de>
21378
21379 [BZ #16984]
21380 * locale/programs/repertoire.c (repertoire_read): Add slash
21381 between I18NPATH element and file name.
21382 * locale/programs/locfile.c (locfile_read): Likewise.
21383
21384 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
21385
21386 * nptl/pthread_mutexattr_settype.c
21387 (__pthread_mutexattr_settype):
21388 Disable lock elision for PTHREAD_MUTEX_NORMAL.
21389
21390 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
21391
21392 * nptl/tst-mutex5 (do_test):
21393 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
21394
21395 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21396
21397 * benchtests/README: Document 'init' directive.
21398 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
21399 BENCH_INIT.
21400 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
21401 (parse_file): Recognize 'init' directive.
21402
21403 2014-05-26 Kyle McMartin <kyle@redhat.com>
21404
21405 [BZ #16796]
21406 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
21407 alignment of struct pthread.
21408
21409 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21410
21411 [BZ #16878]
21412 * nscd/netgroupcache.c (addgetnetgrentX): Look for
21413 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
21414 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
21415 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
21416
21417 2014-05-25 Richard Henderson <rth@twiddle.net>
21418
21419 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
21420 (SINGLE_THREAD_P_PIC): Remove.
21421 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
21422 (SINGLE_THREAD_P_PIC): Remove.
21423
21424 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
21425 branch to syscall error ...
21426 (PSEUDO): ... here.
21427 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
21428 from __local_syscall_error to .Lsyscall_error.
21429 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
21430 (SYSCALL_ERROR): Update label name.
21431
21432 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
21433 Do not use DOARGS/UNDOARGS.
21434 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
21435 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
21436 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
21437 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
21438 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
21439
21440 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
21441 block comment.
21442
21443 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
21444 define if !NOT_IN_libc.
21445 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
21446 define with non-default symbol versions.
21447
21448 2014-05-23 Richard Henderson <rth@twiddle.net>
21449
21450 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
21451 (vfork, __vfork): Define via compat_symbol.
21452
21453 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
21454 [!HAVE_IFUNC] (vfork_compat): Remove.
21455 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
21456
21457 2014-05-23 Joseph Myers <joseph@codesourcery.com>
21458
21459 [BZ #16978]
21460 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
21461 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
21462 variable.
21463
21464 2014-05-23 Richard Henderson <rth@twiddle.net>
21465
21466 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
21467 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
21468 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
21469 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
21470
21471 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
21472 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
21473 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
21474 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
21475 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
21476 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
21477 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
21478 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
21479 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
21480 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
21481 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
21482 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
21483 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
21484 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
21485 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
21486 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
21487 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
21488 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
21489 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
21490 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
21491 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
21492 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
21493 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
21494 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
21495 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
21496 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
21497 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
21498 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
21499 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
21500 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
21501 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
21502 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
21503 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
21504 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
21505 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
21506 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
21507 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
21508 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
21509 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
21510 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
21511 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
21512 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
21513 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
21514 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
21515 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
21516 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
21517 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
21518 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
21519 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
21520 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
21521 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
21522 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
21523 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
21524 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
21525 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
21526 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
21527
21528 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
21529 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
21530 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
21531 before exiting on error.
21532 (__libc_vfork): New strong alias.
21533 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
21534 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
21535
21536 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
21537 that was previously under [RESET_PID].
21538 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
21539
21540 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
21541
21542 2014-05-23 Joseph Myers <joseph@codesourcery.com>
21543
21544 [BZ #16977]
21545 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
21546 value when x - 1 is zero.
21547 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
21548 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
21549 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
21550 0.0L for an argument of 1.0L.
21551 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
21552 Likewise.
21553 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
21554 value when x - 1 is zero.
21555 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
21556 * sysdeps/i386/fpu/libm-test-ulps: Update.
21557 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21558
21559 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
21560
21561 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
21562 alphasort and versionsort.
21563
21564 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21565
21566 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
21567 macro.
21568 [copysignf]: Likewise.
21569
21570 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
21571
21572 * crypt/md5-crypt.c: Fix formatting.
21573
21574 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
21575
21576 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
21577 (b64_from_24bit): New function.
21578
21579 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21580
21581 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
21582 libc_hidden_builtin_def to ifunc.
21583 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
21584 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
21585
21586 2014-05-21 Roland McGrath <roland@hack.frob.com>
21587
21588 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
21589 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
21590
21591 2014-05-21 Joseph Myers <joseph@codesourcery.com>
21592
21593 * nscd/Depend (linuxthreads): Remove.
21594 (nptl): Add.
21595 * resolv/Depend (linuxthreads): Remove.
21596 * rt/Depend (linuxthreads): Remove.
21597
21598 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
21599 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
21600 $(common-objpfx)elf/.
21601 (link-libc-before-gnulib): Likewise.
21602 (elfobjdir): Remove variable.
21603 * Makefile (install): Use $(elf-objpfx) instead of
21604 $(common-objpfx)elf/.
21605 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
21606 $(elfobjdir)/.
21607 (link-libc-deps): Likewise.
21608 ($(common-objpfx)libc.so): Likewise.
21609 ($(common-objpfx)linkobj/libc.so): Likewise.
21610 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
21611 instead of $(common-objpfx)elf/.
21612 (symbolic-link-list): Likewise.
21613 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
21614 [$(cross-compiling) = no]: Likewise.
21615 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
21616 $(elfobjdir)/.
21617 (static-gnulib-arch): Likewise.
21618 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
21619 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
21620 $(common-objpfx)elf/.
21621
21622 2014-05-21 Richard Henderson <rth@redhat.com>
21623
21624 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
21625 (SINGLE_THREAD_P): Use the correct width load. Fold
21626 into the ldr offset.
21627
21628 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
21629 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
21630
21631 2014-05-20 Joseph Myers <joseph@codesourcery.com>
21632
21633 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
21634 (libgcc_s_resume): Use __attribute_used__.
21635 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
21636 Likewise.
21637
21638 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21639
21640 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
21641 optimization when used with float constants.
21642
21643 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21644
21645 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
21646
21647 [BZ #16915]
21648 * locale/nl_langinfo_l.c: Make direct reference to every
21649 _nl_current_CATEGORY symbol.
21650 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
21651 (tests-static): Add tst-langinfo-static.
21652 (tests-special): Add tst-langinfo-static.out.
21653 ($(objpfx)tst-langinfo.out): Redirect output.
21654 ($(objpfx)tst-langinfo-static.out): New.
21655 * localedata/tst-langinfo.sh: Send output to stdout.
21656 * localedata/tst-langinfo-static.c: New file.
21657
21658 [BZ #16965]
21659 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
21660 when the shift amount is modulo the limb size.
21661
21662 2014-05-20 Richard Henderson <rth@redhat.com>
21663
21664 [BZ #16967]
21665 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
21666 Change type of sa_flags from unsigned int to int.
21667
21668 [BZ #16966]
21669 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
21670
21671 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
21672
21673 2014-05-20 Will Newton <will.newton@linaro.org>
21674
21675 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
21676 Test the return value of the system call in the nocancel case.
21677
21678 2014-05-20 Will Newton <will.newton@linaro.org>
21679 Yvan Roux <yvan.roux@linaro.org>
21680
21681 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
21682 #include of asm/ptrace.h.
21683 (PTRACE_GET_THREAD_AREA): Remove #undef.
21684 (PTRACE_GETHBPREGS): Likewise.
21685 (PTRACE_SETHBPREGS): Likewise.
21686 (struct user_regs_struct): New structure.
21687 (struct user_fpsimd_struct): New structure.
21688 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
21689 #include of asm/ptrace.h and second #include of sys/user.h.
21690 (PTRACE_GET_THREAD_AREA): Remove #undef.
21691 (PTRACE_GETHBPREGS): Likewise.
21692 (PTRACE_SETHBPREGS): Likewise.
21693 (ELF_NGREG): Use new struct user_regs_struct.
21694 (elf_fpregset_t): Use new struct user_fpsimd_struct.
21695
21696 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21697
21698 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
21699 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
21700
21701 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
21702
21703 [BZ #16958]
21704 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
21705 membar to avoid block loads/stores to overlap previous stores.
21706
21707 2014-05-17 Richard Henderson <rth@redhat.com>
21708
21709 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
21710 Create the __##syscall_name##_nocancel entry point.
21711 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
21712 Remove; let the sysdep-cancel.h code create it.
21713
21714 2014-05-17 David S. Miller <davem@davemloft.net>
21715
21716 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
21717 Protect with __USE_GNU.
21718 (TIOCSET_TEMPT): Likewise.
21719 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
21720 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
21721 these are already provided in bits/ioctl-types.h
21722
21723 2014-05-16 Roland McGrath <roland@hack.frob.com>
21724
21725 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
21726 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
21727
21728 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
21729 Use wait4 regardless of [__NR_waitpid].
21730
21731 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
21732
21733 PR libgcc/60166
21734 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
21735 (_FP_NANSIGN_Q): Set the quiet bit.
21736
21737 2014-05-16 Joseph Myers <joseph@codesourcery.com>
21738
21739 * benchtests/Makefile
21740 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
21741 not $(common-objpfx)math/libm.so.
21742 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
21743 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
21744 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
21745 $(common-objpfx)dlfcn/libdl.so.
21746 ($(objpfx)tst-audit8): Depend on $(libm), not
21747 $(common-objpfx)math/libm.so.
21748 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
21749 not $(common-objpfx)dlfcn/libdl.so.
21750 * math/Makefile
21751 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
21752 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
21753 [$(build-shared) = yes].
21754 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
21755 $(common-objpfx)nptl/libpthread.so.
21756 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
21757 $(common-objpfx)math/libm.so$(libm.so-version) or
21758 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
21759 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
21760 $(common-objpfx)dlfcn/libdl.so.
21761 * setjmp/Makefile (link-libm): Remove variable.
21762 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
21763 * stdio-common/Makefile (link-libm): Remove variable.
21764 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
21765 * stdlib/Makefile (link-libm): Remove variable.
21766 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
21767 ($(objpfx)tst-strtod-round): Likewise.
21768 ($(objpfx)tst-tininess): Likewise.
21769 ($(objpfx)tst-strtod-underflow): Likewise.
21770 ($(objpfx)tst-strtod6): Likewise.
21771 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
21772 $(libdl), not $(common-objpfx)nptl/libpthread.so and
21773 $(common-objpfx)dlfcn/libdl.so.
21774
21775 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21776
21777 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
21778 BSD terminal modes definitions.
21779
21780 2014-05-16 Roland McGrath <roland@hack.frob.com>
21781
21782 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
21783 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
21784
21785 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
21786 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
21787 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
21788 Don't do #include_next.
21789 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
21790 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
21791 Don't do #include_next.
21792 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
21793 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
21794 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
21795 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
21796
21797 2014-05-16 Allan McRae <allan@archlinux.org>
21798
21799 * po/sv.po: Update Swedish translation from translation project.
21800
21801 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
21802 in sed expression.
21803
21804 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
21805
21806 [BZ #16917]
21807 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
21808 errno if the TIOCGPTN ioctl fails with an error different than
21809 EINVAL.
21810 * login/tst-ptsname.c: New file.
21811 * login/Makefile (tests): Add tst-ptsname.
21812
21813 [BZ #16943]
21814 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
21815 and prlimit64.
21816
21817 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21818
21819 [BZ #16849]
21820 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
21821 herrno to return EAI_AGAIN.
21822
21823 2014-05-14 Roland McGrath <roland@hack.frob.com>
21824
21825 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
21826 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
21827 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
21828 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
21829 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
21830 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
21831 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
21832 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
21833 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
21834 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
21835 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
21836 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
21837 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
21838 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
21839 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
21840 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
21841 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
21842 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
21843 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
21844 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
21845 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
21846 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
21847 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
21848 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
21849 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
21850 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
21851 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
21852 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
21853 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
21854 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
21855 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
21856 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
21857 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
21858 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
21859 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
21860 Moved ...
21861 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
21862 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
21863 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
21864 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
21865 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
21866 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
21867 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
21868 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
21869 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
21870 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
21871 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
21872 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
21873 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
21874 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
21875 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
21876 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
21877 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
21878 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
21879 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
21880 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
21881 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
21882 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
21883 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
21884 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
21885 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
21886 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
21887 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
21888 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
21889 Moved ...
21890 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
21891 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
21892 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
21893 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
21894 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
21895 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
21896 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
21897 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
21898 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
21899 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
21900 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
21901 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
21902 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
21903 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
21904 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
21905 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
21906 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
21907 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
21908 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
21909 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
21910 Moved ...
21911 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
21912 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
21913 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
21914
21915 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
21916 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
21917 (libpthread-sysdep_routines): Add elision-related stuff here instead.
21918 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
21919 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
21920 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
21921 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
21922 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
21923 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
21924 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
21925 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
21926 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
21927 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
21928 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
21929 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
21930 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
21931 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
21932 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
21933 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
21934 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
21935 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
21936 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
21937 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
21938 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
21939 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
21940 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
21941 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
21942 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
21943 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
21944 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
21945 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
21946
21947 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
21948 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
21949
21950 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
21951 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
21952 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
21953 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
21954 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
21955 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
21956 Moved ...
21957 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
21958 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
21959 Moved ...
21960 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
21961 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
21962 Moved ...
21963 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
21964 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
21965 Moved ...
21966 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
21967 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
21968 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
21969 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
21970 Moved ...
21971 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
21972 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
21973 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
21974 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
21975 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
21976 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
21977 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
21978 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
21979 Moved ...
21980 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
21981 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
21982 Moved ...
21983 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
21984 ... here.
21985 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
21986 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
21987 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
21988 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
21989 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
21990 Moved ...
21991 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
21992 ... here.
21993 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
21994 Moved ...
21995 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
21996 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
21997 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
21998 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
21999 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
22000 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
22001 Moved ...
22002 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
22003 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
22004 Moved ...
22005 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
22006 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
22007 Moved ...
22008 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
22009 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
22010 Moved ...
22011 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
22012 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
22013 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
22014 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
22015 Moved ...
22016 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
22017 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
22018 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
22019 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
22020 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
22021 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
22022 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
22023 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
22024 Moved ...
22025 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
22026 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
22027 Moved ...
22028 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
22029 ... here.
22030 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
22031 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
22032 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
22033 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
22034 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
22035 Moved ...
22036 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
22037 ... here.
22038 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
22039 Moved ...
22040 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
22041 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
22042 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
22043 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
22044 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
22045 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
22046 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
22047 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
22048 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
22049 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
22050 Moved ...
22051 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
22052 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
22053 Moved ...
22054 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
22055 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
22056 Moved ...
22057 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
22058 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
22059 Moved ...
22060 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
22061 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
22062 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
22063 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
22064 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
22065 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
22066 Moved ...
22067 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
22068 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
22069 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
22070 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
22071 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
22072 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
22073 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
22074 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
22075 Moved ...
22076 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
22077 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
22078 Moved ...
22079 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
22080 ... here.
22081 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
22082 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
22083 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
22084 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
22085 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
22086 Moved ...
22087 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
22088 ... here.
22089 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
22090 Moved ...
22091 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
22092 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
22093 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
22094 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
22095 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
22096 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
22097 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
22098 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
22099 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
22100 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
22101 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
22102
22103 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
22104 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
22105
22106 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
22107 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
22108
22109 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
22110 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
22111 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
22112 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
22113 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
22114 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
22115 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
22116 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
22117 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
22118 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
22119 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
22120 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
22121 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
22122 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
22123 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
22124 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
22125 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
22126 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
22127 Moved ...
22128 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
22129 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
22130 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
22131 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
22132 Moved ...
22133 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
22134 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
22135 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
22136 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
22137 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
22138 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
22139 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
22140 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
22141 Moved ...
22142 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
22143 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
22144 Moved ...
22145 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
22146 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
22147 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
22148 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
22149 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
22150 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
22151 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
22152 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
22153 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
22154 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
22155 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
22156 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
22157 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
22158 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
22159 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
22160 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
22161 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
22162
22163 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
22164 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
22165 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
22166 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
22167 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
22168
22169 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
22170 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
22171 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
22172 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
22173 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
22174 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
22175 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
22176 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
22177 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
22178 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
22179
22180 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
22181 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
22182
22183 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
22184 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
22185 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
22186 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
22187 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
22188 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
22189 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
22190 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
22191 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
22192 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
22193 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
22194 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
22195 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
22196 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
22197 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
22198 Update #include.
22199 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
22200 Likewise.
22201 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
22202 Likewise.
22203 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
22204 Likewise.
22205 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
22206 Likewise.
22207 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
22208 Likewise.
22209 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
22210 Likewise.
22211 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
22212 Likewise.
22213 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
22214 Likewise.
22215 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
22216 Likewise.
22217 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
22218 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
22219 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
22220 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
22221 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
22222 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
22223 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
22224 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
22225 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
22226 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
22227 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
22228 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
22229 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
22230 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
22231 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
22232
22233 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
22234 that was previously under [RESET_PID].
22235 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
22236 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
22237 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
22238
22239 * sysdeps/i386/nptl/Implies: New file.
22240 * sysdeps/x86_64/nptl/Implies: New file.
22241 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
22242 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
22243 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
22244 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
22245
22246 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
22247 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
22248 (__libc_vfork): New strong alias.
22249 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
22250 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
22251
22252 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
22253 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
22254 (__libc_vfork): New strong alias.
22255 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
22256 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
22257
22258 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
22259 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
22260 (__libc_vfork): New strong alias.
22261 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
22262 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
22263 * nptl/pt-vfork.c: New file.
22264 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
22265 (libpthread: GLIBC_2.20): New version set (empty).
22266
22267 2014-05-14 Will Newton <will.newton@linaro.org>
22268
22269 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
22270 rather than #if.
22271
22272 2014-05-14 Joseph Myers <joseph@codesourcery.com>
22273
22274 [BZ #16564]
22275 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
22276 arguments with exponent 65 or above.
22277 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
22278 arguments 0x1p113L or above.
22279 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
22280 to arguments 0x1p107L or above.
22281 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
22282 positive arguments with exponent 65 or above.
22283 * math/auto-libm-test-in: Add more tests of log1p.
22284 * math/auto-libm-test-out: Regenerated.
22285
22286 [BZ #16928]
22287 * math/s_cacos.c (__cacos): Ensure zero real part of result from
22288 non-finite arguments is +0.
22289 * math/s_cacosf.c (__cacosf): Likewise.
22290 * math/s_cacosl.c (__cacosl): Likewise.
22291 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
22292 * sysdeps/i386/fpu/libm-test-ulps: Update.
22293 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22294
22295 [BZ #16927]
22296 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
22297 value.
22298 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
22299 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
22300 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
22301 for explicit high bit of mantissa when testing for argument equal
22302 to 1.
22303 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
22304 * sysdeps/i386/fpu/libm-test-ulps: Update.
22305 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22306
22307 [BZ #16516]
22308 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
22309 (__erf): Scale by 16 instead of 8 in potentially underflowing
22310 case. Ensure exception if result actually underflows.
22311 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
22312 (__erff): Scale by 16 instead of 8 in potentially underflowing
22313 case. Ensure exception if result actually underflows.
22314 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
22315 (efx8): Remove variable.
22316 (__erfl): Scale by 16 instead of 8 in potentially underflowing
22317 case. Ensure exception if result actually underflows.
22318 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
22319 (efx8): Remove variable.
22320 (__erfl): Scale by 16 instead of 8 in potentially underflowing
22321 case. Ensure exception if result actually underflows.
22322 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
22323 (efx8): Remove variable.
22324 (__erfl): Scale by 16 instead of 8 in potentially underflowing
22325 case. Ensure exception if result actually underflows.
22326 * math/auto-libm-test-in: Add more tests of erf.
22327 * math/auto-libm-test-out: Regenerated.
22328
22329 2014-05-14 Andreas Schwab <schwab@suse.de>
22330
22331 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
22332 Remove code conditionalized on USE___THREAD.
22333
22334 * config.h.in (HAVE_PT_CHOWN): Define as 0.
22335 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
22336 not definedness.
22337
22338 2014-05-14 Joseph Myers <joseph@codesourcery.com>
22339
22340 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
22341 Define unconditionally.
22342 (__ASSUME_O_CLOEXEC): Likewise.
22343 (__ASSUME_SOCK_CLOEXEC): Likewise.
22344 (__ASSUME_IN_NONBLOCK): Likewise.
22345 (__ASSUME_PIPE2): Likewise.
22346 (__ASSUME_EVENTFD2): Likewise.
22347 (__ASSUME_SIGNALFD4): Likewise.
22348 (__ASSUME_DUP3): Likewise.
22349 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22350 (__ASSUME_DUP3): Do not define.
22351 (__ASSUME_EVENTFD2): Likewise.
22352 (__ASSUME_IN_NONBLOCK): Likewise.
22353 (__ASSUME_O_CLOEXEC): Likewise.
22354 (__ASSUME_PIPE2): Likewise.
22355 (__ASSUME_SIGNALFD4): Likewise.
22356 (__ASSUME_SOCK_CLOEXEC): Likewise.
22357 (__ASSUME_UTIMES): Undefine.
22358 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22359 (__ASSUME_UTIMES): Do not define.
22360 (__ASSUME_O_CLOEXEC): Likewise.
22361 (__ASSUME_SOCK_CLOEXEC): Likewise.
22362 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
22363 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
22364 0x020621].
22365 (__ASSUME_PIPE2): Likewise.
22366 (__ASSUME_EVENTFD2): Likewise.
22367 (__ASSUME_SIGNALFD4): Likewise.
22368 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
22369 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
22370 Do not define.
22371 (__ASSUME_EVENTFD2): Likewise.
22372 (__ASSUME_SIGNALFD4): Likewise.
22373 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
22374 (__ASSUME_32BITUIDS): Likewise.
22375 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
22376 (__ASSUME_IPC64): Likewise.
22377 (__ASSUME_ST_INO_64_BIT): Likewise.
22378 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
22379 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
22380 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22381 (__ASSUME_UTIMES): Do not define.
22382 (__ASSUME_PSELECT): Likewise.
22383 (__ASSUME_PPOLL): Likewise.
22384 (__ASSUME_O_CLOEXEC): Likewise.
22385 (__ASSUME_SOCK_CLOEXEC): Likewise.
22386 (__ASSUME_IN_NONBLOCK): Likewise.
22387 (__ASSUME_PIPE2): Likewise.
22388 (__ASSUME_EVENTFD2): Likewise.
22389 (__ASSUME_SIGNALFD4): Likewise.
22390 (__ASSUME_DUP3): Likewise.
22391 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
22392 (__ASSUME_UTIMES): Likewise.
22393 (__ASSUME_O_CLOEXEC): Likewise.
22394 (__ASSUME_SOCK_CLOEXEC): Likewise.
22395 (__ASSUME_IN_NONBLOCK): Likewise.
22396 (__ASSUME_PIPE2): Likewise.
22397 (__ASSUME_EVENTFD2): Likewise.
22398 (__ASSUME_SIGNALFD4): Likewise.
22399 (__ASSUME_DUP3): Likewise.
22400 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22401 (__ASSUME_UTIMES): Likewise.
22402 (__ASSUME_O_CLOEXEC): Likewise.
22403 (__ASSUME_SOCK_CLOEXEC): Likewise.
22404 (__ASSUME_IN_NONBLOCK): Likewise.
22405 (__ASSUME_PIPE2): Likewise.
22406 (__ASSUME_EVENTFD2): Likewise.
22407 (__ASSUME_SIGNALFD4): Likewise.
22408 (__ASSUME_DUP3): Likewise.
22409 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
22410 Likewise.
22411 (__ASSUME_UTIMES): Likewise.
22412 (__ASSUME_EVENTFD2): Likewise.
22413 (__ASSUME_SIGNALFD4): Likewise.
22414 * sysdeps/unix/sysv/linux/tile/kernel-features.h
22415 (__ASSUME_O_CLOEXEC): Likewise.
22416 (__ASSUME_SOCK_CLOEXEC): Likewise.
22417 (__ASSUME_IN_NONBLOCK): Likewise.
22418 (__ASSUME_PIPE2): Likewise.
22419 (__ASSUME_EVENTFD2): Likewise.
22420 (__ASSUME_SIGNALFD4): Likewise.
22421 (__ASSUME_DUP3): Likewise.
22422 (__ASSUME_UTIMES): Undefine.
22423
22424 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
22425 feclearexcept. Remove symbol versioning code.
22426 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
22427 symbol versioning code.
22428 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
22429 symbol versioning code.
22430 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
22431 feupdateenv. Remove symbol versioning code.
22432 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
22433 fegetexceptflag. Remove symbol versioning code.
22434 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
22435 fesetexceptflag. Remove symbol versioning code.
22436 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
22437 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
22438 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
22439 (__posix_fadvise64_l32): Remove prototype.
22440 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
22441 code.
22442
22443 2014-05-13 Roland McGrath <roland@hack.frob.com>
22444
22445 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
22446 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
22447 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
22448 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
22449
22450 2014-05-13 Sami Kerola <kerolasa@iki.fi>
22451
22452 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
22453 current working directory
22454
22455 2014-05-13 Roland McGrath <roland@hack.frob.com>
22456
22457 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
22458 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
22459 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
22460 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
22461 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
22462 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
22463 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
22464 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
22465 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
22466 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
22467 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
22468 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
22469 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
22470 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
22471 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
22472 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
22473 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
22474 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
22475 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
22476 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
22477 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
22478 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
22479 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
22480 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
22481 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
22482 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
22483 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
22484 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
22485 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
22486 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
22487 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
22488 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
22489 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
22490 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
22491 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
22492 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
22493 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
22494 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
22495 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
22496 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
22497 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
22498 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
22499
22500 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
22501 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
22502
22503 * sysdeps/unix/sysv/linux/arm/Makefile
22504 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
22505 Add rt-aeabi_unwind_cpp_pr1.
22506 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
22507 Add nptl-aeabi_unwind_cpp_pr1.
22508 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
22509 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
22510 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
22511 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
22512 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
22513 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
22514
22515 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
22516 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
22517 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
22518 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
22519
22520 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
22521 Deconditionalize the code that was previously under [RESET_PID].
22522 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
22523
22524 * sysdeps/generic/exit-thread.h: New file.
22525 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
22526 * include/unistd.h (__exit_thread): Remove declaration.
22527 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
22528 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
22529 * csu/libc-start.c: Include <exit-thread.h>.
22530 (LIBC_START_MAIN): Pass no argument to __exit_thread.
22531 * nptl/pthread_create.c: Include <exit-thread.h>.
22532 (start_thread): Call __exit_thread in place of __exit_thread_inline.
22533 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
22534 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
22535 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
22536 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
22537 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
22538 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
22539 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
22540 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
22541 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
22542 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
22543 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
22544 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
22545 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
22546 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
22547 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
22548 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
22549
22550 2014-05-13 Andreas Schwab <schwab@suse.de>
22551
22552 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
22553
22554 2014-05-12 Joseph Myers <joseph@codesourcery.com>
22555
22556 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
22557 (__ASSUME_UTIMES): Do not condition on kernel version.
22558 (__ASSUME_PSELECT): Define unconditionally.
22559 (__ASSUME_PPOLL): Likewise.
22560 (__ASSUME_ATFCTS): Likewise.
22561 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
22562 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
22563 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
22564 (__ASSUME_UTIMENSAT): Define unconditionally.
22565 (__ASSUME_PRIVATE_FUTEX): Likewise.
22566 (__ASSUME_FALLOCATE): Likewise.
22567 (__ASSUME_O_CLOEXEC): Likewise.
22568 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
22569 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
22570 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
22571 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
22572 (__ASSUME_IN_NONBLOCK): Likewise.
22573 (__ASSUME_PIPE2): Likewise.
22574 (__ASSUME_EVENTFD2): Likewise.
22575 (__ASSUME_SIGNALFD4): Likewise.
22576 (__ASSUME_DUP3): Likewise.
22577 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
22578 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
22579 (__ASSUME_AT_RANDOM): Likewise.
22580 (__ASSUME_PREADV): Likewise.
22581 (__ASSUME_PWRITEV): Likewise.
22582 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
22583 (__ASSUME_F_GETOWN_EX): Define unconditionally.
22584 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
22585 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
22586 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
22587 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22588 (__ASSUME_O_CLOEXEC): Define unconditionally.
22589 (__ASSUME_PSELECT): Do not undefine conditionally.
22590 (__ASSUME_PPOLL): Likewise.
22591 (__ASSUME_ATFCTS): Likewise.
22592 (__ASSUME_SET_ROBUST_LIST): Likewise.
22593 (__ASSUME_UTIMENSAT): Likewise.
22594 (__ASSUME_FDATASYNC): Define unconditionally.
22595 * sysdeps/unix/sysv/linux/arm/kernel-features.h
22596 (__ASSUME_SIGFRAME_V2): Likewise.
22597 )__ASSUME_EVENTFD2): Likewise.
22598 (__ASSUME_SIGNALFD4): Likewise.
22599 (__ASSUME_PSELECT): Do not undefine conditionally.
22600 (__ASSUME_PPOLL): Likewise.
22601 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22602 (__ASSUME_PSELECT): Define unconditionally.
22603 (__ASSUME_PPOLL): Likewise.
22604 (__ASSUME_O_CLOEXEC): Likewise.
22605 (__ASSUME_SOCK_CLOEXEC): Likewise.
22606 (__ASSUME_IN_NONBLOCK): Likewise.
22607 (__ASSUME_PIPE2): Likewise.
22608 (__ASSUME_EVENTFD2): Likewise.
22609 (__ASSUME_SIGNALFD4): Likewise.
22610 (__ASSUME_DUP3): Likewise.
22611 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
22612 (__ASSUME_O_CLOEXEC): Likewise.
22613 (__ASSUME_SOCK_CLOEXEC): Likewise.
22614 (__ASSUME_IN_NONBLOCK): Likewise.
22615 (__ASSUME_PIPE2): Likewise.
22616 (__ASSUME_EVENTFD2): Likewise.
22617 (__ASSUME_SIGNALFD4): Likewise.
22618 (__ASSUME_DUP3): Likewise.
22619 * sysdeps/unix/sysv/linux/mips/kernel-features.h
22620 (__ASSUME_EVENTFD2): Likewise.
22621 (__ASSUME_SIGNALFD4): Likewise.
22622 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
22623
22624 2014-05-12 Andreas Schwab <schwab@suse.de>
22625
22626 [BZ #16932]
22627 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
22628 (_nss_nis_gethostbyname4_r): Return error if item length is larger
22629 than maximum RPC packet size.
22630 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
22631 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
22632 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
22633 (_nss_nis_getservbyport_r): Likewise.
22634
22635 2014-05-12 Will Newton <will.newton@linaro.org>
22636
22637 * malloc/Makefile (tests): Add tst-mallopt.
22638 * malloc/tst-mallopt.c: New file.
22639
22640 2014-05-09 Roland McGrath <roland@hack.frob.com>
22641
22642 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
22643 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
22644
22645 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22646
22647 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
22648 (tst-tlsmod6.so): Likewise.
22649
22650 2014-05-09 Roland McGrath <roland@hack.frob.com>
22651
22652 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
22653
22654 2014-05-09 Joseph Myers <joseph@codesourcery.com>
22655
22656 [BZ #16064]
22657 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
22658 and <dl-procinfo.h>.
22659 (__fegetenv): Save SSE state in envp->__eip if supported.
22660 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
22661 envp->__eip if supported.
22662 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
22663 and <dl-procinfo.h>.
22664 (__fesetenv): Always set __eip, __cs_selector, __opcode,
22665 __data_offset and __data_selector in environment to 0. Set SSE
22666 state if supported.
22667 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
22668 test-fenv-sse.
22669 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
22670 -mfpmath=sse.
22671 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
22672
22673 2014-05-09 Will Newton <will.newton@linaro.org>
22674
22675 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
22676 and libc_relro_required for ARM.
22677 * sysdeps/arm/preconfigure: Regenerate.
22678
22679 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
22680 Stefan Liebler <stli@linux.vnet.ibm.com>
22681
22682 * config.make.in (enable-lock-elision): New Makefile variable.
22683 * configure.ac: Likewise.
22684 * configure: Regenerate.
22685 * sysdeps/s390/configure.ac:
22686 Add check for gcc transactions support.
22687 * sysdeps/s390/configure: Regenerate.
22688 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
22689 Build elision files if enabled.
22690 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
22691 Add lock elision support for s390.
22692 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
22693 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
22694 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
22695 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
22696 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
22697 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
22698 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
22699 Likewise.
22700 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
22701 Likewise.
22702 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
22703 Likewise.
22704 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
22705 Likewise.
22706 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
22707 (__lll_timedlock_elision, __lll_lock_elision)
22708 (__lll_unlock_elision, __lll_trylock_elision)
22709 (lll_timedlock_elision, lll_lock_elision)
22710 (lll_unlock_elision, lll_trylock_elision): Add.
22711 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
22712 (pthread_mutex_t): Add lock elision support for s390.
22713
22714 2014-05-14 Wilco <wdijkstr@arm.com>
22715
22716 * sysdeps/arm/fclrexcpt.c: Cleanup.
22717 * sysdeps/arm/fedisblxcpt.c: Cleanup.
22718 * sysdeps/arm/feenablxcpt.c: Cleanup.
22719 * sysdeps/arm/fegetenv.c: Cleanup.
22720 * sysdeps/arm/fegetexcept.c: Cleanup.
22721 * sysdeps/arm/fegetround.c: Cleanup.
22722 * sysdeps/arm/feholdexcpt.c: Cleanup.
22723 * sysdeps/arm/fesetenv.c: Cleanup.
22724 * sysdeps/arm/fesetround.c: Cleanup.
22725 * sysdeps/arm/feupdateenv.c: Cleanup.
22726 * sysdeps/arm/fgetexcptflg.c: Cleanup.
22727 * sysdeps/arm/fraiseexcpt.c: Cleanup.
22728 * sysdeps/arm/fsetexcptflg.c: Cleanup.
22729 * sysdeps/arm/ftestexcept.c: Cleanup.
22730 * sysdeps/arm/get-rounding-mode.h: Cleanup.
22731 * sysdeps/arm/setfpucw.c: Cleanup.
22732
22733 2014-05-09 Will Newton <will.newton@linaro.org>
22734
22735 * sysdeps/arm/armv7/strcmp.S: New file.
22736 * NEWS: Mention addition of ARMv7 optimized strcmp.
22737
22738 2014-05-08 Roland McGrath <roland@hack.frob.com>
22739
22740 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
22741 look for %.ac rather than %.in.
22742
22743 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
22744 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
22745 * sysdeps/mach/hurd/configure: Regenerated.
22746 * sysdeps/unix/sysv/linux/configure: Regenerated.
22747
22748 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
22749
22750 2014-05-07 Steve Ellcey <sellcey@mips.com>
22751
22752 [BZ# 16922]
22753 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
22754 (LONG_SUB): Ditto.
22755 (PTR_SUB): Ditto.
22756
22757 2014-05-07 Andreas Schwab <schwab@suse.de>
22758
22759 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
22760 when skipping over non-matching result from nscd.
22761
22762 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
22763
22764 [BZ #16876]
22765 * nptl/sockperf.c (client): Check socket return value.
22766
22767 [BZ #16877]
22768 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
22769 nscd security class.
22770
22771 2014-05-06 Roland McGrath <roland@hack.frob.com>
22772
22773 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
22774 * sysdeps/arm/unwind.h: ... here.
22775
22776 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
22777
22778 [BZ# 16916]
22779 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
22780 Define.
22781
22782 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
22783
22784 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
22785 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
22786 multiarch strncpy for PPC64.
22787 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
22788 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
22789 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
22790 multiarch optimizations.
22791 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22792 (__libc_ifunc_impl_list): Likewise.
22793 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
22794 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
22795 multiarch stpncpy for PPC64.
22796 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
22797 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
22798
22799 2014-05-06 Andreas Schwab <schwab@suse.de>
22800
22801 [BZ #16912]
22802 * gmon/mcount.c (_MCOUNT_DECL): Use
22803 atomic_compare_and_exchange_bool_acq instead of
22804 catomic_compare_and_exchange_bool_acq.
22805
22806 2014-05-05 Roland McGrath <roland@hack.frob.com>
22807
22808 * elf/Makefile (others, install-bin): Remove pldd.
22809 (pldd-modules): Variable removed.
22810 ($(objpfx)pldd): Target removed.
22811 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
22812 (others, install-bin): Append pldd here.
22813 ($(objpfx)pldd): New target.
22814
22815 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
22816 to 0, so the first #if test emitted later doesn't see it undefined.
22817 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
22818 * sysdeps/gnu/errlist.c: Regenerated.
22819
22820 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22821
22822 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
22823 [libc_hidden_builtin_def]: Define to empty value.
22824 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
22825 [libc_hidden_builtin_def]: Likewise.
22826 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
22827 [libc_hidden_builtin_def]: Likewise.
22828 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
22829 [libc_hidden_builtin_def]: Likewise.
22830 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
22831 __redirect_memcpy and define ifunc as default hidden symbol.
22832 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
22833 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
22834
22835 2014-05-04 Adam Conrad <adconrad@0c3.net>
22836
22837 * locale/iso-4217.def: Reintroduce XDR currency.
22838
22839 2014-05-04 Allan McRae <allan@archlinux.org>
22840
22841 * po/eo.po: Update Esperanto translation from translation project.
22842
22843 2014-05-02 Carlos O'Donell <carlos@redhat.com>
22844
22845 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
22846 and FEATURE_INDEX_MAX to 1.
22847 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
22848
22849 2014-05-01 Steve Ellcey <sellcey@mips.com>
22850
22851 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
22852 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
22853 * iconvdata/big5.c (ONE_DIRECTION): Define.
22854 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
22855 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
22856 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
22857 * iconvdata/cp932.c (ONE_DIRECTION): Define.
22858 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
22859 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
22860 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
22861 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
22862 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
22863 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
22864 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
22865 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
22866 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
22867 * iconvdata/gbk.c (ONE_DIRECTION): Define.
22868 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
22869 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
22870 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
22871 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
22872 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
22873 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
22874 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
22875 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
22876 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
22877 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
22878 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
22879 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
22880 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
22881 * iconvdata/iso646.c (ONE_DIRECTION): Define.
22882 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
22883 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
22884 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
22885 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
22886 * iconvdata/johab.c (ONE_DIRECTION): Define.
22887 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
22888 * iconvdata/sjis.c (ONE_DIRECTION): Define.
22889 * iconvdata/t.61.c (ONE_DIRECTION): Define.
22890 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
22891 * iconvdata/tscii.c (ONE_DIRECTION): Define.
22892 * iconvdata/uhc.c (ONE_DIRECTION): Define.
22893 * iconvdata/unicode.c (ONE_DIRECTION): Define.
22894 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
22895 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
22896 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
22897
22898 2014-05-01 Roland McGrath <roland@hack.frob.com>
22899
22900 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
22901 (_IO_JUMPS_OFFSET): Define to 0.
22902
22903 * nptl/sysdeps/pthread/bits/libc-lock.h
22904 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
22905 (__libc_lock_define_initialized_recursive): Always define using
22906 initializer. Modern compilers treat uninitialized (implicit zero) and
22907 explicit zero initializers the same (i.e. put the datum in bss).
22908
22909 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
22910
22911 * nscd/nscd-client.h: Include <string.h>.
22912
22913 2014-05-01 David S. Miller <davem@davemloft.net>
22914
22915 [BZ #16885]
22916 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
22917 multiple zero bytes exist at the end of a string.
22918 Reported by Aurelien Jarno <aurelien@aurel32.net>
22919
22920 * string/test-strcmp.c (check): Add explicit test for situations where
22921 there are multiple zero bytes after the first.
22922
22923 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
22924
22925 [BZ #16890]
22926 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
22927 when compiling wprintf.
22928 * stdio-common/tstdiomisc.c (t3): New function.
22929 (main): Call it.
22930
22931 2014-05-01 Steve Ellcey <sellcey@mips.com>
22932
22933 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
22934 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
22935 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
22936 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
22937
22938 2014-05-01 Steve Ellcey <sellcey@mips.com>
22939
22940 * stdlib/longlong.h: Updated from GCC.
22941
22942 2014-05-01 Will Newton <will.newton@linaro.org>
22943 Bernard Ogden <bernie.ogden@linaro.org>
22944
22945 * NEWS: Update fixed bug list.
22946
22947 [BZ #15119]
22948 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
22949
22950 2014-04-30 David S. Miller <davem@davemloft.net>
22951
22952 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
22953 (libc_feholdexcept_setround_sparc_ctx): New function.
22954 (libc_fesetenv_sparc_ctx): Likewise.
22955 (libc_feupdateenv_sparc_ctx): Likewise.
22956 (libc_feholdsetround_sparc_ctx): Likewise.
22957 (libc_feholdexcept_setround_ctx): Define.
22958 (libc_feholdexcept_setroundf_ctx): Likewise.
22959 (libc_feholdexcept_setroundl_ctx): Likewise.
22960 (libc_fesetenv_ctx): Likewise.
22961 (libc_fesetenvf_ctx): Likewise.
22962 (libc_fesetenvl_ctx): Likewise.
22963 (libc_feupdateenv_ctx): Likewise.
22964 (libc_feupdateenvf_ctx): Likewise.
22965 (libc_feupdateenvl_ctx): Likewise.
22966 (libc_feresetround_ctx): Likewise.
22967 (libc_feresetroundf_ctx): Likewise.
22968 (libc_feresetroundl_ctx): Likewise.
22969 (libc_feholdsetround_ctx): Likewise.
22970 (libc_feholdsetroundf_ctx): Likewise.
22971 (libc_feholdsetroundl_ctx): Likewise.
22972
22973 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
22974 with __USE_GNU instead of XOPEN cpp guards.
22975
22976 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
22977 0.
22978
22979 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
22980 with XOPEN cpp guards.
22981
22982 2014-04-30 Julian Brown <julian@codesourcery.com>
22983
22984 [BZ #16888]
22985 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
22986 handling.
22987
22988 2014-04-30 Joseph Myers <joseph@codesourcery.com>
22989
22990 [BZ #9894]
22991 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
22992 Change to 2.6.32.
22993 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
22994 * sysdeps/unix/sysv/linux/configure: Regenerated.
22995 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
22996 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
22997 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
22998 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
22999 * README: Update reference to required Linux kernel version.
23000 * manual/install.texi (Linux): Update reference to required Linux
23001 kernel headers version.
23002 * INSTALL: Regenerated.
23003
23004 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
23005 header inclusion.
23006 [POSIX] (limits.h): Likewise.
23007 [POSIX] (math.h): Likewise.
23008 [POSIX] (sys/wait.h): Likewise.
23009 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
23010 function.
23011 [POSIX] (stddef.h): Do not allow header inclusion.
23012
23013 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23014
23015 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
23016
23017 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
23018
23019 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
23020 Return immediately after lll_futex_wake.
23021
23022 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
23023
23024 [BZ #16791]
23025 * nscd/nscd-client.h (datahead_init_common): Initialize entire
23026 structure.
23027 (datahead_init_pos): Call datahead_init_common early.
23028 (datahead_init_neg): Likewise.
23029
23030 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
23031 datahead_init_neg): New functions.
23032 * nscd/aicache.c (addhstaiX): Use them.
23033 * nscd/grpcache.c (cache_addgr): Likewise.
23034 * nscd/hstcache.c (cache_addhst): Likewise.
23035 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23036 * nscd/netgroupcache.c (do_notfound): Likewise.
23037 (addgetnetgrentX): Likewise.
23038 (addinnetgrX): Likewise.
23039 * nscd/pwdcache.c (cache_addpw): Likewise.
23040 * nscd/servicescache.c (cache_addserv): Likewise.
23041
23042 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
23043 Atsushi Onoe <atsushi@onoe.org>
23044
23045 [BZ #14308]
23046 [BZ #12994]
23047 [BZ #13651]
23048 * resolv/res_query.c (__libc_res_nsearch): Return if at least
23049 one response is valid.
23050 * resolv/res_send.c (send_dg): Check for validity of other
23051 response if the current response is a referral.
23052
23053 2014-04-29 Steve Ellcey <sellcey@mips.com>
23054
23055 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
23056
23057 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
23058
23059 [BZ #16823]
23060 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
23061 Always divide by positive zero when computing -Inf result.
23062 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
23063 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
23064
23065 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23066
23067 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
23068 FPSCR if value do not change.
23069 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
23070 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
23071 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
23072 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
23073 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
23074 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
23075 function.
23076
23077 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
23078
23079 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
23080 * sysdeps/unix/sysv/linux/hppa: Move directory from
23081 ports/systeps/unix/sysv/linux/hppa.
23082 * README: Update listing for hppa-*-linux-gnu.
23083
23084 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
23085
23086 [BZ #16754]
23087 * manual/stdio.texi (Hook functions): Fix types of stream hook
23088 functions.
23089 [BZ #16854]
23090 * socket/sys/socket.h: Fix typo in comment.
23091
23092 2014-04-28 Wilco <wdijkstr@arm.com>
23093
23094 * sysdeps/arm/fenv_private.h: New file.
23095 * sysdeps/arm/math_private.h: New file.
23096 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
23097
23098 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
23099
23100 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
23101 with __int128_t.
23102 (La_x86_64_retval): Likewise.
23103
23104 2014-04-24 Ian Bolton <ian.bolton@arm.com>
23105
23106 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
23107 fpsr if value didn't change.
23108 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
23109 to fpcr if value didn't change.
23110 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
23111 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
23112 fpsr or fpcr if value didn't change.
23113 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
23114 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
23115 fpcr if value didn't change.
23116 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
23117 to fpsr if value didn't change.
23118
23119 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
23120
23121 * nptl/tst-sem3.c: Use test-skeleton.c
23122 (main): Rename to do_test. Use return instead of
23123 exit.
23124 * nptl/tst-sem4.c: Use test-skeleton.c
23125 (main): Rename to do_test.
23126
23127 2014-04-22 David S. Miller <davem@davemloft.net>
23128
23129 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
23130 (struct sigaction): New struct member __glibc_reserved0, change
23131 type of sa_flags to int.
23132
23133 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
23134
23135 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
23136 (COUNT_LEADING_ZEROS_0): Define for AArch64.
23137
23138 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
23139
23140 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
23141 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
23142
23143 2014-04-22 Will Newton <will.newton@linaro.org>
23144 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
23145
23146 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
23147 (__longjmp): Add longjmp and longjmp_target SystemTap
23148 probes.
23149 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
23150 (__sigsetjmp): Add setjmp SystemTap probe.
23151
23152 2014-04-17 Carlos O'Donell <carlos@redhat.com>
23153
23154 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
23155 match manual order.
23156
23157 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23158
23159 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
23160
23161 * sysdeps/powerpc/fpu/fenv_private.h
23162 (libc_feholdexcept_setroundl_ctx): Define to
23163 libc_feholdexcept_setround_ppc_ctx.
23164 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
23165 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
23166 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
23167 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
23168
23169 2014-04-17 Ian Bolton <ian.bolton@arm.com>
23170
23171 * sysdeps/aarch64/math-tests.h: New file.
23172
23173 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
23174
23175 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
23176 New.
23177 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23178 Check and set bit_AVX2_Usable.
23179 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
23180 macro.
23181 (bit_AVX2): Likewise.
23182 (index_AVX2_Usable): Likewise.
23183 (CPUID_AVX2): Likewise.
23184 (HAS_AVX2): Likewise.
23185
23186 2014-04-17 Will Newton <will.newton@linaro.org>
23187
23188 * manual/setjmp.texi (System V contexts): Add note that
23189 calling setcontext on a context created by a call to a
23190 signal handler is undefined. Update text to note that
23191 setcontext from a signal handler is possible but not
23192 recommended.
23193
23194 [BZ #16629]
23195 * stdlib/tst-setcontext.c: Include signal.h.
23196 (main): Check that the signal stack before and
23197 after swapcontext is the same.
23198
23199 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
23200 Re-implement to restore registers in user code and avoid
23201 rt_sigreturn system call.
23202
23203 2014-04-17 Wilco <wdijkstr@arm.com>
23204
23205 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
23206 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
23207 * math/test-fenv.c: Skip exception trap tests on targets which only
23208 support non-stop mode.
23209
23210 2014-04-17 Ian Bolton <ian.bolton@arm.com>
23211 Wilco Dijkstra <wilco.dijkstra@arm.com>
23212
23213 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
23214 (libc_feholdsetround_aarch64_ctx)
23215 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
23216 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
23217 (libc_feresetround_ctx, libc_feresetroundf_ctx)
23218 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
23219 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
23220 (libc_feresetround_noexl_ctx): Define.
23221
23222 2014-04-16 Richard Henderson <rth@redhat.com>
23223
23224 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
23225
23226 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
23227 unwind tables.
23228
23229 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
23230 const from the non-libc, non-ldso copy.
23231
23232 * sysdeps/alpha/libm-test-ulps: Regenerate.
23233
23234 2014-04-16 Ian Bolton <ian.bolton@arm.com>
23235 Wilco Dijkstra <wilco.dijkstra@arm.com>
23236
23237 * sysdeps/aarch64/fpu/math_private.h: New file.
23238
23239 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
23240
23241 * sysdeps/aarch64/libm-test-ulps: Regenerate.
23242
23243 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
23244
23245 [BZ #16275]
23246 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
23247 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
23248 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
23249 Intel MPX bound registers before _dl_profile_fixup.
23250 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
23251 registers after _dl_profile_fixup. Save and restore bound
23252 registers bnd0/bnd1 when calling _dl_call_pltexit.
23253 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
23254 (LR_BND_OFFSET): Likewise.
23255 (LRV_BND0_OFFSET): Likewise.
23256 (LRV_BND1_OFFSET): Likewise.
23257
23258 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
23259
23260 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
23261 to...
23262 * sysdeps/mach/hurd/i386/tls.h: ... here.
23263 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
23264 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
23265 fields.
23266
23267 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
23268
23269 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
23270
23271 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
23272
23273 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
23274
23275 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
23276
23277 [BZ #14770]
23278 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
23279 * sysdeps/s390/configure: Regenerate.
23280
23281 [BZ #16824]
23282 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
23283 Set round-to-nearest internally to reduce error accumulation.
23284
23285 2014-04-16 Alan Modra <amodra@gmail.com>
23286
23287 [BZ #16740]
23288 [BZ #16619]
23289 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
23290 * math/libm-test.inc (frexp_test_data): Add tests.
23291 * NEWS: Update fixed bug list.
23292
23293 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23294
23295 * benchtests/Makefile: Depend on libraries in build directory.
23296 (bench-math): Separate out math tests.
23297 (bench-pthread): Separate out pthread tests.
23298 (bench): Include math and pthread tests.
23299
23300 2014-04-14 Carlos O'Donell <carlos@redhat.com>
23301
23302 [BZ #16831]
23303 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
23304 _dl_debug_initialize.
23305
23306 * configure.ac: Remove SELinux header check.
23307 * configure: Regenerate.
23308 * nscd/selinux.c (perms): Array of const char* to permission names.
23309 (nscd_request_avc_has_perm): Call security_deny_unknown to find
23310 default policy. Call string_to_security_class and string_to_av_perm to
23311 translate strings. Enforce default policy and call avs_has_perm with
23312 results of translated strings.
23313
23314 2014-04-13 David S. Miller <davem@davemloft.net>
23315
23316 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23317
23318 2014-04-12 Allan McRae <allan@archlinux.org>
23319
23320 [BZ #16838]
23321 * manual/string.texi (Collation Functions): Fix qsort argument
23322 order in example.
23323 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
23324
23325 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
23326
23327 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
23328 Make the test a no-op if there are no exceptions defined.
23329
23330 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
23331
23332 * elf/Makefile (tests): make tst-dlopen-aout conditional on
23333 enable-hardcoded-path-in-tests
23334
23335 2014-04-11 Will Newton <will.newton@linaro.org>
23336
23337 * benchtests/Makefile (extra-objs): Add json-lib.o.
23338 (bench-func): Tidy up JSON output.
23339 * benchtests/bench-skeleton.c: Include json-lib.h.
23340 (main): Use JSON library functions to do output of
23341 benchmark results.
23342 * benchtests/bench-timing-type.c (main): Output the
23343 timing type simply, leaving formatting to the user.
23344 * benchtests/json-lib.c: New file.
23345 * benchtests/json-lib.h: Likewise.
23346
23347 2014-04-11 Torvald Riegel <triegel@redhat.com>
23348
23349 [BZ #15215]
23350 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
23351 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
23352 memory barriers. Add comments.
23353 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
23354 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
23355 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
23356 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
23357 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
23358 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
23359
23360 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
23361
23362 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
23363 * sysdeps/s390/s390-64/configure.ac: ... this ...
23364 * sysdeps/s390/configure.ac: ... to here.
23365 * sysdeps/s390/s390-32/configure: Delete file.
23366 * sysdeps/s390/s390-64/configure: Delete file.
23367 * sysdeps/s390/configure: Regenerate.
23368
23369 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
23370
23371 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
23372
23373 2014-04-11 Will Newton <will.newton@linaro.org>
23374
23375 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
23376 to zero if it is not defined elsewhere. (mtrim): Test
23377 the value of MALLOC_DEBUG with #if rather than #ifdef.
23378
23379 2014-04-10 Torvald Riegel <triegel@redhat.com>
23380
23381 * benchtests/pthread_once-inputs: New file.
23382 * benchtests/pthread_once-source.c: New file.
23383 * benchtests/README: Update documentation.
23384
23385 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
23386 H.J. Lu <hongjiu.lu@intel.com>
23387
23388 [BZ #16275]
23389 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
23390 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
23391 * sysdeps/x86_64/configure: Regenerated.
23392 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
23393 macro.
23394 (REGISTER_SAVE_RAX): Likewise.
23395 (REGISTER_SAVE_RCX): Likewise.
23396 (REGISTER_SAVE_RDX): Likewise.
23397 (REGISTER_SAVE_RSI): Likewise.
23398 (REGISTER_SAVE_RDI): Likewise.
23399 (REGISTER_SAVE_R8): Likewise.
23400 (REGISTER_SAVE_R9): Likewise.
23401 (REGISTER_SAVE_BND0): Likewise.
23402 (REGISTER_SAVE_BND1): Likewise.
23403 (REGISTER_SAVE_BND2): Likewise.
23404 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
23405 bound registers when calling _dl_fixup.
23406
23407 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23408
23409 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
23410 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
23411 of its definition.
23412 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
23413 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
23414 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
23415 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
23416 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
23417 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
23418 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
23419
23420 2014-04-09 Peter Brett <peter@peter-b.co.uk>
23421
23422 [BZ #15514]
23423 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
23424 pathconf(_PC_NAME_MAX).
23425
23426 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23427
23428 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
23429 Remove macro usage.
23430 (__PTHREAD_SPINS): Move definition to ...
23431 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
23432 (__PTHREAD_SPINS): ... here.
23433 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
23434 (__PTHREAD_SPIN): Likewise.
23435 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
23436 (__PTHREAD_SPIN): Likewise.
23437 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
23438 (__PTHREAD_SPIN): Likewise.
23439 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
23440 (__PTHREAD_SPIN): Likewise.
23441 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
23442 (__PTHREAD_SPIN): Likewise.
23443 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
23444 (__PTHREAD_SPIN): Likewise.
23445 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
23446 (__PTHREAD_SPIN): Likewise.
23447 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
23448 (__PTHREAD_SPIN): Likewise.
23449 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
23450 (__PTHREAD_SPIN): Likewise.
23451 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
23452 (__PTHREAD_SPIN): Likewise.
23453 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
23454 (__PTHREAD_SPIN): Likewise.
23455 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
23456 (__PTHREAD_SPIN): Likewise.
23457
23458 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
23459 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
23460 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
23461 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
23462 imply folder.
23463 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
23464 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
23465 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
23466 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
23467 correct imply path.
23468 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
23469 strlen symbol for non multi-arch builds.
23470 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
23471 missing hidden_def and weak_alias.
23472
23473 2014-04-08 Carlos O'Donell <carlos@redhat.com>
23474
23475 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
23476
23477 2014-04-07 Will Newton <will.newton@linaro.org>
23478
23479 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
23480 and contents. [!_LIBC] Remove #ifndef and contents.
23481 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
23482 * string/memccpy.c (__memccpy): Use ANSI prototype.
23483 * string/memfrob.c (memfrob): Likewise.
23484 * string/strcoll.c (STRCOLL): Likewise.
23485 * string/strlen.c (strlen): Likewise.
23486 * string/strtok.c (STRTOK): Likewise.
23487 * string/strcat.c: Remove unused #include of memcopy.h.
23488 (strcat): Use ANSI prototype.
23489 * string/strchr.c: Remove unused #include of memcopy.h.
23490 (strchr): Use ANSI prototype.
23491 * string/strcmp.c: Remove unused #include of memcopy.h.
23492 (strcmp): Use ANSI prototype.
23493 * string/strcpy.c: Remove unused #include of memcopy.h.
23494 (strcpy): Use ANSI prototype.
23495
23496 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23497
23498 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
23499 * config.make.in (config-extra-cppflags): Set it from
23500 libc_extra_cppflags.
23501 * configure.ac (libc_extra_cflags): Make it accumulate over
23502 configure fragments.
23503 (libc_extra_cppflags): New flag.
23504 * configure. Regenerate.
23505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
23506 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
23507 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
23508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
23509
23510 [BZ #16815]
23511 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
23512 result for FE_DOWNWARD rounding mode.
23513 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
23514 Likewise.
23515 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23516
23517 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
23518
23519 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
23520 in function argument name.
23521
23522 2014-04-03 David Svoboda <svoboda@cert.org>
23523
23524 [BZ #5666]
23525 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
23526 explicitly.
23527
23528 2014-04-03 Roland McGrath <roland@hack.frob.com>
23529
23530 * elf/dl-unmap-segments.h: New file.
23531 * sysdeps/generic/ldsodefs.h
23532 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
23533 * elf/dl-close.c: Include <dl-unmap-segments.h>.
23534 * elf/dl-fptr.c: Likewise.
23535 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
23536 * sysdeps/aarch64/tlsdesc.c: Likewise.
23537 * sysdeps/arm/tlsdesc.c: Likewise.
23538 * sysdeps/i386/tlsdesc.c: Likewise.
23539 * sysdeps/tile/dl-runtime.c: Likewise.
23540 * sysdeps/x86_64/tlsdesc.c: Likewise.
23541 * elf/dl-load.h: New file.
23542 * elf/dl-load.c: Include it.
23543 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
23544 Macros moved to dl-load.h.
23545 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
23546 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
23547 Use _dl_unmap_segments in place of __munmap.
23548 Break out segment-mapping loop into ...
23549 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
23550
23551 2014-04-03 Will Newton <will.newton@linaro.org>
23552
23553 * elf/dl-lookup.c (do_lookup_x): Remove comment
23554 referring to nested function and move variable
23555 declarations down to before first use.
23556
23557 2014-04-02 Joseph Myers <joseph@codesourcery.com>
23558
23559 [BZ #16799]
23560 [BZ #16800]
23561 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
23562 with 0 numerator.
23563 * math/s_catanf.c (__catanf): Likewise.
23564 * math/s_catanh.c (__catanh): Likewise.
23565 * math/s_catanhf.c (__catanhf): Likewise.
23566 * math/s_catanhl.c (__catanhl): Likewise.
23567 * math/s_catanl.c (__catanl): Likewise.
23568 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
23569 by positive zero when computing -Inf result.
23570 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
23571 (catanh_test): Likewise.
23572 * sysdeps/i386/fpu/libm-test-ulps: Update.
23573 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23574
23575 [BZ #16789]
23576 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
23577 instead of using underflowing value in computing result.
23578 * math/s_clog10.c (__clog10): Likewise.
23579 * math/s_clog10f.c (__clog10f): Likewise.
23580 * math/s_clog10l.c (__clog10l): Likewise.
23581 * math/s_clogf.c (__clogf): Likewise.
23582 * math/s_clogl.c (__clogl): Likewise.
23583 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
23584 (clog10_test): Likewise.
23585 * sysdeps/i386/fpu/libm-test-ulps: Update.
23586 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23587
23588 2014-04-02 Alan Modra <amodra@gmail.com>
23589
23590 [BZ #16739]
23591 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
23592 output when value is near a power of two. Use int64_t for lx and
23593 remove casts. Use decimal rather than hex exponent constants.
23594 Don't use long double multiplication when double will suffice.
23595 * math/libm-test.inc (nextafter_test_data): Add tests.
23596 * NEWS: Add 16739 and 16786 to bug list.
23597
23598 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
23599
23600 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
23601
23602 2014-04-01 Will Newton <will.newton@linaro.org>
23603
23604 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
23605 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
23606
23607 2014-04-01 Florian Weimer <fweimer@redhat.com>
23608
23609 [BZ #13347]
23610 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
23611 * nptl/tst-setuid2.c: New file.
23612 * nptl/Makefile (xtests): Add tst-setuid2.
23613
23614 2014-04-01 Alan Modra <amodra@gmail.com>
23615
23616 [BZ #16786]
23617 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
23618
23619 2014-03-31 Joseph Myers <joseph@codesourcery.com>
23620
23621 [BZ #6803]
23622 [BZ #6804]
23623 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
23624 set errno as appropriate.
23625 * math/w_scalbf.c (__scalbf): Likewise.
23626 * math/w_scalbl.c (__scalbl): Likewise.
23627 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
23628 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
23629 * math/libm-test.inc (scalb_test_data): Add errno expectations.
23630 Add more NaN tests.
23631
23632 [BZ #16349]
23633 * math/w_atan2.c: Include <errno.h>.
23634 (__atan2): Set errno for result underflowing to zero.
23635 * math/w_atan2f.c: Include <errno.h>.
23636 (__atan2f): Set errno for result underflowing to zero.
23637 * math/w_atan2l.c: Include <errno.h>.
23638 (__atan2l): Set errno for result underflowing to zero.
23639 * math/auto-libm-test-in: Don't allow missing errno for some atan2
23640 tests.
23641 * math/auto-libm-test-out: Regenerated.
23642
23643 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23644
23645 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
23646 Encode instruction correctly in little endian.
23647 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
23648 Likewise.
23649 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
23650 Likewise.
23651 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
23652 Likewise.
23653 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
23654 Likewise.
23655
23656 2014-03-31 Joseph Myers <joseph@codesourcery.com>
23657
23658 [BZ #9894]
23659 * sysdeps/unix/sysv/linux/kernel-features.h
23660 [__sparc__ && !__arch64__ && !__sparc_v9__]
23661 (__ASSUME_SET_ROBUST_LIST): Do not define.
23662 [__sparc__ && !__arch64__ && !__sparc_v9__]
23663 (__ASSUME_FUTEX_LOCK_PI): Likewise.
23664 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
23665 Likewise.
23666 * sysdeps/unix/sysv/linux/arm/kernel-features.h
23667 (__ASSUME_FUTEX_LOCK_PI): Undefine.
23668 (__ASSUME_REQUEUE_PI): Likewise.
23669 (__ASSUME_SET_ROBUST_LIST): Likewise.
23670 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
23671 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
23672 Undefine.
23673 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23674 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
23675 Likewise.
23676 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
23677 Likewise.
23678 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
23679 Likewise.
23680 * sysdeps/unix/sysv/linux/mips/kernel-features.h
23681 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
23682 Undefine.
23683 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
23684 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
23685 Likewise.
23686
23687 [BZ #16648]
23688 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23689 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
23690 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
23691
23692 2014-03-31 Will Newton <will.newton@linaro.org>
23693
23694 * benchtests/Makefile (bench): Add ffs and ffsll to list
23695 of tests.
23696 * benchtests/ffs-inputs: New file.
23697 * benchtests/ffsll-inputs: Likewise.
23698
23699 2014-03-29 Joseph Myers <joseph@codesourcery.com>
23700
23701 [BZ #16770]
23702 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
23703 too large before casting to int.
23704 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
23705 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
23706 * math/libm-test.inc (scalb_test_data): Add more tests.
23707
23708 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
23709
23710 * benchtests/Makefile (DETAILED_OPT): New make option.
23711 (bench-func): Run benchmark program with -d if DETAILED_OPT is
23712 set.
23713 * benchtests/bench-skeleton.c: Include stdbool.h.
23714 (main): Store and print timings per input.
23715 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
23716 member to each argument value.
23717 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
23718 (_print_arg_data): Initialize per-input timing to 0.
23719
23720 * benchtests/Makefile (timing-type): New binary.
23721 (bench-clean): Also remove bench-timing-type.
23722 (bench): New target for timing-type.
23723 (bench-func): Print output in JSON format.
23724 * benchtests/bench-skeleton.c (main): Print output in JSON
23725 format.
23726 * benchtests/bench-timing-type.c: New file.
23727 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
23728 (TIMING_PRINT_STATS): Remove.
23729 * benchtests/scripts/bench.py (_print_arg_data): Store variant
23730 name separately.
23731
23732 * benchtests/bench-modf.c: Remove.
23733 * benchtests/modf-inputs: New inputs file.
23734
23735 2014-03-28 Joseph Myers <joseph@codesourcery.com>
23736
23737 [BZ #16362]
23738 * math/s_clog10.c (M_PI_LOG10E): New macro.
23739 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
23740 imaginary parts are 0.
23741 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
23742 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
23743 imaginary parts are 0.
23744 * math/s_clog10l.c (M_PI_LOG10El): New macro.
23745 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
23746 imaginary parts are 0.
23747 * math/libm-test.inc (clog10_test_data): Update expected results
23748 for when real and imaginary parts are 0.
23749
23750 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
23751
23752 * elf/dl-load.c: Finish conversion of __builtin_expect into
23753 __glibc_{un}likely.
23754
23755 2014-03-27 Joseph Myers <joseph@codesourcery.com>
23756
23757 [BZ #16348]
23758 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
23759 1+x for argument with exponent below -67.
23760 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
23761 Likewise.
23762 * math/auto-libm-test-in: Add more tests of exp.
23763 * math/auto-libm-test-out: Regenerated.
23764
23765 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23766
23767 [BZ #16759]
23768 * inet/getnetgrent_r.c (get_nonempty_val): New function.
23769 (nscd_getnetgrent): Use it.
23770
23771 [BZ #16760]
23772 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
23773 of stpcpy.
23774
23775 2014-03-27 Andi Kleen <ak@linux.intel.com>
23776
23777 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
23778 (lll_robust_lock, lll_cond_lock, lll_timedlock)
23779 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
23780 (lll_robust_unlock): Remove out of line section. Use cfi
23781 intrinsics.
23782 (LLL_STUB_UNWIND_INFO*): Remove.
23783 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
23784 (lll_robust_lock, lll_cond_lock, lll_timedlock)
23785 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
23786 (lll_robust_unlock): Remove out of line section. Use cfi
23787 intrinsics.
23788 (LLL_STUB_UNWIND_INFO*): Remove.
23789
23790 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23791
23792 [BZ #16758]
23793 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
23794 blank values.
23795
23796 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
23797
23798 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
23799
23800 2014-03-26 Joseph Myers <joseph@codesourcery.com>
23801
23802 [BZ #16198]
23803 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
23804 fnstenv.
23805 * math/test-fenv-preserve.c: New file.
23806 * math/Makefile (tests): Add test-fenv-preserve.
23807
23808 2014-03-26 Will Newton <will.newton@linaro.org>
23809
23810 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
23811
23812 2014-03-25 Roland McGrath <roland@hack.frob.com>
23813
23814 * scripts/versionlist.awk: Partition the version sets and emit all
23815 GLIBC_* (sorted) before all others (sorted).
23816
23817 2014-03-25 Joseph Myers <joseph@codesourcery.com>
23818
23819 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
23820 GLIBC_2.2.5 version.
23821
23822 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23823
23824 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
23825 calls.
23826
23827 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
23828 previous change.
23829
23830 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23831
23832 2014-03-25 Andreas Schwab <schwab@suse.de>
23833
23834 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
23835 label to be used after in6ailist is initialized.
23836
23837 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23838
23839 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
23840 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
23841
23842 2014-03-25 Joseph Myers <joseph@codesourcery.com>
23843
23844 [BZ #16357]
23845 [BZ #16599]
23846 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
23847 min_plus_half.
23848 (fp_formats): Update initializers.
23849 (init_fp_formats): Initialize new field.
23850 (output_for_one_input_case): Allow underflow for results up to
23851 min_plus_half.
23852 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
23853 * math/auto-libm-test-in: Don't mark some underflows from asin and
23854 atanh as spurious.
23855 * math/auto-libm-test-out: Regenerated.
23856 * sysdeps/i386/fpu/libm-test-ulps: Update.
23857 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23858
23859 2014-03-25 Andreas Schwab <schwab@suse.de>
23860
23861 * libio/Makefile (tst-ftell-partial-wide-ENV)
23862 (tst-ftell-active-handler-ENV): Define.
23863
23864 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
23865
23866 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
23867
23868 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
23869
23870 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
23871
23872 2014-03-24 Joseph Myers <joseph@codesourcery.com>
23873
23874 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
23875 * sysdeps/x86_64/fpu/multiarch/e_exp.c
23876 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
23877
23878 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
23879
23880 [BZ #16634]
23881 * elf/dl-load.c (open_verify): Add mode parameter.
23882 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
23883 (open_path): Change from boolean 'secure' to complete flag 'mode'
23884 (_dl_map_object): Adjust.
23885 * elf/Makefile (tests): Add tst-dlopen-aout.
23886 * elf/tst-dlopen-aout.c: New test.
23887
23888 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
23889
23890 [BZ #16714]
23891 * sysdeps/unix/sysv/linux/s390/bits/stat.h
23892 (struct stat): Rename member pad0 to __glibc_reserved0.
23893
23894 [BZ #16712]
23895 * sysdeps/s390/s390-32/bits/wordsize.h
23896 (__WORDSIZE32_SIZE_ULONG): New define.
23897 * sysdeps/s390/s390-64/bits/wordsize.h
23898 (__WORDSIZE32_SIZE_ULONG): Likewise.
23899 * sysdeps/generic/stdint.h (SIZE_MAX):
23900 Define as UL if __WORDSIZE32_SIZE_ULONG.
23901
23902 [BZ #16713]
23903 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
23904 (__glibc_reserved0): New variable.
23905 (sa_flags): Change type to int.
23906
23907 * posix/Makefile (before-compile): Use += before-compile instead
23908 of a :=.
23909
23910 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
23911 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
23912
23913 2014-03-20 Andreas Schwab <schwab@suse.de>
23914
23915 [BZ #16743]
23916 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
23917 non-matching result from nscd.
23918
23919 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
23920
23921 * scripts/bench.py: Moved to ...
23922 * benchtests/scripts/bench.py: ... here.
23923 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
23924
23925 2014-03-24 Andreas Schwab <schwab@suse.de>
23926
23927 [BZ #16002]
23928 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
23929 alloca_account and account alloca use for struct in6ailist.
23930
23931 2014-03-24 Joseph Myers <joseph@codesourcery.com>
23932
23933 [BZ #16284]
23934 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
23935 rounding mode to recompute results that overflow to infinity or
23936 underflow to zero.
23937 * math/auto-libm-test-in: Don't mark tests as expected to fail for
23938 bug 16284.
23939 * math/auto-libm-test-out: Regenerated.
23940 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
23941 (ccosh_test): Likewise.
23942 (csin_test_data): Use plus_oflow.
23943 (csin_test): Use ALL_RM_TEST.
23944 (csinh_test_data): Use plus_oflow.
23945 (csinh_test): Use ALL_RM_TEST.
23946 * sysdeps/i386/fpu/libm-test-ulps: Update.
23947 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23948
23949 2014-03-21 Joseph Myers <joseph@codesourcery.com>
23950
23951 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
23952 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
23953 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
23954
23955 [BZ #16731]
23956 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
23957 when x - 1 is zero.
23958 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
23959 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
23960 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
23961 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
23962 argument is 1.
23963 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
23964 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
23965 zero.
23966 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
23967 * sysdeps/i386/fpu/libm-test-ulps: Update.
23968 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23969
23970 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23971
23972 * scripts/bench.pl: Remove file.
23973 * scripts/bench.py: New benchmark script.
23974 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
23975 * benchtests/README: Mention python dependency.
23976 * scripts/pylintrc: New file.
23977 * scripts/pylint: New file.
23978
23979 * bits/mathdef.h: Use #ifdef instead of #if.
23980 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
23981 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
23982 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
23983 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
23984 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
23985 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
23986
23987 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23988 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
23989
23990 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
23991 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
23992 and strpbrk-ppc64 objects.
23993 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23994 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
23995 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
23996 multiarch strpbrk for POWER7.
23997 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
23998 multiarch strpbrk for PPC64.
23999 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
24000 ifunc selector.
24001 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
24002 strpbrk for POWER7.
24003
24004 2014-03-20 Joseph Myers <joseph@codesourcery.com>
24005
24006 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
24007 (atan_test): Likewise.
24008 (atanh_test_data): Use NO_TEST_INLINE for two tests.
24009 (atanh_test): Use ALL_RM_TEST.
24010 (atan2_test_data): Likewise.
24011 (cabs_test): Likewise.
24012 (cacosh_test): Likewise.
24013 (carg_test): Likewise.
24014 (casin_test): Likewise.
24015 (casinh_test): Likewise.
24016 (cbrt_test): Likewise.
24017 (csqrt_test): Likewise.
24018 (erf_test): Likewise.
24019 (erfc_test): Likewise.
24020 (pow10_test): Likewise.
24021 (exp2_test): Likewise.
24022 (hypot_test): Likewise.
24023 (j0_test): Likewise.
24024 (j1_test): Likewise.
24025 (lgamma_test): Likewise.
24026 (gamma_test): Likewise.
24027 (sincos_test): Likewise.
24028 (tanh_test): Likewise.
24029 (y0_test): Likewise.
24030 (y1_test): Likewise.
24031 * sysdeps/i386/fpu/libm-test-ulps: Update.
24032 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24033
24034 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24035
24036 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
24037 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
24038 and strcspn-ppc64 objects.
24039 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24040 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
24041 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
24042 multiarch strcspn for POWER7.
24043 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
24044 multiarch strcspn for PPC64.
24045 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
24046 ifunc selector.
24047 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
24048 strcspn for POWER7.
24049
24050 2014-03-20 Joseph Myers <joseph@codesourcery.com>
24051
24052 * math/gen-libm-test.pl (generate_testfile): Expect only function
24053 name as argument to AUTO_TESTS_* and pass results for all rounding
24054 modes to parse_args.
24055 (parse_auto_input): Separate inputs of automatic tests from
24056 outputs before storing in %auto_tests.
24057 * math/libm-test.inc (acos_test_data): Update call to
24058 AUTO_TESTS_f_f.
24059 (acos_test): Use ALL_RM_TEST.
24060 (acos_tonearest_test_data): Remove.
24061 (acos_test_tonearest): Likewise.
24062 (acos_towardzero_test_data): Likewise.
24063 (acos_test_towardzero): Likewise.
24064 (acos_downward_test_data): Likewise.
24065 (acos_test_downward): Likewise.
24066 (acos_upward_test_data): Likewise.
24067 (acos_test_upward): Likewise.
24068 (acosh_test_data): Update call to AUTO_TESTS_f_f.
24069 (asin_test_data): Likewise.
24070 (asin_test): Use ALL_RM_TEST.
24071 (asin_tonearest_test_data): Remove.
24072 (asin_test_tonearest): Likewise.
24073 (asin_towardzero_test_data): Likewise.
24074 (asin_test_towardzero): Likewise.
24075 (asin_downward_test_data): Likewise.
24076 (asin_test_downward): Likewise.
24077 (asin_upward_test_data): Likewise.
24078 (asin_test_upward): Likewise.
24079 (asinh_test_data): Update call to AUTO_TESTS_f_f.
24080 (atan_test_data): Likewise.
24081 (atanh_test_data): Likewise.
24082 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
24083 (cabs_test_data): Update call to AUTO_TESTS_c_f.
24084 (carg_test_data): Likewise.
24085 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
24086 (ccos_test_data): Update call to AUTO_TESTS_c_c.
24087 (ccosh_test_data): Likewise.
24088 (cexp_test_data): Likewise.
24089 (clog_test_data): Likewise.
24090 (clog10_test_data): Likewise.
24091 (cos_test_data): Update call to AUTO_TESTS_f_f.
24092 (cos_test): Use ALL_RM_TEST.
24093 (cos_tonearest_test_data): Remove.
24094 (cos_test_tonearest): Likewise.
24095 (cos_towardzero_test_data): Likewise.
24096 (cos_test_towardzero): Likewise.
24097 (cos_downward_test_data): Likewise.
24098 (cos_test_downward): Likewise.
24099 (cos_upward_test_data): Likewise.
24100 (cos_test_upward): Likewise.
24101 (cosh_test_data): Update call to AUTO_TESTS_f_f.
24102 (cosh_test): Use ALL_RM_TEST.
24103 (cosh_tonearest_test_data): Remove.
24104 (cosh_test_tonearest): Likewise.
24105 (cosh_towardzero_test_data): Likewise.
24106 (cosh_test_towardzero): Likewise.
24107 (cosh_downward_test_data): Likewise.
24108 (cosh_test_downward): Likewise.
24109 (cosh_upward_test_data): Likewise.
24110 (cosh_test_upward): Likewise.
24111 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
24112 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
24113 (ctan_test_data): Likewise.
24114 (ctan_test): Use ALL_RM_TEST.
24115 (ctan_tonearest_test_data): Remove.
24116 (ctan_test_tonearest): Likewise.
24117 (ctan_towardzero_test_data): Likewise.
24118 (ctan_test_towardzero): Likewise.
24119 (ctan_downward_test_data): Likewise.
24120 (ctan_test_downward): Likewise.
24121 (ctan_upward_test_data): Likewise.
24122 (ctan_test_upward): Likewise.
24123 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
24124 (ctanh_test): Use ALL_RM_TEST.
24125 (ctanh_tonearest_test_data): Remove.
24126 (ctanh_test_tonearest): Likewise.
24127 (ctanh_towardzero_test_data): Likewise.
24128 (ctanh_test_towardzero): Likewise.
24129 (ctanh_downward_test_data): Likewise.
24130 (ctanh_test_downward): Likewise.
24131 (ctanh_upward_test_data): Likewise.
24132 (ctanh_test_upward): Likewise.
24133 (erf_test_data): Update call to AUTO_TESTS_f_f.
24134 (erfc_test_data): Likewise.
24135 (exp_test_data): Likewise.
24136 (exp_test): Use ALL_RM_TEST.
24137 (exp_tonearest_test_data): Remove.
24138 (exp_test_tonearest): Likewise.
24139 (exp_towardzero_test_data): Likewise.
24140 (exp_test_towardzero): Likewise.
24141 (exp_downward_test_data): Likewise.
24142 (exp_test_downward): Likewise.
24143 (exp_upward_test_data): Likewise.
24144 (exp_test_upward): Likewise.
24145 (exp10_test_data): Update call to AUTO_TESTS_f_f.
24146 (exp10_test): Use ALL_RM_TEST.
24147 (exp10_tonearest_test_data): Remove.
24148 (exp10_test_tonearest): Likewise.
24149 (exp10_towardzero_test_data): Likewise.
24150 (exp10_test_towardzero): Likewise.
24151 (exp10_downward_test_data): Likewise.
24152 (exp10_test_downward): Likewise.
24153 (exp10_upward_test_data): Likewise.
24154 (exp10_test_upward): Likewise.
24155 (exp2_test_data): Update call to AUTO_TESTS_f_f.
24156 (expm1_test_data): Likewise.
24157 (expm1_test): Use ALL_RM_TEST.
24158 (expm1_tonearest_test_data): Remove.
24159 (expm1_test_tonearest): Likewise.
24160 (expm1_towardzero_test_data): Likewise.
24161 (expm1_test_towardzero): Likewise.
24162 (expm1_downward_test_data): Likewise.
24163 (expm1_test_downward): Likewise.
24164 (expm1_upward_test_data): Likewise.
24165 (expm1_test_upward): Likewise.
24166 (fma_test_data): Update call to AUTO_TESTS_fff_f.
24167 (fma_test): Use ALL_RM_TEST.
24168 (fma_towardzero_test_data): Remove.
24169 (fma_test_towardzero): Likewise.
24170 (fma_downward_test_data): Likewise.
24171 (fma_test_downward): Likewise.
24172 (fma_upward_test_data): Likewise.
24173 (fma_test_upward): Likewise.
24174 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
24175 (j0_test_data): Update call to AUTO_TESTS_f_f.
24176 (j1_test_data): Likewise.
24177 (jn_test_data): Update call to AUTO_TESTS_if_f.
24178 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
24179 (log_test_data): Update call to AUTO_TESTS_f_f.
24180 (log10_test_data): Likewise.
24181 (log1p_test_data): Likewise.
24182 (log2_test_data): Likewise.
24183 (pow_test_data): Update call to AUTO_TESTS_ff_f.
24184 (pow_tonearest_test_data): Likewise.
24185 (sin_test_data): Update call to AUTO_TESTS_f_f.
24186 (sin_test): Use ALL_RM_TEST.
24187 (sin_tonearest_test_data): Remove.
24188 (sin_test_tonearest): Likewise.
24189 (sin_towardzero_test_data): Likewise.
24190 (sin_test_towardzero): Likewise.
24191 (sin_downward_test_data): Likewise.
24192 (sin_test_downward): Likewise.
24193 (sin_upward_test_data): Likewise.
24194 (sin_test_upward): Likewise.
24195 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
24196 (sinh_test_data): Update call to AUTO_TESTS_f_f.
24197 (sinh_test): Use ALL_RM_TEST.
24198 (sinh_tonearest_test_data): Remove.
24199 (sinh_test_tonearest): Likewise.
24200 (sinh_towardzero_test_data): Likewise.
24201 (sinh_test_towardzero): Likewise.
24202 (sinh_downward_test_data): Likewise.
24203 (sinh_test_downward): Likewise.
24204 (sinh_upward_test_data): Likewise.
24205 (sinh_test_upward): Likewise.
24206 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
24207 (sqrt_test): Use ALL_RM_TEST.
24208 (sqrt_tonearest_test_data): Remove.
24209 (sqrt_test_tonearest): Likewise.
24210 (sqrt_towardzero_test_data): Likewise.
24211 (sqrt_test_towardzero): Likewise.
24212 (sqrt_downward_test_data): Likewise.
24213 (sqrt_test_downward): Likewise.
24214 (sqrt_upward_test_data): Likewise.
24215 (sqrt_test_upward): Likewise.
24216 (tan_test_data): Update call to AUTO_TESTS_f_f.
24217 (tan_test): Use ALL_RM_TEST.
24218 (tan_tonearest_test_data): Remove.
24219 (tan_test_tonearest): Likewise.
24220 (tan_towardzero_test_data): Likewise.
24221 (tan_test_towardzero): Likewise.
24222 (tan_downward_test_data): Likewise.
24223 (tan_test_downward): Likewise.
24224 (tan_upward_test_data): Likewise.
24225 (tan_test_upward): Likewise.
24226 (tanh_test_data): Update call to AUTO_TESTS_f_f.
24227 (tgamma_test_data): Likewise.
24228 (y0_test_data): Likewise.
24229 (y1_test_data): Likewise.
24230 (yn_test_data): Update call to AUTO_TESTS_if_f.
24231 (main): Do not call removed functions.
24232
24233 2014-03-19 Joseph Myers <joseph@codesourcery.com>
24234
24235 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
24236 (ldexp_test_data): Remove.
24237 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
24238 scalbn_test_data.
24239 (scalb_test): Use ALL_RM_TEST.
24240
24241 2014-03-19 Andreas Schwab <schwab@suse.de>
24242
24243 * nscd/nscd.service: Also invalidate netgroup cache on reload.
24244
24245 2014-03-19 Joseph Myers <joseph@codesourcery.com>
24246
24247 [BZ #16649]
24248 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24249 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
24250 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
24251 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24252 (__ASSUME_PREADV): Undefine.
24253 (__ASSUME_PWRITEV): Likewise.
24254
24255 2014-03-18 Roland McGrath <roland@hack.frob.com>
24256
24257 * bits/mman-linux.h: Add comment about non-Linux use.
24258 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
24259 bits/mman-linux.h resting place.
24260
24261 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
24262 * bits/mman-linux.h: ... here.
24263
24264 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24265
24266 * conform/conformtest.pl: Add standard definition when calling C
24267 preprocessor on data files.
24268 (checknamespace): Remove unused variable.
24269
24270 2014-03-18 Joseph Myers <joseph@codesourcery.com>
24271
24272 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
24273 minus_oflow, plus_uflow and minus_uflow in expected results.
24274 * math/libm-test.inc (scalbn_test_data): Add more tests of
24275 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
24276 minus_uflow.
24277 (scalbn_test): Use ALL_RM_TEST.
24278 (scalbln_test_data): Add more tests of negative arguments. Use
24279 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
24280 (scalbln_test): Use ALL_RM_TEST.
24281
24282 2014-03-18 Roland McGrath <roland@hack.frob.com>
24283
24284 * scripts/abilist.awk: Ignore symbols marked with .hidden.
24285
24286 2014-03-18 Will Newton <will.newton@linaro.org>
24287
24288 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
24289 inaccurate comment.
24290
24291 2014-03-18 Joseph Myers <joseph@codesourcery.com>
24292
24293 * Makerules [!subdir] (check-abi): Exit with error status if a
24294 test failed.
24295
24296 2014-03-17 Joseph Myers <joseph@codesourcery.com>
24297
24298 * math/libm-test.inc (nearbyint_test_data): Include all tests used
24299 for rint. Include results for all rounding modes.
24300 (nearbyint_test): Use ALL_RM_TEST.
24301 (rint_test_data): Include all tests used for nearbyint.
24302
24303 2014-03-17 Will Newton <will.newton@linaro.org>
24304
24305 * nptl/sysdeps/pthread/pthread.h: Revert previous
24306 change.
24307
24308 * sysdeps/generic/ldsodefs.h: Revert previous
24309 change.
24310
24311 * libio/genops.c: Revert previous change.
24312 * libio/libioP.h: Likewise.
24313 * stdio-common/vfprintf.c: Likewise.
24314
24315 * sysdeps/generic/math_private.h: Revert previous
24316 change.
24317
24318 * sysdeps/generic/math_private.h: Check whether
24319 HAVE_RM_CTX is defined with #ifdef rather
24320 than #if.
24321
24322 * argp/argp-fmtstream.h: Check whether
24323 __STRICT_ANSI__ is defined with #ifdef rather
24324 than #if.
24325 * argp/argp.h: Likewise.
24326
24327 * libio/genops.c: Check whether
24328 _IO_JUMPS_OFFSET is defined with #ifdef rather
24329 than #if.
24330 * libio/libioP.h: Likewise.
24331 * stdio-common/vfprintf.c: Likewise.
24332
24333 * sysdeps/generic/ldsodefs.h: Check whether
24334 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
24335 than #if.
24336
24337 * nptl/sysdeps/pthread/pthread.h: Check
24338 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
24339 its value.
24340
24341 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
24342
24343 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
24344 setting O_APPEND.
24345 * libio/tst-ftell-active-handler.c (do_append_test): Add a
24346 test case.
24347
24348 [BZ #16680]
24349 * libio/fileops.c (_IO_file_open): Seek to end of file but
24350 don't cache the offset.
24351 (get_file_offset): Remove function.
24352 (do_ftell): Use cached offset when available.
24353 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
24354 don't cache the offset.
24355 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
24356 case.
24357 (do_one_test): Call it.
24358 (do_ftell_test): Fix up expected old offset for a+ mode.
24359 * libio/wfileops.c (do_ftell_wide): Used cached offset when
24360 available.
24361
24362 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
24363 up test status with function return status.
24364 (do_write_test): Likewise.
24365 (do_append_test): Likewise.
24366
24367 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
24368 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
24369 Remove.
24370
24371 2014-03-17 Joseph Myers <joseph@codesourcery.com>
24372
24373 * math/gen-libm-test.pl (parse_args): Handle results specified for
24374 each rounding mode separately.
24375 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
24376 tests and results from lrint_tonearest_test_data,
24377 lrint_towardzero_test_data, lrint_downward_test_data and
24378 lrint_upward_test_data.
24379 (lrint_test): Use ALL_RM_TEST.
24380 (lrint_tonearest_test_data): Remove.
24381 (lrint_test_tonearest): Likewise.
24382 (lrint_towardzero_test_data): Likewise.
24383 (lrint_test_towardzero): Likewise.
24384 (lrint_downward_test_data): Likewise.
24385 (lrint_test_downward): Likewise.
24386 (lrint_upward_test_data): Likewise.
24387 (lrint_test_upward): Likewise.
24388 (llrint_test_data): Merge in per-rounding-mode tests and results
24389 from llrint_tonearest_test_data, llrint_towardzero_test_data,
24390 llrint_downward_test_data and llrint_upward_test_data.
24391 (llrint_test): Use ALL_RM_TEST.
24392 (llrint_tonearest_test_data): Remove.
24393 (llrint_test_tonearest): Likewise.
24394 (llrint_towardzero_test_data): Likewise.
24395 (llrint_test_towardzero): Likewise.
24396 (llrint_downward_test_data): Likewise.
24397 (llrint_test_downward): Likewise.
24398 (llrint_upward_test_data): Likewise.
24399 (llrint_test_upward): Likewise.
24400 (rint_test_data): Merge in per-rounding-mode tests and results
24401 from rint_tonearest_test_data, rint_towardzero_test_data,
24402 rint_downward_test_data and rint_upward_test_data. Add
24403 per-rounding-mode results for tests not in those arrays.
24404 (rint_test): Use ALL_RM_TEST.
24405 (rint_tonearest_test_data): Remove.
24406 (rint_test_tonearest): Likewise.
24407 (rint_towardzero_test_data): Likewise.
24408 (rint_test_towardzero): Likewise.
24409 (rint_downward_test_data): Likewise.
24410 (rint_test_downward): Likewise.
24411 (rint_upward_test_data): Likewise.
24412 (rint_test_upward): Likewise.
24413 (main): Don't call removed functions.
24414
24415 2014-03-14 Roland McGrath <roland@hack.frob.com>
24416
24417 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
24418 "Compiled on ..." crapola. It is anti-useful.
24419
24420 2014-03-14 Joseph Myers <joseph@codesourcery.com>
24421
24422 * scripts/evaluate-test.sh: Handle fourth argument to determine
24423 whether test run should stop on failure.
24424 * Makeconfig (stop-on-test-failure): New variable.
24425 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
24426 $(stop-on-test-failure).
24427 * Makefile (tests): Give a summary of results from testing and
24428 exit with failure status if they include an ERROR or FAIL.
24429 (xtests): Likewise.
24430 * manual/install.texi (Configuring and compiling): Mention
24431 stop-on-test-failure=y.
24432 * INSTALL: Regenerated.
24433
24434 2014-03-14 Roland McGrath <roland@hack.frob.com>
24435
24436 * scripts/versionlist.awk: New file.
24437 * Makerules [$(build-shared) = yes]
24438 (postclean-generated): Add Versions.def, not Versions.def.v and
24439 Versions.def.v.i.
24440 ($(common-objpfx)Versions.def.v.i): Target removed.
24441 ($(common-objpfx)Versions.def): New target.
24442 ($(common-objpfx)Versions.all): Depend on that rather that
24443 $(common-objpfx)Versions.def.v.
24444 * Versions.def: File removed.
24445
24446 * Makeconfig (+gccwarn): Add -Wundef.
24447 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
24448 a dl-sysdep.h breaking its contract.
24449 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
24450 * include/stackinfo.h: New file.
24451 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
24452 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
24453 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
24454 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
24455 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
24456 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
24457 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
24458 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
24459 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
24460 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
24461 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
24462 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
24463 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
24464 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
24465 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
24466
24467 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24468
24469 [BZ #16707]
24470 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
24471 implementation.
24472 * math/libm-test.inc (round_test_data): Add more tests.
24473
24474 [BZ #16706]
24475 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
24476 implementation.
24477 * math/libm-test.inc (nearbyint_test_data): Add more tests.
24478
24479 [BZ #16701]
24480 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
24481 implementation.
24482 * math/libm-test.inc (ceil_test_data): Add more tests.
24483
24484 * math/libm-test.inc (trunc_test_data): Add more tests related to
24485 BZ#16414.
24486
24487 2014-03-14 Roland McGrath <roland@hack.frob.com>
24488
24489 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
24490 with #if rather than #ifdef.
24491 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
24492
24493 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
24494
24495 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
24496 first. Disable AVX-512 GCC support if assembler doesn't support
24497 it.
24498 * sysdeps/x86_64/configure: Regenerated.
24499
24500 2014-03-13 Carlos O'Donell <carlos@redhat.com>
24501
24502 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
24503 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
24504 (__old_pthread_attr_setstack): Likewise.
24505 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
24506 [!_STACK_GROWS_DOWN]: Likewise.
24507
24508 2014-03-13 Mike Frysinger <vapier@gentoo.org>
24509
24510 * config.make.in (have-bash2): Delete.
24511 * configure.ac (libc_cv_have_bash2): Delete.
24512 * configure: Regenerate.
24513 * elf/Makefile (common-ldd-rewrite): Rename to ...
24514 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
24515 (sh-ldd-rewrite): Delete.
24516 (bash-ldd-rewrite): Delete.
24517 (have-bash2): Delete checks.
24518 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
24519 ldd-rewrite.
24520
24521 * config.make.in (have-ksh): Delete.
24522 (KSH): Delete.
24523 * configure.ac (libc_cv_have_ksh): Delete.
24524 * configure: Regenerate.
24525
24526 * elf/Makefile: Delete $(have-ksh) check.
24527 ($(objpfx)sotruss): Change KSH to BASH.
24528 * elf/sotruss.ksh: Rename to ...
24529 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
24530 function style to match POSIX. Drop ksh vim mode setting.
24531
24532 * manual/time.texi (Specifying the Time Zone with TZ): Change
24533 Tuesday to Thursday.
24534
24535 * debug/tst-longjmp_chk2.c: Update header comment.
24536 (stackoverflow_handler): Add comment. Call assert on pass value.
24537
24538 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
24539
24540 [BZ #16194]
24541 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
24542 (HAVE_AVX512_ASM_SUPPORT): Likewise.
24543 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
24544 (La_x86_64_vector): Add zmm.
24545 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
24546 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
24547 ($(objpfx)tst-audit10): New target.
24548 ($(objpfx)tst-audit10.out): Likewise.
24549 (tst-audit10-ENV): New.
24550 (AVX512-CFLAGS): Likewise.
24551 (CFLAGS-tst-audit10.c): Likewise.
24552 (CFLAGS-tst-auditmod10a.c): Likewise.
24553 (CFLAGS-tst-auditmod10b.c): Likewise.
24554 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
24555 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
24556 * sysdeps/x86_64/configure: Regenerated.
24557 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
24558 AVX-512 zmm register support.
24559 (_dl_x86_64_save_sse): Likewise.
24560 (_dl_x86_64_restore_sse): Likewise.
24561 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
24562 size vector registers.
24563 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
24564 (ZMM_SIZE): Likewise.
24565 * sysdeps/x86_64/tst-audit10.c: New file.
24566 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
24567 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
24568
24569 2014-03-13 Roland McGrath <roland@hack.frob.com>
24570
24571 * configure.ac (HAVE_EHDR_START): New check.
24572 * configure: Regenerated.
24573 * config.h.in (HAVE_EHDR_START): New #undef.
24574 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
24575 assuming the lowest-addressed segment maps the start of the file.
24576
24577 2014-03-13 Joseph Myers <joseph@codesourcery.com>
24578
24579 * INSTALL: Regenerated.
24580
24581 2014-03-13 Will Newton <will.newton@linaro.org>
24582
24583 * manual/setjmp.texi (System V contexts): Improve
24584 clarity and grammar of documentation.
24585
24586 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
24587
24588 [BZ #16381]
24589 * elf/Makefile (tests): Add tst-pie2.
24590 (tests-pie): Add tst-pie2.
24591 * elf/tst-pie2.c: New file.
24592 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
24593 for ET_EXEC.
24594 * elf/rtld.c (map_doit): Load executable as lt_executable.
24595 (dl_main): Likewise.
24596
24597 2014-03-12 Joseph Myers <joseph@codesourcery.com>
24598
24599 [BZ #16642]
24600 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24601 (__ASSUME_PSELECT): Undefine.
24602
24603 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24604
24605 [BZ #16689]
24606 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
24607 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
24608 static build.
24609 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
24610 selector for static builds.
24611
24612 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
24613
24614 [BZ #16695]
24615 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
24616 key in the buffer.
24617
24618 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24619
24620 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
24621 IFUNC selector for static builds.
24622
24623 2014-03-11 Joseph Myers <joseph@codesourcery.com>
24624
24625 * sysdeps/mips/math_private.h [__mips_hard_float]
24626 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
24627 libc_feresetround_mips_ctx.
24628 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
24629 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
24630 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
24631
24632 [BZ #16677]
24633 * math/s_nextafter.c (__nextafter): Do not return value from
24634 overflowing computation.
24635 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
24636 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
24637 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
24638 Likewise.
24639 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
24640 Likewise.
24641 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
24642 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
24643
24644 2014-03-11 Roland McGrath <roland@hack.frob.com>
24645
24646 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
24647 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
24648 Move sfi_sp use from the load-multiple (that no longer sets sp) to
24649 the new mov targetting sp.
24650
24651 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24652
24653 [BZ #16683]
24654 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
24655 Define it for static builds as well.
24656 (NO_BZERO_IMPL): Likewise.
24657
24658 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
24659
24660 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
24661 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
24662 multiarch strspn for PPC64.
24663 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
24664 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
24665 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
24666 (__libc_ifunc_impl_list): Likewise.
24667 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
24668 multiarch optimizations
24669 * string/strspn.c (strspn): Using macro to redefine symbol name.
24670
24671 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
24672 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24673
24674 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
24675 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
24676 multiarch strncat for PPC64.
24677 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
24678 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
24679 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
24680 (__libc_ifunc_impl_list): Likewise.
24681 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
24682 multiarch optimizations
24683
24684 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24685
24686 [BZ #16639]
24687 * nscd/nscd.service: Make service type forking.
24688
24689 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24690
24691 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
24692 sign in non default rounding modes.
24693 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
24694
24695 2014-03-08 Joseph Myers <joseph@codesourcery.com>
24696
24697 * math/libm-test.inc (ALL_RM_TEST): New macro.
24698 (ceil_test): Use ALL_RM_TEST.
24699 (cimag_test): Likewise.
24700 (conj_test): Likewise.
24701 (copysign_test): Likewise.
24702 (cproj_test): Likewise.
24703 (creal_test): Likewise.
24704 (fabs_test): Likewise.
24705 (floor_test): Likewise.
24706 (fmax_test): Likewise.
24707 (fmin_test): Likewise.
24708 (fmod_test): Likewise.
24709 (fpclassify_test): Likewise.
24710 (frexp_test): Likewise.
24711 (ilogb_test): Likewise.
24712 (isfinite_test): Likewise.
24713 (finite_test): Likewise.
24714 (isgreater_test): Likewise.
24715 (isgreaterequal_test): Likewise.
24716 (isinf_test): Likewise.
24717 (isless_test): Likewise.
24718 (islessequal_test): Likewise.
24719 (islessgreater_test): Likewise.
24720 (isnan_test): Likewise.
24721 (isnormal_test): Likewise.
24722 (issignaling_test): Likewise.
24723 (isunordered_test): Likewise.
24724 (logb_test): Likewise.
24725 (logb_downward_test_data): Remove.
24726 (logb_test_downward): Likewise.
24727 (lround_test): Use ALL_RM_TEST.
24728 (llround_test): Likewise.
24729 (modf_test): Likewise.
24730 (nexttoward_test): Likewise.
24731 (remainder_test): Likewise.
24732 (drem_test): Likewise.
24733 (remainder_tonearest_test_data): Likewise.
24734 (remainder_test_tonearest): Likewise.
24735 (drem_test_tonearest): Likewise.
24736 (remainder_towardzero_test_data): Likewise.
24737 (remainder_test_towardzero): Likewise.
24738 (drem_test_towardzero): Likewise.
24739 (remainder_downward_test_data): Likewise.
24740 (remainder_test_downward): Likewise.
24741 (drem_test_downward): Likewise.
24742 (remainder_upward_test_data): Likewise.
24743 (remainder_test_upward): Likewise.
24744 (drem_test_upward): Likewise.
24745 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
24746 (round_test): Use ALL_RM_TEST.
24747 (signbit_test): Likewise.
24748 (trunc_test): Likewise.
24749 (significand_test): Likewise.
24750 (main): Don't call removed functions.
24751
24752 2014-03-07 Joseph Myers <joseph@codesourcery.com>
24753
24754 [BZ #16674]
24755 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
24756 || __USE_XOPEN2K8].
24757 (ILL_ILLOPN): Likewise.
24758 (ILL_ILLADR): Likewise.
24759 (ILL_ILLTRP): Likewise.
24760 (ILL_PRVOPC): Likewise.
24761 (ILL_PRVREG): Likewise.
24762 (ILL_COPROC): Likewise.
24763 (ILL_BADSTK): Likewise.
24764 (FPE_INTDIV): Likewise.
24765 (FPE_INTOVF): Likewise.
24766 (FPE_FLTDIV): Likewise.
24767 (FPE_FLTOVF): Likewise.
24768 (FPE_FLTUND): Likewise.
24769 (FPE_FLTRES): Likewise.
24770 (FPE_FLTINV): Likewise.
24771 (FPE_FLTSUB): Likewise.
24772 (SEGV_MAPERR): Likewise.
24773 (SEGV_ACCERR): Likewise.
24774 (BUS_ADRALN): Likewise.
24775 (BUS_ADRERR): Likewise.
24776 (BUS_OBJERR): Likewise.
24777 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24778 (TRAP_TRACE): Likewise.
24779 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24780 __USE_XOPEN2K8].
24781 (CLD_KILLED): Likewise.
24782 (CLD_DUMPED): Likewise.
24783 (CLD_TRAPPED): Likewise.
24784 (CLD_STOPPED): Likewise.
24785 (CLD_CONTINUED): Likewise.
24786 (POLL_IN): Likewise.
24787 (POLL_OUT): Likewise.
24788 (POLL_MSG): Likewise.
24789 (POLL_ERR): Likewise.
24790 (POLL_PRI): Likewise.
24791 (POLL_HUP): Likewise.
24792 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
24793 Likewise.
24794 (ILL_ILLOPN): Likewise.
24795 (ILL_ILLADR): Likewise.
24796 (ILL_ILLTRP): Likewise.
24797 (ILL_PRVOPC): Likewise.
24798 (ILL_PRVREG): Likewise.
24799 (ILL_COPROC): Likewise.
24800 (ILL_BADSTK): Likewise.
24801 (FPE_INTDIV): Likewise.
24802 (FPE_INTOVF): Likewise.
24803 (FPE_FLTDIV): Likewise.
24804 (FPE_FLTOVF): Likewise.
24805 (FPE_FLTUND): Likewise.
24806 (FPE_FLTRES): Likewise.
24807 (FPE_FLTINV): Likewise.
24808 (FPE_FLTSUB): Likewise.
24809 (SEGV_MAPERR): Likewise.
24810 (SEGV_ACCERR): Likewise.
24811 (BUS_ADRALN): Likewise.
24812 (BUS_ADRERR): Likewise.
24813 (BUS_OBJERR): Likewise.
24814 (BUS_MCEERR_AR): Likewise.
24815 (BUS_MCEERR_AO): Likewise.
24816 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24817 (TRAP_TRACE): Likewise.
24818 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24819 __USE_XOPEN2K8].
24820 (CLD_KILLED): Likewise.
24821 (CLD_DUMPED): Likewise.
24822 (CLD_TRAPPED): Likewise.
24823 (CLD_STOPPED): Likewise.
24824 (CLD_CONTINUED): Likewise.
24825 (POLL_IN): Likewise.
24826 (POLL_OUT): Likewise.
24827 (POLL_MSG): Likewise.
24828 (POLL_ERR): Likewise.
24829 (POLL_PRI): Likewise.
24830 (POLL_HUP): Likewise.
24831 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
24832 (ILL_ILLOPN): Likewise.
24833 (ILL_ILLADR): Likewise.
24834 (ILL_ILLTRP): Likewise.
24835 (ILL_PRVOPC): Likewise.
24836 (ILL_PRVREG): Likewise.
24837 (ILL_COPROC): Likewise.
24838 (ILL_BADSTK): Likewise.
24839 (FPE_INTDIV): Likewise.
24840 (FPE_INTOVF): Likewise.
24841 (FPE_FLTDIV): Likewise.
24842 (FPE_FLTOVF): Likewise.
24843 (FPE_FLTUND): Likewise.
24844 (FPE_FLTRES): Likewise.
24845 (FPE_FLTINV): Likewise.
24846 (FPE_FLTSUB): Likewise.
24847 (SEGV_MAPERR): Likewise.
24848 (SEGV_ACCERR): Likewise.
24849 (BUS_ADRALN): Likewise.
24850 (BUS_ADRERR): Likewise.
24851 (BUS_OBJERR): Likewise.
24852 (BUS_MCEERR_AR): Likewise.
24853 (BUS_MCEERR_AO): Likewise.
24854 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24855 (TRAP_TRACE): Likewise.
24856 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24857 __USE_XOPEN2K8].
24858 (CLD_KILLED): Likewise.
24859 (CLD_DUMPED): Likewise.
24860 (CLD_TRAPPED): Likewise.
24861 (CLD_STOPPED): Likewise.
24862 (CLD_CONTINUED): Likewise.
24863 (POLL_IN): Likewise.
24864 (POLL_OUT): Likewise.
24865 (POLL_MSG): Likewise.
24866 (POLL_ERR): Likewise.
24867 (POLL_PRI): Likewise.
24868 (POLL_HUP): Likewise.
24869 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
24870 Likewise.
24871 (ILL_ILLOPN): Likewise.
24872 (ILL_ILLADR): Likewise.
24873 (ILL_ILLTRP): Likewise.
24874 (ILL_PRVOPC): Likewise.
24875 (ILL_PRVREG): Likewise.
24876 (ILL_COPROC): Likewise.
24877 (ILL_BADSTK): Likewise.
24878 (ILL_BADIADDR): Likewise.
24879 (ILL_BREAK): Likewise.
24880 (FPE_INTDIV): Likewise.
24881 (FPE_INTOVF): Likewise.
24882 (FPE_FLTDIV): Likewise.
24883 (FPE_FLTOVF): Likewise.
24884 (FPE_FLTUND): Likewise.
24885 (FPE_FLTRES): Likewise.
24886 (FPE_FLTINV): Likewise.
24887 (FPE_FLTSUB): Likewise.
24888 (FPE_DECOVF): Likewise.
24889 (FPE_DECDIV): Likewise.
24890 (FPE_DECERR): Likewise.
24891 (FPE_INVASC): Likewise.
24892 (FPE_INVDEC): Likewise.
24893 (SEGV_MAPERR): Likewise.
24894 (SEGV_ACCERR): Likewise.
24895 (SEGV_PSTKOVF): Likewise.
24896 (BUS_ADRALN): Likewise.
24897 (BUS_ADRERR): Likewise.
24898 (BUS_OBJERR): Likewise.
24899 (BUS_MCEERR_AR): Likewise.
24900 (BUS_MCEERR_AO): Likewise.
24901 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24902 (TRAP_TRACE): Likewise.
24903 (TRAP_BRANCH): Likewise.
24904 (TRAP_HWBKPT): Likewise.
24905 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24906 __USE_XOPEN2K8].
24907 (CLD_KILLED): Likewise.
24908 (CLD_DUMPED): Likewise.
24909 (CLD_TRAPPED): Likewise.
24910 (CLD_STOPPED): Likewise.
24911 (CLD_CONTINUED): Likewise.
24912 (POLL_IN): Likewise.
24913 (POLL_OUT): Likewise.
24914 (POLL_MSG): Likewise.
24915 (POLL_ERR): Likewise.
24916 (POLL_PRI): Likewise.
24917 (POLL_HUP): Likewise.
24918 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
24919 (ILL_ILLOPN): Likewise.
24920 (ILL_ILLADR): Likewise.
24921 (ILL_ILLTRP): Likewise.
24922 (ILL_PRVOPC): Likewise.
24923 (ILL_PRVREG): Likewise.
24924 (ILL_COPROC): Likewise.
24925 (ILL_BADSTK): Likewise.
24926 (FPE_INTDIV): Likewise.
24927 (FPE_INTOVF): Likewise.
24928 (FPE_FLTDIV): Likewise.
24929 (FPE_FLTOVF): Likewise.
24930 (FPE_FLTUND): Likewise.
24931 (FPE_FLTRES): Likewise.
24932 (FPE_FLTINV): Likewise.
24933 (FPE_FLTSUB): Likewise.
24934 (SEGV_MAPERR): Likewise.
24935 (SEGV_ACCERR): Likewise.
24936 (BUS_ADRALN): Likewise.
24937 (BUS_ADRERR): Likewise.
24938 (BUS_OBJERR): Likewise.
24939 (BUS_MCEERR_AR): Likewise.
24940 (BUS_MCEERR_AO): Likewise.
24941 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24942 (TRAP_TRACE): Likewise.
24943 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24944 __USE_XOPEN2K8].
24945 (CLD_KILLED): Likewise.
24946 (CLD_DUMPED): Likewise.
24947 (CLD_TRAPPED): Likewise.
24948 (CLD_STOPPED): Likewise.
24949 (CLD_CONTINUED): Likewise.
24950 (POLL_IN): Likewise.
24951 (POLL_OUT): Likewise.
24952 (POLL_MSG): Likewise.
24953 (POLL_ERR): Likewise.
24954 (POLL_PRI): Likewise.
24955 (POLL_HUP): Likewise.
24956 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
24957 (ILL_ILLOPN): Likewise.
24958 (ILL_ILLADR): Likewise.
24959 (ILL_ILLTRP): Likewise.
24960 (ILL_PRVOPC): Likewise.
24961 (ILL_PRVREG): Likewise.
24962 (ILL_COPROC): Likewise.
24963 (ILL_BADSTK): Likewise.
24964 (FPE_INTDIV): Likewise.
24965 (FPE_INTOVF): Likewise.
24966 (FPE_FLTDIV): Likewise.
24967 (FPE_FLTOVF): Likewise.
24968 (FPE_FLTUND): Likewise.
24969 (FPE_FLTRES): Likewise.
24970 (FPE_FLTINV): Likewise.
24971 (FPE_FLTSUB): Likewise.
24972 (SEGV_MAPERR): Likewise.
24973 (SEGV_ACCERR): Likewise.
24974 (BUS_ADRALN): Likewise.
24975 (BUS_ADRERR): Likewise.
24976 (BUS_OBJERR): Likewise.
24977 (BUS_MCEERR_AR): Likewise.
24978 (BUS_MCEERR_AO): Likewise.
24979 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24980 (TRAP_TRACE): Likewise.
24981 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24982 __USE_XOPEN2K8].
24983 (CLD_KILLED): Likewise.
24984 (CLD_DUMPED): Likewise.
24985 (CLD_TRAPPED): Likewise.
24986 (CLD_STOPPED): Likewise.
24987 (CLD_CONTINUED): Likewise.
24988 (POLL_IN): Likewise.
24989 (POLL_OUT): Likewise.
24990 (POLL_MSG): Likewise.
24991 (POLL_ERR): Likewise.
24992 (POLL_PRI): Likewise.
24993 (POLL_HUP): Likewise.
24994 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
24995 (ILL_ILLOPN): Likewise.
24996 (ILL_ILLADR): Likewise.
24997 (ILL_ILLTRP): Likewise.
24998 (ILL_PRVOPC): Likewise.
24999 (ILL_PRVREG): Likewise.
25000 (ILL_COPROC): Likewise.
25001 (ILL_BADSTK): Likewise.
25002 (FPE_INTDIV): Likewise.
25003 (FPE_INTOVF): Likewise.
25004 (FPE_FLTDIV): Likewise.
25005 (FPE_FLTOVF): Likewise.
25006 (FPE_FLTUND): Likewise.
25007 (FPE_FLTRES): Likewise.
25008 (FPE_FLTINV): Likewise.
25009 (FPE_FLTSUB): Likewise.
25010 (SEGV_MAPERR): Likewise.
25011 (SEGV_ACCERR): Likewise.
25012 (BUS_ADRALN): Likewise.
25013 (BUS_ADRERR): Likewise.
25014 (BUS_OBJERR): Likewise.
25015 (BUS_MCEERR_AR): Likewise.
25016 (BUS_MCEERR_AO): Likewise.
25017 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
25018 (TRAP_TRACE): Likewise.
25019 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
25020 __USE_XOPEN2K8].
25021 (CLD_KILLED): Likewise.
25022 (CLD_DUMPED): Likewise.
25023 (CLD_TRAPPED): Likewise.
25024 (CLD_STOPPED): Likewise.
25025 (CLD_CONTINUED): Likewise.
25026 (POLL_IN): Likewise.
25027 (POLL_OUT): Likewise.
25028 (POLL_MSG): Likewise.
25029 (POLL_ERR): Likewise.
25030 (POLL_PRI): Likewise.
25031 (POLL_HUP): Likewise.
25032 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
25033 (ILL_ILLOPN): Likewise.
25034 (ILL_ILLADR): Likewise.
25035 (ILL_ILLTRP): Likewise.
25036 (ILL_PRVOPC): Likewise.
25037 (ILL_PRVREG): Likewise.
25038 (ILL_COPROC): Likewise.
25039 (ILL_BADSTK): Likewise.
25040 (ILL_DBLFLT): Likewise.
25041 (ILL_HARDWALL): Likewise.
25042 (FPE_INTDIV): Likewise.
25043 (FPE_INTOVF): Likewise.
25044 (FPE_FLTDIV): Likewise.
25045 (FPE_FLTOVF): Likewise.
25046 (FPE_FLTUND): Likewise.
25047 (FPE_FLTRES): Likewise.
25048 (FPE_FLTINV): Likewise.
25049 (FPE_FLTSUB): Likewise.
25050 (SEGV_MAPERR): Likewise.
25051 (SEGV_ACCERR): Likewise.
25052 (BUS_ADRALN): Likewise.
25053 (BUS_ADRERR): Likewise.
25054 (BUS_OBJERR): Likewise.
25055 (BUS_MCEERR_AR): Likewise.
25056 (BUS_MCEERR_AO): Likewise.
25057 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
25058 (TRAP_TRACE): Likewise.
25059 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
25060 __USE_XOPEN2K8].
25061 (CLD_KILLED): Likewise.
25062 (CLD_DUMPED): Likewise.
25063 (CLD_TRAPPED): Likewise.
25064 (CLD_STOPPED): Likewise.
25065 (CLD_CONTINUED): Likewise.
25066 (POLL_IN): Likewise.
25067 (POLL_OUT): Likewise.
25068 (POLL_MSG): Likewise.
25069 (POLL_ERR): Likewise.
25070 (POLL_PRI): Likewise.
25071 (POLL_HUP): Likewise.
25072 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
25073 (ILL_ILLOPN): Likewise.
25074 (ILL_ILLADR): Likewise.
25075 (ILL_ILLTRP): Likewise.
25076 (ILL_PRVOPC): Likewise.
25077 (ILL_PRVREG): Likewise.
25078 (ILL_COPROC): Likewise.
25079 (ILL_BADSTK): Likewise.
25080 (FPE_INTDIV): Likewise.
25081 (FPE_INTOVF): Likewise.
25082 (FPE_FLTDIV): Likewise.
25083 (FPE_FLTOVF): Likewise.
25084 (FPE_FLTUND): Likewise.
25085 (FPE_FLTRES): Likewise.
25086 (FPE_FLTINV): Likewise.
25087 (FPE_FLTSUB): Likewise.
25088 (SEGV_MAPERR): Likewise.
25089 (SEGV_ACCERR): Likewise.
25090 (BUS_ADRALN): Likewise.
25091 (BUS_ADRERR): Likewise.
25092 (BUS_OBJERR): Likewise.
25093 (BUS_MCEERR_AR): Likewise.
25094 (BUS_MCEERR_AO): Likewise.
25095 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
25096 (TRAP_TRACE): Likewise.
25097 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
25098 __USE_XOPEN2K8].
25099 (CLD_KILLED): Likewise.
25100 (CLD_DUMPED): Likewise.
25101 (CLD_TRAPPED): Likewise.
25102 (CLD_STOPPED): Likewise.
25103 (CLD_CONTINUED): Likewise.
25104 (POLL_IN): Likewise.
25105 (POLL_OUT): Likewise.
25106 (POLL_MSG): Likewise.
25107 (POLL_ERR): Likewise.
25108 (POLL_PRI): Likewise.
25109 (POLL_HUP): Likewise.
25110 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
25111 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
25112
25113 [BZ #16670]
25114 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
25115 before #include of <time.h>.
25116 [!__USE_XOPEN2K] (__need_timespec): Likewise.
25117 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
25118 (test-xfail-UNIX98/sched.h/conform): Likewise.
25119
25120 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
25121
25122 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
25123 error absence of trapping exception support.
25124 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
25125
25126 2014-03-07 Joseph Myers <joseph@codesourcery.com>
25127
25128 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
25129 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
25130 * timezone/Makefile (testdata): Move definition above include of
25131 Rules.
25132 (test-zones): New variable.
25133 (tests-special): Add zone files.
25134 (build-testdata): Use $(evaluate-test).
25135
25136 * elf/Makefile (tests-special): Rename tests to end with .out.
25137 ($(objpfx)noload-mem): Likewise.
25138 ($(objpfx)tst-leaks1-mem): Likewise.
25139 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
25140 * iconv/Makefile (xtests-special): Change test-iconvconfig to
25141 $(objpfx)test-iconvconfig.out.
25142 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
25143 set -e inside subshell and redirect output to file.
25144 * iconvdata/Makefile (generated): Rename tests to end with .out.
25145 Correct type.
25146 (tests-special): Rename tests to end with .out.
25147 ($(objpfx)mtrace-tst-loading): Likewise.
25148 * intl/Makefile (generated): Likewise.
25149 (tests-special): Likewise.
25150 ($(objpfx)mtrace-tst-gettext): Likewise.
25151 * misc/Makefile (generated): Likewise.
25152 (tests-special): Likewise.
25153 ($(objpfx)tst-error1-mem): Likewise.
25154 * nptl/Makefile (tests-special): Likewise.
25155 ($(objpfx)tst-stack3-mem): Likewise.
25156 (generated): Likewise.
25157 * posix/Makefile (generated): Likewise.
25158 (tests-special): Likewise.
25159 (xtests-special): Likewise.
25160 ($(objpfx)tst-fnmatch-mem): Likewise.
25161 ($(objpfx)bug-regex2-mem): Likewise.
25162 ($(objpfx)bug-regex14-mem): Likewise.
25163 ($(objpfx)bug-regex21-mem): Likewise.
25164 ($(objpfx)bug-regex31-mem): Likewise.
25165 ($(objpfx)tst-vfork3-mem): Likewise.
25166 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
25167 ($(objpfx)tst-pcre-mem): Likewise.
25168 ($(objpfx)tst-boost-mem): Likewise.
25169 ($(objpfx)bug-ga2-mem): Likewise.
25170 ($(objpfx)bug-glob2-mem): Likewise.
25171 * resolv/Makefile (generate): Likewise.
25172 (tests-special): Likewise.
25173 (xtests-special): Likewise.
25174 (generated): Likewise.
25175 ($(objpfx)mtrace-tst-leaks): Likewise.
25176 ($(objpfx)mtrace-tst-leaks2): Likewise.
25177
25178 * scripts/merge-test-results.sh: New file.
25179 * Makefile (tests-special-notdir): New variable.
25180 (tests): Run merge-test-results.sh.
25181 (xtests): Likewise.
25182 * Rules (tests-special-notdir): New variable.
25183 (xtests-special-notdir): Likewise.
25184 (tests): Run merge-test-results.sh
25185 (xtests): Likewise.
25186
25187 * Makeconfig (test-xfail-name): New variable.
25188 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
25189 compute variable name for expected failures.
25190 * conform/Makefile (conformtest-headers-data): New variable.
25191 (conformtest-standards): Likewise.
25192 (conformtest-headers-ISO): Likewise.
25193 (conformtest-headers-ISO99): Likewise.
25194 (conformtest-headers-ISO11): Likewise.
25195 (conformtest-headers-POSIX): Likewise.
25196 (conformtest-headers-XPG3): Likewise.
25197 (conformtest-headers-XPG4): Likewise.
25198 (conformtest-headers-UNIX98): Likewise.
25199 (conformtest-headers-XOPEN2K): Likewise.
25200 (conformtest-headers-POSIX2008): Likewise.
25201 (conformtest-headers-XOPEN2K8): Likewise.
25202 (conformtest-header-list-base): Likewise.
25203 (conformtest-header-list-tests): Likewise.
25204 (conformtest-header-base): Likewise.
25205 (conformtest-header-tests): Likewise.
25206 (tests-special): Add $(conformtest-header-list-tests). If
25207 [$(fast-check) && !$(cross-compiling)], add
25208 $(conformtest-header-tests) instead of
25209 $(objpfx)run-conformtest.out.
25210 (generated): Add $(conformtest-header-list-base). If
25211 [$(fast-check) && !$(cross-compiling)], add
25212 $(conformtest-header-base). Remove previous setting.
25213 ($(conformtest-header-list-tests)): New target.
25214 (test-xfail-run-conformtest): Remove variable.
25215 ($(objpfx)run-conformtest.out): Remove target.
25216 (test-xfail-ISO11/complex.h/conform): New variable.
25217 (test-xfail-ISO11/stdalign.h/conform): Likewise.
25218 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
25219 (test-xfail-XPG3/varargs.h/conform): Likewise.
25220 (test-xfail-XPG4/varargs.h/conform): Likewise.
25221 (test-xfail-UNIX98/varargs.h/conform): Likewise.
25222 (test-xfail-XPG4/ndbm.h/conform): Likewise.
25223 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
25224 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
25225 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
25226 (test-xfail-XPG3/fcntl.h/conform): Likewise.
25227 (test-xfail-XPG3/ftw.h/conform): Likewise.
25228 (test-xfail-XPG3/grp.h/conform): Likewise.
25229 (test-xfail-XPG3/langinfo.h/conform): Likewise.
25230 (test-xfail-XPG3/limits.h/conform): Likewise.
25231 (test-xfail-XPG3/pwd.h/conform): Likewise.
25232 (test-xfail-XPG3/search.h/conform): Likewise.
25233 (test-xfail-XPG3/signal.h/conform): Likewise.
25234 (test-xfail-XPG3/stdio.h/conform): Likewise.
25235 (test-xfail-XPG3/stdlib.h/conform): Likewise.
25236 (test-xfail-XPG3/string.h/conform): Likewise.
25237 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
25238 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
25239 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
25240 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
25241 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
25242 (test-xfail-XPG3/sys/types.h/conform): Likewise.
25243 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
25244 (test-xfail-XPG3/termios.h/conform): Likewise.
25245 (test-xfail-XPG3/time.h/conform): Likewise.
25246 (test-xfail-XPG3/unistd.h/conform): Likewise.
25247 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
25248 (test-xfail-XPG4/fcntl.h/conform): Likewise.
25249 (test-xfail-XPG4/langinfo.h/conform): Likewise.
25250 (test-xfail-XPG4/netdb.h/conform): Likewise.
25251 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
25252 (test-xfail-XPG4/signal.h/conform): Likewise.
25253 (test-xfail-XPG4/stdio.h/conform): Likewise.
25254 (test-xfail-XPG4/stdlib.h/conform): Likewise.
25255 (test-xfail-XPG4/stropts.h/conform): Likewise.
25256 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
25257 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
25258 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
25259 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
25260 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
25261 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
25262 (test-xfail-XPG4/sys/time.h/conform): Likewise.
25263 (test-xfail-XPG4/sys/types.h/conform): Likewise.
25264 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
25265 (test-xfail-XPG4/termios.h/conform): Likewise.
25266 (test-xfail-XPG4/ucontext.h/conform): Likewise.
25267 (test-xfail-XPG4/unistd.h/conform): Likewise.
25268 (test-xfail-XPG4/utmpx.h/conform): Likewise.
25269 (test-xfail-POSIX/sched.h/conform): Likewise.
25270 (test-xfail-POSIX/signal.h/conform): Likewise.
25271 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
25272 (test-xfail-POSIX/tar.h/conform): Likewise.
25273 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
25274 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
25275 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
25276 (test-xfail-UNIX98/netdb.h/conform): Likewise.
25277 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
25278 (test-xfail-UNIX98/sched.h/conform): Likewise.
25279 (test-xfail-UNIX98/signal.h/conform): Likewise.
25280 (test-xfail-UNIX98/stdio.h/conform): Likewise.
25281 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
25282 (test-xfail-UNIX98/stropts.h/conform): Likewise.
25283 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
25284 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
25285 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
25286 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
25287 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
25288 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
25289 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
25290 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
25291 (test-xfail-UNIX98/unistd.h/conform): Likewise.
25292 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
25293 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
25294 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
25295 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
25296 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
25297 (test-xfail-XOPEN2K/math.h/conform): Likewise.
25298 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
25299 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
25300 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
25301 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
25302 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
25303 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
25304 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
25305 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
25306 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
25307 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
25308 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
25309 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
25310 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
25311 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
25312 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
25313 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
25314 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
25315 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
25316 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
25317 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
25318 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
25319 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
25320 (test-xfail-POSIX2008/signal.h/conform): Likewise.
25321 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
25322 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
25323 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
25324 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
25325 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
25326 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
25327 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
25328 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
25329 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
25330 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
25331 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
25332 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
25333 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
25334 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
25335 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
25336 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
25337 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
25338 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
25339 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
25340 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
25341 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
25342 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
25343 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
25344 (conformtest-cc-flags): Likewise.
25345 ($(conformtest-header-tests): New target.
25346 * conform/check-header-lists.sh: New file.
25347 * conform/run-conformtest.sh: Remove.
25348
25349 * conform/conformtest.pl: Allow ' and \ in values given for
25350 constants.
25351 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
25352 inclusion.
25353 [POSIX] (sys/types.h): Likewise.
25354 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
25355 inclusion.
25356 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
25357 inclusion.
25358 * conform/data/signal.h-data (SIGIO): Remove expectation.
25359 [XPG3] (SIGBUS): Do not expect.
25360 [POSIX || XPG3] (SIGPOLL): Likewise.
25361 [POSIX || XPG3] (SIGPROF): Likewise.
25362 [POSIX || XPG3] (SIGSYS): Likewise.
25363 [XPG3] (SIGTRAP): Likewise.
25364 [POSIX || XPG3] (SIGURG): Likewise.
25365 [POSIX || XPG3] (SIGVTALRM): Likewise.
25366 [POSIX || XPG3] (SIGXCPU): Likewise.
25367 [POSIX || XPG3] (SIGXFSZ): Likewise.
25368 [POSIX] (SA_SIGINFO): Expect.
25369 [XPG3] (siginfo_t): Do not expect type or contents.
25370 [POSIX] (si_pid): Do not expect element.
25371 [POSIX] (si_uid): Likewise.
25372 [POSIX] (si_addr): Likewise.
25373 [POSIX] (si_status): Likewise.
25374 [POSIX] (si_band): Likewise.
25375 [XPG4] (si_value): Likewise.
25376 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
25377 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
25378 [POSIX || XPG3] (ILL_ILLADR): Likewise.
25379 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
25380 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
25381 [POSIX || XPG3] (ILL_PRVREG): Likewise.
25382 [POSIX || XPG3] (ILL_COPROC): Likewise.
25383 [POSIX || XPG3] (ILL_BADSTK): Likewise.
25384 [POSIX || XPG3] (FPE_INTDIV): Likewise.
25385 [POSIX || XPG3] (FPE_INTOVF): Likewise.
25386 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
25387 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
25388 [POSIX || XPG3] (FPE_FLTUND): Likewise.
25389 [POSIX || XPG3] (FPE_FLTRES): Likewise.
25390 [POSIX || XPG3] (FPE_FLTINV): Likewise.
25391 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
25392 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
25393 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
25394 [POSIX || XPG3] (BUS_ADRALN): Likewise.
25395 [POSIX || XPG3] (BUS_ADRERR): Likewise.
25396 [POSIX || XPG3] (BUS_OBJERR): Likewise.
25397 [POSIX || XPG3] (CLD_EXITED): Likewise.
25398 [POSIX || XPG3] (CLD_KILLED): Likewise.
25399 [POSIX || XPG3] (CLD_DUMPED): Likewise.
25400 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
25401 [POSIX || XPG3] (CLD_STOPPED): Likewise.
25402 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
25403 [POSIX || XPG3] (POLL_IN): Likewise.
25404 [POSIX || XPG3] (POLL_OUT): Likewise.
25405 [POSIX || XPG3] (POLL_MSG): Likewise.
25406 [POSIX || XPG3] (POLL_ERR): Likewise.
25407 [POSIX || XPG3] (POLL_PRI): Likewise.
25408 [POSIX || XPG3] (POLL_HUP): Likewise.
25409 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
25410 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
25411 (SIG*): Do not allow.
25412 [XPG3] (si_*): Likewise.
25413 [XPG3] (SI_*): Likewise.
25414 [XPG3 || XPG4] (sigev_*): Likewise.
25415 [XPG3 || XPG4] (SIGEV_*): Likewise.
25416 [XPG3 || XPG4] (sival_*): Likewise.
25417 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
25418 [POSIX || XPG3] (BUS_*): Likewise.
25419 [POSIX || XPG3] (CLD_*): Likewise.
25420 [POSIX || XPG3] (FPE_*): Likewise.
25421 [POSIX || XPG3] (ILL_*): Likewise.
25422 [POSIX || XPG3] (POLL_*): Likewise.
25423 [POSIX || XPG3] (SEGV_*): Likewise.
25424 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
25425 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
25426 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
25427 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
25428 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
25429 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
25430 Specify type and value.
25431 (TVERSLEN): Likewise.
25432 (REGTYPE): Likewise.
25433 (AREGTYPE): Likewise.
25434 (LNKTYPE): Likewise.
25435 (SYMTYPE): Likewise.
25436 (CHRTYPE): Likewise.
25437 (BLKTYPE): Likewise.
25438 (DIRTYPE): Likewise.
25439 (FIFOTYPE): Likewise.
25440 (CONTTYPE): Likewise.
25441 (TSUID): Likewise.
25442 (TSGID): Likewise.
25443 (TSVTX): Likewise.
25444 (TUREAD): Likewise.
25445 (TUWRITE): Likewise.
25446 (TUEXEC): Likewise.
25447 (TGREAD): Likewise.
25448 (TGWRITE): Likewise.
25449 (TGEXEC): Likewise.
25450 (TOREAD): Likewise.
25451 (TOWRITE): Likewise.
25452 (TOEXEC): Likewise.
25453 [POSIX] (TSVTX): Expect constant.
25454
25455 2014-03-06 Joseph Myers <joseph@codesourcery.com>
25456
25457 * Makefile (tests): Change dependencies to ....
25458 (tests-special): ... additions to this variable.
25459 (tests): Depend on $(tests-special).
25460 * Makerules (check-abi-list): New variable.
25461 (check-abi): Depend on $(check-abi-list).
25462 [$(subdir) = elf] (tests-special): Add
25463 $(objpfx)check-abi-libc.out.
25464 [$(build-shared) = yes && subdir] (tests-special): Add
25465 $(check-abi-list).
25466 [$(build-shared) = yes && subdir] (tests): Do not depend on
25467 check-abi.
25468 * Rules (tests): Depend on $(tests-special).
25469 (xtests): Depend on $(xtests-special).
25470 * catgets/Makefile (tests): Change dependencies to ....
25471 (tests-special): ... additions to this variable.
25472 * conform/Makefile (tests): Change dependencies to ....
25473 (tests-special): ... additions to this variable.
25474 * elf/Makefile (tests): Change dependencies to ....
25475 (tests-special): ... additions to this variable.
25476 * grp/Makefile (tests): Change dependencies to ....
25477 (tests-special): ... additions to this variable.
25478 * iconv/Makefile (xtests): Change dependencies to ....
25479 (xtests-special): ... additions to this variable.
25480 * iconvdata/Makefile (tests): Change dependencies to ....
25481 (tests-special): ... additions to this variable.
25482 * intl/Makefile (tests): Change dependencies to ....
25483 (tests-special): ... additions to this variable. Also add
25484 $(objpfx)tst-gettext.out.
25485 * io/Makefile (tests): Change dependencies to ....
25486 (tests-special): ... additions to this variable.
25487 * libio/Makefile (tests): Change dependencies to ....
25488 (tests-special): ... additions to this variable.
25489 * malloc/Makefile (tests): Change dependencies to ....
25490 (tests-special): ... additions to this variable.
25491 * misc/Makefile (tests): Change dependencies to ....
25492 (tests-special): ... additions to this variable.
25493 * nptl/Makefile (tests): Change dependencies to ....
25494 (tests-special): ... additions to this variable.
25495 * nptl_db/Makefile (tests): Change dependencies to ....
25496 (tests-special): ... additions to this variable.
25497 * posix/Makefile (tests): Change dependencies to ....
25498 (tests-special): ... additions to this variable.
25499 (xtests): Change dependencies to ....
25500 (xtests-special): ... additions to this variable.
25501 * resolv/Makefile (tests): Change dependencies to ....
25502 (tests-special): ... additions to this variable.
25503 (xtests): Change dependencies to ....
25504 (xtests-special): ... additions to this variable.
25505 * stdio-common/Makefile (tests): Change dependencies to ....
25506 (tests-special): ... additions to this variable.
25507 (do-tst-unbputc): Remove target.
25508 (do-tst-printf): Likewise.
25509 * stdlib/Makefile (tests): Change dependencies to ....
25510 (tests-special): ... additions to this variable.
25511 * string/Makefile (tests): Change dependencies to ....
25512 (tests-special): ... additions to this variable.
25513 * sysdeps/x86/Makefile (tests): Change dependencies to ....
25514 (tests-special): ... additions to this variable.
25515
25516 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
25517 whole file.
25518 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
25519 whole file.
25520 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
25521 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
25522
25523 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
25524 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
25525 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
25526 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
25527 * conform/data/libgen.h-data [XPG3]: Likewise.
25528 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
25529 * conform/data/ndbm.h-data [XPG3]: Likewise.
25530 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
25531 * conform/data/netdb.h-data [XPG3]: Likewise.
25532 * conform/data/netinet/in.h-data [XPG3]: Likewise.
25533 * conform/data/poll.h-data [XPG3]: Likewise.
25534 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
25535 * conform/data/strings.h-data [XPG3]: Likewise.
25536 * conform/data/stropts.h-data [XPG3]: Likewise.
25537 * conform/data/sys/mman.h-data [XPG3]: Likewise.
25538 * conform/data/sys/resource.h-data [XPG3]: Likewise.
25539 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
25540 Likewise.
25541 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
25542 * conform/data/sys/time.h-data [XPG3]: Likewise.
25543 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
25544 * conform/data/sys/uio.h-data [XPG3]: Likewise.
25545 * conform/data/sys/un.h-data [XPG3]: Likewise.
25546 * conform/data/syslog.h-data [XPG3]: Likewise.
25547 * conform/data/ucontext.h-data [XPG3]: Likewise.
25548 * conform/data/utmpx.h-data [XPG3]: Likewise.
25549 * conform/data/varargs.h-data [UNIX98]: Enable file.
25550
25551 * manual/Makefile (INSTALL_INFO): Remove variable setting.
25552
25553 * math/libm-test.inc (struct test_f_f_data): Move expected results
25554 into structure for each rounding mode.
25555 (struct test_ff_f_data): Likewise.
25556 (struct test_ff_f_data_nexttoward): Likewise.
25557 (struct test_fi_f_data): Likewise.
25558 (struct test_fl_f_data): Likewise.
25559 (struct test_if_f_data): Likewise.
25560 (struct test_fff_f_data): Likewise.
25561 (struct test_c_f_data): Likewise.
25562 (struct test_f_f1_data): Likewise.
25563 (struct test_fF_f1_data): Likewise.
25564 (struct test_ffI_f1_data): Likewise.
25565 (struct test_c_c_data): Likewise.
25566 (struct test_cc_c_data): Likewise.
25567 (struct test_f_i_data): Likewise.
25568 (struct test_ff_i_data): Likewise.
25569 (struct test_f_l_data): Likewise.
25570 (struct test_f_L_data): Likewise.
25571 (struct test_fFF_11_data): Likewise.
25572 (RM_): New macro.
25573 (RM_FE_DOWNWARD): Likewise.
25574 (RM_FE_TONEAREST): Likewise.
25575 (RM_FE_TOWARDZERO): Likewise.
25576 (RM_FE_UPWARD): Likewise.
25577 (RUN_TEST_LOOP_f_f): Update references to expected results.
25578 (RUN_TEST_LOOP_2_f): Likewise.
25579 (RUN_TEST_LOOP_fff_f): Likewise.
25580 (RUN_TEST_LOOP_c_f): Likewise.
25581 (RUN_TEST_LOOP_f_f1): Likewise.
25582 (RUN_TEST_LOOP_fF_f1): Likewise.
25583 (RUN_TEST_LOOP_fI_f1): Likewise.
25584 (RUN_TEST_LOOP_ffI_f1): Likewise.
25585 (RUN_TEST_LOOP_c_c): Likewise.
25586 (RUN_TEST_LOOP_cc_c): Likewise.
25587 (RUN_TEST_LOOP_f_i): Likewise.
25588 (RUN_TEST_LOOP_f_i_tg): Likewise.
25589 (RUN_TEST_LOOP_ff_i_tg): Likewise.
25590 (RUN_TEST_LOOP_f_b): Likewise.
25591 (RUN_TEST_LOOP_f_b_tg): Likewise.
25592 (RUN_TEST_LOOP_f_l): Likewise.
25593 (RUN_TEST_LOOP_f_L): Likewise.
25594 (RUN_TEST_LOOP_fFF_11): Likewise.
25595 * math/gen-libm-test.pl (parse_args): Output four copies of
25596 expected results for each test.
25597
25598 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
25599 (__ASSUME_UTIMES): Remove.
25600 * sysdeps/unix/sysv/linux/tile/kernel-features.h
25601 (__ASSUME_UTIMES): Likewise.
25602
25603 * math/gen-auto-libm-tests.c: Update comment on output format.
25604 (output_for_one_input_case): Generate before-rounding and
25605 after-rounding information as conditions on output flags not
25606 floating-point format.
25607 * math/auto-libm-test-out: Regenerated.
25608 * math/gen-libm-test.pl (cond_value): New function.
25609 (or_cond_value): Use cond_value.
25610 (generate_testfile): Handle conditional exceptions.
25611
25612 2014-03-05 Joseph Myers <joseph@codesourcery.com>
25613
25614 * math/libm-test.inc (max_valid_error): New variable.
25615 (init_max_error): Take new argument specifying whether function
25616 results are exactly determined. Set max_valid_error and bound
25617 other variables for errors based on this argument.
25618 (set_max_error): Do not record results above max_valid_error.
25619 (check_float_internal): Only accept errors of up to 0.5ulps if
25620 also at most max_valid_error.
25621 (START): Take new argument EXACT and pass it to init_max_error.
25622 (acos_test): Update call to START.
25623 (acos_test_tonearest): Likewise.
25624 (acos_test_towardzero): Likewise.
25625 (acos_test_downward): Likewise.
25626 (acos_test_upward): Likewise.
25627 (acosh_test): Likewise.
25628 (asin_test): Likewise.
25629 (asin_test_tonearest): Likewise.
25630 (asin_test_towardzero): Likewise.
25631 (asin_test_downward): Likewise.
25632 (asin_test_upward): Likewise.
25633 (asinh_test): Likewise.
25634 (atan_test): Likewise.
25635 (atanh_test): Likewise.
25636 (atan2_test): Likewise.
25637 (cabs_test): Likewise.
25638 (cacos_test): Likewise.
25639 (cacosh_test): Likewise.
25640 (carg_test): Likewise.
25641 (casin_test): Likewise.
25642 (casinh_test): Likewise.
25643 (catan_test): Likewise.
25644 (catanh_test): Likewise.
25645 (cbrt_test): Likewise.
25646 (ccos_test): Likewise.
25647 (ccosh_test): Likewise.
25648 (ceil_test): Likewise.
25649 (cexp_test): Likewise.
25650 (cimag_test): Likewise.
25651 (clog_test): Likewise.
25652 (clog10_test): Likewise.
25653 (conj_test): Likewise.
25654 (copysign_test): Likewise.
25655 (cos_test): Likewise.
25656 (cos_test_tonearest): Likewise.
25657 (cos_test_towardzero): Likewise.
25658 (cos_test_downward): Likewise.
25659 (cos_test_upward): Likewise.
25660 (cosh_test): Likewise.
25661 (cosh_test_tonearest): Likewise.
25662 (cosh_test_towardzero): Likewise.
25663 (cosh_test_downward): Likewise.
25664 (cosh_test_upward): Likewise.
25665 (cpow_test): Likewise.
25666 (cproj_test): Likewise.
25667 (creal_test): Likewise.
25668 (csin_test): Likewise.
25669 (csinh_test): Likewise.
25670 (csqrt_test): Likewise.
25671 (ctan_test): Likewise.
25672 (ctan_test_tonearest): Likewise.
25673 (ctan_test_towardzero): Likewise.
25674 (ctan_test_downward): Likewise.
25675 (ctan_test_upward): Likewise.
25676 (ctanh_test): Likewise.
25677 (ctanh_test_tonearest): Likewise.
25678 (ctanh_test_towardzero): Likewise.
25679 (ctanh_test_downward): Likewise.
25680 (ctanh_test_upward): Likewise.
25681 (erf_test): Likewise.
25682 (erfc_test): Likewise.
25683 (exp_test): Likewise.
25684 (exp_test_tonearest): Likewise.
25685 (exp_test_towardzero): Likewise.
25686 (exp_test_downward): Likewise.
25687 (exp_test_upward): Likewise.
25688 (exp10_test): Likewise.
25689 (exp10_test_tonearest): Likewise.
25690 (exp10_test_towardzero): Likewise.
25691 (exp10_test_downward): Likewise.
25692 (exp10_test_upward): Likewise.
25693 (pow10_test): Likewise.
25694 (exp2_test): Likewise.
25695 (expm1_test): Likewise.
25696 (expm1_test_tonearest): Likewise.
25697 (expm1_test_towardzero): Likewise.
25698 (expm1_test_downward): Likewise.
25699 (expm1_test_upward): Likewise.
25700 (fabs_test): Likewise.
25701 (fdim_test): Likewise.
25702 (floor_test): Likewise.
25703 (fma_test): Likewise.
25704 (fma_test_towardzero): Likewise.
25705 (fma_test_downward): Likewise.
25706 (fma_test_upward): Likewise.
25707 (fmax_test): Likewise.
25708 (fmin_test): Likewise.
25709 (fmod_test): Likewise.
25710 (fpclassify_test): Likewise.
25711 (frexp_test): Likewise.
25712 (hypot_test): Likewise.
25713 (ilogb_test): Likewise.
25714 (isfinite_test): Likewise.
25715 (finite_test): Likewise.
25716 (isgreater_test): Likewise.
25717 (isgreaterequal_test): Likewise.
25718 (isinf_test): Likewise.
25719 (isless_test): Likewise.
25720 (islessequal_test): Likewise.
25721 (islessgreater_test): Likewise.
25722 (isnan_test): Likewise.
25723 (isnormal_test): Likewise.
25724 (issignaling_test): Likewise.
25725 (isunordered_test): Likewise.
25726 (j0_test): Likewise.
25727 (j1_test): Likewise.
25728 (jn_test): Likewise.
25729 (ldexp_test): Likewise.
25730 (lgamma_test): Likewise.
25731 (gamma_test): Likewise.
25732 (lrint_test): Likewise.
25733 (lrint_test_tonearest): Likewise.
25734 (lrint_test_towardzero): Likewise.
25735 (lrint_test_downward): Likewise.
25736 (lrint_test_upward): Likewise.
25737 (llrint_test): Likewise.
25738 (llrint_test_tonearest): Likewise.
25739 (llrint_test_towardzero): Likewise.
25740 (llrint_test_downward): Likewise.
25741 (llrint_test_upward): Likewise.
25742 (log_test): Likewise.
25743 (log10_test): Likewise.
25744 (log1p_test): Likewise.
25745 (log2_test): Likewise.
25746 (logb_test): Likewise.
25747 (logb_test_downward): Likewise.
25748 (lround_test): Likewise.
25749 (llround_test): Likewise.
25750 (modf_test): Likewise.
25751 (nearbyint_test): Likewise.
25752 (nextafter_test): Likewise.
25753 (nexttoward_test): Likewise.
25754 (pow_test): Likewise.
25755 (pow_test_tonearest): Likewise.
25756 (pow_test_towardzero): Likewise.
25757 (pow_test_downward): Likewise.
25758 (pow_test_upward): Likewise.
25759 (remainder_test): Likewise.
25760 (drem_test): Likewise.
25761 (remainder_test_tonearest): Likewise.
25762 (drem_test_tonearest): Likewise.
25763 (remainder_test_towardzero): Likewise.
25764 (drem_test_towardzero): Likewise.
25765 (remainder_test_downward): Likewise.
25766 (drem_test_downward): Likewise.
25767 (remainder_test_upward): Likewise.
25768 (drem_test_upward): Likewise.
25769 (remquo_test): Likewise.
25770 (rint_test): Likewise.
25771 (rint_test_tonearest): Likewise.
25772 (rint_test_towardzero): Likewise.
25773 (rint_test_downward): Likewise.
25774 (rint_test_upward): Likewise.
25775 (round_test): Likewise.
25776 (scalb_test): Likewise.
25777 (scalbn_test): Likewise.
25778 (scalbln_test): Likewise.
25779 (signbit_test): Likewise.
25780 (sin_test): Likewise.
25781 (sin_test_tonearest): Likewise.
25782 (sin_test_towardzero): Likewise.
25783 (sin_test_downward): Likewise.
25784 (sin_test_upward): Likewise.
25785 (sincos_test): Likewise.
25786 (sinh_test): Likewise.
25787 (sinh_test_tonearest): Likewise.
25788 (sinh_test_towardzero): Likewise.
25789 (sinh_test_downward): Likewise.
25790 (sinh_test_upward): Likewise.
25791 (sqrt_test): Likewise.
25792 (sqrt_test_tonearest): Likewise.
25793 (sqrt_test_towardzero): Likewise.
25794 (sqrt_test_downward): Likewise.
25795 (sqrt_test_upward): Likewise.
25796 (tan_test): Likewise.
25797 (tan_test_tonearest): Likewise.
25798 (tan_test_towardzero): Likewise.
25799 (tan_test_downward): Likewise.
25800 (tan_test_upward): Likewise.
25801 (tanh_test): Likewise.
25802 (tgamma_test): Likewise.
25803 (trunc_test): Likewise.
25804 (y0_test): Likewise.
25805 (y1_test): Likewise.
25806 (yn_test): Likewise.
25807 (significand_test): Likewise.
25808
25809 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
25810 individual tests in comment.
25811 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
25812 (prev_max_error): New variable.
25813 (prev_real_max_error): Likewise.
25814 (prev_imag_max_error): Likewise.
25815 (compare_ulp_data): Don't refer to test names in comment.
25816 (find_test_ulps): Remove function.
25817 (find_function_ulps): Likewise.
25818 (find_complex_function_ulps): Likewise.
25819 (init_max_error): Take function name as argument. Look up ulps
25820 for that function.
25821 (print_ulps): Remove function.
25822 (print_max_error): Use prev_max_error instead of calling
25823 find_function_ulps.
25824 (print_complex_max_error): Use prev_real_max_error and
25825 prev_imag_max_error instead of calling find_complex_function_ulps.
25826 (check_float_internal): Take max_ulp parameter instead of calling
25827 find_test_ulps. Don't call print_ulps.
25828 (check_float): Update call to check_float_internal.
25829 (check_complex): Update calls to check_float_internal.
25830 (START): Pass argument to init_max_error.
25831 * math/gen-libm-test.pl (%results): Don't include "kind"
25832 information.
25833 (parse_ulps): Don't handle ulps of individual tests.
25834 (print_ulps_file): Likewise.
25835 (output_ulps): Likewise.
25836 * math/README.libm-test: Update.
25837 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
25838 individual tests.
25839 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
25840 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
25841 * sysdeps/arm/libm-test-ulps: Likewise.
25842 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
25843 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
25844 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
25845 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
25846 * sysdeps/microblaze/libm-test-ulps: Likewise.
25847 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
25848 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
25849 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25850 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
25851 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
25852 * sysdeps/sh/libm-test-ulps: Likewise.
25853 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
25854 * sysdeps/tile/libm-test-ulps: Likewise.
25855 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25856
25857 2014-03-04 Joseph Myers <joseph@codesourcery.com>
25858
25859 * math/libm-test.inc (print_complex_max_error): Check separately
25860 whether real and imaginary errors are within allowed range and
25861 pass 0 to print_complex_function_ulps instead of value within
25862 allowed range.
25863
25864 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25865
25866 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
25867 formatting.
25868 (get_handles_fopen): Likewise.
25869 (do_write_test): Likewise.
25870
25871 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
25872
25873 * libio/fileops.c (do_ftell): Use cached offset when
25874 available.
25875 * libio/iofwide.c (do_ftell_wide): Likewise.
25876 * libio/iofdopen.c (_IO_new_fdopen): Don't use
25877 _IO_file_attach.
25878 * libio/wfileops.c (_IO_fwide): Don't cache offset.
25879
25880 [BZ #16532]
25881 * libio/libioP.h (get_file_offset): New function.
25882 * libio/fileops.c (get_file_offset): Likewise.
25883 (do_ftell): Likewise.
25884 (_IO_new_file_seekoff): Split out ftell logic.
25885 * libio/wfileops.c (do_ftell_wide): Likewise.
25886 (_IO_wfile_seekoff): Split out ftell logic.
25887 * libio/tst-ftell-active-handler.c: New test case.
25888 * libio/Makefile (tests): Add it.
25889
25890 2014-03-03 Roland McGrath <roland@hack.frob.com>
25891
25892 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
25893 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
25894
25895 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
25896
25897 [BZ #16639]
25898 * nscd/connections.c (nscd_init): Call do_exit.
25899 (start_threads): Call do_exit and notify_parent.
25900 (begin_drop_privileges): Call do_exit.
25901 (finish_drop_privileges): Likewise.
25902 * nscd/selinux.c (preserve_capabilities): Likewise.
25903 (install_real_capabilities): Likewise.
25904 (nscd_selinux_enabled): Likewise.
25905 (avc_create_thread): Likewise.
25906 (avc_alloc_lock): Likewise.
25907 (nscd_avc_init): Likewise.
25908 * nscd/nscd.c (parent_fd): New static variable.
25909 (main): Create a pipe between parent and child processes.
25910 Skip closing parent_fd.
25911 (monitor_child): New function.
25912 (do_exit): Likewise.
25913 (notify_parent): Likewise.
25914 * nscd/nscd.h (notify_parent): Likewise.
25915 (do_exit): Likewise.
25916
25917 2014-03-03 Carlos O'Donell <carlos@redhat.com>
25918
25919 * malloc/malloc.c (__libc_calloc): Revert last change.
25920
25921 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25922
25923 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25924
25925 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25926
25927 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
25928 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
25929 implementation.
25930 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
25931 (__libc_ifunc_impl_list): Likewise.
25932 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
25933 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
25934 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
25935 * string/strrchr.c: Define STRRCHR.
25936
25937 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
25938
25939 * benchtest/bench-strtok.c (simple_strtok): Delete.
25940 (strtok_string): Use as benchmark.
25941 * string/strtok (STRTOK): New macro.
25942
25943 2014-02-28 Carlos O'Donell <carlos@redhat.com>
25944
25945 * manual/threads.texi: Add header and standard comments to all
25946 functions.
25947
25948 * elf/dl-lookup.c (check_match): New function.
25949 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
25950 (do_lookup_x): Remove nested function check_match. Use non-nested
25951 function check_match.
25952
25953 2014-02-28 Roland McGrath <roland@hack.frob.com>
25954
25955 * csu/Makefile (generated, before-compile): Use += rather than =.
25956 * catgets/Makefile (generated, generated-dirs): Likewise.
25957 * debug/Makefile (generated): Likewise.
25958 * dlfcn/Makefile (generated): Likewise.
25959 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
25960 * iconvdata/Makefile (before-compile, generated): Likewise.
25961 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
25962 * libio/Makefile (generated): Likewise.
25963 * malloc/Makefile (generated): Likewise.
25964 * manual/Makefile (generated, generated-dirs): Likewise.
25965 * misc/Makefile (generated): Likewise.
25966 * posix/Makefile (generated): Likewise.
25967 * resolv/Makefile (generated): Likewise.
25968 * sunrpc/Makefile (generated, generated-dirs): Likewise.
25969 * timezone/Makefile (generated, generated-dirs): Likewise.
25970
25971 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
25972
25973 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25974
25975 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
25976 power8 implementation.
25977 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
25978 file: POWER8 llround ifunc implementation.
25979 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
25980 (__lllround): Add POWER8 implementation.
25981 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
25982 POWER8 llround implementation.
25983
25984 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
25985 power8 implementation.
25986 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
25987 file: POWER8 llrint ifunc implementation.
25988 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
25989 Add POWER8 implementation.
25990 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
25991 POWER8 llrint implementation.
25992
25993 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
25994 power8 implementation.
25995 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
25996 file: POWER8 finite ifunc implementation.
25997 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
25998 Add POWER8 implementation.
25999 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
26000 Likewise.
26001 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
26002 POWER8 finite implementation.
26003 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
26004
26005 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
26006 power8 implementation.
26007 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
26008 file: POWER8 isinf ifunc implementation.
26009 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
26010 POWER8 implementation.
26011 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
26012 Likewise.
26013 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
26014 isinf implementation.
26015 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
26016
26017 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
26018 (INIT_ARCH): Add hwcap2 initialization.
26019 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
26020 power8 implementation.
26021 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
26022 file: POWER8 isnan ifunc implementation.
26023 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
26024 POWER8 implementation.
26025 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
26026 Likewise.
26027 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
26028 isnan implementation.
26029 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
26030
26031 2014-02-27 Joey Ye <joey.ye@arm.com>
26032
26033 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
26034 (_FP_NANFRAC_Q): Set to zero.
26035
26036 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
26037
26038 [BZ #16623]
26039 * math/auto-libm-test-in: New test inputs.
26040 * math/auto-libm-test-out: Regenerate.
26041 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
26042 and DA.
26043 (__cos): Likewise.
26044 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
26045
26046 2014-02-27 Joseph Myers <joseph@codesourcery.com>
26047
26048 * scripts/evaluate-test.sh: Take new argument indicating whether
26049 failure is expected.
26050 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
26051 indicating whether failure is expected.
26052 * conform/Makefile (test-xfail-run-conformtest): New variable.
26053 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
26054 level.
26055 * posix/Makefile (test-xfail-annexc): New variable.
26056 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
26057
26058 2014-02-26 Joseph Myers <joseph@codesourcery.com>
26059
26060 * argp/Makefile: Include Makeconfig immediately after defining
26061 subdir.
26062 * assert/Makefile: Likewise.
26063 * benchtests/Makefile: Likewise.
26064 * catgets/Makefile: Likewise.
26065 * conform/Makefile: Likewise.
26066 * crypt/Makefile: Likewise.
26067 * csu/Makefile: Likewise.
26068 (all): Remove target.
26069 * ctype/Makefile: Include Makeconfig immediately after defining
26070 subdir.
26071 * debug/Makefile: Likewise.
26072 * dirent/Makefile: Likewise.
26073 * dlfcn/Makefile: Likewise.
26074 * gmon/Makefile: Likewise.
26075 * gnulib/Makefile: Likewise.
26076 * grp/Makefile: Likewise.
26077 * gshadow/Makefile: Likewise.
26078 * hesiod/Makefile: Likewise.
26079 * hurd/Makefile: Likewise.
26080 (all): Remove target.
26081 * iconvdata/Makefile: Include Makeconfig immediately after
26082 defining subdir.
26083 * inet/Makefile: Likewise.
26084 * intl/Makefile: Likewise.
26085 * io/Makefile: Likewise.
26086 * libio/Makefile: Likewise.
26087 (all): Remove target.
26088 * locale/Makefile: Include Makeconfig immediately after defining
26089 subdir.
26090 * login/Makefile: Likewise.
26091 * mach/Makefile: Likewise.
26092 (all): Remove target.
26093 * malloc/Makefile: Include Makeconfig immediately after defining
26094 subdir.
26095 (all): Remove target.
26096 * manual/Makefile: Include Makeconfig immediately after defining
26097 subdir.
26098 * math/Makefile: Likewise.
26099 * misc/Makefile: Likewise.
26100 * nis/Makefile: Likewise.
26101 * nss/Makefile: Likewise.
26102 * po/Makefile: Likewise.
26103 (all): Remove target.
26104 * posix/Makefile: Include Makeconfig immediately after defining
26105 subdir.
26106 * pwd/Makefile: Likewise.
26107 * resolv/Makefile: Likewise.
26108 * resource/Makefile: Likewise.
26109 * rt/Makefile: Likewise.
26110 * setjmp/Makefile: Likewise.
26111 * shadow/Makefile: Likewise.
26112 * signal/Makefile: Likewise.
26113 * socket/Makefile: Likewise.
26114 * soft-fp/Makefile: Likewise.
26115 * stdio-common/Makefile: Likewise.
26116 * stdlib/Makefile: Likewise.
26117 * streams/Makefile: Likewise.
26118 * string/Makefile: Likewise.
26119 * sunrpc/Makefile: Likewise.
26120 (all): Remove target.
26121 * sysvipc/Makefile: Include Makeconfig immediately after defining
26122 subdir.
26123 * termios/Makefile: Likewise.
26124 * time/Makefile: Likewise.
26125 * timezone/Makefile: Likewise.
26126 (all): Remove target.
26127 * wcsmbs/Makefile: Include Makeconfig immediately after defining
26128 subdir.
26129 * wctype/Makefile: Likewise.
26130
26131 2014-02-26 Steve Ellcey <sellcey@mips.com>
26132
26133 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
26134 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
26135 (libc_feholdexcept_setround_mips): Ditto.
26136 (libc_feholdsetround): New.
26137 (libc_feholdsetroundf): New.
26138 (libc_feholdsetroundl): New.
26139 (libc_feupdateenv_test_mips): New.
26140 (libc_feupdateenv_test): New.
26141 (libc_feupdateenv_testf): New.
26142 (libc_feupdateenv_testl): New.
26143 (libc_feresetround): New.
26144 (libc_feresetroundf): New.
26145 (libc_feresetroundl): New.
26146 (libc_fetestexcept_mips): New.
26147 (libc_fetestexcept): New.
26148 (libc_fetestexceptf): New.
26149 (libc_fetestexceptl): New.
26150 (HAVE_RM_CTX): New.
26151 (libc_feholdexcept_setround_mips_ctx): New.
26152 (libc_feholdexcept_setround_ctx): New.
26153 (libc_feholdexcept_setroundf_ctx): New.
26154 (libc_feholdexcept_setroundl_ctx): New.
26155 (libc_fesetenv_mips_ctx): New.
26156 (libc_fesetenv_ctx): New.
26157 (libc_fesetenv_ctxf): New.
26158 (libc_fesetenv_ctxl): New.
26159 (libc_feupdateenv_mips_ctx): New.
26160 (libc_feupdateenv_ctx): New.
26161 (libc_feupdateenvf_ctx): New.
26162 (libc_feupdateenvl_ctx): New.
26163 (libc_feholdsetround_mips_ctx): New.
26164 (libc_feholdsetround_ctx): New.
26165 (libc_feholdsetroundf_ctx): New.
26166 (libc_feholdsetroundl_ctx): New.
26167 (libc_feresetround_mips_ctx): New.
26168 (libc_feresetround_ctx): New.
26169 (libc_feresetroundf_ctx): New.
26170 (libc_feresetroundl_ctx): New.
26171
26172 2014-02-26 Carlos O'Donell <carlos@redhat.com>
26173
26174 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
26175
26176 * manual/ipc.texi: New file.
26177 * manual/Makefile (chapters): Add ipc.
26178 * manual/job.texi: Add "Inter-Process Communication" to next.
26179 * manual/process.texi: Add "Inter-Process Communication" to prev.
26180
26181 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26182
26183 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26184
26185 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
26186
26187 * malloc/malloc.c (__libc_calloc): Simplify implementation.
26188
26189 * manual/arith.texi: Fix spaces after sentences.
26190 * manual/charset.texi: Likewise.
26191 * manual/errno.texi: Likewise.
26192 * manual/install.texi: Likewise.
26193 * manual/llio.texi: Likewise.
26194 * manual/locale.texi: Likewise.
26195 * manual/maint.texi: Likewise.
26196 * manual/math.texi: Likewise.
26197 * manual/memory.texi: Likewise.
26198 * manual/message.texi: Likewise.
26199 * manual/probes.texi: Likewise.
26200 * manual/resource.texi: Likewise.
26201 * manual/signal.texi: Likewise.
26202 * manual/socket.texi: Likewise.
26203 * manual/stdio.texi: Likewise.
26204 * manual/string.texi: Likewise.
26205 * manual/time.texi: Likewise.
26206 * manual/users.texi: Likewise.
26207
26208 2014-02-25 Carlos O'Donell <carlos@redhat.com>
26209
26210 [BZ #16632]
26211 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
26212 _DEFAULT_SOURCE is defined.
26213
26214 2014-02-25 Ulrich Drepper <drepper@gmail.com>
26215 Carlos O'Donell <carlos@redhat.com>
26216
26217 [BZ #16613]
26218 * elf/dl-tls.c (_dl_count_modids): New function.
26219 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
26220 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
26221 audit library and increment generation counter.
26222 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
26223 * elf/tst-audit9.c: New file.
26224 * elf/tst-auditmod9a.c: New file.
26225 * elf/tst-auditmod9b.c: New file.
26226 * elf/Makefile: Add rules to build and run tst-audit9.
26227
26228 2014-02-25 Florian Weimer <fweimer@redhat.com>
26229
26230 [BZ #15347]
26231 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
26232
26233 2014-02-25 Will Newton <will.newton@linaro.org>
26234
26235 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
26236 (__longjmp): Restore sp and lr before restoring callee
26237 saved registers. Add longjmp and longjmp_target
26238 SystemTap probe point.
26239 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
26240 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
26241 Define to zero to match jmpbuf layout.
26242 * sysdeps/arm/setjmp.S: Include stap-probe.h.
26243 (__sigsetjmp): Save sp and lr before saving callee
26244 saved registers. Add setjmp SystemTap probe point.
26245
26246 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
26247
26248 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
26249
26250 2014-02-24 Andreas Schwab <schwab@suse.de>
26251
26252 [BZ #15804]
26253 * elf/pldd.c (wait_for_ptrace_stop): New function.
26254 (main): Call it after attaching.
26255
26256 2014-02-22 Roland McGrath <roland@hack.frob.com>
26257
26258 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
26259 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
26260 Versions files is now verboten.
26261 * hurd/Versions (libc: GLIBC_2.0):
26262 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
26263 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
26264 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
26265 * mach/Versions: Likewise.
26266
26267 * csu/Versions: Remove unused %include.
26268 * resolv/Versions: Likewise.
26269
26270 2014-02-21 Joseph Myers <joseph@codesourcery.com>
26271
26272 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
26273 ($(objpfx)check-local-headers.out): Likewise.
26274 ($(objpfx)begin-end-check.out): Likewise.
26275 * Makerules (check-abi-%.out): Likewise.
26276 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
26277 ($(objpfx)test2.cat): Likewise.
26278 ($(objpfx)de/libc.cat): Likewise.
26279 ($(objpfx)test-gencat.out): Likewise.
26280 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
26281 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
26282 ($(objpfx)noload-mem): Likewise.
26283 ($(objpfx)tst-pathopt.out): Likewise.
26284 ($(objpfx)tst-rtld-load-self.out): Likewise.
26285 ($(objpfx)tst-array1-cmp.out): Likewise.
26286 ($(objpfx)tst-array1-static-cmp.out): Likewise.
26287 ($(objpfx)tst-array2-cmp.out): Likewise.
26288 ($(objpfx)tst-array3-cmp.out): Likewise.
26289 ($(objpfx)tst-array4-cmp.out): Likewise.
26290 ($(objpfx)tst-array5-cmp.out): Likewise.
26291 ($(objpfx)tst-array5-static-cmp.out): Likewise.
26292 ($(objpfx)check-textrel.out): Likewise.
26293 ($(objpfx)check-execstack.out): Likewise.
26294 ($(objpfx)check-localplt.out): Likewise.
26295 ($(objpfx)order2-cmp.out): Likewise.
26296 ($(objpfx)tst-leaks1-mem): Likewise.
26297 ($(objpfx)tst-leaks1-static-mem): Likewise.
26298 ($(objpfx)tst-initorder-cmp.out): Likewise.
26299 ($(objpfx)tst-initorder2-cmp.out): Likewise.
26300 ($(objpfx)tst-unused-dep.out): Likewise.
26301 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
26302 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
26303 * iconv/Makefile (test-iconvconfig): Likewise.
26304 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
26305 ($(objpfx)iconv-test.out): Likewise.
26306 ($(objpfx)tst-tables.out): Likewise.
26307 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
26308 ($(objpfx)tst-gettext.out): Likewise.
26309 ($(objpfx)tst-translit.out): Likewise.
26310 ($(objpfx)tst-gettext2.out): Likewise.
26311 ($(objpfx)tst-gettext4.out): Likewise.
26312 ($(objpfx)tst-gettext6.out): Likewise.
26313 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
26314 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
26315 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
26316 ($(objpfx)tst-fopenloc-mem.out): Likewise.
26317 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
26318 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
26319 * posix/Makefile ($(objpfx)globtest.out): Likewise.
26320 ($(objpfx)wordexp-tst.out): Likewise.
26321 ($(objpfx)annexc.out): Likewise.
26322 ($(objpfx)tst-fnmatch-mem): Likewise.
26323 ($(objpfx)bug-regex2-mem): Likewise.
26324 ($(objpfx)bug-regex14-mem): Likewise.
26325 ($(objpfx)bug-regex21-mem): Likewise.
26326 ($(objpfx)bug-regex31-mem): Likewise.
26327 ($(objpfx)tst-vfork3-mem): Likewise.
26328 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
26329 ($(objpfx)tst-pcre-mem): Likewise.
26330 ($(objpfx)tst-boost-mem): Likewise.
26331 ($(objpfx)tst-getconf.out): Likewise.
26332 ($(objpfx)bug-ga2-mem): Likewise.
26333 ($(objpfx)bug-glob2-mem): Likewise.
26334 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
26335 ($(objpfx)mtrace-tst-leaks2): Likewise.
26336 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
26337 ($(objpfx)tst-printf.out): Likewise.
26338 ($(objpfx)tst-setvbuf1.out): Likewise.
26339 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
26340 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
26341 ($(objpfx)tst-fmtmsg.out): Likewise.
26342 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
26343 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
26344
26345 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
26346 * bits/sigaction.h [__USE_MISC]: Likewise.
26347 * bits/waitstatus.h: Update #endif comments.
26348 * ctype/ctype.h: Likewise.
26349 * dirent/dirent.h: Likewise.
26350 [__USE_MISC]: Remove redundant conditionals.
26351 * grp/grp.h: Update #endif comments.
26352 [__USE_GNU]: Remove redundant conditionals.
26353 [__USE_MISC]: Likewise.
26354 * inet/netinet/in.h [__USE_GNU]: Likewise.
26355 * io/sys/stat.h [__USE_MISC]: Likewise.
26356 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
26357 * libio/bits/stdio.h: Update #endif comments.
26358 [__USE_MISC]: Remove redundant conditionals.
26359 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
26360 * libio/stdio.h: Update #endif comments.
26361 [__USE_MISC]: Remove redundant conditionals.
26362 * math/bits/math-finite.h [__USE_MISC]: Likewise.
26363 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
26364 * math/math.h: Update #else and #endif comments.
26365 [__USE_MISC]: Remove redundant conditionals.
26366 * misc/sys/uio.h: Update #endif comments.
26367 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
26368 * posix/glob.h [__USE_MISC]: Likewise.
26369 * posix/sys/types.h: Update #endif comments.
26370 [__USE_MISC]: Remove redundant conditionals.
26371 * posix/sys/wait.h: Update #endif comments.
26372 [__USE_MISC]: Remove redundant conditionals.
26373 * posix/unistd.h: Update #endif comments.
26374 [__USE_MISC]: Remove redundant conditionals.
26375 * pwd/pwd.h [__USE_GNU]: Likewise.
26376 [__USE_MISC]: Likewise.
26377 * resolv/netdb.h [__USE_GNU]: Likewise.
26378 * signal/signal.h: Update #endif comments.
26379 [__USE_MISC]: Remove redundant conditionals.
26380 * stdlib/stdlib.h: Update #else and #endif comments.
26381 [__USE_MISC]: Remove redundant conditionals.
26382 [__USE_GNU]: Likewise.
26383 * string/bits/string2.h [__USE_MISC]: Likewise.
26384 * string/string.h: Update #endif comments.
26385 [__USE_MISC]: Remove redundant conditionals.
26386 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
26387 Likewise.
26388 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
26389 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
26390 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
26391 Likewise.
26392 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
26393 Likewise.
26394 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
26395 comments.
26396 [__USE_MISC]: Remove redundant conditionals.
26397 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
26398 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
26399 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
26400 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
26401 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
26402 Likewise.
26403 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
26404 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
26405 Likewise.
26406 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
26407 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
26408 Likewise.
26409 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
26410 Likewise.
26411 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
26412 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
26413 Likewise.
26414 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
26415 Likewise.
26416 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
26417 * sysdeps/x86/bits/string.h: Update #endif comments.
26418 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
26419 conditionals.
26420 * time/sys/time.h: Update #endif comments.
26421 * time/time.h: Likewise.
26422 [__USE_MISC]: Remove redundant conditionals.
26423
26424 2014-02-21 Yury Gribov <y.gribov@samsung.com>
26425
26426 [BZ #16600]
26427 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
26428
26429 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
26430
26431 * Versions.def (librt): Add GLIBC_2.17.
26432
26433 2014-02-21 Adam Conrad <adconrad@0c3.net>
26434
26435 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
26436 synonym for _SYS_AUXV_H to allow direct inclusion.
26437 * sysdeps/sparc/bits/hwcap.h: Likewise.
26438 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
26439 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
26440 * sysdeps/sparc/sysdep.h: Likewise.
26441
26442 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26443
26444 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
26445
26446 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26447
26448 * benchtests/bench-strrchr.c: Print length instead of position.
26449
26450 2014-02-20 Joseph Myers <joseph@codesourcery.com>
26451
26452 [BZ #16611]
26453 * sysdeps/unix/sysv/linux/kernel-features.h
26454 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
26455 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
26456 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
26457 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
26458 Likewise.
26459 [__i386__ || __powerpc__ || __sh__ || __sparc__]
26460 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
26461 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
26462 (__ASSUME_SENDMMSG): Define instead of using previous
26463 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
26464 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
26465 (__ASSUME_SENDMMSG_SYSCALL): Define.
26466 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
26467 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
26468 Likewise.
26469 * sysdeps/unix/sysv/linux/arm/kernel-features.h
26470 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
26471 Likewise.
26472 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
26473 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
26474 Likewise.
26475 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
26476 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
26477 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
26478 [__ASSUME_SENDMMSG]: Change conditionals to
26479 [__ASSUME_SENDMMSG_SOCKETCALL].
26480 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
26481 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
26482 Define.
26483 * sysdeps/unix/sysv/linux/mips/kernel-features.h
26484 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
26485 Likewise.
26486 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
26487 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
26488 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
26489 [!__ASSUME_SENDMMSG]: Change conditional to
26490 [!__ASSUME_SENDMMSG_SOCKETCALL].
26491 * sysdeps/unix/sysv/linux/tile/kernel-features.h
26492 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
26493 Define.
26494
26495 [BZ #16610]
26496 * sysdeps/unix/sysv/linux/kernel-features.h
26497 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
26498 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
26499 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
26500 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
26501 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
26502 [__i386__ || __sparc__]
26503 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
26504 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
26505 (__ASSUME_RECVMMSG): Define instead of using previous
26506 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
26507 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
26508 (__ASSUME_RECVMMSG_SYSCALL): Define.
26509 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
26510 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
26511 Likewise.
26512 * sysdeps/unix/sysv/linux/arm/kernel-features.h
26513 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
26514 Likewise.
26515 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
26516 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
26517 Likewise.
26518 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
26519 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
26520 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
26521 [__ASSUME_RECVMMSG]: Change condition to
26522 [__ASSUME_RECVMMSG_SOCKETCALL].
26523 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
26524 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
26525 Define.
26526 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
26527 * sysdeps/unix/sysv/linux/mips/kernel-features.h
26528 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
26529 Likewise.
26530 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
26531 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
26532 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
26533 [!__ASSUME_RECVMMSG]: Change condition to
26534 [!__ASSUME_RECVMMSG_SOCKETCALL].
26535 * sysdeps/unix/sysv/linux/tile/kernel-features.h
26536 (__ASSUME_RECVMMSG_SYSCALL): Define.
26537
26538 [BZ #16609]
26539 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
26540 __powerpc__ || __s390__ || __sh__ || __sparc__]
26541 (__ASSUME_SOCKETCALL): Define.
26542 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
26543 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
26544 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
26545 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
26546 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
26547 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
26548 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
26549 (__ASSUME_ACCEPT4): Define instead of using previous
26550 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
26551 __powerpc__ || __sparc__ || __s390__)] condition.
26552 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
26553 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
26554 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
26555 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
26556 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
26557 [!__ASSUME_ACCEPT4]: Change condition to
26558 [!__ASSUME_ACCEPT4_SOCKETCALL].
26559 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
26560 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
26561 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
26562 * sysdeps/unix/sysv/linux/arm/kernel-features.h
26563 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
26564 __ASSUME_ACCEPT4_SYSCALL.
26565 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
26566 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
26567 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
26568 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
26569 __ASSUME_ACCEPT4_SYSCALL.
26570 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
26571 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
26572 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
26573 [__ASSUME_ACCEPT4]: Change condition to
26574 [__ASSUME_ACCEPT4_SOCKETCALL].
26575 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
26576 (__ASSUME_SOCKETCALL): Define.
26577 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
26578 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
26579 (__ASSUME_SOCKETCALL): Define.
26580 (__ASSUME_ACCEPT4): Remove.
26581 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
26582 Define.
26583 * sysdeps/unix/sysv/linux/mips/kernel-features.h
26584 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
26585 Likewise.
26586 * sysdeps/unix/sysv/linux/tile/kernel-features.h
26587 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
26588
26589 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
26590 macro.
26591 (HWCAP_ARM_LPAE): Likewise.
26592 (HWCAP_ARM_EVTSTRM): Likewise.
26593 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
26594 Add vpfd32, lpae and evtstrm.
26595 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
26596 Increase to 22.
26597
26598 2014-02-19 Joseph Myers <joseph@codesourcery.com>
26599
26600 * math/auto-libm-test-in: Add tests of clog10.
26601 * math/auto-libm-test-out: Regenerated.
26602 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
26603 * sysdeps/i386/fpu/libm-test-ulps: Update.
26604 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26605
26606 2014-02-18 Andreas Schwab <schwab@suse.de>
26607
26608 [BZ #16574]
26609 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
26610 Store non-zero if the second buffer was newly allocated.
26611 (send_dg): Likewise.
26612 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
26613 to send_vc and send_dg.
26614 (res_nsend): Pass NULL for ansp2_malloced.
26615 * resolv/res_query.c (__libc_res_nquery): Add parameter
26616 answerp2_malloced and pass it down to __libc_res_nsend.
26617 (res_nquery): Pass additional NULL to __libc_res_nquery.
26618 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
26619 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
26620 second answer buffer if answerp2_malloced was set.
26621 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
26622 (__libc_res_nquerydomain): Add parameter
26623 answerp2_malloced and pass it down to __libc_res_nquery.
26624 (res_nquerydomain): Pass additional NULL to
26625 __libc_res_nquerydomain.
26626 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
26627 additional NULL to __libc_res_nsend and __libc_res_nquery.
26628 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
26629 additional NULL to __libc_res_nsearch.
26630 (_nss_dns_gethostbyname4_r): Revert last change. Use new
26631 parameter of __libc_res_nsearch to check for separately allocated
26632 second buffer.
26633 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
26634 __libc_res_nquery.
26635 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
26636 additional NULL to __libc_res_nquery.
26637 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
26638 __libc_res_nsearch.
26639 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
26640 * include/resolv.h: Update prototypes of __libc_res_nquery,
26641 __libc_res_nsearch, __libc_res_nsend.
26642
26643 2014-02-18 Joseph Myers <joseph@codesourcery.com>
26644
26645 * math/auto-libm-test-in: Add tests of fma.
26646 * math/auto-libm-test-out: Regenerated.
26647 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
26648 (fma_towardzero_test_data): Likewise.
26649 (fma_downward_test_data): Likewise.
26650 (fma_upward_test_data): Likewise.
26651 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
26652 mpc_mode.
26653 (rounding_modes): Add values for new field.
26654 (func_calc_method): Add value mpfr_fff_f.
26655 (func_calc_desc): Add mpfr_fff_f union field.
26656 (test_function): Add field exact_args.
26657 (FUNC): Add macro argument EXACT_ARGS.
26658 (FUNC_mpfr_f_f): Update call to FUNC.
26659 (FUNC_mpfr_f_f): Likewise.
26660 (FUNC_mpfr_ff_f): Likewise.
26661 (FUNC_mpfr_if_f): Likewise.
26662 (FUNC_mpc_c_f): Likewise.
26663 (FUNC_mpc_c_c): Likewise.
26664 (test_functions): Add fma. Update calls to FUNC.
26665 (handle_input_arg): Add argument exact_args.
26666 (add_test): Update call to handle_input_arg.
26667 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
26668 (output_for_one_input_case): Update call to calc_generic_results.
26669 Recalculate exact zero results in each rounding mode.
26670
26671 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
26672 non-negative before setting low bit.
26673 * math/auto-libm-test-in: Mark one asin test possibly having
26674 spurious underflow.
26675 * math/auto-libm-test-out: Regenerated.
26676 * sysdeps/i386/fpu/libm-test-ulps: Update.
26677 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26678
26679 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
26680
26681 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
26682 * sysdeps/unix/sysv/linux/microblaze: Move directory from
26683 ports/sysdeps/unix/sysv/linux/microblaze.
26684 * README: Add missing listing for microblaze*-*-linux-gnu.
26685
26686 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
26687
26688 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
26689 duplicate code
26690
26691 2014-02-16 Mike Frysinger <vapier@gentoo.org>
26692
26693 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
26694 * sysdeps/unix/sysv/linux/ia64: Move directory from
26695 ports/sysdeps/unix/sysv/linux/ia64.
26696 * README: Update listing for ia64-*-linux-gnu.
26697
26698 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
26699 Joseph Myers <joseph@codesourcery.com>
26700
26701 * Makeconfig (test-name): New variable.
26702 (evaluate-test): Likewise.
26703 * Makerules (do-test-clean): Remove .test-result files.
26704 (common-mostlyclean): Likewise.
26705 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
26706 * scripts/evaluate-test.sh: New file.
26707
26708 2014-02-14 Joseph Myers <joseph@codesourcery.com>
26709
26710 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
26711 separate $(objpfx)tst-fopenloc-cmp.out and
26712 $(objpfx)tst-fopenloc-mem.out targets.
26713 (tests): Update dependencies.
26714 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
26715 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
26716 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
26717 (tst-rxspencer-no-utf8-ARGS): New variable.
26718 (tst-rxspencer-no-utf8-ENV): Likewise.
26719 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
26720 instead of $(objpfx)tst-rxspencer-mem.
26721 ($(objpfx)tst-rxspencer-mem): Change target to
26722 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
26723 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
26724 * posix/tst-rxspencer-no-utf8.c: New file.
26725
26726 * elf/Makefile ($(objpfx)order.out): Remove rule.
26727 [$(run-built-tests) = yes] (tests): Depend on
26728 $(objpfx)order-cmp.out.
26729 ($(objpfx)order-cmp.out): New rule.
26730 [$(run-built-tests) = yes] (tests): Depend on
26731 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
26732 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
26733 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
26734 $(objpfx)tst-array5-static-cmp.out.
26735 ($(objpfx)tst-array1.out): Remove rule.
26736 ($(objpfx)tst-array1-cmp.out): New rule.
26737 ($(objpfx)tst-array1-static.out): Remove rule.
26738 ($(objpfx)tst-array1-static-cmp.out): New rule.
26739 ($(objpfx)tst-array2.out): Remove rule.
26740 ($(objpfx)tst-array2-cmp.out): New rule.
26741 ($(objpfx)tst-array3.out): Remove rule.
26742 ($(objpfx)tst-array3-cmp.out): New rule.
26743 ($(objpfx)tst-array4.out): Remove rule.
26744 ($(objpfx)tst-array4-cmp.out): New rule.
26745 ($(objpfx)tst-array5.out): Remove rule.
26746 ($(objpfx)tst-array5-cmp.out): New rule.
26747 ($(objpfx)tst-array5-static.out): Remove rule.
26748 ($(objpfx)tst-array5-static-cmp.out): New rule.
26749 [$(run-built-tests) = yes] (tests): Depend on
26750 $(objpfx)order2-cmp.out.
26751 ($(objpfx)order2.out): Remove rule.
26752 ($(objpfx)order2-cmp.out): New rule.
26753 ($(objpfx)tst-initorder.out): Remove rule.
26754 [$(run-built-tests) = yes] (tests): Depend on
26755 $(objpfx)tst-initorder-cmp.out.
26756 ($(objpfx)tst-initorder-cmp.out): New rule.
26757 ($(objpfx)tst-initorder2.out): Remove rule.
26758 [$(run-built-tests) = yes] (tests): Depend on
26759 $(objpfx)tst-initorder2-cmp.out.
26760 ($(objpfx)tst-initorder2-cmp.out): New rule.
26761 [$(run-built-tests) = yes] (tests): Depend on
26762 $(objpfx)tst-unused-dep-cmp.out.
26763 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
26764 ($(objpfx)tst-unused-dep-cmp.out): New rule.
26765 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
26766 on $(objpfx)tst-setvbuf1-cmp.out.
26767 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
26768 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
26769 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
26770 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
26771 ($(objpfx)tst-svc.out): Remove rule.
26772 ($(objpfx)tst-svc-cmp.out): New rule.
26773
26774 2014-02-13 Joseph Myers <joseph@codesourcery.com>
26775
26776 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
26777 * ctype/ctype.h [__USE_MISC]: Likewise.
26778 * dirent/dirent.h [__USE_MISC]: Likewise.
26779 * grp/grp.h [__USE_MISC]: Likewise.
26780 * io/fcntl.h [__USE_MISC]: Likewise.
26781 * io/sys/stat.h [__USE_MISC]: Likewise.
26782 * libio/stdio.h [__USE_MISC]: Likewise.
26783 * posix/unistd.h [__USE_MISC]: Likewise.
26784 * pwd/pwd.h [__USE_MISC]: Likewise.
26785 * stdlib.h [__USE_MISC]: Likewise.
26786 * string/bits/string2.h [__USE_MISC]: Likewise.
26787 * string/string.h [__USE_MISC]: Likewise.
26788 * time/time.h [__USE_MISC]: Likewise.
26789
26790 2014-02-13 Andreas Schwab <schwab@suse.de>
26791
26792 [BZ #16574]
26793 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
26794 second answer buffer if it was separately allocated.
26795
26796 2014-02-12 Joseph Myers <joseph@codesourcery.com>
26797
26798 * sysdeps/mips/math-tests.h: Include <features.h>.
26799 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
26800 (ROUNDING_TESTS_long_double): Do not define.
26801 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
26802 (EXCEPTION_TESTS_long_double): Likewise.
26803 * sysdeps/mips/mips64/libm-test-ulps: Update.
26804
26805 * include/features.h (__USE_BSD): Remove macro definitions.
26806 (__USE_SVID): Likewise.
26807 (_BSD_SOURCE): Likewise.
26808 (_SVID_SOURCE): Likewise.
26809 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
26810 from definition of _DEFAULT_SOURCE.
26811 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
26812 [_DEFAULT_SOURCE].
26813 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
26814 * bits/mman.h [__USE_BSD]: Likewise.
26815 * bits/termios.h [__USE_BSD]: Likewise.
26816 * bits/waitstatus.h [__USE_BSD]: Likewise.
26817 * ctype/ctype.h [__USE_SVID]: Likewise.
26818 * dirent/dirent.h [__USE_BSD]: Likewise.
26819 * grp/grp.h [__USE_SVID]: Likewise.
26820 [__USE_BSD]: Likewise.
26821 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
26822 * io/fcntl.h [__USE_BSD]: Likewise.
26823 * io/ftw.h [__USE_BSD]: Likewise.
26824 * io/sys/stat.h [__USE_BSD]: Likewise.
26825 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
26826 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
26827 * libio/stdio.h [__USE_SVID]: Likewise.
26828 [__USE_BSD]: Likewise.
26829 * math/math.h [__USE_SVID]: Likewise.
26830 [__USE_BSD]: Likewise.
26831 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
26832 * misc/bits/syslog.h [__USE_BSD]: Likewise.
26833 * misc/search.h [__USE_SVID]: Likewise.
26834 * misc/sys/mman.h [__USE_BSD]: Likewise.
26835 * misc/sys/syslog.h [__USE_BSD]: Likewise.
26836 * misc/sys/uio.h [__USE_BSD]: Likewise.
26837 * posix/bits/unistd.h [__USE_BSD]: Likewise.
26838 * posix/glob.h [__USE_BSD]: Likewise.
26839 * posix/regex.h [__USE_BSD]: Likewise.
26840 * posix/sys/types.h [__USE_BSD]: Likewise.
26841 [__USE_SVID]: Likewise.
26842 * posix/sys/utsname.h [__USE_SVID]: Likewise.
26843 * posix/sys/wait.h [__USE_BSD]: Likewise.
26844 [__USE_SVID]: Likewise.
26845 * posix/unistd.h [__USE_BSD]: Likewise.
26846 [__USE_SVID]: Likewise.
26847 * pwd/pwd.h [__USE_SVID]: Likewise.
26848 * resolv/netdb.h [__USE_BSD]: Likewise.
26849 * setjmp/setjmp.h [__USE_BSD]: Likewise.
26850 * signal/signal.h [__USE_BSD]: Likewise.
26851 [__USE_SVID]: Likewise.
26852 * socket/sys/socket.h [__USE_BSD]: Likewise.
26853 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
26854 * stdlib/stdlib.h [__USE_BSD]: Likewise.
26855 [__USE_SVID]: Likewise.
26856 * string/bits/string2.h [__USE_BSD]: Likewise.
26857 [__USE_SVID]: Likewise.
26858 * string/bits/string3.h [__USE_BSD]: Likewise.
26859 * string/endian.h [__USE_BSD]: Likewise.
26860 * string/string.h [__USE_SVID]: Likewise.
26861 [__USE_BSD]: Likewise.
26862 * string/strings.h [__USE_BSD]: Likewise.
26863 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
26864 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
26865 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
26866 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
26867 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
26868 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
26869 Likewise.
26870 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
26871 Likewise.
26872 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
26873 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
26874 Likewise.
26875 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
26876 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
26877 Likewise.
26878 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
26879 Likewise.
26880 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
26881 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
26882 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
26883 Likewise.
26884 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
26885 Likewise.
26886 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
26887 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
26888 * termios/termios.h [__USE_BSD]: Likewise.
26889 * time/sys/time.h [__USE_BSD]: Likewise.
26890 * time/time.h [__USE_BSD]: Likewise.
26891 [__USE_SVID]: Likewise.
26892
26893 * Makefile (subdir_targets): Remove subdir_lint.out.
26894
26895 * stdio-common/Makefile (do-tst-unbputc): Remove target.
26896 (do-tst-printf): Likewise.
26897 (tests): Depend directly on $(objpfx)tst-unbputc.out and
26898 $(objpfx)tst-printf.out.
26899
26900 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
26901
26902 * Makerules (check-abi-%): Change target to
26903 $(objpfx)check-abi-%.out.
26904 (check-abi target): Update dependencies.
26905 (check-abi-pattern variable): Redirect output of diff to $@.
26906 (check-abi variable): Likewise.
26907 * elf/Makefile (check-abi): Update dependencies.
26908
26909 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
26910 unused.
26911 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
26912 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
26913 subnormal range.
26914 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
26915 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
26916 value has largest subnormal exponent.
26917 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
26918 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
26919 * sysdeps/aarch64/soft-fp/sfp-machine.h
26920 (_FP_TININESS_AFTER_ROUNDING): New macro.
26921 * sysdeps/alpha/soft-fp/sfp-machine.h
26922 (_FP_TININESS_AFTER_ROUNDING): Likewise.
26923 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
26924 Likewise.
26925 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
26926 (_FP_TININESS_AFTER_ROUNDING): Likewise.
26927 * sysdeps/mips/soft-fp/sfp-machine.h
26928 (_FP_TININESS_AFTER_ROUNDING): Likewise.
26929 * sysdeps/powerpc/soft-fp/sfp-machine.h
26930 (_FP_TININESS_AFTER_ROUNDING): Likewise.
26931 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
26932 Likewise.
26933 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
26934 (_FP_TININESS_AFTER_ROUNDING): Likewise.
26935 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
26936 (_FP_TININESS_AFTER_ROUNDING): Likewise.
26937 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
26938 Likewise.
26939
26940 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
26941
26942 [BZ #16545]
26943 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
26944 model 1.
26945
26946 2014-02-12 Richard Henderson <rth@redhat.com>
26947
26948 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
26949 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
26950 * sysdeps/unix/sysv/linux/alpha: Move directory from
26951 ports/sysdeps/unix/sysv/linux/alpha.
26952 * README: Update listing for alpha-*-linux-gnu.
26953
26954 2014-02-11 Joseph Myers <joseph@codesourcery.com>
26955
26956 * include/features.h: Update comment documenting feature test
26957 macros.
26958 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
26959 _DEFAULT_SOURCE.
26960 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
26961 (_SVID_SOURCE): Likewise.
26962 (_DEFAULT_SOURCE): Update description of default features.
26963 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
26964 with _GNU_SOURCE.
26965 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
26966 (S_ISVTX): Likewise.
26967 * manual/math.texi (Mathematical Constants): Likewise.
26968 * manual/signal.texi (Interrupted Primitives): Likewise.
26969 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
26970 * math/test-matherr.c (_SVID_SOURCE): Do not define.
26971 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
26972 Don't refer to _SVID_SOURCE in warning text.
26973
26974 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26975
26976 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
26977 already defined.
26978 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
26979 * sysdeps/mips/dl-lookup.c: Remove.
26980 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
26981
26982 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
26983
26984 [BZ #16447]
26985 * math/auto-libm-test-in: Add testcase for expl.
26986 * math/auto-libm-test-out: Regenerate.
26987 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
26988 calculation of unsafe.
26989 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
26990
26991 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
26992
26993 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
26994 * sysdeps/unix/sysv/linux/aarch64: Move directory from
26995 ports/sysdeps/unix/sysv/linux/aarch64.
26996 * README: Update listing for aarch64*-*-linux-gnu.
26997
26998 2014-02-11 Will Newton <will.newton@linaro.org>
26999
27000 * manual/probes.texi (Mathematical Function Probes): Use
27001 "triggered" instead of "hit".
27002
27003 * manual/probes.texi (Internal Probes): Add documentation
27004 of setjmp, longjmp and longjmp_target probes.
27005
27006 * include/stap-probe.h: Add comment about probe argument
27007 format.
27008
27009 * malloc/mtrace.c (attribute_hidden): Remove unused macro
27010 definition. (tr_where, tr_freehook, tr_mallochook,
27011 tr_reallochook, tr_memalignhook): Use ANSI protoype.
27012
27013 2014-02-11 David S. Miller <davem@davemloft.net>
27014
27015 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
27016 processing int_tests.
27017
27018 2014-02-10 Joseph Myers <joseph@codesourcery.com>
27019
27020 * sysdeps/mips: Move directory from ports/sysdeps/mips.
27021 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
27022 * sysdeps/unix/sysv/linux/mips: Move directory from
27023 ports/sysdeps/unix/sysv/linux/mips.
27024 * README: Update listing for mips-*-linux-gnu and
27025 mips64-*-linux-gnu.
27026
27027 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
27028
27029 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
27030 * sysdeps/unix/sysv/linux/m68k: Move directory from
27031 ports/sysdeps/unix/sysv/linux/m68k.
27032 * README: Update listing for m68k-*-linux-gnu.
27033
27034 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
27035
27036 * sysdeps/tile: Move directory from ports/sysdeps/tile.
27037 * sysdeps/unix/sysv/linux/generic: Move directory from
27038 ports/sysdeps/unix/sysv/linux/generic.
27039 * sysdeps/unix/sysv/linux/tile: Move directory from
27040 ports/sysdeps/unix/sysv/linux/tile.
27041 * README: Update listing for tile*-*-linux-gnu.
27042
27043 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
27044
27045 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
27046 __builtin_expect.
27047 * benchtests/bench-memmem.c (simple_memmem): Likewise.
27048 * catgets/open_catalog.c (__open_catalog): Likewise.
27049 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
27050 * debug/confstr_chk.c: Likewise.
27051 * debug/fread_chk.c (__fread_chk): Likewise.
27052 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
27053 * debug/getgroups_chk.c: Likewise.
27054 * debug/mbsnrtowcs_chk.c: Likewise.
27055 * debug/mbsrtowcs_chk.c: Likewise.
27056 * debug/mbstowcs_chk.c: Likewise.
27057 * debug/memcpy_chk.c: Likewise.
27058 * debug/memmove_chk.c: Likewise.
27059 * debug/mempcpy_chk.c: Likewise.
27060 * debug/memset_chk.c: Likewise.
27061 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
27062 * debug/strcat_chk.c (__strcat_chk): Likewise.
27063 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
27064 * debug/strncat_chk.c (__strncat_chk): Likewise.
27065 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
27066 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
27067 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
27068 * debug/wcpncpy_chk.c: Likewise.
27069 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
27070 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
27071 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
27072 * debug/wcsncpy_chk.c: Likewise.
27073 * debug/wcsnrtombs_chk.c: Likewise.
27074 * debug/wcsrtombs_chk.c: Likewise.
27075 * debug/wcstombs_chk.c: Likewise.
27076 * debug/wmemcpy_chk.c: Likewise.
27077 * debug/wmemmove_chk.c: Likewise.
27078 * debug/wmempcpy_chk.c: Likewise.
27079 * debug/wmemset_chk.c: Likewise.
27080 * dirent/scandirat.c (SCANDIRAT): Likewise.
27081 * dlfcn/dladdr1.c (dladdr1): Likewise.
27082 * dlfcn/dladdr.c (dladdr): Likewise.
27083 * dlfcn/dlclose.c (dlclose_doit): Likewise.
27084 * dlfcn/dlerror.c (__dlerror): Likewise.
27085 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
27086 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
27087 * dlfcn/dlopen.c (dlopen_doit): Likewise.
27088 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
27089 * dlfcn/dlsym.c (dlsym_doit): Likewise.
27090 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
27091 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
27092 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
27093 Likewise.
27094 * elf/dl-conflict.c: Likewise.
27095 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
27096 * elf/dl-dst.h: Likewise.
27097 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
27098 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
27099 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
27100 * elf/dl-init.c (call_init, _dl_init): Likewise.
27101 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
27102 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
27103 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
27104 Likewise.
27105 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
27106 Likewise.
27107 * elf/dl-minimal.c (__libc_memalign): Likewise.
27108 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
27109 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
27110 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
27111 * elf/dl-sym.c (do_sym): Likewise.
27112 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
27113 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
27114 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
27115 * elf/dl-writev.h (_dl_writev): Likewise.
27116 * elf/ldconfig.c (search_dir): Likewise.
27117 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
27118 (dl_main): Likewise.
27119 * elf/setup-vdso.h (setup_vdso): Likewise.
27120 * grp/compat-initgroups.c (compat_call): Likewise.
27121 * grp/fgetgrent.c (fgetgrent): Likewise.
27122 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
27123 * grp/putgrent.c (putgrent): Likewise.
27124 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
27125 Likewise.
27126 * hurd/hurdinit.c: Likewise.
27127 * iconvdata/8bit-gap.c (struct): Likewise.
27128 * iconvdata/ansi_x3.110.c : Likewise.
27129 * iconvdata/big5.c : Likewise.
27130 * iconvdata/big5hkscs.c : Likewise.
27131 * iconvdata/cp1255.c: Likewise.
27132 * iconvdata/cp1258.c : Likewise.
27133 * iconvdata/cp932.c : Likewise.
27134 * iconvdata/euc-cn.c: Likewise.
27135 * iconvdata/euc-jisx0213.c : Likewise.
27136 * iconvdata/euc-jp.c: Likewise.
27137 * iconvdata/euc-jp-ms.c : Likewise.
27138 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
27139 * iconvdata/gb18030.c : Likewise.
27140 * iconvdata/gbbig5.c (const): Likewise.
27141 * iconvdata/gbgbk.c: Likewise.
27142 * iconvdata/gbk.c : Likewise.
27143 * iconvdata/ibm1364.c : Likewise.
27144 * iconvdata/ibm930.c : Likewise.
27145 * iconvdata/ibm932.c: Likewise.
27146 * iconvdata/ibm933.c : Likewise.
27147 * iconvdata/ibm935.c : Likewise.
27148 * iconvdata/ibm937.c : Likewise.
27149 * iconvdata/ibm939.c : Likewise.
27150 * iconvdata/ibm943.c: Likewise.
27151 * iconvdata/iso_11548-1.c: Likewise.
27152 * iconvdata/iso-2022-cn.c : Likewise.
27153 * iconvdata/iso-2022-cn-ext.c : Likewise.
27154 * iconvdata/iso-2022-jp-3.c: Likewise.
27155 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
27156 * iconvdata/iso-2022-kr.c : Likewise.
27157 * iconvdata/iso646.c (gconv_end): Likewise.
27158 * iconvdata/iso_6937-2.c : Likewise.
27159 * iconvdata/iso_6937.c : Likewise.
27160 * iconvdata/iso8859-1.c: Likewise.
27161 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
27162 * iconvdata/shift_jisx0213.c : Likewise.
27163 * iconvdata/sjis.c : Likewise.
27164 * iconvdata/t.61.c : Likewise.
27165 * iconvdata/tcvn5712-1.c : Likewise.
27166 * iconvdata/tscii.c: Likewise.
27167 * iconvdata/uhc.c : Likewise.
27168 * iconvdata/unicode.c (gconv_end): Likewise.
27169 * iconvdata/utf-16.c (gconv_end): Likewise.
27170 * iconvdata/utf-32.c (gconv_end): Likewise.
27171 * iconvdata/utf-7.c (base64): Likewise.
27172 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
27173 * iconv/gconv_close.c (__gconv_close): Likewise.
27174 * iconv/gconv_open.c (__gconv_open): Likewise.
27175 * iconv/gconv_simple.c (internal_ucs4_loop_single)
27176 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
27177 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
27178 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
27179 (ucs4le_internal_loop_single): Likewise.
27180 * iconv/iconv.c (iconv): Likewise.
27181 * iconv/iconv_close.c: Likewise.
27182 * iconv/loop.c (SINGLE): Likewise.
27183 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
27184 * include/atomic.h: Likewise.
27185 * inet/inet6_option.c (option_alloc): Likewise.
27186 * intl/bindtextdom.c (set_binding_values): Likewise.
27187 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
27188 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
27189 * intl/localealias.c (read_alias_file): Likewise.
27190 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
27191 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
27192 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
27193 * libio/fmemopen.c (fmemopen): Likewise.
27194 * libio/iofgets.c (_IO_fgets): Likewise.
27195 * libio/iofgets_u.c (fgets_unlocked): Likewise.
27196 * libio/iofgetws.c (fgetws): Likewise.
27197 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
27198 * libio/iogetdelim.c (_IO_getdelim): Likewise.
27199 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
27200 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
27201 * locale/findlocale.c (_nl_find_locale): Likewise.
27202 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
27203 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
27204 Likewise.
27205 * locale/setlocale.c (setlocale): Likewise.
27206 * login/programs/pt_chown.c (main): Likewise.
27207 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
27208 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
27209 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
27210 (mmap, mmap64, mremap, munmap): Likewise.
27211 * math/e_exp2l.c: Likewise.
27212 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
27213 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
27214 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
27215 * math/s_catan.c (__catan): Likewise.
27216 * math/s_catanf.c (__catanf): Likewise.
27217 * math/s_catanh.c (__catanh): Likewise.
27218 * math/s_catanhf.c (__catanhf): Likewise.
27219 * math/s_catanhl.c (__catanhl): Likewise.
27220 * math/s_catanl.c (__catanl): Likewise.
27221 * math/s_ccosh.c (__ccosh): Likewise.
27222 * math/s_ccoshf.c (__ccoshf): Likewise.
27223 * math/s_ccoshl.c (__ccoshl): Likewise.
27224 * math/s_cexp.c (__cexp): Likewise.
27225 * math/s_cexpf.c (__cexpf): Likewise.
27226 * math/s_cexpl.c (__cexpl): Likewise.
27227 * math/s_clog10.c (__clog10): Likewise.
27228 * math/s_clog10f.c (__clog10f): Likewise.
27229 * math/s_clog10l.c (__clog10l): Likewise.
27230 * math/s_clog.c (__clog): Likewise.
27231 * math/s_clogf.c (__clogf): Likewise.
27232 * math/s_clogl.c (__clogl): Likewise.
27233 * math/s_csin.c (__csin): Likewise.
27234 * math/s_csinf.c (__csinf): Likewise.
27235 * math/s_csinh.c (__csinh): Likewise.
27236 * math/s_csinhf.c (__csinhf): Likewise.
27237 * math/s_csinhl.c (__csinhl): Likewise.
27238 * math/s_csinl.c (__csinl): Likewise.
27239 * math/s_csqrt.c (__csqrt): Likewise.
27240 * math/s_csqrtf.c (__csqrtf): Likewise.
27241 * math/s_csqrtl.c (__csqrtl): Likewise.
27242 * math/s_ctan.c (__ctan): Likewise.
27243 * math/s_ctanf.c (__ctanf): Likewise.
27244 * math/s_ctanh.c (__ctanh): Likewise.
27245 * math/s_ctanhf.c (__ctanhf): Likewise.
27246 * math/s_ctanhl.c (__ctanhl): Likewise.
27247 * math/s_ctanl.c (__ctanl): Likewise.
27248 * math/w_pow.c: Likewise.
27249 * math/w_powf.c: Likewise.
27250 * math/w_powl.c: Likewise.
27251 * math/w_scalb.c (sysv_scalb): Likewise.
27252 * math/w_scalbf.c (sysv_scalbf): Likewise.
27253 * math/w_scalbl.c (sysv_scalbl): Likewise.
27254 * misc/error.c (error_tail): Likewise.
27255 * misc/pselect.c (__pselect): Likewise.
27256 * nis/nis_callback.c (__nis_create_callback): Likewise.
27257 * nis/nis_call.c (__nisfind_server): Likewise.
27258 * nis/nis_creategroup.c (nis_creategroup): Likewise.
27259 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
27260 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
27261 * nis/nis_getservlist.c (nis_getservlist): Likewise.
27262 * nis/nis_lookup.c (nis_lookup): Likewise.
27263 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
27264 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
27265 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
27266 * nis/nis_xdr.c (xdr_endpoint): Likewise.
27267 * nis/nss_compat/compat-grp.c (getgrent_next_file)
27268 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
27269 * nis/nss_compat/compat-initgroups.c (add_group)
27270 (internal_getgrent_r): Likewise.
27271 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
27272 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
27273 * nis/nss_compat/compat-spwd.c (getspent_next_file)
27274 (internal_getspnam_r): Likewise.
27275 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
27276 (_nss_nis_getaliasbyname_r): Likewise.
27277 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
27278 (_nss_nis_getntohost_r): Likewise.
27279 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
27280 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
27281 (_nss_nis_getgrgid_r): Likewise.
27282 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
27283 (internal_nis_gethostent_r, internal_gethostbyname2_r)
27284 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
27285 (_nss_nis_gethostbyname4_r): Likewise.
27286 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
27287 (initgroups_netid): Likewise.
27288 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
27289 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
27290 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
27291 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
27292 (_nss_nis_getprotobynumber_r): Likewise.
27293 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
27294 (_nss_nis_getsecretkey): Likewise.
27295 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
27296 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
27297 (_nss_nis_getpwuid_r): Likewise.
27298 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
27299 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
27300 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
27301 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
27302 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
27303 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
27304 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
27305 Likewise.
27306 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
27307 (_nss_nisplus_getntohost_r): Likewise.
27308 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
27309 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
27310 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
27311 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
27312 Likewise.
27313 * nis/nss_nisplus/nisplus-initgroups.c
27314 (_nss_nisplus_initgroups_dyn): Likewise.
27315 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
27316 (_nss_nisplus_getnetbyaddr_r): Likewise.
27317 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
27318 (_nss_nisplus_getprotobynumber_r): Likewise.
27319 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
27320 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
27321 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
27322 Likewise.
27323 * nis/nss_nisplus/nisplus-service.c
27324 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
27325 (_nss_nisplus_getservbyport_r): Likewise.
27326 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
27327 (_nss_nisplus_getspnam_r): Likewise.
27328 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
27329 Likewise.
27330 * nscd/aicache.c (addhstaiX): Likewise.
27331 * nscd/cache.c (cache_search, prune_cache): Likewise.
27332 * nscd/connections.c (register_traced_file, send_ro_fd)
27333 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
27334 (main_loop_epoll): Likewise.
27335 * nscd/grpcache.c (addgrbyX): Likewise.
27336 * nscd/hstcache.c (addhstbyX): Likewise.
27337 * nscd/initgrcache.c (addinitgroupsX): Likewise.
27338 * nscd/mem.c (gc, mempool_alloc): Likewise.
27339 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
27340 (addinnetgrX): Likewise.
27341 * nscd/nscd-client.h (__nscd_acquire_maplock)
27342 (__nscd_drop_map_ref): Likewise.
27343 * nscd/nscd_getai.c (__nscd_getai): Likewise.
27344 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
27345 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
27346 Likewise.
27347 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
27348 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
27349 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
27350 (__nscd_get_map_ref): Likewise.
27351 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
27352 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
27353 Likewise.
27354 * nscd/pwdcache.c (addpwbyX): Likewise.
27355 * nscd/selinux.c (preserve_capabilities): Likewise.
27356 * nscd/servicescache.c (addservbyX): Likewise.
27357 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
27358 * posix/fnmatch.c (fnmatch): Likewise.
27359 * posix/getopt.c (_getopt_internal_r): Likewise.
27360 * posix/glob.c (glob, glob_in_dir): Likewise.
27361 * posix/wordexp.c (exec_comm_child): Likewise.
27362 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
27363 (getanswer_r, gaih_getanswer_slice): Likewise.
27364 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
27365 * resolv/res_init.c: Likewise.
27366 * resolv/res_mkquery.c (res_nmkquery): Likewise.
27367 * resolv/res_query.c (__libc_res_nquery): Likewise.
27368 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
27369 Likewise.
27370 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
27371 * stdio-common/perror.c (perror): Likewise.
27372 * stdio-common/printf_fp.c (___printf_fp): Likewise.
27373 * stdio-common/tmpnam.c (tmpnam): Likewise.
27374 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
27375 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
27376 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
27377 Likewise.
27378 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
27379 * stdlib/putenv.c (putenv): Likewise.
27380 * stdlib/setenv.c (__add_to_environ): Likewise.
27381 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
27382 * stdlib/strtol_l.c (INTERNAL): Likewise.
27383 * string/memmem.c (memmem): Likewise.
27384 * string/strerror.c (strerror): Likewise.
27385 * string/strnlen.c (__strnlen): Likewise.
27386 * string/test-memmem.c (simple_memmem): Likewise.
27387 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
27388 * sunrpc/pm_getport.c (__get_socket): Likewise.
27389 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
27390 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
27391 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
27392 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
27393 Likewise.
27394 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
27395 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
27396 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
27397 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
27398 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
27399 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
27400 Likewise.
27401 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
27402 Likewise.
27403 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
27404 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
27405 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
27406 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
27407 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
27408 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
27409 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
27410 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
27411 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
27412 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
27413 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
27414 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
27415 Likewise.
27416 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
27417 Likewise.
27418 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
27419 Likewise.
27420 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
27421 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
27422 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
27423 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
27424 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
27425 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
27426 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
27427 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
27428 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
27429 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
27430 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
27431 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27432 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
27433 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
27434 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27435 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
27436 Likewise.
27437 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
27438 Likewise.
27439 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
27440 Likewise.
27441 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
27442 Likewise.
27443 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27444 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27445 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
27446 Likewise.
27447 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
27448 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
27449 * sysdeps/posix/opendir.c (__opendirat): Likewise.
27450 * sysdeps/posix/sleep.c: Likewise.
27451 * sysdeps/posix/tempname.c: Likewise.
27452 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
27453 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
27454 Likewise.
27455 * sysdeps/powerpc/powerpc32/dl-machine.h
27456 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
27457 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
27458 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
27459 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
27460 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
27461 Likewise.
27462 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
27463 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
27464 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
27465 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
27466 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
27467 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
27468 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
27469 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
27470 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
27471 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
27472 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
27473 (elf_machine_lazy_rel): Likewise.
27474 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
27475 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
27476 (elf_machine_lazy_rel): Likewise.
27477 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
27478 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
27479 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
27480 * sysdeps/unix/grantpt.c (grantpt): Likewise.
27481 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
27482 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
27483 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
27484 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
27485 Likewise.
27486 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
27487 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
27488 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
27489 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
27490 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
27491 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
27492 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
27493 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
27494 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
27495 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
27496 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
27497 Likewise.
27498 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
27499 (__posix_fallocate64_l64): Likewise.
27500 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
27501 (posix_fallocate): Likewise.
27502 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
27503 Likewise.
27504 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27505 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
27506 (getifaddrs_internal): Likewise.
27507 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
27508 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
27509 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
27510 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
27511 * sysdeps/unix/sysv/linux/posix_fallocate64.c
27512 (__posix_fallocate64_l64): Likewise.
27513 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
27514 Likewise.
27515 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
27516 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
27517 (__get_clockfreq): Likewise.
27518 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
27519 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
27520 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
27521 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27522 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27523 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
27524 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
27525 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
27526 Likewise.
27527 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
27528 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
27529 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
27530 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
27531 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
27532 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
27533 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
27534 Likewise.
27535 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
27536 (posix_fallocate): Likewise.
27537 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27538 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
27539 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
27540 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
27541 (elf_machine_rela, elf_machine_rela_relative)
27542 (elf_machine_lazy_rel): Likewise.
27543 * time/asctime.c (asctime_internal): Likewise.
27544 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
27545 * time/tzset.c (__tzset_parse_tz): Likewise.
27546 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
27547 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
27548 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
27549 * wcsmbs/wcsmbsload.h: Likewise.
27550
27551 [BZ #15894]
27552 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
27553
27554 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
27555 (arena_get2): Remove THREAD_STATS conditionals.
27556 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
27557 (__malloc_stats, int): Likewise.
27558
27559 2014-02-08 Mike Frysinger <vapier@gentoo.org>
27560
27561 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
27562 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
27563
27564 * manual/setjmp.texi: Fix typos/grammar errors.
27565
27566 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
27567 Only return early when n is <= 0. Delete unused return statement.
27568
27569 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
27570 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
27571 * debug/tst-longjmp_chk3.c: New file.
27572
27573 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
27574 (test_main): Replace code with set_fortify_handler call.
27575 * debug/test-strcpy_chk.c: Likewise.
27576 * debug/tst-chk1.c: Likewise.
27577 * debug/tst-longjmp_chk.c: Likewise.
27578 * test-skeleton.c: Include fcntl.h & paths.h
27579 (set_fortify_handler): Define.
27580
27581 * debug/tst-longjmp_chk.c: Add header comment and include
27582 ../test-skeleton.c.
27583 (do_test): Mark static.
27584 (TEST_FUNCTION): Define.
27585
27586 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
27587 (IP_PMTUDISC_INTERFACE): Likewise.
27588 (IP_MULTICAST_IF): Likewise.
27589 (IP_MULTICAST_TTL): Likewise.
27590 (IP_MULTICAST_LOOP): Likewise.
27591 (IP_ADD_MEMBERSHIP): Likewise.
27592 (IP_DROP_MEMBERSHIP): Likewise.
27593 (IP_UNBLOCK_SOURCE): Likewise.
27594 (IP_BLOCK_SOURCE): Likewise.
27595 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
27596 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
27597 (IP_MSFILTER): Likewise.
27598 (MCAST_JOIN_GROUP): Likewise.
27599 (MCAST_BLOCK_SOURCE): Likewise.
27600 (MCAST_UNBLOCK_SOURCE): Likewise.
27601 (MCAST_LEAVE_GROUP): Likewise.
27602 (MCAST_JOIN_SOURCE_GROUP): Likewise.
27603 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
27604 (MCAST_MSFILTER): Likewise.
27605 (IP_MULTICAST_ALL): Likewise.
27606 (IP_UNICAST_IF): Likewise.
27607
27608 * timezone/Makefile: Delete $(have-ksh) check.
27609 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
27610 * timezone/tzselect.ksh: Add +x mode bits.
27611
27612 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
27613 (ANON_INODE_FS_MAGIC): Likewise.
27614 (BDEVFS_MAGIC): Likewise.
27615 (BINFMTFS_MAGIC): Likewise.
27616 (BTRFS_TEST_MAGIC): Likewise.
27617 (CRAMFS_MAGIC_WEND): Likewise.
27618 (DEBUGFS_MAGIC): Likewise.
27619 (ECRYPTFS_SUPER_MAGIC): Likewise.
27620 (EXT3_SUPER_MAGIC): Likewise.
27621 (EXT4_SUPER_MAGIC): Likewise.
27622 (FUTEXFS_SUPER_MAGIC): Likewise.
27623 (HOSTFS_SUPER_MAGIC): Likewise.
27624 (HUGETLBFS_MAGIC): Likewise.
27625 (MINIX3_SUPER_MAGIC): Likewise.
27626 (MTD_INODE_FS_MAGIC): Likewise.
27627 (NILFS_SUPER_MAGIC): Likewise.
27628 (OPENPROM_SUPER_MAGIC): Likewise.
27629 (PIPEFS_MAGIC): Likewise.
27630 (PSTOREFS_MAGIC): Likewise.
27631 (QNX6_SUPER_MAGIC): Likewise.
27632 (RAMFS_MAGIC): Likewise.
27633 (REISERFS_SUPER_MAGIC_STRING): Likewise.
27634 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
27635 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
27636 (SECURITYFS_MAGIC): Likewise.
27637 (SELINUX_MAGIC): Likewise.
27638 (SMACK_MAGIC): Likewise.
27639 (SOCKFS_MAGIC): Likewise.
27640 (SQUASHFS_MAGIC): Likewise.
27641 (STACK_END_MAGIC): Likewise.
27642 (TMPFS_MAGIC): Likewise.
27643 (USBDEVICE_SUPER_MAGIC): Likewise.
27644 (V9FS_MAGIC): Likewise.
27645 (XENFS_SUPER_MAGIC): Likewise.
27646 (CRAMFS_MAGIC): Fix typo in comment.
27647 (EXT2_SUPER_MAGIC): Update comment.
27648 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
27649
27650 2014-02-08 Joseph Myers <joseph@codesourcery.com>
27651
27652 * sysdeps/arm: Move directory from ports/sysdeps/arm.
27653 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
27654 * sysdeps/unix/sysv/linux/arm: Move directory from
27655 ports/sysdeps/unix/sysv/linux/arm.
27656 * README: Update listing for arm-*-linux-gnueabi.
27657
27658 * README: Remove mention of am33.
27659
27660 2014-02-07 Roland McGrath <roland@hack.frob.com>
27661
27662 * bits/sigset.h (__sigemptyset): Use a statement expression rather
27663 than the comma operator, to avoid "rhs of comma has no effect"
27664 compiler warnings.
27665 (__sigfillset, __sigandset, __sigorset): Likewise.
27666 * include/signal.h (__sigemptyset): Likewise.
27667 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
27668
27669 2014-02-07 Allan McRae <allan@archlinux.org>
27670
27671 * version.h (RELEASE): Set to "development".
27672 (VERSION): Set to "2.19.90"
27673 * NEWS: Add 2.20 section.
27674
27675 2014-02-06 Carlos O'Donell <carlos@redhat.com>
27676
27677 [BZ #16529]
27678 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
27679
27680 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
27681
27682 * manual/contrib.texi: Update entry for Carlos O'Donell,
27683 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
27684
27685 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
27686
27687 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
27688
27689 * sysdeps/unix/sysv/linux/kernel-features.h
27690 [__LINUX_KERNEL_VERSION >= 0x020621]
27691 (__ASSUME_PROC_PID_TASK_COMM): Define.
27692
27693 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
27694
27695 [BZ #16398]
27696 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
27697 conversion when destination buffer does not have enough space.
27698 * libio/tst-ftell-partial-wide.c: New test case.
27699 * libio/Makefile (tests): Add tst-ftell-partial-wide.
27700
27701 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
27702 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
27703 Leonard and Allan McRae.
27704
27705 2014-02-04 David S. Miller <davem@davemloft.net>
27706
27707 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
27708 32-bit.
27709
27710 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27711
27712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
27713 New file
27714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
27715 New file
27716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
27717 New file.
27718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
27719 New file.
27720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
27721 New file.
27722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
27723 New file.
27724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
27725 New file.
27726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
27727 New file.
27728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
27729 New file.
27730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
27731 New file.
27732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
27733 New file.
27734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
27735 New file.
27736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
27737 New file.
27738
27739 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27740
27741 * nptl/shlib-versions: Change powerpc*le start to 2.17.
27742 * shlib-versions: Likewise.
27743
27744 2014-02-04 Roland McGrath <roland@hack.frob.com>
27745 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27746
27747 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
27748 (abilist-pattern): New variable, set to %-le.abilist.
27749
27750 * Makerules (abilist-pattern): New variable.
27751 (vpath): Use $(abilist-pattern) in place of %.abilist.
27752 (check-abi-% pattern rule): Likewise.
27753 (check-abi, update-abi): Likewise.
27754
27755 2014-02-04 Eric Wong <normalperson@yhbt.net>
27756
27757 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27758
27759 2014-02-03 Carlos O'Donell <carlos@redhat.com>
27760
27761 * manual/startup.texi: Add next, previous, and top entries for
27762 the `Program Arguments' and `Environment Variables' nodes.
27763
27764 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
27765
27766 * manual/macros.texi: Add comments before MTASC-safety macros.
27767
27768 * manual/users.texi: Document MTASC-safety properties.
27769
27770 * manual/threads.texi (pthread_key_create, pthread_key_delete)
27771 (pthread_getspecific, pthread_setspecific): Format with
27772 @deftypefun, and add @safety note.
27773 * manual/signal.texi: Move comments that analyze the above
27774 functions to their home place.
27775
27776 2014-02-03 Allan McRae <allan@archlinux.org>
27777
27778 * po/sl.po: Update Slovenian translation from translation project.
27779
27780 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
27781
27782 * manual/time.texi (timegm): Add missing blank after @c.
27783 Reported by Joseph Myers <joseph@codesourcery.com>.
27784
27785 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
27786
27787 * manual/check-safety.sh: New.
27788 * manual/Makefile ($(objpfx)stamp-summary): Run it.
27789
27790 * manual/terminal.texi: Document MTASC-safety properties.
27791
27792 * manual/filesys.texi: Document MTASC-safety properties.
27793
27794 * manual/errno.texi: Document MTASC-safety properties.
27795
27796 * manual/intro.texi: Document safety identifiers and
27797 conditionals.
27798
27799 * manual/string.texi (wcstok): Fix prototype.
27800 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
27801
27802 * manual/time.texi: Document MTASC-safety properties.
27803
27804 * manual/string.texi: Document MTASC-safety properties.
27805
27806 * manual/threads.texi: Document MTASC-safety properties.
27807
27808 * manual/stdio.texi: Document MTASC-safety properties.
27809
27810 * manual/syslog.texi: Document MTASC-safety properties.
27811
27812 * manual/sysinfo.texi: Document MTASC-safety properties.
27813
27814 * manual/startup.texi: Document MTASC-safety properties.
27815
27816 * manual/socket.texi: Document MTASC-safety properties.
27817
27818 * manual/signal.texi: Document MTASC-safety properties.
27819
27820 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
27821
27822 * manual/setjmp.texi: Document MTASC-safety properties.
27823
27824 * manual/search.texi: Document MTASC-safety properties.
27825
27826 * manual/resource.texi: Document MTASC-safety properties.
27827
27828 * manual/process.texi: Document MTASC-safety properties.
27829
27830 * manual/platform.texi: Document MTASC-safety properties.
27831
27832 * manual/pipe.texi: Document MTASC-safety properties.
27833
27834 * manual/pattern.texi: Document MTASC-safety properties.
27835
27836 * manual/message.texi: Document MTASC-safety properties.
27837
27838 [BZ #12751]
27839 * manual/memory.texi: Document MTASC-safety properties.
27840
27841 * manual/math.texi: Document MTASC-safety properties.
27842
27843 * manual/locale.texi: Document MTASC-safety properties.
27844
27845 * manual/llio.texi: Document MTASC-safety properties.
27846
27847 * manual/libdl.texi: New.
27848
27849 * manual/lang.texi: Document MTASC-safety properties.
27850
27851 * manual/job.texi: Document MTASC-safety properties.
27852
27853 * manual/getopt.texi: Document MTASC-safety properties.
27854
27855 * manual/ctype.texi: Document MTASC-safety properties.
27856
27857 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
27858
27859 [BZ #16046]
27860 * csu/libc-tls.c (static_map): Remove variable.
27861 (__libc_setup_tls): Use main executable's link map for TLS data.
27862 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
27863 casing for LM_ID_BASE and GL(dl_nns).
27864 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
27865 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
27866 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
27867 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
27868 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
27869 member.
27870 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
27871 l_phnum members.
27872
27873 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
27874
27875 * manual/debug.texi: Document MTASC-safety properties.
27876
27877 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
27878
27879 [BZ #16510]
27880 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
27881 of __x86_64__ when disabling x87 inline functions.
27882
27883 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
27884
27885 * manual/charset.texi: Document MTASC-safety properties.
27886
27887 * manual/crypt.texi: Document MTASC-safety properties.
27888
27889 * manual/conf.texi: Document MTASC-safety properties.
27890
27891 * manual/arith.texi: Document MTASC-safety properties.
27892
27893 * manual/argp.texi: Document MTASC-safety properties.
27894
27895 * manual/macros.texi: Introduce macros to document multi
27896 thread, asynchronous signal and asynchronous cancellation
27897 safety properties.
27898 * manual/intro.texi: Introduce the properties themselves.
27899
27900 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27901
27902 * sysdeps/sh/sh4/Makefile: New file.
27903
27904 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
27905
27906 * math/gen-libm-test.pl ($srcdir): New variable.
27907 ($auto_input): Use it.
27908
27909 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
27910
27911 [BZ #16506]
27912 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
27913 access beyond array bounds when parsing netgroups file.
27914
27915 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
27916 the old buffer before realloc.
27917
27918 2014-01-27 Allan McRae <allan@archlinux.org>
27919
27920 * po/fr.po: Update French translation from translation project.
27921
27922 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27923
27924 * sysdeps/sh/libm-test-ulps: Regenerate.
27925
27926 2014-01-24 David S. Miller <davem@davemloft.net>
27927
27928 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
27929
27930 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27931
27932 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
27933 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
27934
27935 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
27936
27937 [BZ #16474]
27938 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
27939 string pointers after reallocation.
27940
27941 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27942
27943 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
27944 __SH4A__ instead of __SH_FPU_ANY__.
27945
27946 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27947
27948 * sysdeps/sh/fpu_control.h: New file.
27949 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
27950 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
27951 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
27952 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
27953 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
27954 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
27955 * sysdeps/sh/sys/ucontext.h: Remove.
27956 * sysdeps/sh/sys: Remove directory.
27957
27958 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27959
27960 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
27961 s390/sys/ucontext.h.
27962 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
27963 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
27964
27965 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
27966
27967 [BZ #15605]
27968 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
27969
27970 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27971
27972 [BZ#16431]
27973 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
27974 Adjust the vDSO correctly for internal calls.
27975 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
27976
27977 2014-01-20 Allan McRae <allan@archlinux.org>
27978
27979 * po/ca.po: Update Catalan translation from translation project.
27980
27981 2014-01-16 Mike Frysinger <vapier@gentoo.org>
27982
27983 * sysdeps/s390/sotruss-lib.c: New file.
27984
27985 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27986
27987 [BZ#16430]
27988 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
27989 (__GI___gettimeofday): Alias for a different internal symbol to avoid
27990 local calls issues by not having a PLT stub required for IFUNC calls.
27991 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
27992
27993 2014-01-16 Joseph Myers <joseph@codesourcery.com>
27994
27995 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
27996 * math/test-fpucw-static.c: Likewise.
27997
27998 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27999
28000 [BZ #16453]
28001 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
28002
28003 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28004
28005 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
28006 implementation for powerpc.
28007
28008 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
28009
28010 [BZ #14782]
28011 * sysdeps/posix/system.c (__libc_system): Do not enable
28012 asynchronous cancellation.
28013
28014 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28015
28016 [BZ #16427]
28017 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
28018 handling only for numbers special also in the IEEE case.
28019
28020 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28021
28022 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
28023
28024 2014-01-11 Allan McRae <allan@archlinux.org>
28025
28026 * po/bg.po: Update Bulgarian translation from translation project.
28027
28028 * po/de.po: Update German translation from translation project.
28029
28030 2014-01-10 Roland McGrath <roland@hack.frob.com>
28031
28032 * sysdeps/generic/gcc-compat.h: New file.
28033
28034 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
28035
28036 * benchtests/asin-inputs: Correct slow inputs.
28037 * benchtests/acos-inputs: Likewise.
28038
28039 2014-01-10 Allan McRae <allan@archlinux.org>
28040
28041 * po:sv.po: Update Swedish translation from translation project.
28042
28043 * po/vi.po: Update Vietnamese translation from translation project.
28044
28045 * po/eo.po: Update Esperanto translation from translation project.
28046
28047 * po/cs.po: Update Czech translation from translation project.
28048
28049 * po/nl.po: Update Dutch translation from translation project.
28050
28051 * po/pl.po: Update Polish translation from translation project.
28052
28053 * po/ru.po: Update Russian translation from translation project.
28054
28055 * po/uk.po: Update Ukrainian translation from translation project.
28056
28057 2014-01-08 Brooks Moses <bmoses@google.com>
28058
28059 * elf/dl-load.c: Fix comment typo.
28060
28061 2014-01-08 Carlos O'Donell <carlos@redhat.com>
28062
28063 * po/header.pot: Rename to...
28064 * po/pot.header: ... this.
28065 * po/Makefile: Use pot.header.
28066
28067 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
28068 Maxim Kuvyrkov <maxim@kugelworks.com>
28069
28070 [BZ #16394]
28071 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
28072 SRC and DEST against LEN.
28073
28074 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28075
28076 [BZ #16414]
28077 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
28078 implementation.
28079 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
28080
28081 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28082
28083 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28084
28085 2014-01-08 Joseph Myers <joseph@codesourcery.com>
28086
28087 [BZ #16408]
28088 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
28089 for large positive arguments.
28090
28091 2014-01-07 Joseph Myers <joseph@codesourcery.com>
28092
28093 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
28094
28095 * math/auto-libm-test-in: Mark various tests with
28096 xfail-rounding:ldbl-128ibm.
28097 * math/auto-libm-test-out: Regenerated.
28098
28099 [BZ #16407]
28100 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
28101 Increase overflow threshold.
28102
28103 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
28104
28105 [BZ #14286]
28106 * stdio-common/vfprintf.c: Check for integer overflow.
28107
28108 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28109
28110 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
28111 the first argument and return value of __tls_get_addr_internal.
28112
28113 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28114
28115 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
28116 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
28117
28118 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28119
28120 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
28121 * sysdeps/s390/rtld-global-offsets.sym: New file.
28122 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
28123 GLIBC_2.19 symbol.
28124 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
28125 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
28126 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
28127 ... this.
28128 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
28129 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
28130 ... this.
28131 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
28132 Regenerate.
28133 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
28134 Regenerate.
28135 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
28136 halfs of GPRs for high_gprs contexts.
28137 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
28138 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
28139 field.
28140 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
28141 uc_flags field.
28142 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
28143 64 bit versions:
28144 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
28145 for high GPRs (uc_high_gprs) and for future extensions
28146 (__reserved).
28147 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
28148 for future extensions (__reserved).
28149 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
28150 64 bit versions:
28151 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
28152 SC_HIGHGPRS offset definition.
28153 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
28154 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
28155
28156 * Versions.def: Add GLIBC_2.19 for libpthread.
28157 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
28158 siglongjmp for libpthread with GLIBC_2.19 symver.
28159 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
28160 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
28161 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
28162 * sysdeps/s390/__longjmp.c: New file.
28163 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
28164 * sysdeps/s390/longjmp.c: New file.
28165 * sysdeps/s390/setjmp.S: New file.
28166 * sysdeps/s390/sigjmp.S: New file.
28167 * sysdeps/s390/v1-longjmp.c: New file.
28168 * sysdeps/s390/v1-setjmp.h: New file.
28169 * sysdeps/s390/v1-sigjmp.c: New file.
28170 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
28171 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
28172 GLIBC_2.19 version.
28173 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
28174 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
28175 versioned symbols for ____longjmp_chk.
28176 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
28177 Likewise.
28178 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
28179 Regenerate.
28180 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
28181 Regenerate.
28182 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
28183 Regenerate.
28184 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
28185 Regenerate.
28186 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
28187 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
28188 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
28189 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
28190 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
28191 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
28192 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
28193 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
28194 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
28195 * sysdeps/s390/rtld-__longjmp.c: New file.
28196 * sysdeps/s390/rtld-setjmp.S: New file.
28197
28198 2014-01-06 Joseph Myers <joseph@codesourcery.com>
28199
28200 [BZ #16400]
28201 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
28202 Return -__logl (x) for small positive arguments without evaluating
28203 a polynomial.
28204
28205 2014-01-06 Mike Frysinger <vapier@gentoo.org>
28206
28207 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
28208 Rename to ...
28209 (__ptrace_peeksiginfo_args): ... this.
28210 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28211 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28212 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28213
28214 2014-01-06 Allan McRae <allan@archlinux.org>
28215
28216 * inet/netinet/in.h: Fix typo in comment.
28217
28218 2014-01-05 Andreas Jaeger <aj@suse.de>
28219
28220 * sysdeps/i386/fpu/libm-test-ulps: Update.
28221
28222 2014-01-05 Allan McRae <allan@archlinux.org>
28223
28224 * po/libc.pot: Regenerated.
28225
28226 * malloc/memusagestat.c: Fix gettext call formatting.
28227
28228 2014-01-04 Sami Kerola <kerolasa@iki.fi>
28229
28230 * nscd/nscd.c: Improve usage() output.
28231
28232 2014-01-04 Mike Frysinger <vapier@gentoo.org>
28233
28234 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
28235 * sysdeps/unix/sysv/linux/configure: Regenerated.
28236 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
28237 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
28238
28239 2014-01-03 Joseph Myers <joseph@codesourcery.com>
28240
28241 [BZ #16390]
28242 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
28243 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
28244
28245 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28246
28247 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
28248 extra tokens at end of #undef directive.
28249 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
28250 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
28251 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
28252
28253 2014-01-03 Joseph Myers <joseph@codesourcery.com>
28254
28255 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
28256
28257 * math/auto-libm-test-in: Mark various tests with
28258 xfail-rounding:ldbl-128ibm.
28259 * math/auto-libm-test-out: Regenerated.
28260
28261 2014-01-02 Joseph Myers <joseph@codesourcery.com>
28262
28263 [BZ #16386]
28264 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
28265 numbers with subnormal high part when calculating exponent.
28266
28267 [BZ #16385]
28268 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
28269 fabs.
28270
28271 [BZ #16384]
28272 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
28273 M_LN2l.
28274 (__ieee754_acoshl): Use __log1pl not __log1p.
28275
28276 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
28277
28278 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
28279 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
28280 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
28281 (grow_heap, heap_trim, _int_new_arena, get_free_list)
28282 (reused_arena, arena_get2): Convert to GNU style.
28283 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
28284 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
28285 (memalign_check, __malloc_set_state): Likewise.
28286 * malloc/mallocbug.c (main): Likewise.
28287 * malloc/malloc.c (__malloc_assert, malloc_init_state)
28288 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
28289 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
28290 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
28291 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
28292 (__posix_memalign, malloc_info): Likewise.
28293 * malloc/malloc.h: Likewise.
28294 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
28295 (mallochook, memalignhook, reallochook, mabort): Likewise.
28296 * malloc/mcheck.h: Likewise.
28297 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
28298 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
28299 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
28300 * malloc/morecore.c (__default_morecore): Likewise.
28301 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
28302 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
28303 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
28304 (print_and_abort): Likewise.
28305 * malloc/obstack.h: Likewise.
28306 * malloc/set-freeres.c (__libc_freeres): Likewise.
28307 * malloc/tst-mallocstate.c (main): Likewise.
28308 * malloc/tst-mtrace.c (main): Likewise.
28309 * malloc/tst-realloc.c (do_test): Likewise.
28310
28311 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
28312
28313 [BZ #16366]
28314 * nscd/netgroupcache.c (do_notfound): New function.
28315 (addgetnetgrentX): Use it.
28316
28317 [BZ # 16365]
28318 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
28319 NSS_STATUS_NOTFOUND.
28320
28321 2014-01-01 Joseph Myers <joseph@codesourcery.com>
28322
28323 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
28324 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28325
28326 2014-01-01 Allan McRae <allan@archlinux.org>
28327
28328 * scripts/update-copyrights: Update configure input file suffix.
28329
28330 * NEWS: Update copyright year.
28331 * catgets/gencat.c: Likewise.
28332 * csu/version.c: Likewise.
28333 * debug/catchsegv.sh: Likewise.
28334 * debug/pcprofiledump.c: Likewise.
28335 * debug/xtrace.sh: Likewise.
28336 * elf/ldconfig.c: Likewise.
28337 * elf/ldd.bash.in: Likewise.
28338 * elf/pldd.c: Likewise.
28339 * elf/sotruss.ksh: Likewise.
28340 * elf/sprof.c: Likewise.
28341 * iconv/iconv_prog.c: Likewise.
28342 * iconv/iconvconfig.c: Likewise.
28343 * locale/programs/locale.c: Likewise.
28344 * locale/programs/localedef.c: Likewise.
28345 * login/programs/pt_chown.c: Likewise.
28346 * malloc/memusage.sh: Likewise.
28347 * malloc/memusagestat.c: Likewise.
28348 * malloc/mtrace.pl: Likewise.
28349 * manual/libc.texinfo: Likewise.
28350 * nscd/nscd.c: Likewise.
28351 * nss/getent.c: Likewise.
28352 * nss/makedb.c: Likewise.
28353 * posix/getconf.c: Likewise.
28354 * scripts/test-installation.pl: Likewise.
28355
28356 * All files with FSF copyright notices: Update copyright dates
28357 using scripts/update-copyrights.
28358 * intl/plural.c: Regenerated.
28359 * locale/programs/charmap-kw.h: Likewise.
28360 * locale/programs/locfile-kw.h: Likewise.
28361
28362 2013-12-31 Mike Frysinger <vapier@gentoo.org>
28363
28364 * sysdeps/unix/sysv/linux/configure: Regenerated.
28365 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
28366 the linux/fanotify.h header.
28367 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
28368 HAVE_LINUX_FANOTIFY_H is defined.
28369
28370 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
28371
28372 * benchtests/cos-inputs: New inputs.
28373 * benchtests/sin-inputs: Likewise.
28374
28375 * benchtests/atan-inputs: New inputs. Fix name of multiple
28376 precision fallback inputs.
28377
28378 * benchtests/atanh-inputs: New inputs.
28379 * benchtests/tanh-inputs: Likewise.
28380
28381 * benchtests/acosh-inputs: New inputs.
28382 * benchtests/asinh-inputs: Likewise.
28383
28384 * benchtests/cosh-inputs: New inputs.
28385 * benchtests/sinh-inputs: Likewise.
28386
28387 * benchtests/acos-inputs: Add more inputs.
28388 * benchtests/asin-inputs: Likewise.
28389
28390 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
28391
28392 [BZ #16375]
28393 * manual/arith.texi: Fix spelling.
28394 * manual/charset.texi: Likewise.
28395 * manual/errno.texi: Likewise.
28396 * manual/filesys.texi: Likewise.
28397 * manual/lang.texi: Likewise.
28398 * manual/llio.texi: Likewise.
28399 * manual/locale.texi: Likewise.
28400 * manual/message.texi: Likewise.
28401 * manual/resource.texi: Likewise.
28402 * manual/search.texi: Likewise.
28403 * manual/setjmp.texi: Likewise.
28404 * manual/stdio.texi: Likewise.
28405 * manual/string.texi: Likewise.
28406 * manual/sysinfo.texi: Likewise.
28407 * manual/time.texi: Likewise.
28408
28409 2013-12-27 Carlos O'Donell <carlos@redhat.com>
28410
28411 * po/sl.po: New file.
28412
28413 2013-12-27 Mike Frysinger <vapier@gentoo.org>
28414
28415 * .gitignore: Add core/.gdbinit/.gdb_history.
28416
28417 2013-12-27 Allan McRae <allan@archlinux.org>
28418
28419 [BZ #16369]
28420 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
28421 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
28422
28423 2013-12-24 Brooks Moses <bmoses@google.com>
28424
28425 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
28426 all compilers that claim C++98 compliance, not just GCC.
28427 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
28428 Likewise.
28429
28430 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
28431
28432 * NEWS: Restore accidentally deleted bug-fix entries.
28433
28434 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
28435 Ondřej Bílka <neleai@seznam.cz>
28436
28437 [BZ #15073]
28438 * malloc/malloc.c (_int_free): Perform sanity check only if we
28439 have_lock.
28440
28441 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
28442
28443 [BZ #12986]
28444 * manual/stdio.texi (String Input Conversions): Clarify that character
28445 classes are not supported.
28446
28447 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28448
28449 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28450
28451 2013-12-22 Joseph Myers <joseph@codesourcery.com>
28452
28453 [BZ #16337]
28454 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
28455 Calculate results for small negative arguments directly rather
28456 than using reflection formula with special underflow handling.
28457
28458 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
28459 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
28460 sysdeps/unix/bsd/bsd4.4/syscalls.list.
28461 (fchflags): Likewise.
28462 (revoke): Likewise.
28463 (setlogin): Likewise.
28464 (sigaltstack): Likewise.
28465 (wait4): Likewise.
28466 (sigblock): Remove.
28467 (sigsetmask): Likewise.
28468 (wait3): Likewise.
28469 (waitpid): Likewise.
28470 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
28471 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
28472 file.
28473 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
28474 * sysdeps/unix/bsd/Makefile: ... here.
28475 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
28476 * sysdeps/unix/bsd/Versions: ... here.
28477 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
28478 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
28479 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
28480 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
28481 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
28482 * sysdeps/unix/bsd/sigblock.c: ... here.
28483 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
28484 * sysdeps/unix/bsd/sigsetmask.c: ... here.
28485 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
28486 * sysdeps/unix/bsd/sigvec.c: ... here.
28487 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
28488 * sysdeps/unix/bsd/tcdrain.c: ... here.
28489 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
28490 * sysdeps/unix/bsd/tcgetattr.c: ... here.
28491 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
28492 * sysdeps/unix/bsd/tcsetattr.c: ... here.
28493 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
28494 * sysdeps/unix/bsd/wait.c: ... here.
28495 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
28496 * sysdeps/unix/bsd/wait3.c: ... here.
28497 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
28498 * sysdeps/unix/bsd/waitpid.c: ... here.
28499
28500 2013-12-21 Joseph Myers <joseph@codesourcery.com>
28501
28502 [BZ #16356]
28503 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
28504 round-to-nearest for [!USE_AS_EXPM1L].
28505 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
28506 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
28507 more tests of exp and exp10. Expect some exp10 tests to miss
28508 exceptions or fail in directed rounding modes.
28509 * math/auto-libm-test-out: Regenerated.
28510 * math/libm-test.inc (exp10_tonearest_test_data): New array.
28511 (exp10_test_tonearest): New function.
28512 (exp10_towardzero_test_data): New array.
28513 (exp10_test_towardzero): New function.
28514 (exp10_downward_test_data): New array.
28515 (exp10_test_downward): New function.
28516 (exp10_upward_test_data): New array.
28517 (exp10_test_upward): New function.
28518 (main): Call the new functions.
28519 * sysdeps/i386/fpu/libm-test-ulps: Update.
28520 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28521
28522 2013-12-20 Joseph Myers <joseph@codesourcery.com>
28523
28524 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
28525 asinh, atan, atan2, atanh, cbrt, cos and cosh.
28526 * math/auto-libm-test-out: Regenerated.
28527 * math/libm-test.inc (acosh_test_data): Add more tests.
28528 (atanh_test_data): Likewise.
28529 (ceil_test_data): Likewise.
28530 (copysign_test_data): Likewise.
28531 * sysdeps/i386/fpu/libm-test-ulps: Update.
28532 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28533
28534 * timezone/checktab.awk: Update from tzcode 2013i.
28535 * timezone/private.h: Likewise.
28536 * timezone/scheck.c: Likewise.
28537 * timezone/tzfile.h: Likewise.
28538 * timezone/tzselect.ksh: Likewise.
28539 * timezone/zdump.c: Likewise.
28540 * timezone/zic.c: Likewise.
28541
28542 * math/auto-libm-test-in: Add tests of cpow.
28543 * math/auto-libm-test-out: Regenerated.
28544 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
28545 * math/gen-auto-libm-tests.c (func_calc_method): Add value
28546 mpc_cc_c.
28547 (func_calc_desc): Add mpc_cc_c union field.
28548 (test_functions): Add cpow.
28549 (special_fill_2pi): New function.
28550 (special_real_inputs): Add 2pi.
28551 (calc_generic_results): Handle mpc_cc_c.
28552 * sysdeps/i386/fpu/libm-test-ulps: Update.
28553 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28554
28555 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
28556 csqrt, ctan and ctanh.
28557 * math/auto-libm-test-out: Regenerated.
28558 * math/libm-test.inc (TEST_COND_x86_64): New macro.
28559 (TEST_COND_x86): Likewise.
28560 (ccos_test_data): Use AUTO_TESTS_c_c.
28561 (ccosh_test_data): Likewise.
28562 (cexp_test_data): Likewise.
28563 (clog_test_data): Likewise.
28564 (csqrt_test_data): Likewise.
28565 (ctan_test_data): Likewise.
28566 (ctan_tonearest_test_data): Likewise.
28567 (ctan_towardzero_test_data): Likewise.
28568 (ctan_downward_test_data): Likewise.
28569 (ctan_upward_test_data): Likewise.
28570 (ctanh_test_data): Likewise.
28571 (ctanh_tonearest_test_data): Likewise.
28572 (ctanh_towardzero_test_data): Likewise.
28573 (ctanh_downward_test_data): Likewise.
28574 (ctanh_upward_test_data): Likewise.
28575 * math/gen-auto-libm-tests.c (func_calc_method): Add value
28576 mpc_c_c.
28577 (func_calc_desc): Add mpc_c_c union field.
28578 (FUNC_mpc_c_c): New macro.
28579 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
28580 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
28581 ctanh.
28582 (special_fill_min_subnorm_p120): New function.
28583 (special_real_inputs): Add min_subnorm_p120.
28584 (calc_generic_results): Handle mpc_c_c.
28585 * sysdeps/i386/fpu/libm-test-ulps: Update.
28586 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28587
28588 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
28589
28590 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
28591 (do_sin_slow): New functions.
28592 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
28593 (cslow2, csloww1, csloww2): Use the new functions.
28594
28595 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
28596 Use M to change sign of result instead of X. Assume X is
28597 positive.
28598 (csloww1): Likewise.
28599 (__sin): Adjust.
28600 (__cos): Adjust.
28601
28602 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
28603 arguments A and DA.
28604 (__sin): Adjust.
28605 (__cos): Likewise.
28606
28607 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
28608 (__cos): Likewise.
28609 (sloww1): Don't adjust sign of DX.
28610 (csloww1): Likewise.
28611 (sloww2): Use X directly and don't adjust sign of DX.
28612 (csloww2): Likewise.
28613
28614 2013-12-19 Joseph Myers <joseph@codesourcery.com>
28615
28616 * math/auto-libm-test-in: Add tests of cabs and carg.
28617 * math/auto-libm-test-out: Regenerated.
28618 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
28619 (carg_test_data): Likewise.
28620 * math/gen-auto-libm-tests.c (func_calc_method): Add value
28621 mpc_c_f.
28622 (func_calc_desc): Add mpc_c_f union field.
28623 (test_functions): Add cabs and carg.
28624 (calc_generic_results): Handle mpc_c_f.
28625
28626 * sysdeps/powerpc/powerpc32/libgcc-compat.S
28627 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
28628 as a macro and a compat symbol.
28629 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
28630 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
28631 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
28632 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
28633 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
28634 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
28635 not use .hidden.
28636 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
28637 Likewise.
28638 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
28639 Likewise.
28640 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
28641 Likewise.
28642 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
28643 Likewise.
28644 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
28645 Likewise.
28646 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
28647 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
28648 from GLIBC_2.3.2.
28649
28650 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28651
28652 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28653
28654 2013-12-19 Joseph Myers <joseph@codesourcery.com>
28655
28656 * manual/texinfo.tex: Update to version 2013-11-26.10 with
28657 trailing whitespace removed.
28658 * scripts/config.guess: Update to version 2013-11-29.
28659 * scripts/config.sub: Update to version 2013-10-01.
28660
28661 * math/auto-libm-test-in: Add tests of sincos.
28662 * math/auto-libm-test-out: Regenerated.
28663 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
28664 * math/gen-auto-libm-tests.c (func_calc_method): Add value
28665 mpfr_f_11.
28666 (func_calc_desc): Add mpfr_f_11 union field.
28667 (test_functions): Add sincos.
28668 (calc_generic_results): Handle mpfr_f_11.
28669 * sysdeps/i386/fpu/libm-test-ulps: Update.
28670 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28671
28672 2013-12-19 Andreas Schwab <schwab@suse.de>
28673
28674 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
28675 CALL_MCOUNT.
28676 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
28677 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
28678 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
28679
28680 2013-12-19 Joseph Myers <joseph@codesourcery.com>
28681
28682 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
28683 * sysdeps/i386/fpu/libm-test-ulps: Update.
28684 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28685
28686 [BZ #16293]
28687 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
28688 round-to-nearest mode when using frndint.
28689 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
28690 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
28691 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
28692 Likewise.
28693 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
28694 sinh test to fail.
28695 * math/auto-libm-test-out: Regenerated.
28696 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
28697 (TEST_COND_x86): Likewise.
28698 (expm1_tonearest_test_data): New array.
28699 (expm1_test_tonearest): New function.
28700 (expm1_towardzero_test_data): New array.
28701 (expm1_test_towardzero): New function.
28702 (expm1_downward_test_data): New array.
28703 (expm1_test_downward): New function.
28704 (expm1_upward_test_data): New array.
28705 (expm1_test_upward): New function.
28706 (main): Run the new test functions.
28707 * sysdeps/i386/fpu/libm-test-ulps: Update.
28708 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28709
28710 * include/features.h: Update comment documenting feature test
28711 macros. Mention _DEFAULT_SOURCE in comment.
28712 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
28713 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
28714 _BSD_SOURCE and _SVID_SOURCE.
28715 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
28716 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
28717 !_SVID_SOURCE]: Likewise.
28718 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
28719 (__USE_POSIX_IMPLICITLY): Define.
28720 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
28721 (_POSIX_SOURCE): Undefine and redefine.
28722 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
28723 (_POSIX_C_SOURCE): Likewise.
28724 * manual/creature.texi (_DEFAULT_SOURCE): Document.
28725 (Feature Test Macros): Update documentation of default features.
28726
28727 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28728
28729 * benchtests/Makefile: Add bench-strtok.
28730 * benchtests/bench-strtok.c: New file: strtok benchtest.
28731
28732 2013-12-19 Allan McRae <allan@archlinux.org>
28733
28734 * manual/install.texi: Suppress menu for plain text output.
28735 * INSTALL: Regenerated.
28736
28737 2013-12-18 Brooks Moses <bmoses@google.com>
28738
28739 [BZ #15846]
28740 * misc/getauxval.c: Include errno.h.
28741 (__getauxval): Set errno to ENOENT if the requested type is not
28742 found.
28743 * misc/sys/auxv.h (getauxval): Document that it may set errno;
28744 don't declare with __attribute_const__.
28745 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
28746 * manual/startup.texi: Document that getauxval sets errno.
28747
28748 2013-12-18 Joseph Myers <joseph@codesourcery.com>
28749
28750 * math/auto-libm-test-in: Add tests of jn and yn.
28751 * math/auto-libm-test-out: Regenerated.
28752 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
28753 (yn_test_data): Likewise.
28754 * math/gen-auto-libm-tests.c (func_calc_method): Add value
28755 mpfr_if_f.
28756 (func_calc_desc): Add mpfr_if_f union field.
28757 (FUNC_mpfr_if_f): New macro.
28758 (test_functions): Add jn and yn.
28759 (calc_generic_results): Assert type of second input for
28760 mpfr_ff_f. Handle mpfr_if_f.
28761 (output_for_one_input_case): Disable all checking for arguments
28762 fitting floating-point types in case of an integer argument.
28763 * sysdeps/i386/fpu/libm-test-ulps: Update.
28764 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28765
28766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
28767 Don't expect fegetround reference in libm.so.
28768
28769 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28770
28771 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
28772 $(config-cflags-nofma).
28773
28774 2013-12-18 Joseph Myers <joseph@codesourcery.com>
28775
28776 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
28777 * math/auto-libm-test-out: Regenerated.
28778
28779 [BZ #16338]
28780 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
28781 to determine exponent and adjust argument to have exponent of -1.
28782 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
28783 log2.
28784 * math/auto-libm-test-out: Regenerated.
28785 * sysdeps/i386/fpu/libm-test-ulps: Update.
28786 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28787
28788 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
28789
28790 * manual/probes.texi: Remove cases when per-thread arenas are
28791 disabled.
28792
28793 2013-12-18 Andreas Schwab <schwab@suse.de>
28794
28795 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
28796 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
28797 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
28798 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
28799 * sysdeps/i386/i686/multiarch/Makefile: Update.
28800 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
28801
28802 2013-12-17 Joseph Myers <joseph@codesourcery.com>
28803
28804 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
28805 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
28806
28807 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
28808
28809 [BZ #15968]
28810 Support TZ transition times < 00:00:00.
28811 This is needed for version-3 tz-format files; it supports time
28812 stamps past 2037 for America/Godthab (the only entry in the tz
28813 database for which this change is relevant).
28814 * manual/time.texi (TZ Variable): Document transition times
28815 from -167:59:59 through -00:00:01.
28816 * time/tzset.c (tz_rule): Time of day is now signed.
28817 (__tzset_parse_tz): Parse negative time of day.
28818
28819 Document TZ transition times >= 25:00:00.
28820 * manual/time.texi (TZ Variable): Document transition times from
28821 25:00:00 through 167:59:59. These are already supported, and this
28822 support will help with version-3 tz-format files.
28823
28824 * manual/time.texi (TZ Variable): Modernize North America example
28825 to reflect current (i.e., 2007-and-later) daylight saving rules.
28826
28827 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
28828
28829 2013-12-17 Joseph Myers <joseph@codesourcery.com>
28830
28831 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
28832 * sysdeps/unix/bsd/bits/stat.h: Likewise.
28833 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
28834 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
28835 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
28836 * sysdeps/unix/bsd/bsdstat.h: Likewise.
28837 * sysdeps/unix/bsd/clock.c: Likewise.
28838 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
28839 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
28840 * sysdeps/unix/bsd/init-posix.c: Likewise.
28841 * sysdeps/unix/bsd/poll.c: Likewise.
28842 * sysdeps/unix/bsd/ptsname.c: Likewise.
28843 * sysdeps/unix/bsd/seekdir.c: Likewise.
28844 * sysdeps/unix/bsd/setegid.c: Likewise.
28845 * sysdeps/unix/bsd/seteuid.c: Likewise.
28846 * sysdeps/unix/bsd/setgid.c: Likewise.
28847 * sysdeps/unix/bsd/setrgid.c: Likewise.
28848 * sysdeps/unix/bsd/setruid.c: Likewise.
28849 * sysdeps/unix/bsd/setsid.c: Likewise.
28850 * sysdeps/unix/bsd/setuid.c: Likewise.
28851 * sysdeps/unix/bsd/sigaction.c: Likewise.
28852 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
28853 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
28854 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
28855 * sysdeps/unix/bsd/telldir.c: Likewise.
28856 * sysdeps/unix/bsd/times.c: Likewise.
28857 * sysdeps/unix/bsd/usleep.c: Likewise.
28858
28859 * misc/Makefile (install-lib): Remove libbsd-compat.a.
28860 ($(objpfx)libbsd-compat.a): Remove rule.
28861
28862 * include/features.h (__FAVOR_BSD): Do not define.
28863 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
28864 features conflicting with POSIX.
28865 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
28866 (_BSD_SOURCE): Remove description of not being a subset of other
28867 feature test macros.
28868 * manual/job.texi (getpgrp): Do not document BSD version.
28869 (getpgid): Do not document by reference to BSD getpgrp.
28870 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
28871 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
28872 * signal/signal.h [__FAVOR_BSD]: Likewise.
28873 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
28874 instead of making contents conditional on [__FAVOR_BSD].
28875 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
28876
28877 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28878
28879 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28880
28881 2013-12-17 Joseph Myers <joseph@codesourcery.com>
28882
28883 [BZ #16314]
28884 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
28885 values below 2**-450, not 2**-500.
28886 * math/auto-libm-test-in: Don't allow spurious underflow from
28887 hypot.
28888 * math/auto-libm-test-out: Regenerated.
28889
28890 [BZ #16316]
28891 [BZ #16330]
28892 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
28893 values of ha and hb and sort them after adjusting subnormal
28894 arguments.
28895 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
28896 Likewise.
28897 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
28898 values of ea and eb and sort them after adjusting subnormal
28899 arguments.
28900 * math/auto-libm-test-in: Do not expect some hypot tests of
28901 subnormals to fail. Add more hypot tests.
28902 * math/auto-libm-test-out: Regenerated.
28903
28904 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28905
28906 [BZ #13304]
28907 * sysdeps/sh/s_fma.c: New file.
28908 * sysdeps/sh/s_fmaf.c: New file.
28909 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
28910 version.
28911 * sysdeps/sh/Implies: Add sh/soft-fp.
28912
28913 2013-12-16 Roland McGrath <roland@hack.frob.com>
28914
28915 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
28916 level of indirection to members `objname', `errstring', `malloced'.
28917 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
28918 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
28919 it as the __longjmp argument (just pass 1 instead).
28920 (_dl_catch_error): Initialize C with argument pointers and address of
28921 volatile local ERRCODE rather than copying values out of C at return.
28922
28923 2013-12-16 Joseph Myers <joseph@codesourcery.com>
28924
28925 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
28926 * math/auto-libm-test-out: Regenerated.
28927 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
28928 (hypot_test_data): Likewise.
28929 (pow_test_data): Likewise.
28930 (pow_tonearest_test_data): Likewise.
28931 * math/gen-auto-libm-tests.c (func_calc_method): Add value
28932 mpfr_ff_f.
28933 (func_calc_desc): Add mpfr_ff_f union field.
28934 (FUNC_mpfr_ff_f): New macro.
28935 (test_functions): Add atan2, hypot and pow.
28936 (special_fill_min): New function.
28937 (special_fill_minus_min): Likewise.
28938 (special_fill_min_subnorm): Likewise.
28939 (special_fill_minus_min_subnorm): Likewise.
28940 (special_real_inputs): Add min, -min, min_subnorm and
28941 -min_subnorm.
28942 (calc_generic_results): Handle mpfr_ff_f.
28943 * sysdeps/i386/fpu/libm-test-ulps: Update.
28944 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28945
28946 2013-12-16 Will Newton <will.newton@linaro.org>
28947
28948 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
28949 (Aligned Memory Blocks): Add documentation for aligned_alloc
28950 and suggest it as an alternative to posix_memalign.
28951 (Hooks for Malloc): Document __memalign_hook is also called
28952 for aligned_alloc. (Summary of Malloc): Add summary for
28953 aligned alloc. Document __memalign_hook is also called
28954 for aligned_alloc.
28955
28956 2013-12-16 Will Newton <will.newton@linaro.org>
28957
28958 * manual/memory.texi (Malloc Examples): Clarify default
28959 alignment documentation. Suggest posix_memalign rather
28960 than memalign or valloc.
28961 (Aligned Memory Blocks): Remove suggestion to use memalign
28962 or valloc. Remove obsolete comment about BSD.
28963 Document memalign errno values and mark the function obsolete.
28964 Document posix_memalign returned error codes. Mark valloc
28965 as obsolete. (Hooks for Malloc): __memalign_hook is also
28966 called for posix_memalign and valloc.
28967 (Summary of Malloc): Add posix_memalign to function summary.
28968 __memalign_hook is also called for posix_memalign and valloc.
28969
28970 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
28971
28972 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
28973 TAYLOR_SIN.
28974 (__sin): Adjust.
28975 (__cos): Likewise.
28976 (sloww): Use mynumber union. Expand ternary operator into
28977 if-else statements.
28978 (cslow): use mynumber union.
28979
28980 2013-12-16 Allan McRae <allan@archlinux.org>
28981
28982 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
28983 * configure: Regenerated.
28984
28985 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
28986
28987 [BZ #14120]
28988 * configure.ac: Added --enable-maintainer-mode. Check for
28989 autoconf when enabled.
28990 * configure: Regenerated.
28991
28992 * nscd/nscd.service: New file.
28993 * nscd/nscd.tmpfiles: New file.
28994
28995 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
28996
28997 [BZ #12100]
28998 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
28999 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
29000 * sysdeps/x86_64/multiarch/strstr.c: ... here.
29001 (strstr): Add __strstr_sse2_unaligned ifunc.
29002 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
29003 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
29004 (strcasestr): Remove __strcasestr_sse42 ifunc.
29005 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
29006 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
29007 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
29008
29009 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29010
29011 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
29012 * sysdeps/sh/bits/fenv.h: ... here.
29013 * sysdeps/sh/sh4/fpu/bits: Remove directory.
29014
29015 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29016
29017 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
29018
29019 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
29020 hypotf multiarch implementations.
29021 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
29022 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
29023 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
29024 multiarch hypot for PPC64.
29025 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
29026 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
29027 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
29028 multiarch hypotf for PPC64.
29029
29030 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
29031 modff multiarch implementations.
29032 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
29033 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
29034 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
29035 multiarch modf for PPC64.
29036 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
29037 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
29038 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
29039 multiarch modff for PPC64.
29040
29041 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
29042 and logl multiarch implementations.
29043 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
29044 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
29045 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
29046 multiarch logb for PPC64.
29047 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
29048 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
29049 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
29050 multiarch logb for PPC64.
29051 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
29052 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
29053 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
29054 multiarch logb for PPC64.
29055
29056 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
29057 isinff multiarch implementation.
29058 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
29059 file.
29060 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
29061 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
29062 multiarch isinf for PPC64.
29063 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
29064 file.
29065 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
29066 multiarch isinff for PPC64.
29067
29068 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
29069 finitef multiarch implementation.
29070 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
29071 file.
29072 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
29073 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
29074 multiarch finite for PPC64.
29075 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
29076 file.
29077 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
29078 multiarch finitef for PPC64.
29079
29080 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
29081 lrint multiarch implementation.
29082 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
29083 file.
29084 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
29085 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
29086 multiarch llrint for PPC64.
29087 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
29088 multiarch lrint for PPC64.
29089
29090 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
29091 copysignf multiarch implementation.
29092 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
29093 file.
29094 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
29095 file.
29096 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
29097 multiarch copysign for PPC64.
29098 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
29099 multiarch copysignf for PPC64.
29100
29101 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
29102 multiarch implementation.
29103 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
29104 file.
29105 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
29106 file.
29107 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
29108 file.
29109 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
29110 file.
29111 multiarch llround for PPC64.
29112 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
29113 multiarch trunc for PPC64.
29114 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
29115 multiarch truncf for PPC64.
29116
29117 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
29118 multiarch implementation.
29119 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
29120 file.
29121 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
29122 file.
29123 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
29124 file.
29125 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
29126 file.
29127 multiarch llround for PPC64.
29128 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
29129 multiarch round for PPC64.
29130 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
29131 multiarch roundf for PPC64.
29132
29133 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
29134 multiarch implementation.
29135 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
29136 file.
29137 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
29138 file.
29139 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
29140 file.
29141 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
29142 file.
29143 multiarch llround for PPC64.
29144 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
29145 multiarch floor for PPC64.
29146 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
29147 multiarch floorf for PPC64.
29148
29149 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
29150 multiarch implementation.
29151 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
29152 file.
29153 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
29154 file.
29155 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
29156 file.
29157 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
29158 file.
29159 multiarch llround for PPC64.
29160 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
29161 multiarch ceil for PPC64.
29162 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
29163 multiarch ceilf for PPC64.
29164
29165 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
29166 multiarch implementation.
29167 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
29168 file.
29169 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
29170 file.
29171 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
29172 file.
29173 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
29174 multiarch llround for PPC64.
29175 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
29176 multiarch lround for PPC64.
29177
29178 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
29179 multiarch implementation.
29180 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
29181 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
29182 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
29183 file.
29184 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
29185 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
29186 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
29187 multiarch isnan for PPC64.
29188 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
29189 multiarch isnanf for PPC64.
29190
29191 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
29192 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
29193 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
29194 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
29195 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
29196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
29197
29198 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
29199 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
29200 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
29201 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
29202
29203 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
29204 multiarch implementations.
29205 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29206 (__libc_ifunc_impl_list): Likewise.
29207 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
29208 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
29209 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
29210 multiarch stpcpy for PPC64.
29211
29212 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
29213 multiarch implementations.
29214 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29215 (__libc_ifunc_impl_list): Likewise.
29216 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
29217 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
29218 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
29219 multiarch strcpy for PPC64.
29220
29221 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
29222 redefine function name.
29223 (_wordcopy_fwd_dest_aligned): Likewise.
29224 (_wordcopy_bwd_aligned): Likewise.
29225 (_wordcopy_bwd_dest_aligned): Likewise.
29226 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
29227 multiarch implementations.
29228 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29229 (__libc_ifunc_impl_list): Likewise.
29230 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
29231 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
29232 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
29233 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
29234 multiarch wcscpy for PPC64.
29235
29236 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
29237 multiarch implementations.
29238 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29239 (__libc_ifunc_impl_list): Likewise.
29240 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
29241 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
29242 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
29243 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
29244 multiarch wcscpy for PPC64.
29245
29246 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
29247 multiarch implementations.
29248 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29249 (__libc_ifunc_impl_list): Likewise.
29250 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
29251 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
29252 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
29253 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
29254 multiarch wcsrchr for PPC64.
29255
29256 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
29257 multiarch implementations.
29258 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29259 (__libc_ifunc_impl_list): Likewise.
29260 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
29261 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
29262 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
29263 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
29264 multiarch wcschr for PPC64.
29265
29266 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
29267 multiarch implementations.
29268 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29269 (__libc_ifunc_impl_list): Likewise.
29270 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
29271 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
29272 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
29273 multiarch strchrnul for PPC64.
29274
29275 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
29276 implementations.
29277 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29278 (__libc_ifunc_impl_list): Likewise.
29279 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
29280 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
29281 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
29282 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
29283 strchr for PPC64.
29284
29285 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
29286 implementations.
29287 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29288 (__libc_ifunc_impl_list): Likewise.
29289 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
29290 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
29291 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
29292 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
29293 strncmp for PPC64.
29294
29295 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
29296 multiarch implementations.
29297 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29298 (__libc_ifunc_impl_list): Likewise.
29299 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
29300 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
29301 strncasecmp for PPC64.
29302 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
29303 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
29304 multiarch strncasecmp_l for PPC64.
29305
29306 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
29307 multiarch implementations.
29308 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
29309 (__libc_ifunc_impl_list): Likewise.
29310 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
29311 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
29312 multiarch strcasecmp for PPC64.
29313 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
29314 file.
29315 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
29316 multiarch strcasecmp_l for PPC64.
29317
29318 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
29319 implementations.
29320 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29321 (__libc_ifunc_impl_list): Likewise.
29322 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
29323 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
29324 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
29325 strnlen for PPC64.
29326
29327 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
29328 implementations.
29329 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29330 (__libc_ifunc_impl_list): Likewise.
29331 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
29332 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
29333 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
29334 strlen for PPC64.
29335
29336 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
29337 implementations.
29338 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29339 (__libc_ifunc_impl_list): Likewise.
29340 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
29341 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
29342 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
29343 rawmemrchr for PPC64.
29344
29345 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
29346 implementation.
29347 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29348 (__libc_ifunc_impl_list): Likewise.
29349 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
29350 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
29351 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
29352 memrchr for PPC64.
29353
29354 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
29355 implementation.
29356 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29357 (__libc_ifunc_impl_list): Likewise.
29358 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
29359 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
29360 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
29361 memchr for PPC64.
29362
29363 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
29364 implementation.
29365 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29366 (__libc_ifunc_impl_list): Likewise.
29367 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
29368 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
29369 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
29370 mempcpy for PPC64.
29371
29372 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
29373 avoid cretion of __bzero symbol.
29374 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
29375 Likewise.
29376 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
29377 Likewise.
29378 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
29379 Likewise.
29380 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
29381 multiarch implementations.
29382 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29383 (__libc_ifunc_impl_list): Likewise.
29384 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
29385 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
29386 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
29387 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
29388 bzero for PPC32.
29389 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
29390 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
29391 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
29392 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
29393 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
29394 memset for PPC64.
29395 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
29396
29397 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
29398 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
29399 implementations.
29400 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29401 (__libc_ifunc_impl_list): Likewise.
29402 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
29403 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
29404 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
29405 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
29406 memcmp for PPC64.
29407
29408 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
29409 multiarch for POWER/PPC64.
29410 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
29411 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
29412 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
29413 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
29414 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
29415 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
29416 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
29417 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
29418 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
29419 memcpy for PPC64.
29420
29421 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
29422 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
29423 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
29424 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
29425 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
29426 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
29427 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
29428 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
29429 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
29430 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
29431 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
29432 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
29433 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
29434 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
29435 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
29436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
29437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
29438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
29439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
29440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
29441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
29442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
29443
29444 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29445
29446 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
29447
29448 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
29449
29450 * benchtests/Makefile (bench): Add exp2 and log2.
29451 (LDLIBS-bench-exp2): Add -lm.
29452 (LDLIBS-bench-log2): Likewise.
29453 * benchtests/exp2-inputs: New inputs file.
29454 * benchtests/log2-inputs: New inputs file.
29455 * benchtests/log-inputs: Add new inputs.
29456 * benchtests/tan-inputs: Likewise.
29457
29458 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
29459
29460 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
29461 definition...
29462 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
29463 (csloww2): ... from here.
29464
29465 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
29466 instead of structures.
29467 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
29468 (POLYNOMIAL): Likewise.
29469 (TAYLOR_SLOW): Likewise.
29470 (__sin): Likewise.
29471 (__cos): Likewise.
29472 (slow1): Likewise.
29473 (slow2): Likewise.
29474 (sloww): Likewise.
29475 (sloww1); Likewise.
29476 (sloww2): Likewise.
29477 (bsloww1): Likewise.
29478 (bsloww2): Likewise.
29479 (cslow2): Likewise.
29480 (csloww): Likewise.
29481 (csloww1): Likewise.
29482 (csloww2): Likewise.
29483
29484 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
29485
29486 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
29487 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
29488 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
29489 * malloc/hooks.c (realloc_check): Likewise.
29490
29491 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
29492 * malloc/arena.c: Remove PER_THREAD conditional.
29493 [!PER_THREAD]: Remove code.
29494 (ptmalloc_unlock_all2): Likewise.
29495 (ptmalloc_init): Likewise.
29496 (_int_new_arena): Likewise.
29497 (arena_get2): Likewise.
29498 * malloc/hooks.c (__malloc_get_state): Likewise.
29499 (__malloc_set_state): Likewise.
29500 * malloc/malloc.c: Likewise.
29501 (struct malloc_state): Likewise.
29502 (struct malloc_par): Likewise.
29503 (__libc_realloc): Likewise.
29504 (__libc_mallopt): Likewise.
29505
29506 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29507
29508 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
29509
29510 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
29511
29512 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
29513 macro to a function. Check for zero perturb_byte.
29514 (_int_malloc, _int_free): Remove zero perturb_byte checks.
29515
29516 * malloc/malloc.c: (force_reg): Remove.
29517 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
29518 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
29519 force_reg by atomic_forced_read.
29520 * malloc/arena.c (ptmalloc_init): Likewise.
29521 * malloc/hooks.c (top_check): Likewise.
29522
29523 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29524
29525 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29526
29527 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
29528
29529 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29530
29531 2013-12-08 Joseph Myers <joseph@codesourcery.com>
29532
29533 * math/auto-libm-test-in: Add tests of lgamma.
29534 * math/auto-libm-test-out: Regenerated.
29535 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
29536 (M_LOG_2_SQRT_PIl): Likewise.
29537 (lgamma_test_data): Use AUTO_TESTS_f_f1.
29538 * math/gen-auto-libm-tests.c (func_calc_method): Add value
29539 mpfr_f_f1.
29540 (func_calc_desc): Add mpfr_f_f1 union field.
29541 (ARGS1): New macro.
29542 (ARGS2): Likewise.
29543 (ARGS3): Likewise.
29544 (ARGS4): Likewise.
29545 (RET1): Likewise.
29546 (RET2): Likewise.
29547 (CALC): Likewise.
29548 (FUNC): Likewise.
29549 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
29550 (test_functions): Add lgamma.
29551 (calc_generic_results): Handle mpfr_f_f1.
29552 * sysdeps/i386/fpu/libm-test-ulps: Update.
29553 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29554
29555 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29556
29557 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
29558 __mpn_add_n for PowerPC64/POWER7.
29559 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
29560 __mpn_sub_n for PowerPC64/POWER7.
29561
29562 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
29563 __mpn_addmul_1 for PowerPC64.
29564 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
29565 __mpn_submul_1 for PowerPC64.
29566 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
29567 for PowerPC64.
29568 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
29569 for PowerPC64.
29570
29571 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
29572
29573 [BZ #15089]
29574 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
29575
29576 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29577
29578 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
29579
29580 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
29581 add multiarch folders.
29582 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
29583 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
29584 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
29585 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
29586 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
29587 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
29588 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
29589 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
29590 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
29591 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
29592 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
29593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
29594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
29595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
29596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
29597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
29598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
29599
29600 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
29601 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
29602 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
29603 New file.
29604 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
29605 New file.
29606 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
29607 multiarch __ieee754_hypot for PowerPC32.
29608 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
29609 New file.
29610 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
29611 New file.
29612 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
29613 multiarch __ieee754_hypotf for PowerPC32.
29614
29615 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
29616 long_double_symbol only if __logbl is defined.
29617 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
29618 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
29619 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
29620 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
29621 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
29622 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
29623 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
29624 path for implementation.
29625 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
29626 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
29627 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
29628 logb, and logbl multiarch implementations for PowerPC32.
29629 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
29630 file.
29631 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
29632 file.
29633 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
29634 multiarch logb for PowerPC32.
29635 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
29636 file.
29637 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
29638 file.
29639 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
29640 multiarch logbf for PowerPC32.
29641 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
29642 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
29643 file.
29644 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
29645 multiarch logbl implementation for PowerPC32.
29646
29647 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
29648 and modff multiarch implementations.
29649 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
29650 New file.
29651 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
29652 New file.
29653 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
29654 multiarch modf for PowerPC32.
29655 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
29656 New file.
29657 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
29658 New file.
29659 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
29660 multiarch modff for PowerPC32.
29661
29662 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
29663 and lrintf multiarch implementations.
29664 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
29665 New file.
29666 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
29667 New file.
29668 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
29669 multiarch lrint for PowerPC32.
29670 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
29671 file: multiarch lrintf for PowerPC32.
29672
29673 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
29674 and lroundf multiarch implementations.
29675 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
29676 New file.
29677 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
29678 New file.
29679 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
29680 New file.
29681 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
29682 multiarch lround for PowerPC32.
29683 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
29684 file: multiarch lroundf for PowerPC32.
29685
29686 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
29687 copysign and copysignf multiarch implementations.
29688 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
29689 New file.
29690 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
29691 New file.
29692 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
29693 file: multiarch copysign for PowerPC32.
29694 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
29695 file: multiarch copysignf for PowerPC32.
29696
29697 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
29698 and truncf multiarch implementations.
29699 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
29700 New file.
29701 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
29702 file.
29703 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
29704 multiarch trunc for PowerPC32.
29705 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
29706 New file.
29707 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
29708 New file.
29709 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
29710 multiarch truncf for PowerPC32.
29711
29712 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
29713 and roundf multiarch implementations.
29714 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
29715 New file.
29716 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
29717 file.
29718 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
29719 multiarch round for PowerPC32.
29720 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
29721 New file.
29722 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
29723 New file.
29724 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
29725 multiarch roundf for PowerPC32.
29726
29727 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
29728 and floorf multiarch implementations.
29729 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
29730 New file.
29731 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
29732 file.
29733 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
29734 multiarch floor for PowerPC32.
29735 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
29736 New file.
29737 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
29738 New file.
29739 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
29740 multiarch floorf for PowerPC32.
29741
29742 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
29743 and ceilf multiarch implementations.
29744 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
29745 New file.
29746 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
29747 file.
29748 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
29749 multiarch ceil for PowerPC32.
29750 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
29751 New file.
29752 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
29753 file.
29754 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
29755 multiarch ceilf for PowerPC32.
29756
29757 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
29758 is defined.
29759 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
29760 FINITEF is defined.
29761 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
29762 and finitef multiarch implementations.
29763 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
29764 New file.
29765 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
29766 file.
29767 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
29768 multiarch finite for PowerPC32.
29769 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
29770 New file.
29771 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
29772 file: multiarch finitef for PowerPC32.
29773
29774 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
29775 and isinff multiarch implementations.
29776 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
29777 file.
29778 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
29779 file.
29780 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
29781 multiarch isinf for PowerPC32.
29782 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
29783 New file.
29784 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
29785 multiarch isinff for PowerPC32.
29786
29787 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
29788 alias when __isnan is defined.
29789 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
29790 and isnanf multiarch implementations.
29791 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
29792 file.
29793 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
29794 file.
29795 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
29796 file.
29797 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
29798 file.
29799 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
29800 multiarch isnan for PowerPC32.
29801 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
29802 New file.
29803 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
29804 New file.
29805 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
29806 multiarch isnanf for PowerPC32.
29807
29808 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
29809 and sqrtf multiarch implementations.
29810 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
29811 file.
29812 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
29813 file.
29814 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
29815 multiarch sqrt for PowerPC32.
29816 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
29817 file.
29818 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
29819 file.
29820 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
29821 multiarch sqrtf for PowerPC32.
29822
29823 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
29824 and llroundf multiarch implementations.
29825 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
29826 New file.
29827 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
29828 New file.
29829 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
29830 New file.
29831 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
29832 file: multiarch llround for PowerPC32.
29833 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
29834 file: multiarch llroundf for PowerPC32.
29835
29836 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
29837 multiarch PowerPC32 fpu implementations.
29838 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
29839 New file.
29840 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
29841 New file.
29842 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
29843 multiarch llrint for PowerPC32.
29844 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
29845 New file.
29846 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
29847 New file.
29848 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
29849 file.
29850
29851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
29852
29853 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
29854 file.
29855 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
29856 file.
29857 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
29858 file.
29859 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
29860 multiarch wordcopy for PPC32.
29861 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
29862 wordcopy objects.
29863 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29864 (__libc_ifunc_impl_list): Likewise.
29865 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
29866 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
29867 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
29868 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
29869 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
29870 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
29871
29872 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
29873 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
29874 file.
29875 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
29876 file.
29877 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
29878 file.
29879 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
29880 multiarch wcscpy for PPC32.
29881 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
29882 multiarch objects.
29883 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29884 (__libc_ifunc_impl_list): Likewise.
29885 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
29886 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
29887 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
29888 sysdeps/powerpc/power6/wcscpy.c.
29889
29890 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
29891 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
29892 file.
29893 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
29894 file.
29895 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
29896 file.
29897 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
29898 multiarch wcsrchr for PPC32.
29899 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
29900 multiarch objects.
29901 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29902 (__libc_ifunc_impl_list): Likewise.
29903 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
29904 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
29905 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
29906 sysdeps/powerpc/power6/wcsrchr.c.
29907
29908 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
29909 file.
29910 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
29911 file.
29912 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
29913 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
29914 multiarch wcschr for PPc32.
29915 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
29916 multiarch objects.
29917 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29918 (__libc_ifunc_impl_list): Likewise.
29919 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
29920 * sysdeps/powerpc/power6/wcschr.c: ... to here.
29921 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
29922 sysdeps/powerpc/power6/wcschr.c.
29923
29924 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
29925 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
29926 file.
29927 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
29928 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
29929 file: multiarch strchr for PPC32.
29930 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
29931 multiarch objects.
29932 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29933 (__libc_ifunc_impl_list): Likewise.
29934
29935 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
29936 name.
29937 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
29938 file.
29939 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
29940 file.
29941 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
29942 multiarch strchrnul for PPC32.
29943 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
29944 multiarch objects.
29945 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29946 (__libc_ifunc_impl_list): Likewise.
29947
29948 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
29949 file.
29950 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
29951 multiarch strncasecmp for PPC32.
29952 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
29953 file.
29954 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
29955 multiarch strncasecmp_l for PPC32.
29956 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
29957 strncasecmp multiarch objects.
29958 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29959 (__libc_ifunc_impl_list): Likewise.
29960
29961 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
29962 file.
29963 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
29964 multiarch strncasecmp for PPC32.
29965 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
29966 New file.
29967 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
29968 multiarch strcasecmp_l for PPC32.
29969 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
29970 multiarch objects.
29971 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29972 (__libc_ifunc_impl_list): Likewise.
29973
29974 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
29975 file.
29976 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
29977 file.
29978 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
29979 multiarch strncmp for PPC32.
29980 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
29981 multiarch objects.
29982 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29983 (__libc_ifunc_impl_list): Likewise.
29984
29985 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
29986 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
29987 file.
29988 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
29989 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
29990 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
29991 multiarch objects.
29992 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29993 (__libc_ifunc_impl_list): Likewise.
29994
29995 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
29996 file.
29997 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
29998 file.
29999 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
30000 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
30001 multiarch objects.
30002 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30003 (__libc_ifunc_impl_list): Likewise.
30004
30005 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
30006 file.
30007 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
30008 file.
30009 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
30010 multiarch rawmemchr for PPC32.
30011 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
30012 multiarch objects.
30013 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30014 (__libc_ifunc_impl_list): Likewise.
30015
30016 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
30017 file.
30018 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
30019 file.
30020 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
30021 file: memrchr multiarch for PPC32.
30022 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
30023 multiarch objects.
30024 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30025 (__libc_ifunc_impl_list): Likewise.
30026
30027 * string/memchr.c (__memchr): Using macro to redefine symbol name.
30028 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
30029 file.
30030 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
30031 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
30032 multiarch memchr for PPC32.
30033 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
30034 multiarch objects.
30035 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
30036 (__libc_ifunc_impl_list): Likewise.
30037
30038 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
30039 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
30040 file.
30041 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
30042 file.
30043 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
30044 file: multiarch mempcpy for PPC32.
30045 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
30046 multiarch objects.
30047 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
30048 (__libc_ifunc_impl_list): Likewise.
30049
30050 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
30051 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
30052 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
30053 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
30054 multiarch bzero for PPC32.
30055 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
30056 file.
30057 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
30058 file.
30059 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
30060 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
30061 file: multiarch memset for PPC32.
30062 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
30063 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
30064 memset multiarch objects.
30065 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
30066 (__libc_ifunc_impl_list): Likewise.
30067
30068 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
30069 file.
30070 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
30071 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
30072 memcmp for PPC32.
30073 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
30074 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
30075 multiarch objects.
30076 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
30077 (__libc_ifunc_impl_list): Likewise.
30078
30079 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
30080 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
30081 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
30082 file.
30083 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
30084 file.
30085 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
30086 file.
30087 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
30088 multiarch memcpy for PPC32.
30089 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
30090 multiarch objects.
30091 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
30092 (__libc_ifunc_impl_list): Likewise.
30093
30094 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
30095 support multiarch for POWER/PPC32.
30096 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
30097 Likewise.
30098 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
30099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
30100 Implies file to make multiarch folder appers before the fpu and
30101 default folder for power4 configuration.
30102
30103 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
30104
30105 * scripts/bench.pl: Append volatile keyword to type.
30106
30107 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30108
30109 * sysdeps/sh/sotruss-lib.c: New file.
30110 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
30111
30112 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30113
30114 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30115
30116 2013-12-05 Joseph Myers <joseph@codesourcery.com>
30117
30118 [BZ #6810]
30119 * math/w_tgamma.c: Include <errno.h>.
30120 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
30121 * math/w_tgammaf.c: Include <errno.h>.
30122 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
30123 * math/w_tgammal.c: Include <errno.h>.
30124 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
30125 * math/auto-libm-test-in: Do not allow missing errno on tgamma
30126 underflow. Add more tgamma tests.
30127 * math/auto-libm-test-out: Regenerated.
30128 * sysdeps/i386/fpu/libm-test-ulps: Update.
30129 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30130
30131 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
30132 sin, sinh, tan, tanh, tgamma, y0 and y1.
30133 * math/auto-libm-test-out: Regenerated.
30134 * math/libm-test.inc (TEST_COND_x86_64): New macro.
30135 (TEST_COND_x86): Likewise.
30136 (M_E2l): Remove macro.
30137 (M_E3l): Likewise.
30138 (M_2_SQRT_PIl): Likewise.
30139 (M_SQRT_PIl): Likewise.
30140 (M_1_DIV_El): Likewise.
30141 (log_test_data): Use AUTO_TESTS_f_f.
30142 (log10_test_data): Likewise.
30143 (log1p_test_data): Likewise.
30144 (log2_test_data): Likewise.
30145 (sin_test_data): Likewise.
30146 (sin_tonearest_test_data): Likewise.
30147 (sin_towardzero_test_data): Likewise.
30148 (sin_downward_test_data): Likewise.
30149 (sin_upward_test_data): Likewise.
30150 (sinh_test_data): Likewise.
30151 (sinh_tonearest_test_data): Likewise.
30152 (sinh_towardzero_test_data): Likewise.
30153 (sinh_downward_test_data): Likewise.
30154 (sinh_upward_test_data): Likewise.
30155 (tan_test_data): Likewise.
30156 (tan_tonearest_test_data): Likewise.
30157 (tan_towardzero_test_data): Likewise.
30158 (tan_downward_test_data): Likewise.
30159 (tan_upward_test_data): Likewise.
30160 (tanh_test_data): Likewise.
30161 (tgamma_test_data): Likewise.
30162 (y0_test_data): Likewise.
30163 (y1_test_data): Likewise.
30164 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
30165 (special_real_inputs): Add pi/4.
30166 * sysdeps/i386/fpu/libm-test-ulps: Update.
30167 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30168
30169 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30170
30171 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
30172 "longjmp_target" static probes.
30173 (__longjmp): Rename to __longjmp_symbol.
30174 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
30175 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
30176 on which longjmp to generate.
30177 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
30178 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
30179 probe.
30180 (__sigsetjmp): Rename to __sigsetjmp_symbol.
30181 (__sigjmp_save): Rename to __sigjmp_save_symbol.
30182 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
30183 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
30184 and __sigjmp_save_symbol based on which sigsetjmp to generated.
30185 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
30186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
30187 __longjmp_symbol based on which __longjmp to generate.
30188 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
30189 probe.
30190 (setjmp): Rename to setjmp_symbol.
30191 (__sigsetjmp): Rename to __sigsetjmp_symbol.
30192 (_setjmp): Rename to _setjmp_symbol.
30193 (__sigsetjmp): Rename to __sigsetjmp_symbol.
30194 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
30195 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
30196 which setjmp to generate.
30197 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
30198 "longjmp_target" static probes.
30199
30200 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
30201
30202 * benchtests/README: Add note about output arguments.
30203 * benchtests/bench-sincos.c: Remove file.
30204 * benchtests/sincos-inputs: New file.
30205 * scripts/bench.pl: Identify output arguments and define
30206 static variables for them.
30207
30208 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
30209
30210 [BZ #15941]
30211 * Makefile (INSTALL): Add install-plain.texi as the primary
30212 dependency.
30213 * manual/install-plain.texi: New file.
30214 * manual/install.texi: Include node directive only for
30215 non-plaintext output.
30216
30217 2013-12-04 Joseph Myers <joseph@codesourcery.com>
30218
30219 * stdlib/longlong.h: Update from GCC.
30220
30221 [BZ #6807]
30222 [BZ #15901]
30223 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
30224 * math/w_j0f.c (y0f): Likewise.
30225 * math/w_j0l.c (__y0l): Likewise.
30226 * math/w_j1.c (y1): Likewise.
30227 * math/w_j1f.c (y1f): Likewise.
30228 * math/w_j1l.c (__y1l): Likewise
30229 * math/w_jn.c (yn): Likewise.
30230 * math/w_jnf.c (ynf): Likewise.
30231 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
30232 Bessel function pole errors in _POSIX_ mode. Use NAN as return
30233 value for Bessel function domain errors outside _SVID_ mode.
30234 Adjust sign of return value for yn (negative integer, 0).
30235 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
30236 by zero in return for negative x and set sign appropriately for
30237 negative n.
30238 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
30239 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
30240 * math/libm-test.inc (y0_test_data): Add more tests and adjust
30241 expectations in error cases.
30242 (y1_test_data): Likewise.
30243 (yn_test_data): Likewise.
30244 * sysdeps/i386/fpu/libm-test-ulps: Update.
30245 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30246
30247 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
30248
30249 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
30250 "64" to "64-v1". Add "64-v2".
30251 (abi-64-options): Rename to ...
30252 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
30253 (abi-64-condition): Rename to ...
30254 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
30255 (abi-64-ld-soname): Rename to ...
30256 (abi-64-v1-ld-soname): ... this.
30257 (abi-64-v2-options): Define.
30258 (abi-64-v2-condition): Likewise.
30259 (abi-64-v2-ld-soname): Likewise.
30260 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
30261 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
30262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
30263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
30264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
30265
30266 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
30267 Alan Modra <amodra@gmail.com>
30268
30269 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
30270 New versions for use with the ELFv2 ABI.
30271 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
30272 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
30273 declaration.
30274 (struct La_ppc64v2_retval): Likewise.
30275 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
30276 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
30277 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
30278 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
30279 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
30280 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
30281 Do not save or restore CR.
30282 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
30283 (_dl_profile_resolve): Do no save or restore CR. Support extended
30284 return values for ELFv2 ABI. Fix location of FPR return registers.
30285 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
30286 updated values for _CALL_ELF == 2.
30287 (La_regs, La_retval, int_retval): Likewise.
30288
30289 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
30290
30291 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
30292 (FRAME_MIN_SIZE_PARM): Likewise.
30293 (FRAME_BACKCHAIN): Likewise.
30294 (FRAME_CR_SAVE): Likewise.
30295 (FRAME_LR_SAVE): Likewise.
30296 (FRAME_TOC_SAVE): Likewise.
30297 (FRAME_PARM_SAVE): Likewise.
30298 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
30299 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
30300 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
30301 (call_mcount_parm_offset): New macro.
30302 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
30303 (PROF): Use symbolic stack frame offsets.
30304 (TAIL_CALL_SYSCALL_ERROR): Likewise.
30305 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
30306 Redefine in terms of FRAME_MIN_SIZE.
30307 (_dl_runtime_resolve): Use symbolic stack frame offsets.
30308 (_dl_profile_resolve): Likewise. Update comment.
30309 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
30310 symbols stack frame offsets.
30311 (__sigsetjmp): Likewise.
30312 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
30313 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
30314 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
30315 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
30316
30317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
30318 (FRAME_BACKCHAIN): Remove.
30319 (FRAME_CR_SAVE): Likewise.
30320 (FRAME_LR_SAVE): Likewise.
30321 (FRAME_COMPILER_DW): Likewise.
30322 (FRAME_LINKER_DW): Likewise.
30323 (FRAME_TOC_SAVE): Likewise.
30324 (FRAME_PARM_SAVE): Likewise.
30325 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
30326 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
30327 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
30328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
30329 (CHECK_SP): Use symbolic stack frame offsets.
30330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
30331 zone" instead of caller's parameter save area for temp storage.
30332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
30333 Likewise. Also, use symbolic stack frame offsets.
30334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
30335 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
30336 our own stack frame instead of the caller's.
30337 (__socket): Use symbolic stack frame offsets.
30338
30339 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
30340 Alan Modra <amodra@gmail.com>
30341
30342 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
30343 Define.
30344 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
30345 (PPC64_LOCAL_ENTRY_OFFSET): Define.
30346 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
30347 New function.
30348 (elf_machine_fixup_plt): Call it.
30349 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
30350 reloc arguments.
30351 (elf_machine_rela): Update call to elf_machine_plt_conflict.
30352 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
30353 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
30354 r2 before calling target.
30355
30356 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
30357 Alan Modra <amodra@gmail.com>
30358
30359 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
30360 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
30361 versions of macros to support ELFv2 ABI.
30362 (LOCALENTRY): New macro.
30363 (ENTRY, EALIGN): Use it.
30364 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
30365 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
30366 fall through into ENTRY entry point.
30367 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
30368 Only define if _CALL_ELF != 2.
30369
30370 (elf_machine_matches_host): Verify ABI version matches.
30371 (RTLD_START): Use LOCALENTRY.
30372 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
30373 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
30374 (PLT_ENTRY_WORDS): New macro.
30375 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
30376 (elf_machine_runtime_setup): Support ELFv2 ABI.
30377 (elf_machine_fixup_plt): Likewise.
30378 (elf_machine_plt_conflict): Likewise.
30379 (resolve_ifunc): Likewise.
30380 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
30381 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
30382 Likewise.
30383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
30384 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
30385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
30386 (makecontext): Support ELFv2 ABI.
30387 * elf/elf.h (EF_PPC64_ABI): Define.
30388
30389 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
30390
30391 * sysdeps/powerpc/powerpc64/sysdep.h
30392 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
30393 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
30394 (ENTRY) [ASSEMBLER]: ... but instead here ...
30395 (EALIGN) [ASSEMBLER]: ... and here.
30396 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
30397 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
30398 (ENTRY_2) [!ASSEMBLER]: Use it.
30399 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
30400 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
30401 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
30402 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
30403 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
30404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
30405 Use PPC64_LOAD_FUNCPTR.
30406
30407 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
30408
30409 2013-12-04 Alan Modra <amodra@gmail.com>
30410
30411 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
30412 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
30413 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
30414 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
30415
30416 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
30417 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
30418 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
30419 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
30420 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
30421 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
30422
30423 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
30424
30425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
30426 (__makecontext): Fix incorrect CFI when backtracing out of
30427 context created via makecontext.
30428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
30429 (__setcontext): Fix incorrect CFI during switch to new context.
30430 (__novec_setcontext): Likewise.
30431
30432 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
30433
30434 [BZ #4772]
30435 * time/strptime_l.c (__strptime_internal): Allow modifiers
30436 in strptime.
30437 * time/tst-strptime.c (day_tests): Add testcase.
30438
30439 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
30440
30441 * scripts/bench.pl: Skip over blank lines.
30442
30443 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
30444
30445 [BZ #926]
30446 * manual/time.texi (Calendar Time): Clarify what timezone functions
30447 use.
30448
30449 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30450
30451 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30452
30453 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
30454
30455 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
30456 implementation.
30457 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
30458 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
30459 * debug/memset_chk.c (__memset_chk): Likewise.
30460 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
30461 * debug/strncpy_chk.c: Likewise.
30462
30463 2013-12-03 Joseph Myers <joseph@codesourcery.com>
30464
30465 [BZ #15268]
30466 [BZ #15425]
30467 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
30468 (__ieee754_exp): For possibly underflowing results, check size of
30469 result and force underflow exception if required.
30470 * math/auto-libm-test-in: Add more tests of exp.
30471 * math/auto-libm-test-out: Regenerated.
30472 * sysdeps/i386/fpu/libm-test-ulps: Update.
30473 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30474
30475 [BZ #16283]
30476 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
30477 * math/w_exp2f.c (__exp2f): Likewise.
30478 * math/w_exp2l.c (__exp2l): Likewise.
30479 * math/auto-libm-test-in: Do not allow missing errno on exp2
30480 underflow.
30481 * math/auto-libm-test-out: Regenerated.
30482
30483 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
30484
30485 [BZ #16274]
30486 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
30487 handle filename validation.
30488 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
30489 (do_open): Delete.
30490
30491 2013-12-03 Joseph Myers <joseph@codesourcery.com>
30492
30493 [BZ #6786]
30494 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
30495 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
30496 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
30497 <float.h>.
30498 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
30499 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
30500 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
30501 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
30502 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
30503 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
30504 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
30505 * math/auto-libm-test-in: Don't allow missing errno from erfc.
30506 Add more erfc tests.
30507 * math/auto-libm-test-out: Regenerated.
30508 * sysdeps/i386/fpu/libm-test-ulps: Update.
30509 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30510
30511 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
30512 exp2, expm1, j0 and j1.
30513 * math/auto-libm-test-out: Regenerated.
30514 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
30515 (erfc_test_data): Likewise.
30516 (exp_test_data): Likewise.
30517 (exp_tonearest_test_data): Likewise.
30518 (exp_towardzero_test_data): Likewise.
30519 (exp_downward_test_data): Likewise.
30520 (exp_upward_test_data): Likewise.
30521 (exp10_test_data): Likewise.
30522 (exp2_test_data): Likewise.
30523 (expm1_test_data): Likewise.
30524 (j0_test_data): Likewise.
30525 (j1_test_data): Likewise.
30526 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
30527 (input_flag_type): Add flag_xfail_rounding.
30528 (input_flags): Add xfail-rounding.
30529 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
30530 (output_for_one_input_case): Handle flag_xfail_rounding.
30531 * sysdeps/i386/fpu/libm-test-ulps: Update.
30532 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30533
30534 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
30535
30536 [BZ #16289]
30537 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
30538 division by 0.
30539
30540 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
30541
30542 [BZ #16195]
30543 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
30544 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
30545 (STAP_PROBE0): New macro.
30546 (STAP_PROBE1): Likewise.
30547 (STAP_PROBE2): Likewise.
30548 (STAP_PROBE3): Likewise.
30549 (STAP_PROBE4): Likewise.
30550
30551 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
30552
30553 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
30554
30555 2013-12-02 Steve Ellcey <sellcey@mips.com>
30556
30557 * benchtests/Makefile (bench): Add sqrt.
30558 (LDLIBS-bench-sqrt): New.
30559 * benchtests/sqrt-input: New.
30560
30561 2013-12-02 Pavel Simerda <psimerda@redhat.com>
30562
30563 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
30564 (GAIH_EAI): Likewise.
30565 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
30566 (gaih_inet): Likewise.
30567 (getaddrinfo): Don't use GAIH_EAI.
30568
30569 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
30570 (struct gaih): Remove definition.
30571
30572 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
30573
30574 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
30575 Use HERRNOP directly.
30576
30577 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30578
30579 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30580
30581 2013-11-30 Joseph Myers <joseph@codesourcery.com>
30582
30583 * math/gen-auto-libm-tests.c (test_functions): Add more
30584 single-argument functions.
30585 (special_fill_pi_2): New function.
30586 (special_fill_minus_pi_2): Likewise.
30587 (special_fill_pi_6): Likewise.
30588 (special_fill_minus_pi_6): Likewise.
30589 (special_fill_pi_3): Likewise.
30590 (special_fill_2pi_3): Likewise.
30591 (special_fill_e): Likewise.
30592 (special_fill_1_e): Likewise.
30593 (special_fill_e_minus_1): Likewise.
30594 (special_real_inputs): Add more special inputs.
30595 (output_for_one_input_case): Do not require ERANGE on underflow to
30596 zero if round-to-nearest result does not underflow to zero, unless
30597 exact results required.
30598 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
30599 atan, atanh, cbrt, cos and cosh.
30600 * math/auto-libm-test-out: Regenerated.
30601 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
30602 (acos_tonearest_test_data): Likewise.
30603 (acos_towardzero_test_data): Likewise.
30604 (acos_downward_test_data): Likewise.
30605 (acos_upward_test_data): Likewise.
30606 (acosh_test_data): Likewise.
30607 (asin_test_data): Likewise.
30608 (asin_tonearest_test_data): Likewise.
30609 (asin_towardzero_test_data): Likewise.
30610 (asin_upward_test_data): Likewise.
30611 (asinh_test_data): Likewise.
30612 (atan_test_data): Likewise.
30613 (atanh_test_data): Likewise.
30614 (cbrt_test_data): Likewise.
30615 (cos_test_data): Likewise.
30616 (cos_tonearest_test_data): Likewise.
30617 (cos_towardzero_test_data): Likewise.
30618 (cos_downward_test_data): Likewise.
30619 (cos_upward_test_data): Likewise.
30620 (cosh_test_data): Likewise.
30621 (cosh_tonearest_test_data): Likewise.
30622 (cosh_towardzero_test_data): Likewise.
30623 (cosh_downward_test_data): Likewise.
30624 (cosh_upward_test_data): Likewise.
30625 * sysdeps/i386/fpu/libm-test-ulps: Update.
30626 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30627
30628 2013-11-29 Joseph Myers <joseph@codesourcery.com>
30629
30630 [BZ #6787]
30631 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
30632 * math/w_exp10f.c (__exp10f): Likewise.
30633 * math/w_exp10l.c (__exp10l): Likewise.
30634 * math/libm-test.inc (exp10_test_data): Add more tests and expect
30635 errno settings in existing tests.
30636
30637 [BZ #14032]
30638 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
30639 precision control set to double precision.
30640 * sysdeps/i386/fpu/w_sqrt.c: New file.
30641 * math/auto-libm-test-in: Add more tests.
30642 * math/auto-libm-test-out: Update.
30643
30644 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
30645 (sqrt_test_tonearest): New function.
30646 (sqrt_towardzero_test_data): New variable.
30647 (sqrt_test_towardzero): New function.
30648 (sqrt_downward_test_data): New variable.
30649 (sqrt_test_downward): New function.
30650 (sqrt_upward_test_data): New variable.
30651 (sqrt_test_upward): New function.
30652 (main): Call the new functions.
30653
30654 * math/gen-auto-libm-tests.c: New file.
30655 * math/auto-libm-test-in: Likewise.
30656 * math/auto-libm-test-out: New generated file.
30657 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
30658 variables.
30659 (%beautify): Add generated representations of zero.
30660 (top level): Set $auto_input and call parse_auto_input.
30661 (beautify): Remove trailing "f" from hex float constants.
30662 (parse_args): Handle XFAIL_TEST.
30663 (convert_condition): New function.
30664 (or_value): Likewise.
30665 (or_cond_value): Likewise.
30666 (generate_testfile): Handle AUTO_TESTS_* lines.
30667 (parse_auto_input): New function.
30668 * math/libm-test.inc (XFAIL_TEST): New macro.
30669 (ERRNO_UNCHANGED): Update value.
30670 (ERRNO_EDOM): Likewise.
30671 (ERRNO_ERANGE): Likewise.
30672 (IGNORE_RESULT): Likewise.
30673 (TEST_COND_flt_32): New macro.
30674 (TEST_COND_dbl_64): Likewise.
30675 (TEST_COND_ldbl_96_intel): Likewise.
30676 (TEST_COND_ldbl_96_m68k): Likewise.
30677 (TEST_COND_ldbl_128): Likewise.
30678 (TEST_COND_ldbl_128ibm): Likewise.
30679 (TEST_COND_long32): Likewise.
30680 (TEST_COND_long64): Likewise.
30681 (TEST_COND_before_rounding): Likewise.
30682 (TEST_COND_after_rounding): Likewise.
30683 (enable_test): Handle XFAIL_TEST flag.
30684 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
30685 with finite results.
30686 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
30687 auto-libm-test-out.
30688
30689 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
30690 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30691
30692 [BZ #16214]
30693 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
30694 __tls_get_addr_internal instead of __tls_get_offset in order to
30695 avoid GOT pointer dependency. Make rtld export
30696 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
30697 __tls_get_addr since we are a __tls_get_offset platform.
30698 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
30699 GOT pointer being set up before.
30700 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
30701
30702 2013-11-28 Joseph Myers <joseph@codesourcery.com>
30703
30704 * manual/math.texi (Errors in Math Functions): Document accuracy
30705 goals.
30706
30707 [BZ #15004]
30708 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
30709 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
30710 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
30711 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
30712 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
30713 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
30714 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
30715 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
30716 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
30717 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
30718 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
30719 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
30720 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
30721 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
30722 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
30723 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
30724
30725 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
30726 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
30727 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
30728 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
30729 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
30730 Likewise.
30731 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
30732 Likewise.
30733 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
30734 Likewise.
30735 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
30736 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
30737 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
30738 atomic-feupdateenv and flt-rounds.
30739 * sysdeps/powerpc/nofpu/Versions (libc): Add
30740 __atomic_feholdexcept, __atomic_feclearexcept,
30741 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
30742 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
30743 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
30744 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
30745 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
30746 here.
30747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
30748 Update.
30749
30750 * manual/arith.texi (FP Exceptions): Document that exceptions may
30751 not be raised when matherr is used.
30752 (Math Error Reporting): Document overflow in directed rounding
30753 modes. Document that errno may not be set when finite values are
30754 returned on overflow. Document intent to set errno on underflow
30755 only for underflow to zero.
30756
30757 [BZ #16271]
30758 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
30759 round-to-nearest then adjust result for other rounding modes.
30760 * include/fenv.h (fegetround): Use libm_hidden_proto.
30761 * math/fegetround.c (fegetround): Use libm_hidden_def.
30762 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
30763 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
30764 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
30765 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
30766 Likewise.
30767 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
30768 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
30769 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
30770 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
30771
30772 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30773
30774 [BZ #16077]
30775 * nss/Versions (libnss_files): Add
30776 _nss_files_gethostbyname3_r.
30777 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
30778 New function.
30779 (HOST_DB_LOOKUP): Remove macro.
30780 (_nss_files_gethostbyname_r): Implement function without the
30781 HOST_DB_LOOKUP macro.
30782 (_nss_files_gethostbyname2_r): Likewise.
30783
30784 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
30785
30786 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
30787
30788 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
30789
30790 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
30791 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
30792 warning.
30793
30794 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30795
30796 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
30797 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
30798 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
30799 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
30800 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
30801 __fe_nomask_env_priv and attribute_hidden.
30802 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
30803 (libc_feupdateenv_test_ppc): Likewise.
30804 (libc_feresetround_ppc): Likewise.
30805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
30806 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
30807 compat_symbol macro.
30808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
30809 (__fe_nomask_env): Likewise.
30810 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
30811
30812 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
30813
30814 * string/Makefile: Remove ifunc tests.
30815 * string/test-string.h: Define TEST_IFUNC.
30816 * string/test-bcopy-ifunc.c: Remove.
30817 * string/test-bzero-ifunc.c: Likewise.
30818 * string/test-memccpy-ifunc.c: Likewise.
30819 * string/test-memchr-ifunc.c: Likewise.
30820 * string/test-memcmp-ifunc.c: Likewise.
30821 * string/test-memcpy-ifunc.c: Likewise.
30822 * string/test-memmem-ifunc.c: Likewise.
30823 * string/test-memmove-ifunc.c: Likewise.
30824 * string/test-mempcpy-ifunc.c: Likewise.
30825 * string/test-memrchr-ifunc.c: Likewise.
30826 * string/test-memset-ifunc.c: Likewise.
30827 * string/test-rawmemchr-ifunc.c: Likewise.
30828 * string/test-stpcpy-ifunc.c: Likewise.
30829 * string/test-stpncpy-ifunc.c: Likewise.
30830 * string/test-strcasecmp-ifunc.c: Likewise.
30831 * string/test-strcasestr-ifunc.c: Likewise.
30832 * string/test-strcat-ifunc.c: Likewise.
30833 * string/test-strchr-ifunc.c: Likewise.
30834 * string/test-strchrnul-ifunc.c: Likewise.
30835 * string/test-strcmp-ifunc.c: Likewise.
30836 * string/test-strcpy-ifunc.c: Likewise.
30837 * string/test-strcspn-ifunc.c: Likewise.
30838 * string/test-strlen-ifunc.c: Likewise.
30839 * string/test-strncasecmp-ifunc.c: Likewise.
30840 * string/test-strncat-ifunc.c: Likewise.
30841 * string/test-strncmp-ifunc.c: Likewise.
30842 * string/test-strncpy-ifunc.c: Likewise.
30843 * string/test-strnlen-ifunc.c: Likewise.
30844 * string/test-strpbrk-ifunc.c: Likewise.
30845 * string/test-strrchr-ifunc.c: Likewise.
30846 * string/test-strspn-ifunc.c: Likewise.
30847 * string/test-strstr-ifunc.c: Likewise.
30848
30849 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
30850
30851 * benchtests/Makefile: Remove ifunc tests.
30852 * benchtests/bench-string.h: Define TEST_IFUNC.
30853 * benchtests/bench-bcopy-ifunc.c: Remove.
30854 * benchtests/bench-bzero-ifunc.c: Likewise.
30855 * benchtests/bench-memccpy-ifunc.c: Likewise.
30856 * benchtests/bench-memchr-ifunc.c: Likewise.
30857 * benchtests/bench-memcmp-ifunc.c: Likewise.
30858 * benchtests/bench-memcpy-ifunc.c: Likewise.
30859 * benchtests/bench-memmem-ifunc.c: Likewise.
30860 * benchtests/bench-memmove-ifunc.c: Likewise.
30861 * benchtests/bench-mempcpy-ifunc.c: Likewise.
30862 * benchtests/bench-memrchr-ifunc.c: Likewise.
30863 * benchtests/bench-memset-ifunc.c: Likewise.
30864 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
30865 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
30866 * benchtests/bench-stpcpy-ifunc.c: Likewise.
30867 * benchtests/bench-stpncpy-ifunc.c: Likewise.
30868 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
30869 * benchtests/bench-strcasestr-ifunc.c: Likewise.
30870 * benchtests/bench-strcat-ifunc.c: Likewise.
30871 * benchtests/bench-strchr-ifunc.c: Likewise.
30872 * benchtests/bench-strchrnul-ifunc.c: Likewise.
30873 * benchtests/bench-strcmp-ifunc.c: Likewise.
30874 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
30875 * benchtests/bench-strcpy-ifunc.c: Likewise.
30876 * benchtests/bench-strcspn-ifunc.c: Likewise.
30877 * benchtests/bench-strlen-ifunc.c: Likewise.
30878 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
30879 * benchtests/bench-strncat-ifunc.c: Likewise.
30880 * benchtests/bench-strncmp-ifunc.c: Likewise.
30881 * benchtests/bench-strncpy-ifunc.c: Likewise.
30882 * benchtests/bench-strnlen-ifunc.c: Likewise.
30883 * benchtests/bench-strpbrk-ifunc.c: Likewise.
30884 * benchtests/bench-strrchr-ifunc.c: Likewise.
30885 * benchtests/bench-strsep-ifunc.c: Likewise.
30886 * benchtests/bench-strspn-ifunc.c: Likewise.
30887 * benchtests/bench-strstr-ifunc.c: Likewise.
30888
30889 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
30890
30891 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
30892
30893 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
30894
30895 * resolv/netdb.h: Use __glibc_reserved instead __unused.
30896 * rt/aio.h: Likewise.
30897 * sysdeps/gnu/bits/utmp.h: Likewise.
30898 * sysdeps/gnu/bits/utmpx.h: Likewise.
30899 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
30900 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
30901 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
30902 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
30903 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
30904 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
30905 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
30906 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
30907 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
30908 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
30909 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
30910 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
30911 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
30912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
30913 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
30914 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
30915 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
30916 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
30917 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
30918 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
30919 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
30920 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
30921 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
30922 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
30923 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
30924 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30925 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
30926 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
30927 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
30928 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
30929 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
30930 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
30931 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
30932 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
30933 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
30934 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
30935 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
30936 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
30937 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
30938 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
30939 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
30940 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
30941
30942 2013-11-25 Carlos O'Donell <carlos@redhat.com>
30943
30944 [BZ #16245]
30945 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
30946 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
30947
30948 2013-11-25 Joseph Myers <joseph@codesourcery.com>
30949
30950 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
30951 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
30952 Likewise.
30953
30954 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30955
30956 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
30957 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
30958 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
30959 (__fesetround): Remove define.
30960 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
30961 rounding and exceptions handling.
30962 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
30963 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
30964 (__fe_nomask_env): Likewise.
30965 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
30966 __fegetround instead of fegetround.
30967 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
30968 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
30969
30970 2013-11-21 Roland McGrath <roland@hack.frob.com>
30971
30972 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
30973 it's there.
30974
30975 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
30976
30977 2013-11-21 Meador Inge <meadori@codesourcery.com>
30978
30979 [BZ #11157]
30980 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
30981 (encrypt_r): Likewise.
30982 * malloc/obstack.h (obstack_free): Likewise.
30983 * posix/unistd.h (encrypt): Likewise.
30984
30985 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
30986
30987 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
30988 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
30989 DL_CALL_DT_FINI() that call the functions directly.
30990 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
30991 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
30992 * elf/dl-fini.c: Likewise.
30993
30994 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
30995
30996 * malloc/hooks.c (memalign_check): Add alignment rounding.
30997 * malloc/malloc.c (_mid_memalign): New function.
30998 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
30999 Implement by calling _mid_memalign.
31000 * manual/probes.texi (Memory Allocation Probes): Remove
31001 memory_valloc_retry and memory_pvalloc_retry.
31002
31003 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
31004
31005 * locale/programs/locarchive.c (open_archive): Add const
31006 qualifier to ARCHIVEFNAME and copy default fname to
31007 DEFAULT_FNAME.
31008
31009 [BZ #15601]
31010 * libio/tst-widetext.input: Rename Oriya to Odia.
31011 * locale/iso-639.def: Likewise.
31012
31013 * manual/probes.texi (Mathematical Function Probes): Add
31014 documentation for sin, cos, asin and acos probes.
31015 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
31016 (__sin32): Add slowasin probe.
31017 (__cos32): Add slowacos probe.
31018 (__mpsin): Add slowsin probe.
31019 (__mpcos): Add slowcos probe.
31020
31021 2013-11-19 Joseph Myers <joseph@codesourcery.com>
31022
31023 [BZ #15483]
31024 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
31025 thread-local __sim_exceptions_thread and global
31026 __sim_exceptions_global.
31027 (__sim_disabled_exceptions): Change to thread-local
31028 __sim_disabled_exceptions_thread and global
31029 __sim_disabled_exceptions_global.
31030 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
31031 and global __sim_round_mode_global.
31032 (__simulate_exceptions): Use thread-local floating-point state and
31033 set global state from it as needed.
31034 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
31035 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
31036 __sim_round_mode_thread.
31037 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
31038 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
31039 and global __sim_exceptions_global.
31040 (__sim_disabled_exceptions): Change to thread-local
31041 __sim_disabled_exceptions_thread and global
31042 __sim_disabled_exceptions_global.
31043 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
31044 and global __sim_round_mode_global.
31045 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
31046 (SIM_SET_GLOBAL): Likewise.
31047 * sysdeps/powerpc/soft-fp/sfp-machine.h
31048 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
31049 __sim_round_mode_thread.
31050 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
31051 __sim_disabled_exceptions_thread.
31052 (__sim_exceptions): Change to __sim_exceptions_thread.
31053 (__sim_disabled_exceptions): Change to
31054 __sim_disabled_exceptions_thread.
31055 (__sim_round_mode): Change to __sim_round_mode_thread.
31056 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
31057 thread-local floating-point state and set global state from it as
31058 needed.
31059 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
31060 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
31061 (__sim_disabled_exceptions): Remove extern declaration.
31062 (feenableexcept): Use thread-local floating-point state and set
31063 global state from it as needed.
31064 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
31065 extern declaration.
31066 (__sim_disabled_exceptions): Likewise.
31067 (__sim_round_mode): Likewise.
31068 (__fegetenv): Use thread-local floating-point state.
31069 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
31070 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
31071 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
31072 floating-point state and set global state from it as needed.
31073 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
31074 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
31075 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
31076 Likewise.
31077 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
31078 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
31079 Likewise.
31080 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
31081 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
31082 Use __sim_round_mode_thread.
31083 * math/test-fenv-tls.c: New file.
31084 * math/Makefile (tests): Add test-fenv-tls.
31085 ($(objpfx)test-fenv-tls): Depend on
31086 $(common-objpfx)nptl/libpthread.so.
31087
31088 2013-11-19 Andreas Schwab <schwab@suse.de>
31089
31090 * locale/programs/locale.c (show_info): Decode wordarray elements.
31091 * locale/categories.def (LC_MONETARY): Add element for
31092 _NL_MONETARY_CRNCYSTR.
31093 * locale/C-monetary.c (conversion_rate): New variable.
31094 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
31095 element.
31096
31097 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
31098
31099 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
31100 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
31101
31102 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
31103
31104 * elf/Makefile (tst-auxv): New test.
31105 * elf/tst-auxv.c: New
31106 * elf/rtld.c (dl_main): Adjust AT_EXECFN
31107
31108 2013-11-18 Joseph Myers <joseph@codesourcery.com>
31109
31110 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
31111 (hidden_proto): Caller changed.
31112 (hidden_tls_proto): New macro.
31113 (libc_hidden_tls_proto): Likewise.
31114 (rtld_hidden_tls_proto): Likewise.
31115 (libm_hidden_tls_proto): Likewise.
31116 (libresolv_hidden_tls_proto): Likewise.
31117 (librt_hidden_tls_proto): Likewise.
31118 (libdl_hidden_tls_proto): Likewise.
31119 (libnss_files_hidden_tls_proto): Likewise.
31120 (libnsl_hidden_tls_proto): Likewise.
31121 (libnss_nisplus_hidden_tls_proto): Likewise.
31122 (libutil_hidden_tls_proto): Likewise.
31123
31124 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
31125
31126 [BZ #10253]
31127 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
31128 (decompose_rpath): Defer expansion to fillin_rpath.
31129 (_dl_init_paths): Pass linkmap to fillin_rpath.
31130
31131 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
31132
31133 * benchtests/Makefile: Add strsep.
31134 * benchtests/bench-strsep.c: New file: strsep benchtest.
31135 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
31136
31137 2013-11-18 Andreas Schwab <schwab@suse.de>
31138
31139 * locale/programs/locale.c (show_info) [case byte]: Check for
31140 '\377' instead of '\177'.
31141 * locale/C-monetary.c (not_available): Always use "\377".
31142 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
31143 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
31144 detect unavailable sign_posn locale elements.
31145 * locale/localeconv.c (__localeconv): For grouping and
31146 mon_grouping handle "\177" and "\377" like no grouping.
31147 (INT_ELEM): New macro. Use it to set all numeric members.
31148 * locale/programs/ld-monetary.c (monetary_read)
31149 <tok_mon_grouping>: Normalize single -1 to the empty string.
31150 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
31151 Likewise.
31152
31153 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
31154
31155 [BZ #16055]
31156 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
31157 when we match (nil).
31158 * stdio-common/tst-sscanf.c (struct test): Add testcase.
31159
31160 2013-11-16 Joseph Myers <joseph@codesourcery.com>
31161
31162 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
31163 (NO_TEST_INLINE): Update value.
31164 (ERRNO_UNCHANGED): Likewise.
31165 (ERRNO_EDOM): Likewise.
31166 (ERRNO_ERANGE): Likewise.
31167 (IGNORE_RESULT): Likewise.
31168 (check_float_internal): Check signs of NaN results if
31169 TEST_NAN_SIGN used.
31170 (check_complex): Pass TEST_NAN_SIGN flag through to second
31171 check_float_internal call.
31172 (copysign_test_data): Add tests with quiet NaNs as second
31173 argument. Use TEST_NAN_SIGN.
31174 (fabs_test_data): Add test of negative quiet NaN argument. Use
31175 TEST_NAN_SIGN.
31176 (signbit_test_data): Add tests of quiet NaN argument.
31177 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
31178
31179 * math/gen-libm-test.pl (show_exceptions): Take extra argument
31180 $ignore_result.
31181 (parse_args): Handle function results specified as IGNORE.
31182 * math/libm-test.inc (IGNORE_RESULT): New macro.
31183 (check_float_internal): Do not check numerical result if flag
31184 IGNORE_RESULT set.
31185 (check_complex): Pass through IGNORE_RESULT to second
31186 check_float_internal call.
31187 (check_int): Do not check numerical result if flag IGNORE_RESULT
31188 set.
31189 (check_long): Likewise.
31190 (check_bool): Likewise.
31191 (check_longlong): Likewise.
31192 (lrint_test_data): Add tests of infinite and NaN arguments.
31193 (lrint_tonearest_test_data): Likewise.
31194 (lrint_towardzero_test_data): Likewise.
31195 (lrint_downward_test_data): Likewise.
31196 (lrint_upward_test_data): Likewise.
31197 (llrint_test_data): Likewise.
31198 (llrint_tonearest_test_data): Likewise.
31199 (llrint_towardzero_test_data): Likewise.
31200 (llrint_downward_test_data): Likewise.
31201 (llrint_upward_test_data): Likewise.
31202 (lround_test_data): Likewise.
31203 (llround_test_data): Likewise.
31204
31205 * math/libm-test.inc (NO_TEST_INLINE): New macro.
31206 (ERRNO_UNCHANGED): Update value.
31207 (ERRNO_EDOM): Likewise.
31208 (ERRNO_ERANGE): Likewise.
31209 (NO_TEST_INLINE_FLOAT): New macro.
31210 (NO_TEST_INLINE_DOUBLE): Likewise.
31211 (enable_test): New function.
31212 (RUN_TEST_f_f): Check enable_test before running test.
31213 (RUN_TEST_2_f): Likewise.
31214 (RUN_TEST_fff_f): Likewise.
31215 (RUN_TEST_c_f): Likewise.
31216 (RUN_TEST_f_f1): Likewise.
31217 (RUN_TEST_fF_f1): Likewise.
31218 (RUN_TEST_fI_f1): Likewise.
31219 (RUN_TEST_ffI_f1): Likewise.
31220 (RUN_TEST_c_c): Likewise.
31221 (RUN_TEST_cc_c): Likewise.
31222 (RUN_TEST_f_i): Likewise.
31223 (RUN_TEST_f_i_tg): Likewise.
31224 (RUN_TEST_ff_i_tg): Likewise.
31225 (RUN_TEST_f_b): Likewise.
31226 (RUN_TEST_f_b_tg): Likewise.
31227 (RUN_TEST_f_l): Likewise.
31228 (RUN_TEST_f_L): Likewise.
31229 (RUN_TEST_fFF_11): Likewise.
31230 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
31231 conditionals.
31232 (cosh_test_data): Likewise.
31233 (exp_test_data): Likewise.
31234 (expm1_test_data): Likewise.
31235 (hypot_test_data): Likewise.
31236 (pow_test_data): Likewise.
31237 (sinh_test_data): Likewise.
31238 (tanh_test_data): Likewise.
31239 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
31240 flags argument.
31241
31242 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
31243 tests with quiet NaN input and output.
31244 (acosh_test_data): Likewise.
31245 (asin_test_data): Likewise.
31246 (asinh_test_data): Likewise.
31247 (atan_test_data): Likewise.
31248 (atanh_test_data): Likewise.
31249 (atan2_test_data): Likewise.
31250 (cbrt_test_data): Likewise.
31251 (cos_test_data): Likewise.
31252 (cosh_test_data): Likewise.
31253 (erf_test_data): Likewise.
31254 (erfc_test_data): Likewise.
31255 (exp_test_data): Likewise.
31256 (exp10_test_data): Likewise.
31257 (exp2_test_data): Likewise.
31258 (expm1_test_data): Likewise.
31259 (hypot_test_data): Likewise.
31260 (j0_test_data): Likewise.
31261 (j1_test_data): Likewise.
31262 (jn_test_data): Likewise.
31263 (lgamma_test_data): Likewise.
31264 (log_test_data): Likewise.
31265 (log10_test_data): Likewise.
31266 (log1p_test_data): Likewise.
31267 (log2_test_data): Likewise.
31268 (pow_test_data): Likewise.
31269 (scalb_test_data): Likewise.
31270 (sin_test_data): Likewise.
31271 (sincos_test_data): Likewise.
31272 (sinh_test_data): Likewise.
31273 (tan_test_data): Likewise.
31274 (tanh_test_data): Likewise.
31275 (tgamma_test_data): Likewise.
31276 (y0_test_data): Likewise.
31277 (y1_test_data): Likewise.
31278 (yn_test_data): Likewise.
31279
31280 [BZ #16167]
31281 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
31282 argument being NaN and avoid computations with second argument in
31283 that case.
31284 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
31285 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
31286 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
31287
31288 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
31289
31290 * locale/iso-639.def: Add Chitwani Tharu (the).
31291
31292 2013-11-14 Andreas Schwab <schwab@suse.de>
31293
31294 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
31295 word instead of empty string.
31296
31297 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31298
31299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
31300 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
31301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
31302 (__fe_nomask_env): Likewise.
31303
31304 2013-11-13 Steve Ellcey <sellcey@mips.com>
31305
31306 * benchtests/bench-timing.h: Include time.h.
31307
31308 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
31309
31310 [BZ #15997]
31311 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
31312 to 3.4.0 for x32.
31313 * sysdeps/unix/sysv/linux/configure: Regenerated.
31314
31315 2013-11-13 Joseph Myers <joseph@codesourcery.com>
31316
31317 [BZ #16151]
31318 * stdlib/strtod_l.c (round_and_return): Do not consider
31319 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
31320 exponent one less than half the least subnormal exponent.
31321 * stdlib/test-strtod-round-data: Add more tests.
31322 * stdlib/tst-strtod-round.c (tests): Regenerated.
31323
31324 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31325
31326 [BZ #14143]
31327 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
31328 (__fe_mask_env): Likewise.
31329 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
31330 libm_hidden_proto and add function prototype.
31331 (__fe_mask_env): Add function prototype.
31332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
31333 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
31334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
31335 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
31336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
31337 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
31338
31339 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31340
31341 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
31342 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
31343
31344 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31345
31346 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
31347 of htab_find_slot().
31348
31349 2013-11-11 David S. Miller <davem@davemloft.net>
31350
31351 [BZ #16150]
31352 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
31353 symbol in the non-vis3 case in static builds.
31354 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
31355 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
31356 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
31357 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
31358
31359 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
31360
31361 [BZ #387]
31362 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
31363 it is empty.
31364
31365 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31366
31367 * benchtests/Makefile: Add bench-strtod.
31368 * benchtests/bench-strtod.c: New file: strtod benchtest
31369
31370 2013-11-11 Andreas Schwab <schwab@suse.de>
31371
31372 [BZ #16153]
31373 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
31374 terminating NUL in key length.
31375
31376 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31377
31378 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
31379 Add artificial ODP entry for vDSO symbol for PPC64.
31380 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
31381 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
31382
31383 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
31384
31385 [BZ #15374]
31386 * nss/getent.c (services_keys): Recognize services starting with digit.
31387
31388 2013-11-06 David S. Miller <davem@davemloft.net>
31389
31390 [BZ #15985]
31391 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
31392 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
31393
31394 2013-11-06 Will Newton <will.newton@linaro.org>
31395
31396 * manual/memory.texi (Malloc Examples): Remove register
31397 keyword from examples.
31398
31399 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
31400
31401 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
31402
31403 2013-11-04 Joseph Myers <joseph@codesourcery.com>
31404
31405 [BZ #6981]
31406 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
31407 depending on [__GCC_IEC_559 > 0].
31408 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
31409 depending on [__GCC_IEC_559_COMPLEX > 0].
31410
31411 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
31412
31413 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
31414 to iso-639.def.
31415
31416 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
31417
31418 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
31419
31420 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
31421
31422 [BZ #16112]
31423 * malloc/malloc (malloc_info): Do not handle first bin as
31424 special case.
31425
31426 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
31427
31428 * locale/iso-639.def: Add Central Nahuatl (nhn).
31429
31430 2013-11-01 Bruno Haible <bruno@clisp.org>
31431
31432 [BZ #7003]
31433 * manual/math.texi (BSD Random): Specify range upper bound as
31434 in POSIX.
31435
31436 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
31437
31438 * locale/iso-639.def: Add Meadow Mari (mhr).
31439
31440 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
31441
31442 [BZ #14752], [BZ #15763]
31443 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
31444 Validate name.
31445 * rt/tst_shm.c: Add test for escaping directory.
31446
31447 2013-10-31 Andreas Schwab <schwab@suse.de>
31448
31449 [BZ #15917]
31450 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
31451 followed by 'x' as part of digit sequence.
31452 * stdio-common/tst-sscanf.c (double_tests2): New tests.
31453
31454 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
31455
31456 [BZ #16037]
31457 * configure.ac: allow GNU Make 4.0 and greater.
31458 * configure: Regenerated.
31459
31460 2013-10-30 Will Newton <will.newton@linaro.org>
31461
31462 [BZ #16038]
31463 * malloc/hooks.c (memalign_check): Limit alignment to the
31464 maximum representable power of two.
31465 * malloc/malloc.c (__libc_memalign): Likewise.
31466 * malloc/tst-memalign.c (do_test): Add test for very
31467 large alignment values.
31468 * malloc/tst-posix_memalign.c (do_test): Likewise.
31469
31470 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
31471
31472 [BZ #11087]
31473 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
31474 (munmap_chunk): Likewise.
31475 (mremap_chunk): Likewise.
31476
31477 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
31478
31479 [BZ #15799]
31480 * stdlib/div.c (div): Remove obsolete code.
31481 * stdlib/ldiv.c (ldiv): Likewise.
31482 * stdlib/lldiv.c (lldiv): Likewise.
31483
31484 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
31485
31486 [BZ #16071]
31487 * nss/nss_files/files-XXX.c (get_contents_ret): New
31488 enumerator.
31489 (get_contents): New function.
31490 (internal_getent): Use it. Expand size of LINEBUFLEN.
31491
31492 2013-10-30 Mike Frysinger <vapier@gentoo.org>
31493
31494 * configure.in: Moved to ...
31495 * configure.ac: ... here. Change reference to configure.in
31496 to configure.ac.
31497 * sysdeps/arm/preconfigure.ac: ... here.
31498 configure.in to configure.ac.
31499 * sysdeps/gnu/configure.in: Moved to ...
31500 * sysdeps/gnu/configure.ac: ... here.
31501 * sysdeps/i386/configure.in: Moved to ...
31502 * sysdeps/i386/configure.ac: ... here.
31503 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
31504 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
31505 * sysdeps/mach/configure.in: Moved to ...
31506 * sysdeps/mach/configure.ac: ... here.
31507 * sysdeps/mach/hurd/configure.in: Moved to ...
31508 * sysdeps/mach/hurd/configure.ac: ... here.
31509 * sysdeps/powerpc/configure.in: Moved to ...
31510 * sysdeps/powerpc/configure.ac: ... here.
31511 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
31512 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
31513 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
31514 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
31515 * sysdeps/s390/s390-32/configure.in: Moved to ...
31516 * sysdeps/s390/s390-32/configure.ac: ... here.
31517 * sysdeps/s390/s390-64/configure.in: Moved to ...
31518 * sysdeps/s390/s390-64/configure.ac: ... here.
31519 * sysdeps/sh/configure.in: Moved to ...
31520 * sysdeps/sh/configure.ac: ... here.
31521 * sysdeps/sparc/configure.in: Moved to ...
31522 * sysdeps/sparc/configure.ac: ... here.
31523 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
31524 * sysdeps/unix/sysv/linux/configure.ac: ... here.
31525 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
31526 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
31527 * sysdeps/x86_64/configure.in: Moved to ...
31528 * sysdeps/x86_64/configure.ac: ... here.
31529 * sysdeps/x86_64/preconfigure.in: Moved to ...
31530 * sysdeps/x86_64/preconfigure.ac: ... here.
31531 * aclocal.m4: Change reference to configure.in to configure.ac.
31532 * config.h.in: Likewise.
31533 * manual/install.texi: Likewise.
31534 * manual/maint.texi: Likewise.
31535 * Makefile: Likewise.
31536 * malloc/Makefile: Likewise.
31537 * nscd/Makefile: Likewise.
31538 * Makeconfig: Change reference to configure.in and
31539 preconfigure.in to configure.ac and preconfigure.ac
31540 respectively.
31541 * INSTALL: Regenerated.
31542 * configure: Likewise.
31543 * sysdeps/gnu/configure: Likewise.
31544 * sysdeps/i386/configure: Likewise.
31545 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
31546 * sysdeps/mach/configure: Likewise.
31547 * sysdeps/mach/hurd/configure: Likewise.
31548 * sysdeps/powerpc/configure: Likewise.
31549 * sysdeps/powerpc/powerpc32/configure: Likewise.
31550 * sysdeps/powerpc/powerpc64/configure: Likewise.
31551 * sysdeps/s390/s390-32/configure: Likewise.
31552 * sysdeps/s390/s390-64/configure: Likewise.
31553 * sysdeps/sh/configure: Likewise.
31554 * sysdeps/sparc/configure: Likewise.
31555 * sysdeps/unix/sysv/linux/configure: Likewise.
31556 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
31557 * sysdeps/x86_64/configure: Likewise.
31558 * sysdeps/x86_64/preconfigure: Likewise.
31559
31560 2013-10-29 Andreas Schwab <schwab@suse.de>
31561
31562 * stdio-common/Makefile (tst-swscanf-ENV): Define.
31563
31564 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31565
31566 * benchtests/pow-inputs: Add new inputs.
31567
31568 * benchtests/exp-inputs: Add new inputs.
31569
31570 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
31571 conditional check for return value.
31572 (__cos32): Likewise.
31573
31574 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31575
31576 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
31577 to provide a boost for large inputs with word alignment.
31578 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
31579 implementation based on optimized PPC64 strcpy.
31580 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
31581 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
31582 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
31583 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
31584
31585 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
31586
31587 [BZ #2801]
31588 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
31589
31590 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
31591
31592 [BZ #14876]
31593 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
31594 * time/tst-strptime.c (day_tests): Add testcase.
31595
31596 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
31597
31598 [BZ #14029]
31599 * manual/pattern.texi: Acknowledge that fnmatch can fail.
31600
31601 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
31602
31603 [BZ #16074]
31604 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
31605 MAP_FAILED on error.
31606
31607 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31608
31609 [BZ #16072]
31610 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
31611 heap for large requests.
31612
31613 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
31614
31615 [BZ #9954]
31616 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
31617 result if the result has no associated interface.
31618 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
31619 interface for all 127.X.Y.Z addresses.
31620
31621 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
31622
31623 * locale/iso-639.def: Add Ligurian (lij)
31624
31625 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
31626
31627 [BZ #15825]
31628 * sunrpc/rpc_main.c: Document rpcgen -5.
31629
31630 2013-10-19 Michael Stahl <mstahl@redhat.com>
31631
31632 * elf/rtld.c (do_preload): Print the reason why preloading failed.
31633
31634 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
31635
31636 [BZ #10278]
31637 * posix/glob.c: Match only directories when trailing slash is present.
31638 * posix/tst-gnuglob.c (my_opendir): Do not open files.
31639 (main): Add testcase.
31640
31641 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
31642
31643 [BZ #15670]
31644 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
31645
31646 2013-10-18 Carlos O'Donell <carlos@redhat.com>
31647
31648 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
31649 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
31650 AUTH_DES and cindex for FIPS 140-2.
31651 (DES Encryption): Add cindex FIPS 46-3.
31652
31653 * locale/locarchive.h (struct locarhandle): Add fname.
31654 * locale/programs/localedef.c (main): Pass ARGV[remaining]
31655 if an optional argument was specified to --list-archive,
31656 otherwise NULL.
31657 * locale/programs/locarchive.c (show_archive_content): Take new
31658 argument fname and pass it via ah.fname to open_archive.
31659 * locale/programs/localedef.h: Update decl.
31660 (open_archive): If AH->fname is non-null, open that file
31661 rather than the default file name, and don't ignore ENOENT.
31662 (create_archive): Set AH.fname to NULL.
31663 (delete_locales_from_archive): Likewise.
31664 (add_locales_to_archive): Likewise.
31665 * locale/programs/locfile.c (write_all_categories): Likewise.
31666
31667 2013-10-18 Joseph Myers <joseph@codesourcery.com>
31668 Aldy Hernandez <aldyh@redhat.com>
31669
31670 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
31671 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
31672 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
31673 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
31674 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
31675 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
31676 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
31677 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
31678 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
31679 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
31680 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
31681 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
31682 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
31683 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
31684 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
31685 Likewise.
31686 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
31687 Likewise.
31688 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
31689 Likewise.
31690 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
31691 Likewise.
31692 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
31693 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
31694 Likewise.
31695 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
31696 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
31697 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
31698 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
31699 Likewise.
31700 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
31701 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
31702 * sysdeps/powerpc/preconfigure: Likewise.
31703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
31704 Likewise.
31705 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
31706 Replace contents of file by #include of <fenv_libc.h>.
31707 * sysdeps/powerpc/soft-fp/sfp-machine.h
31708 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
31709 and <sys/prctl.h>.
31710 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
31711 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
31712 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
31713 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
31714 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
31715 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
31716 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
31717 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
31718 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
31719 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
31720 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
31721 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
31722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
31723 Allow copysignl PLT reference to be missing.
31724
31725 2013-10-18 Richard Sandiford <richard@codesourcery.com>
31726 Joseph Myers <joseph@codesourcery.com
31727
31728 [BZ #15948]
31729 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
31730 single character.
31731 (add_to_tablewc): Assert sequence of wide characters is nonempty.
31732
31733 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
31734
31735 * elf/tst-tls-dlinfo.c: Don't include tls.h.
31736 * elf/tst-tls1.c: Likewise.
31737 * elf/tst-tls10.h: Likewise.
31738 * elf/tst-tls14.c: Likewise.
31739 * elf/tst-tls2.c: Likewise.
31740 * elf/tst-tls3.c: Likewise.
31741 * elf/tst-tls4.c: Likewise.
31742 * elf/tst-tls5.c: Likewise.
31743 * elf/tst-tls6.c: Likewise.
31744 * elf/tst-tls7.c: Likewise.
31745 * elf/tst-tls8.c: Likewise.
31746 * elf/tst-tls9.c: Likewise.
31747 * elf/tst-tlsmod1.c: Likewise.
31748 * elf/tst-tlsmod13.c: Likewise.
31749 * elf/tst-tlsmod13a.c: Likewise.
31750 * elf/tst-tlsmod14a.c: Likewise.
31751 * elf/tst-tlsmod16a.c: Likewise.
31752 * elf/tst-tlsmod16b.c: Likewise.
31753 * elf/tst-tlsmod2.c: Likewise.
31754 * elf/tst-tlsmod3.c: Likewise.
31755 * elf/tst-tlsmod4.c: Likewise.
31756 * elf/tst-tlsmod5.c: Likewise.
31757 * elf/tst-tlsmod6.c: Likewise.
31758
31759 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
31760
31761 [BZ #12486]
31762 * malloc/malloc.c: remove checks for statistics.
31763
31764 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
31765
31766 [BZ #15277]
31767 * inet/inet_net.c (inet_network): Detect additional invalid strings.
31768 * inet/tst-network.c: Add testcase.
31769
31770 2013-10-17 Andreas Schwab <schwab@suse.de>
31771
31772 [BZ #15218]
31773 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
31774 to determine canonical name.
31775
31776 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
31777
31778 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
31779 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
31780 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31781 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
31782 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31783 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
31784 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
31785 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
31786 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
31787 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
31788 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
31789 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
31790 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
31791 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
31792 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
31793 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
31794 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31795 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
31796 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
31797 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
31798 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
31799 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31800 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
31801 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
31802 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
31803 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
31804 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
31805 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
31806 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
31807 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
31808 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
31809 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31810 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
31811 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
31812 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
31813 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
31814 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
31815 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
31816 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
31817 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31818 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
31819 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
31820 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
31821 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
31822 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
31823 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
31824 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
31825 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
31826 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
31827 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
31828 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
31829 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
31830 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
31831 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
31832 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
31833 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
31834 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31835 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
31836
31837 2013-10-17 Joseph Myers <joseph@codesourcery.com>
31838
31839 [BZ #16041]
31840 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
31841 make result into a quiet NaN.
31842
31843 2013-10-16 Joseph Myers <joseph@codesourcery.com>
31844
31845 * soft-fp/adddf3.c: Fix horizontal whitespace.
31846 * soft-fp/addsf3.c: Likewise.
31847 * soft-fp/addtf3.c: Likewise.
31848 * soft-fp/divdf3.c: Likewise.
31849 * soft-fp/divsf3.c: Likewise.
31850 * soft-fp/divtf3.c: Likewise.
31851 * soft-fp/double.h: Likewise.
31852 * soft-fp/eqdf2.c: Likewise.
31853 * soft-fp/eqsf2.c: Likewise.
31854 * soft-fp/eqtf2.c: Likewise.
31855 * soft-fp/extenddftf2.c: Likewise.
31856 * soft-fp/extended.h: Likewise.
31857 * soft-fp/extendsfdf2.c: Likewise.
31858 * soft-fp/extendsftf2.c: Likewise.
31859 * soft-fp/extendxftf2.c: Likewise.
31860 * soft-fp/fixdfdi.c: Likewise.
31861 * soft-fp/fixdfsi.c: Likewise.
31862 * soft-fp/fixdfti.c: Likewise.
31863 * soft-fp/fixsfdi.c: Likewise.
31864 * soft-fp/fixsfsi.c: Likewise.
31865 * soft-fp/fixsfti.c: Likewise.
31866 * soft-fp/fixtfdi.c: Likewise.
31867 * soft-fp/fixtfsi.c: Likewise.
31868 * soft-fp/fixtfti.c: Likewise.
31869 * soft-fp/fixunsdfdi.c: Likewise.
31870 * soft-fp/fixunsdfsi.c: Likewise.
31871 * soft-fp/fixunsdfti.c: Likewise.
31872 * soft-fp/fixunssfdi.c: Likewise.
31873 * soft-fp/fixunssfsi.c: Likewise.
31874 * soft-fp/fixunssfti.c: Likewise.
31875 * soft-fp/fixunstfdi.c: Likewise.
31876 * soft-fp/fixunstfsi.c: Likewise.
31877 * soft-fp/fixunstfti.c: Likewise.
31878 * soft-fp/floatdidf.c: Likewise.
31879 * soft-fp/floatdisf.c: Likewise.
31880 * soft-fp/floatditf.c: Likewise.
31881 * soft-fp/floatsidf.c: Likewise.
31882 * soft-fp/floatsisf.c: Likewise.
31883 * soft-fp/floatsitf.c: Likewise.
31884 * soft-fp/floattidf.c: Likewise.
31885 * soft-fp/floattisf.c: Likewise.
31886 * soft-fp/floattitf.c: Likewise.
31887 * soft-fp/floatundidf.c: Likewise.
31888 * soft-fp/floatundisf.c: Likewise.
31889 * soft-fp/floatunditf.c: Likewise.
31890 * soft-fp/floatunsidf.c: Likewise.
31891 * soft-fp/floatunsisf.c: Likewise.
31892 * soft-fp/floatunsitf.c: Likewise.
31893 * soft-fp/floatuntidf.c: Likewise.
31894 * soft-fp/floatuntisf.c: Likewise.
31895 * soft-fp/floatuntitf.c: Likewise.
31896 * soft-fp/fmadf4.c: Likewise.
31897 * soft-fp/fmasf4.c: Likewise.
31898 * soft-fp/fmatf4.c: Likewise.
31899 * soft-fp/gedf2.c: Likewise.
31900 * soft-fp/gesf2.c: Likewise.
31901 * soft-fp/getf2.c: Likewise.
31902 * soft-fp/ledf2.c: Likewise.
31903 * soft-fp/lesf2.c: Likewise.
31904 * soft-fp/letf2.c: Likewise.
31905 * soft-fp/muldf3.c: Likewise.
31906 * soft-fp/mulsf3.c: Likewise.
31907 * soft-fp/multf3.c: Likewise.
31908 * soft-fp/negdf2.c: Likewise.
31909 * soft-fp/negsf2.c: Likewise.
31910 * soft-fp/negtf2.c: Likewise.
31911 * soft-fp/op-1.h: Likewise.
31912 * soft-fp/op-2.h: Likewise.
31913 * soft-fp/op-4.h: Likewise.
31914 * soft-fp/op-8.h: Likewise.
31915 * soft-fp/op-common.h: Likewise.
31916 * soft-fp/quad.h: Likewise.
31917 * soft-fp/single.h: Likewise.
31918 * soft-fp/soft-fp.h: Likewise.
31919 * soft-fp/sqrtdf2.c: Likewise.
31920 * soft-fp/sqrtsf2.c: Likewise.
31921 * soft-fp/sqrttf2.c: Likewise.
31922 * soft-fp/subdf3.c: Likewise.
31923 * soft-fp/subsf3.c: Likewise.
31924 * soft-fp/subtf3.c: Likewise.
31925 * soft-fp/truncdfsf2.c: Likewise.
31926 * soft-fp/trunctfdf2.c: Likewise.
31927 * soft-fp/trunctfsf2.c: Likewise.
31928 * soft-fp/trunctfxf2.c: Likewise.
31929 * soft-fp/unorddf2.c: Likewise.
31930 * soft-fp/unordsf2.c: Likewise.
31931 * soft-fp/unordtf2.c: Likewise.
31932
31933 2013-10-15 Joseph Myers <joseph@codesourcery.com>
31934
31935 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
31936 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
31937
31938 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
31939
31940 * elf/dl-libc.c: Clear initfini list after freeing.
31941
31942 2013-10-14 Joseph Myers <joseph@codesourcery.com>
31943
31944 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
31945 * soft-fp/addsf3.c: Likewise.
31946 * soft-fp/addtf3.c: Likewise.
31947 * soft-fp/divdf3.c: Likewise.
31948 * soft-fp/divsf3.c: Likewise.
31949 * soft-fp/divtf3.c: Likewise.
31950 * soft-fp/double.h: Likewise.
31951 * soft-fp/eqdf2.c: Likewise.
31952 * soft-fp/eqsf2.c: Likewise.
31953 * soft-fp/eqtf2.c: Likewise.
31954 * soft-fp/extenddftf2.c: Likewise.
31955 * soft-fp/extended.h: Likewise.
31956 * soft-fp/extendsfdf2.c: Likewise.
31957 * soft-fp/extendsftf2.c: Likewise.
31958 * soft-fp/extendxftf2.c: Likewise.
31959 * soft-fp/fixdfdi.c: Likewise.
31960 * soft-fp/fixdfsi.c: Likewise.
31961 * soft-fp/fixdfti.c: Likewise.
31962 * soft-fp/fixsfdi.c: Likewise.
31963 * soft-fp/fixsfsi.c: Likewise.
31964 * soft-fp/fixsfti.c: Likewise.
31965 * soft-fp/fixtfdi.c: Likewise.
31966 * soft-fp/fixtfsi.c: Likewise.
31967 * soft-fp/fixtfti.c: Likewise.
31968 * soft-fp/fixunsdfdi.c: Likewise.
31969 * soft-fp/fixunsdfsi.c: Likewise.
31970 * soft-fp/fixunsdfti.c: Likewise.
31971 * soft-fp/fixunssfdi.c: Likewise.
31972 * soft-fp/fixunssfsi.c: Likewise.
31973 * soft-fp/fixunssfti.c: Likewise.
31974 * soft-fp/fixunstfdi.c: Likewise.
31975 * soft-fp/fixunstfsi.c: Likewise.
31976 * soft-fp/fixunstfti.c: Likewise.
31977 * soft-fp/floatdidf.c: Likewise.
31978 * soft-fp/floatdisf.c: Likewise.
31979 * soft-fp/floatditf.c: Likewise.
31980 * soft-fp/floatsidf.c: Likewise.
31981 * soft-fp/floatsisf.c: Likewise.
31982 * soft-fp/floatsitf.c: Likewise.
31983 * soft-fp/floattidf.c: Likewise.
31984 * soft-fp/floattisf.c: Likewise.
31985 * soft-fp/floattitf.c: Likewise.
31986 * soft-fp/floatundidf.c: Likewise.
31987 * soft-fp/floatundisf.c: Likewise.
31988 * soft-fp/floatunsidf.c: Likewise.
31989 * soft-fp/floatunsisf.c: Likewise.
31990 * soft-fp/floatuntidf.c: Likewise.
31991 * soft-fp/floatuntisf.c: Likewise.
31992 * soft-fp/floatuntitf.c: Likewise.
31993 * soft-fp/fmadf4.c: Likewise.
31994 * soft-fp/fmasf4.c: Likewise.
31995 * soft-fp/fmatf4.c: Likewise.
31996 * soft-fp/gedf2.c: Likewise.
31997 * soft-fp/gesf2.c: Likewise.
31998 * soft-fp/getf2.c: Likewise.
31999 * soft-fp/ledf2.c: Likewise.
32000 * soft-fp/lesf2.c: Likewise.
32001 * soft-fp/letf2.c: Likewise.
32002 * soft-fp/muldf3.c: Likewise.
32003 * soft-fp/mulsf3.c: Likewise.
32004 * soft-fp/multf3.c: Likewise.
32005 * soft-fp/negdf2.c: Likewise.
32006 * soft-fp/negsf2.c: Likewise.
32007 * soft-fp/negtf2.c: Likewise.
32008 * soft-fp/op-1.h: Likewise.
32009 * soft-fp/op-2.h: Likewise.
32010 * soft-fp/op-4.h: Likewise.
32011 * soft-fp/op-8.h: Likewise.
32012 * soft-fp/op-common.h: Likewise.
32013 * soft-fp/quad.h: Likewise.
32014 * soft-fp/single.h: Likewise.
32015 * soft-fp/soft-fp.h: Likewise.
32016 * soft-fp/sqrtdf2.c: Likewise.
32017 * soft-fp/sqrtsf2.c: Likewise.
32018 * soft-fp/sqrttf2.c: Likewise.
32019 * soft-fp/subdf3.c: Likewise.
32020 * soft-fp/subsf3.c: Likewise.
32021 * soft-fp/subtf3.c: Likewise.
32022 * soft-fp/truncdfsf2.c: Likewise.
32023 * soft-fp/trunctfdf2.c: Likewise.
32024 * soft-fp/trunctfsf2.c: Likewise.
32025 * soft-fp/trunctfxf2.c: Likewise.
32026 * soft-fp/unorddf2.c: Likewise.
32027 * soft-fp/unordsf2.c: Likewise.
32028 * soft-fp/unordtf2.c: Likewise.
32029
32030 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
32031
32032 [BZ #15672]
32033 * misc/error.c (error_tail): Fix possible buffer overflow.
32034
32035 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
32036
32037 [BZ #13028]
32038 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
32039 address.
32040
32041 2013-10-14 P. J. McDermott <pj@pehjota.net>
32042
32043 [BZ #832]
32044 * elf/ldd.bash.in (try_trace): New function. Delete previous code
32045 testing pipefail option.
32046
32047 2013-10-12 Joseph Myers <joseph@codesourcery.com>
32048
32049 * soft-fp/double.h: Indent preprocessor directives inside #if.
32050 * soft-fp/extended.h: Likewise.
32051 * soft-fp/op-2.h: Likewise.
32052 * soft-fp/op-4.h: Likewise.
32053 * soft-fp/op-common.h: Likewise.
32054 * soft-fp/quad.h: Likewise.
32055 * soft-fp/single.h: Likewise.
32056 * soft-fp/soft-fp.h: Likewise.
32057
32058 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
32059
32060 * iconv/iconv_prog.c: Fix typos.
32061 * stdio-common/psiginfo-data.h: Likewise.
32062
32063 2013-10-12 Reuben Thomas <rrt@sc3d.org>
32064
32065 [BZ #15764]
32066 * locale/setlocale.c: Fix typo.
32067
32068 2013-10-12 Joseph Myers <joseph@codesourcery.com>
32069
32070 [BZ #16036]
32071 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
32072 signaling NaN arguments.
32073 * soft-fp/unordsf2.c (__unordsf2): Likewise.
32074 * soft-fp/unordtf2.c (__unordtf2): Likewise.
32075
32076 [BZ #14910]
32077 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
32078 unordered operands.
32079 * soft-fp/gesf2.c (__gesf2): Likewise.
32080 * soft-fp/getf2.c (__getf2): Likewise.
32081 * soft-fp/ledf2.c (__ledf2): Likewise.
32082 * soft-fp/lesf2.c (__lesf2): Likewise.
32083 * soft-fp/letf2.c (__letf2): Likewise.
32084
32085 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
32086 * soft-fp/eqsf2.c (__eqsf2): Likewise.
32087 * soft-fp/eqtf2.c (__eqtf2): Likewise.
32088 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
32089 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
32090 * soft-fp/fixdfti.c (__fixdfti): Likewise.
32091 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
32092 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
32093 * soft-fp/fixsfti.c (__fixsfti): Likewise.
32094 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
32095 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
32096 * soft-fp/fixtfti.c (__fixtfti): Likewise.
32097 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
32098 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
32099 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
32100 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
32101 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
32102 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
32103 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
32104 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
32105 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
32106 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
32107 * soft-fp/floatdisf.c (__floatdisf): Likewise.
32108 * soft-fp/floatsisf.c (__floatsisf): Likewise.
32109 * soft-fp/floattidf.c (__floattidf): Likewise.
32110 * soft-fp/floattisf.c (__floattisf): Likewise.
32111 * soft-fp/floattitf.c (__floattitf): Likewise.
32112 * soft-fp/floatundidf.c (__floatundidf): Likewise.
32113 * soft-fp/floatundisf.c (__floatundisf): Likewise.
32114 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
32115 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
32116 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
32117 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
32118 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
32119 * soft-fp/gesf2.c (__gesf2): Likewise.
32120 * soft-fp/getf2.c (__getf2): Likewise.
32121 * soft-fp/ledf2.c (__ledf2): Likewise.
32122 * soft-fp/lesf2.c (__lesf2): Likewise.
32123 * soft-fp/letf2.c (__letf2): Likewise.
32124
32125 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
32126 Undefine and redefine.
32127 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
32128 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
32129 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
32130 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
32131 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
32132 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
32133 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
32134 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
32135 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
32136 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
32137 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
32138 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
32139 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
32140 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
32141 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
32142
32143 [BZ #16032]
32144 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
32145 without decrementing exponent if mantissa >= that for the
32146 denominator, not >.
32147 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
32148 denominator, not >. Decrement exponent in < case instead of
32149 incrementing in >= case.
32150 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
32151 without decrementing exponent if mantissa >= that for the
32152 denominator, not >.
32153
32154 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
32155 computing saturated result for unsigned overflow.
32156
32157 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
32158 Jeff Law <law@redhat.com>
32159
32160 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
32161 (atan2Mp): Add systemtap probe marker.
32162 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
32163 (__ieee754_log): Add systemtap probe marker.
32164 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
32165 (atanMp): Add systemtap probe marker.
32166 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
32167 (tanMp): Add systemtap probe marker.
32168 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
32169 (__slowexp): Add systemtap probe marker.
32170 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
32171 (__slowpow): Add systemtap probe marker.
32172 * manual/probes.texi: Document probes.
32173
32174 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
32175
32176 [BZ #15362]
32177 * libio/fileops.c (_IO_new_file_write): Return count of bytes
32178 written.
32179 (_IO_new_file_xsputn): Don't return EOF if nothing has been
32180 written.
32181 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
32182 written to buffer but not flushed.
32183 * libio/iofwrite_u.c: Likewise.
32184 * libio/iopadn.c: Return bytes returned even if EOF was
32185 encountered.
32186 * libio/iowpadn.c: Likewise.
32187 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
32188 if _IO_padn does not write the whole buffer.
32189 [!COMPILE_WPRINTF] (PAD): Likewise.
32190
32191 2013-10-10 David S. Miller <davem@davemloft.net>
32192
32193 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
32194 directory block.
32195
32196 2013-10-10 Joseph Myers <joseph@codesourcery.com>
32197
32198 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
32199 instead of FSF address.
32200 * soft-fp/fixdfti.c: Likewise.
32201 * soft-fp/fixsfti.c: Likewise.
32202 * soft-fp/fixtfti.c: Likewise.
32203 * soft-fp/fixunsdfti.c: Likewise.
32204 * soft-fp/fixunssfti.c: Likewise.
32205 * soft-fp/fixunstfti.c: Likewise.
32206 * soft-fp/floattidf.c: Likewise.
32207 * soft-fp/floattisf.c: Likewise.
32208 * soft-fp/floattitf.c: Likewise.
32209 * soft-fp/floatuntidf.c: Likewise.
32210 * soft-fp/floatuntisf.c: Likewise.
32211 * soft-fp/floatuntitf.c: Likewise.
32212 * soft-fp/trunctfxf2.c: Likewise.
32213
32214 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
32215 * soft-fp/fixdfti.c: Likewise.
32216 * soft-fp/fixsfti.c: Likewise.
32217 * soft-fp/fixtfti.c: Likewise.
32218 * soft-fp/fixunsdfti.c: Likewise.
32219 * soft-fp/fixunssfti.c: Likewise.
32220 * soft-fp/fixunstfti.c: Likewise.
32221 * soft-fp/floattidf.c: Likewise.
32222 * soft-fp/floattisf.c: Likewise.
32223 * soft-fp/floattitf.c: Likewise.
32224 * soft-fp/floatuntidf.c: Likewise.
32225 * soft-fp/floatuntisf.c: Likewise.
32226 * soft-fp/floatuntitf.c: Likewise.
32227 * soft-fp/trunctfxf2.c: Likewise.
32228
32229 2013-10-10 David S. Miller <davem@davemloft.net>
32230
32231 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32232
32233 2013-10-10 Joseph Myers <joseph@codsourcery.com>
32234
32235 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
32236 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
32237 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
32238 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
32239 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
32240 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
32241 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
32242
32243 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
32244 for NaNs before doing comparisons on argument.
32245 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
32246 Likewise.
32247
32248 2013-10-10 Will Newton <will.newton@linaro.org>
32249
32250 * malloc/hooks.c (memalign_check): Ensure the value of bytes
32251 passed to _int_memalign does not overflow.
32252
32253 2013-10-10 Torvald Riegel <triegel@redhat.com>
32254
32255 * scripts/bench.pl: Add include-sources directive.
32256 * benchtests/README: Update documentation.
32257
32258 2013-10-10 Joseph Myers <joseph@codesourcery.com>
32259
32260 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
32261 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
32262 instead of FP_INIT_ROUNDMODE.
32263 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
32264 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
32265
32266 [BZ #16034]
32267 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
32268 copy class of input value.
32269 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
32270 not handle exceptions.
32271 * soft-fp/negsf2.c (__negsf2): Likewise.
32272 * soft-fp/negtf2.c (__negtf2): Likewise.
32273 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
32274
32275 2013-10-09 Joseph Myers <joseph@codesourcery.com>
32276
32277 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
32278 semicolon. From Linux kernel.
32279
32280 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
32281
32282 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
32283
32284 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
32285
32286 [BZ #156]
32287 * manual/socket.texi: Added statement about buffer
32288 for gethostbyname2_r.
32289
32290 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
32291
32292 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
32293 Use .p2align directive instead, throughout.
32294 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
32295 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
32296 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
32297 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
32298 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
32299 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
32300 * sysdeps/x86_64/strchr.S: Likewise.
32301 * sysdeps/x86_64/strrchr.S: Likewise.
32302
32303 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
32304
32305 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
32306
32307 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
32308
32309 * sysdeps/generic/math_private.h (__mpsin1): Remove
32310 declaration.
32311 (__mpcos1): Likewise.
32312 (__mpsin): New argument __range_reduce.
32313 (__mpcos): Likewise.
32314 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32315 (slow): Use __mpsin and __mpcos.
32316 (slow1): Likewise.
32317 (slow2): Likewise.
32318 (sloww): Likewise.
32319 (sloww1): Likewise.
32320 (sloww2): Likewise.
32321 (bsloww): Likewise.
32322 (bsloww1): Likewise.
32323 (bsloww2): Likewise.
32324 (cslow2): Likewise.
32325 (csloww): Likewise.
32326 (csloww1): Likewise.
32327 (csloww2): Likewise.
32328 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
32329 range_reduce. Merge in __mpsin1.
32330 (__mpcos): Likewise.
32331 (__mpsin1): Remove.
32332 (__mpcos1): Likewise.
32333
32334 2013-10-07 Joseph Myers <joseph@codesourcery.com>
32335
32336 * locale/loadlocale.c (_nl_intern_locale_data): Use
32337 LOCFILE_ALIGNED_P.
32338 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
32339 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
32340 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
32341 obstack data is appropriately aligned.
32342 (obstack_int32_grow_fast): Likewise.
32343 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
32344 * locale/programs/locfile.c (add_locale_uint32): Likewise.
32345 (add_locale_uint32_array): Likewise.
32346
32347 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
32348
32349 * benchtests/Makefile: Remove ARGLIST and RET variables.
32350 ($(objpfx)bench-%.c): Pass only function name to the script.
32351 * benchtests/README: Update documentation.
32352 * benchtests/acos-inputs: Add new directives.
32353 * benchtests/acosh-inputs: Likewise.
32354 * benchtests/asin-inputs: Likewise.
32355 * benchtests/asinh-inputs: Likewise.
32356 * benchtests/atan-inputs: Likewise.
32357 * benchtests/atanh-inputs: Likewise.
32358 * benchtests/cos-inputs: Likewise.
32359 * benchtests/cosh-inputs: Likewise.
32360 * benchtests/exp-inputs: Likewise.
32361 * benchtests/log-inputs: Likewise.
32362 * benchtests/pow-inputs: Likewise.
32363 * benchtests/rint-inputs: Likewise.
32364 * benchtests/sin-inputs: Likewise.
32365 * benchtests/sinh-inputs: Likewise.
32366 * benchtests/tan-inputs: Likewise.
32367 * benchtests/tanh-inputs: Likewise.
32368 * scripts/bench.pl: Add support for new directives.
32369
32370 2013-10-07 Alan Modra <amodra@gmail.com>
32371
32372 * README: Fix careless merge.
32373
32374 2013-10-05 Alan Modra <amodra@gmail.com>
32375
32376 * NEWS: Mention powerpc64le support and bugs fixed.
32377 * README: Both big-endian and little-endian powerpc64 supported.
32378
32379 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
32380
32381 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
32382 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
32383 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
32384 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
32385
32386 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
32387
32388 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
32389 match prototype.
32390
32391 2013-10-04 Joseph Myers <joseph@codesourcery.com>
32392
32393 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
32394 Move -mhard-float appending from
32395 ports/sysdeps/powerpc/powerpc32/Makefile.
32396 [$(with-fp) = yes] (ASFLAGS): Likewise.
32397 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
32398 * sysdeps/powerpc/nofpu: Move directory from
32399 ports/sysdeps/powerpc/nofpu.
32400 * sysdeps/powerpc/soft-fp: Move directory from
32401 ports/sysdeps/powerpc/soft-fp.
32402 * sysdeps/powerpc/powerpc32/405: Move directory from
32403 ports/sysdeps/powerpc/powerpc32/405.
32404 * sysdeps/powerpc/powerpc32/440: Move directory from
32405 ports/sysdeps/powerpc/powerpc32/440.
32406 * sysdeps/powerpc/powerpc32/464: Move directory from
32407 ports/sysdeps/powerpc/powerpc32/464.
32408 * sysdeps/powerpc/powerpc32/476: Move directory from
32409 ports/sysdeps/powerpc/powerpc32/476.
32410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
32411 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
32412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
32413 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
32414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
32415 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
32416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
32417 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
32418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
32419 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
32420 * README: Update for powerpc-*-linux-gnu software floating point
32421 support in libc.
32422
32423 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
32424 case to powerpc/powerpc32*.
32425 * sysdeps/unix/sysv/linux/configure: Regenerated.
32426
32427 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
32428 (_FPU_MASK_OM): Define as 0x04.
32429 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
32430 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
32431 0x00c10080.
32432 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
32433 0x0000003c.
32434 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
32435
32436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
32437 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
32438 getcontext_e500.
32439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
32440 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
32441 setcontext_e500.
32442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
32443 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
32444 and setcontext_e500.
32445
32446 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
32447
32448 * locale/iso-3166.def: Update iso-1366.def and related occurrences
32449
32450 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
32451
32452 * manual/threads.texi (Default Thread Attributes): Fix typo.
32453
32454 2013-10-04 Will Newton <will.newton@linaro.org>
32455
32456 * malloc/Makefile: Add tst-memalign.
32457 * malloc/tst-memalign.c: New file.
32458
32459 * malloc/tst-posix_memalign.c: Add comments.
32460 (do_test): Add comments and call free on all potentially
32461 allocated pointers. Add space after cast.
32462
32463 * malloc/tst-pvalloc.c: Add comments.
32464 (do_test): Add comments and call free on all potentially
32465 allocated pointers. Remove duplicate check for NULL pointer.
32466 Add space after cast.
32467
32468 * malloc/tst-valloc.c: Add comments.
32469 (do_test): Add comments and call free on all potentially
32470 allocated pointers. Remove duplicate check for NULL pointer.
32471 Add space after cast.
32472
32473 2013-10-04 Alan Modra <amodra@gmail.com>
32474
32475 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
32476 Use stdint types in rather than __attribute__((mode())).
32477 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
32478
32479 2013-10-04 Alan Modra <amodra@gmail.com>
32480
32481 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
32482 Correct handling of unaligned relocs for little-endian.
32483 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
32484
32485 2013-10-04 Alan Modra <amodra@gmail.com>
32486
32487 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
32488 * configure: Regenerate.
32489 * nptl/shlib-versions: Powerpc*le starts at 2.18.
32490 * shlib-versions: Likewise.
32491
32492 2013-10-04 Alan Modra <amodra@gmail.com>
32493
32494 * string/tester.c (test_memrchr): Increment reported test cycle.
32495
32496 2013-10-04 Alan Modra <amodra@gmail.com>
32497
32498 * string/test-memcpy.c (do_one_test): When reporting errors, print
32499 string address and don't overrun end of string.
32500
32501 2013-10-04 Alan Modra <amodra@gmail.com>
32502
32503 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
32504 insrdi. Make better use of reg selection to speed exit slightly.
32505 Schedule entry path a little better. Remove useless "are we done"
32506 checks on entry to main loop. Handle wrapping around zero address.
32507 Correct main loop count. Handle single left-over word from main
32508 loop inline rather than by using loop_small. Remove extra word
32509 case in loop_small caused by wrong loop count. Add little-endian
32510 support.
32511 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
32512 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
32513 cache hint.
32514 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
32515 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
32516 support. Avoid rlwimi.
32517 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
32518
32519 2013-10-04 Alan Modra <amodra@gmail.com>
32520
32521 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
32522 insrdi. Formatting.
32523 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
32524 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
32525 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
32526 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
32527 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
32528 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
32529
32530 2013-10-04 Alan Modra <amodra@gmail.com>
32531
32532 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
32533 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
32534 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
32535 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
32536 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
32537 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
32538 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
32539 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
32540 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
32541 use of regs. Use power7 mtocrf. Tidy function tails.
32542
32543 2013-10-04 Alan Modra <amodra@gmail.com>
32544
32545 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
32546 Formatting. Consistently use rXXX register defines or rN defines.
32547 Use early exit labels that avoid restoring unused non-volatile regs.
32548 Make cr field use more consistent with rWORDn compares. Rename
32549 regs used as shift registers for unaligned loop, using rN defines
32550 for short lifetime/multiple use regs.
32551 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
32552 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
32553 addi 1,1,64 to pop stack frame. Simplify return value code.
32554 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
32555
32556 2013-10-04 Alan Modra <amodra@gmail.com>
32557
32558 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
32559 support. Correct typos, formatting. Optimize tail. Use insrdi
32560 rather than rlwimi.
32561 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
32562 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
32563 little-endian support. Correct typos.
32564 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
32565 rather than rlwimi.
32566 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
32567 in loop and entry code to keep "and." results.
32568 (strchr): Add little-endian support. Comment. Move cntlzd
32569 earlier in tail.
32570 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
32571
32572 2013-10-04 Alan Modra <amodra@gmail.com>
32573
32574 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
32575 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
32576 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
32577 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
32578
32579 2013-10-04 Alan Modra <amodra@gmail.com>
32580
32581 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
32582 (rTMP): Define as r11.
32583 (strcmp): Add little-endian support. Optimise tail.
32584 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
32585 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
32586 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
32587 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
32588 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
32589 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
32590 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
32591
32592 2013-10-04 Alan Modra <amodra@gmail.com>
32593
32594 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
32595 little-endian support. Remove unnecessary "are we done" tests.
32596 Handle "s" wrapping around zero and extremely large "size".
32597 Correct main loop count. Handle single left-over word from main
32598 loop inline rather than by using small_loop. Correct comments.
32599 Delete "zero" tail, use "end_max" instead.
32600 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
32601
32602 2013-10-04 Alan Modra <amodra@gmail.com>
32603
32604 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
32605 support. Don't branch over align.
32606 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
32607 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
32608 support. Rearrange tmp reg use to suit. Comment.
32609 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
32610
32611 2013-10-04 Alan Modra <amodra@gmail.com>
32612
32613 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
32614
32615 2013-10-04 Alan Modra <amodra@gmail.com>
32616
32617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
32618 conditional form of branch and link when obtaining pc.
32619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
32620
32621 2013-10-04 Alan Modra <amodra@gmail.com>
32622
32623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
32624 HIWORD/LOWORD.
32625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
32626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
32627
32628 2013-10-04 Alan Modra <amodra@gmail.com>
32629
32630 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
32631 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
32632 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
32633 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
32634 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
32635 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
32636 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
32637 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
32638 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
32639 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
32640
32641 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
32642 Alistair Popple <alistair@ozlabs.au.ibm.com>
32643 Alan Modra <amodra@gmail.com>
32644
32645 [BZ #15723]
32646 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
32647 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
32648 _dl_hwcap access for little-endian.
32649 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
32650 destroy vmx regs when saving unaligned.
32651 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
32652 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
32653 destroy vmx regs when saving unaligned.
32654
32655 2013-10-04 Alan Modra <amodra@gmail.com>
32656
32657 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
32658 Don't use a union to pack hi/low value.
32659
32660 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
32661
32662 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
32663 for little-endian.
32664 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
32665 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
32666 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
32667 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
32668 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
32669
32670 2013-10-04 Alan Modra <amodra@gmail.com>
32671
32672 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
32673 constants to usual value for .cst8 section, and remove redundant
32674 high address load.
32675 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
32676 constant for 0x1p52. Load little-endian words of double from
32677 correct stack offsets.
32678
32679 2013-10-04 Alan Modra <amodra@gmail.com>
32680
32681 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
32682 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
32683 words of double from correct stack offsets.
32684 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
32685 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
32686 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
32687 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
32688 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
32689 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
32690 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
32691 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
32692 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
32693 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
32694 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
32695 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
32696 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
32697 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
32698 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
32699 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
32700 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
32701
32702 2013-10-04 Alan Modra <amodra@gmail.com>
32703
32704 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
32705 64-bit int/double union.
32706 (_FPU_SETCW): Likewise.
32707 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
32708 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
32709
32710 2013-10-04 Alan Modra <amodra@gmail.com>
32711
32712 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
32713 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
32714
32715 2013-10-04 Alan Modra <amodra@gmail.com>
32716
32717 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
32718 use vector int constants.
32719 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
32720
32721 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
32722
32723 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
32724 array with long long.
32725 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
32726 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
32727 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
32728 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
32729 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
32730 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
32731 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
32732 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
32733 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
32734 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
32735 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
32736 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
32737 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
32738
32739 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
32740
32741 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
32742 (__signbit): Likewise. Correct for little-endian.
32743 (__signbitl): Call __signbit.
32744 (lrint): Correct for little-endian.
32745 (lrintf): Call lrint.
32746
32747 2013-10-04 Alan Modra <amodra@gmail.com>
32748
32749 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
32750 union 32-bit int array member with 64-bit int array.
32751 (t515, tm256): Double rather than long double.
32752 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
32753
32754 2013-10-04 Alan Modra <amodra@gmail.com>
32755
32756 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
32757 Delete.
32758 (IEEE854_LONG_DOUBLE_BIAS): Delete.
32759 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
32760 version of math_ldbl.h.
32761
32762 2013-10-04 Alan Modra <amodra@gmail.com>
32763
32764 [BZ #15734], [BZ #15735]
32765 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
32766 all uses of ieee875 long double macros and unions. Simplify test
32767 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
32768 ldbl_extract_mantissa value for ix,iy exponents. Properly
32769 normalize after ldbl_extract_mantissa, and don't add hidden bit
32770 already handled. Don't treat low word of ieee854 mantissa like
32771 low word of IBM long double and mask off bit when testing for
32772 zero.
32773 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
32774 all uses of ieee875 long double macros and unions. Simplify tests
32775 for 0.0L and inf. Correct double adjustment of k. Delete dead code
32776 adjusting ha,hb. Simplify code setting kld. Delete two600 and
32777 two1022, instead use their values. Recognise that tests for large
32778 "a" and small "b" are mutually exclusive. Rename vars. Comment.
32779 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
32780 Rewrite all uses of ieee875 long double macros and unions. Simplify
32781 test for 0.0L and nan. Correct negation.
32782 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
32783 ieee875 long double macros and unions. Correct output for large
32784 magnitude x. Correct absolute value calculation.
32785 (__erfcl): Likewise.
32786 * math/libm-test.inc: Add tests for errors discovered in IBM long
32787 double versions of fmodl, remainderl, erfl and erfcl.
32788
32789 2013-10-04 Alan Modra <amodra@gmail.com>
32790
32791 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
32792 all uses of ieee854 long double macros and unions. Simplify tests
32793 for long doubles that are fully specified by the high double.
32794 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
32795 Likewise.
32796 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
32797 Remove dead code too.
32798 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
32799 (__ieee754_ynl): Likewise.
32800 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
32801 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
32802 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
32803 Remove dead code too.
32804 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
32805 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
32806 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
32807 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
32808 Simplify.
32809 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
32810 Simplify.
32811 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
32812 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
32813 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
32814 Comment on variable precision.
32815 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
32816 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
32817 Likewise.
32818 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
32819 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
32820 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
32821 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
32822 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
32823
32824 2013-10-04 Alan Modra <amodra@gmail.com>
32825
32826 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
32827 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
32828 all uses of ieee854 long double macros and unions.
32829 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
32830 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
32831 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
32832 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
32833 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
32834 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
32835 Likewise.
32836 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
32837 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
32838 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
32839 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
32840 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
32841 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
32842 Simplify sign and nan test too.
32843 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
32844 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
32845 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
32846 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
32847 Likewise.
32848 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
32849 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
32850 Likewise.
32851 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32852 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
32853 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
32854 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
32855 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
32856 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
32857
32858 2013-10-04 Alan Modra <amodra@gmail.com>
32859
32860 * stdio-common/printf_size.c (__printf_size): Don't use
32861 union ieee854_long_double in fpnum union.
32862 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
32863 signbit macro to retrieve sign from long double.
32864 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
32865 retrieve sign from long double.
32866 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
32867 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
32868 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
32869 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
32870 * math/test-misc.c (main): Don't use union ieee854_long_double.
32871
32872 2013-10-04 Alan Modra <amodra@gmail.com>
32873
32874 [BZ #15680]
32875 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
32876 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
32877 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
32878 calculation. Remove unnecessary test for denormal exponent.
32879 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
32880 Correct handling of denormals. Avoid undefined shift behaviour.
32881 Correct normalisation of low mantissa when low double is denormal.
32882 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
32883 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
32884 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
32885 Correct normalisation of low mantissa. Test for overflow of high
32886 mantissa and normalise.
32887 (ldbl_nearbyint): Use more readable constant for two52.
32888 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
32889 (__mpn_construct_long_double): Fix test for overflow of high
32890 mantissa and correct normalisation. Avoid undefined shift.
32891
32892 2013-10-04 Alan Modra <amodra@gmail.com>
32893
32894 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
32895 (union ibm_extended_long_double): Define as an array of ieee754_double.
32896 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
32897 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
32898 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
32899 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
32900 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
32901 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
32902 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
32903 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
32904 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
32905 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
32906 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
32907
32908 2013-10-03 Joseph Myers <joseph@codesourcery.com>
32909
32910 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
32911 page size instead of calling getpagesize.
32912
32913 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
32914 (LOCFILE_ALIGN_MASK): Likewise.
32915 (LOCFILE_ALIGN_UP): Likewise.
32916 (LOCFILE_ALIGNED_P): Likewise.
32917 * locale/programs/ld-collate.c (collate_output): Use the new
32918 macros instead of __alignof__ (int32_t).
32919 * locale/weight.h (findidx): Likewise.
32920
32921 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
32922
32923 [BZ #431]
32924 * manual/string.texi: Fix strncat and wcsncat.
32925
32926 2013-10-03 Brooks Moses <bmoses@google.com>
32927
32928 [BZ #15915]
32929 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
32930 * Makerules: ...here, and adjust associated comments.
32931
32932 2013-10-02 Will Newton <will.newton@linaro.org>
32933
32934 * malloc/Makefile: Add tst-pvalloc.
32935 * malloc/tst-pvalloc.c: New file.
32936
32937 2013-10-02 Will Newton <will.newton@linaro.org>
32938
32939 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
32940 improve test coverage.
32941
32942 2013-10-02 Will Newton <will.newton@linaro.org>
32943
32944 * malloc/Makefile: Add tst-posix_memalign.
32945 * malloc/tst-posix_memalign.c: New file.
32946
32947 2013-10-01 Eric Blake <eblake@redhat.com>
32948
32949 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
32950 Use __THROWNL rather than __THROW on static functions.
32951
32952 2013-09-30 Petr Machata <pmachata@redhat.com>
32953
32954 * elf/elf.h (R_AARCH64_ABS16): New macro.
32955 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
32956 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
32957 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
32958 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
32959 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
32960 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
32961 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
32962 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
32963 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
32964 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
32965 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
32966 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
32967 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
32968 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
32969 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
32970 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
32971 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
32972 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
32973 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
32974 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
32975 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
32976 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
32977 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
32978 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
32979 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
32980 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
32981 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
32982 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
32983 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
32984 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
32985 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
32986 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
32987 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
32988 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
32989 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
32990 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
32991 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
32992 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
32993 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
32994 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
32995 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
32996 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
32997 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
32998 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
32999 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
33000 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
33001 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
33002 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
33003 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
33004 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
33005 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
33006 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
33007 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
33008 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
33009 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
33010 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
33011 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
33012 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
33013 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
33014 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
33015 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
33016 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
33017 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
33018 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
33019 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
33020 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
33021 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
33022 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
33023 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
33024 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
33025 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
33026 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
33027 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
33028 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
33029 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
33030 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
33031 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
33032 (R_AARCH64_TLSDESC_LDR): Likewise.
33033 (R_AARCH64_TLSDESC_ADD): Likewise.
33034 (R_AARCH64_TLSDESC_CALL): Likewise.
33035
33036 2013-09-30 Andreas Schwab <schwab@suse.de>
33037
33038 [BZ #15048]
33039 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
33040 the nss database lookup.
33041 * nscd/initgrcache.c (addinitgroupsX): Likewise.
33042 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
33043
33044 2013-09-28 Mike Frysinger <vapier@gentoo.org>
33045
33046 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
33047
33048 2013-09-28 P. J. McDermott <pj@pehjota.net>
33049
33050 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
33051 ${Bash-specific parameter/pattern/string} parameter expansion.
33052 * sysdeps/unix/make-syscalls.sh: Likewise.
33053
33054 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33055
33056 * sysdeps/sh/stackguard-macros.h: New file.
33057
33058 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
33059
33060 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
33061 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
33062 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
33063 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
33064 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
33065 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
33066
33067 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33068
33069 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
33070 Fix thread ID register.
33071
33072 2013-09-25 Joseph Myers <joseph@codesourcery.com>
33073
33074 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
33075 [POSIX || UNIX98]: Require rather than permitting all symbols from
33076 <time.h>.
33077 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
33078 element of struct sched_param.
33079 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
33080 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
33081 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
33082 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
33083 constant.
33084
33085 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
33086
33087 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
33088 argument calculation.
33089
33090 2013-09-24 Joseph Myers <joseph@codesourcery.com>
33091
33092 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
33093 Expect macro.
33094 [POSIX] (pthread_attr_t): Do not require type.
33095 [POSIX] (pthread_cond_t): Likewise.
33096 [POSIX] (pthread_condattr_t): Likewise.
33097 [POSIX] (pthread_key_t): Likewise.
33098 [POSIX] (pthread_mutex_t): Likewise.
33099 [POSIX] (pthread_mutexattr_t): Likewise.
33100 [POSIX] (pthread_once_t): Likewise.
33101 [POSIX] (pthread_t): Likewise.
33102 [POSIX-based standards] (pthread_atfork): Expect function.
33103
33104 2013-09-24 Joseph Myers <joseph@codesourcery.com>
33105 Richard Sandiford <richard@codesourcery.com>
33106
33107 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
33108 (swap_endianness_p): New extern variable.
33109 (set_big_endian): New inline function.
33110 (maybe_swap_uint32): Likewise.
33111 (maybe_swap_uint32_array): Likewise.
33112 (maybe_swap_uint32_obstack): Likewise.
33113 * locale/programs/locfile.c: Include <stdbool.h>.
33114 (swap_endianness_p): New variable.
33115 (add_locale_uint32): Call maybe_swap_uint32.
33116 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
33117 (write_locale_data): Call maybe_swap_uint32_array.
33118 * locale/programs/ld-collate.c (obstack_int32_grow): Call
33119 maybe_swap_uint32.
33120 (obstack_int32_grow_fast): Likewise.
33121 (output_weightwc): Call maybe_swap_uint32_obstack.
33122 (collate_output): Likewise.
33123 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
33124 (OPT_LITTLE_ENDIAN): Likewise.
33125 (options): Add --little-endian and --big-endian options.
33126 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
33127 * locale/programs/locarchive.c: Include "locfile.h".
33128 (GET): New macro.
33129 (SET): Likewise.
33130 (INC): Likewise.
33131 (create_archive): Use the new macros to access fields of
33132 structures directly mapped from or written to locale archives.
33133 (oldlocrecentcmp): Likewise.
33134 (enlarge_archive): Likewise.
33135 (insert_name): Likewise.
33136 (add_alias): Likewise.
33137 (add_locale): Likewise.
33138 (delete_locales_from_archive): Likewise.
33139 (show_archive_content): Likewise.
33140 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
33141 locale data.
33142
33143 2013-09-24 Roland McGrath <roland@hack.frob.com>
33144
33145 * manual/freemanuals.texi: Updated from (newly) canonical copy at
33146 http://www.gnu.org/doc/freemanuals.texi.
33147 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
33148
33149 2013-09-24 Will Newton <will.newton@linaro.org>
33150
33151 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
33152 macro.
33153
33154 2013-09-23 Joseph Myers <joseph@codesourcery.com>
33155
33156 * locale/hashval.h (compute_hashval): Interpret bytes of key as
33157 unsigned char.
33158
33159 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
33160
33161 * manual/threads.texi (POSIX Threads): Fix a typo.
33162
33163 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
33164
33165 [BZ #14547]
33166 * string/tst-strcoll-overflow.c: New test case.
33167 * string/Makefile (xtests): Add tst-strcoll-overflow.
33168 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
33169 cache if string sizes may cause integer overflow.
33170
33171 [BZ #14547]
33172 * string/strcoll_l.c (coll_seq): New members rule, idx,
33173 save_idx and back_us.
33174 (get_next_seq_nocache): New function.
33175 (do_compare_nocache): New function.
33176 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
33177 when malloc fails.
33178
33179 2013-09-23 Carlos O'Donell <carlos@redhat.com>
33180
33181 [BZ #15754]
33182 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
33183 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
33184 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
33185
33186 [BZ #15754]
33187 * elf/Makefile (tests): Add tst-ptrguard1.
33188 (tests-static): Add tst-ptrguard1-static.
33189 (tst-ptrguard1-ARGS): Define.
33190 (tst-ptrguard1-static-ARGS): Define.
33191 * elf/tst-ptrguard1.c: New file.
33192 * elf/tst-ptrguard1-static.c: New file.
33193 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
33194 * sysdeps/i386/stackguard-macros.h: Likewise.
33195 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
33196 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
33197 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
33198 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
33199 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
33200 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
33201
33202 2013-09-23 Hector Marco <hecmargi@upv.es>
33203 Ismael Ripoll <iripoll@disca.upv.es>
33204 Carlos O'Donell <carlos@redhat.com>
33205
33206 [BZ #15754]
33207 * sysdeps/generic/stackguard-macros.h: Define
33208 __pointer_chk_guard_local and POINTER_CHK_GUARD.
33209 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
33210 Define __pointer_chk_guard_local.
33211 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
33212 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
33213
33214 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
33215
33216 [BZ #15859]
33217 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
33218
33219 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
33220
33221 * include/string.h (__ffs): Declare as hidden.
33222 * string/ffs.c (__ffs): Define as hidden.
33223 * sysdeps/i386/ffs.c (__ffs): Likewise.
33224 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
33225 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
33226 * sysdeps/s390/ffs.c (__ffs): Likewise.
33227 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
33228
33229 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
33230
33231 * NEWS: Mention malloc probes.
33232
33233 * malloc/arena.c (new_heap): New memory_heap_new probe.
33234 (grow_heap): New memory_heap_more probe.
33235 (shrink_heap): New memory_heap_less probe.
33236 (heap_trim): New memory_heap_free probe.
33237 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
33238 (systrim): New memory_sbrk_less probe.
33239 * manual/probes.texi: Document them.
33240
33241 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
33242 * manual/probes.texi: Document it.
33243
33244 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
33245 (__libc_realloc): Add memory_realloc_retry probe.
33246 (__libc_memalign): Add memory_memalign_retry probe.
33247 (__libc_valloc): Add memory_valloc_retry probe.
33248 (__libc_pvalloc): Add memory_pvalloc_retry probe.
33249 (__libc_calloc): Add memory_calloc_retry probe.
33250 * manual/probes.texi: Document them.
33251
33252 * malloc/arena.c (get_free_list): Add probe
33253 memory_arena_reuse_free_list.
33254 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
33255 and memory_arena_reuse.
33256 (arena_get2) [!PER_THREAD]: Likewise.
33257 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
33258 memory_arena_reuse_realloc.
33259 * manual/probes.texi: Document them.
33260
33261 * malloc/malloc.c (__libc_free): Add
33262 memory_mallopt_free_dyn_thresholds probe.
33263 (__libc_mallopt): Add multiple memory_mallopt probes.
33264 * manual/probes.texi: Document them.
33265
33266 * malloc/malloc.c: Include stap-probe.h.
33267 (__libc_mallopt): Add memory_mallopt probe.
33268 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
33269 * manual/probes.texi: New.
33270 * manual/Makefile (chapters): Add probes.
33271 * manual/threads.texi: Set next node.
33272
33273 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
33274
33275 [BZ #15963, #13985]
33276 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
33277 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
33278 Add `Chinese' to `nan' entry name.
33279
33280 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
33281
33282 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
33283 (POLYNOMIAL): Likewise.
33284 (TAYLOR_SINCOS): Likewise.
33285 (TAYLOR_SLOW): Likewise.
33286 (__sin): Use TAYLOR_SINCOS.
33287 (__cos): Likewise.
33288 (slow): Use TAYLOR_SLOW.
33289 (sloww): Likewise.
33290 (bsloww): Likewise.
33291 (csloww): Likewise.
33292
33293 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33294
33295 * stdlib/strtod_l.c: Fix buffer overrun.
33296
33297 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
33298
33299 * benchtests/Makefile (bench): Add sincos.
33300 * benchtests/bench-sincos.c: New file.
33301
33302 * math/libm-test.inc (cos_test_data): New test inputs.
33303 (sin_test_data): Likewise.
33304
33305 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
33306 macro.
33307 (__sin): Use it.
33308 (__cos): Likewise.
33309 (slow1): Likewise.
33310 (slow2): Likewise.
33311 (sloww1): Likewise.
33312 (sloww2): Likewise.
33313 (bsloww1): Likewise.
33314 (bsloww2): Likewise.
33315 (cslow2): Likewise.
33316 (csloww1): Likewise.
33317 (csloww2): Likewise.
33318
33319 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
33320 function.
33321 (__sin): Use it.
33322 (__cos): Likewise.
33323
33324 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
33325 gotos.
33326 (__cos): Likewise.
33327
33328 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
33329
33330 * config.h.in (HAVE_MIPS_NAN2008): New macro.
33331 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
33332 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
33333 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
33334 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
33335 * elf/cache.c (print_entry): Handle the new cache flags.
33336
33337 2013-09-18 Joseph Myers <joseph@codesourcery.com>
33338 Aldy Hernandez <aldyh@redhat.com>
33339
33340 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
33341 Change condition to [_SOFT_FLOAT].
33342 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
33343 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
33344 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
33345 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
33346 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
33347 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
33348 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
33349 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
33350 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
33351 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
33352 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
33353 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
33354 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
33355 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
33356 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
33357 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
33358 declaration.
33359
33360 2013-09-18 Joseph Myers <joseph@codesourcery.com>
33361
33362 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
33363 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
33364 (__longjmp): Use LOAD_GP to load saved GPRs.
33365 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
33366 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
33367 (__sigsetjmp): Use SAVE_GP to save GPRs.
33368
33369 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
33370 Do not append -msoft-float.
33371 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
33372
33373 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
33374
33375 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
33376
33377 2013-09-17 Joseph Myers <joseph@codesourcery.com>
33378
33379 [BZ #15966]
33380 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
33381 (_FPU_GETCW): Use initial "__" on variable and field names but not
33382 on macro parameter name.
33383 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
33384 parentheses around reference to macro parameter.
33385
33386 2013-09-13 Richard Sandiford <richard@codesourcery.com>
33387
33388 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
33389 prototype.
33390 (ctype_startup): Use uint32_t in cast and sizeof for
33391 ctype->charnames.
33392
33393 2013-09-11 Jia Liu <proljc@gmail.com>
33394
33395 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
33396 __daddr_t_defined.
33397 [__FreeBSD__]: Likewise.
33398
33399 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
33400
33401 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
33402 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
33403 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
33404 (strchr): Remove __strchr_sse42 ifunc selection.
33405 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
33406 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
33407
33408 2013-09-11 Will Newton <will.newton@linaro.org>
33409
33410 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
33411 parameter to RES. Remove hardcoded 1000 value.
33412 * benchtests/bench-skeleton.c (main): Pass RES parameter
33413 to TIMING_INIT and multiply result by 1000.
33414
33415 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33416
33417 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33418
33419 2013-09-11 Andreas Schwab <schwab@suse.de>
33420
33421 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
33422 if not defined.
33423 (O_TMPFILE) [__USE_GNU]: Define.
33424 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
33425 Define.
33426
33427 2013-09-11 Will Newton <will.newton@linaro.org>
33428
33429 [BZ #15857]
33430 * malloc/malloc.c (__libc_memalign): Check the value of bytes
33431 does not overflow.
33432
33433 2013-09-11 Will Newton <will.newton@linaro.org>
33434
33435 [BZ #15856]
33436 * malloc/malloc.c (__libc_valloc): Check the value of bytes
33437 does not overflow.
33438
33439 2013-09-11 Will Newton <will.newton@linaro.org>
33440
33441 [BZ #15855]
33442 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
33443 does not overflow.
33444
33445 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
33446
33447 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
33448 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33449 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
33450 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
33451 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
33452
33453 2013-09-10 Allan McRae <allan@archlinux.org>
33454
33455 [BZ #15748]
33456 * manual/arith.texi (Parsing of Floats): Clarify
33457 cross-reference.
33458
33459 [BZ #15849]
33460 * manual/install.texi (Running make install): Mention
33461 --enable-pt-chown.
33462 * INSTALL: Regenerated.
33463
33464 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
33465
33466 * csu/init-first.c (_init): Remove the !SHARED condition around
33467 FPU control word initialization.
33468 * elf/dl-support.c (_dl_fpu_control): New variable.
33469 (_dl_aux_init) <AT_FPUCW>: Initialize it.
33470 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
33471 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
33472 * math/test-fpucw-static.c: New file.
33473 * math/test-fpucw-ieee.c: New file.
33474 * math/test-fpucw-ieee-static.c: New file.
33475 * math/Makefile (tests): Add `test-fpucw-ieee' and
33476 `$(tests-static)'.
33477 (tests-static): New variable.
33478 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
33479 dependency to...
33480 [($(build-shared),yes)]
33481 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
33482 ... this.
33483 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
33484 New dependency.
33485
33486 2013-09-09 Allan McRae <allan@archlinux.org>
33487
33488 [BZ #15939]
33489 * manual/string.texi (Collation Functions): Fix typo in
33490 strcoll example.
33491 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
33492
33493 [BZ #15893]
33494 * stdlib/isomac.c (get_null_defines): Fix memory leak.
33495
33496 [BZ #15892]
33497 * libio/memstream.c (open_memstream): Fix memory leak.
33498 * libio/wmemstream.c (open_wmemstream): Likewise.
33499
33500 [BZ #15895]
33501 * nscd/netgroupcache.c: Fix nesting of ifdefs.
33502
33503 2013-09-09 Will Newton <will.newton@linaro.org>
33504
33505 * malloc/Makefile: Add tst-realloc to tests.
33506 * malloc/tst-realloc.c: New file.
33507
33508 2013-09-09 Allan McRae <allan@archlinux.org>
33509
33510 [BZ #15844]
33511 * COPYING: Update from GNU website to fix FSF address.
33512 * COPYING.LIB: Likewise.
33513
33514 2013-09-06 David S. Miller <davem@davemloft.net>
33515
33516 * po/zh_TW.po: Update Chinese (traditional) translation from
33517 translation project.
33518
33519 2013-09-06 Richard Sandiford <richard@codesourcery.com>
33520 Joseph Myers <joseph@codesourcery.com>
33521
33522 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
33523 "localeinfo.h".
33524 (obstack_chunk_alloc): New macro.
33525 (obstack_chunk_free): Likewise.
33526 (record_offset): New function.
33527 (init_locale_data): Likewise.
33528 (align_locale_data): Likewise.
33529 (add_locale_empty): Likewise.
33530 (add_locale_raw_data): Likewise.
33531 (add_locale_raw_obstack): Likewise.
33532 (add_locale_string): Likewise.
33533 (add_locale_wstring): Likewise.
33534 (add_locale_uint32): Likewise.
33535 (add_locale_uint32_array): Likewise.
33536 (add_locale_char): Likewise.
33537 (start_locale_structure): Likewise.
33538 (end_locale_structure): Likewise.
33539 (start_locale_prelude): Likewise.
33540 (end_locale_prelude): Likewise.
33541 (write_locale_data): Take locale_file structure rather than an
33542 iovec.
33543 * locale/programs/locfile.h: Include "obstack.h".
33544 (struct locale_file): Change to store locale file contents instead
33545 of header.
33546 (init_locale_data): New prototype.
33547 (align_locale_data): Likewise.
33548 (add_locale_empty): Likewise.
33549 (add_locale_raw_data): Likewise.
33550 (add_locale_raw_obstack): Likewise.
33551 (add_locale_string): Likewise.
33552 (add_locale_wstring): Likewise.
33553 (add_locale_uint32): Likewise.
33554 (add_locale_uint32_array): Likewise.
33555 (add_locale_char): Likewise.
33556 (start_locale_structure): Likewise.
33557 (end_locale_structure): Likewise.
33558 (start_locale_prelude): Likewise.
33559 (end_locale_prelude): Likewise.
33560 (write_locale_data): Update prototype.
33561 * locale/programs/3level.h (struct TABLE): Remove result field.
33562 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
33563 Use new locale_file interface.
33564 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
33565 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
33566 * locale/programs/ld-address.c (address_output): Use new
33567 locale_file interface.
33568 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
33569 NO_ADD_LOCALE.
33570 (collate_finish): Don't call collseq_table_finalize.
33571 (collate_output): Use new locale_file interface.
33572 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
33573 in file.
33574 (NO_FINALIZE): Change to NO_ADD_LOCALE.
33575 (TABLE): Move defines earlier in file.
33576 (ELEMENT): Likewise.
33577 (DEFAULT): Likewise.
33578 (wctrans_table_add): Move macro and inline function earlier in
33579 file.
33580 (struct wctype_table): Move type earlier in file.
33581 (add_locale_wctype_table): New static prototype.
33582 (struct locale_ctype_t): Use logical types instead of struct iovec
33583 pointers for members.
33584 (ctype_output): Use new locale_file interface.
33585 (wctype_table_finalize): Change to add_locale_wctype_table. Use
33586 new locale_file interface.
33587 (allocate_arrays): Update for use of new locale_file interface.
33588 * locale/programs/ld-identification.c (identification_output): Use
33589 new locale_file interface.
33590 * locale/programs/ld-measurement.c (measurement_output): Likewise.
33591 * locale/programs/ld-messages.c (messages_output): Likewise.
33592 * locale/programs/ld-monetary.c (monetary_output): Likewise.
33593 * locale/programs/ld-name.c (name_output): Likewise.
33594 * locale/programs/ld-numeric.c (numeric_output): Likewise.
33595 * locale/programs/ld-paper.c (paper_output): Likewise.
33596 * locale/programs/ld-telephone.c (telephone_output): Likewise.
33597 * locale/programs/ld-time.c (time_output): Likewise.
33598
33599 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33600
33601 * benchtests/Makefile: Add memrchr benchmark.
33602 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
33603 benchmark as memrchr.
33604 * benchtests/bench-memrchr-ifunc.c: New file.
33605 * benchtests/bench-memrchr.c: New file.
33606
33607 2013-09-06 Will Newton <will.newton@linaro.org>
33608
33609 * benchtests/Makefile (string-bench): Add memcpy.
33610
33611 2013-09-05 Carlos O'Donell <carlos@redhat.com>
33612 Cong Wang <amwang@redhat.com>
33613
33614 [BZ #15850]
33615 * sysdeps/unix/sysv/linux/bits/in.h
33616 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
33617 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
33618 before __USE_KERNEL_IPV6_DEFS uses.
33619 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
33620 IPPROTO_BEETPH.
33621 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
33622 sockaddr_in6, or ipv6_mreq.
33623
33624 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33625
33626 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
33627 memory access for final bytes in some large inputs.
33628 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
33629
33630 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33631
33632 * string/test-memrchr.c: New file.
33633 * string/test-memrchr-ifunc.c: New file.
33634 * string/Makefile: Add new memrchr testcase.
33635
33636 2013-09-05 Mike Frysinger <vapier@gentoo.org>
33637
33638 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
33639 fanotify_init returns EPERM.
33640
33641 2013-09-04 Joseph Myers <joseph@codesourcery.com>
33642
33643 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
33644 errors.
33645 (top level): Treat second token from macro or constant entries for
33646 allowed headers as allowed.
33647 * include/complex.h: Condition internal declarations on
33648 [!_ISOMAC].
33649 * include/fenv.h: Condition include of <stdbool.h> and internal
33650 declarations on [!_ISOMAC].
33651
33652 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
33653
33654 [BZ #15923]
33655 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
33656
33657 2013-09-04 Joseph Myers <joseph@codesourcery.com>
33658
33659 * configure.in (--enable-versioning): Remove configure option.
33660 (libc_cv_asm_symver_directive): Remove configure test.
33661 (libc_cv_ld_version_script_option): Likewise.
33662 (VERSIONING): Remove variable and AC_SUBST.
33663 (DO_VERSIONING): Remove AC_DEFINE.
33664 * configure: Regenerated.
33665 * config.h.in (DO_VERSIONING): Remove macro.
33666 * Makerules [$(versioning) = yes]: Change conditionals to
33667 [$(build-shared) = yes].
33668 * config.make.in (versioning): Remove variable.
33669 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
33670 [$(build-shared) = yes].
33671 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
33672 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
33673 * elf/Makefile [$(versioning) = yes]: Change conditionals to
33674 [$(build-shared) = yes].
33675 * extra-lib.mk [$(versioning) = yes]: Likewise.
33676 * hurd/Makefile [$(versioning) = yes]: Likewise.
33677 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
33678 [SHARED].
33679 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
33680 [SHARED].
33681 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
33682 [SHARED && !NO_HIDDEN].
33683 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
33684 [SHARED].
33685 [SHARED && DO_VERSIONING]: Likewise..
33686 * libio/Makefile [$(versioning) = yes]: Change conditionals to
33687 [$(build-shared) = yes].
33688 * manual/install.texi (--disable-versioning): Remove
33689 documentation.
33690 * INSTALL: Regenerated.
33691 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
33692 to [SHARED].
33693 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
33694 [$(build-shared) = yes].
33695 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
33696 * sysdeps/i386/i686/multiarch/strstr-c.c
33697 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
33698 [SHARED && !NO_HIDDEN].
33699 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
33700 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
33701 * sysdeps/powerpc/powerpc32/dl-machine.c
33702 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
33703 * sysdeps/powerpc/powerpc32/sysdep.h
33704 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
33705 to [SHARED && PIC && !NO_HIDDEN].
33706 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
33707 conditional to [SHARED].
33708
33709 2013-09-04 Will Newton <will.newton@linaro.org>
33710
33711 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
33712 * benchtests/bench-string.h: Include bench-timing.h instead
33713 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
33714 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
33715 call to HP_TIMING_DIFF_INIT.
33716 * benchtests/bench-memccpy.c: Use bench-timing.h macros
33717 instead of hp-timing.h macros.
33718 * benchtests/bench-memchr.c: Likewise.
33719 * benchtests/bench-memcmp.c: Likewise.
33720 * benchtests/bench-memcpy.c: Likewise.
33721 * benchtests/bench-memmem.c: Likewise.
33722 * benchtests/bench-memmove.c: Likewise.
33723 * benchtests/bench-memset.c: Likewise.
33724 * benchtests/bench-rawmemchr.c: Likewise.
33725 * benchtests/bench-strcasecmp.c: Likewise.
33726 * benchtests/bench-strcasestr.c: Likewise.
33727 * benchtests/bench-strcat.c: Likewise.
33728 * benchtests/bench-strchr.c: Likewise.
33729 * benchtests/bench-strcmp.c: Likewise.
33730 * benchtests/bench-strcpy.c: Likewise.
33731 * benchtests/bench-strcpy_chk.c: Likewise.
33732 * benchtests/bench-strlen.c: Likewise.
33733 * benchtests/bench-strncasecmp.c: Likewise.
33734 * benchtests/bench-strncat.c: Likewise.
33735 * benchtests/bench-strncmp.c: Likewise.
33736 * benchtests/bench-strncpy.c: Likewise.
33737 * benchtests/bench-strnlen.c: Likewise.
33738 * benchtests/bench-strpbrk.c: Likewise.
33739 * benchtests/bench-strrchr.c: Likewise.
33740 * benchtests/bench-strspn.c: Likewise.
33741 * benchtests/bench-strstr.c: Likewise.
33742
33743 2013-09-04 Will Newton <will.newton@linaro.org>
33744
33745 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
33746
33747 2013-09-03 Joseph Myers <joseph@codesourcery.com>
33748
33749 [BZ #15427]
33750 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
33751 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
33752 * math/libm-test.inc (lgamma_test_data): Add more tests.
33753 * sysdeps/i386/fpu/libm-test-ulps: Update.
33754 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33755
33756 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
33757
33758 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
33759 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
33760 Add ifunc.
33761 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
33762 Add strcmp-sse2-unaligned
33763 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
33764
33765 2013-09-02 Mike Frysinger <vapier@gentoo.org>
33766
33767 * Versions.def (libc): Add GLIBC_2.19.
33768
33769 2013-09-02 Mike Frysinger <vapier@gentoo.org>
33770
33771 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
33772 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
33773
33774 2013-09-02 Joseph Myers <joseph@codesourcery.com>
33775
33776 [BZ #14155]
33777 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
33778 intermediate calculations in recurrence.
33779 (__ieee754_ynf): Likewise.
33780 * math/libm-test.inc (jn_test_data): Do not allow spurious
33781 underflow exception. Add more tests.
33782 (yn_test_data): Add more tests.
33783 * sysdeps/i386/fpu/libm-test-ulps: Update.
33784 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33785
33786 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
33787
33788 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
33789
33790 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
33791
33792 * csu/init-first.c: Fix then/than typos.
33793 * locale/programs/ld-collate.c: Likewise.
33794 * locale/programs/linereader.h: Likewise.
33795 * manual/charset.texi: Likewise.
33796 * manual/filesys.texi: Likewise.
33797 * manual/stdio.texi: Likewise.
33798 * manual/string.texi: Likewise.
33799 * stdlib/fmtmsg.c: Likewise.
33800 * sysdeps/i386/stpncpy.S: Likewise.
33801 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
33802 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
33803 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
33804 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
33805
33806 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
33807
33808 * elf/dl-open.c: Fix typos.
33809 * iconvdata/gbbig5.c: Likewise.
33810 * iconvdata/iso-2022-jp.c: Likewise.
33811 * iconv/gconv_int.h: Likewise.
33812 * iconv/loop.c: Likewise.
33813 * nis/rpcsvc/nis.h: Likewise.
33814 * resolv/ns_name.c: Likewise.
33815 * stdio-common/vfscanf.c: Likewise.
33816 * streams/stropts.h: Likewise.
33817 * sunrpc/rpc_thread.c: Likewise.
33818 * sysdeps/i386/strpbrk.S: Likewise.
33819 * sysdeps/ieee754/k_standard.c: Likewise.
33820 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
33821 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
33822 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
33823 * sysdeps/mach/hurd/profil.c: Likewise.
33824 * sysdeps/s390/dl-procinfo.h: Likewise.
33825 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
33826 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
33827 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
33828 * sysdeps/x86_64/dl-trampoline.S: Likewise.
33829 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
33830
33831 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
33832
33833 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
33834 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
33835
33836 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
33837
33838 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
33839 aix specific files.
33840 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
33841 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
33842 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
33843 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
33844 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
33845 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
33846 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
33847 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
33848
33849 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
33850 Roland McGrath <roland@hack.frob.com>
33851
33852 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
33853 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
33854
33855 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
33856
33857 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
33858 __executable_start symbol instead of _start.
33859
33860 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
33861
33862 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
33863 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
33864 Move macros to...
33865 * sysdeps/gnu/ldsodefs.h: ... this new file.
33866
33867 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
33868 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
33869 instead of ELFOSABI_LINUX.
33870
33871 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
33872 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
33873 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
33874 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
33875 Likewise.
33876 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
33877 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
33878 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
33879 Likewise.
33880 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
33881 (ibm_extended_long_double): Add ieee_nan member.
33882 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
33883 (do_test): New function.
33884
33885 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
33886 TEST_TRUNC.
33887 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
33888 functions, renamed from truncdfsf_test, trunctfsf_test,
33889 trunctfdf_test.
33890 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
33891 functions.
33892 (do_test): Run all these.
33893
33894 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
33895
33896 * argp/argp-help.c: Fix typos.
33897 * argp/argp-parse.c: Likewise.
33898 * debug/backtracesyms.c: Likewise.
33899 * elf/elf.h: Likewise.
33900 * malloc/malloc.c: Likewise.
33901 * nis/nis_print.c: Likewise.
33902 * resolv/res_comp.c: Likewise.
33903 * stdlib/stdlib.h: Likewise.
33904 * sunrpc/clnt_tcp.c: Likewise.
33905 * sunrpc/clnt_udp.c: Likewise.
33906 * sunrpc/clnt_unix.c: Likewise.
33907 * sysdeps/unix/bsd/ptsname.c: Likewise.
33908 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
33909 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
33910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
33911 Likewise.
33912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
33913 Likewise.
33914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
33915 Likewise.
33916 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
33917
33918 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33919
33920 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
33921 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
33922
33923 2013-08-27 Mike Frysinger <vapier@gentoo.org>
33924
33925 [BZ #15897]
33926 * dlfcn/Makefile (tests): Add bug-dl-leaf.
33927 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
33928 ($(objpfx)bug-dl-leaf): New rule.
33929 ($(objpfx)bug-dl-leaf.so): Likewise.
33930 ($(objpfx)bug-dl-leaf.out): Likewise.
33931 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
33932 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
33933 * dlfcn/bug-dl-leaf.c: New test.
33934 * dlfcn/bug-dl-leaf-lib.c: Likewise.
33935 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
33936 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
33937 (dlclose): Likewise.
33938 (dlmopen): Likewise.
33939
33940 2013-08-27 Roland McGrath <roland@hack.frob.com>
33941
33942 * include/netdb.h [!_ISOMAC]:
33943 Don't include <tls.h>.
33944 (h_errno, __libc_h_errno): Move declaration and macros out of
33945 [_LIBC_REENTRANT].
33946
33947 * include/resolv.h [_RESOLV_H_]:
33948 Don't include <tls.h>.
33949 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
33950 * resolv/res_libc.c: Don't include <tls.h>.
33951 (_res): Use __attribute__ ((nocommon)) in place of
33952 __attribute__ ((section (".bss"))).
33953
33954 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
33955 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
33956
33957 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
33958
33959 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
33960 only under [SIOCGIFCONF && SIOCGIFNETMASK].
33961
33962 * resolv/res_mkquery.c: Include <sys/time.h>.
33963
33964 * inet/ifreq.c: Moved to ...
33965 * sysdeps/unix/ifreq.c: ... here.
33966 * inet/ifreq.c: New file, true stub version.
33967
33968 * socket/sa_len.c: New file.
33969 * socket/Makefile (aux): Add it.
33970 * sysdeps/unix/sysv/linux/Makefile
33971 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
33972 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
33973 and #include <socket/sa_len.c>.
33974 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
33975 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
33976
33977 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
33978 * bits/socket.h: ... here.
33979
33980 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
33981 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
33982 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
33983
33984 2013-08-27 Andreas Schwab <schwab@suse.de>
33985
33986 [BZ #15736]
33987 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
33988 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
33989 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
33990 * string/test-strcasecmp.c (test_main): Run tests in several
33991 locales.
33992 * string/test-strncasecmp.c (test_main): Likewise.
33993
33994 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
33995 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
33996 to __strcasecmp_nonascii and __strncasecmp_nonascii.
33997 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
33998 (__strncasecmp_ssse3) [PIC]: Likewise.
33999
34000 2013-08-26 Roland McGrath <roland@hack.frob.com>
34001
34002 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
34003
34004 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
34005 instead of explicitly declaring xdecrypt.
34006 * nis/nss_nis/nis-publickey.c: Likewise.
34007
34008 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
34009
34010 [BZ #15890]
34011 * nscd/aicache.c: Include res_hconf.h.
34012 (addhstaiX): Initialize res_hconf.
34013
34014 2013-08-26 Andreas Schwab <schwab@suse.de>
34015
34016 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
34017 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
34018
34019 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
34020
34021 * nscd/aicache.c (addhstaiX): Fix indentation.
34022
34023 2013-08-25 Mike Frysinger <vapier@gentoo.org>
34024
34025 * configure.ac: Quote $build_pt_chown test.
34026 * configure: Regenerated.
34027
34028 2013-08-23 Joseph Myers <joseph@codesourcery.com>
34029
34030 [BZ #15532]
34031 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
34032 * math/s_cexpf.c (__cexpf): Likewise.
34033 * math/s_cexpl.c (__cexpl): Likewise.
34034 * math/libm-test.inc (cexp_test_data): Correct expected return
34035 value for NaN + i0. Add another test.
34036
34037 2013-08-22 David S. Miller <davem@davemloft.net>
34038
34039 * po/ca.po: Update Catalan translation from translation project.
34040 * po/uk.po: Add Ukrainian translations from translation project.
34041
34042 2013-08-21 Joseph Myers <joseph@codesourcery.com>
34043
34044 [BZ #15797]
34045 * math/s_fdim.c (__fdim): Check for infinite arguments if result
34046 is infinite, not alongside NaN test.
34047 * math/s_fdimf.c (__fdimf): Likewise.
34048 * math/s_fdiml.c (__fdiml): Likewise.
34049 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
34050 errno is unchanged.
34051
34052 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
34053
34054 * argp/argp-help.c: Fix typos.
34055 * crypt/speeds.c: Likewise.
34056 * csu/check_fds.c: Likewise.
34057 * elf/dl-load.c: Likewise.
34058 * elf/dl-open.c: Likewise.
34059 * elf/reldep3.c: Likewise.
34060 * elf/reldep.c: Likewise.
34061 * elf/sprof.c: Likewise.
34062 * iconv/iconv_charmap.c: Likewise.
34063 * iconv/skeleton.c: Likewise.
34064 * iconv/strtab.c: Likewise.
34065 * io/lockf64.c: Likewise.
34066 * libio/libioP.h: Likewise.
34067 * resolv/gai_notify.c: Likewise.
34068 * resolv/ns_name.c: Likewise.
34069 * resolv/ns_samedomain.c: Likewise.
34070 * resolv/res_send.c: Likewise.
34071 * stdlib/random.c: Likewise.
34072 * sunrpc/rpc/xdr.h: Likewise.
34073 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
34074 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
34075 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
34076 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
34077 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
34078 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
34079 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
34080 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
34081 * sysdeps/mach/hurd/check_fds.c: Likewise.
34082 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
34083 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
34084 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
34085 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
34086 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
34087 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
34088 * sysdeps/pthread/aio_notify.c: Likewise.
34089 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
34090 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
34091 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
34092 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
34093 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
34094
34095 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34096
34097 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
34098 version if bit_Slow_SSE4_2 is set.
34099 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
34100 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
34101
34102 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34103
34104 [BZ #15867]
34105 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
34106 trampoline stack frame information.
34107 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
34108 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
34109 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
34110 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
34111 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
34112 * sysdeps/unix/sysv/linux/powerpc/init-first.c
34113 (_libc_vdso_platform_setup): Initialize the signal trampolines.
34114 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
34115 sa_flags value.
34116 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
34117 interrupting a syscall and set with option SA_SIGINFO.
34118
34119 2013-08-20 Joseph Myers <joseph@codesourcery.com>
34120
34121 [BZ #15531]
34122 * math/s_cproj.c (__cproj): Only return an infinity if one part of
34123 argument is infinite.
34124 * math/s_cprojf.c (__cprojf): Likewise.
34125 * math/s_cprojl.c (__cprojl): Likewise.
34126 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
34127 * math/libm-test.inc (cproj_test_data): Add more tests.
34128
34129 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
34130
34131 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
34132 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
34133 size. Use __ffs to determine corresponding shift.
34134
34135 2013-08-20 Joseph Myers <joseph@codesourcery.com>
34136 Roland McGrath <roland@hack.frob.com>
34137
34138 * Makefile (INSTALL): Remove trailing blank lines from output of
34139 makeinfo.
34140
34141 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34142
34143 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
34144 Align 32 bit compat elf_greg to 8 bytes.
34145
34146 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
34147
34148 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
34149
34150 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
34151
34152 * string/strcoll_l.c (coll_seq): New structure.
34153 (get_next_seq_cached): New function.
34154 (get_next_seq): New function.
34155 (do_compare): New function.
34156 (STRCOLL): Use GNU style definition. Simplify implementation
34157 by using get_next_seq, get_next_seq_cached and do_compare.
34158
34159 2013-08-16 Florian Weimer <fweimer@redhat.com>
34160
34161 [BZ #14699]
34162 CVE-2013-4237
34163 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
34164 member.
34165 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
34166 member.
34167 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
34168 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
34169 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
34170 conditional.
34171 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
34172 GETDENTS_64BIT_ALIGNED.
34173 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
34174 * manual/filesys.texi (Reading/Closing Directory): Document
34175 ENAMETOOLONG return value of readdir_r. Recommend readdir more
34176 strongly.
34177 * manual/conf.texi (Limits for Files): Add portability note to
34178 NAME_MAX, PATH_MAX.
34179 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
34180
34181 2013-08-13 Andreas Schwab <schwab@suse.de>
34182
34183 [BZ #15749]
34184 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
34185 of fabs.
34186 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
34187 LDBL_MAX_EXP >= 16384]: Add tests for it.
34188
34189 2013-08-12 David S. Miller <davem@davemloft.net>
34190
34191 * version.h (RELEASE): Set to "development".
34192 (VERSION): Set to "2.18.90".
34193 * NEWS: Add 2.19 section.
34194
34195 2013-08-03 David S. Miller <davem@davemloft.net>
34196
34197 * po/ko.po: Update Korean translation from translation project.
34198
34199 2013-08-01 David S. Miller <davem@davemloft.net>
34200
34201 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
34202 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
34203 Bilka.
34204
34205 2013-07-30 David S. Miller <davem@davemloft.net>
34206
34207 * po/fr.po: Update French translation from translation project.
34208
34209 2013-07-28 David S. Miller <davem@davemloft.net>
34210
34211 * po/cs.po: Update Czech translation from translation project.
34212
34213 * po/sv.po: Update Swedish translation from translation project.
34214
34215 2013-07-27 David S. Miller <davem@davemloft.net>
34216
34217 * po/eo.po: Update Esperanto translation from translation project.
34218
34219 * po/vi.po: Update Vietnamese translation from translation project.
34220
34221 * po/de.po: Update German translation from translation project.
34222
34223 2013-07-26 David S. Miller <davem@davemloft.net>
34224
34225 * po/bg.po: Update Bulgarian translation from translation project.
34226
34227 * po/nl.po: Update Dutch translation from translation project.
34228 * po/pl.po: Update Polish translation from translation project.
34229 * po/ru.po: Update Russian translation from translation project.
34230
34231 2013-07-24 David S. Miller <davem@davemloft.net>
34232
34233 * po/libc.pot: Update.
34234
34235 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34236
34237 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
34238 variable page size.
34239 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
34240 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
34241 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
34242
34243 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34244
34245 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
34246
34247 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
34248 Andreas Schwab <schwab@suse.de>
34249 Roland McGrath <roland@hack.frob.com>
34250 Joseph Myers <joseph@codesourcery.com>
34251 Carlos O'Donell <carlos@redhat.com>
34252
34253 [BZ #15755]
34254 * config.h.in: Define HAVE_PT_CHOWN.
34255 * config.make.in (build-pt-chown): New variable.
34256 * configure.in (--enable-pt_chown): New configure option.
34257 * configure: Regenerate.
34258 * login/Makefile: Include Makeconfig. Build pt_chown only if
34259 build-pt-chown is enabled.
34260 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
34261 pt_chown to fix pty ownership.
34262 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
34263 CLOSE_ALL_FDS.
34264 * manual/install.texi (Configuring and compiling): Mention
34265 --enable-pt_chown. Add @findex for grantpt.
34266 * INSTALL: Regenerate.
34267
34268 2013-07-20 David S. Miller <davem@davemloft.net>
34269
34270 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
34271 difference between 32-bit and 64-bit.
34272
34273 2013-07-15 Carlos O'Donell <carlos@redhat.com>
34274
34275 [BZ #15711]
34276 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
34277 Avoid system header dependency with -ffreestanding.
34278 ($(objpfx)bits/syscall%d): Likewise.
34279
34280 2013-07-13 David S. Miller <davem@davemloft.net>
34281
34282 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
34283 underflows from atanl/atan2l due to bug 15319.
34284 (casinh_test_data): Likewise.
34285
34286 2013-07-07 David S. Miller <davem@davemloft.net>
34287
34288 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
34289
34290 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
34291
34292 * sysdeps/i386/fpu/libm-test-ulps: Update.
34293 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34294
34295 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
34296
34297 * configure.in (--enable-lock-elision): Fix message text.
34298 * INSTALL: Regenerate.
34299 * configure: Regenerate.
34300
34301 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34302
34303 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34304
34305 2013-07-03 Andreas Jaeger <aj@suse.de>
34306
34307 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
34308 define.
34309 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
34310 (ptrace_peeksiginfo_args): Add.
34311 (__ptrace_peeksiginfo_flags): Add.
34312 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34313 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34314 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34315
34316 2013-07-03 Allan McRae <allan@archlinux.org>
34317
34318 * sysdeps/i386/fpu/libm-test-ulps: Update.
34319
34320 2013-07-02 David S. Miller <davem@davemloft.net>
34321
34322 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34323
34324 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
34325
34326 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34327
34328 2013-07-02 Joseph Myers <joseph@codesourcery.com>
34329
34330 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
34331 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34332
34333 2013-07-02 Andi Kleen <ak@linux.intel.com>
34334
34335 * config.h.in (ENABLE_LOCK_ELISION): Add.
34336 * configure.in (--enable-lock-elision): Add option.
34337 * manual/install.texi: Document --enable lock elision.
34338 * configure: Regenerate
34339 * INSTALL: Regenerate.
34340
34341 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
34342
34343 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
34344 SSE4.2 strcasecmp for libc.a.
34345 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
34346
34347 2013-07-02 Joseph Myers <joseph@codesourcery.com>
34348
34349 [BZ #13304]
34350 * soft-fp/op-common.h (_FP_FMA): New macro.
34351 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
34352 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
34353 (_FP_MUL_MEAT_1_imm): ... here.
34354 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
34355 (_FP_MUL_MEAT_1_wide): ... here.
34356 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
34357 (_FP_MUL_MEAT_1_hard): ... here.
34358 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
34359 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
34360 (_FP_MUL_MEAT_2_wide): ... here.
34361 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
34362 (_FP_MUL_MEAT_2_wide_3mul): ... here.
34363 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
34364 (_FP_MUL_MEAT_2_gmp): ... here.
34365 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
34366 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
34367 (_FP_MUL_MEAT_4_wide): ... here.
34368 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
34369 (_FP_MUL_MEAT_4_gmp): ... here.
34370 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
34371 (_FP_WFRACBITS_DW_S): Likewise.
34372 (_FP_WFRACXBITS_DW_S): Likewise.
34373 (_FP_HIGHBIT_DW_S): Likewise.
34374 (FP_FMA_S): Likewise.
34375 (_FP_FRAC_HIGH_DW_S): Likewise.
34376 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
34377 (_FP_WFRACBITS_DW_D): Likewise.
34378 (_FP_WFRACXBITS_DW_D): Likewise.
34379 (_FP_HIGHBIT_DW_D): Likewise.
34380 (FP_FMA_D): Likewise.
34381 (_FP_FRAC_HIGH_DW_D): Likewise.
34382 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
34383 (_FP_WFRACBITS_DW_E): Likewise.
34384 (_FP_WFRACXBITS_DW_E): Likewise.
34385 (_FP_HIGHBIT_DW_E): Likewise.
34386 (FP_FMA_E): Likewise.
34387 (_FP_FRAC_HIGH_DW_E): Likewise.
34388 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
34389 (_FP_WFRACBITS_DW_Q): Likewise.
34390 (_FP_WFRACXBITS_DW_Q): Likewise.
34391 (_FP_HIGHBIT_DW_Q): Likewise.
34392 (FP_FMA_Q): Likewise.
34393 (_FP_FRAC_HIGH_DW_Q): Likewise.
34394 * soft-fp/fmasf4.c: New file.
34395 * soft-fp/fmadf4.c: Likewise.
34396 * soft-fp/fmatf4.c: Likewise.
34397
34398 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34399
34400 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
34401 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
34402 Silvermont.
34403 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
34404 macro.
34405 (index_Slow_SSE4_2): Likewise.
34406 (index_Prefer_PMINUB_for_stringop): Likewise.
34407 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
34408 bit_Slow_SSE4_2 is set.
34409 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
34410 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
34411
34412 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
34413
34414 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
34415 rtld_global._dl_hwcap2.
34416 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
34417 POWER8.
34418 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
34419 POWER8 feature descriptions defined in _dl_hwcap2.
34420 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
34421 string handling for POWER8 feature bits.
34422 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
34423 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
34424 _dl_powerpc_cap_flags.
34425 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
34426 * sysdeps/powerpc/rtld-global-offsets.sym
34427 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
34428 _dl_hwcap2 in the rtld_global_ro structure.
34429
34430 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
34431
34432 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
34433 hardware capabilities in support of AT_HWCAP2.
34434 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
34435 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
34436 GLRO(dl_hwcap2).
34437 (_dl_show_auxv): Add support for calling _dl_procinfo to display
34438 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
34439 explicitly the unknown a_type display mechanism is used.
34440 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
34441 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
34442 struct member.
34443 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
34444 to macro prototype for AT_HWCAP2 support.
34445 * sysdeps/i386/dl-procinfo.h: Likewise.
34446 * sysdeps/s390/dl-procinfo.h: Likewise.
34447 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
34448 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
34449 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
34450 return -1 for unknown a_type display fallback.
34451 * sysdeps/sparc/dl-procinfo.h: Likewise.
34452 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
34453 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
34454
34455 2013-06-28 Joseph Myers <joseph@codesourcery.com>
34456
34457 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
34458 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
34459
34460 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
34461
34462 [BZ #12492]
34463 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
34464 mprotect making __stack_prot writable.
34465
34466 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
34467 Joseph Myers <joseph@codesourcery.com>
34468
34469 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
34470 as being properly aligned.
34471
34472 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
34473
34474 * dlfcn/modstatic5.c: New file.
34475 * dlfcn/tststatic5.c: New file.
34476 * dlfcn/Makefile (tests): Add tststatic5.
34477 (tests-static): Likewise.
34478 (modules-names): Add modstatic5.
34479 (tststatic5-ENV): New variable.
34480 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
34481
34482 [BZ #15022]
34483 * elf/dl-support.c (_dl_main_map): New variable.
34484 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
34485 (_dl_nns, _dl_load_adds): Set to 1.
34486 (_dl_initial_searchlist): Refer to _dl_main_map.
34487 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
34488 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
34489 call to _dl_get_origin.
34490 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
34491 around call_map.
34492 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
34493 * dlfcn/modstatic3.c: New file.
34494 * dlfcn/tststatic3.c: New file.
34495 * dlfcn/tststatic4.c: New file.
34496 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
34497 (tests-static): Likewise.
34498 (modules-names): Add modstatic3.
34499 (tststatic3-ENV, tststatic4-ENV): New variables.
34500 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
34501 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
34502
34503 2013-06-26 Joseph Myers <joseph@codesourcery.com>
34504
34505 * configure.in (CC): Require GCC version 4.4 or later.
34506 * configure: Regenerated.
34507 * manual/install.texi (Tools for Compilation): Update GCC version
34508 requirement.
34509 * INSTALL: Regenerated.
34510
34511 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34512
34513 [BZ #15674]
34514 * string/test-memcmp.c (check2): New.
34515 (main): Call check2.
34516
34517 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
34518
34519 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
34520
34521 [BZ #15022]
34522 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
34523 over to...
34524 (dl_open_worker) [!SHARED]: ... here.
34525
34526 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
34527
34528 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
34529
34530 2013-06-25 Richard Henderson <rth@redhat.com>
34531
34532 * locale/programs/locarchive.c: Include <libc-internal.h>
34533
34534 2013-06-25 Joseph Myers <joseph@codesourcery.com>
34535
34536 * manual/texinfo.tex: Update to version 2013-06-21.17, with
34537 trailing whitespace removed.
34538
34539 2013-06-24 Mike Frysinger <vapier@gentoo.org>
34540
34541 [BZ #10283]
34542 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
34543 * locale/programs/locarchive.c: Include libc-mmap.h.
34544 (prepare_address_space): Take two new outputs (the mmap base and len).
34545 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
34546 values.
34547 (create_archive): Declare new mmap base and len values for
34548 prepare_address_space, and store the result in ah.
34549 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
34550 (enlarge_archive): If ah->mmap_base is not NULL, use that and
34551 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
34552 Declare new mmap base and len values for
34553 prepare_address_space, and store the result in new_ah.
34554 (open_archive): Declare new mmap base and len values for
34555 prepare_address_space, and store the result in ah.
34556 (close_archive): If ah->mmap_base is not NULL, use that and
34557 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
34558 * sysdeps/generic/libc-mmap.h: New file.
34559
34560 2013-06-24 Mike Frysinger <vapier@gentoo.org>
34561
34562 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
34563 (ALIGN_UP): Likewise.
34564 (PTR_ALIGN_DOWN): Likewise.
34565 (PTR_ALIGN_UP): Likewise.
34566
34567 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
34568
34569 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
34570 entry mapped to PPC_PLATFORM_POWER8.
34571 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
34572 POWER8.
34573 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
34574 (_dl_string_platform): Add case for exporting platform position for
34575 POWER8.
34576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
34577 search path to sysdeps/powerpc/powerpc32/power8 directory.
34578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
34579 search path to sysdeps/powerpc/powerpc64/power8 directory.
34580 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
34581 power7 directories.
34582 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
34583 power7 directories.
34584
34585 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
34586
34587 * INSTALL: Regenerate.
34588
34589 * nscd/connections.c (nscd_init): Fix comment.
34590
34591 2013-06-22 Joseph Myers <joseph@codesourcery.com>
34592
34593 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
34594
34595 [BZ #15667]
34596 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
34597 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
34598
34599 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
34600
34601 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
34602 DL_DST_REQ_STATIC.
34603 (DL_DST_REQ_STATIC): Remove macro.
34604
34605 2013-06-21 Joseph Myers <joseph@codesourcery.com>
34606
34607 [BZ #7006]
34608 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
34609 with a shift of 0 bits.
34610
34611 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
34612
34613 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
34614 $(tststatic-ENV).
34615
34616 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
34617
34618 [BZ #15655]
34619 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
34620
34621 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34622
34623 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
34624 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
34625 accepts -fno-tree-loop-distribute-patterns.
34626 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
34627 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
34628 recursive call.
34629 * string/memset.c (memset): Likewise.
34630 * string/test-memmove.c (simple_memmove): Disable loop transformation
34631 to library calls.
34632 * string/test-memset.c (simple_memset): Likewise.
34633 * benchtests/bench-memmove.c (simple_memmove): Likewise.
34634 * benchtests/bench-memset.c (simple_memset): Likewise.
34635 * configure: Regenerated.
34636
34637 2013-06-20 Joseph Myers <joseph@codesourcery.com>
34638
34639 * math/test-misc.c (main): Ignore fesetround failure when failures
34640 of subsequent rounding tests would be ignored.
34641
34642 [BZ #15654]
34643 * math/fedisblxcpt.c (fedisableexcept): Return 0.
34644 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
34645 * math/fegetenv.c (__fegetenv): Return 0.
34646 * math/fegetexcept.c (fegetexcept): Return 0.
34647 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
34648 FE_TONEAREST.
34649 * math/feholdexcpt.c (feholdexcept): Return 0.
34650 * math/fesetenv.c (__fesetenv): Return 0.
34651 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
34652 argument FE_TONEAREST.
34653 * math/feupdateenv.c (__feupdateenv): Return 0.
34654 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
34655
34656 2013-06-18 Roland McGrath <roland@hack.frob.com>
34657
34658 * elf/rtld-Rules (rtld-compile-command.S): New variable.
34659 (rtld-compile-command.s, rtld-compile-command.c): New variables.
34660 ($(objpfx)rtld-%.os rules): Use them.
34661
34662 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34663
34664 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
34665 fields.
34666
34667 2013-06-17 Roland McGrath <roland@hack.frob.com>
34668
34669 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
34670 length of target pattern, then descending length of dependency pattern.
34671 * configure.in (AWK): Require gawk 3.1.2 or newer.
34672 * manual/install.texi (Tools for Compilation): Say that we do.
34673 * configure: Regenerated.
34674
34675 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
34676 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
34677 * scripts/sysd-rules.awk: ... this new script.
34678 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
34679 than a glob-style pattern.
34680
34681 2013-06-17 Joseph Myers <joseph@codesourcery.com>
34682
34683 * math/test-misc.c (main): Do not treat incorrectly rounded
34684 conversions as failure unless ROUNDING_TESTS passes.
34685
34686 2013-06-15 Joseph Myers <joseph@codesourcery.com>
34687
34688 [BZ #15631]
34689 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
34690 restore exception state around main square root computation, then
34691 check for inexactness explicitly.
34692
34693 * math/libm-test.inc (fma_test_data): Add another test.
34694
34695 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
34696
34697 * manual/threads.texi (Non-POSIX Extensions): New document
34698 node. Document pthread_getattr_default_np and
34699 pthread_setattr_default_np.
34700
34701 * Versions.def (libpthread): Add GLIBC_2.18.
34702 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
34703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
34704 Likewise.
34705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
34706 Likewise.
34707 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
34708 Likewise.
34709 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
34710 Likewise.
34711 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
34712 Likewise.
34713 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
34714 Likewise.
34715 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
34716 Likewise.
34717 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
34718 Likewise.
34719 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
34720 Likewise.
34721
34722 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34723
34724 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34725 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
34726
34727 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
34728 H.J. Lu <hjl.tools@gmail.com>
34729
34730 [BZ #15627]
34731 * sysdeps/x86_64/rtld-memset.c: Remove file.
34732 * sysdeps/x86_64/rtld-memset.S: New file.
34733
34734 2013-06-14 Joseph Myers <joseph@codesourcery.com>
34735
34736 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
34737 (test_in_one_mode): Take arguments for whether the rounding mode
34738 is supported for each floating-point type.
34739 (do_test): Pass new arguments to test_in_one_mode using
34740 ROUNDING_TESTS.
34741
34742 2013-06-13 Roland McGrath <roland@hack.frob.com>
34743
34744 * posix/tst-waitid.c (do_test): Distinguish different instances of
34745 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
34746 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
34747 before entering the kernel for waitpid.
34748
34749 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
34750
34751 * NEWS: Fix note on clock function precision. Text by Roland
34752 McGrath.
34753
34754 2013-06-13 Roland McGrath <roland@hack.frob.com>
34755
34756 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
34757 it into place only when and if the sanity check passes.
34758
34759 2013-06-13 Joseph Myers <joseph@codesourcery.com>
34760
34761 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
34762 output for whether conversion result is exact. Take argument
34763 indicating whether type is IBM long double.
34764 (round_for_all): Change need_exact field to ibm_ld.
34765 * stdlib/tst-strtod-round.c (struct exactness): New type.
34766 (struct test): Change bool ld_ok field to struct exactness exact.
34767 (TEST): Update all definitions for change to field.
34768 (tests): Regenerate array contents.
34769 (test_in_one_mode): Take pointer to new field instead of old ld_ok
34770 field value. Check for IBM long double here.
34771 (do_test): Update calls to test_in_one_mode.
34772
34773 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
34774
34775 [BZ #12515]
34776 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
34777 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
34778
34779 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34780
34781 [BZ #15605]
34782 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
34783 generated by the compiler on loop optimizations.
34784 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
34785 general definitions.
34786
34787 2013-06-12 Joseph Myers <joseph@codesourcery.com>
34788
34789 * math/bug-nextafter.c: Include <math-tests.h>.
34790 (main): Only test for exceptions if EXCEPTION_TESTS is true for
34791 the relevant type.
34792 * math/bug-nexttoward.c: Include <math-tests.h>.
34793 (main): Only test for exceptions if EXCEPTION_TESTS is true for
34794 the relevant type.
34795 * math/test-misc.c: Include <math-tests.h>.
34796 (main): Only test for exceptions if EXCEPTION_TESTS is true for
34797 the relevant type.
34798
34799 2013-06-12 Andreas Jaeger <aj@suse.de>
34800
34801 * po/ia.po: Update Interlingua translation from translation
34802 project.
34803
34804 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
34805
34806 * include/fenv.h: Include stdbool.h.
34807 (struct rm_ctx): New structure.
34808 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
34809 Define macro.
34810 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
34811 (SET_RESTORE_ROUNDF): Likewise.
34812 (SET_RESTORE_ROUNDL): Likewise.
34813 (SET_RESTORE_ROUND_NOEX): Likewise.
34814 (SET_RESTORE_ROUND_NOEXF): Likewise.
34815 (SET_RESTORE_ROUND_NOEXL): Likewise.
34816 (SET_RESTORE_ROUND_53BIT): Likewise.
34817 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
34818 (libc_feresetround_noexf_ctx): Likewise.
34819 (libc_feresetround_noexl_ctx): Likewise.
34820 (libc_feholdsetround_53bit_ctx): Likewise.
34821 (libc_feresetround_53bit_ctx): Likewise.
34822 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
34823 (libc_feholdexcept_setround_sse_ctx): New function.
34824 (libc_fesetenv_sse_ctx): Likewise.
34825 (libc_feupdateenv_sse_ctx): Likewise.
34826 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
34827 (libc_feholdexcept_setround_387_ctx): Likewise.
34828 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
34829 (libc_feholdsetround_387_prec_ctx): Likewise.
34830 (libc_feholdsetround_387_ctx): Likewise.
34831 (libc_feholdsetround_387_53bit_ctx): Likewise.
34832 (libc_feholdsetround_sse_ctx): Likewise.
34833 (libc_feresetround_sse_ctx): Likewise.
34834 (libc_feresetround_387_ctx): Likewise.
34835 (libc_feupdateenv_387_ctx): Likewise.
34836 (libc_feholdexcept_setroundf_ctx): Define macro.
34837 (libc_fesetenvf_ctx): Likewise.
34838 (libc_feupdateenvf_ctx): Likewise.
34839 (libc_feholdsetroundf_ctx): Likewise.
34840 (libc_feresetroundf_ctx): Likewise.
34841 (libc_feholdexcept_setround_ctx): Likewise.
34842 (libc_fesetenv_ctx): Likewise.
34843 (libc_feupdateenv_ctx): Likewise.
34844 (libc_feholdsetround_ctx): Likewise.
34845 (libc_feresetround_ctx): Likewise.
34846 (libc_feholdexcept_setroundl_ctx): Likewise.
34847 (libc_feupdateenvl_ctx): Likewise.
34848 (libc_feholdsetroundl_ctx): Likewise.
34849 (libc_feresetroundl_ctx): Likewise.
34850 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
34851 (libc_feresetround_53bit_ctx): Likewise.
34852
34853 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
34854
34855 * locale/iso-639.def: Convert to UTF-8.
34856
34857 2013-06-11 Joseph Myers <joseph@codesourcery.com>
34858
34859 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
34860 (EXCEPTION_TESTS_double): Likewise.
34861 (EXCEPTION_TESTS_long_double): Likewise.
34862 (EXCEPTION_TESTS): Likewise.
34863 * math/libm-test.inc (test_exceptions): Only test exceptions if
34864 EXCEPTION_TESTS (FLOAT).
34865
34866 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
34867
34868 * benchtests/Makefile (string-bench): Add strcpy_chk and
34869 stpcpy_chk.
34870 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
34871 * benchtests/bench-stpcpy_chk.c: New file.
34872 * benchtests/bench-strcpy_chk-ifunc.c: New file.
34873 * benchtests/bench-strcpy_chk.c: New file.
34874 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
34875 code.
34876 (do_test): Likewise.
34877
34878 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
34879
34880 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
34881 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
34882 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
34883 with tabs where appropriate.
34884 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
34885 dl-procinfo.h.
34886 [PPC_PLATFORM_PPC440]: Likewise.
34887 [PPC_PLATFORM_PPC464]: Likewise.
34888 [PPC_PLATFORM_PPC476]: Likewise.
34889 (_dl_string_platform): Add support for detecting ppc405, ppc440,
34890 ppc464, and ppc476 platform strings merging from ports/
34891 dl-procinfo.h.
34892
34893 2013-06-11 Andreas Schwab <schwab@suse.de>
34894
34895 [BZ #14991]
34896 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
34897 (from_ucs4_idx): Regenerate.
34898 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
34899 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
34900 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
34901 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
34902 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
34903 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
34904 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
34905 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
34906 from FROM_LOOP and TO_LOOP specific macros.
34907 (BODY): Handle combining characters.
34908 * iconvdata/BIG5HKSCS.irreversible: Update.
34909 * iconvdata/BIG5HKSCS.precomposed: New file.
34910 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
34911 characters.
34912 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
34913
34914 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
34915
34916 * include/sys/time.h: Fix indentation and add copyright header.
34917
34918 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
34919 (do_test): Likewise.
34920 * string/test-memchr.c (do_one_test): Likewise.
34921 (do_test): Likewise.
34922 * string/test-memcmp.c (do_one_test): Likewise.
34923 (do_test): Likewise.
34924 * string/test-memcpy.c (do_one_test): Likewise.
34925 (do_test): Likewise.
34926 * string/test-memmem.c (do_one_test): Likewise.
34927 (do_test): Likewise.
34928 (do_random_tests): Likewise.
34929 * string/test-memmove.c (do_one_test): Likewise.
34930 (do_test): Likewise.
34931 * string/test-memset.c (do_one_test): Likewise.
34932 (do_test): Likewise.
34933 * string/test-rawmemchr.c (do_one_test): Likewise.
34934 (do_test): Likewise.
34935 * string/test-strcasecmp.c (do_one_test): Likewise.
34936 (do_test): Likewise.
34937 * string/test-strcasestr.c (do_one_test): Likewise.
34938 (do_test): Likewise.
34939 * string/test-strcat.c (do_one_test): Likewise.
34940 (do_test): Likewise.
34941 * string/test-strchr.c (do_one_test): Likewise.
34942 (do_test): Likewise.
34943 * string/test-strcmp.c (do_one_test): Likewise.
34944 (do_test): Likewise.
34945 * string/test-strcpy.c (do_one_test): Likewise.
34946 (do_test): Likewise.
34947 * string/test-string.h: Likewise.
34948 (test_init): Likewise.
34949 * string/test-strlen.c (do_one_test): Likewise.
34950 (do_test): Likewise.
34951 * string/test-strncasecmp.c (do_one_test): Likewise.
34952 (do_test): Likewise.
34953 * string/test-strncat.c (do_one_test): Likewise.
34954 (do_test): Likewise.
34955 * string/test-strncmp.c (do_one_test): Likewise.
34956 (do_test_limit): Likewise.
34957 (do_test): Likewise.
34958 * string/test-strncpy.c (do_one_test): Likewise.
34959 (do_test): Likewise.
34960 * string/test-strnlen.c (do_one_test): Likewise.
34961 (do_test): Likewise.
34962 * string/test-strpbrk.c (do_one_test): Likewise.
34963 (do_test): Likewise.
34964 * string/test-strrchr.c (do_one_test): Likewise.
34965 (do_test): Likewise.
34966 * string/test-strspn.c (do_one_test): Likewise.
34967 (do_test): Likewise.
34968 * string/test-strstr.c (do_one_test): Likewise.
34969 (do_test): Likewise.
34970
34971 * benchtests/Makefile (string-bench): Add string benchmarks.
34972 * benchtests/bench-bcopy-ifunc.c: New file.
34973 * benchtests/bench-bcopy.c: New file.
34974 * benchtests/bench-bzero-ifunc.c: New file.
34975 * benchtests/bench-bzero.c: New file.
34976 * benchtests/bench-memccpy-ifunc.c: New file.
34977 * benchtests/bench-memccpy.c: New file.
34978 * benchtests/bench-memchr-ifunc.c: New file.
34979 * benchtests/bench-memchr.c: New file.
34980 * benchtests/bench-memcmp-ifunc.c: New file.
34981 * benchtests/bench-memcmp.c: New file.
34982 * benchtests/bench-memmem-ifunc.c: New file.
34983 * benchtests/bench-memmem.c: New file.
34984 * benchtests/bench-memmove-ifunc.c: New file.
34985 * benchtests/bench-memmove.c: New file.
34986 * benchtests/bench-mempcpy-ifunc.c: New file.
34987 * benchtests/bench-mempcpy.c: New file.
34988 * benchtests/bench-memset-ifunc.c: New file.
34989 * benchtests/bench-memset.c: New file.
34990 * benchtests/bench-rawmemchr-ifunc.c: New file.
34991 * benchtests/bench-rawmemchr.c: New file.
34992 * benchtests/bench-stpcpy-ifunc.c: New file.
34993 * benchtests/bench-stpcpy.c: New file.
34994 * benchtests/bench-stpncpy-ifunc.c: New file.
34995 * benchtests/bench-stpncpy.c: New file.
34996 * benchtests/bench-strcasecmp-ifunc.c: New file.
34997 * benchtests/bench-strcasecmp.c: New file.
34998 * benchtests/bench-strcasestr-ifunc.c: New file.
34999 * benchtests/bench-strcasestr.c: New file.
35000 * benchtests/bench-strcat-ifunc.c: New file.
35001 * benchtests/bench-strcat.c: New file.
35002 * benchtests/bench-strchr-ifunc.c: New file.
35003 * benchtests/bench-strchr.c: New file.
35004 * benchtests/bench-strchrnul-ifunc.c: New file.
35005 * benchtests/bench-strchrnul.c: New file.
35006 * benchtests/bench-strcmp-ifunc.c: New file.
35007 * benchtests/bench-strcmp.c: New file.
35008 * benchtests/bench-strcpy-ifunc.c: New file.
35009 * benchtests/bench-strcpy.c: New file.
35010 * benchtests/bench-strcspn-ifunc.c: New file.
35011 * benchtests/bench-strcspn.c: New file.
35012 * benchtests/bench-strlen-ifunc.c: New file.
35013 * benchtests/bench-strlen.c: New file.
35014 * benchtests/bench-strncasecmp-ifunc.c: New file.
35015 * benchtests/bench-strncasecmp.c: New file.
35016 * benchtests/bench-strncat-ifunc.c: New file.
35017 * benchtests/bench-strncat.c: New file.
35018 * benchtests/bench-strncmp-ifunc.c: New file.
35019 * benchtests/bench-strncmp.c: New file.
35020 * benchtests/bench-strncpy-ifunc.c: New file.
35021 * benchtests/bench-strncpy.c: New file.
35022 * benchtests/bench-strnlen-ifunc.c: New file.
35023 * benchtests/bench-strnlen.c: New file.
35024 * benchtests/bench-strpbrk-ifunc.c: New file.
35025 * benchtests/bench-strpbrk.c: New file.
35026 * benchtests/bench-strrchr-ifunc.c: New file.
35027 * benchtests/bench-strrchr.c: New file.
35028 * benchtests/bench-strspn-ifunc.c: New file.
35029 * benchtests/bench-strspn.c: New file.
35030 * benchtests/bench-strstr-ifunc.c: New file.
35031 * benchtests/bench-strstr.c: New file.
35032
35033 * benchtests/Makefile: Disable parallel execution of targets.
35034 (string-bench): Add memcpy.
35035 (benchset): New variable to store a list of benchmark sets.
35036 (bench-func): Renamed from bench.
35037 (bench-set): New target.
35038 (bench): Depend on bench-func and bench-set.
35039 * benchtests/README: Add section on benchmark sets.
35040 * benchtests/bench-memcpy-ifunc.c: New file.
35041 * benchtests/bench-memcpy.c: New file.
35042 * benchtests/bench-string.h: New file.
35043
35044 2013-06-11 Andreas Schwab <schwab@suse.de>
35045
35046 [BZ #15577]
35047 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
35048 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
35049 values in the triple.
35050 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
35051 terminator in the group key.
35052
35053 2013-06-11 Andreas Jaeger <aj@suse.de>
35054
35055 * po/zh_TW.po: Update Chinese (traditional) translation from
35056 translation project.
35057
35058 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
35059
35060 * include/time.h (__clock_gettime): Add libc_hidden_proto.
35061 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
35062 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
35063 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
35064 (clock_getcpuclockid): Likewise.
35065 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
35066 Add weak_alias and libc_hidden_def.
35067 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
35068 * rt/clock_gettime.c (clock_gettime): Rename to
35069 __clock_gettime. Add weak_alias and libc_hidden_def.
35070 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
35071 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
35072 __clock_nanosleep. Add weak_alias and libc_hidden_def.
35073 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
35074 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
35075 Likewise.
35076 * rt/clock_settime.c (clock_settime): Rename to
35077 __clock_settime. Add weak_alias and libc_hidden_def.
35078 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
35079
35080 2013-06-10 Joseph Myers <joseph@codesourcery.com>
35081
35082 * mach/err_boot.sub: Remove trailing whitespace.
35083 * mach/err_ipc.sub: Likewise.
35084 * mach/err_mach.sub: Likewise.
35085
35086 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
35087 (ROUNDING_TESTS_double): Likewise.
35088 (ROUNDING_TESTS_long_double): Likewise.
35089 (ROUNDING_TESTS): Likewise.
35090 * math/libm-test.inc: Include <math-tests.h>.
35091 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
35092 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
35093 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
35094 (IF_ROUND_INIT_FE_UPWARD): Likewise.
35095
35096 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
35097
35098 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
35099 of assigning.
35100
35101 2013-06-08 Joseph Myers <joseph@codesourcery.com>
35102
35103 * sysdeps/gnu/errlist.awk: Do not generate space at end of
35104 otherwise empty TRANS lines.
35105 * sysdeps/gnu/errlist.c: Regenerated.
35106
35107 * catgets/gencat.c (error_print): Use (void) in function
35108 definition.
35109 * crypt/crypt_util.c (__init_des): Likewise.
35110 * crypt/speeds.c (Stop): Likewise.
35111 (main): Likewise.
35112 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
35113 * inet/ruserpass.c (token): Likewise.
35114 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
35115 * intl/localealias.c (extend_alias_table): Likewise.
35116 * intl/plural-exp.c (init_germanic_plural): Likewise.
35117 * libio/fcloseall.c (__fcloseall): Likewise.
35118 * libio/genops.c (_IO_flush_all): Likewise.
35119 (_IO_flush_all_linebuffered): Likewise.
35120 (_IO_cleanup): Likewise.
35121 (_IO_iter_begin): Likewise.
35122 (_IO_iter_end): Likewise.
35123 (_IO_list_lock): Likewise.
35124 (_IO_list_unlock): Likewise.
35125 (_IO_list_resetlock): Likewise.
35126 * libio/getchar.c (getchar): Likewise.
35127 * libio/getchar_u.c (getchar_unlocked): Likewise.
35128 * libio/getwchar.c (getwchar): Likewise.
35129 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
35130 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
35131 * login/getpt.c (__getpt): Likewise.
35132 * login/tst-utmp.c (main): Likewise.
35133 * malloc/hooks.c (__malloc_check_init): Likewise.
35134 * malloc/malloc.c (__malloc_stats): Likewise.
35135 * malloc/mtrace.c (tr_break): Likewise.
35136 (mtrace): Likewise.
35137 (muntrace): Likewise.
35138 * misc/fstab.c (endfsent): Likewise.
35139 * misc/getclktck.c (__getclktck): Likewise.
35140 * misc/getdtsz.c (__getdtablesize): Likewise.
35141 * misc/gethostid.c (gethostid): Likewise.
35142 * misc/getpagesize.c (__getpagesize): Likewise.
35143 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
35144 (__get_nprocs): Likewise.
35145 (__get_phys_pages): Likewise.
35146 (__get_avphys_pages): Likewise.
35147 * misc/getttyent.c (getttyent): Likewise.
35148 (setttyent): Likewise.
35149 (endttyent): Likewise.
35150 * misc/getusershell.c (getusershell): Likewise.
35151 (endusershell): Likewise.
35152 (setusershell): Likewise.
35153 (initshells): Likewise.
35154 * misc/hsearch.c (__hdestroy): Likewise.
35155 * misc/sync.c (sync): Likewise.
35156 * misc/syslog.c (closelog_internal): Likewise.
35157 (closelog): Likewise.
35158 * misc/ttyslot.c (ttyslot): Likewise.
35159 * misc/vhangup.c (vhangup): Likewise.
35160 * posix/fork.c (__fork): Likewise.
35161 * posix/getegid.c (__getegid): Likewise.
35162 * posix/geteuid.c (__geteuid): Likewise.
35163 * posix/getgid.c (__getgid): Likewise.
35164 * posix/getpid.c (__getpid): Likewise.
35165 * posix/getppid.c (__getppid): Likewise.
35166 * posix/getuid.c (__getuid): Likewise.
35167 * posix/pause.c (pause): Likewise.
35168 * posix/setpgrp.c (setpgrp): Likewise.
35169 * posix/setsid.c (__setsid): Likewise.
35170 * posix/test-vfork.c (noop): Likewise.
35171 * resolv/gethnamaddr.c (_endhtent): Likewise.
35172 (_gethtent): Likewise.
35173 (ht_endhostent): Likewise.
35174 (gethostent): Likewise.
35175 (dns_service): Likewise.
35176 * stdlib/drand48.c (drand48): Likewise.
35177 * stdlib/lrand48.c (lrand48): Likewise.
35178 * stdlib/mrand48.c (mrand48): Likewise.
35179 * stdlib/rand.c (rand): Likewise.
35180 * stdlib/random.c (__random): Likewise.
35181 * stdlib/setenv.c (clearenv): Likewise.
35182 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
35183 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
35184 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
35185 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
35186 (__get_nprocs): Likewise.
35187 (__get_phys_pages): Likewise.
35188 (__get_avphys_pages): Likewise.
35189 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
35190 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
35191 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
35192 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
35193 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
35194 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
35195 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
35196 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
35197 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
35198 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
35199 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
35200 * sysdeps/mach/hurd/sync.c (sync): Likewise.
35201 * sysdeps/posix/clock.c (clock): Likewise.
35202 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
35203 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
35204 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
35205 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
35206 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
35207 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
35208 (__get_nprocs_conf): Likewise.
35209 (__get_phys_pages): Likewise.
35210 (__get_avphys_pages): Likewise.
35211 * time/clock.c (clock): Likewise.
35212 * time/tzset.c (__tzname_max): Likewise.
35213
35214 2013-06-07 Joseph Myers <joseph@codesourcery.com>
35215
35216 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
35217 (__bswap_32): Do not use "register".
35218 * crypt/crypt.c (_ufc_doit_r): Likewise.
35219 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
35220 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
35221 * gmon/gmon.c (__monstartup): Likewise.
35222 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
35223 * hurd/hurdmalloc.c (more_memory): Likewise.
35224 (malloc): Likewise.
35225 (free): Likewise.
35226 (realloc): Likewise.
35227 (malloc_fork_prepare): Likewise.
35228 (malloc_fork_parent): Likewise.
35229 (malloc_fork_child): Likewise.
35230 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
35231 (_svcauth_des): Likewise.
35232 * inet/inet_lnaof.c (inet_lnaof): Likewise.
35233 * inet/inet_net.c (inet_network): Likewise.
35234 * inet/inet_netof.c (inet_netof): Likewise.
35235 * inet/rcmd.c (__validuser2_sa): Likewise.
35236 * io/fts.c (fts_open): Likewise.
35237 (fts_load): Likewise.
35238 (fts_close): Likewise.
35239 (fts_read): Likewise.
35240 (fts_children): Likewise.
35241 (fts_build): Likewise.
35242 (fts_stat): Likewise.
35243 (fts_sort): Likewise.
35244 (fts_alloc): Likewise.
35245 (fts_lfree): Likewise.
35246 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
35247 (_IO_file_xsgetn): Likewise.
35248 (_IO_file_xsgetn_mmap): Likewise.
35249 * libio/iofopncook.c (_IO_cookie_read): Likewise.
35250 (_IO_cookie_write): Likewise.
35251 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
35252 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
35253 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
35254 * malloc/obstack.c (_obstack_begin): Likewise.
35255 (_obstack_begin_1): Likewise.
35256 (_obstack_newchunk): Likewise.
35257 (_obstack_allocated_p): Likewise.
35258 (obstack_free): Likewise.
35259 (_obstack_memory_used): Likewise.
35260 * misc/getttyent.c (getttynam): Likewise.
35261 (getttyent): Likewise.
35262 (skip): Likewise.
35263 (value): Likewise.
35264 * misc/getusershell.c (initshells): Likewise.
35265 * misc/syslog.c (__vsyslog_chk): Likewise.
35266 * misc/ttyslot.c (ttyslot): Likewise.
35267 * nis/nis_hash.c (__nis_hash): Likewise.
35268 * posix/fnmatch_loop.c (FCT): Likewise.
35269 * posix/getconf.c (print_all): Likewise.
35270 (main): Likewise.
35271 * posix/getopt.c (exchange): Likewise.
35272 * posix/glob.c (globfree): Likewise.
35273 (prefix_array): Likewise.
35274 (__glob_pattern_type): Likewise.
35275 * resolv/arpa/nameser.h (NS_GET16): Likewise.
35276 (NS_GET32): Likewise.
35277 (NS_PUT16): Likewise.
35278 (NS_PUT32): Likewise.
35279 * resolv/gethnamaddr.c (getanswer): Likewise.
35280 (gethostbyname2): Likewise.
35281 (gethostbyaddr): Likewise.
35282 (_gethtent): Likewise.
35283 (_gethtbyname2): Likewise.
35284 (_gethtbyaddr): Likewise.
35285 * resolv/ns_print.c (dst_s_get_int16): Likewise.
35286 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
35287 * resolv/res_init.c (__res_vinit): Likewise.
35288 (net_mask): Likewise.
35289 * resolv/res_mkquery.c (outchar): Likewise.
35290 (PRINT): Likewise.
35291 * stdio-common/printf_fp.c (outchar): Likewise.
35292 (PRINT): Likewise.
35293 * stdio-common/printf_fphex.c (outchar): Likewise.
35294 (PRINT): Likewise.
35295 * stdio-common/printf_size.c (outchar): Likewise.
35296 (PRINT): Likewise.
35297 * stdio-common/test_rdwr.c (main): Likewise.
35298 * stdio-common/tfformat.c (matches): Likewise.
35299 * stdio-common/vfprintf.c (outchar): Likewise.
35300 (printf_unknown): Likewise.
35301 (buffered_vfprintf): Likewise.
35302 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
35303 * stdio-common/xbug.c (AppendToBuffer): Likewise.
35304 (ReadFile): Likewise.
35305 * stdlib/qsort.c (SWAP): Likewise.
35306 (_quicksort): Likewise.
35307 * stdlib/setenv.c (__add_to_environ): Likewise.
35308 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
35309 * stdlib/strtol_l.c (__strtol_l): Likewise.
35310 * stdlib/tst-strtod.c (main): Likewise.
35311 * stdlib/tst-strtol.c (main): Likewise.
35312 * stdlib/tst-strtoll.c (main): Likewise.
35313 * string/bits/string2.h (__strcmp_cc): Likewise.
35314 (__strcmp_cg): Likewise.
35315 (__strcspn_c1): Likewise.
35316 (__strcspn_c2): Likewise.
35317 (__strcspn_c3): Likewise.
35318 (__strspn_c1): Likewise.
35319 (__strspn_c2): Likewise.
35320 (__strspn_c3): Likewise.
35321 (__strsep_1c): Likewise.
35322 (__strsep_2c): Likewise.
35323 (__strsep_3c): Likewise.
35324 * string/memccpy.c (__memccpy): Likewise.
35325 * string/stpcpy.c (__stpcpy): Likewise.
35326 * string/strcmp.c (strcmp): Likewise.
35327 * string/strrchr.c (strrchr): Likewise.
35328 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
35329 Likewise.
35330 * sysdeps/mach/hurd/getcwd.c
35331 (_hurd_canonicalize_directory_name_internal): Likewise.
35332 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
35333 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
35334 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
35335 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
35336 Likewise, in both definitions.
35337 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
35338 definitions.
35339 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
35340 64] (__bswap_64): Likewise.
35341 * time/test_time.c (main): Likewise.
35342 * time/tzfile.c (__tzfile_read): Likewise.
35343 (__tzfile_compute): Likewise.
35344 * time/tzset.c (__tzset_parse_tz): Likewise.
35345 (tzset_internal): Likewise.
35346 (compute_change): Likewise.
35347 * wcsmbs/wcscat.c (__wcscat): Likewise.
35348 * wcsmbs/wcschr.c (wcschr): Likewise.
35349 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
35350 * wcsmbs/wcscspn.c (wcscspn): Likewise.
35351 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
35352 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
35353 * wcsmbs/wcsspn.c (wcsspn): Likewise.
35354 * wcsmbs/wcsstr.c (wcsstr): Likewise.
35355 * wcsmbs/wmemchr.c (wmemchr): Likewise.
35356 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
35357 * wcsmbs/wmemset.c (wmemset): Likewise.
35358
35359 2013-06-06 Joseph Myers <joseph@codesourcery.com>
35360
35361 * scripts/config.guess: Update to version 2013-05-16.
35362 * scripts/config.sub: Update to version 2013-04-24.
35363 * scripts/install-sh: Update to version 2011-11-20.07.
35364 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
35365 * scripts/move-if-change: Update to version 2012-01-06 07:23.
35366
35367 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
35368
35369 * debug/fgetws_u_chk.c: Fix leading whitespaces.
35370 * elf/sln.c: Likewise.
35371 * hurd/hurd/ioctl.h: Likewise.
35372 * hurd/hurdmalloc.c: Likewise.
35373 * hurd/xattr.c: Likewise.
35374 * include/shlib-compat.h: Likewise.
35375 * inet/ruserpass.c: Likewise.
35376 * libio/iofgets_u.c: Likewise.
35377 * libio/iofgetws_u.c: Likewise.
35378 * locale/programs/ld-identification.c: Likewise.
35379 * locale/programs/ld-time.c: Likewise.
35380 * mach/msg-destroy.c: Likewise.
35381 * nss/nss_files/files-netgrp.c: Likewise.
35382 * resolv/res_data.c: Likewise.
35383 * soft-fp/op-1.h: Likewise.
35384 * soft-fp/op-2.h: Likewise.
35385 * soft-fp/op-4.h: Likewise.
35386 * soft-fp/op-common.h: Likewise.
35387 * stdio-common/printf_fphex.c: Likewise.
35388 * stdlib/strtod_l.c: Likewise.
35389 * sunrpc/rpc/clnt.h: Likewise.
35390 * sysdeps/generic/framestate.c: Likewise.
35391 * sysdeps/i386/bsd-_setjmp.S: Likewise.
35392 * sysdeps/i386/bsd-setjmp.S: Likewise.
35393 * sysdeps/i386/__longjmp.S: Likewise.
35394 * sysdeps/i386/setjmp.S: Likewise.
35395 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
35396 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
35397 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35398 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
35399 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
35400 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
35401 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
35402 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
35403 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35404 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
35405 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
35406 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
35407 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
35408 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
35409 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
35410 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
35411 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
35412 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
35413 * sysdeps/ieee754/support.c: Likewise.
35414 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
35415 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
35416 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
35417 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
35418 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
35419 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
35420 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
35421 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
35422 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
35423 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
35424 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
35425 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
35426 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
35427 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
35428 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
35429 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
35430 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
35431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
35432
35433 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
35434
35435 * posix/transbug.c: Remove executable mode.
35436
35437 2013-06-05 Joseph Myers <joseph@codesourcery.com>
35438
35439 * crypt/speeds.c: Remove trailing whitespace.
35440 * dlfcn/default.c: Likewise.
35441 * elf/ifuncdep2.c: Likewise.
35442 * elf/ifuncmain1.c: Likewise.
35443 * elf/ifuncmain1vis.c: Likewise.
35444 * elf/testobj.h: Likewise.
35445 * elf/tst-stackguard1.c: Likewise.
35446 * gmon/sys/gmon.h: Likewise.
35447 * hurd/hurdmsg.c: Likewise.
35448 * hurd/new-fd.c: Likewise.
35449 * hurd/ports-get.c: Likewise.
35450 * iconvdata/ibm1008_420.c: Likewise.
35451 * inet/tst-getni1.c: Likewise.
35452 * inet/tst-getni2.c: Likewise.
35453 * libio/ioungetc.c: Likewise.
35454 * libio/wfiledoalloc.c: Likewise.
35455 * manual/libm-err-tab.pl: Likewise.
35456 * math/w_dremf.c: Likewise.
35457 * misc/ftruncate.c: Likewise.
35458 * posix/bug-glob2.c: Likewise.
35459 * posix/tst-pcre.c: Likewise.
35460 * posix/wait4.c: Likewise.
35461 * resolv/README: Likewise.
35462 * resolv/res_debug.h: Likewise.
35463 * resolv/tst-inet_ntop.c: Likewise.
35464 * setjmp/bug269-setjmp.c: Likewise.
35465 * soft-fp/extended.h: Likewise.
35466 * soft-fp/op-1.h: Likewise.
35467 * soft-fp/op-2.h: Likewise.
35468 * soft-fp/op-4.h: Likewise.
35469 * soft-fp/op-8.h: Likewise.
35470 * soft-fp/testit.c: Likewise.
35471 * stdio-common/bug16.c: Likewise.
35472 * stdlib/random.c: Likewise.
35473 * sunrpc/rpcsvc/rquota.x: Likewise.
35474 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
35475 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
35476 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35477 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
35478 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
35479 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
35480 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
35481 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
35482 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
35483 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
35484 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
35485 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
35486 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
35487 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
35488 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
35489 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
35490 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
35491 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
35492 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
35493 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35494 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
35495 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
35496 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
35497 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
35498 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
35499 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
35500 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
35501 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
35502 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
35503 * sysdeps/ieee754/s_lib_version.c: Likewise.
35504 * sysdeps/mach/hurd/check_fds.c: Likewise.
35505 * sysdeps/mach/hurd/getsockname.c: Likewise.
35506 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
35507 * sysdeps/mach/hurd/recvfrom.c: Likewise.
35508 * sysdeps/powerpc/bits/link.h: Likewise.
35509 * sysdeps/powerpc/dl-procinfo.c: Likewise.
35510 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
35511 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
35512 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
35513 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
35514 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
35515 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
35516 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
35517 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
35518 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
35519 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
35520 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
35521 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
35522 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
35523 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
35524 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
35525 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
35526 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
35527 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
35528 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
35529 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
35530 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
35531 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
35532 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
35533 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
35534 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
35535 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
35536 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
35537 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
35538 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
35539 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
35540 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
35541 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
35542 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
35543 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
35544 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
35545 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
35546 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
35547 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
35548 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
35549 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
35550 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
35551 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
35552 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
35553 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
35554 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
35555 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
35556 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
35557 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
35558 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
35559 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35560 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
35561 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
35562 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
35563 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
35564 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
35565 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
35566 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
35567 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
35568 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
35569 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
35570 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
35571 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
35572 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
35573 * sysdeps/powerpc/sysdep.h: Likewise.
35574 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
35575 * sysdeps/s390/s390-64/sub_n.S: Likewise.
35576 * sysdeps/sh/dl-trampoline.S: Likewise.
35577 * sysdeps/sh/memset.S: Likewise.
35578 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
35579 * sysdeps/sh/strlen.S: Likewise.
35580 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
35581 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
35582 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
35583 * sysdeps/sparc/sparc32/rem.S: Likewise.
35584 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
35585 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
35586 * sysdeps/sparc/sparc32/strchr.S: Likewise.
35587 * sysdeps/sparc/sparc32/udiv.S: Likewise.
35588 * sysdeps/sparc/sparc32/urem.S: Likewise.
35589 * sysdeps/sparc/sparc64/add_n.S: Likewise.
35590 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
35591 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
35592 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
35593 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
35594 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
35595 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
35596 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
35597 * sysdeps/unix/bsd/times.c: Likewise.
35598 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
35599 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
35600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
35601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
35602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
35603 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
35604 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
35605 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
35606 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
35607 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
35608 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
35609 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
35610 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
35611 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
35612 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
35613 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
35614 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
35615 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
35616 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
35617 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
35618 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
35619 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
35620 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
35621 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
35622 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
35623 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
35624 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
35625 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
35626 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
35627 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
35628 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
35629 * sysdeps/x86_64/strcspn.S: Likewise.
35630
35631 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
35632
35633 * locale/C-translit.h: Revert #include <stdint.h> because this is a
35634 generated file. Regenerate properly from gen-translit.pl.
35635 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
35636 locale/C-translit.h.
35637
35638 2013-06-05 Andreas Schwab <schwab@suse.de>
35639
35640 [BZ #15100]
35641 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
35642 week as 6 instead of -1.
35643 * time/tst-strptime.c (day_tests): Add test case.
35644
35645 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
35646
35647 * sysdeps/generic/math_private.h
35648 (libc_feholdexcept_setround_53bit): Replace with
35649 libc_feholdsetround_53bit.
35650 (libc_feupdateenv_53bit): Replace with
35651 libc_feresetround_53bit.
35652 (SET_RESTORE_ROUND_53BIT): Adjust.
35653
35654 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
35655
35656 * string/test-strchrnul.c: Add copyright header.
35657
35658 * posix/tst-getaddrinfo4.c: Increase test timeout.
35659
35660 2013-06-03 Carlos O'Donell <carlos@redhat.com>
35661
35662 [BZ #15536]
35663 * math/libm-test.inc (MAX_EXP): Remove
35664 (MIN_EXP): Define.
35665 (ulp): Use MIN_EXP - MANT_DIG.
35666 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
35667
35668 2013-05-31 Carlos O'Donell <carlos@redhat.com>
35669
35670 * po/be.po: Revert last change.
35671 * po/zh_CN.po: Likewise.
35672 * po/header.pot: Likewise.
35673
35674 2013-05-31 Joseph Myers <joseph@codesourcery.com>
35675
35676 * Makefile ($(common-objpfx)linkobj/libc.so): Define
35677 link-libc-deps to empty as target-specific variable.
35678 * Makerules (link-libc-args): New variable.
35679 (libc-for-link): Likewise.
35680 (link-libc-deps): Likewise.
35681 (lib%.so): Depend on $(link-libc-deps). Link with
35682 $(link-libc-args).
35683 (build-module): Link with $(link-libc-args).
35684 (build-module-asneeded): Likewise.
35685 (build-module-helper-objlist): Filter out $(link-libc-deps) from
35686 list of objects.
35687 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
35688 target-specific variable.
35689 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
35690 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
35691 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
35692 libc.
35693 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
35694 libc and ld.so.
35695 ($(objpfx)libpcprofile.so): Likewise.
35696 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
35697 libc_nonshared.a.
35698 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
35699 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
35700 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
35701 $(link-libc-deps).
35702 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
35703 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
35704 * login/Makefile ($(objpfx)libutil.so): Likewise.
35705 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
35706 * math/Makefile ($(objpfx)libm.so): Likewise.
35707 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
35708 $(objpfx)libnsl.so): Define libc-for-link as target-specific
35709 variable instead of depending directly on libc.
35710 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
35711 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
35712 $(link-libc-deps).
35713 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
35714 libc.
35715 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
35716 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
35717 ($(objpfx)libanl.so): Likewise.
35718 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
35719 ld.so.
35720 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
35721 $(link-libc-deps).
35722 * sysdeps/i386/fpu/Makefile: Remove file.
35723 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
35724 ($(objpfx)libm.so): Remove dependency on ld.so.
35725
35726 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
35727
35728 [BZ # 15553]
35729 * nis/yp_xdr.c (XDRMAXNAME): Define.
35730 (XDRMAXRECORD): Define.
35731 (xdr_domainname): Use XDRMAXNAME.
35732 (xdr_mapname): Likewise.
35733 (xdr_peername): Likewise.
35734 (xdr_keydat): Use XDRMAXRECORD.
35735 (xdr_valdat): Likewise.
35736
35737 2013-05-30 Jeff Law <law@redhat.com>
35738
35739 [BZ #14256]
35740 * manual/errno.texi (ESTALE): Update to account for more than
35741 just NFS file systems.
35742 * sysdeps/gnu/errlist.c: Regenerated.
35743
35744 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
35745
35746 [BZ #15465]
35747 * elf/Makefile (tests): Add tst-null-argv.
35748 (modules-names): Add tst-null-argv-lib.
35749 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
35750 (tst-null-argv-ENV): Set environment for tst-null-argv.
35751 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
35752 (RTLD_PROGNAME): New macro.
35753 * elf/tst-null-argv.c: New test case.
35754 * elf/tst-null-argv-lib.c: Library for test case.
35755 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
35756 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
35757 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
35758 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
35759 * elf/dl-init.c (call_init): Likewise.
35760 (_dl_init): Likewise.
35761 * elf/dl-load.c (print_search_path): Likewise.
35762 (_dl_map_object): Likewise.
35763 * elf/dl-lookup.c (do_lookup_x): Likewise.
35764 (add_dependency): Likewise.
35765 (_dl_lookup_symbol_x): Likewise.
35766 (_dl_debug_bindings): Likewise.
35767 * elf/dl-open.c (_dl_show_scope): Likewise.
35768 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
35769 * elf/dl-version.c (match_symbol): Likewise.
35770 (_dl_check_map_versions): Likewise.
35771 * elf/rtld.c (dl_main): Likewise.
35772 (print_unresolved): Use RTLD_PROGNAME.
35773 (print_missing_version): Likewise.
35774 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
35775 (elf_machine_rela): Likewise.
35776 * sysdeps/powerpc/powerpc32/dl-machine.c
35777 (__process_machine_rela): Likewise.
35778 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
35779 Likewise.
35780 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
35781 Likewise.
35782 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
35783 Likewise.
35784 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
35785 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
35786 Likewise.
35787 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
35788 Likewise.
35789 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
35790
35791 2013-05-28 Carlos O'Donell <carlos@redhat.com>
35792
35793 * po/be.po: Add descriptive title.
35794 * po/zh_CN.po: Likewise.
35795 * po/header.pot: Likewise.
35796
35797 2013-05-28 Mike Frysinger <vapier@gentoo.org>
35798
35799 * locale/programs/locarchive.c (create_archive): Inlucde fname in
35800 error message.
35801 (enlarge_archive): Likewise.
35802
35803 2013-05-28 Ben North <ben@redfrontdoor.org>
35804
35805 * manual/arith.texi (frexp): It is the magnitude of the return
35806 value which lies in [0.5, 1), not the return value itself.
35807
35808 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35809
35810 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35811
35812 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
35813
35814 * stdio-common/bug26.c (main): Correct fscanf template.
35815
35816 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
35817 declare _dl_skip_args.
35818
35819 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
35820 Don't declare.
35821
35822 * manual/platform.texi: Add missing @end deftypefun.
35823
35824 2013-05-24 Joseph Myers <joseph@codesourcery.com>
35825
35826 [BZ #15529]
35827 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
35828 bit of mantissa of 2^16382.
35829 * math/libm-test.inc (hypot_test_data): Add more tests.
35830
35831 * math/libm-test.inc: Add drem and pow10 to list of tested
35832 functions.
35833 (pow10_test): New function.
35834 (drem_test): Likewise.
35835 (drem_test_tonearest): Likewise.
35836 (drem_test_towardzero): Likewise.
35837 (drem_test_downward): Likewise.
35838 (drem_test_upward): Likewise.
35839 (main): Call the new functions.
35840
35841 * math/libm-test.inc (finite_test_data): Remove.
35842 (finite_test): Run tests from isfinite_test_data.
35843 (gamma_test_data): Remove.
35844 (gamma_test): Run tests from lgamma_test_data.
35845 * sysdeps/i386/fpu/libm-test-ulps: Update.
35846 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35847
35848 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35849
35850 * manual/platform.texi: Add PowerPC PPR function set documentation.
35851 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
35852 implementation.
35853
35854 2013-05-24 Carlos O'Donell <carlos@redhat.com>
35855
35856 * math/libm-test.inc (MAX_EXP): Define.
35857 (ULPDIFF): Define.
35858 (ulp): New function.
35859 (check_float_internal): Use ULPDIFF.
35860 (cpow_test): Disable failing test.
35861 (check_ulp): Test ulp() implemetnation.
35862 (main): Call check_ulp before starting tests.
35863
35864 2013-05-24 Joseph Myers <joseph@codesourcery.com>
35865
35866 * math/gen-libm-test.pl (generate_testfile): Do not handle
35867 START_DATA and END_DATA.
35868 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
35869 END_DATA.
35870 (acos_tonearest_test_data): Likewise.
35871 (acos_towardzero_test_data): Likewise.
35872 (acos_downward_test_data): Likewise.
35873 (acos_upward_test_data): Likewise.
35874 (acosh_test_data): Likewise.
35875 (asin_test_data): Likewise.
35876 (asin_tonearest_test_data): Likewise.
35877 (asin_towardzero_test_data): Likewise.
35878 (asin_downward_test_data): Likewise.
35879 (asin_upward_test_data): Likewise.
35880 (asinh_test_data): Likewise.
35881 (atan_test_data): Likewise.
35882 (atanh_test_data): Likewise.
35883 (atan2_test_data): Likewise.
35884 (cabs_test_data): Likewise.
35885 (cacos_test_data): Likewise.
35886 (cacosh_test_data): Likewise.
35887 (carg_test_data): Likewise.
35888 (casin_test_data): Likewise.
35889 (casinh_test_data): Likewise.
35890 (catan_test_data): Likewise.
35891 (catanh_test_data): Likewise.
35892 (cbrt_test_data): Likewise.
35893 (ccos_test_data): Likewise.
35894 (ccosh_test_data): Likewise.
35895 (ceil_test_data): Likewise.
35896 (cexp_test_data): Likewise.
35897 (cimag_test_data): Likewise.
35898 (clog_test_data): Likewise.
35899 (clog10_test_data): Likewise.
35900 (conj_test_data): Likewise.
35901 (copysign_test_data): Likewise.
35902 (cos_test_data): Likewise.
35903 (cos_tonearest_test_data): Likewise.
35904 (cos_towardzero_test_data): Likewise.
35905 (cos_downward_test_data): Likewise.
35906 (cos_upward_test_data): Likewise.
35907 (cosh_test_data): Likewise.
35908 (cosh_tonearest_test_data): Likewise.
35909 (cosh_towardzero_test_data): Likewise.
35910 (cosh_downward_test_data): Likewise.
35911 (cosh_upward_test_data): Likewise.
35912 (cpow_test_data): Likewise.
35913 (cproj_test_data): Likewise.
35914 (creal_test_data): Likewise.
35915 (csin_test_data): Likewise.
35916 (csinh_test_data): Likewise.
35917 (csqrt_test_data): Likewise.
35918 (ctan_test_data): Likewise.
35919 (ctan_tonearest_test_data): Likewise.
35920 (ctan_towardzero_test_data): Likewise.
35921 (ctan_downward_test_data): Likewise.
35922 (ctan_upward_test_data): Likewise.
35923 (ctanh_test_data): Likewise.
35924 (ctanh_tonearest_test_data): Likewise.
35925 (ctanh_towardzero_test_data): Likewise.
35926 (ctanh_downward_test_data): Likewise.
35927 (ctanh_upward_test_data): Likewise.
35928 (erf_test_data): Likewise.
35929 (erfc_test_data): Likewise.
35930 (exp_test_data): Likewise.
35931 (exp_tonearest_test_data): Likewise.
35932 (exp_towardzero_test_data): Likewise.
35933 (exp_downward_test_data): Likewise.
35934 (exp_upward_test_data): Likewise.
35935 (exp10_test_data): Likewise.
35936 (exp2_test_data): Likewise.
35937 (expm1_test_data): Likewise.
35938 (fabs_test_data): Likewise.
35939 (fdim_test_data): Likewise.
35940 (finite_test_data): Likewise.
35941 (floor_test_data): Likewise.
35942 (fma_test_data): Likewise.
35943 (fma_towardzero_test_data): Likewise.
35944 (fma_downward_test_data): Likewise.
35945 (fma_upward_test_data): Likewise.
35946 (fmax_test_data): Likewise.
35947 (fmin_test_data): Likewise.
35948 (fmod_test_data): Likewise.
35949 (fpclassify_test_data): Likewise.
35950 (frexp_test_data): Likewise.
35951 (gamma_test_data): Likewise.
35952 (hypot_test_data): Likewise.
35953 (ilogb_test_data): Likewise.
35954 (isfinite_test_data): Likewise.
35955 (isgreater_test_data): Likewise.
35956 (isgreaterequal_test_data): Likewise.
35957 (isinf_test_data): Likewise.
35958 (isless_test_data): Likewise.
35959 (islessequal_test_data): Likewise.
35960 (islessgreater_test_data): Likewise.
35961 (isnan_test_data): Likewise.
35962 (isnormal_test_data): Likewise.
35963 (issignaling_test_data): Likewise.
35964 (isunordered_test_data): Likewise.
35965 (j0_test_data): Likewise.
35966 (j1_test_data): Likewise.
35967 (jn_test_data): Likewise.
35968 (ldexp_test_data): Likewise.
35969 (lgamma_test_data): Likewise.
35970 (lrint_test_data): Likewise.
35971 (lrint_tonearest_test_data): Likewise.
35972 (lrint_towardzero_test_data): Likewise.
35973 (lrint_downward_test_data): Likewise.
35974 (lrint_upward_test_data): Likewise.
35975 (llrint_test_data): Likewise.
35976 (llrint_tonearest_test_data): Likewise.
35977 (llrint_towardzero_test_data): Likewise.
35978 (llrint_downward_test_data): Likewise.
35979 (llrint_upward_test_data): Likewise.
35980 (log_test_data): Likewise.
35981 (log10_test_data): Likewise.
35982 (log1p_test_data): Likewise.
35983 (log2_test_data): Likewise.
35984 (logb_test_data): Likewise.
35985 (logb_downward_test_data): Likewise.
35986 (lround_test_data): Likewise.
35987 (llround_test_data): Likewise.
35988 (modf_test_data): Likewise.
35989 (nearbyint_test_data): Likewise.
35990 (nextafter_test_data): Likewise.
35991 (nexttoward_test_data): Likewise.
35992 (pow_test_data): Likewise.
35993 (pow_tonearest_test_data): Likewise.
35994 (pow_towardzero_test_data): Likewise.
35995 (pow_downward_test_data): Likewise.
35996 (pow_upward_test_data): Likewise.
35997 (remainder_test_data): Likewise.
35998 (remainder_tonearest_test_data): Likewise.
35999 (remainder_towardzero_test_data): Likewise.
36000 (remainder_downward_test_data): Likewise.
36001 (remainder_upward_test_data): Likewise.
36002 (remquo_test_data): Likewise.
36003 (rint_test_data): Likewise.
36004 (rint_tonearest_test_data): Likewise.
36005 (rint_towardzero_test_data): Likewise.
36006 (rint_downward_test_data): Likewise.
36007 (rint_upward_test_data): Likewise.
36008 (round_test_data): Likewise.
36009 (scalb_test_data): Likewise.
36010 (scalbn_test_data): Likewise.
36011 (scalbln_test_data): Likewise.
36012 (signbit_test_data): Likewise.
36013 (sin_test_data): Likewise.
36014 (sin_tonearest_test_data): Likewise.
36015 (sin_towardzero_test_data): Likewise.
36016 (sin_downward_test_data): Likewise.
36017 (sin_upward_test_data): Likewise.
36018 (sincos_test_data): Likewise.
36019 (sinh_test_data): Likewise.
36020 (sinh_tonearest_test_data): Likewise.
36021 (sinh_towardzero_test_data): Likewise.
36022 (sinh_downward_test_data): Likewise.
36023 (sinh_upward_test_data): Likewise.
36024 (sqrt_test_data): Likewise.
36025 (tan_test_data): Likewise.
36026 (tan_tonearest_test_data): Likewise.
36027 (tan_towardzero_test_data): Likewise.
36028 (tan_downward_test_data): Likewise.
36029 (tan_upward_test_data): Likewise.
36030 (tanh_test_data): Likewise.
36031 (tgamma_test_data): Likewise.
36032 (trunc_test_data): Likewise.
36033 (y0_test_data): Likewise.
36034 (y1_test_data): Likewise.
36035 (yn_test_data): Likewise.
36036 (significand_test_data): Likewise.
36037
36038 * math/gen-libm-test.pl (@functions): Remove variable.
36039 (generate_testfile): Don't handle START and END lines.
36040 * math/libm-test.inc (START): New macro.
36041 (END): Likewise.
36042 (END_COMPLEX): Likewise.
36043 (acos_test): Use END macro without arguments.
36044 (acos_test_tonearest): Likewise.
36045 (acos_test_towardzero): Likewise.
36046 (acos_test_downward): Likewise.
36047 (acos_test_upward): Likewise.
36048 (acosh_test): Likewise.
36049 (asin_test): Likewise.
36050 (asin_test_tonearest): Likewise.
36051 (asin_test_towardzero): Likewise.
36052 (asin_test_downward): Likewise.
36053 (asin_test_upward): Likewise.
36054 (asinh_test): Likewise.
36055 (atan_test): Likewise.
36056 (atanh_test): Likewise.
36057 (atan2_test): Likewise.
36058 (cabs_test): Likewise.
36059 (cacos_test): Use END_COMPLEX macro without arguments.
36060 (cacosh_test): Likewise.
36061 (carg_test): Use END macro without arguments.
36062 (casin_test): Use END_COMPLEX macro without arguments.
36063 (casinh_test): Likewise.
36064 (catan_test): Likewise.
36065 (catanh_test): Likewise.
36066 (cbrt_test): Use END macro without arguments.
36067 (ccos_test): Use END_COMPLEX macro without arguments.
36068 (ccosh_test): Likewise.
36069 (ceil_test): Use END macro without arguments.
36070 (cexp_test): Use END_COMPLEX macro without arguments.
36071 (cimag_test): Use END macro without arguments.
36072 (clog_test): Use END_COMPLEX macro without arguments.
36073 (clog10_test): Likewise.
36074 (conj_test): Likewise.
36075 (copysign_test): Use END macro without arguments.
36076 (cos_test): Likewise.
36077 (cos_test_tonearest): Likewise.
36078 (cos_test_towardzero): Likewise.
36079 (cos_test_downward): Likewise.
36080 (cos_test_upward): Likewise.
36081 (cosh_test): Likewise.
36082 (cosh_test_tonearest): Likewise.
36083 (cosh_test_towardzero): Likewise.
36084 (cosh_test_downward): Likewise.
36085 (cosh_test_upward): Likewise.
36086 (cpow_test): Use END_COMPLEX macro without arguments.
36087 (cproj_test): Likewise.
36088 (creal_test): Use END macro without arguments.
36089 (csin_test): Use END_COMPLEX macro without arguments.
36090 (csinh_test): Likewise.
36091 (csqrt_test): Likewise.
36092 (ctan_test): Likewise.
36093 (ctan_test_tonearest): Likewise.
36094 (ctan_test_towardzero): Likewise.
36095 (ctan_test_downward): Likewise.
36096 (ctan_test_upward): Likewise.
36097 (ctanh_test): Likewise.
36098 (ctanh_test_tonearest): Likewise.
36099 (ctanh_test_towardzero): Likewise.
36100 (ctanh_test_downward): Likewise.
36101 (ctanh_test_upward): Likewise.
36102 (erf_test): Use END macro without arguments.
36103 (erfc_test): Likewise.
36104 (exp_test): Likewise.
36105 (exp_test_tonearest): Likewise.
36106 (exp_test_towardzero): Likewise.
36107 (exp_test_downward): Likewise.
36108 (exp_test_upward): Likewise.
36109 (exp10_test): Likewise.
36110 (exp2_test): Likewise.
36111 (expm1_test): Likewise.
36112 (fabs_test): Likewise.
36113 (fdim_test): Likewise.
36114 (finite_test): Likewise.
36115 (floor_test): Likewise.
36116 (fma_test): Likewise.
36117 (fma_test_towardzero): Likewise.
36118 (fma_test_downward): Likewise.
36119 (fma_test_upward): Likewise.
36120 (fmax_test): Likewise.
36121 (fmin_test): Likewise.
36122 (fmod_test): Likewise.
36123 (fpclassify_test): Likewise.
36124 (frexp_test): Likewise.
36125 (gamma_test): Likewise.
36126 (hypot_test): Likewise.
36127 (ilogb_test): Likewise.
36128 (isfinite_test): Likewise.
36129 (isgreater_test): Likewise.
36130 (isgreaterequal_test): Likewise.
36131 (isinf_test): Likewise.
36132 (isless_test): Likewise.
36133 (islessequal_test): Likewise.
36134 (islessgreater_test): Likewise.
36135 (isnan_test): Likewise.
36136 (isnormal_test): Likewise.
36137 (issignaling_test): Likewise.
36138 (isunordered_test): Likewise.
36139 (j0_test): Likewise.
36140 (j1_test): Likewise.
36141 (jn_test): Likewise.
36142 (ldexp_test): Likewise.
36143 (lgamma_test): Likewise.
36144 (lrint_test): Likewise.
36145 (lrint_test_tonearest): Likewise.
36146 (lrint_test_towardzero): Likewise.
36147 (lrint_test_downward): Likewise.
36148 (lrint_test_upward): Likewise.
36149 (llrint_test): Likewise.
36150 (llrint_test_tonearest): Likewise.
36151 (llrint_test_towardzero): Likewise.
36152 (llrint_test_downward): Likewise.
36153 (llrint_test_upward): Likewise.
36154 (log_test): Likewise.
36155 (log10_test): Likewise.
36156 (log1p_test): Likewise.
36157 (log2_test): Likewise.
36158 (logb_test): Likewise.
36159 (logb_test_downward): Likewise.
36160 (lround_test): Likewise.
36161 (llround_test): Likewise.
36162 (modf_test): Likewise.
36163 (nearbyint_test): Likewise.
36164 (nextafter_test): Likewise.
36165 (nexttoward_test): Likewise.
36166 (pow_test): Likewise.
36167 (pow_test_tonearest): Likewise.
36168 (pow_test_towardzero): Likewise.
36169 (pow_test_downward): Likewise.
36170 (pow_test_upward): Likewise.
36171 (remainder_test): Likewise.
36172 (remainder_test_tonearest): Likewise.
36173 (remainder_test_towardzero): Likewise.
36174 (remainder_test_downward): Likewise.
36175 (remainder_test_upward): Likewise.
36176 (remquo_test): Likewise.
36177 (rint_test): Likewise.
36178 (rint_test_tonearest): Likewise.
36179 (rint_test_towardzero): Likewise.
36180 (rint_test_downward): Likewise.
36181 (rint_test_upward): Likewise.
36182 (round_test): Likewise.
36183 (scalb_test): Likewise.
36184 (scalbn_test): Likewise.
36185 (scalbln_test): Likewise.
36186 (signbit_test): Likewise.
36187 (sin_test): Likewise.
36188 (sin_test_tonearest): Likewise.
36189 (sin_test_towardzero): Likewise.
36190 (sin_test_downward): Likewise.
36191 (sin_test_upward): Likewise.
36192 (sincos_test): Likewise.
36193 (sinh_test): Likewise.
36194 (sinh_test_tonearest): Likewise.
36195 (sinh_test_towardzero): Likewise.
36196 (sinh_test_downward): Likewise.
36197 (sinh_test_upward): Likewise.
36198 (sqrt_test): Likewise.
36199 (tan_test): Likewise.
36200 (tan_test_tonearest): Likewise.
36201 (tan_test_towardzero): Likewise.
36202 (tan_test_downward): Likewise.
36203 (tan_test_upward): Likewise.
36204 (tanh_test): Likewise.
36205 (tgamma_test): Likewise.
36206 (trunc_test): Likewise.
36207 (y0_test): Likewise.
36208 (y1_test): Likewise.
36209 (yn_test): Likewise.
36210 (significand_test): Likewise.
36211
36212 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
36213
36214 [BZ #15381]
36215 * libio/genops.c (_IO_no_init): Initialize wide struct info.
36216
36217 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
36218
36219 [BZ #14894]
36220 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
36221 __ppc_mdoio and __ppc_mdoom.
36222 * manual/platform.texi: Document new functions __ppc_yield,
36223 __ppc_mdoio and __ppc_mdoom.
36224
36225 2013-05-22 Carlos O'Donell <carlos@redhat.com>
36226
36227 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
36228 (main): Mention "tls" pseudo-hwcap is legacy.
36229 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
36230
36231 2013-05-22 Joseph Myers <joseph@codesourcery.com>
36232
36233 * math/gen-libm-test.pl (parse_args): Output only string of
36234 arguments as text for test name, not full call or descriptions of
36235 tests for extra outputs.
36236 (generate_testfile): Do not pass function name to parse_args.
36237 Generate this_func variable from START.
36238 * math/libm-test.inc (struct test_f_f_data): Rename test_name
36239 field to arg_str.
36240 (struct test_ff_f_data): Likewise.
36241 (test_ff_f_data_nexttoward): Likewise.
36242 (struct test_fi_f_data): Likewise.
36243 (struct test_fl_f_data): Likewise.
36244 (struct test_if_f_data): Likewise.
36245 (struct test_fff_f_data): Likewise.
36246 (struct test_c_f_data): Likewise.
36247 (struct test_f_f1_data): Likewise. Remove field extra_name.
36248 (struct test_fF_f1_data): Likewise.
36249 (struct test_ffI_f1_data): Likewise.
36250 (struct test_c_c_data): Rename test_name field to arg_str.
36251 (struct test_cc_c_data): Likewise.
36252 (struct test_f_i_data): Likewise.
36253 (struct test_ff_i_data): Likewise.
36254 (struct test_f_l_data): Likewise.
36255 (struct test_f_L_data): Likewise.
36256 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
36257 and extra2_name.
36258 (COMMON_TEST_SETUP): New macro.
36259 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
36260 (COMMON_TEST_CLEANUP): Likewise.
36261 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
36262 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
36263 macros.
36264 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
36265 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
36266 macros.
36267 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
36268 (RUN_TEST_fff_f): Take argument string. Call new setup and
36269 cleanup macros.
36270 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
36271 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
36272 macros.
36273 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
36274 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
36275 macros.
36276 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
36277 (RUN_TEST_fF_f1): Take argument string. Call new setup and
36278 cleanup macros.
36279 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
36280 (RUN_TEST_fI_f1): Take argument string. Call new setup and
36281 cleanup macros.
36282 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
36283 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
36284 cleanup macros.
36285 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
36286 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
36287 macros.
36288 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
36289 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
36290 macros.
36291 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
36292 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
36293 macros.
36294 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
36295 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
36296 cleanup macros.
36297 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
36298 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
36299 cleanup macros.
36300 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
36301 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
36302 macros.
36303 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
36304 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
36305 cleanup macros.
36306 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
36307 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
36308 macros.
36309 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
36310 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
36311 macros.
36312 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
36313 (RUN_TEST_fFF_11): Take argument string. Call new setup and
36314 cleanup macros.
36315 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
36316
36317 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
36318
36319 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
36320 to _sifields.sigfault.
36321 (si_addr_lsb): Define new macro.
36322 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
36323 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
36324 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
36325
36326 2013-05-03 Carlos O'Donell <carlos at redhat.com>
36327
36328 [BZ #15441]
36329 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
36330 returns -1.
36331 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
36332 null return -1.
36333 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
36334 loading the domain.
36335
36336 2013-05-22 Joseph Myers <joseph@codesourcery.com>
36337
36338 * math/gen-libm-test.pl (parse_args): Do not include expected
36339 result in test name.
36340 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
36341 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36342 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
36343 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
36344 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
36345 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36346
36347 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
36348
36349 * benchtests/Makefile: Sort function entries.
36350
36351 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
36352 tanh, asinh, acosh, atanh.
36353 * benchtests/acos-inputs: New file.
36354 * benchtests/acosh-inputs: New file.
36355 * benchtests/asin-inputs: New file.
36356 * benchtests/asinh-inputs: New file.
36357 * benchtests/atanh-inputs: New file.
36358 * benchtests/cosh-inputs: New file.
36359 * benchtests/log-inputs: New file.
36360 * benchtests/sinh-inputs: New file.
36361 * benchtests/tanh-inputs: New file.
36362
36363 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
36364
36365 [BZ #15339]
36366 * posix/tst-getaddrinfo4.c: New test.
36367 * posix/Makefile (tests): Add it.
36368
36369 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
36370
36371 [BZ #15339]
36372 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
36373 when no services were used.
36374 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
36375 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
36376
36377 2013-05-21 Andreas Schwab <schwab@suse.de>
36378
36379 [BZ #15014]
36380 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
36381 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
36382 successful.
36383 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
36384 redundant variable declarations and reallocation of buffer when
36385 parsing as IPv6 address. Always set NSS status when called from
36386 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
36387 buffer too small. Correct computation of needed size.
36388 * nss/Makefile (tests): Add test-digits-dots.
36389 * nss/test-digits-dots.c: New test.
36390
36391 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
36392
36393 * benchtests/Makefile: Remove instructions for adding
36394 benchmark tests.
36395 * benchtests/README: New file to explain how to execute and
36396 enhance the benchmark tests.
36397
36398 2013-05-21 Andreas Schwab <schwab@suse.de>
36399
36400 [BZ #15493]
36401 * setjmp/Makefile (tests): Add tst-sigsetjmp.
36402 * setjmp/tst-sigsetjmp.c: New test.
36403
36404 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
36405
36406 * sysdeps/x86_64/memset.S (memset): New implementation.
36407 (__bzero): Likewise.
36408 (__memset_tail): New function.
36409
36410 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
36411
36412 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
36413 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
36414 __memcpy_sse2_unaligned ifunc selection.
36415 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
36416 Add memcpy-sse2-unaligned.S.
36417 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
36418 Add: __memcpy_sse2_unaligned.
36419
36420 2013-05-19 Joseph Myers <joseph@codesourcery.com>
36421
36422 [BZ #15490]
36423 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
36424 math_force_eval before restoring floating-point envrionment.
36425 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
36426 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
36427 Likewise.
36428 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
36429 <math_private.h>.
36430 (__nearbyintl): Use math_force_eval before restoring
36431 floating-point environment.
36432 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
36433
36434 * math/gen-libm-test.pl (special_functions): Remove.
36435 (parse_args): Don't handle TEST_extra. Handle functions with no
36436 return value.
36437 * math/libm-test.inc (struct test_sincos_data): Replace with
36438 struct test_fFF_11_data.
36439 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
36440 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
36441 (sincos_test_data): Change element type to struct
36442 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
36443 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
36444 RUN_TEST_LOOP_sincos.
36445 * math/README.libm-test: Don't mention special handling of
36446 individual functions.
36447 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
36448 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36449 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
36450 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
36451 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
36452 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36453
36454 * math/gen-libm-test.pl (get_variable): Remove function.
36455 (parse_args): Don't show pointer parameters to call in test
36456 names. Use "extra output N" in test names for extra outputs
36457 rather than naming variables.
36458
36459 2013-05-18 Joseph Myers <joseph@codesourcery.com>
36460
36461 [BZ #15488]
36462 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
36463 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
36464 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
36465 double tests.
36466 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
36467 disable.
36468 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
36469 check_long_double.
36470
36471 * math/gen-libm-test.pl (@tests): Remove variable.
36472 ($count): Likewise.
36473 (new_test): Remove function.
36474 (show_exceptions): New function.
36475 (special_functions): Use show_exceptions instead of new_test.
36476 (parse_args): Likewise.
36477 (generate_testfile): Pass only function name in generated call to
36478 print_max_error or print_complex_max_error.
36479 (get_ulps): Do not handle complex tests specially.
36480 (output_test): Rename to ...
36481 (get_all_ulps_for_test): ... this. Return a string rather than
36482 printing to a file. Require ulps to be present.
36483 (output_ulps): Generate arrays rather than #defines.
36484 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
36485 (struct ulp_data): New type.
36486 (BUILD_COMPLEX_ULP): Remove macro.
36487 (compare_ulp_data): New function.
36488 (find_ulps): Likewise.
36489 (find_test_ulps): Likewise.
36490 (find_function_ulps): Likewise.
36491 (find_complex_function_ulps): Likewise.
36492 (print_max_error): Determine allowed ulps using
36493 find_function_ulps.
36494 (print_complex_max_error): Determine allowed ulps using
36495 find_complex_function_ulps.
36496 (check_float_internal): Determine max ulps using find_test_ulps.
36497 (check_float): Do not take max_ulp parameter. Update call to
36498 check_float_internal.
36499 (check_complex): Likewise.
36500 (check_int): Do not take max_ulp parameter.
36501 (check_long): Likewise.
36502 (check_bool): Likewise.
36503 (check_longlong): Likewise.
36504 (struct test_f_f_data): Remove max_ulp field.
36505 (struct test_ff_f_data): Likewise.
36506 (struct test_ff_f_data_nexttoward): Likewise.
36507 (struct test_fi_f_data): Likewise.
36508 (struct test_fl_f_data): Likewise.
36509 (struct test_if_f_data): Likewise.
36510 (struct test_fff_f_data): Likewise.
36511 (struct test_c_f_data): Likewise.
36512 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
36513 (struct test_fF_f1_data): Likewise.
36514 (struct test_ffI_f1_data): Likewise.
36515 (struct test_c_c_data): Remove max_ulp field.
36516 (struct test_cc_c_data): Likewise.
36517 (struct test_f_i_data): Likewise.
36518 (struct test_ff_i_data): Likewise.
36519 (struct test_f_l_data): Likewise.
36520 (struct test_f_L_data): Likewise.
36521 (struct test_sincos_data): Likewise.
36522 (RUN_TEST_f_f): Do not handle ulps.
36523 (RUN_TEST_LOOP_f_f): Likewise.
36524 (RUN_TEST_2_f): Likewise.
36525 (RUN_TEST_LOOP_2_f): Likewise.
36526 (RUN_TEST_fff_f): Likewise.
36527 (RUN_TEST_LOOP_fff_f): Likewise.
36528 (RUN_TEST_c_f): Likewise.
36529 (RUN_TEST_LOOP_c_f): Likewise.
36530 (RUN_TEST_f_f1): Likewise.
36531 (RUN_TEST_LOOP_f_f1): Likewise.
36532 (RUN_TEST_fF_f1): Likewise.
36533 (RUN_TEST_LOOP_fF_f1): Likewise.
36534 (RUN_TEST_fI_f1): Likewise.
36535 (RUN_TEST_LOOP_fI_f1): Likewise.
36536 (RUN_TEST_ffI_f1): Likewise.
36537 (RUN_TEST_LOOP_ffI_f1): Likewise.
36538 (RUN_TEST_c_c): Likewise.
36539 (RUN_TEST_LOOP_c_c): Likewise.
36540 (RUN_TEST_cc_c): Likewise.
36541 (RUN_TEST_LOOP_cc_c): Likewise.
36542 (RUN_TEST_f_i): Likewise.
36543 (RUN_TEST_LOOP_f_i): Likewise.
36544 (RUN_TEST_f_i_tg): Likewise.
36545 (RUN_TEST_LOOP_f_i_tg): Likewise.
36546 (RUN_TEST_ff_i_tg): Likewise.
36547 (RUN_TEST_LOOP_ff_i_tg): Likewise.
36548 (RUN_TEST_f_b): Likewise.
36549 (RUN_TEST_LOOP_f_b): Likewise.
36550 (RUN_TEST_f_b_tg): Likewise.
36551 (RUN_TEST_LOOP_f_b_tg): Likewise.
36552 (RUN_TEST_f_l): Likewise.
36553 (RUN_TEST_LOOP_f_l): Likewise.
36554 (RUN_TEST_f_L): Likewise.
36555 (RUN_TEST_LOOP_f_L): Likewise.
36556 (RUN_TEST_sincos): Likewise.
36557 (RUN_TEST_LOOP_sincos): Likewise.
36558
36559 2013-05-17 Joseph Myers <joseph@codesourcery.com>
36560
36561 [BZ #15480]
36562 [BZ #15485]
36563 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
36564 main case of finite arguments, set rounding mode to FE_TONEAREST
36565 and discard exceptions.
36566 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
36567 exceptions.
36568 (remainder_tonearest_test_data): New variable.
36569 (remainder_test_tonearest): New function.
36570 (remainder_towardzero_test_data): New variable.
36571 (remainder_test_towardzero): New function.
36572 (remainder_downward_test_data): New variable.
36573 (remainder_test_downward): New function.
36574 (remainder_upward_test_data): New variable.
36575 (remainder_test_upward): New function.
36576 (main): Call the new test functions.
36577
36578 * math/libm-test.inc (struct test_f_f1_data): Remove field
36579 extra_init.
36580 (struct test_fF_f1_data): Likewise.
36581 (struct test_ffI_f1_data): Likewise.
36582 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
36583 based on value of EXTRA_EXPECTED.
36584 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
36585 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
36586 EXTRA_VAR based on value of EXTRA_EXPECTED.
36587 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
36588 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
36589 EXTRA_VAR based on value of EXTRA_EXPECTED.
36590 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
36591 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
36592 EXTRA_VAR based on value of EXTRA_EXPECTED.
36593 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
36594 * math/gen-libm-test.pl (parse_args): Don't output initializers
36595 for extra output values.
36596
36597 * math/libm-test.inc (check_int): Expect result to be exactly
36598 equal to expected value and do not handle ulps.
36599 (check_long): Likewise.
36600 (check_longlong): Likewise.
36601
36602 * math/libm-test.inc (ceil_test_data): Test for "inexact"
36603 exceptions.
36604 (cimag_test_data): Likewise.
36605 (conj_test_data): Likewise.
36606 (copysign_test_data): Likewise.
36607 (cproj_test_data): Likewise.
36608 (creal_test_data): Likewise.
36609 (fabs_test_data): Likewise.
36610 (fdim_test_data): Likewise.
36611 (finite_test_data): Likewise.
36612 (floor_test_data): Likewise.
36613 (fmax_test_data): Likewise.
36614 (fmin_test_data): Likewise.
36615 (fmod_test_data): Likewise.
36616 (fpclassify_test_data): Likewise.
36617 (frexp_test_data): Likewise.
36618 (ilogb_test_data): Likewise.
36619 (isfinite_test_data): Likewise.
36620 (isgreater_test_data): Likewise.
36621 (isgreaterequal_test_data): Likewise.
36622 (isinf_test_data): Likewise.
36623 (isless_test_data): Likewise.
36624 (islessequal_test_data): Likewise.
36625 (islessgreater_test_data): Likewise.
36626 (isnan_test_data): Likewise.
36627 (isnormal_test_data): Likewise.
36628 (issignaling_test_data): Likewise.
36629 (isunordered_test_data): Likewise.
36630 (ldexp_test_data): Likewise.
36631 (lrint_test_data): Likewise.
36632 (lrint_test_data) [TEST_FLOAT]: Disable one test.
36633 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
36634 (lrint_tonearest_test_data): Test for "inexact" exceptions.
36635 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
36636 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
36637 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
36638 test input.
36639 (lrint_towardzero_test_data): Test for "inexact" exceptions.
36640 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
36641 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
36642 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
36643 that test input.
36644 (lrint_downward_test_data): Test for "inexact" exceptions.
36645 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
36646 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
36647 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
36648 test input.
36649 (lrint_upward_test_data): Test for "inexact" exceptions.
36650 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
36651 test input.
36652 (llrint_test_data): Test for "inexact" exceptions.
36653 (llrint_test_data) [TEST_FLOAT]: Disable one test.
36654 (llrint_tonearest_test_data): Test for "inexact" exceptions.
36655 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
36656 (llrint_towardzero_test_data): Test for "inexact" exceptions.
36657 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
36658 (llrint_downward_test_data): Test for "inexact" exceptions.
36659 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
36660 (llrint_upward_test_data): Test for "inexact" exceptions.
36661 (logb_test_data): Likewise.
36662 (logb_downward_test_data): Likewise.
36663 (nextafter_test_data): Likewise.
36664 (nexttoward_test_data): Likewise.
36665 (remainder_test_data): Likewise.
36666 (remquo_test_data): Likewise.
36667 (scalbn_test_data): Likewise.
36668 (scalbln_test_data): Likewise.
36669 (signbit_test_data): Likewise.
36670 (sqrt_test_data): Likewise.
36671 (significand_test_data): Likewise.
36672
36673 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
36674
36675 [BZ #15424]
36676 * benchtests/bench-modf.c (struct args): Mark arg0 as
36677 volatile.
36678 * scripts/bench.pl: Mark members of struct args as volatile.
36679
36680 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36681
36682 [BZ # 15497]
36683 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
36684 negative infinity on POWER6 or lower.
36685 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
36686
36687 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
36688
36689 [BZ #15442]
36690 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
36691 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
36692 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
36693 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
36694 (_FP_SETQNAN): New macro.
36695 (_FP_SETQNAN_SEMIRAW): Likewise.
36696 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
36697 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
36698 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
36699 (FP_EXTEND): Use _FP_FRAC_SNANP.
36700 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
36701 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
36702 into account.
36703 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
36704 New macro.
36705 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
36706 Likewise.
36707
36708 2013-05-16 Joseph Myers <joseph@codesourcery.com>
36709
36710 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
36711 with DIVIDE_BY_ZERO_EXCEPTION.
36712 (gamma_test_data): Likewise.
36713 (lgamma_test_data): Likewise.
36714 (log_test_data): Likewise.
36715 (log10_test_data): Likewise.
36716 (log2_test_data): Likewise.
36717 (tgamma_test_data): Likewise.
36718
36719 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
36720 (acos_test_tonearest): Likewise.
36721 (acos_test_towardzero): Likewise.
36722 (acos_test_downward): Likewise.
36723 (acos_test_upward): Likewise.
36724 (acosh_test): Likewise.
36725 (asin_test): Likewise.
36726 (asin_test_tonearest): Likewise.
36727 (asin_test_towardzero): Likewise.
36728 (asin_test_downward): Likewise.
36729 (asin_test_upward): Likewise.
36730 (asinh_test): Likewise.
36731 (atan_test): Likewise.
36732 (atanh_test): Likewise.
36733 (atan2_test): Likewise.
36734 (cabs_test): Likewise.
36735 (cacos_test): Likewise.
36736 (cacosh_test): Likewise.
36737 (casin_test): Likewise.
36738 (casinh_test): Likewise.
36739 (catan_test): Likewise.
36740 (catanh_test): Likewise.
36741 (cbrt_test): Likewise.
36742 (ccos_test): Likewise.
36743 (ccosh_test): Likewise.
36744 (cexp_test): Likewise.
36745 (clog_test): Likewise.
36746 (clog10_test): Likewise.
36747 (cos_test): Likewise.
36748 (cos_test_tonearest): Likewise.
36749 (cos_test_towardzero): Likewise.
36750 (cos_test_downward): Likewise.
36751 (cos_test_upward): Likewise.
36752 (cosh_test): Likewise.
36753 (cosh_test_tonearest): Likewise.
36754 (cosh_test_towardzero): Likewise.
36755 (cosh_test_downward): Likewise.
36756 (cosh_test_upward): Likewise.
36757 (cpow_test): Likewise.
36758 (csin_test): Likewise.
36759 (csinh_test): Likewise.
36760 (csqrt_test): Likewise.
36761 (ctan_test): Likewise.
36762 (ctan_test_tonearest): Likewise.
36763 (ctan_test_towardzero): Likewise.
36764 (ctan_test_downward): Likewise.
36765 (ctan_test_upward): Likewise.
36766 (ctanh_test): Likewise.
36767 (ctanh_test_tonearest): Likewise.
36768 (ctanh_test_towardzero): Likewise.
36769 (ctanh_test_downward): Likewise.
36770 (ctanh_test_upward): Likewise.
36771 (erf_test): Likewise.
36772 (erfc_test): Likewise.
36773 (exp_test): Likewise.
36774 (exp_test_tonearest): Likewise.
36775 (exp_test_towardzero): Likewise.
36776 (exp_test_downward): Likewise.
36777 (exp_test_upward): Likewise.
36778 (exp10_test): Likewise.
36779 (exp2_test): Likewise.
36780 (expm1_test): Likewise.
36781 (fmod_test): Likewise.
36782 (gamma_test): Likewise.
36783 (hypot_test): Likewise.
36784 (j0_test): Likewise.
36785 (j1_test): Likewise.
36786 (jn_test): Likewise.
36787 (lgamma_test): Likewise.
36788 (log_test): Likewise.
36789 (log10_test): Likewise.
36790 (log1p_test): Likewise.
36791 (log2_test): Likewise.
36792 (logb_test_downward): Likewise.
36793 (pow_test): Likewise.
36794 (pow_test_tonearest): Likewise.
36795 (pow_test_towardzero): Likewise.
36796 (pow_test_downward): Likewise.
36797 (pow_test_upward): Likewise.
36798 (remainder_test): Likewise.
36799 (remquo_test): Likewise.
36800 (sin_test): Likewise.
36801 (sin_test_tonearest): Likewise.
36802 (sin_test_towardzero): Likewise.
36803 (sin_test_downward): Likewise.
36804 (sin_test_upward): Likewise.
36805 (sincos_test): Likewise.
36806 (sinh_test): Likewise.
36807 (sinh_test_tonearest): Likewise.
36808 (sinh_test_towardzero): Likewise.
36809 (sinh_test_downward): Likewise.
36810 (sinh_test_upward): Likewise.
36811 (sqrt_test): Likewise.
36812 (tan_test): Likewise.
36813 (tan_test_tonearest): Likewise.
36814 (tan_test_towardzero): Likewise.
36815 (tan_test_downward): Likewise.
36816 (tan_test_upward): Likewise.
36817 (tanh_test): Likewise.
36818 (tgamma_test): Likewise.
36819 (y0_test): Likewise.
36820 (y1_test): Likewise.
36821 (yn_test): Likewise.
36822
36823 * math/gen-libm-test.pl (adjust_arg): Remove function.
36824 (special_function): Remove argument $in_func. Only handle
36825 generating output for tables of tests, not inside functions.
36826 (parse_args): Likewise.
36827 (generate_testfile): Remove variable $in_func. Update call to
36828 parse_args.
36829 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
36830 (MINUS_ZERO_INIT): Rename macro to minus_zero.
36831 (PLUS_INFTY_INIT): Rename macro to plus_infty.
36832 (MINUS_INFTY_INIT): Rename macro to minus_infty.
36833 (QNAN_VALUE_INIT): Rename macro to qnan_value.
36834 (MAX_VALUE_INIT): Rename macro to max_value.
36835 (MIN_VALUE_INIT): Rename macro to min_value.
36836 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
36837 (plus_zero): Remove variable.
36838 (minus_zero): Likewise.
36839 (plus_infty): Likewise.
36840 (minus_infty): Likewise.
36841 (qnan_value): Likewise.
36842 (max_value): Likewise.
36843 (min_value): Likewise.
36844 (min_subnorm_value): Likewise.
36845
36846 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
36847
36848 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
36849 uint64_t or uint32_t usage.
36850 * crypt/sha256-block.c: Likewise.
36851 * crypt/sha256-crypt.c: Likewise.
36852 * crypt/sha256.c: Likewise.
36853 * crypt/sha512-block.c: Likewise.
36854 * crypt/sha512-crypt.c: Likewise.
36855 * crypt/sha512.c: Likewise.
36856 * debug/backtrace-tst.c: Likewise.
36857 * debug/pcprofiledump.c: Likewise.
36858 * elf/cache.c: Likewise.
36859 * elf/dl-cache.c: Likewise.
36860 * elf/dl-misc.c: Likewise.
36861 * elf/dl-profile.c: Likewise.
36862 * elf/dl-support.c: Likewise.
36863 * elf/ldconfig.c: Likewise.
36864 * elf/sprof.c: Likewise.
36865 * iconv/dummy-repertoire.c: Likewise.
36866 * iconv/iconv_charmap.c: Likewise.
36867 * iconv/skeleton.c: Likewise.
36868 * iconvdata/8bit-generic.c: Likewise.
36869 * iconvdata/cp737.h: Likewise.
36870 * iconvdata/cp775.h: Likewise.
36871 * iconvdata/ibm1008.h: Likewise.
36872 * iconvdata/ibm1025.h: Likewise.
36873 * iconvdata/ibm1046.h: Likewise.
36874 * iconvdata/ibm1097.h: Likewise.
36875 * iconvdata/ibm1112.h: Likewise.
36876 * iconvdata/ibm1122.h: Likewise.
36877 * iconvdata/ibm1123.h: Likewise.
36878 * iconvdata/ibm1124.h: Likewise.
36879 * iconvdata/ibm1129.h: Likewise.
36880 * iconvdata/ibm1130.h: Likewise.
36881 * iconvdata/ibm1132.h: Likewise.
36882 * iconvdata/ibm1133.h: Likewise.
36883 * iconvdata/ibm1137.h: Likewise.
36884 * iconvdata/ibm1140.h: Likewise.
36885 * iconvdata/ibm1141.h: Likewise.
36886 * iconvdata/ibm1142.h: Likewise.
36887 * iconvdata/ibm1143.h: Likewise.
36888 * iconvdata/ibm1144.h: Likewise.
36889 * iconvdata/ibm1145.h: Likewise.
36890 * iconvdata/ibm1146.h: Likewise.
36891 * iconvdata/ibm1147.h: Likewise.
36892 * iconvdata/ibm1148.h: Likewise.
36893 * iconvdata/ibm1149.h: Likewise.
36894 * iconvdata/ibm1153.h: Likewise.
36895 * iconvdata/ibm1154.h: Likewise.
36896 * iconvdata/ibm1155.h: Likewise.
36897 * iconvdata/ibm1156.h: Likewise.
36898 * iconvdata/ibm1157.h: Likewise.
36899 * iconvdata/ibm1158.h: Likewise.
36900 * iconvdata/ibm1160.h: Likewise.
36901 * iconvdata/ibm1161.h: Likewise.
36902 * iconvdata/ibm1162.h: Likewise.
36903 * iconvdata/ibm1163.h: Likewise.
36904 * iconvdata/ibm1164.h: Likewise.
36905 * iconvdata/ibm1166.h: Likewise.
36906 * iconvdata/ibm1167.h: Likewise.
36907 * iconvdata/ibm12712.h: Likewise.
36908 * iconvdata/ibm1390.h: Likewise.
36909 * iconvdata/ibm1399.h: Likewise.
36910 * iconvdata/ibm16804.h: Likewise.
36911 * iconvdata/ibm4517.h: Likewise.
36912 * iconvdata/ibm4899.h: Likewise.
36913 * iconvdata/ibm4909.h: Likewise.
36914 * iconvdata/ibm4971.h: Likewise.
36915 * iconvdata/ibm5347.h: Likewise.
36916 * iconvdata/ibm803.h: Likewise.
36917 * iconvdata/ibm856.h: Likewise.
36918 * iconvdata/ibm901.h: Likewise.
36919 * iconvdata/ibm902.h: Likewise.
36920 * iconvdata/ibm9030.h: Likewise.
36921 * iconvdata/ibm9066.h: Likewise.
36922 * iconvdata/ibm921.h: Likewise.
36923 * iconvdata/ibm922.h: Likewise.
36924 * iconvdata/ibm9448.h: Likewise.
36925 * iconvdata/isiri-3342.h: Likewise.
36926 * iconvdata/jis0201.h: Likewise.
36927 * include/link.h: Likewise.
36928 * include/netdb.h: Likewise.
36929 * inet/check_native.c: Likewise.
36930 * inet/check_pf.c: Likewise.
36931 * inet/getipv4sourcefilter.c: Likewise.
36932 * inet/getnameinfo.c: Likewise.
36933 * inet/getsourcefilter.c: Likewise.
36934 * inet/htonl.c: Likewise.
36935 * inet/setipv4sourcefilter.c: Likewise.
36936 * inet/setsourcefilter.c: Likewise.
36937 * inet/test-inet6_opt.c: Likewise.
36938 * inet/tst-network.c: Likewise.
36939 * locale/C-collate.c: Likewise.
36940 * locale/C-ctype.c: Likewise.
36941 * locale/C-time.c: Likewise.
36942 * locale/C-translit.h: Likewise.
36943 * locale/loadarchive.c: Likewise.
36944 * locale/programs/3level.h: Likewise.
36945 * locale/programs/charmap.c: Likewise.
36946 * locale/programs/charmap.h: Likewise.
36947 * locale/programs/ld-address.c: Likewise.
36948 * locale/programs/ld-collate.c: Likewise.
36949 * locale/programs/ld-ctype.c: Likewise.
36950 * locale/programs/ld-identification.c: Likewise.
36951 * locale/programs/ld-measurement.c: Likewise.
36952 * locale/programs/ld-messages.c: Likewise.
36953 * locale/programs/ld-monetary.c: Likewise.
36954 * locale/programs/ld-name.c: Likewise.
36955 * locale/programs/ld-numeric.c: Likewise.
36956 * locale/programs/ld-paper.c: Likewise.
36957 * locale/programs/ld-telephone.c: Likewise.
36958 * locale/programs/ld-time.c: Likewise.
36959 * locale/programs/linereader.c: Likewise.
36960 * locale/programs/locale.c: Likewise.
36961 * locale/programs/locarchive.c: Likewise.
36962 * locale/programs/locfile.h: Likewise.
36963 * locale/programs/repertoire.c: Likewise.
36964 * locale/programs/simple-hash.c: Likewise.
36965 * locale/programs/simple-hash.h: Likewise.
36966 * malloc/memusage.c: Likewise.
36967 * malloc/memusagestat.c: Likewise.
36968 * nis/nis_defaults.c: Likewise.
36969 * nis/nis_hash.c: Likewise.
36970 * nis/nis_print.c: Likewise.
36971 * nis/nis_xdr.c: Likewise.
36972 * nscd/connections.c: Likewise.
36973 * nscd/hstcache.c: Likewise.
36974 * nscd/nscd_gethst_r.c: Likewise.
36975 * nscd/nscd_getserv_r.c: Likewise.
36976 * nscd/nscd_helper.c: Likewise.
36977 * nscd/servicescache.c: Likewise.
36978 * nss/makedb.c: Likewise.
36979 * nss/nss_db/db-XXX.c: Likewise.
36980 * nss/nss_db/db-initgroups.c: Likewise.
36981 * nss/nss_db/db-netgrp.c: Likewise.
36982 * nss/nss_files/files-network.c: Likewise.
36983 * nss/nss_files/files-parse.c: Likewise.
36984 * posix/bug-regex5.c: Likewise.
36985 * posix/fnmatch_loop.c: Likewise.
36986 * posix/regcomp.c: Likewise.
36987 * posix/regexec.c: Likewise.
36988 * posix/tst-rfc3484-2.c: Likewise.
36989 * posix/tst-rfc3484-3.c: Likewise.
36990 * posix/tst-rfc3484.c: Likewise.
36991 * resolv/nss_dns/dns-canon.c: Likewise.
36992 * resolv/nss_dns/dns-network.c: Likewise.
36993 * resolv/res_init.c: Likewise.
36994 * resolv/res_mkquery.c: Likewise.
36995 * resolv/tst-aton.c: Likewise.
36996 * stdlib/cxa_atexit.c: Likewise.
36997 * stdlib/cxa_finalize.c: Likewise.
36998 * stdlib/gen-fpioconst.c: Likewise.
36999 * stdlib/strtol_l.c: Likewise.
37000 * string/tst-endian.c: Likewise.
37001 * sunrpc/auth_des.c: Likewise.
37002 * sunrpc/clnt_udp.c: Likewise.
37003 * sunrpc/rtime.c: Likewise.
37004 * sunrpc/svcauth_des.c: Likewise.
37005 * sunrpc/xdr.c: Likewise.
37006 * sunrpc/xdr_intXX_t.c: Likewise.
37007 * sunrpc/xdr_rec.c: Likewise.
37008 * sysdeps/generic/ldconfig.h: Likewise.
37009 * sysdeps/generic/ldsodefs.h: Likewise.
37010 * sysdeps/generic/memusage.h: Likewise.
37011 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
37012 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
37013 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
37014 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
37015 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37016 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
37017 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
37018 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
37019 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
37020 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
37021 * sysdeps/posix/getaddrinfo.c: Likewise.
37022 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
37023 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
37024 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
37025 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
37026 * sysdeps/powerpc/test-gettimebase.c: Likewise.
37027 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
37028 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
37029 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
37030 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
37031 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
37032 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
37033 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
37034 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
37035 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
37036 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
37037 * sysdeps/x86_64/dl-tls.h: Likewise.
37038 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
37039 * time/alt_digit.c: Likewise.
37040 * time/era.c: Likewise.
37041 * wcsmbs/tst-c16c32-1.c: Likewise.
37042
37043 2013-05-16 Joseph Myers <joseph@codesourcery.com>
37044
37045 * math/libm-test.inc (struct test_sincos_data): New type.
37046 (RUN_TEST_LOOP_sincos): New macro.
37047 (sincos_test_data): New variable.
37048 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
37049
37050 2013-05-16 Richard Henderson <rth@redhat.com>
37051
37052 * math/atest-exp2.c (LIMB64): New macro.
37053 (CONSTSZ): New macro.
37054 (mp_exp1, mp_exp_m1, mp_log2): New variables.
37055 (hexdig): Move ...
37056 (print_mpn_fp): ... to function scope.
37057 (read_mpn_hex): Remove.
37058 (get_log2): Remove.
37059 (exp2_mpn): Use mp_log2.
37060 (main): Use mp_exp1.
37061
37062 2013-05-16 Joseph Myers <joseph@codesourcery.com>
37063
37064 * math/libm-test.inc: Remove comment about not testing "inexact"
37065 exceptions.
37066 (INEXACT_EXCEPTION): New macro.
37067 (NO_INEXACT_EXCEPTION): Likewise.
37068 (INVALID_EXCEPTION_OK): Update value.
37069 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
37070 (OVERFLOW_EXCEPTION_OK): Likewise.
37071 (UNDERFLOW_EXCEPTION_OK): Likewise.
37072 (IGNORE_ZERO_INF_SIGN): Likewise.
37073 (ERRNO_UNCHANGED): Likewise.
37074 (ERRNO_EDOM): Likewise.
37075 (ERRNO_ERANGE): Likewise.
37076 (test_exceptions): Handle testing "inexact" exceptions.
37077 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
37078 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
37079 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
37080 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
37081 INEXACT_EXCEPTION.
37082 (rint_towardzero_test_data): Likewise.
37083 (rint_downward_test_data): Likewise.
37084 (rint_upward_test_data): Likewise.
37085
37086 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
37087 with OVERFLOW_EXCEPTION.
37088 (exp10_test_data): Likewise.
37089 (exp2_test_data): Likewise.
37090 (expm1_test_data): Likewise.
37091 (lgamma_test_data): Likewise.
37092 (pow_test_data): Likewise.
37093 (tgamma_test_data): Likewise.
37094 (yn_test_data): Remove duplicate test of overflow.
37095
37096 * math/libm-test.inc (struct test_cc_c_data): New type.
37097 (RUN_TEST_LOOP_cc_c): New macro.
37098 (cpow_test_data): New variable.
37099 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
37100
37101 * math/libm-test.inc (struct test_f_L_data): New type.
37102 (RUN_TEST_LOOP_f_L): New macro.
37103 (llrint_test_data): New variable.
37104 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
37105 (llrint_tonearest_test_data): New variable.
37106 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
37107 (llrint_towardzero_test_data): New variable.
37108 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
37109 (llrint_downward_test_data): New variable.
37110 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
37111 (llrint_upward_test_data): New variable.
37112 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
37113 (llround_test_data): New variable.
37114 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
37115
37116 2013-05-13 Peter Collingbourne <pcc@google.com>
37117
37118 * math/atest-exp2.c (get_log2): Remove const attribute.
37119
37120 2013-05-15 Joseph Myers <joseph@codesourcery.com>
37121
37122 * math/libm-test.inc (struct test_f_l_data): New type.
37123 (RUN_TEST_LOOP_f_l): New macro.
37124 (lrint_test_data): New variable.
37125 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
37126 (lrint_tonearest_test_data): New variable.
37127 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
37128 (lrint_towardzero_test_data): New variable.
37129 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
37130 (lrint_downward_test_data): New variable.
37131 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
37132 (lrint_upward_test_data): New variable.
37133 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
37134 (lround_test_data): New variable.
37135 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
37136
37137 2013-05-15 Peter Collingbourne <pcc@google.com>
37138
37139 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
37140 (EXTRACT_WORDS64) Use where appropriate.
37141 (INSERT_WORDS64) Likewise.
37142
37143 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
37144 constraints with x constraints.
37145 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
37146
37147 * malloc/obstack.c (_obstack_compat): Add initializer.
37148
37149 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
37150
37151 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
37152 si_trapno and add si_addr_lsb to _sifields.sigfault.
37153 (si_trapno): Remove macro.
37154 (si_addr_lsb): Define new macro.
37155 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
37156
37157 2013-05-15 Joseph Myers <joseph@codesourcery.com>
37158
37159 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
37160 instead of TEST_f_l.
37161 (llrint_test_tonearest): Likewise.
37162 (llrint_test_towardzero): Likewise.
37163 (llrint_test_downward): Likewise.
37164 (llrint_test_upward): Likewise.
37165 (llround_test): Likewise.
37166
37167 * math/libm-test.inc (struct test_f_i_data): Add comment.
37168 (RUN_TEST_LOOP_f_b): New macro.
37169 (RUN_TEST_LOOP_f_b_tg): Likewise.
37170 (finite_test_data): New variable.
37171 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
37172 (isfinite_test_data): New variable.
37173 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
37174 (isinf_test_data): New variable.
37175 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
37176 (isnan_test_data): New variable.
37177 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
37178 (isnormal_test_data): New variable.
37179 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
37180 (issignaling_test_data): New variable.
37181 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
37182 (signbit_test_data): New variable.
37183 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
37184
37185 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
37186 with INVALID_EXCEPTION.
37187 (acosh_test_data): Likewise.
37188 (asin_test_data): Likewise.
37189 (atanh_test_data): Likewise.
37190 (fmod_test_data): Likewise.
37191 (log_test_data): Likewise.
37192 (log10_test_data): Likewise.
37193 (log2_test_data): Likewise.
37194 (pow_test_data): Likewise.
37195 (sqrt_test_data): Likewise.
37196 (y0_test_data): Likewise.
37197 (y1_test_data): Likewise.
37198 (yn_test_data): Likewise.
37199
37200 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
37201 function contents.
37202
37203 * math/libm-test.inc (struct test_ff_i_data): New type.
37204 (RUN_TEST_LOOP_ff_i_tg): New macro.
37205 (isgreater_test_data): New variable.
37206 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
37207 (isgreaterequal_test_data): New variable.
37208 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
37209 (isless_test_data): New variable.
37210 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
37211 (islessequal_test_data): New variable.
37212 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
37213 (islessgreater_test_data): New variable.
37214 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
37215 (isunordered_test_data): New variable.
37216 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
37217
37218 2013-05-14 David S. Miller <davem@davemloft.net>
37219
37220 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37221
37222 2013-05-14 Joseph Myers <joseph@codesourcery.com>
37223
37224 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
37225
37226 * math/libm-test.inc (struct test_fF_f1_data): Change type of
37227 extra_test to int.
37228 (struct test_f_i_data): Change type of max_ulp to int.
37229
37230 * math/libm-test.inc (test_ffI_f1_data): New type.
37231 (RUN_TEST_LOOP_ffI_f1): New macro.
37232 (remquo_test_data): New variable.
37233 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
37234
37235 * setjmp/tst-setjmp-fp.c: New file.
37236 * setjmp/Makefile (tests): Add tst-setjmp-fp.
37237 (link-libm): New variable.
37238 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
37239
37240 * math/libm-test.inc (struct test_f_i_data): New type.
37241 (RUN_TEST_LOOP_f_i): New macro.
37242 (RUN_TEST_LOOP_f_i_tg): Likewise.
37243 (fpclassify_test_data): New variable.
37244 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
37245 (ilogb_test_data): New variable.
37246 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
37247
37248 * math/libm-test.inc (scalbln_test): Correct function name in END
37249 call.
37250
37251 * math/libm-test.inc (struct test_f_f1_data): Add comment.
37252 (RUN_TEST_LOOP_fI_f1): New macro.
37253 (frexp_test_data): New variable.
37254 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
37255
37256 * math/libm-test.inc (struct test_fF_f1_data): New type.
37257 (RUN_TEST_LOOP_fF_f1): New macro.
37258 (modf_test_data): New variable.
37259 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
37260
37261 * math/libm-test.inc (struct test_f_f1_data): New type.
37262 (RUN_TEST_LOOP_f_f1): New macro.
37263 (gamma_test_data): New variable.
37264 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
37265 (lgamma_test_data): New variable.
37266 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
37267
37268 2013-05-13 Carlos O'Donell <carlos@redhat.com>
37269
37270 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
37271 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
37272 (main): Comment "tls" pseudo-hwcap.
37273
37274 2013-05-13 Joseph Myers <joseph@codesourcery.com>
37275
37276 * math/libm-test.inc (struct test_fl_f_data): New type.
37277 (RUN_TEST_LOOP_fl_f): New variable.
37278 (scalbln_test_data): New variable.
37279 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
37280
37281 * math/libm-test.inc (struct test_fi_f_data): New type.
37282 (RUN_TEST_LOOP_fi_f): New macro.
37283 (ldexp_test_data): New variable.
37284 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
37285 (scalbn_test_data): New variable.
37286 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
37287
37288 * math/libm-test.inc (struct test_c_f_data): New type.
37289 (RUN_TEST_LOOP_c_f): New macro.
37290 (cabs_test_data): New variable.
37291 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
37292 (carg_test_data): New variable.
37293 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
37294 (cimag_test_data): New variable.
37295 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
37296 (creal_test_data): New variable.
37297 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
37298
37299 * math/libm-test.inc (struct test_if_f_data): New type.
37300 (RUN_TEST_LOOP_if_f): New macro.
37301 (jn_test_data): New variable.
37302 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
37303 (yn_test_data): New variable.
37304 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
37305
37306 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
37307
37308 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37309
37310 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
37311 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
37312
37313 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
37314
37315 * benchtests/Makefile (CPPFLAGS-nonlib): Add
37316 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
37317 (bench-deps): Add bench-timing.h.
37318 * benchtests-bench-skeleton.c: Include bench-timing.h.
37319 (main): Use TIMING_* macros instead of clock_gettime.
37320 * benchtests/bench-timing.h: New file.
37321
37322 [BZ #14582]
37323 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
37324 Renamed from _LIB_VERSION.
37325 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
37326
37327 2013-05-12 Joseph Myers <joseph@codesourcery.com>
37328
37329 * math/libm-test.inc (struct test_fff_f_data): New type.
37330 (RUN_TEST_LOOP_fff_f): New macro.
37331 (fma_test_data): New variable.
37332 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
37333 (fma_towardzero_test_data): New variable.
37334 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
37335 (fma_downward_test_data): New variable.
37336 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
37337 (fma_upward_test_data): New variable.
37338 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
37339
37340 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
37341 (struct test_c_c_data): New type.
37342 (RUN_TEST_LOOP_c_c): New macro.
37343 (cacos_test_data): New variable.
37344 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
37345 (cacosh_test_data): New variable.
37346 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
37347 (casin_test_data): New variable.
37348 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
37349 (casinh_test_data): New variable.
37350 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
37351 (catan_test_data): New variable.
37352 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
37353 (catanh_test_data): New variable.
37354 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
37355 (ccos_test_data): New variable.
37356 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
37357 (ccosh_test_data): New variable.
37358 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
37359 (cexp_test_data): New variable.
37360 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
37361 (clog_test_data): New variable.
37362 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
37363 (clog10_test_data): New variable.
37364 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
37365 (conj_test_data): New variable.
37366 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
37367 (cproj_test_data): New variable.
37368 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
37369 (csin_test_data): New variable.
37370 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
37371 (csinh_test_data): New variable.
37372 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
37373 (csqrt_test_data): New variable.
37374 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
37375 (ctan_test_data): New variable.
37376 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
37377 (ctan_tonearest_test_data): New variable.
37378 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
37379 (ctan_towardzero_test_data): New variable.
37380 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
37381 (ctan_downward_test_data): New variable.
37382 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
37383 (ctan_upward_test_data): New variable.
37384 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
37385 (ctanh_test_data): New variable.
37386 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
37387 (ctanh_tonearest_test_data): New variable.
37388 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
37389 (ctanh_towardzero_test_data): New variable.
37390 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
37391 (ctanh_downward_test_data): New variable.
37392 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
37393 (ctanh_upward_test_data): New variable.
37394 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
37395 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
37396 of BUILD_COMPLEX.
37397
37398 * math/libm-test.inc (struct test_ff_f_data): New type.
37399 (struct test_ff_f_data_nexttoward): Likewise.
37400 (RUN_TEST_LOOP_2_f): New macro.
37401 (RUN_TEST_LOOP_ff_f): Likewise.
37402 (atan2_test_data): New variable.
37403 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
37404 (copysign_test_data): New variable.
37405 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
37406 (fdim_test_data): New variable.
37407 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
37408 (fmax_test_data): New variable.
37409 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
37410 (fmin_test_data): New variable.
37411 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
37412 (fmod_test_data): New variable.
37413 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
37414 (hypot_test_data): New variable.
37415 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
37416 (nextafter_test_data): New variable.
37417 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
37418 (nexttoward_test_data): New variable.
37419 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
37420 (pow_test_data): New variable.
37421 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
37422 (pow_tonearest_test_data): New variable.
37423 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
37424 (pow_towardzero_test_data): New variable.
37425 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
37426 (pow_downward_test_data): New variable.
37427 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
37428 (pow_upward_test_data): New variable.
37429 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
37430 (remainder_test_data): New variable.
37431 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
37432 (scalb_test_data): New variable.
37433 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
37434 * sysdeps/i386/fpu/libm-test-ulps: Update.
37435
37436 2013-05-11 Joseph Myers <joseph@codesourcery.com>
37437
37438 * math/libm-test.inc (fma_test): Use max_value instead of local
37439 variable fltmax.
37440 (nextafter_test): Likewise.
37441
37442 * math/libm-test.inc (acos_towardzero_test_data): New variable.
37443 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37444 (acos_downward_test_data): New variable.
37445 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37446 (acos_upward_test_data): New variable.
37447 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37448 (acosh_test_data): New variable.
37449 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
37450 (asin_test_data): New variable.
37451 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
37452 (asin_tonearest_test_data): New variable.
37453 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37454 (asin_towardzero_test_data): New variable.
37455 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37456 (asin_downward_test_data): New variable.
37457 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37458 (asin_upward_test_data): New variable.
37459 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37460 (asinh_test_data): New variable.
37461 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
37462 (atan_test_data): New variable.
37463 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
37464 (atanh_test_data): New variable.
37465 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
37466 (cbrt_test_data): New variable.
37467 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
37468 (ceil_test_data): New variable.
37469 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
37470 (cos_test_data): New variable.
37471 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
37472 (cos_tonearest_test_data): New variable.
37473 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37474 (cos_towardzero_test_data): New variable.
37475 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37476 (cos_downward_test_data): New variable.
37477 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37478 (cos_upward_test_data): New variable.
37479 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37480 (cosh_test_data): New variable.
37481 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
37482 (cosh_tonearest_test_data): New variable.
37483 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37484 (cosh_towardzero_test_data): New variable.
37485 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37486 (cosh_downward_test_data): New variable.
37487 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37488 (cosh_upward_test_data): New variable.
37489 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37490 (erf_test_data): New variable.
37491 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
37492 (erfc_test_data): New variable.
37493 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
37494 (exp_test_data): New variable.
37495 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
37496 (exp_tonearest_test_data): New variable.
37497 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37498 (exp_towardzero_test_data): New variable.
37499 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37500 (exp_downward_test_data): New variable.
37501 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37502 (exp_upward_test_data): New variable.
37503 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37504 (exp10_test_data): New variable.
37505 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
37506 (exp2_test_data): New variable.
37507 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
37508 (expm1_test_data): New variable.
37509 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
37510 (fabs_test_data): New variable.
37511 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
37512 (floor_test_data): New variable.
37513 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
37514 (j0_test_data): New variable.
37515 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
37516 (j1_test_data): New variable.
37517 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
37518 (log_test_data): New variable.
37519 (log_test): Run tests with RUN_TEST_LOOP_f_f.
37520 (log10_test_data): New variable.
37521 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
37522 (log1p_test_data): New variable.
37523 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
37524 (log2_test_data): New variable.
37525 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
37526 (logb_test_data): New variable.
37527 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
37528 (logb_downward_test_data): New variable.
37529 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37530 (nearbyint_test_data): New variable.
37531 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
37532 (rint_test_data): New variable.
37533 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
37534 (rint_tonearest_test_data): New variable.
37535 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37536 (rint_towardzero_test_data): New variable.
37537 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37538 (rint_downward_test_data): New variable.
37539 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37540 (rint_upward_test_data): New variable.
37541 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37542 (round_test_data): New variable.
37543 (round_test): Run tests with RUN_TEST_LOOP_f_f.
37544 (sin_test_data): New variable.
37545 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
37546 (sin_tonearest_test_data): New variable.
37547 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37548 (sin_towardzero_test_data): New variable.
37549 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37550 (sin_downward_test_data): New variable.
37551 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37552 (sin_upward_test_data): New variable.
37553 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37554 (sinh_test_data): New variable.
37555 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
37556 (sinh_tonearest_test_data): New variable.
37557 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37558 (sinh_towardzero_test_data): New variable.
37559 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37560 (sinh_downward_test_data): New variable.
37561 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37562 (sinh_upward_test_data): New variable.
37563 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37564 (sqrt_test_data): New variable.
37565 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
37566 (tan_test_data): New variable.
37567 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
37568 (tan_tonearest_test_data): New variable.
37569 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37570 (tan_towardzero_test_data): New variable.
37571 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37572 (tan_downward_test_data): New variable.
37573 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37574 (tan_upward_test_data): New variable.
37575 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37576 (tanh_test_data): New variable.
37577 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
37578 (tgamma_test_data): New variable.
37579 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
37580 (trunc_test_data): New variable.
37581 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
37582 (y0_test_data): New variable.
37583 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
37584 (y1_test_data): New variable.
37585 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
37586 (significand_test_data): New variable.
37587 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
37588
37589 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
37590
37591 [BZ #12387]
37592 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
37593
37594 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
37595
37596 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
37597
37598 2013-05-10 Andreas Jaeger <aj@suse.de>
37599
37600 [BZ #15448]
37601 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
37602 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
37603
37604 2013-05-10 Joseph Myers <joseph@codesourcery.com>
37605
37606 * math/gen-libm-test.pl (adjust_arg): New function.
37607 (special_functions): Handle generating output in both functions
37608 and arrays.
37609 (parse_args): Likewise.
37610 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
37611 $in_func argument to parse_args.
37612 * math/libm-test.inc (struct test_f_f_data): New type.
37613 (IF_ROUND_INIT_): New macro.
37614 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
37615 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
37616 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
37617 (IF_ROUND_INIT_FE_UPWARD): Likewise.
37618 (ROUND_RESTORE_): Likewise.
37619 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
37620 (ROUND_RESTORE_FE_TONEAREST): Likewise.
37621 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
37622 (ROUND_RESTORE_FE_UPWARD): Likewise.
37623 (RUN_TEST_LOOP_f_f): New macro.
37624 (acos_test_data): New variable.
37625 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
37626 (acos_tonearest_test_data): New variable.
37627 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37628
37629 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
37630
37631 * benchtests/bench-skeleton.c (startup): Fix coding style.
37632
37633 2013-05-10 Joseph Myers <joseph@codesourcery.com>
37634
37635 [BZ #6809]
37636 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
37637 negative infinity argument.
37638 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
37639 negative infinity argument.
37640 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
37641 negative infinity argument.
37642 * math/libm-test.inc (tgamma_test): Expect errno to be set for
37643 domain errors.
37644
37645 2013-05-10 Florian Weimer <fweimer@redhat.com>
37646
37647 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
37648 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
37649 * iconv/iconv_prog.c (main): Likewise.
37650 * locale/programs/charmap-dir.c (charmap_readdir)
37651 (fopen_uncompressed): Likewise.
37652 * locale/programs/locfile.c (siblings_uncached)
37653 (write_locale_data): Use lstat64 instead of lstat.
37654 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
37655 stat.
37656
37657 2013-05-10 Andreas Jaeger <aj@suse.de>
37658
37659 [BZ #15395]
37660 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
37661 localization.
37662 Include <locale.h>.
37663
37664 2013-05-09 Carlos O'Donell <carlos@redhat.com>
37665
37666 * elf/dl-close.c (_dl_close_worker): Add comments.
37667
37668 2013-05-09 Joseph Myers <joseph@codesourcery.com>
37669
37670 [BZ #15359]
37671 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
37672 high part of pi/2.
37673 (__ieee754_rem_pio2l): Update comments.
37674
37675 [BZ #15429]
37676 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
37677 high part of pi/2.
37678 (__ieee754_rem_pio2l): Update comments.
37679
37680 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
37681 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
37682
37683 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
37684 M_PI_4l.
37685
37686 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
37687 (M_PI_34_LOG10El): Likewise.
37688 (M_PI2_LOG10El): Likewise.
37689 (M_PI4_LOG10El): Likewise.
37690 (M_PI_LOG10El): Likewise.
37691
37692 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37693
37694 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37695
37696 2013-05-08 Joseph Myers <joseph@codesourcery.com>
37697
37698 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
37699 (MINUS_ZERO_INIT): Likewise.
37700 (PLUS_INFTY_INIT): Likewise.
37701 (MINUS_INFTY_INIT): Likewise.
37702 (QNAN_VALUE_INIT): Likewise.
37703 (MAX_VALUE_INIT): Likewise.
37704 (MIN_VALUE_INIT): Likewise.
37705 (MIN_SUBNORM_VALUE_INIT): Likewise.
37706 (plus_zero): Initialize with PLUS_ZERO_INIT.
37707 (minus_zero): Initialize with MINUS_ZERO_INIT.
37708 (plus_infty): Initialize with PLUS_INFTY_INIT.
37709 (minus_infty): Initialize with MINUS_INFTY_INIT.
37710 (qnan_value): Initialize with QNAN_VALUE_INIT.
37711 (max_value): Initialize with MAX_VALUE_INIT.
37712 (min_value): Initialize with MIN_VALUE_INIT.
37713 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
37714
37715 * math/libm-test.inc (RUN_TEST_if_f): New macro.
37716 (jn_test): Use TEST_if_f instead of TEST_ff_f.
37717 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
37718 (yn_test): Use TEST_if_f instead of TEST_ff_f.
37719
37720 * math/libm-test.inc (RUN_TEST_f_f): New macro.
37721 (RUN_TEST_2_f): Likewise.
37722 (RUN_TEST_ff_f): Likewise.
37723 (RUN_TEST_fi_f): Likewise.
37724 (RUN_TEST_fl_f): Likewise.
37725 (RUN_TEST_fff_f): Likewise.
37726 (RUN_TEST_c_f): Likewise.
37727 (RUN_TEST_f_f1): Likewise.
37728 (RUN_TEST_fF_f1): Likewise.
37729 (RUN_TEST_fI_f1): Likewise.
37730 (RUN_TEST_ffI_f1): Likewise.
37731 (RUN_TEST_c_c): Likewise.
37732 (RUN_TEST_cc_c): Likewise.
37733 (RUN_TEST_f_i): Likewise.
37734 (RUN_TEST_f_i_tg): Likewise.
37735 (RUN_TEST_ff_i_tg): Likewise.
37736 (RUN_TEST_f_b): Likewise.
37737 (RUN_TEST_f_b_tg): Likewise.
37738 (RUN_TEST_f_l): Likewise.
37739 (RUN_TEST_f_L): Likewise.
37740 (RUN_TEST_sincos): Likewise.
37741 * math/gen-libm-test.pl (new_test): Take new argument to indicate
37742 whether to show exceptions. Do not include ");\n" in return
37743 value.
37744 (special_functions): Output call to RUN_TEST_sincos instead of
37745 check_float calls. Update calls to new_test.
37746 (parse_args): Output call to single RUN_TEST_* macro instead of
37747 check_* calls and other assignments. Update calls to new_test.
37748
37749 [BZ #2546]
37750 [BZ #2560]
37751 [BZ #5159]
37752 [BZ #15426]
37753 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
37754 input to result for tgamma overflow.
37755 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
37756 (gamma_coeff): New variable.
37757 (NCOEFF): New macro.
37758 (gamma_positive): New function.
37759 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
37760 underflow here. Use gamma_positive instead of exp (lgamma) for
37761 other arguments.
37762 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
37763 (gamma_coeff): New variable.
37764 (NCOEFF): New macro.
37765 (gammaf_positive): New function.
37766 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
37767 underflow here. Use gamma_positive instead of exp (lgamma) for
37768 other arguments.
37769 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
37770 (gamma_coeff): New variable.
37771 (NCOEFF): New macro.
37772 (gammal_positive): New function.
37773 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
37774 underflow here. Use gamma_positive instead of exp (lgamma) for
37775 other arguments.
37776 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
37777 (gamma_coeff): New variable.
37778 (NCOEFF): New macro.
37779 (gammal_positive): New function.
37780 (__ieee754_gammal_r): Handle positive infinity, overflow and
37781 underflow here. Handle NaN the same as positive infinity. Remove
37782 check x < 0xffffffff for negative integers. Use gamma_positive
37783 instead of exp (lgamma) for other arguments.
37784 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
37785 (gamma_coeff): New variable.
37786 (NCOEFF): New macro.
37787 (gammal_positive): New function.
37788 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
37789 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
37790 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
37791 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
37792 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
37793 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
37794 * sysdeps/generic/math_private.h (__gamma_productf): New
37795 prototype.
37796 (__gamma_product): Likewise.
37797 (__gamma_productl): Likewise.
37798 * math/Makefile (libm-calls): Add gamma_product.
37799 * math/libm-test.inc (tgamma_test): Add more tests.
37800 * sysdeps/i386/fpu/libm-test-ulps: Update.
37801 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37802
37803 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
37804
37805 * benchtests/bench-skeleton.c (main): Preheat CPU.
37806
37807 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
37808
37809 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
37810
37811 2013-05-07 Roland McGrath <roland@hack.frob.com>
37812
37813 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
37814 and _dl_skip_args_internal.
37815
37816 2013-05-07 Carlos O'Donell <carlos@redhat.com>
37817
37818 * manual/message.texi (Message Translation): Talk about users.
37819 Message to key mapping impacts design.
37820
37821 2013-05-06 Roland McGrath <roland@hack.frob.com>
37822
37823 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
37824
37825 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
37826
37827 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
37828 * sysdeps/wordsize-64/glob64.c: ... here.
37829
37830 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
37831 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
37832 New macros.
37833
37834 * debug/getlogin_r_chk.c: Moved to ...
37835 * login/getlogin_r_chk.c: ... here.
37836 * debug/Makefile (routines): Move getlogin_r_chk to ...
37837 * login/Makefile (routines): ... here.
37838 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
37839 * login/Versions (libc: GLIBC_2.4): ... here.
37840
37841 * io/poll.c (__poll): Renamed from poll.
37842 Add libc_hidden_def.
37843 (poll): Define as weak alias.
37844
37845 * debug/ptsname_r_chk.c: Moved to ...
37846 * login/ptsname_r_chk.c: ... here.
37847 * debug/Makefile (routines): Move ptsname_r_chk to ...
37848 * login/Makefile (routines): ... here.
37849 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
37850 * login/Versions (libc: GLIBC_2.4): ... here.
37851
37852 * posix/getlogin.c: Moved to ...
37853 * login/getlogin.c: ... here.
37854 * posix/getlogin_r.c: Moved to ...
37855 * login/getlogin_r.c: ... here.
37856 * posix/getlogin_r.c: Moved to ...
37857 * login/getlogin_r.c: ... here.
37858 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
37859 * login/Makefile (routines): ... here.
37860 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
37861 * login/Versions (libc: GLIBC_2.0): ... here.
37862
37863 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
37864 (setrlimit): Define as weak alias.
37865
37866 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
37867 Call __ names for open, ftruncate, and close.
37868 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
37869 (truncate): Define as weak alias.
37870
37871 2013-05-06 Joseph Myers <joseph@codesourcery.com>
37872
37873 * math/gen-libm-test.pl (parse_args): Initialize x before each
37874 test of frexp, modf and remquo.
37875
37876 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
37877 test signgam value.
37878
37879 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37880
37881 [BZ #15418]
37882 [BZ #15419]
37883 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
37884 internal tests.
37885 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
37886
37887 2013-05-06 Roland McGrath <roland@hack.frob.com>
37888
37889 * elf/dl-writev.h: New file.
37890 * elf/dl-misc.c: Include it.
37891 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
37892 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
37893
37894 2013-05-04 Joseph Myers <joseph@codesourcery.com>
37895
37896 * math/libm-test.inc (noXFails): Remove variable.
37897 (noXPasses): Likewise.
37898 (BUILD_COMPLEX_INT): Remove macro.
37899 (print_screen): Remove xfail argument.
37900 (print_screen_max_error): Likewise.
37901 (update_stats): Likewise.
37902 (print_max_error): Likewise. Update calls to other affected
37903 functions.
37904 (print_complex_max_error): Likewise.
37905 (test_single_exception): Update calls to print_screen.
37906 (test_single_errno): Likewise.
37907 (check_float_internal): Remove xfail argument. Update calls to
37908 other affected functions.
37909 (check_float): Likewise.
37910 (check_complex): Likewise.
37911 (check_int): Likewise.
37912 (check_long): Likewise.
37913 (check_bool): Likewise.
37914 (check_longlong): Likewise.
37915 (main): Don't print noXFails and noXPasses.
37916 * math/gen-libm-test.pl (top level): Don't mention expected
37917 failure handling in comment.
37918 (new_test): Don't handle expected failures.
37919 (parse_args): Don't mention expected failure handling in comment.
37920 (generate_testfile): Don't handle expected failures.
37921 (parse_ulps): Likewise.
37922 (print_ulps_file): Likewise.
37923 (get_failure): Remove function.
37924 (output_test): Don't handle expected failures.
37925 * make/README.libm-test: Don't mention expected failure handling.
37926
37927 * math/libm-test.inc (plus_zero): Make const. Add initializer.
37928 (minus_zero): Likewise.
37929 (plus_infty): Likewise.
37930 (minus_infty): Likewise.
37931 (qnan_value): Likewise.
37932 (max_value): Likewise.
37933 (min_value): Likewise.
37934 (min_subnorm_value): Likewise.
37935 (initialize): Do not initialize those variables dynamically.
37936
37937 2013-05-03 Roland McGrath <roland@hack.frob.com>
37938
37939 * io/open.c (__open_2): Moved to ...
37940 * io/open_2.c: ... this new file.
37941 * io/open64.c (__open64_2): Moved to ...
37942 * io/open64_2.c: ... this new file.
37943 * io/openat.c (__openat_2): Moved to ...
37944 * io/openat_2.c: ... this new file.
37945 * io/openat64.c (__openat64_2): Moved to ...
37946 * io/openat64_2.c: ... this new file.
37947 * io/Makefile (routines): Add them.
37948 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
37949 * sysdeps/unix/sysv/linux/open_2.c: File removed.
37950 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
37951 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
37952 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
37953 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
37954 (__openat64): Add hidden_ver.
37955 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
37956 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
37957
37958 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
37959 Separately conditionalize setting of GLRO(dl_sysinfo) so
37960 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
37961 as well, but the actual setting is only under [NEED_DL_SYSINFO].
37962
37963 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37964
37965 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
37966 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
37967 definition.
37968 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
37969 * sysdeps/unix/sysv/linux/powerpc/init-first.c
37970 (_libc_vdso_platform_setup): Add __vdso_time initialization.
37971 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
37972 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
37973
37974 2013-05-03 Joseph Myers <joseph@codesourcery.com>
37975
37976 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
37977 test signgam value.
37978
37979 * math/libm-test.inc (hypot_test): Do not use
37980 IGNORE_ZERO_INF_SIGN.
37981
37982 2013-05-03 Andreas Jaeger <aj@suse.de>
37983
37984 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
37985 Linux 3.9.
37986 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
37987 (PF_MAX): Adjust for VSOCK change.
37988
37989 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37990
37991 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37992
37993 2013-05-02 Carlos O'Donell <carlos@redhat.com>
37994
37995 [BZ #15264]
37996 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
37997 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
37998 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
37999
38000 2013-05-02 David S. Miller <davem@davemloft.net>
38001
38002 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38003
38004 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
38005
38006 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
38007
38008 2013-05-01 Roland McGrath <roland@hack.frob.com>
38009
38010 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
38011
38012 2013-05-01 Richard Smith <richard@metafoo.co.uk>
38013
38014 [BZ #14952]
38015 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
38016 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
38017 Use __attribute__ ((__gnu_inline__)).
38018 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
38019 Don't use __attribute__ ((__gnu_inline__)).
38020
38021 2013-05-01 Joseph Myers <joseph@codesourcery.com>
38022
38023 [BZ #15423]
38024 * math/s_catan.c (__catan): Handle small real or imaginary part of
38025 input specially to avoid spurious underflow.
38026 * math/s_catanf.c (__catanf): Likewise.
38027 * math/s_catanh.c (__catanh): Likewise.
38028 * math/s_catanhf.c (__catanhf): Likewise.
38029 * math/s_catanhl.c (__catanhl): Likewise.
38030 * math/s_catanl.c (__catanl): Likewise.
38031 * math/libm-test.inc (catan_test): Add more tests.
38032 (catanh_test): Likewise.
38033 * sysdeps/i386/fpu/libm-test-ulps: Update.
38034 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38035
38036 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38037
38038 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38039
38040 2013-04-30 Joseph Myers <joseph@codesourcery.com>
38041
38042 [BZ #15416]
38043 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
38044 accurately for denominator in atan2.
38045 * math/s_catanf.c (__catanf): Likewise.
38046 * math/s_catanh.c (__catanh): Likewise.
38047 * math/s_catanhf.c (__catanhf): Likewise.
38048 * math/s_catanhl.c (__catanhl): Likewise.
38049 * math/s_catanl.c (__catanl): Likewise.
38050 * math/libm-test.inc (catan_test): Add more tests.
38051 (catanh_test): Likewise.
38052 * sysdeps/i386/fpu/libm-test-ulps: Update.
38053 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38054
38055 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
38056
38057 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
38058
38059 * benchtests/Makefile (bench): Remove slow benchmarks.
38060 * benchtests/atan-inputs: Add slow benchmark inputs.
38061 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
38062 (BENCH_FUNC): Accept variant offset.
38063 (VARIANT): Define.
38064 * benchtests/bench-skeleton.c (main): Run benchmark for each
38065 variant.
38066 * benchtests/cos-inputs: Add slow benchmark inputs.
38067 * benchtests/exp-inputs: Likewise.
38068 * benchtests/pow-inputs: Likewise.
38069 * benchtests/sin-inputs: Likewise.
38070 * benchtests/slowatan-inputs: Remove.
38071 * benchtests/slowatan.c: Remove.
38072 * benchtests/slowcos-inputs: Remove.
38073 * benchtests/slowcos.c: Remove.
38074 * benchtests/slowexp-inputs: Remove.
38075 * benchtests/slowexp.c: Remove.
38076 * benchtests/slowpow-inputs: Remove.
38077 * benchtests/slowpow.c: Remove.
38078 * benchtests/slowsin-inputs: Remove.
38079 * benchtests/slowsin.c: Remove.
38080 * benchtests/slowtan-inputs: Remove.
38081 * benchtests/slowtan.c: Remove.
38082 * benchtests/tan-inputs: Add slow benchmark inputs.
38083 * scripts/bench.pl: Parse comments and directives.
38084
38085 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
38086 in CPPFLAGS.
38087 ($(objpfx)bench-%.c): Remove *-ITER.
38088 * benchtests/bench-modf.c: Remove definition of ITER.
38089 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
38090 (main): Loop for DURATION seconds instead of fixed number of
38091 iterations.
38092 * scripts/bench.pl: Don't expect iterations in parameters.
38093
38094 2013-04-29 Roland McGrath <roland@hack.frob.com>
38095
38096 * io/fchdir.c (__fchdir): Renamed from fchdir.
38097 (fchdir): Define as weak alias.
38098
38099 2013-04-29 Joseph Myers <joseph@codesourcery.com>
38100
38101 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
38102 (ERRNO_EDOM): Likewise.
38103 (ERRNO_ERANGE): Likewise.
38104 (noErrnoTests): New variable.
38105 (init_max_error): Set errno to 0.
38106 (test_single_errno): New function.
38107 (test_errno): Likewise.
38108 (check_float_internal): Call test_errno. Set errno to 0.
38109 (check_complex): Refer to errno tests in comment.
38110 (check_int): Call test_errno. Set errno to 0.
38111 (check_long): Likewise.
38112 (check_bool): Likewise.
38113 (check_longlong): Likewise.
38114 (cos_test): Use ERRNO_* flags for errno tests instead of
38115 check_int.
38116 (expm1_test): Likewise.
38117 (fmod_test): Likewise.
38118 (ilogb_test): Likewise.
38119 (lgamma_test): Likewise.
38120 (pow_test): Likewise.
38121 (remainder_test): Likewise.
38122 (sin_test): Likewise.
38123 (tan_test): Likewise.
38124 (yn_test): Likewise.
38125 (initialize): Set errno to 0.
38126 (main): Print number of errno tests.
38127 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
38128
38129 2013-04-29 Andreas Jaeger <aj@suse.de>
38130
38131 [BZ #15084]
38132 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
38133 and RES_USEVC.
38134
38135 [BZ #15085]
38136 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
38137 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
38138 unimplemented.
38139
38140 [BZ #15380]
38141 * stdlib/random.c (__initstate): Return NULL if
38142 __initstate fails.
38143
38144 [BZ #15086]
38145 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
38146 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
38147 RES_SNGLKUPREOP.
38148
38149 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38150
38151 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38152
38153 2013-04-29 Joseph Myers <joseph@codesourcery.com>
38154
38155 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
38156 of individual tests.
38157 (casin_test): Likewise.
38158 (casinh_test): Likewise.
38159
38160 2013-04-27 Joseph Myers <joseph@codesourcery.com>
38161
38162 [BZ #15409]
38163 * math/s_catan.c (__catan): Handle arguments with large real or
38164 imaginary part separately without squaring.
38165 * math/s_catanf.c (__catanf): Likewise.
38166 * math/s_catanh.c (__catanh): Likewise.
38167 * math/s_catanhf.c (__catanhf): Likewise.
38168 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
38169 and redefine.
38170 (__catanhl): Handle arguments with large real or imaginary part
38171 separately without squaring.
38172 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
38173 and redefine.
38174 (__catanl): Handle arguments with large real or imaginary part
38175 separately without squaring.
38176 * math/libm-test.inc (catan_test): Add more tests.
38177 (catanh_test): Likewise.
38178 * sysdeps/i386/fpu/libm-test-ulps: Update.
38179 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38180
38181 2013-04-27 Andreas Jaeger <aj@suse.de>
38182
38183 [BZ #15007]
38184 * stdlib/stdlib.h: Update guards for qecvt.
38185 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
38186 <stdlib.h>.
38187
38188 2013-04-27 Allan McRae <allan@archlinux.org>
38189
38190 * sysdeps/i386/fpu/libm-test-ulps: Update.
38191
38192 2013-04-26 Joseph Myers <joseph@codesourcery.com>
38193
38194 [BZ #15406]
38195 * math/s_catan.c: Include <float.h>.
38196 (__catan): Ensure underflow exception occurs for underflowed
38197 result.
38198 * math/s_catanf.c: Include <float.h>.
38199 (__catanf): Ensure underflow exception occurs for underflowed
38200 result.
38201 * math/s_catanh.c: Include <float.h>.
38202 (__catanh): Ensure underflow exception occurs for underflowed
38203 result.
38204 * math/s_catanhf.c: Include <float.h>.
38205 (__catanhf): Ensure underflow exception occurs for underflowed
38206 result.
38207 * math/s_catanhl.c: Include <float.h>.
38208 (__catanhl): Ensure underflow exception occurs for underflowed
38209 result.
38210 * math/s_catanl.c: Include <float.h>.
38211 (__catanl): Ensure underflow exception occurs for underflowed
38212 result.
38213 * math/libm-test.inc (catan_test): Add more tests.
38214 (catanh_test): Likewise.
38215
38216 [BZ #15405]
38217 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
38218 underflowed result.
38219 * math/s_ccoshf.c (__ccoshf): Likewise.
38220 * math/s_ccoshl.c (__ccoshl): Likewise.
38221 * math/s_csin.c (__csin): Likewise.
38222 * math/s_csinf.c (__csinf): Likewise.
38223 * math/s_csinh.c (__csinh): Likewise.
38224 * math/s_csinhf.c (__csinhf): Likewise.
38225 * math/s_csinhl.c (__csinhl): Likewise.
38226 * math/s_csinl.c (__csinl): Likewise.
38227 * math/libm-test.inc (ccos_test): Add more tests.
38228 (ccosh_test): Likewise.
38229 (csin_test): Likewise.
38230 (csinh_test): Likewise.
38231
38232 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38233
38234 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
38235 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
38236 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
38237 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
38238 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
38239 powerpc/power5+/fpu folders.
38240 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
38241
38242
38243 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
38244
38245 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38246
38247 2013-04-25 Joseph Myers <joseph@codesourcery.com>
38248
38249 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
38250 additions to variable.
38251 [$(config-machine) = x86_64] (modules-names): Likewise.
38252 ($(objpfx)tst-audit3): Remove dependency.
38253 ($(objpfx)tst-audit3.out): Likewise.
38254 ($(objpfx)tst-audit4): Likewise.
38255 ($(objpfx)tst-audit4.out): Likewise.
38256 ($(objpfx)tst-audit5): Likewise.
38257 ($(objpfx)tst-audit5.out): Likewise.
38258 ($(objpfx)tst-audit6): Likewise.
38259 ($(objpfx)tst-audit6.out): Likewise.
38260 ($(objpfx)tst-audit7): Likewise.
38261 ($(objpfx)tst-audit7.out): Likewise.
38262 (tst-audit3-ENV): Remove variable.
38263 (tst-audit4-ENV): Likewise.
38264 (tst-audit5-ENV): Likewise.
38265 (tst-audit6-ENV): Likewise.
38266 (tst-audit7-ENV): Likewise.
38267 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
38268 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
38269 addition to variable.
38270 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
38271 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
38272 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
38273 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
38274 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
38275 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
38276 tst-audit3, tst-audit4 and tst-audit5.
38277 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
38278 tst-audit6 and tst-audit7.
38279 [$(subdir) = elf] (modules-names): Add audit modules for those
38280 tests.
38281 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
38282 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
38283 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
38284 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
38285 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
38286 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
38287 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
38288 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
38289 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
38290 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
38291 [$(subdir) = elf] (tst-audit3-ENV): New variable.
38292 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
38293 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
38294 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
38295 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
38296 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
38297 Likewise.
38298 [$(subdir) = elf && $(config-cflags-avx) = yes]
38299 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
38300 [$(subdir) = elf && $(config-cflags-avx) = yes]
38301 (CFLAGS-tst-auditmod4a.c): Likewise.
38302 [$(subdir) = elf && $(config-cflags-avx) = yes]
38303 (CFLAGS-tst-auditmod4b.c): Likewise.
38304 [$(subdir) = elf && $(config-cflags-avx) = yes]
38305 (CFLAGS-tst-auditmod6b.c): Likewise.
38306 [$(subdir) = elf && $(config-cflags-avx) = yes]
38307 (CFLAGS-tst-auditmod6c.c): Likewise.
38308 [$(subdir) = elf && $(config-cflags-avx) = yes]
38309 (CFLAGS-tst-auditmod7b.c): Likewise.
38310 * elf/tst-audit3.c: Move to ...
38311 * sysdeps/x86_64/tst-audit3.c: ... here.
38312 * elf/tst-audit4.c: Move to ...
38313 * sysdeps/x86_64/tst-audit4.c: ... here.
38314 * elf/tst-audit5.c: Move to ...
38315 * sysdeps/x86_64/tst-audit5.c: ... here.
38316 * elf/tst-audit6.c: Move to ...
38317 * sysdeps/x86_64/tst-audit6.c: ... here.
38318 * elf/tst-audit7.c: Move to ...
38319 * sysdeps/x86_64/tst-audit7.c: ... here.
38320 * elf/tst-auditmod3a.c: Move to ...
38321 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
38322 * elf/tst-auditmod3b.c: Move to ...
38323 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
38324 * elf/tst-auditmod4a.c: Move to ...
38325 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
38326 * elf/tst-auditmod4b.c: Move to ...
38327 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
38328 * elf/tst-auditmod5a.c: Move to ...
38329 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
38330 * elf/tst-auditmod5b.c: Move to ...
38331 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
38332 * elf/tst-auditmod6a.c: Move to ...
38333 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
38334 * elf/tst-auditmod6b.c: Move to ...
38335 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
38336 * elf/tst-auditmod6c.c: Move to ...
38337 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
38338 * elf/tst-auditmod7a.c: Move to ...
38339 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
38340 * elf/tst-auditmod7b.c: Move to ...
38341 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
38342
38343 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
38344
38345 [BZ #15366]
38346 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
38347 define unconditionally.
38348 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
38349 define unconditionally.
38350 (INT8_C, INT16_C, etc.): Likewise.
38351
38352 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
38353
38354 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
38355 __ehdr_start with hidden visibility.
38356
38357 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
38358
38359 2013-04-24 Carlos O'Donell <carlos@redhat.com>
38360
38361 * math/libm-test.inc (cos_test): Use accurate hex constants.
38362 (sincost_test): Likewise.
38363
38364 2013-04-24 Joseph Myers <joseph@codesourcery.com>
38365
38366 * math/libm-test.inc (catan_test): Add more tests.
38367 (catanh_test): Likewise.
38368
38369 * math/s_catanf.c (__catanf): Use suffixed floating-point
38370 constants.
38371 * math/s_catanhf.c (__catanhf): Likewise.
38372 * math/s_catanhl.c (__catanhl): Likewise.
38373 * math/s_catanl.c (__catanl): Likewise.
38374
38375 [BZ #15394]
38376 * math/s_catan.c (__catan): Calculate imaginary part of result
38377 with log1p not log unless computing log of number close to 0.
38378 * math/s_catanf.c (__catanf): Likewise.
38379 * math/s_catanl.c (__catanl): Likewise.
38380 * math/s_catanh.c (__catanh): Calculate real part of result with
38381 log1p not log unless computing log of number close to 0.
38382 * math/s_catanhf.c (__catanhf): Likewise.
38383 * math/s_catanhl.c (__catanhl): Likewise.
38384 * math/libm-test.inc (catan_test): Add more tests.
38385 (catanh_test): Likewise.
38386 * sysdeps/i386/fpu/libm-test-ulps: Update.
38387 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38388
38389 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
38390
38391 * benchtests/Makefile: Mention files in which fast and slow
38392 paths of math functions are implemented.
38393
38394 2013-04-23 Roland McGrath <roland@hack.frob.com>
38395
38396 * sysdeps/posix/timespec_get.c: New file.
38397
38398 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38399
38400 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
38401 POWER.
38402 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
38403 for POWER.
38404 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
38405 powerpc/power5/fpu folders.
38406 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
38407 * benchtests/Makefile: Add modf testcase.
38408 * benchtests/bench-modf.c: New file: Benchmark test for mo
38409
38410 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
38411
38412 [BZ #14888]
38413 * time/Makefile (tests): Add tst-strptime-whitespace.
38414 * time/strptime_l.c (get_number): Use ISSPACE.
38415 (__strptime_internal): Likewise.
38416 * time/tst-strptime-whitespace.c: New test case.
38417
38418 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
38419
38420 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
38421 member.
38422 (_nss_files_init): Set it here.
38423
38424 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
38425
38426 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
38427 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
38428 unsigned.
38429
38430 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
38431
38432 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
38433
38434 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
38435
38436 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
38437 size just once.
38438
38439 2013-04-21 David S. Miller <davem@davemloft.net>
38440
38441 * po/ru.po: Update Russion translation from translation project.
38442
38443 2013-04-17 Adam Conrad <adconrad@0c3.net>
38444
38445 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
38446 and setfsgid.
38447
38448 2013-04-17 Carlos O'Donell <carlos@redhat.com>
38449
38450 * configure.in: Remove i386 configure warning. Remove i386 case.
38451 * configure: Regenerate.
38452 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
38453 Add example to error message.
38454 * sysdeps/i386/configure: Regenerate.
38455
38456 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
38457
38458 * benchtests/Makefile (bench): Add cos, tan, slowcos and
38459 slowtan.
38460 * benchtests/cos-inputs: New file.
38461 * benchtests/slowcos-inputs: New file.
38462 * benchtests/slowcos.c: New file.
38463 * benchtests/slowtan-inputs: New file.
38464 * benchtests/slowtan.c: New file.
38465 * benchtests/tan-inputs: New file.
38466
38467 2013-04-16 Roland McGrath <roland@hack.frob.com>
38468
38469 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
38470 considered kosher.
38471
38472 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
38473
38474 * benchtests/Makefile: Include cppflags-iterator.mk to add
38475 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
38476
38477 * Makefile.in (bench-clean): New target.
38478 * benchtests/Makefile (bench-clean): Likewise.
38479
38480 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
38481
38482 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
38483
38484 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
38485
38486 * stdio-common/tstdiomisc.c: Fix coding-style violation.
38487
38488 2013-04-15 Andreas Schwab <schwab@suse.de>
38489
38490 * nscd/grpcache.c (cache_addgr): Properly check for short write.
38491 * nscd/initgrcache.c (addinitgroupsX): Likewise.
38492 * nscd/pwdcache.c (cache_addpw): Likewise.
38493 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
38494 more than recsize.
38495
38496 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
38497
38498 * benchtests/Makefile (bench): Write all output to
38499 bench-out.tmp together.
38500
38501 2013-04-15 Andreas Schwab <schwab@suse.de>
38502
38503 * nscd/nscd.c (main): Don't fork again after closing files.
38504
38505 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
38506
38507 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
38508
38509 * benchtests/Rules (bench-deps): Collect dependencies into a
38510 single variable. Add Makefile to dependencies.
38511 ($(objpfx)bench-%.c): Depend on bench-deps.
38512
38513 2013-04-12 Roland McGrath <roland@hack.frob.com>
38514 Xavier Roche <roche+kml2@exalead.com>
38515
38516 [BZ #15361]
38517 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
38518 just that it's a file descriptor.
38519 * manual/llio.texi (Synchronizing AIO Operations): Update description
38520 for EBADF error from aio_fsync.
38521
38522 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
38523
38524 * Rules (bench): Move target definition...
38525 * benchtests/Makefile: ... here.
38526
38527 2013-04-11 Carlos O'Donell <carlos@redhat.com>
38528
38529 * math/libm-test.inc (cos_test): Fix PI/2 test.
38530 (sincos_test): Likewise.
38531 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
38532 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
38533
38534 2013-04-11 Andreas Schwab <schwab@suse.de>
38535
38536 [BZ #13988]
38537 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
38538 accept exponent character only when digits were seen.
38539 * stdio-common/Makefile (tests): Add bug26.
38540 * stdio-common/bug26.c: New file.
38541
38542 [BZ #14293]
38543 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
38544 non-freeable.
38545
38546 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
38547
38548 * Makeconfig (rtld-prefix): Define built linker prefix.
38549 * Rules (run-bench): Use it.
38550 * math/Makefile (run-regen-ulps): Likewise.
38551
38552 * Rules (bench): Remove eval.
38553
38554 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
38555 Roland McGrath <roland@hack.frob.com>
38556 Ondrej Bilka <neleai@seznam.cz>
38557
38558 [BZ #15346]
38559 * time/getdate.c: Include ctype.h and alloca.h.
38560 (__getdate_r): Trim leading and trailing spaces of input.
38561 * time/tst-getdate.c (tests): Add tests with leading and
38562 trailing spaces.
38563
38564 2013-04-08 Roland McGrath <roland@hack.frob.com>
38565
38566 [BZ #14280]
38567 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
38568 when computing value.
38569
38570 2013-04-06 Carlos O'Donell <carlos@redhat.com>
38571
38572 * math/README.libm-test (How can I generate "libm-test-ulps"?):
38573 Use testrun.sh to run libm tests.
38574
38575 [BZ #15309]
38576 * elf/dl-open.c (dl_open_worker): memset all of seen array.
38577
38578 2013-04-06 Marko Myllynen <myllynen@redhat.com>
38579
38580 [BZ #15264]
38581 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
38582
38583 2013-04-06 Carlos O'Donell <carlos@redhat.com>
38584
38585 * Makefile.in (regen-ulps): New target.
38586 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
38587 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
38588 [ifneq (no,$(PERL)] (regen-ulps): New target.
38589 [ifeq (no,$(PERL)] (regen-ulps): New target.
38590 * math/libm-test.inc (ulps_file_name): Define.
38591 (output_dir): New variable.
38592 (options): Add "output-dir" option.
38593 (parse_opt): Handle 'o' case.
38594 (main): If output_dir is non-NULL use it as a prefix
38595 otherwise use "".
38596 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
38597
38598 2013-04-06 Carlos O'Donell <carlos@redhat.com>
38599
38600 [BZ #10060, #10062]
38601 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
38602 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
38603 fail configure if __sync_val_compare_and_swap is not inlined.
38604 * sysdeps/i386/configure: Regenerate.
38605 * configure.in: Build for i686 when configured for i386.
38606 * configure: Regenerate.
38607 * README: Remove i386 reference.
38608
38609 2013-04-06 Carlos O'Donell <carlos@redhat.com>
38610
38611 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
38612 * sysdeps/s390/s390-64/sysdep.h: Likewise.
38613
38614 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
38615
38616 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
38617 (lmsnanval): New variables.
38618 (F): Add conversion tests.
38619 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
38620 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
38621
38622 * stdio-common/tstdiomisc.c (F): Properly collect individual
38623 tests' results.
38624
38625 [BZ #14686, #15336]
38626 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
38627 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
38628 Instead, use input NaN values or generate a qNaN by arithmetic
38629 operation. Also fix bugs to comply with the standard.
38630 * math/libm-test.inc (remainder_test): Add more tests.
38631
38632 [BZ #15335, #15342]
38633 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
38634 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
38635 input NaN values or generate a qNaN by arithmetic operation.
38636
38637 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
38638 unreachable code.
38639
38640 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
38641 definitions.
38642
38643 2013-04-03 Joseph Myers <joseph@codesourcery.com>
38644
38645 [BZ #14478]
38646 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
38647 underflowed result.
38648 * math/s_cexpf.c (__cexpf): Likewise.
38649 * math/s_cexpl.c (__cexpl): Likewise.
38650 * math/libm-test.inc (cexp_test): Add more tests.
38651
38652 2013-04-03 Andreas Schwab <schwab@suse.de>
38653
38654 [BZ #15330]
38655 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
38656 order arrays from heap if bigger than alloca cutoff.
38657
38658 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
38659
38660 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
38661 (SNAN_TESTS_double): Refer to GCC PR56831.
38662 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
38663 GCC PR56828.
38664
38665 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
38666
38667 * Rules (bench): Move bench.out after the run is complete.
38668
38669 * Rules (bench): Echo currently running benchmark.
38670
38671 * benchtests/Makefile (bench): Add atan and slowatan.
38672 * benchtests/atan-inputs: New file.
38673 * benchtests/slowatan-inputs: New file.
38674 * benchtests/slowatan.c: New file.
38675
38676 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
38677 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
38678 its value.
38679
38680 [BZ #15305]
38681 * sysdeps/unix/sysv/linux/kernel-features.h
38682 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
38683 __ASSUME_XFS_RESTRICTED_CHOWN.
38684 * sysdeps/unix/sysv/linux/pathconf.c
38685 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
38686 Save and restore errno.
38687
38688 2013-04-02 Joseph Myers <joseph@codesourcery.com>
38689
38690 [BZ #15327]
38691 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
38692 arguments using __kernel_casinh.
38693 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
38694 arguments using __kernel_casinhf.
38695 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
38696 arguments using __kernel_casinhl.
38697 * math/libm-test.inc (cacosh_test): Add more tests.
38698 * sysdeps/i386/fpu/libm-test-ulps: Update.
38699 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38700
38701 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
38702
38703 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
38704 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
38705
38706 * bench/Makefile (bench): Add sin and slowsin.
38707 * benchtests/sin-inputs: New file.
38708 * benchtests/slowsin-inputs: New file.
38709 * benchtests/slowsin.c: New file.
38710
38711 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
38712 (bench): Add slowexp and slowpow.
38713 (exp-ITER): Increase iterations.
38714 (pow-ITER): Likewise.
38715 * benchtests/exp-inputs: Change input.
38716 * benchtests/pow-inputs: Likewise.
38717 * benchtests/slowexp-inputs: New file.
38718 * benchtests/slowexp.c: New file.
38719 * benchtests/slowpow-inputs: New file.
38720 * benchtests/slowpow.c: New file.
38721
38722 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38723
38724 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
38725 instructions.
38726 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
38727 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
38728 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
38729 * benchtests/Makefile: Add rint benchtest.
38730 * benchtests/rint-inputs: Input for rint benchtest.
38731
38732 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
38733
38734 * Versions.def (libm): Add GLIBC_2.18.
38735 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
38736 hidden libm prototypes.
38737 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
38738 * math/Makefile (libm-calls): Add s_issignaling.
38739 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
38740 __issignalingf, __issignalingl. Adjust all libm.abilist files.
38741 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
38742 declaration.
38743 * math/math.h [__USE_GNU] (issignaling): New macro.
38744 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
38745 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
38746 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
38747 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
38748 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
38749 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
38750 * manual/arith.texi (issignaling): New section.
38751 * manual/libm-err-tab.pl (@all_functions): Update comment.
38752 * math/gen-libm-test.pl (parse_args): Apply special handling for
38753 issignaling.
38754 * math/libm-test.inc (print_float, issignaling_test): New
38755 functions.
38756 (check_float_internal): Add issignaling checks.
38757 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
38758 default definition.
38759 * sysdeps/powerpc/math-tests.h: New file.
38760 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
38761 tests.
38762 * math/test-snan.c (TEST_FUNC): Likewise.
38763
38764 2013-03-30 David S. Miller <davem@davemloft.net>
38765
38766 * po/de.po: Update from translation team.
38767
38768 2013-03-30 Joseph Myers <joseph@codesourcery.com>
38769
38770 [BZ #10357]
38771 * math/k_casinh.c (__kernel_casinh): Handle arguments with
38772 imaginary part less than 1.0 and real part less than 0.5
38773 specially.
38774 * math/k_casinhf.c (__kernel_casinhf): Likewise.
38775 * math/k_casinhl.c (__kernel_casinhl): Likewise.
38776 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
38777 (cacos_test): Add more tests.
38778 (casin_test): Likewise.
38779 (casinh_test): Likewise.
38780 * sysdeps/i386/fpu/libm-test-ulps: Update.
38781 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38782
38783 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
38784
38785 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
38786 ONE with its value.
38787
38788 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
38789 (__pow_mp): Replace ONE and MONE with their values.
38790 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
38791 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
38792 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
38793 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
38794 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
38795 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
38796
38797 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
38798
38799 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
38800 (__pow_mp): Replace ZERO and MZERO with their values.
38801 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
38802 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
38803 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
38804 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
38805 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
38806 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
38807 (__sqr): Likewise.
38808
38809 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
38810
38811 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
38812
38813 2013-03-28 Roland McGrath <roland@hack.frob.com>
38814
38815 * include/stdlib.h [!SHARED] (__call_tls_dtors):
38816 Declare with __attribute__ ((weak)).
38817 * stdlib/exit.c (__libc_atexit) [!SHARED]:
38818 Call __call_tls_dtors only if it's not NULL.
38819
38820 2013-03-28 Roland McGrath <roland@hack.frob.com>
38821
38822 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
38823 didn't do it already, then set _dl_phdr and _dl_phnum based on the
38824 magic __ehdr_start linker symbol if it's defined.
38825 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
38826 them up here if it was already done.
38827
38828 * elf/dl-support.c (_dl_phdr): Make pointer to const.
38829 (_dl_aux_init): Use const in cast when setting it.
38830 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
38831 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
38832 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
38833
38834 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
38835 Declare them here.
38836 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
38837 * csu/libc-tls.c: Nor here.
38838 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
38839
38840 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
38841 (__libc_message): Never call vsyslog.
38842
38843 2013-03-28 Alan Modra <amodra@gmail.com>
38844
38845 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
38846 Define as empty.
38847 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
38848 Likewise.
38849
38850 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38851
38852 [BZ #15214]
38853 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
38854 underflow.
38855 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38856
38857 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38858
38859 [BZ #15304]
38860 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
38861 Don't add gid passed as argument.
38862
38863 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
38864
38865 2013-03-27 Joseph Myers <joseph@codesourcery.com>
38866
38867 [BZ #15307]
38868 * math/k_casinh.c (__kernel_casinh): Handle arguments with
38869 imaginary part between 1.0 and 1.5 and real part less than 0.5
38870 specially.
38871 * math/k_casinhf.c (__kernel_casinhf): Likewise.
38872 * math/k_casinhl.c (__kernel_casinhl): Likewise.
38873 * math/libm-test.inc (cacos_test): Add more tests.
38874 (casin_test): Likewise.
38875 (casinh_test): Likewise.
38876 * sysdeps/i386/fpu/libm-test-ulps: Update.
38877 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38878
38879 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
38880
38881 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
38882 constants.
38883 (norm): Likewise.
38884 (denorm): Likewise.
38885 (__dbl_mp): Likewise.
38886 (add_magnitudes): Likewise.
38887 (sub_magnitudes): Likewise.
38888 (__add): Likewise.
38889 (__sub): Likewise.
38890 (__mul): Likewise.
38891 (__sqr): Likewise.
38892 (__inv): Likewise.
38893 (__dvd): Likewise.
38894
38895 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
38896 commented code.
38897 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
38898 (__dubcos): Likewise.
38899 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
38900 (__ieee754_acos): Likewise.
38901 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
38902 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
38903 (__exp1): Likewise.
38904 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
38905 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
38906 (log1): Likewise.
38907 (my_log2): Likewise.
38908 (checkint): Likewise.
38909 * sysdeps/ieee754/dbl-64/e_remainder.c
38910 (__ieee754_remainder): Likewise.
38911 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
38912 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
38913 (bsloww): Likewise.
38914 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
38915
38916 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
38917 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
38918 MANTISSA_STORE_T to store computations on mantissa. Use
38919 macros for rounding and division.
38920 (denorm): Likewise.
38921 (__dbl_mp): Likewise.
38922 (add_magnitudes): Likewise.
38923 (sub_magnitudes): Likewise.
38924 (__mul): Likewise.
38925 (__sqr): Likewise.
38926 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
38927 powers of two in terms of TWOPOW macro.
38928 (mp_no): Make type of mantissa as MANTISSA_T.
38929 [!RADIXI]: Define RADIXI.
38930 [!TWO52]: Define TWO52.
38931 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
38932
38933 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38934
38935 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
38936 llroundl symbol when building for PPC32.
38937
38938 2013-03-24 Mark H Weaver <mhw@netris.org>
38939
38940 * manual/arith.texi (Normalization Functions): Fix prototypes for
38941 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
38942
38943 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38944
38945 [BZ #13889]
38946 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
38947 high value to check if expl overflow.
38948 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
38949 to check for underflow and overflow.
38950 * math/libm-test.inc: Add exp test.
38951
38952 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
38953
38954 [BZ #11120]
38955 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
38956 with NOT_IN_libc.
38957
38958 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38959
38960 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
38961 symbol.
38962
38963 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
38964
38965 * math/gen-libm-test.pl (parse_args, special_functions): Properly
38966 wrap blocks consisting of several statements.
38967
38968 * sysdeps/generic/math-tests.h: New file.
38969 * sysdeps/i386/fpu/math-tests.h: Likewise.
38970 * math/test-snan.c: Include it.
38971 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
38972
38973 2013-03-21 Joseph Myers <joseph@codesourcery.com>
38974
38975 [BZ #15285]
38976 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
38977 (__ieee754_j0l): Do not improve calculations using cos of twice
38978 input for inputs above LDBL_MAX / 2.0L.
38979 (__ieee754_y0l): Likewise.
38980 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
38981 (__ieee754_j1l): Do not improve calculations using cos of twice
38982 input for inputs above LDBL_MAX / 2.0L.
38983 (__ieee754_y1l): Likewise.
38984 * math/libm-test.inc (j0_test): Add another test.
38985 (j1_test): Likewise.
38986 (y0_test): Likewise.
38987 (y1_test): Likewise.
38988 * sysdeps/i386/fpu/libm-test-ulps: Update.
38989
38990 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
38991
38992 * Rules ($(objpfx)bench-%.c): Include code from a C source
38993 file.
38994
38995 2013-03-21 Joseph Myers <joseph@codesourcery.com>
38996
38997 [BZ #15287]
38998 * math/k_casinh.c (__kernel_casinh): Handle arguments with
38999 imaginary part 1.0 and real part less than 0.5 specially.
39000 * math/k_casinhf.c (__kernel_casinhf): Likewise.
39001 * math/k_casinhl.c (__kernel_casinhl): Likewise.
39002 * math/libm-test.inc (cacos_test): Add more tests.
39003 (casin_test): Likewise.
39004 (casinh_test): Likewise.
39005 * sysdeps/i386/fpu/libm-test-ulps: Update.
39006 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39007
39008 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
39009
39010 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
39011 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
39012
39013 2013-03-20 Joseph Myers <joseph@codesourcery.com>
39014
39015 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
39016 * config.make.in (config-cflags-sse4): Remove variable.
39017 (config-cflags-avx): Likewise.
39018 (config-cflags-sse2avx): Likewise.
39019 (config-cflags-novzeroupper): Likewise.
39020 (config-asflags-i686): Likewise.
39021 (have-mfma4): Likewise.
39022 (have-as-vis3): Likewise.
39023 (MIG): Likewise.
39024 * configure.in (MIG): Do not AC_SUBST.
39025 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
39026 (libc_cv_cc_sse4): Do not AC_SUBST.
39027 (libc_cv_cc_avx): Likewise.
39028 (libc_cv_cc_sse2avx): Likewise.
39029 (libc_cv_cc_novzeroupper): Likewise.
39030 (libc_cv_cc_fma4): Likewise.
39031 (libc_cv_as_i686): Likewise.
39032 (libc_cv_sparc_as_vis3): Likewise.
39033 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
39034 LIBC_CONFIG_VAR.
39035 (config-asflags-i686): Likewise.
39036 (config-cflags-avx): Likewise.
39037 (config-cflags-sse2avx): Likewise.
39038 (have-mfma4): Likewise.
39039 (config-cflags-novzeroupper): Likewise.
39040 * sysdeps/mach/configure.in (MIG): Likewise.
39041 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
39042 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
39043 LIBC_CONFIG_VAR.
39044 (config-cflags-avx): Likewise.
39045 (config-cflags-sse2avx): Likewise.
39046 (have-mfma4): Likewise.
39047 (config-cflags-novzeroupper): Likewise.
39048 * configure: Regenerated.
39049 * sysdeps/i386/configure: Likewise.
39050 * sysdeps/mach/configure: Likewise.
39051 * sysdeps/sparc/configure: Likewise.
39052 * sysdeps/x86_64/configure: Likewise.
39053
39054 2013-03-20 Roland McGrath <roland@hack.frob.com>
39055
39056 [BZ #14812]
39057 * locale/programs/localedef.c (options): Put N_ translation marker
39058 on argument names, not just descriptions.
39059
39060 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
39061
39062 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
39063
39064 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
39065
39066 [BZ #14176]
39067 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
39068
39069 2013-03-19 Roland McGrath <roland@hack.frob.com>
39070
39071 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
39072 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
39073 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
39074 [!BEFORE_ABORT] (before_abort): New function.
39075 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
39076 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
39077 (writev_for_fatal): New function.
39078 (WRITEV_FOR_FATAL): New macro; call that.
39079 (backtrace_and_maps): New function.
39080 (BEFORE_ABORT): New macro; call that.
39081 (struct str_list): Type removed.
39082 (__libc_message, __libc_fatal): Functions removed.
39083 Include <sysdeps/posix/libc_fatal.c> instead.
39084
39085 2013-03-19 Joseph Myers <joseph@codesourcery.com>
39086
39087 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
39088 constants.
39089 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
39090 double constants.
39091
39092 2013-03-19 Andreas Schwab <schwab@suse.de>
39093
39094 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
39095 * sysdeps/gnu/configure: Regenerate.
39096
39097 * configure.in: Substitute libc_cv_rtlddir.
39098 * configure: Regenerate.
39099 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
39100 * Makeconfig (rtlddir, inst_rtlddir): New variables.
39101 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
39102 * elf/Makefile (install-others, CFLAGS-interp.c)
39103 (ldso_install, common-ldd-rewrite): Likewise.
39104 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
39105 $(inst_slibdir)/$(rtld-installed-name).
39106 * scripts/rellns-sh: Add -p option.
39107 * Makerules (make-shlib-link): Use rellns-sh to get relative name
39108 for source.
39109
39110 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
39111
39112 * manual/nptl.texi: Renamed to ...
39113 * manual/threads.texi: ... this.
39114 * manual/Makefile (chapters): Update.
39115
39116 2013-03-18 Roland McGrath <roland@hack.frob.com>
39117
39118 [BZ #14812]
39119 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
39120 on argument names, not just descriptions.
39121 * malloc/memusagestat.c (options): Likewise.
39122 * nss/getent.c (options): Likewise.
39123
39124 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
39125
39126 [BZ #14812]
39127 * iconv/iconv_prog.c (options): Put N_ translation marker
39128 on argument names, not just descriptions.
39129 * iconv/iconvconfig.c (options): Likewise.
39130
39131 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
39132
39133 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
39134 implementation which is faster on all x86_64 architectures.
39135 Tested on AMD, Intel Nehalem, SNB, IVB.
39136 * sysdeps/x86_64/strnlen.S: Likewise.
39137
39138 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
39139 Remove all multiarch strlen and strnlen versions.
39140 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
39141 Remove strlen and strnlen related parts.
39142
39143 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
39144 Inline strlen part.
39145 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
39146
39147 * sysdeps/x86_64/multiarch/strlen.S: Remove.
39148 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
39149 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
39150 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
39151 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
39152 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
39153
39154 2013-03-17 Carlos O'Donell <carlos@redhat.com>
39155
39156 * manual/memory.texi (Malloc Tunable Parameters):
39157 Sort parameters alphabetically. Add comments for missing entries.
39158
39159 2013-03-17 David S. Miller <davem@davemloft.net>
39160
39161 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39162
39163 2013-03-16 Joseph Myers <joseph@codesourcery.com>
39164
39165 [BZ #15283]
39166 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
39167 for arguments at most half maximum finite value.
39168 * math/libm-test.inc (j0_test): Add more tests.
39169 (j1_test): Likewise.
39170 (y0_test): Likewise.
39171 (y1_test): Likewise.
39172 * sysdeps/i386/fpu/libm-test-ulps: Update.
39173 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39174
39175 [BZ #14155]
39176 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
39177 1 / x and functions P and Q for arguments above 0x1p256L.
39178 (__ieee754_y0l): Likewise.
39179 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
39180 (__ieee754_y1l): Likewise.
39181 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
39182 (j1_test): Likewise.
39183 (y0_test): Likewise.
39184 (y1_test): Likewise.
39185
39186 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
39187
39188 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
39189 variable.
39190
39191 2013-03-15 Roland McGrath <roland@hack.frob.com>
39192
39193 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
39194 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
39195 zero since it's initialized to EXEC_PAGESIZE.
39196
39197 * sysdeps/unix/sysv/linux/ldsodefs.h
39198 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
39199 * sysdeps/generic/ldsodefs.h: ... here.
39200
39201 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
39202
39203 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
39204
39205 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
39206 math/test-snan.c.
39207 * math/test-snan.c: Renamed from
39208 sysdeps/powerpc/fpu/test-powerpc-snan.c.
39209 * math/Makefile (tests): Add test-snan.
39210 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
39211 test-powerpc-snan.
39212
39213 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
39214 SUFFIX. Initialize qNaN_var with __builtin_nan family of
39215 functions.
39216 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
39217 __builtin_nan family of functions.
39218 * math/libm-test.inc (initialize): Initialize qnan_value with
39219 __builtin_nan family of functions.
39220 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
39221 Remove variables.
39222 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
39223 Remove functions.
39224 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
39225 storage class. Initialize qNaN_var and sNaN_var with
39226 __builtin_nan and __builtin_nans families of functions,
39227 respectively.
39228
39229 * math/libm-test.inc (acosh_test): Also test with qNaN input.
39230 (sqrt_test): Remove duplicate test with qNaN input.
39231 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
39232 (round_test, signbit_test, significand_test): Note missing +/-Inf
39233 as well as qNaN tests.
39234
39235 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
39236 qNaN_var. Fix a few strings, too.
39237 * math/libm-test.inc (nan_value): Rename to qnan_value.
39238 * math/gen-libm-test.pl (%beautify): Adjust to that.
39239 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
39240 * math/test-misc.c (main): Likewise.
39241 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
39242 to __qnan_bytes, and __qnan_union, respectively.
39243 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
39244 Likewise.
39245 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
39246 and lqnanval, respectively.
39247 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
39248 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
39249 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
39250 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
39251
39252 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
39253 * math/test-misc.c (main) [__x86_64__]: Enable test for long
39254 doubles.
39255
39256 * math/test-misc.c (main): Fix copy'n'pastos.
39257 * misc/tst-efgcvt.c (special): Likewise.
39258
39259 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
39260 Remove declarations.
39261
39262 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
39263
39264 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
39265 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
39266 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
39267 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
39268
39269 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39270
39271 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
39272 macro to return vdso values correctly in IFUNC implementations.
39273 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
39274 Optimization by using IFUNC.
39275
39276 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
39277 Richard Henderson <rth@redhat.com>
39278 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39279
39280 * Makefile.in (bench): New target.
39281 * NEWS: Mention the benchmark framework.
39282 * Rules (bench): Likewise.
39283 (binaries-bench): Generate binaries for functions to
39284 benchmark.
39285 * benchtests/Makefile: New makefile for benchmark tests.
39286 * benchtests/bench-skeleton.c: New skeleton file for benchmark
39287 programs.
39288 * benchtests/exp-inputs: New input file for EXP function.
39289 * benchtests/pow-inputs: New input file for POW function.
39290 * scripts/bench.pl: New script to generate source files for
39291 benchmark programs.
39292
39293 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
39294
39295 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
39296 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
39297 computations on mantissa. Use macros for rounding and
39298 division.
39299 (denorm): Likewise.
39300 (__dbl_mp): Likewise.
39301 (add_magnitudes): Likewise.
39302 (sub_magnitudes): Likewise.
39303 (__mul): Likewise.
39304 (__sqr): Likewise.
39305 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
39306 powers of two in terms of TWOPOW macro.
39307 (mp_no): Make type of mantissa as MANTISSA_T.
39308 [!RADIXI]: Define RADIXI.
39309 [!TWO52]: Define TWO52.
39310 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
39311
39312 * manual/nptl.texi (cindex): Modify threads to pthreads.
39313
39314 2013-03-15 Joseph Myers <joseph@codesourcery.com>
39315
39316 * sysdeps/x86_64/preconfigure: Regenerated.
39317
39318 2013-03-14 Joseph Myers <joseph@codesourcery.com>
39319
39320 [BZ #14155]
39321 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
39322 0x1p28 and above.
39323 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
39324 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
39325 0x1p28 and above.
39326 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
39327 * math/libm-test.inc (j0_test): Do not allow one spurious
39328 underflow exception.
39329 (y1_test): Likewise.
39330
39331 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
39332
39333 * manual/Makefile (chapters): Add nptl.
39334 * manual/debug.texi (Debugging Support): Add link to Threads
39335 chapter.
39336 * manual/nptl.texi: New file.
39337
39338 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
39339
39340 2013-03-14 Petr Baudis <pasky@ucw.cz>
39341
39342 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
39343 for non-NULL pointer before the memory validity test. Pointed
39344 out by Holger Brunck <holger.brunck@keymile.com>.
39345
39346 2013-03-13 Andreas Schwab <schwab@suse.de>
39347
39348 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
39349 instead of .os.
39350
39351 2013-03-13 Joseph Myers <joseph@codesourcery.com>
39352
39353 * timezone/zic.c: Update from tzcode 2013b.
39354
39355 2013-03-12 Carlos O'Donell <carlos@redhat.com>
39356
39357 * manual/install.texi (Configuring and compiling):
39358 Mention i686 and i586.
39359 * INSTALL: Regenerate.
39360
39361 2013-03-12 Roland McGrath <roland@hack.frob.com>
39362
39363 * sysdeps/init_array/elf-init.c: New file.
39364 * csu/elf-init.c
39365 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
39366 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
39367
39368 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
39369 __gmon_start__ as global, but as static with a .preinit_array pointer.
39370 * sysdeps/init_array/gmon-start.c: New file. Use that.
39371 * sysdeps/init_array/crti.S: New file, empty except for comments.
39372 * sysdeps/init_array/crtn.S: Likewise.
39373
39374 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
39375
39376 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
39377 definining bcopy.
39378 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39379 Remove Prefer_SSE_for_memop.
39380 * sysdeps/x86_64/multiarch/init-arch.h: Remove
39381 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
39382 HAS_PREFER_SSE_FOR_MEMOP.
39383 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
39384 memset-x86-64.
39385 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
39386 Remove bzero, memset ifunc support.
39387 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
39388 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
39389 * sysdeps/x86_64/multiarch/memset.S: Likewise.
39390 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
39391
39392 2013-03-11 Andreas Schwab <schwab@suse.de>
39393
39394 [BZ #15234]
39395 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
39396 by SHLIB_COMPAT.
39397 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
39398 (GLIBC_2.16): Remove pthread_atfork.
39399
39400 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
39401
39402 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
39403 (ptestcases.h): Likewise.
39404
39405 2013-03-08 Roland McGrath <roland@hack.frob.com>
39406
39407 * Makeconfig ($(common-objpfx)config.status): Depend on
39408 sysdeps/*/preconfigure{,.in} too.
39409
39410 2013-03-08 Joseph Myers <joseph@codesourcery.com>
39411
39412 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
39413 (__free_hook): Use void * instead of __malloc_ptr_t.
39414 (__malloc_hook): Likewise.
39415 (__realloc_hook): Likewise.
39416 (__memalign_hook): Likewise.
39417 (__after_morecore_hook): Likewise.
39418 * malloc/arena.c (save_malloc_hook): Likewise.
39419 (save_free_hook): Likewise.
39420 * malloc/hooks.c (malloc_hook_ini): Likewise.
39421 (realloc_hook_ini): Likewise.
39422 (memalign_hook_ini): Likewise.
39423 * malloc/malloc.c (malloc_hook_ini): Likewise.
39424 (realloc_hook_ini): Likewise.
39425 (memalign_hook_ini): Likewise.
39426 (__free_hook): Likewise.
39427 (__malloc_hook): Likewise.
39428 (__realloc_hook): Likewise.
39429 (__memalign_hook): Likewise.
39430 (__libc_malloc): Likewise.
39431 (__libc_free): Likewise.
39432 (__libc_realloc): Likewise.
39433 (__libc_memalign): Likewise.
39434 (__libc_valloc): Likewise.
39435 (__libc_pvalloc): Likewise.
39436 (__libc_calloc): Likewise.
39437 (__posix_memalign): Likewise.
39438 * malloc/morecore.c (__sbrk): Likewise.
39439 (__default_morecore): Likewise.
39440
39441 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
39442
39443 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
39444 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
39445 __malloc_ptrdiff_t.
39446
39447 * malloc/malloc.h (__malloc_size_t): Remove macro.
39448 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
39449 __malloc_size_t.
39450 (old_memalign_hook): Likewise.
39451 (old_realloc_hook): Likewise.
39452 (struct hdr): Likewise.
39453 (flood): Likewise.
39454 (mallochook): Likewise.
39455 (memalignhook): Likewise.
39456 (reallochook): Likewise.
39457 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
39458 (tr_old_realloc_hook): Likewise.
39459 (tr_old_memalign_hook): Likewise.
39460 (tr_mallochook): Likewise.
39461 (tr_reallochook): Likewise.
39462 (tr_memalignhook): Likewise.
39463
39464 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39465
39466 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
39467 default_ldbl_pack and using as default implementation.
39468 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
39469 implementation.
39470 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
39471 redundant definition.
39472 (ldbl_insert_mantissa): Likewise.
39473 (ldbl_canonicalize): Likewise.
39474 (ldbl_nearbyint): Likewise.
39475 (ldbl_pack): Rename to ldbl_pack_ppc.
39476 (ldbl_unpack): Rename to ldbl_unpack_ppc.
39477 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
39478 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
39479
39480 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
39481
39482 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
39483 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
39484 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
39485 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
39486 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
39487 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
39488 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
39489 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
39490
39491 2013-03-07 Andreas Jaeger <aj@suse.de>
39492
39493 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39494 bits/mman-linux.h.
39495
39496 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
39497
39498 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
39499 Include mpa.h and declare __MPEXP.
39500 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
39501 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
39502 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
39503 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
39504 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
39505 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
39506 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
39507
39508 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
39509 (__slowpow): Use long double EXPL and LOGL functions to
39510 compute POW.
39511 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
39512 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
39513 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
39514 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
39515 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
39516 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
39517
39518 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
39519 intermediate variable to calculate exponent.
39520 (__sqr): Likewise.
39521 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
39522 Likewise.
39523 (__sqr): Likewise.
39524
39525 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
39526 [!NO__SQR]: Define __sqr.
39527 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
39528 and NO__SQR. Remove all code except __mul and __sqr. Include
39529 sysdeps/ieee754/dbl-64/mpa.c.
39530 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
39531
39532 [BZ #12723]
39533 * posix/Makefile (tests): Add tst-pathconf.
39534 * posix/tst-pathconf.c: New test case.
39535 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
39536 _PC_PIPE_BUF.
39537 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
39538
39539 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
39540
39541 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
39542
39543 2013-03-06 Andreas Jaeger <aj@suse.de>
39544
39545 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
39546 definition via __MAP_ANONYMOUS.
39547
39548 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
39549 it's not part of Linux headers.
39550
39551 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
39552 (MAP_HUGE_MASK): Define.
39553
39554 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
39555 Define.
39556 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
39557 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
39558 Define.
39559 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
39560 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
39561 Define.
39562 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
39563 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
39564 Define.
39565 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
39566
39567 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
39568 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
39569 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
39570 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
39571 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
39572 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
39573
39574 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
39575 Handle f2fs.
39576
39577 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
39578 Handle f2fs and efivarfs.
39579
39580 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
39581 f2fs.
39582
39583 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
39584 (EFIVARFS_MAGIC): Add.
39585 (F2FS_LINK_MAX): Add.
39586
39587 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
39588
39589 * stdio-common/vfprintf.c: Replace __builtin_expect with
39590 __glibc_unlikely.
39591
39592 2013-03-06 Joseph Myers <joseph@codesourcery.com>
39593
39594 [BZ #13550]
39595 * sysdeps/generic/bp-sym.h: Remove file.
39596 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
39597 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
39598 <bp-sym.h> and <bp-asm.h>.
39599 (__longjmp): Don't use BP_SYM.
39600 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
39601 and <bp-asm.h>.
39602 (memcpy): Don't use BP_SYM.
39603 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
39604 <bp-sym.h> and <bp-asm.h>.
39605 (memcpy): Don't use BP_SYM.
39606 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
39607 <bp-asm.h>.
39608 (memcpy): Don't use BP_SYM.
39609 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
39610 <bp-asm.h>.
39611 (memset): Don't use BP_SYM.
39612 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
39613 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
39614 (__bzero): Don't use BP_SYM.
39615 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
39616 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
39617 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
39618 <bp-sym.h> and <bp-asm.h>.
39619 (memcmp): Don't use BP_SYM. Remove comment about bounded
39620 pointers.
39621 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
39622 <bp-sym.h> and <bp-asm.h>.
39623 (memcpy): Don't use BP_SYM.
39624 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
39625 <bp-sym.h> and <bp-asm.h>.
39626 (memset): Don't use BP_SYM.
39627 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
39628 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
39629 (__bzero): Don't use BP_SYM.
39630 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
39631 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
39632 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
39633 <bp-sym.h> and <bp-asm.h>.
39634 (strncmp): Don't use BP_SYM. Remove comment about bounded
39635 pointers.
39636 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
39637 <bp-sym.h> and <bp-asm.h>.
39638 (memcpy): Don't use BP_SYM.
39639 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
39640 <bp-sym.h> and <bp-asm.h>.
39641 (memset): Don't use BP_SYM.
39642 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
39643 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
39644 (__bzero): Don't use BP_SYM.
39645 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
39646 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
39647 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
39648 <bp-sym.h> and <bp-asm.h>.
39649 (__memchr): Don't use BP_SYM.
39650 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
39651 <bp-sym.h> and <bp-asm.h>.
39652 (memcmp): Don't use BP_SYM. Remove comment about bounded
39653 pointers.
39654 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
39655 <bp-sym.h> and <bp-asm.h>.
39656 (memcpy): Don't use BP_SYM.
39657 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
39658 <bp-sym.h> and <bp-asm.h>.
39659 (__mempcpy): Don't use BP_SYM.
39660 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
39661 <bp-sym.h> and <bp-asm.h>.
39662 (__memrchr): Don't use BP_SYM.
39663 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
39664 <bp-sym.h> and <bp-asm.h>.
39665 (memset): Don't use BP_SYM.
39666 (__bzero): Likewise.
39667 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
39668 <bp-sym.h> and <bp-asm.h>.
39669 (__rawmemchr): Don't use BP_SYM.
39670 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
39671 <bp-sym.h> and <bp-asm.h>.
39672 (__STRCMP): Don't use BP_SYM.
39673 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
39674 <bp-sym.h> and <bp-asm.h>.
39675 (strchr): Don't use BP_SYM.
39676 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
39677 <bp-sym.h> and <bp-asm.h>.
39678 (__strchrnul): Don't use BP_SYM.
39679 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
39680 <bp-sym.h> and <bp-asm.h>.
39681 (strlen): Don't use BP_SYM.
39682 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
39683 <bp-sym.h> and <bp-asm.h>.
39684 (strncmp): Don't use BP_SYM. Remove comment about bounded
39685 pointers.
39686 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
39687 <bp-sym.h> and <bp-asm.h>.
39688 (__strnlen): Don't use BP_SYM.
39689 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
39690 <bp-sym.h> and <bp-asm.h>.
39691 (__GI__setjmp): Don't use BP_SYM.
39692 (_setjmp): Likewise.
39693 (__sigsetjmp): Likewise.
39694 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
39695 (L(start_addresses)): Don't use BP_SYM.
39696 (_start): Likewise.
39697 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
39698 <bp-asm.h>.
39699 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
39700 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
39701 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
39702 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
39703 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
39704 <bp-asm.h>.
39705 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
39706 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
39707 about bounded pointers.
39708 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
39709 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
39710 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
39711 <bp-asm.h>.
39712 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
39713 about bounded pointers. Remove GKM FIXME comments.
39714 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
39715 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
39716 <bp-asm.h>.
39717 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
39718 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
39719 Remove GKM FIXME comments.
39720 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
39721 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
39722 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
39723 <bp-asm.h>.
39724 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
39725 about bounded pointers. Remove GKM FIXME comment.
39726 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
39727 and <bp-asm.h>.
39728 (strncmp): Don't use BP_SYM. Remove comment about bounded
39729 pointers.
39730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
39731 <bp-sym.h> and <bp-asm.h>.
39732 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
39733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
39734 <bp-sym.h> and <bp-asm.h>.
39735 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
39736 comment.
39737
39738 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
39739
39740 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
39741 call free(NULL).
39742
39743 2013-03-05 David S. Miller <davem@davemloft.net>
39744
39745 * po/es.po: Update from translation team.
39746
39747 2013-03-05 Andreas Jaeger <aj@suse.de>
39748
39749 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
39750 <bits/mman-linux.h>.
39751 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
39752 is fine.
39753 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
39754 <bits/mman-linux.h> to end of file.
39755 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
39756 is fine.
39757 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
39758 <bits/mman-linux.h> to end of file.
39759 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
39760 is fine.
39761 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
39762 <bits/mman-linux.h> to end of file.
39763
39764 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
39765 (MCL_CURRENT, MCL_FUTURE): Define here.
39766
39767 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39768
39769 [BZ #15232]
39770 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
39771 attribute_hidden.
39772 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
39773
39774 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39775
39776 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
39777 fourth parameter needed for rt_sigprocmask syscall.
39778 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
39779 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
39780 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
39781 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
39782 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
39783 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
39784
39785 2013-03-04 Joseph Myers <joseph@codesourcery.com>
39786
39787 [BZ #13550]
39788 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
39789 comment about bounded pointers.
39790 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
39791 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
39792
39793 2013-03-04 Andreas Jaeger <aj@suse.de>
39794
39795 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
39796 common definitions.
39797
39798 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
39799 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
39800 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
39801 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
39802 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
39803 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
39804
39805 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39806
39807 [BZ #15055]
39808 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
39809 __ieee754_sqrl instead of __sqrl.
39810
39811 2013-03-01 Joseph Myers <joseph@codesourcery.com>
39812
39813 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
39814 * sysdeps/powerpc/fpu_control.h: ... here.
39815 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
39816 * sysdeps/powerpc/bits/fenvinline.h: ... here.
39817 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
39818 * sysdeps/powerpc/bits/mathinline.h: ... here.
39819
39820 2013-03-01 Roland McGrath <roland@hack.frob.com>
39821
39822 * elf/dl-hwcaps.c (_dl_important_hwcaps):
39823 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
39824 to just [NEED_DL_SYSINFO_DSO].
39825 * elf/dl-support.c: Likewise.
39826 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
39827 * elf/rtld.c (dl_main): Likewise.
39828 * elf/setup-vdso.h (setup_vdso): Likewise.
39829 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
39830 * sysdeps/unix/sysv/linux/dl-sysdep.c
39831 (_dl_discover_osversion): Likewise.
39832
39833 2013-03-01 Carlos O'Donell <carlos@redhat.com>
39834
39835 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
39836 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
39837
39838 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
39839
39840 * NEWS: Mention libm performance improvements and non-x86 PI
39841 futex support.
39842
39843 * csu/libc-start.c (__pthread_initialize_minimal): Change
39844 function arguments.
39845 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
39846
39847 2013-02-28 Joseph Myers <joseph@codesourcery.com>
39848
39849 [BZ #13550]
39850 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
39851 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
39852 <bp-sym.h> and <bp-asm.h>.
39853 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
39854 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
39855 and <bp-asm.h>.
39856 (memcpy): Don't use BP_SYM.
39857 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
39858 <bp-asm.h>.
39859 (__mpn_add_n): Don't use BP_SYM.
39860 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
39861 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
39862 and <bp-asm.h>.
39863 (__mpn_addmul_1): Don't use BP_SYM.
39864 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39865 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
39866 <bp-sym.h>.
39867 (_setjmp): Don't use BP_SYM.
39868 (__novmx_setjmp): Likewise.
39869 (__GI__setjmp): Likewise.
39870 (__vmx_setjmp): Likewise.
39871 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
39872 <bp-sym.h>.
39873 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
39874 (__bzero): Don't use BP_SYM.
39875 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
39876 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
39877 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
39878 <bp-sym.h> and <bp-asm.h>.
39879 (memcpy): Don't use BP_SYM.
39880 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
39881 <bp-sym.h> and <bp-asm.h>.
39882 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
39883 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
39884 <bp-sym.h> and <bp-asm.h>.
39885 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
39886 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
39887 <bp-asm.h>.
39888 (__mpn_lshift): Don't use BP_SYM.
39889 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
39890 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
39891 <bp-asm.h>.
39892 (memset): Don't use BP_SYM.
39893 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
39894 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
39895 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
39896 <bp-asm.h>.
39897 (__mpn_mul_1): Don't use BP_SYM.
39898 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39899 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
39900 <bp-sym.h> and <bp-asm.h>.
39901 (memcmp): Don't use BP_SYM.
39902 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
39903 <bp-sym.h> and <bp-asm.h>.
39904 (memcpy): Don't use BP_SYM.
39905 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
39906 <bp-sym.h> and <bp-asm.h>.
39907 (memset): Don't use BP_SYM.
39908 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
39909 <bp-sym.h> and <bp-asm.h>.
39910 (strncmp): Don't use BP_SYM.
39911 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
39912 <bp-sym.h> and <bp-asm.h>.
39913 (memcpy): Don't use BP_SYM.
39914 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
39915 <bp-sym.h> and <bp-asm.h>.
39916 (memset): Don't use BP_SYM.
39917 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
39918 <bp-sym.h> and <bp-asm.h>.
39919 (__memchr): Don't use BP_SYM.
39920 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
39921 <bp-sym.h> and <bp-asm.h>.
39922 (memcmp): Don't use BP_SYM.
39923 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
39924 <bp-sym.h> and <bp-asm.h>.
39925 (memcpy): Don't use BP_SYM.
39926 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
39927 <bp-sym.h> and <bp-asm.h>.
39928 (__mempcpy): Don't use BP_SYM.
39929 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
39930 <bp-sym.h> and <bp-asm.h>.
39931 (__memrchr): Don't use BP_SYM.
39932 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
39933 <bp-sym.h> and <bp-asm.h>.
39934 (memset): Don't use BP_SYM.
39935 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
39936 <bp-sym.h> and <bp-asm.h>.
39937 (__rawmemchr): Don't use BP_SYM.
39938 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
39939 <bp-sym.h> and <bp-asm.h>.
39940 (__STRCMP): Don't use BP_SYM.
39941 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
39942 <bp-sym.h> and <bp-asm.h>.
39943 (strchr): Don't use BP_SYM.
39944 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
39945 <bp-sym.h> and <bp-asm.h>.
39946 (__strchrnul): Don't use BP_SYM.
39947 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
39948 <bp-sym.h> and <bp-asm.h>.
39949 (strlen): Don't use BP_SYM.
39950 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
39951 <bp-sym.h> and <bp-asm.h>.
39952 (strncmp): Don't use BP_SYM.
39953 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
39954 <bp-sym.h> and <bp-asm.h>.
39955 (__strnlen): Don't use BP_SYM.
39956 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
39957 <bp-asm.h>.
39958 (__mpn_rshift): Don't use BP_SYM.
39959 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
39960 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
39961 <bp-sym.h> and <bp-asm.h>.
39962 (__sigsetjmp): Don't use BP_SYM.
39963 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
39964 (L(start_addresses)): Don't use BP_SYM.
39965 (_start): Likewise.
39966 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
39967 <bp-asm.h>.
39968 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
39969 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
39970 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
39971 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
39972 <bp-asm.h>.
39973 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
39974 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
39975 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
39976 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
39977 <bp-asm.h>.
39978 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
39979 comments.
39980 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
39981 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
39982 <bp-asm.h>.
39983 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
39984 FIXME comments.
39985 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
39986 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
39987 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
39988 <bp-asm.h>.
39989 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
39990 comment.
39991 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
39992 and <bp-asm.h>.
39993 (strncmp): Don't use BP_SYM,
39994 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
39995 <bp-asm.h>.
39996 (__mpn_sub_n): Don't use BP_SYM.
39997 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
39998 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
39999 and <bp-asm.h>.
40000 (__mpn_submul_1): Don't use BP_SYM.
40001 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
40002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
40003 <bp-sym.h> and <bp-asm.h>.
40004 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
40005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
40006 <bp-sym.h> and <bp-asm.h>.
40007 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
40008 comment.
40009
40010 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
40011
40012 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
40013 Use ZK to minimize writes to Z.
40014 (sub_magnitudes): Simplify code a bit.
40015 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
40016 Use ZK to minimize writes to Z.
40017 (sub_magnitudes): Simplify code a bit.
40018
40019 2013-02-27 Roland McGrath <roland@hack.frob.com>
40020
40021 * csu/gmon-start.c: Add special exception to license text.
40022
40023 2013-02-27 Richard Henderson <rth@redhat.com>
40024
40025 * scripts/config.guess: Update from config.git.
40026 * scripts/config.sub: Likewise.
40027
40028 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
40029
40030 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
40031
40032 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
40033
40034 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
40035
40036 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
40037
40038 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
40039
40040 2013-02-26 Roland McGrath <roland@hack.frob.com>
40041
40042 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
40043 [$(build-shared = yes].
40044
40045 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
40046
40047 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
40048 (__mul): Reduce iterations for calculating mantissa.
40049
40050 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
40051 MPTWO.
40052 (__mpranred): Likewise.
40053
40054 [BZ #15160]
40055 * malloc/memusagestat.c (main): Draw graphs for heap and stack
40056 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
40057
40058 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
40059
40060 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
40061 Define __attribute__.
40062
40063 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
40064
40065 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
40066 unused.
40067 * posix/regex_internal.h (__attribute): Remove.
40068 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
40069 (re_string_context_at): Likewise.
40070 (bitset_not): Use __attribute__ and mark function as possibly
40071 unused.
40072 (bitset_merge): Likewise.
40073 (bitset_mask): Likewise.
40074 (re_string_char_size_at): Likewise.
40075 (re_string_wchar_at): Likewise.
40076 (re_string_elem_size_at): Likewise.
40077
40078 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
40079
40080 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
40081 code.
40082 (cc32): Likewise.
40083
40084 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
40085 (__acr): Likewise.
40086 (__cpy): Likewise.
40087 (norm): Likewise.
40088 (denorm): Likewise.
40089 (__dbl_mp): Likewise.
40090 (add_magnitudes): Likewise.
40091 (sub_magnitudes): Likewise.
40092 (__mul): Likewise.
40093 (__inv): Likewise.
40094
40095 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
40096 style.
40097
40098 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
40099 style.
40100
40101 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
40102 code.
40103
40104 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
40105 up changes with default code.
40106 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
40107 Likewise.
40108
40109 2013-02-24 Allan McRae <allan@archlinux.org>
40110
40111 * manual/socket.texi (The Internet Namespace): Order menu items
40112 to match that in the file.
40113
40114 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
40115 node listing of the info page menu.
40116
40117 2013-02-21 Joseph Myers <joseph@codesourcery.com>
40118
40119 [BZ #13550]
40120 * sysdeps/i386/bp-asm.h: Remove file.
40121 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
40122 (PARMS): Do not use macros from bp-asm.h.
40123 (S1): Likewise.
40124 (S2): Likewise.
40125 (SIZE): Likewise.
40126 (__mpn_add_n): Do not use BP_SYM
40127 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
40128 "bp-asm.h".
40129 (PARMS): Do not use macros from bp-asm.h.
40130 (S1): Likewise.
40131 (SIZE): Likewise.
40132 (__mpn_addmul_1): Do not use BP_SYM
40133 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
40134 "bp-asm.h".
40135 (PARMS): Do not use macros from bp-asm.h.
40136 (SIGMSK): Likewise.
40137 (_setjmp): Likewise. Do not use BP_SYM.
40138 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
40139 "bp-asm.h".
40140 (PARMS): Do not use macros from bp-asm.h.
40141 (SIGMSK): Likewise.
40142 (setjmp): Likewise. Do not use BP_SYM.
40143 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
40144 "bp-asm.h".
40145 (PARMS): Do not use macros from bp-asm.h.
40146 (__frexp): Do not use BP_SYM.
40147 (frexp): Likewise.
40148 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
40149 "bp-asm.h".
40150 (PARMS): Do not use macros from bp-asm.h.
40151 (__frexpf): Do not use BP_SYM.
40152 (frexpf): Likewise.
40153 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
40154 "bp-asm.h".
40155 (PARMS): Do not use macros from bp-asm.h.
40156 (__frexpl): Do not use BP_SYM.
40157 (frexpl): Likewise.
40158 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
40159 "bp-asm.h".
40160 (PARMS): Do not use macros from bp-asm.h.
40161 (__remquo): Do not use BP_SYM.
40162 (remquo): Likewise.
40163 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
40164 "bp-asm.h".
40165 (PARMS): Do not use macros from bp-asm.h.
40166 (__remquof): Do not use BP_SYM.
40167 (remquof): Likewise.
40168 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
40169 "bp-asm.h".
40170 (PARMS): Do not use macros from bp-asm.h.
40171 (__remquol): Do not use BP_SYM.
40172 (remquol): Likewise.
40173 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
40174 "bp-asm.h".
40175 (PARMS): Do not use macros from bp-asm.h.
40176 (DEST): Likewise.
40177 (SRC): Likewise.
40178 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
40179 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
40180 "bp-asm.h".
40181 (PARMS): Do not use macros from bp-asm.h.
40182 (strlen): Do not use BP_SYM.
40183 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
40184 "bp-asm.h".
40185 (PARMS): Do not use macros from bp-asm.h.
40186 (S1): Likewise.
40187 (S2): Likewise.
40188 (SIZE): Likewise.
40189 (__mpn_add_n): Do not use BP_SYM.
40190 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
40191 "bp-asm.h".
40192 (PARMS): Do not use macros from bp-asm.h.
40193 (S1): Likewise.
40194 (SIZE): Likewise.
40195 (__mpn_addmul_1): Do not use BP_SYM.
40196 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
40197 weak_alias.
40198 (bzero): Likewise.
40199 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
40200 "bp-asm.h".
40201 (PARMS): Do not use macros from bp-asm.h.
40202 (S): Likewise.
40203 (SIZE): Likewise.
40204 (__mpn_lshift): Do not use BP_SYM.
40205 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
40206 "bp-asm.h".
40207 (PARMS): Do not use macros from bp-asm.h.
40208 (DEST): Likewise.
40209 (SRC): Likewise.
40210 (LEN): Likewise.
40211 (memcpy): Likewise. Do not use BP_SYM.
40212 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
40213 libc_hidden_def and weak_alias.
40214 (mempcpy): Do not use BP_SYM in weak_alias.
40215 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
40216 "bp-asm.h".
40217 (PARMS): Do not use macros from bp-asm.h.
40218 (DEST): Likewise.
40219 (LEN): Likewise.
40220 [!BZERO_P] (CHR): Likewise.
40221 (memset): Likewise. Do not use BP_SYM.
40222 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
40223 "bp-asm.h".
40224 (PARMS): Do not use macros from bp-asm.h.
40225 (S1): Likewise.
40226 (SIZE): Likewise.
40227 (__mpn_mul_1): Do not use BP_SYM.
40228 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
40229 "bp-asm.h".
40230 (PARMS): Do not use macros from bp-asm.h.
40231 (S): Likewise.
40232 (SIZE): Likewise.
40233 (__mpn_rshift): Do not use BP_SYM.
40234 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
40235 "bp-asm.h".
40236 (PARMS): Do not use macros from bp-asm.h.
40237 (STR): Likewise.
40238 (CHR): Likewise.
40239 (strchr): Likewise. Do not use BP_SYM.
40240 (index): Do not use BP_SYM in weak_alias.
40241 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
40242 "bp-asm.h".
40243 (PARMS): Do not use macros from bp-asm.h.
40244 (DEST): Likewise.
40245 (SRC): Likewise.
40246 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
40247 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
40248 "bp-asm.h".
40249 (PARMS): Do not use macros from bp-asm.h.
40250 (strlen): Do not use BP_SYM.
40251 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
40252 "bp-asm.h".
40253 (PARMS): Do not use macros from bp-asm.h.
40254 (S1): Likewise.
40255 (S2): Likewise.
40256 (SIZE): Likewise.
40257 (__mpn_sub_n): Do not use BP_SYM.
40258 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
40259 "bp-asm.h".
40260 (PARMS): Do not use macros from bp-asm.h.
40261 (S1): Likewise.
40262 (SIZE): Likewise.
40263 (__mpn_submul_1): Do not use BP_SYM.
40264 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
40265 "bp-asm.h".
40266 (PARMS): Do not use macros from bp-asm.h.
40267 (S1): Likewise.
40268 (S2): Likewise.
40269 (SIZE): Likewise.
40270 (__mpn_add_n): Do not use BP_SYM.
40271 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
40272 weak_alias.
40273 (bzero): Likewise.
40274 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
40275 "bp-asm.h".
40276 (PARMS): Do not use macros from bp-asm.h.
40277 (BLK2): Likewise.
40278 (LEN): Likewise.
40279 (memcmp): Do not use BP_SYM.
40280 (bcmp): Do not use BP_SYM in weak_alias.
40281 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
40282 "bp-asm.h".
40283 (PARMS): Do not use macros from bp-asm.h.
40284 (DEST): Likewise.
40285 (SRC): Likewise.
40286 (LEN): Likewise.
40287 (memcpy): Likewise. Do not use BP_SYM.
40288 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
40289 "bp-asm.h".
40290 (PARMS): Do not use macros from bp-asm.h.
40291 (DEST): Likewise.
40292 (SRC): Likewise.
40293 (LEN): Likewise.
40294 (memmove): Likewise. Do not use BP_SYM.
40295 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
40296 "bp-asm.h".
40297 (PARMS): Do not use macros from bp-asm.h.
40298 (DEST): Likewise.
40299 (SRC): Likewise.
40300 (LEN): Likewise.
40301 (__mempcpy): Likewise. Do not use BP_SYM.
40302 (mempcpy): Do not use BP_SYM in weak_alias.
40303 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
40304 "bp-asm.h".
40305 (PARMS): Do not use macros from bp-asm.h.
40306 (DEST): Likewise.
40307 (LEN): Likewise.
40308 [!BZERO_P] (CHR): Likewise.
40309 (memset): Likewise. Do not use BP_SYM.
40310 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
40311 "bp-asm.h".
40312 (PARMS): Do not use macros from bp-asm.h.
40313 (STR2): Likewise.
40314 (strcmp): Do not use BP_SYM.
40315 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
40316 "bp-asm.h".
40317 (PARMS): Do not use macros from bp-asm.h.
40318 (STR): Likewise.
40319 (DELIM): Likewise.
40320 [USE_AS_STRTOK_R] (SAVE): Likewise.
40321 (FUNCTION): Likewise. Do not use BP_SYM.
40322 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
40323 aliases.
40324 (strtok_r): Likewise.
40325 (__GI___strtok_r): Likewise.
40326 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
40327 (PARMS): Do not use macros from bp-asm.h.
40328 (S): Likewise.
40329 (SIZE): Likewise.
40330 (__mpn_lshift): Do not use BP_SYM.
40331 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
40332 (PARMS): Do not use macros from bp-asm.h.
40333 (STR): Likewise.
40334 (CHR): Likewise.
40335 (__memchr): Do not use BP_SYM.
40336 (memchr): Do not use BP_SYM in weak_alias.
40337 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
40338 (PARMS): Do not use macros from bp-asm.h.
40339 (BLK2): Likewise.
40340 (LEN): Likewise.
40341 (memcmp): Do not use BP_SYM.
40342 (bcmp): Do not use BP_SYM in weak_alias.
40343 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
40344 (PARMS): Do not use macros from bp-asm.h.
40345 (S1): Likewise.
40346 (SIZE): Likewise.
40347 (__mpn_mul_1): Do not use BP_SYM.
40348 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
40349 "bp-asm.h".
40350 (PARMS): Do not use macros from bp-asm.h.
40351 (STR): Likewise.
40352 (CHR): Likewise.
40353 (__rawmemchr): Do not use BP_SYM.
40354 (rawmemchr): Do not use BP_SYM in weak_alias.
40355 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
40356 (PARMS): Do not use macros from bp-asm.h.
40357 (S): Likewise.
40358 (SIZE): Likewise.
40359 (__mpn_rshift): Do not use BP_SYM.
40360 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
40361 (PARMS): Do not use macros from bp-asm.h.
40362 (SIGMSK): Likewise.
40363 (__sigsetjmp): Likewise. Do not use BP_SYM.
40364 * sysdeps/i386/start.S: Do not include "bp-sym.h".
40365 (_start): Do not use BP_SYM.
40366 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
40367 (PARMS): Do not use macros from bp-asm.h.
40368 (DEST): Likewise.
40369 (SRC): Likewise.
40370 (__stpcpy): Likewise. Do not use BP_SYM.
40371 (stpcpy): Do not use BP_SYM in weak_alias.
40372 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
40373 "bp-asm.h".
40374 (PARMS): Do not use macros from bp-asm.h.
40375 (DEST): Likewise.
40376 (SRC): Likewise.
40377 (LEN): Likewise.
40378 (__stpncpy): Likewise. Do not use BP_SYM.
40379 (stpncpy): Do not use BP_SYM in weak_alias.
40380 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
40381 (PARMS): Do not use macros from bp-asm.h.
40382 (STR): Likewise.
40383 (CHR): Likewise.
40384 (strchr): Likewise. Do not use BP_SYM.
40385 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
40386 "bp-asm.h".
40387 (PARMS): Do not use macros from bp-asm.h.
40388 (STR): Likewise.
40389 (CHR): Likewise.
40390 (__strchrnul): Likewise. Do not use BP_SYM.
40391 (strchrnul): Do not use BP_SYM in weak_alias.
40392 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
40393 "bp-asm.h".
40394 (PARMS): Do not use macros from bp-asm.h.
40395 (STOP): Likewise.
40396 (strcspn): Do not use BP_SYM.
40397 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
40398 "bp-asm.h".
40399 (PARMS): Do not use macros from bp-asm.h.
40400 (STR): Likewise.
40401 (STOP): Likewise.
40402 (strpbrk): Likewise. Do not use BP_SYM.
40403 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
40404 "bp-asm.h".
40405 (PARMS): Do not use macros from bp-asm.h.
40406 (STR): Likewise.
40407 (CHR): Likewise.
40408 (strrchr): Likewise. Do not use BP_SYM.
40409 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
40410 (PARMS): Do not use macros from bp-asm.h.
40411 (SKIP): Likewise.
40412 (strspn): Do not use BP_SYM.
40413 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
40414 (PARMS): Do not use macros from bp-asm.h.
40415 (STR): Likewise.
40416 (DELIM): Likewise.
40417 (SAVE): Likewise.
40418 (FUNCTION): Likewise. Do not use BP_SYM.
40419 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
40420 aliases.
40421 (strtok_r): Likewise.
40422 (__GI___strtok_r): Likewise.
40423 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
40424 (PARMS): Do not use macros from bp-asm.h.
40425 (S1): Likewise.
40426 (S2): Likewise.
40427 (SIZE): Likewise.
40428 (__mpn_sub_n): Do not use BP_SYM.
40429 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
40430 "bp-asm.h".
40431 (PARMS): Do not use macros from bp-asm.h.
40432 (S1): Likewise.
40433 (SIZE): Likewise.
40434 (__mpn_submul_1): Do not use BP_SYM.
40435 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
40436 <bp-sym.h>.
40437 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
40438 and <bp-asm.h>.
40439 (PARMS): Do not use macros from bp-asm.h.
40440 (FLAGS): Likewise.
40441 (PTID): Likewise.
40442 (TLS): Likewise.
40443 (CTID): Likewise.
40444 (__clone): Do not use BP_SYM.
40445 (clone): Do not use BP_SYM in weak_alias.
40446 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
40447 and <bp-asm.h>.
40448 (PARMS): Do not use macros from bp-asm.h.
40449 (LEN): Likewise.
40450 (__mmap64): Do not use BP_SYM.
40451 (mmap64): Do not use BP_SYM in weak_alias.
40452 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
40453 <bp-sym.h> and <bp-asm.h>.
40454 (PARMS): Do not use macros from bp-asm.h.
40455 (__posix_fadvise64_l64): Do not use BP_SYM.
40456 * sysdeps/unix/sysv/linux/i386/semtimedop.S
40457 (PARMS): Do not use macros from bp-asm.h.
40458 (NSOPS): Likewise.
40459 (semtimedop): Do not use BP_SYM.
40460 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
40461 and <bp-asm.h>.
40462
40463 2013-02-21 Allan McRae <allan@archlinux.org>
40464
40465 * manual/message.texi (Charset conversion in gettext):
40466 Move @end statement to beginning of line.
40467
40468 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
40469
40470 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
40471 static.
40472 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
40473 Likewise.
40474
40475 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
40476 (denorm): Likewise.
40477 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
40478 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
40479
40480 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40481
40482 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
40483 tail-call to the resolved function if pltexit isn't needed.
40484
40485 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
40486
40487 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
40488 or Y being zero as being unlikely.
40489 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
40490 Likewise.
40491
40492 2013-02-20 Carlos O'Donell <carlos@redhat.com>
40493
40494 * manual/nss.texi (System Databases and Name Service Switch):
40495 Remove frobnicate @pxref.
40496
40497 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
40498
40499 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
40500 __attribute__ ((unused)) to __attribute__ ((__unused__)).
40501
40502 2013-02-20 Petr Machata <pmachata@redhat.com>
40503
40504 * elf/elf.h (R_ARM_TARGET1): New macro.
40505 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
40506 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
40507 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
40508 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
40509 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
40510 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
40511 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
40512 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
40513 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
40514 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
40515 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
40516 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
40517 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
40518 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
40519 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
40520 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
40521 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
40522 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
40523 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
40524 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
40525 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
40526 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
40527 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
40528 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
40529 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
40530 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
40531 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
40532 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
40533 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
40534 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
40535 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
40536 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
40537 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
40538 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
40539 (R_ARM_THM_GOT_BREL12): Likewise.
40540 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
40541 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
40542 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
40543 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
40544 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
40545 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
40546 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
40547 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
40548 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
40549
40550 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
40551
40552 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
40553 __attribute_used__ to __attribute__ ((unused)).
40554
40555 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
40556
40557 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
40558 powerpc mpa.c.
40559 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
40560 comment formatting.
40561 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
40562
40563 2013-02-19 Joseph Myers <joseph@codesourcery.com>
40564
40565 [BZ #13550]
40566 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
40567 Remove macro.
40568 (ENTER): Remove both macro definitions.
40569 (LEAVE): Likewise.
40570 (CHECK_BOUNDS_LOW): Likewise.
40571 (CHECK_BOUNDS_HIGH): Likewise.
40572 (CHECK_BOUNDS_BOTH): Likewise.
40573 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
40574 (RETURN_BOUNDED_POINTER): Likewise.
40575 (RETURN_NULL_BOUNDED_POINTER): Likewise.
40576 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
40577 (POP_ERRNO_LOCATION_RETURN): Likewise.
40578 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
40579 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
40580 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
40581 macros.
40582 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
40583 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
40584 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
40585 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
40586 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
40587 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
40588 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
40589 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
40590 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
40591 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
40592 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
40593 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
40594 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
40595 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
40596 removed macros.
40597 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
40598 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
40599 macros.
40600 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
40601 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
40602 * sysdeps/i386/i586/memset.S (memset): Likewise.
40603 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
40604 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
40605 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
40606 macros.
40607 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
40608 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
40609 Change uses of L(2) to L(out).
40610 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
40611 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
40612 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
40613 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
40614 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
40615 removed macros.
40616 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
40617 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
40618 macros.
40619 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
40620 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
40621 (RETURN): Do not use macro LEAVE.
40622 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
40623 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
40624 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
40625 * sysdeps/i386/i686/memset.S (memset): Likewise.
40626 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
40627 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
40628 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
40629 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
40630 Likewise.
40631 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
40632 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
40633 L(1_2) and L(1_3) into L(1).
40634 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
40635 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
40636 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
40637 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
40638 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
40639 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
40640 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
40641 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
40642 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
40643 macros.
40644 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
40645 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
40646 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
40647 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
40648 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
40649 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
40650 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
40651 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
40652 * sysdeps/i386/strcspn.S (strcspn): Likewise.
40653 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
40654 * sysdeps/i386/strrchr.S (strrchr): Likewise.
40655 * sysdeps/i386/strspn.S (strspn): Likewise.
40656 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
40657 conditional code.
40658 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
40659 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
40660 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
40661 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
40662 L(1_3) into L(1_1).
40663 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
40664 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
40665 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
40666 macros.
40667 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
40668
40669 2013-02-19 Jakub Jelinek <jakub@redhat.com>
40670
40671 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
40672 macro.
40673
40674 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
40675
40676 * math/atest-exp.c (exp_mpn): Remove ROUND.
40677 * math/atest-exp2.c (exp_mpn): Likewise.
40678 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
40679
40680 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
40681 * stdlib/tst-tls-atexit-lib.c: Likewise.
40682 * stdlib/tst-tls-atexit.c: Likewise.
40683
40684 2013-02-18 Mike Frysinger <vapier@gentoo.org>
40685
40686 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
40687 and __attribute_alloc_size__.
40688
40689 2013-02-18 Mike Frysinger <vapier@gentoo.org>
40690
40691 * include/programs/xmalloc.h: Change __attribute_alloc_size to
40692 __attribute_alloc_size__.
40693 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
40694 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
40695
40696 2013-02-18 Mike Frysinger <vapier@gentoo.org>
40697
40698 * include/programs/xmalloc.h: New file.
40699 * catgets/gencat.c: Include it.
40700 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
40701 * elf/pldd.c: Likewise.
40702 * iconv/iconv_charmap.c: Likewise.
40703 * iconv/iconvconfig.c: Likewise.
40704 * iconv/strtab.c: Likewise.
40705 * locale/programs/locale.c: Likewise.
40706 * locale/programs/localedef.h: Likewise.
40707 * locale/programs/simple-hash.c: Likewise.
40708 * nscd/nscd.h: Likewise.
40709 * nss/makedb.c: Likewise.
40710 * sysdeps/generic/ldconfig.h: Likewise.
40711
40712 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
40713
40714 * Versions.def: Add GLIBC_2.18.
40715 * include/link.h (struct link_map): New member l_tls_dtor_count.
40716 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
40717 (__call_tls_dtors): Likewise.
40718 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
40719 __cxa_thread_atexit_impl.
40720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40721 Likewise.
40722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40723 Likewise.
40724 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
40725 Likewise.
40726 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
40727 Likewise.
40728 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
40729 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
40730 Likewise.
40731 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
40732 Likewise.
40733 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
40734 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
40735 Likewise.
40736 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
40737 (tests): Add test case tst-tls-atexit.
40738 (modules-names): Add shared library for tst-tls-atexit.
40739 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
40740 (GLIBC_PRIVATE): Add __call_tls_dtors.
40741 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
40742 for libstdc++.
40743 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
40744 * stdlib/tst-tls-atexit.c: New test case.
40745 * stdlib/tst-tls-atexit-lib.c: New test case.
40746
40747 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
40748
40749 * elf/Versions (ld): Add _dl_find_dso_for_object.
40750 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
40751 * elf/dl-open.c (_dl_find_dso_for_object): New function.
40752 (dl_open_worker): Use _dl_find_dso_for_object.
40753 * elf/dl-sym.c (do_sym): Likewise.
40754 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
40755
40756 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40757
40758 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
40759 Syntactic changes only.
40760 (_dl_runtime_profile): Do a tail-call to the resolved function.
40761
40762 2013-02-17 Joseph Myers <joseph@codesourcery.com>
40763
40764 [BZ #13550]
40765 * sysdeps/x86_64/bp-asm.h: Remove file.
40766 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
40767 <bp-sym.h> and <bp-asm.h>.
40768 (__clone): Do not use BP_SYM.
40769 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
40770 <bp-sym.h> and <bp-asm.h>.
40771 * sysdeps/unix/x86_64/sysdep.S: Likewise.
40772 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
40773 "bp-asm.h".
40774 (_setjmp): Do not use BP_SYM.
40775 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
40776 "bp-asm.h".
40777 (setjmp): Do not use BP_SYM.
40778 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
40779 libc_hidden_def.
40780 (mempcpy): Do not use BP_SYM in weak_alias.
40781 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
40782 "bp-asm.h".
40783 (strchr): Do not use BP_SYM.
40784 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
40785 "bp-asm.h".
40786 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
40787 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
40788 (_start): Do not use BP_SYM.
40789 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
40790 "bp-asm.h".
40791 (strcat): Do not use BP_SYM.
40792 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
40793 "bp-asm.h".
40794 (STRCMP): Do not use BP_SYM.
40795 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
40796 "bp-asm.h".
40797 (STRCPY): Do not use BP_SYM.
40798 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
40799 "bp-asm.h".
40800 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
40801 "bp-asm.h".
40802 (FUNCTION): Do not use BP_SYM.
40803 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
40804 weak_alias.
40805 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
40806
40807 2013-02-17 Andreas Jaeger <aj@suse.de>
40808
40809 * time/Versions: Sort entries.
40810 * string/Versions: Likewise.
40811 * resolv/Versions: Likewise.
40812 * posix/Versions: Likewise.
40813 * iconv/Versions: Likewise.
40814 * elf/Versions: Likewise.
40815 * wcsmbs/Versions: Likewise.
40816
40817 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
40818
40819 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
40820 loop termination condition.
40821
40822 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
40823 variable to calculate EZ.
40824 (__sqr): Likewise.
40825
40826 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
40827 the lower precision input.
40828
40829 2013-02-15 Joseph Myers <joseph@codesourcery.com>
40830
40831 [BZ #13550]
40832 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
40833 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
40834 (run-via-rtld-prefix): Do not handle %-bp tests.
40835 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
40836 (all-object-suffixes): Remove .ob.
40837 (bppfx): Remove variable.
40838 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
40839 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
40840 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
40841 [$(build-bounded) = yes] (libtype.ob): Likewise.
40842 * Makerules (elide-routines.ob): Remove variable.
40843 (do-tests-clean): Do not handle *-bp.out.
40844 (common-mostlyclean): Do not handle *-bp and *-bp.out.
40845 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
40846 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
40847 (tests): Do not include $(tests-bp.out).
40848 (xtests): Do not include $(xtests-bp.out).
40849 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
40850 [$(build-bounded) = yes] ($(addprefix
40851 $(objpfx),$(binaries-bounded))): Remove rule.
40852 ($(objpfx)%-bp.out): Remove rule.
40853 * config.make.in (build-bounded): Remove variable.
40854 * crypt/Makefile [$(build-bounded) = yes]
40855 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
40856 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
40857 append to variable.
40858 [$(build-bounded) = yes] (install-lib): Likewise.
40859 [$(build-bounded) = yes] (generated): Likewise.
40860 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
40861 Remove rule.
40862 * intl/Makefile [$(build-bounded) = yes]
40863 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
40864 * math/Makefile [$(build-bounded) = yes]
40865 ($(tests:%=$(objpfx)%-bp): Likewise.
40866 * misc/Makefile [$(build-bounded) = yes]
40867 ($(objpfx)tst-tsearch-bp): Likewise.
40868 * nptl/Makeconfig (bounded-thread-library): Remove variable.
40869 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
40870 Remove dependency.
40871 * string/Makefile (o-objects.ob): Remove variable.
40872 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
40873 (CFLAGS-.ob): Remove variable.
40874 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
40875 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
40876 both definitions of variable.
40877 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
40878 (ASFLAGS-.ob): Remove variable.
40879
40880 2013-02-14 Joseph Myers <joseph@codesourcery.com>
40881
40882 [BZ #13550]
40883 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
40884 Remove __BOUNDED_POINTERS__ from condition.
40885 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
40886 * string/bits/string2.h [!__NO_STRING_INLINES &&
40887 !__BOUNDED_POINTERS__]: Likewise.
40888 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
40889 Likewise.
40890 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
40891 Remove conditional code.
40892 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
40893 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
40894 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
40895 condition.
40896
40897 [BZ #13550]
40898 * csu/libc-start.c: Do not include <bp-sym.h>.
40899 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
40900 * elf/dl-open.c: Do not include <bp-sym.h>.
40901 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
40902 * math/fegetenv.c: Do not include <bp-sym.h>.
40903 (fegetenv): Do not use BP_SYM in versioned symbols.
40904 * nptl/sysdeps/pthread/bits/libc-lockP.h
40905 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
40906 <bp-sym.h>.
40907 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40908 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
40909 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40910 (__pthread_mutex_destroy): Likewise.
40911 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40912 (__pthread_mutex_lock): Likewise.
40913 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40914 (__pthread_mutex_trylock): Likewise.
40915 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40916 (__pthread_mutex_unlock): Likewise.
40917 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40918 (__pthread_mutexattr_init): Likewise.
40919 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40920 (__pthread_mutexattr_destroy): Likewise.
40921 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40922 (__pthread_mutexattr_settype): Likewise.
40923 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40924 (__pthread_rwlock_init): Likewise.
40925 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40926 (__pthread_rwlock_destroy): Likewise.
40927 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40928 (__pthread_rwlock_rdlock): Likewise.
40929 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40930 (__pthread_rwlock_tryrdlock): Likewise.
40931 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40932 (__pthread_rwlock_wrlock): Likewise.
40933 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40934 (__pthread_rwlock_trywrlock): Likewise.
40935 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40936 (__pthread_rwlock_unlock): Likewise.
40937 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40938 (__pthread_key_create): Likewise.
40939 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40940 (__pthread_setspecific): Likewise.
40941 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40942 (__pthread_getspecific): Likewise.
40943 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
40944 Likewise.
40945 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40946 (_pthread_cleanup_push_defer): Likewise.
40947 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40948 (_pthread_cleanup_pop_restore): Likewise.
40949 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40950 (pthread_setcancelstate): Likewise.
40951 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
40952 <bp-sym.h>.
40953 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
40954 (memchr): Do not use BP_SYM in weak_alias.
40955 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
40956 (fegetenv): Do not use BP_SYM in versioned symbols.
40957 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
40958 (fesetenv): Do not use BP_SYM in versioned symbols.
40959 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
40960 (feupdateenv): Do not use BP_SYM in versioned symbols.
40961 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
40962 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
40963 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
40964 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
40965 (open64): Do not use BP_SYM in weak_alias.
40966 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
40967 (fegetenv): Do not use BP_SYM in versioned symbols.
40968 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
40969 (fesetenv): Do not use BP_SYM in versioned symbols.
40970 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
40971 (feupdateenv): Do not use BP_SYM in versioned symbols.
40972 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
40973 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
40974 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
40975 (feraiseexcept): Do not use BP_SYM in versioned symbols.
40976 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
40977 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
40978 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
40979 <bp-sym.h>.
40980 (__libc_start_main): Do not use BP_SYM.
40981
40982 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
40983
40984 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
40985 redundant return line.
40986 (norm): Likewise.
40987 (denorm): Likewise.
40988 (dbl_mp): Likewise.
40989 (sub_magnitudes): Likewise.
40990 (__add): Likewise.
40991 (__sub): Likewise.
40992 (__mul): Likewise.
40993 (__inv): Likewise.
40994 (__dvd): Likewise.
40995 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
40996 (norm): Likewise.
40997 (denorm): Likewise.
40998 (dbl_mp): Likewise.
40999 (sub_magnitudes): Likewise.
41000 (__add): Likewise.
41001 (__sub): Likewise.
41002 (__mul): Likewise.
41003 (__inv): Likewise.
41004 (__dvd): Likewise.
41005
41006 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
41007 instead of __mul.
41008 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
41009 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
41010 (cc32): Likewise.
41011
41012 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
41013 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
41014 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
41015 of __mul for squares.
41016 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
41017 function
41018 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
41019 Likewise.
41020 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
41021 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
41022
41023 2013-02-13 Joseph Myers <joseph@codesourcery.com>
41024
41025 [BZ #13550]
41026 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
41027 code.
41028 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
41029 prototype or function definition. Rename ubp_* variables and
41030 parameters. Remove argv definitions conditional on
41031 [__BOUNDED_POINTERS__].
41032 * debug/backtrace.c (__backtrace): Do not use __unbounded.
41033 * elf/dl-runtime.c (_dl_fixup): Likewise.
41034 * include/set-hooks.h (RUN_HOOK): Likewise.
41035 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
41036 definition.
41037 * string/strcpy.c (strcpy): Do not use __unbounded.
41038 * sysdeps/generic/frame.h (struct layout): Likewise.
41039 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
41040 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
41041 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
41042 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
41043 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
41044 (__backtrace): Likewise.
41045 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
41046 use __ptrvalue.
41047 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
41048 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
41049 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
41050 Likewise.
41051 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
41052 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
41053 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
41054 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
41055 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
41056 Do not use __unbounded.
41057 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
41058 Rename __unboundedrlimits parameter to rlimits in prototype.
41059 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
41060 Do not use __unbounded.
41061 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
41062 not use __ptrvalue.
41063 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
41064 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
41065 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
41066 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
41067 __ptrvalue or __unbounded.
41068 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
41069 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
41070 use __unbounded.
41071 (__new_msgctl): Do not use __ptrvalue.
41072 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
41073 __unbounded.
41074 (__libc_msgrcv): Do not use __ptrvalue.
41075 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
41076 startup_info): Do not use __unbounded.
41077 (__libc_start_main): Likewise. Rename ubp_* variables and
41078 parameters. Remove argv definitions conditional on
41079 [__BOUNDED_POINTERS__].
41080 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
41081 __ptrvalue.
41082 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
41083 use __unbounded.
41084 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
41085 or __ptrvalue.
41086 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
41087 use __unbounded.
41088 (__new_shmctl): Do not use __ptrvalue.
41089 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
41090 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
41091 Likewise.
41092 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
41093 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
41094 (__libc_sigaction): Likewise.
41095 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
41096 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
41097 Likewise.
41098 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
41099
41100 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
41101
41102 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
41103
41104 * string/mempcpy.c: Implement by calling memcpy.
41105
41106 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
41107
41108 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
41109
41110 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
41111 evaluation.
41112
41113 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
41114 values in the mantissa.
41115
41116 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
41117 minimize writes to Z.
41118 (sub_magnitudes): Simplify code a bit.
41119
41120 2013-02-12 Roland McGrath <roland@hack.frob.com>
41121
41122 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
41123 from the message. The linker prefixes all warnings with that already.
41124
41125 2013-02-12 Andreas Schwab <schwab@suse.de>
41126
41127 [BZ #15078]
41128 * posix/regexec.c (extend_buffers): Add parameter min_len.
41129 (check_matching): Pass minimum needed length.
41130 (clean_state_log_if_needed): Likewise.
41131 (get_subexp): Likewise.
41132 * posix/Makefile (tests): Add bug-regex34.
41133 (bug-regex34-ENV): Define.
41134 * posix/bug-regex34.c: New file.
41135
41136 [BZ #11561]
41137 * posix/regcomp.c (parse_bracket_exp): When looking up collating
41138 elements compare against the byte sequence of it, not its name.
41139 * posix/Makefile (tests): Add bug-regex35.
41140 (bug-regex35-ENV): Define.
41141 * posix/bug-regex35.c: New file.
41142
41143 2013-02-11 Tom de Vries <tom@codesourcery.com>
41144
41145 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
41146 comment.
41147 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
41148 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
41149 (CHECK_EOL): Add undef.
41150
41151 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
41152
41153 * bits/stdlib-bsearch.h: New file.
41154 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
41155 * stdlib/stdlib.h: Likewise.
41156
41157 2013-02-11 Roland McGrath <roland@hack.frob.com>
41158
41159 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
41160 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
41161 declaration.
41162 * manual/search.texi (Array Search Function): Add missing const in
41163 lfind prototype.
41164 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
41165 declaration to use rlim_t.
41166 (Basic Scheduling Functions): Remove erroneous const from
41167 sched_getparam prototype. Remove erroneous * from
41168 sched_get_priority_max and sched_get_priority_min prototypes.
41169 (Resource Usage): Fix summary @comment on vtimes to refer to
41170 sys/vtimes.h rather than vtimes.h.
41171 Add missing *s in vtimes prototype.
41172 (Limits on Resources): Fix ulimit prototype to return long int.
41173 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
41174 prototypes to use long int rather than double.
41175 (BSD Random): Fix initstate and setstate to use char *, not void *.
41176 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
41177 prototype to make second argument 'struct aiocb64 *const[]'.
41178 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
41179 (Status of AIO Operations): Remove erroneous const in aio_return and
41180 aio_return64 prototypes.
41181 (Synchronizing I/O): Fix sync prototype to return void.
41182 * manual/startup.texi (Suboptions): Remove an erroneous const in
41183 getsubopt prototype.
41184 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
41185 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
41186 use size_t rather than int.
41187 (Scanning All Users): Likewise for getpwent_r.
41188 (Setting Groups): Add missing const to setgroups prototype.
41189 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
41190 * manual/socket.texi (Host Names): Fix gethostbyaddr and
41191 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
41192 'const void *' rather than 'const char *'.
41193 (Host Address Functions): Likewise for inet_ntop.
41194 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
41195 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
41196 ssize_t for return value.
41197 (Sending Data): Likewise for send, sendto, sendmsg.
41198 (Socket Option Functions): Add a missing const in setsockopt prototype.
41199 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
41200 use wchar_t for the argument.
41201 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
41202 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
41203 take no arguments.
41204 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
41205 double/float/long double for second argument.
41206 Fix return types of significand, significandf, significandl.
41207 * manual/filesys.texi (Setting Permissions): Use mode_t for second
41208 argument in fchmod prototype.
41209 (File Owner): Use uid_t and gid_t in fchown prototype.
41210 (File Times): Add const to utimes, futimes, and lutimes prototypes.
41211 (Making Special Files): Use mode_t and dev_t in mknod prototype.
41212 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
41213 use 'const struct dirent **' as argument types to CMP function pointer
41214 argument.
41215 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
41216 (File Times): Fix summary magic @comment for struct utimbuf and utime
41217 to refer to utime.h, not time.h.
41218 * manual/string.texi (Argz Functions): Add missing const in
41219 argz_extract and argz_next prototypes.
41220 (Finding Tokens in a String): Likewise for basename.
41221 (String/Array Comparison): Fix typo in wcscasecmp prototype.
41222 (Copying and Concatenation): Fix typo in wmemmove prototype.
41223 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
41224 (Signal Stack): Remove erroneous const in sigstack prototype.
41225 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
41226 prototype.
41227 (Simple Calendar Time): Likewise for stime.
41228 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
41229 prototype.
41230 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
41231 say sys/sysctl.h instead.
41232 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
41233 and vsyslog prototypes.
41234
41235 2013-02-11 Tom de Vries <tom@codesourcery.com>
41236
41237 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
41238 Remove.
41239
41240 2013-02-11 Roland McGrath <roland@hack.frob.com>
41241
41242 * misc/sys/mman.h: Fix typo in mremap comment.
41243
41244 2013-02-08 Roland McGrath <roland@hack.frob.com>
41245
41246 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
41247 the '\0' terminator.
41248
41249 2013-02-08 Joseph Myers <joseph@codesourcery.com>
41250
41251 [BZ #13550]
41252 * debug/segfault.c: Don't include <bp-checks.h>.
41253 * sysdeps/generic/bp-checks.h: Remove file.
41254 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
41255 (__GETDENTS): Don't use CHECK_N.
41256 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
41257 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
41258 (__getgroups): Don't use CHECK_N.
41259 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
41260 (setgroups): Don't use CHECK_N.
41261 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
41262 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
41263 (__libc_msgrcv): Don't use CHECK_N.
41264 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
41265 (__libc_msgsnd): Don't use CHECK_N.
41266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
41267 <bp-checks.h>.
41268 (__libc_pread): Don't use CHECK_N.
41269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
41270 include <bp-checks.h>.
41271 (__libc_pread64): Don't use CHECK_N.
41272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
41273 include <bp-checks.h>.
41274 (__libc_pwrite): Don't use CHECK_N.
41275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
41276 include <bp-checks.h>.
41277 (__libc_pwrite64): Don't use CHECK_N.
41278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
41279 <bp-checks.h>.
41280 (__libc_pread): Don't use CHECK_N.
41281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
41282 include <bp-checks.h>.
41283 (__libc_pread64): Don't use CHECK_N.
41284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
41285 include <bp-checks.h>.
41286 (__libc_pwrite): Don't use CHECK_N.
41287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
41288 include <bp-checks.h>.
41289 (__libc_pwrite64): Don't use CHECK_N.
41290 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
41291 (do_pread): Don't use CHECK_N.
41292 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
41293 (do_pread64): Don't use CHECK_N.
41294 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
41295 (do_pwrite): Don't use CHECK_N.
41296 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
41297 (do_pwrite64): Don't use CHECK_N.
41298 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
41299 (__libc_readv): Don't use CHECK_N.
41300 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
41301 (semop): Don't use CHECK_N.
41302 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
41303 <bp-checks.h>.
41304 (semtimedop): Don't use CHECK_N.
41305 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
41306 (__libc_pread): Don't use CHECK_N.
41307 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
41308 <bp-checks.h>.
41309 (__libc_pread64): Don't use CHECK_N.
41310 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
41311 <bp-checks.h>.
41312 (__libc_pwrite): Don't use CHECK_N.
41313 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
41314 <bp-checks.h>.
41315 (__libc_pwrite64): Don't use CHECK_N.
41316 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
41317 <bp-checks.h>.
41318 (__libc_msgrcv): Don't use CHECK_N.
41319 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
41320 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
41321 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
41322 (__libc_writev): Don't use CHECK_N.
41323
41324 2013-02-08 Roland McGrath <roland@hack.frob.com>
41325
41326 * string/strcpy.c: Removed unused variable.
41327
41328 * Makeconfig (+sysdep-includes): Define with := rather than =.
41329 Use an existing include/ subdir of each sysdeps dir before it.
41330
41331 2013-02-08 Carlos O'Donell <carlos@redhat.com>
41332
41333 * nscd/connection.c (register_traced_file): Comment function.
41334 [HAVE_INOTIFY] (union __inev): Define.
41335 [HAVE_INOTIFY] (inotify_check_files): New function.
41336 [HAVE_INOTIFY] (clear_db_cache): Likewise.
41337 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
41338 clear_db_cache.
41339 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
41340
41341 2013-02-08 Carlos O'Donell <carlos@redhat.com>
41342
41343 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
41344 loaded if not already and that a failure is permanent.
41345
41346 2013-02-08 Carlos O'Donell <carlos@redhat.com>
41347
41348 [BZ #15006]
41349 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
41350 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
41351
41352 2013-02-08 Joseph Myers <joseph@codesourcery.com>
41353
41354 [BZ #13550]
41355 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
41356 (CHECK_1_NULL_OK): Likewise.
41357 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
41358 (__fxstat): Do not use CHECK_1.
41359 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
41360 <bp-checks.h>.
41361 (___fxstat64): Do not use CHECK_1.
41362 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
41363 <bp-checks.h>.
41364 (__fxstatat): Do not use CHECK_1.
41365 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
41366 <bp-checks.h>.
41367 (__fxstatat64): Do not use CHECK_1.
41368 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
41369 <bp-checks.h>.
41370 (__fxstat): Do not use CHECK_1.
41371 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
41372 <bp-checks.h>.
41373 (__fxstatat): Do not use CHECK_1.
41374 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
41375 <bp-checks.h>.
41376 (__getresgid): Do not use CHECK_1.
41377 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
41378 <bp-checks.h>.
41379 (__getresuid): Do not use CHECK_1.
41380 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
41381 <bp-checks.h>.
41382 (__lxstat): Do not use CHECK_1.
41383 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
41384 <bp-checks.h>.
41385 (__old_msgctl): Do not use CHECK_1.
41386 (__new_msgctl): Likewise.
41387 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
41388 <bp-checks.h>.
41389 (__new_setrlimit): Do not use CHECK_1.
41390 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
41391 <bp-checks.h>.
41392 (__old_shmctl): Do not use CHECK_1.
41393 (__new_shmctl): Likewise.
41394 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
41395 <bp-checks.h>.
41396 (__xstat): Do not use CHECK_1.
41397 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
41398 (__lxstat): Do not use CHECK_1.
41399 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
41400 <bp-checks.h>.
41401 (___lxstat64): Do not use CHECK_1.
41402 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
41403 (__old_msgctl): Do not use CHECK_1.
41404 (__new_msgctl): Likewise.
41405 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
41406 <bp-checks.h>.
41407 (__gettimeofday): Do not use CHECK_1.
41408 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
41409 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
41410 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
41411 <bp-checks.h>.
41412 (__gettimeofday): Do not use CHECK_1.
41413 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
41414 (__old_shmctl): Do not use CHECK_1_NULL_OK.
41415 (__new_shmctl): Do not use CHECK_1.
41416 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
41417 <bp-checks.h>.
41418 (do_sigtimedwait): Do not use CHECK_1.
41419 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
41420 <bp-checks.h>.
41421 (do_sigwaitinfo): Do not use CHECK_1.
41422 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
41423 <bp-checks.h>.
41424 (msgctl): Do not use CHECK_1.
41425 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
41426 <bp-checks.h>.
41427 (shmctl): Do not use CHECK_1.
41428 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
41429 (ustat): Do not use CHECK_1.
41430 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
41431 <bp-checks.h>.
41432 (__fxstat): Do not use CHECK_1.
41433 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
41434 <bp-checks.h>.
41435 (__fxstatat): Do not use CHECK_1.
41436 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
41437 <bp-checks.h>.
41438 (__lxstat): Do not use CHECK_1.
41439 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
41440 <bp-checks.h>.
41441 (__xstat): Do not use CHECK_1.
41442 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
41443 (__xstat): Do not use CHECK_1.
41444 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
41445 (___xstat64): Do not use CHECK_1.
41446
41447 [BZ #13550]
41448 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
41449 definitions.
41450 (CHECK_BOUNDS_HIGH): Likewise.
41451 * string/strcpy.c: Do not include <bp-checks.h>.
41452 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
41453
41454 2013-02-07 Roland McGrath <roland@hack.frob.com>
41455
41456 * nscd/nscd-client.h (__nscd_drop_map_ref):
41457 Add __attribute__ ((unused)).
41458 * nis/nss-nisplus.h (niserr2nss): Likewise.
41459
41460 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
41461 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
41462
41463 * csu/libc-tls.c (init_static_tls, init_slotinfo):
41464 Remove inline keyword.
41465 * include/rounding-mode.h (round_away): Likewise.
41466 * libio/wfileops.c (adjust_wide_data): Likewise.
41467 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
41468 (__m128i_strloadu_tolower): Likewise.
41469 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
41470 (__m128i_strloadu_tolower): Likewise.
41471 * time/mktime.c (ydhms_diff): Likewise.
41472 * locale/elem-hash.h (elem_hash): Likewise.
41473 * locale/setlocale.c (setdata): Likewise.
41474 * posix/regex_internal.h (re_string_char_size_at): Likewise.
41475 (re_string_wchar_at): Likewise.
41476 (bitset_not, bitset_merge, bitset_mask): Likewise.
41477 [!(__GNUC__ > 3)] (inline): Remove macro.
41478 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
41479 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
41480 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
41481 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
41482 * string/memcmp.c (memcmp_bytes): Likewise.
41483 * locale/programs/locarchive.c (compute_hashval): Likewise.
41484 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
41485 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
41486 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
41487 * nss/getent.c (print_rpc, print_protocols): Likewise.
41488 (print_passwd, print_group, print_aliases): Likewise.
41489 * nis/nss-nisplus.h (niserr2nss): Likewise.
41490 * nscd/connections.c (restart_p): Likewise.
41491 Change return type to bool.
41492
41493 2013-02-05 Roland McGrath <roland@hack.frob.com>
41494
41495 * Makeconfig (all-Depend-files): Add existing
41496 $(sorted-subdirs:=/Depend) files.
41497 (all-subdirs): Remove nss.
41498 * sysdeps/unix/inet/Subdirs: Add it here instead.
41499 * hesiod/Depend: New file.
41500
41501 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
41502 instead of calling alloca.
41503
41504 * io/lseek.c (__lseek): Rename to __libc_lseek.
41505 Define __lseek as an alias.
41506
41507 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
41508
41509 2013-02-04 Carlos O'Donell <carlos@redhat.com>
41510
41511 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
41512 else clause and remove check for non-standard endianness.
41513
41514 2013-02-04 David S. Miller <davem@davemloft.net>
41515
41516 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41517
41518 2013-02-04 Joseph Myers <joseph@codesourcery.com>
41519
41520 [BZ #13550]
41521 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
41522 (__ubp_memchr): Remove prototype.
41523 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
41524 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
41525 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
41526 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
41527 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
41528 Remove alias.
41529 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
41530 (__ubp_memchr): Likewise.
41531 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
41532 (__ubp_memchr): Likewise.
41533 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
41534 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
41535 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
41536 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
41537 CHECK_STRING.
41538 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
41539 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
41540 (__getcwd): Do not use CHECK_STRING.
41541 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
41542 <bp-checks.h>.
41543 (__real_chown): Do not use CHECK_STRING.
41544 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
41545 <bp-checks.h>.
41546 (fchownat): Do not use CHECK_STRING.
41547 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
41548 CHECK_STRING.
41549 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
41550 <bp-checks.h>.
41551 (__lchown): Do not use CHECK_STRING.
41552 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
41553 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
41554 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
41555 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
41556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
41557 include <bp-checks.h>.
41558 (truncate64): Do not use CHECK_STRING.
41559 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
41560 <bp-checks.h>.
41561 (__real_chown): Do not use CHECK_STRING.
41562 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
41563 <bp-checks.h>.
41564 (__lchown): Do not use CHECK_STRING.
41565 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
41566 <bp-checks.h>.
41567 (__chown): Do not use CHECK_STRING.
41568 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
41569 <bp-checks.h>.
41570 (truncate64): Do not use CHECK_STRING.
41571 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
41572 Likewise.
41573 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
41574 (__xmknod): Do not use CHECK_STRING.
41575 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
41576 <bp-checks.h>.
41577 (__xmknodat): Do not use CHECK_STRING.
41578 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
41579 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
41580
41581 2013-02-04 Andreas Schwab <schwab@suse.de>
41582
41583 [BZ #14142]
41584 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
41585 * include/netdb.h: Likewise for h_errno.
41586 * elf/tst-stackguard1.c: Include <tls.h>.
41587
41588 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
41589
41590 * elf/link.h (struct link_map): Extend the l_addr comment.
41591 * include/link.h (struct link_map): Likewise.
41592
41593 2013-02-01 Joseph Myers <joseph@codesourcery.com>
41594
41595 [BZ #13550]
41596 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
41597 (BOUNDED_1): Remove macro.
41598 * debug/backtrace.c: Don't include <bp-checks.h>.
41599 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
41600 (__backtrace): Likewise.
41601 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
41602 <bp-checks.h>.
41603 (__backtrace): Don't use BOUNDED_1.
41604 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
41605 <bp-checks.h>.
41606 (__backtrace): Don't use BOUNDED_1.
41607 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
41608 (__backtrace): Don't use BOUNDED_1.
41609 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
41610 (shmat): Don't use BOUNDED_N.
41611
41612 2013-01-31 Joseph Myers <joseph@codesourcery.com>
41613
41614 [BZ #13550]
41615 * sysdeps/generic/bp-start.h: Remove file.
41616 * csu/libc-start.c: Don't include <bp-start.h>.
41617 (LIBC_START_MAIN): Set up __environ directly instead of using
41618 INIT_ARGV_and_ENVIRON.
41619 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
41620 <bp-start.h>.
41621
41622 [BZ #13550]
41623 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
41624 definitions.
41625 (CHECK_FCNTL): Likewise.
41626 (CHECK_N_PAGES): Likewise.
41627
41628 [BZ #13550]
41629 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
41630 definitions.
41631 (CHECK_SIGSET_NULL_OK): Likewise.
41632 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
41633 <bp-checks.h>.
41634 (sigpending): Don't use CHECK_SIGSET.
41635 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
41636 <bp-checks.h>.
41637 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
41638 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
41639 <bp-checks.h>.
41640 (do_sigsuspend): Don't use CHECK_SIGSET.
41641 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
41642 use CHECK_SIGSET.
41643 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
41644 (do_sigwait): Don't use CHECK_SIGSET.
41645 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
41646 use CHECK_SIGSET.
41647 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
41648 include <bp-checks.h>.
41649 (sigpending): Don't use CHECK_SIGSET.
41650 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
41651 include <bp-checks.h>.
41652 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
41653 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
41654 <bp-checks.h>.
41655 (sigpending): Don't use CHECK_SIGSET.
41656 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
41657 <bp-checks.h>.
41658 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
41659
41660 [BZ #13550]
41661 * sysdeps/generic/bp-semctl.h: Remove file.
41662 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
41663 <bp-checks.h> and <bp-semctl.h>.
41664 (__old_semctl): Don't use CHECK_SEMCTL.
41665 (__new_semctl): Likewise.
41666 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
41667 and <bp-semctl.h>.
41668 (__old_semctl): Don't use CHECK_SEMCTL.
41669 (__new_semctl): Likewise.
41670 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
41671 <bp-checks.h> and <bp-semctl.h>.
41672 (__old_semctl): Don't use CHECK_SEMCTL.
41673 (__new_semctl): Likewise.
41674 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
41675 <bp-checks.h> and <bp-semctl.h>.
41676 (semctl): Don't use CHECK_SEMCTL.
41677
41678 [BZ #13550]
41679 * Makerules (elide-bp-thunks): Remove variable.
41680 (elide-routines.oS): Don't use $(elide-bp-thunks).
41681 (elide-routines.os): Likewise.
41682 (elide-routines.o): Likewise.
41683 (elide-routines.op): Likewise.
41684 (elide-routines.og): Likewise.
41685 (objects): Don't use $(bp-thunks).
41686 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
41687 include.
41688 (common-generated): Do not add s-proto-bp.d.
41689 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
41690 (int): Likewise.
41691 (typ): Likewise.
41692 Do not generate makefile rules for bounded-pointer thunks.
41693 * sysdeps/generic/bp-thunks.h: Remove file.
41694 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
41695 * sysdeps/unix/s-proto-bp.S: Likewise.
41696
41697 [BZ #15062]
41698 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
41699 parts of result separately when argument is not close to line from
41700 -i to i and one part of argument is small.
41701 * math/k_casinhf.c (__kernel_casinhf): Likewise.
41702 * math/k_casinhl.c (__kernel_casinhl): Likewise.
41703 * math/libm-test.inc (cacos_test): Add more tests.
41704 (casin_test): Likewise.
41705 (casinh_test): Likewise.
41706 * sysdeps/i386/fpu/libm-test-ulps: Update.
41707 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41708
41709 2013-01-31 David S. Miller <davem@davemloft.net>
41710
41711 * po/de.po: Update from translation team.
41712
41713 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
41714
41715 * time/tzfile.c: Include stdint.h for SIZE_MAX.
41716
41717 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
41718
41719 * configure.in (_AC_PROG_CC_C89): New definition.
41720 * configure: Regenerate.
41721
41722 * configure.in (AC_PROG_CPP): New definition.
41723 * configure: Regenerate.
41724
41725 2013-01-23 Joseph Myers <joseph@codesourcery.com>
41726
41727 * debug/tst-backtrace.h: New file.
41728 * debug/tst-backtrace2.c: Include tst-backtrace.h.
41729 (ret): Remove variable.
41730 (x): Likewise.
41731 (FAIL): Remove macro.
41732 (NO_INLINE): Likewise.
41733 (fn1): Use match function instead of strstr.
41734 * debug/tst-backtrace3.c: Include tst-backtrace.h.
41735 (ret): Remove variable.
41736 (x): Likewise.
41737 (FAIL): Remove macro.
41738 (NO_INLINE): Likewise.
41739 (fn): Use match function instead of strstr.
41740 * debug/tst-backtrace4.c: Include tst-backtrace.h.
41741 (ret): Remove variable.
41742 (x): Likewise.
41743 (FAIL): Remove macro.
41744 (NO_INLINE): Likewise.
41745 (handle_signal): Use match function instead of strstr.
41746 * debug/tst-backtrace5.c: Include tst-backtrace.h.
41747 (ret): Remove variable.
41748 (x): Likewise.
41749 (FAIL): Remove macro.
41750 (NO_INLINE): Likewise.
41751 (handle_signal): Use match function instead of strstr.
41752
41753 2013-01-23 Roland McGrath <roland@hack.frob.com>
41754
41755 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
41756
41757 2013-01-23 David S. Miller <davem@davemloft.net>
41758
41759 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
41760 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
41761 argument of CAS if possible.
41762 * sysdeps/sparc/sparc64/bits/atomic.h
41763 (__arch_compare_and_exchange_val_32_acq): Likewise.
41764 (__arch_compare_and_exchange_val_64_acq): Likewise.
41765
41766 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
41767
41768 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
41769 * sysdeps/posix/ulimit.c: ... this.
41770 Include <limits.h>.
41771 * sysdeps/unix/bsd/ulimit.c: Remove file.
41772
41773 2013-01-23 Adam Conrad <adconrad@0c3.net>
41774
41775 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
41776 (LDFLAGS-tst-array5): Likewise.
41777
41778 2013-01-23 Joseph Myers <joseph@codesourcery.com>
41779
41780 [BZ #15036]
41781 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
41782 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
41783 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
41784 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
41785
41786 2013-01-21 David S. Miller <davem@davemloft.net>
41787
41788 * sysdeps/sparc/backtrace.c: New file.
41789 * sysdeps/sparc/sparc32/backtrace.h: New file.
41790 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
41791 * sysdeps/sparc/sparc64/backtrace.h: New file.
41792 * sysdeps/sparc/sparc64/backtrace.c: Delete.
41793 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
41794 -funwind-tables.
41795
41796 2013-01-21 Andreas Schwab <schwab@suse.de>
41797
41798 [BZ #15020]
41799 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
41800 closed its stdout.
41801
41802 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
41803
41804 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
41805 "mpa2.h".
41806 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
41807
41808 2013-01-18 Joseph Myers <joseph@codesourcery.com>
41809 Mark Mitchell <mark@codesourcery.com>
41810 Tom de Vries <tom@codesourcery.com>
41811 Paul Pluzhnikov <ppluzhnikov@google.com>
41812
41813 * debug/tst-backtrace2.c: New file.
41814 * debug/tst-backtrace3.c: Likewise.
41815 * debug/tst-backtrace4.c: Likewise.
41816 * debug/tst-backtrace5.c: Likewise.
41817 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
41818 (CFLAGS-tst-backtrace3.c): Likewise.
41819 (CFLAGS-tst-backtrace4.c): Likewise.
41820 (CFLAGS-tst-backtrace5.c): Likewise.
41821 (LDFLAGS-tst-backtrace2): Likewise.
41822 (LDFLAGS-tst-backtrace3): Likewise.
41823 (LDFLAGS-tst-backtrace4): Likewise.
41824 (LDFLAGS-tst-backtrace5): Likewise.
41825 (tests): Add new tests tst-backtrace2, tst-backtrace3,
41826 tst-backtrace4 and tst-backtrace5.
41827
41828 2013-01-18 Anton Blanchard <anton@samba.org>
41829 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
41830
41831 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
41832 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
41833 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
41834 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
41835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
41836 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
41837 "+r" and remove output regs list as redundant. Add explicit inline
41838 asm to specify register of return val to work around compiler codegen
41839 bug. Remove (int) cast on return value. Add return type parameter to
41840 use in macro so that this macro does not truncate return value for
41841 64-bit values.
41842 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
41843 pass to INTERNAL_VSYSCALL_NCS.
41844 (INLINE_VSYSCALL): Add 'long int' as return type to
41845 INTERNAL_VSYSCALL_NCS macro invocation.
41846 (INTERNAL_VSYSCALL): Add 'long int' as return type to
41847 INTERNAL_VSYSCALL_NCS macro invocation.
41848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
41849
41850 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
41851
41852 [BZ #14496]
41853 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
41854 Fix application of SIMD FP exception mask.
41855
41856 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
41857 mp_no from a power of two.
41858 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
41859 __mpexp_twomm1. Use __pow_mp.
41860
41861 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
41862 multiplication.
41863
41864 2013-01-17 David S. Miller <davem@davemloft.net>
41865
41866 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41867
41868 2013-01-17 Joseph Myers <joseph@codesourcery.com>
41869
41870 [BZ #15023]
41871 * include/complex.h: Condition contents on [!_COMPLEX_H].
41872 (__kernel_casinhf): New prototype.
41873 (__kernel_casinh): Likewise.
41874 (__kernel_casinhl): Likewise.
41875 * math/Makefile (libm_calls): Add k_casinh.
41876 * math/k_casinh.c: New file.
41877 * math/k_casinhf.c: Likewise.
41878 * math/k_casinhl.c: Likewise.
41879 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
41880 finite nonzero arguments.
41881 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
41882 finite nonzero arguments.
41883 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
41884 finite nonzero arguments.
41885 * math/s_casinh.c: Do not include <float.h>.
41886 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
41887 * math/s_casinhf.c: Do not include <float.h>.
41888 (__casinhf): Move code for finite nonzero arguments to
41889 k_casinhf.c.
41890 * math/s_casinhl.c: Do not include <float.h>.
41891 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
41892 redefine.
41893 (__casinhl): Move code for finite nonzero arguments to
41894 k_casinhl.c.
41895 * math/libm-test.inc (cacos_test): Add more tests.
41896 * sysdeps/i386/fpu/libm-test-ulps: Update.
41897 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41898
41899 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
41900
41901 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
41902 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
41903 [!HAVE_MREMAP]: Remove [defined linux] case.
41904 * malloc/arena.c: Do not include <malloc-sysdep.h>.
41905
41906 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
41907
41908 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
41909
41910 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
41911
41912 * elf/elf.h (R_386_SIZE32): New relocation.
41913 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
41914 R_386_SIZE32.
41915 (elf_machine_rela): Likewise.
41916 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
41917 R_X86_64_SIZE64 and R_X86_64_SIZE32.
41918
41919 2013-01-17 Joseph Myers <joseph@codesourcery.com>
41920
41921 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
41922 (FP_FAST_FMA): Do not define.
41923 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
41924 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
41925 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
41926 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
41927 !_SOFT_FLOAT]: Likewise.
41928 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
41929 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
41930 value.
41931 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
41932 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
41933 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
41934 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
41935 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
41936 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
41937 file.
41938
41939 2013-01-16 Andreas Schwab <schwab@suse.de>
41940
41941 [BZ #14327]
41942 * include/stdlib.h (__mktemp): Add declaration.
41943 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
41944 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
41945
41946 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
41947
41948 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
41949 definitions.
41950 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
41951 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
41952 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
41953 definitions here.
41954 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
41955 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
41956 definitions.
41957 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
41958 and ONE.
41959 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
41960 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
41961 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
41962 definitions.
41963 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
41964 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
41965 definitions.
41966 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
41967
41968 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
41969
41970 2013-01-15 David S. Miller <davem@davemloft.net>
41971
41972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
41973 trunc{,f} to libm-sysdep_routes.
41974 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
41975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
41976 file.
41977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
41978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
41979 file.
41980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
41981 file.
41982 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
41983 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
41984 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
41985 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
41986 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
41987 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
41988 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
41989 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
41990
41991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
41992 nearbyint{,f} to libm-sysdep_routes.
41993 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
41994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
41995 New file.
41996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
41997 file.
41998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
41999 New file.
42000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
42001 file.
42002 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
42003 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
42004 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
42005 file.
42006 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
42007 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
42008 file.
42009 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
42010 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
42011 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
42012
42013 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
42014 libc_feholdexcept and libc_fesetenv.
42015
42016 2013-01-15 Mike Frysinger <vapier@gentoo.org>
42017
42018 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
42019
42020 2013-01-14 David S. Miller <davem@davemloft.net>
42021
42022 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
42023 (SPARC_ASM_VIS2_IFUNC): Likewise.
42024 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
42025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
42026 use of 'siam' instruction.
42027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
42028 Likewise.
42029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
42030 Likewise.
42031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
42032 Likewise.
42033 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
42034 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
42035 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
42036 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
42037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
42038 file.
42039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
42040 file.
42041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
42042 file.
42043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
42044 file.
42045 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
42046 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
42047 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
42048 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
42049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
42050 new VIS2 routines.
42051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
42052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
42053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
42054 Likewise.
42055 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
42056 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
42057 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
42058 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
42059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
42060 routines to libm-sysdep_routines.
42061 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
42062
42063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
42064 fdim/fdimf to libm-sysdep_routines.
42065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
42066 file.
42067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
42068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
42069 file.
42070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
42071 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
42072 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
42073 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
42074 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
42075 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
42076 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
42077
42078 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
42079
42080 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
42081 to optimize copies.
42082
42083 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
42084 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
42085 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
42086
42087 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
42088 local variable MPTWO.
42089 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
42090 Likewise.
42091
42092 2013-01-13 Mike Frysinger <vapier@gentoo.org>
42093
42094 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
42095 GLOB_NOESCAPE.
42096
42097 2013-01-13 Mike Frysinger <vapier@gentoo.org>
42098
42099 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
42100
42101 2013-01-13 Mike Frysinger <vapier@gentoo.org>
42102
42103 * manual/pattern.texi (glob_t): Document gl_flags.
42104 (glob64_t): Likewise.
42105
42106 2013-01-11 David S. Miller <davem@davemloft.net>
42107
42108 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
42109 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
42110 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
42111 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
42112 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
42113 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
42114 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
42115 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
42116 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
42117 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
42118 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
42119 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
42120 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
42121
42122 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
42123 sparc V9 rather than using V8 code.
42124 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
42125 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
42126
42127 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
42128 Move to...
42129 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
42130 Here.
42131
42132 2013-01-11 Roland McGrath <roland@hack.frob.com>
42133
42134 [BZ #14941]
42135 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
42136 not in the main loop.
42137 * configure: Regenerated.
42138
42139 2013-01-11 Joseph Myers <joseph@codesourcery.com>
42140
42141 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
42142 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
42143 to just #else.
42144 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
42145 [!__GLIBC_HAVE_LONG_LONG] case.
42146 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
42147 condition to just #else.
42148 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
42149 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
42150 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
42151 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
42152 unconditional.
42153 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
42154 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
42155 #elif condition to just #else.
42156 * sysdeps/unix/sysv/linux/sys/sysmacros.h
42157 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
42158 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
42159 #elif condition to just #else.
42160
42161 2013-01-11 Steve Ellcey <sellcey@mips.com>
42162
42163 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
42164 (EF_MIPS_ARCH_64): Fix value.
42165 (EF_MIPS_ARCH_32R2): New.
42166 (EF_MIPS_ARCH_64R2): New.
42167
42168 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
42169
42170 * Makeconfig (+link-pie-before-libc): New.
42171 (+link-pie-after-libc): Likewise.
42172 (+link-pie-tests): Likewise.
42173 (+link-pie): Rewritten.
42174 (link-before-libc): Remove $(config-LDFLAGS).
42175 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
42176 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
42177 (config-LDFLAGS): Renamed to ...
42178 (rtld-LDFLAGS): This.
42179 (rtld-tests-LDFLAGS): New macro.
42180 (link-libc-rpath-link): Likewise.
42181 (link-libc-tests-rpath-link): Likewise.
42182 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
42183 (link-libc): Prepand $(link-libc-rpath-link).
42184 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
42185 (test-program-prefix): New macro.
42186 (test-via-rtld-prefix): Likewise.
42187 (test-program-cmd): Likewise.
42188 (host-test-program-cmd): Likewise.
42189 * Makefile ($(common-objpfx)testrun.sh): Replace
42190 $(run-program-prefix) with $(test-program-prefix).
42191 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
42192 $(rtld-LDFLAGS).
42193 ($(common-objpfx)shlib.lds): Likewise.
42194 (build-module-helper): Likewise.
42195 ($(common-objpfx)format.lds): Likewise.
42196 * Rules (binaries-pie-tests): New.
42197 (binaries-pie-notests): Likewise.
42198 (binaries-pie): Rewritten.
42199 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
42200 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
42201 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
42202 (make-test-out): Replace $(host-built-program-cmd) with
42203 $(host-test-program-cmd).
42204 * config.make.in (build-hardcoded-path-in-tests): New variable.
42205 * configure.in (--enable-hardcoded-path-in-tests): New configure
42206 option.
42207 (hardcoded_path_in_tests): New AC_SUBST.
42208 * configure: Regenerated.
42209 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
42210 $(built-program-cmd) with $(test-program-cmd).
42211 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
42212 (test_program_cmd): This.
42213 * elf/Makefile ($(objpfx)order.out): Run test with
42214 $(test-program-prefix).
42215 ($(objpfx)order2.out): Likewise.
42216 ($(objpfx)tst-initorder.out): Likewise.
42217 ($(objpfx)tst-initorder2.out): Likewise.
42218 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
42219 $(test-program-cmd).
42220 ($(objpfx)tst-array1-static.out): Likewise.
42221 ($(objpfx)tst-array2.out): Likewise.
42222 ($(objpfx)tst-array3.out): Likewise.
42223 ($(objpfx)tst-array4.out): Likewise.
42224 ($(objpfx)tst-array5.out): Likewise.
42225 ($(objpfx)tst-array5-static.out): Likewise.
42226 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
42227 $(test-program-cmd).
42228 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
42229 $(run-program-prefix) with $(test-program-prefix).
42230 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
42231 (test_program_prefix): This.
42232 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
42233 $(run-program-prefix) with $(test-program-prefix).
42234 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
42235 (test_program_prefix): This.
42236 * iconvdata/tst-tables.sh: Likewise.
42237 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
42238 $(run-program-prefix) with $(test-program-prefix).
42239 ($(objpfx)tst-translit.out): Likewise.
42240 ($(objpfx)tst-gettext2.out): Likewise.
42241 ($(objpfx)tst-gettext4.out): Likewise.
42242 ($(objpfx)tst-gettext6.out): Likewise.
42243 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
42244 (test_program_prefix): This.
42245 * intl/tst-gettext2.sh: Likewise.
42246 * intl/tst-gettext4.sh Likewise.
42247 * intl/tst-gettext6.sh: Likewise.
42248 * intl/tst-translit.sh: Likewise.
42249 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
42250 with $(test-program-cmd).
42251 * libio/Makefile ($(objpfx)test-freopen.out): Replace
42252 $(run-program-prefix) with $(test-program-prefix).
42253 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
42254 (test_program_prefix): This.
42255 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
42256 $(run-program-prefix) with $(test-program-prefix).
42257 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
42258 (test_program_prefix): This.
42259 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
42260 * posix/Makefile ($(objpfx)globtest.out): Replace
42261 $(run-via-rtld-prefix) and $(test-wrapper) with
42262 $(test-program-prefix) and $(test-via-rtld-prefix).
42263 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
42264 $(test-program-prefix).
42265 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
42266 $(host-test-program-cmd).
42267 (tst-spawn-ARGS): Likewise.
42268 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
42269 $(test-program-prefix).
42270 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
42271 (test_via_rtld_prefix): This.
42272 (test_wrapper): Renamed to ...
42273 (test_program_prefix): This.
42274 (run_program_prefix): Replaced by test_program_prefix.
42275 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
42276 (test_program_prefix): This.
42277 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
42278 with $(host-test-program-cmd).
42279 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
42280 $(run-program-prefix) with $(test-program-prefix).
42281 ($(objpfx)tst-printf.out): Likewise.
42282 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
42283 $(test-program-cmd).
42284 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
42285 (test_program_prefix): This.
42286 * stdio-common/tst-unbputc.sh: Likewise.
42287 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
42288 $(run-program-prefix) with $(test-program-prefix).
42289 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
42290 (test_program_prefix): This.
42291 * string/Makefile ($(objpfx)tst-svc.out): Replace
42292 $(built-program-cmd) with $(test-program-cmd).
42293
42294 2013-01-11 Andreas Jaeger <aj@suse.de>
42295
42296 [BZ #15003]
42297 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
42298 value. Sync with Linux 3.7.
42299
42300 2013-01-10 David S. Miller <davem@davemloft.net>
42301
42302 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
42303 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
42304 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
42305
42306 2013-01-10 Roland McGrath <roland@hack.frob.com>
42307
42308 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
42309 never set.
42310 * configure: Regenerated.
42311
42312 2013-01-10 David S. Miller <davem@davemloft.net>
42313
42314 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
42315 sparc V9 rather than using V8 code.
42316 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
42317 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
42318
42319 2013-01-10 Roland McGrath <roland@hack.frob.com>
42320
42321 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
42322 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
42323 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
42324 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
42325 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
42326 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
42327 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
42328 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
42329 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
42330 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
42331 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
42332 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
42333 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
42334 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
42335 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
42336 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
42337 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
42338 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
42339 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
42340 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
42341 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
42342 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
42343 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
42344 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
42345 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
42346 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
42347 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
42348
42349 2013-01-10 David S. Miller <davem@davemloft.net>
42350
42351 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42352
42353 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
42354
42355 * posix/Makefile (tests-static): New variable.
42356 (tests): Add $(tests-static).
42357 (tst-exec-static-ARGS): New variable.
42358 (tst-spawn-static-ARGS): Likewise.
42359 * posix/tst-exec-static.c: New file.
42360 * posix/tst-spawn-static.c: Likewise.
42361 * posix/tst-exec.c: Support run directly.
42362 * posix/tst-spawn.c: Likewise.
42363
42364 2013-01-10 Joseph Myers <joseph@codesourcery.com>
42365
42366 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
42367 long.
42368 * math/bits/mathcalls.h (llrint): Likewise.
42369 (llround): Likewise.
42370 * stdlib/stdlib.h (struct drand48_data): Likewise.
42371 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
42372 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
42373 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
42374 Likewise.
42375 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
42376 Likewise.
42377 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
42378 (elf_greg_t): Likewise.
42379 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
42380 (__jmp_buf): Likewise.
42381 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
42382 definitions.
42383 (llrint): Likewise, for all definitions.
42384 (llrintl): Likewise.
42385
42386 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
42387 Remove [__GNUC__] condition.
42388 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
42389 condition to just [__USE_ISOC99].
42390 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
42391
42392 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
42393
42394 [BZ #14200]
42395 * sysdeps/unix/sysv/linux/x86/bits/environments.h
42396 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
42397 defined.
42398 (_POSIX_V6_ILP32_OFF32): Likewise.
42399 (_XBS5_ILP32_OFF32): Likewise.
42400 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
42401 (__ILP32_OFFBIG_LDFLAGS): Likewise.
42402
42403 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
42404
42405 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
42406
42407 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
42408 doubles __mpexp_twomm1. Adjust usage.
42409 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
42410 Remove.
42411
42412 2013-01-10 Andreas Schwab <schwab@suse.de>
42413
42414 [BZ #14964]
42415 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
42416 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
42417
42418 2013-01-09 David S. Miller <davem@davemloft.net>
42419
42420 [BZ #15003]
42421 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
42422 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
42423 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
42424 (TCP_FASTOPEN): Define.
42425 (tcp_repair_opt): New structure.
42426 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
42427 enum values.
42428 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
42429 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
42430 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
42431 (tcp_cookie_transactions): New structure.
42432
42433 2013-01-09 Anton Blanchard <anton@samba.org>
42434
42435 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
42436 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
42437 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
42438 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
42439
42440 2013-01-09 Joseph Myers <joseph@codesourcery.com>
42441
42442 * include/features.h (__USE_ANSI): Remove.
42443
42444 2013-01-09 Roland McGrath <roland@hack.frob.com>
42445
42446 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
42447
42448 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
42449
42450 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
42451
42452 * sysdeps/s390/fpu/libm-test-ulps: Update.
42453
42454 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42455
42456 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
42457 (__acr): Likewise.
42458 (__cpy): Likewise.
42459 (norm): Likewise.
42460 (denorm): Likewise.
42461 (__mp_dbl): Likewise.
42462 (__dbl_mp): Likewise.
42463 (add_magnitudes): Likewise.
42464 (sub_magnitudes): Likewise.
42465 (__add): Likewise.
42466 (__sub): Likewise.
42467 (__mul): Likewise.
42468 (__inv): Likewise.
42469 (__dvd): Likewise.
42470 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
42471 (__acr): Likewise.
42472 (__cpy): Likewise.
42473 (norm): Likewise.
42474 (denorm): Likewise.
42475 (__mp_dbl): Likewise.
42476 (__dbl_mp): Likewise.
42477 (add_magnitudes): Likewise.
42478 (sub_magnitudes): Likewise.
42479 (__add): Likewise.
42480 (__sub): Likewise.
42481 (__mul): Likewise.
42482 (__inv): Likewise.
42483 (__dvd): Likewise.
42484 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
42485 (__acr): Likewise.
42486 (__cpy): Likewise.
42487 (norm): Likewise.
42488 (denorm): Likewise.
42489 (__mp_dbl): Likewise.
42490 (__dbl_mp): Likewise.
42491 (add_magnitudes): Likewise.
42492 (sub_magnitudes): Likewise.
42493 (__add): Likewise.
42494 (__sub): Likewise.
42495 (__mul): Likewise.
42496 (__inv): Likewise.
42497 (__dvd): Likewise.
42498
42499 2013-01-08 Joseph Myers <joseph@codesourcery.com>
42500
42501 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
42502 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
42503 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
42504 2 && __USE_EXTERN_INLINES]: Likewise.
42505
42506 2013-01-08 Andreas Jaeger <aj@suse.de>
42507
42508 [BZ# 14985]
42509 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
42510 Remove.
42511 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
42512 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
42513
42514 2013-01-07 Anton Blanchard <anton@samba.org>
42515
42516 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
42517 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
42518 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
42519 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
42520 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
42521 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
42522 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
42523 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
42524 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
42525 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
42526 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
42527 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
42528 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
42529 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
42530 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
42531 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
42532 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
42533 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
42534 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
42535 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
42536 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
42537 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
42538 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
42539 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
42540 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
42541 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
42542 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
42543 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
42544 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
42545 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
42546 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
42547 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
42548 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
42549 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
42550 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
42551 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
42552 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
42553 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
42554 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
42555 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
42556 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
42557 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
42558 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
42559
42560 2013-01-07 Joseph Myers <joseph@codesourcery.com>
42561
42562 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
42563 (__MALLOC_PMT): Likewise.
42564 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
42565 [__GNUC__], only on [_LIBC].
42566 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
42567 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
42568 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
42569 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
42570 forward declaration.
42571 (realloc_hook_ini): Likewise.
42572 (memalign_hook_ini): Likewise.
42573 (__libc_memalign): Do not use __MALLOC_PMT in variable
42574 declaration.
42575 (__libc_valloc): Likewise.
42576 (__libc_pvalloc): Likewise.
42577 (__libc_calloc): Likewise.
42578 (__posix_memalign): Likewise.
42579
42580 [BZ #14996]
42581 * math/s_casinh.c: Include <float.h>.
42582 (__casinh): Do not do computation with squaring and square root
42583 for large arguments.
42584 * math/s_casinhf.c: Include <float.h>.
42585 (__casinhf): Do not do computation with squaring and square root
42586 for large arguments.
42587 * math/s_casinhl.c: Include <float.h>.
42588 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
42589 (__casinhl): Do not do computation with squaring and square root
42590 for large arguments.
42591 * math/libm-test.inc (casin_test): Add more tests.
42592 (casinh_test): Likewise.
42593 * sysdeps/i386/fpu/libm-test-ulps: Update.
42594 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42595
42596 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
42597
42598 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
42599 (__x86_64_raw_data_cache_size): Likewise.
42600 (__x86_64_data_cache_size_half): Likewise.
42601 (__x86_64_raw_data_cache_size_half): Likewise.
42602 (__x86_64_shared_cache_size): Likewise.
42603 (__x86_64_raw_shared_cache_size): Likewise.
42604 (__x86_64_shared_cache_size_half): Likewise.
42605 (__x86_64_raw_shared_cache_size_half): Likewise.
42606 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
42607 to ...
42608 (__x86_data_cache_size): This.
42609 (__x86_64_raw_data_cache_size): Renamed to ...
42610 (__x86_raw_data_cache_size): This.
42611 (__x86_64_data_cache_size_half): Renamed to ...
42612 (__x86_data_cache_size_half): This.
42613 (__x86_64_raw_data_cache_size_half): Renamed to ...
42614 (__x86_raw_data_cache_size_half): This.
42615 (__x86_64_shared_cache_size): Renamed to ...
42616 (__x86_shared_cache_size): This.
42617 (__x86_64_raw_shared_cache_size): Renamed to ...
42618 (__x86_raw_shared_cache_size): This.
42619 (__x86_64_shared_cache_size_half): Renamed to ...
42620 (__x86_shared_cache_size_half): This.
42621 (__x86_64_raw_shared_cache_size_half): Renamed to ...
42622 (__x86_raw_shared_cache_size_half): This.
42623 * sysdeps/x86_64/memcpy.S: Updated.
42624 * sysdeps/x86_64/memset.S: Likewise.
42625 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
42626 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
42627 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
42628
42629 2013-01-04 David S. Miller <davem@davemloft.net>
42630
42631 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42632
42633 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
42634
42635 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
42636 1 to avoid redefinition warning.
42637 (__USE_GNU): Don't define.
42638 (init_signaling_nan): Protoize.
42639
42640 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42641
42642 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
42643
42644 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
42645 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
42646 (__cpymn): Likewise.
42647 (norm): Remove commented code.
42648 (denorm): Likewise.
42649 (__mp_dbl): Likewise.
42650 (__inv): Likewise.
42651 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
42652 (__cpymn): Likewise.
42653 (norm): Remove commented code.
42654 (denorm): Likewise.
42655 (__mp_dbl): Likewise.
42656 (__inv): Likewise.
42657
42658 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
42659 mp_no value for 1.0 and 2.0.
42660 (norm): Use RADIXI instead of radixi.d.
42661 (denorm): Likewise.
42662 (__mul): Use 0.0 instead of zero.d.
42663 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
42664 mp_no value for 1.0 and 2.0.
42665 (norm): Use RADIXI instead of radixi.d.
42666 (denorm): Likewise.
42667 (__mul): Use 0.0 instead of zero.d.
42668
42669 2013-01-04 Joseph Myers <joseph@codesourcery.com>
42670
42671 [BZ #14994]
42672 * math/s_casinh.c (__casinh): Reduce finite argument to first
42673 quadrant then set signs of results at the end.
42674 * math/s_casinhf.c (__casinhf): Likewise.
42675 * math/s_casinhl.c (__casinhl): Likewise.
42676 * math/libm-test.inc (casin_test): Add more tests.
42677 (casinh_test): Likewise.
42678 * sysdeps/i386/fpu/libm-test-ulps: Update.
42679 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42680
42681 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
42682
42683 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
42684
42685 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
42686
42687 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
42688 declarations.
42689 (denorm): Likewise.
42690 (__mp_dbl): Likewise.
42691 (__inv): Likewise.
42692
42693 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
42694 and adjust the header comment.
42695
42696 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
42697 variable name from declaration.
42698
42699 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
42700
42701 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42702 Initialize COMMON_CPUID_INDEX_7 element.
42703 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
42704 (CPUID_RTM): Likewise.
42705 (HAS_RTM): Likewise.
42706 (COMMON_CPUID_INDEX_7): New enum.
42707
42708 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
42709
42710 [BZ #14981]
42711 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
42712 size is zero, record memory as freed.
42713
42714 2013-01-03 Andreas Jaeger <aj@suse.de>
42715
42716 * po/ia.po: Add new Interlingua translation.
42717
42718 2012-01-03 Allan McRae <allan@archlinux.org>
42719
42720 * locale/programs/localedef.c: Fix description of '--posix' flag.
42721
42722 2013-01-02 Joseph Myers <joseph@codesourcery.com>
42723
42724 * NEWS: Update dates in second copyright notice.
42725 * README: Update copyright dates in example.
42726 * manual/libc.texinfo: Update copyright dates.
42727 * scripts/test-installation.pl: Update copyright date in --version
42728 output.
42729
42730 * hurd/ctty-input.c: Fix copyright notice formatting.
42731 * hurd/ctty-output.c: Likewise.
42732 * hurd/dtable.c: Likewise.
42733 * hurd/hurd-raise.c: Likewise.
42734 * hurd/hurdprio.c: Likewise.
42735 * hurd/msgportdemux.c: Likewise.
42736 * misc/sys/file.h: Likewise.
42737 * misc/sys/ioctl.h: Likewise.
42738 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
42739 * sysdeps/mach/hurd/chdir.c: Likewise.
42740 * sysdeps/mach/hurd/fchdir.c: Likewise.
42741 * sysdeps/mach/hurd/rename.c: Likewise.
42742 * sysdeps/mach/hurd/rmdir.c: Likewise.
42743 * sysdeps/mach/hurd/seekdir.c: Likewise.
42744 * sysdeps/mach/hurd/setsid.c: Likewise.
42745 * sysdeps/posix/wait3.c: Likewise.
42746
42747 * All files with FSF copyright notices: Update copyright dates
42748 using scripts/update-copyrights.
42749 * intl/plural.c: Regenerated.
42750 * locale/programs/charmap-kw.h: Likewise.
42751 * locale/programs/locfile-kw.h: Likewise.
42752
42753 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
42754
42755 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
42756 four values.
42757
42758 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
42759 calculation loop and add branch prediction.
42760
42761 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
42762 check access beyond bounds of m1np.
42763
42764 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
42765 MPTWO.
42766 (__inv): Remove local variable MPTWO to use the global
42767 constant.
42768 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
42769 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
42770 variable MPTWO.
42771 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
42772 MP3HALFS static const.
42773
42774 2013-01-01 David S. Miller <davem@davemloft.net>
42775
42776 * po/ca.po: Update from translation team.
42777
42778 2013-01-01 Joseph Myers <joseph@codesourcery.com>
42779
42780 * scripts/update-copyrights: New file.
42781 * Makeconfig: Reformat copyright notice.
42782 * ctype/ctype.h: Likewise.
42783 * debug/swprintf_chk.c: Likewise.
42784 * elf/dl-cache.c: Likewise.
42785 * elf/dl-debug.c: Likewise.
42786 * elf/dl-object.c: Likewise.
42787 * grp/initgroups.c: Likewise.
42788 * hurd/Makefile: Likewise.
42789 * hurd/hurd/signal.h: Likewise.
42790 * hurd/hurdfault.c: Likewise.
42791 * hurd/hurdioctl.c: Likewise.
42792 * hurd/hurdlookup.c: Likewise.
42793 * hurd/intr-msg.c: Likewise.
42794 * iconv/gconv_open.c: Likewise.
42795 * libio/swprintf.c: Likewise.
42796 * locale/lc-ctype.c: Likewise.
42797 * locale/nl_langinfo.c: Likewise.
42798 * mach/Machrules: Likewise.
42799 * mach/Makefile: Likewise.
42800 * malloc/obstack.h: Likewise.
42801 * manual/Makefile: Likewise.
42802 * manual/tsort.awk: Likewise.
42803 * misc/bits/stab.def: Likewise.
42804 * nis/nis_print_group_entry.c: Likewise.
42805 * nis/nis_table.c: Likewise.
42806 * nis/nss_compat/compat-pwd.c: Likewise.
42807 * nis/nss_compat/compat-spwd.c: Likewise.
42808 * po/Makefile: Likewise.
42809 * posix/fnmatch.c: Likewise.
42810 * posix/regex.h: Likewise.
42811 * resolv/Makefile: Likewise.
42812 * resolv/nss_dns/dns-network.c: Likewise.
42813 * resolv/res_hconf.c: Likewise.
42814 * scripts/gen-sorted.awk: Likewise.
42815 * soft-fp/soft-fp.h: Likewise.
42816 * stdio-common/printf.h: Likewise.
42817 * stdlib/monetary.h: Likewise.
42818 * stdlib/random.c: Likewise.
42819 * stdlib/random_r.c: Likewise.
42820 * sysdeps/generic/Makefile: Likewise.
42821 * sysdeps/gnu/Makefile: Likewise.
42822 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
42823 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42824 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42825 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42826 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42827 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42828 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42829 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
42830 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42831 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42832 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
42833 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
42834 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
42835 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
42836 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
42837 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
42838 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
42839 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42840 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42841 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42842 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
42843 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
42844 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
42845 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
42846 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
42847 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
42848 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
42849 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
42850 * sysdeps/mach/hurd/errnos.awk: Likewise.
42851 * sysdeps/mach/hurd/fork.c: Likewise.
42852 * sysdeps/mach/hurd/getcwd.c: Likewise.
42853 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
42854 * sysdeps/mach/hurd/mmap.c: Likewise.
42855 * sysdeps/mach/hurd/utimes.c: Likewise.
42856 * sysdeps/mach/hurd/xmknod.c: Likewise.
42857 * sysdeps/posix/profil.c: Likewise.
42858 * sysdeps/posix/readdir_r.c: Likewise.
42859 * sysdeps/powerpc/bits/mathdef.h: Likewise.
42860 * sysdeps/powerpc/bits/setjmp.h: Likewise.
42861 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
42862 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
42863 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
42864 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
42865 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
42866 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
42867 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
42868 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
42869 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
42870 * sysdeps/pthread/lio_listio.c: Likewise.
42871 * sysdeps/sparc/dl-procinfo.h: Likewise.
42872 * sysdeps/unix/i386/sysdep.S: Likewise.
42873 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
42874 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
42875 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
42876 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
42877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
42878 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
42879 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
42880 * sysdeps/unix/sysv/linux/speed.c: Likewise.
42881 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
42882 * sysdeps/wordsize-32/divdi3.c: Likewise.
42883 * time/sys/time.h: Likewise.
42884 * wcsmbs/Makefile: Likewise.
42885
42886 2013-01-01 David S. Miller <davem@davemloft.net>
42887
42888 * po/fr.po: Update from translation team.
42889
42890 * catgets/gencat.c: Update copyright year.
42891 * csu/version.c: Likewise.
42892 * debug/catchsegv.sh: Likewise.
42893 * debug/pcprofiledump.c: Likewise.
42894 * debug/xtrace.sh: Likewise.
42895 * elf/ldconfig.c: Likewise.
42896 * elf/ldd.bash.in: Likewise.
42897 * elf/pldd.c: Likewise.
42898 * elf/sotruss.ksh: Likewise.
42899 * elf/sprof.c: Likewise.
42900 * iconv/iconv_prog.c: Likewise.
42901 * iconv/iconvconfig.c: Likewise.
42902 * locale/programs/locale.c: Likewise.
42903 * locale/programs/localedef.c: Likewise.
42904 * login/programs/pt_chown.c: Likewise.
42905 * malloc/memusage.sh: Likewise.
42906 * malloc/memusagestat.c: Likewise.
42907 * malloc/mtrace.pl: Likewise.
42908 * nscd/nscd.c: Likewise.
42909 * nss/getent.c: Likewise.
42910 * nss/makedb.c: Likewise.
42911 * posix/getconf.c: Likewise.
42912
42913 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
42914
42915 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
42916 numbers.
42917
42918 2012-12-30 Mike Frysinger <vapier@gentoo.org>
42919
42920 * math/bits/mathcalls.h (modf): Use __nonnull.
42921
42922 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
42923
42924 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
42925 (split): Use macro CN instead of the bare value.
42926 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
42927 could be used.
42928 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
42929 instead of the bare value.
42930 (power1): Likewise.
42931
42932 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
42933
42934 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
42935 __ATAN_TWOM.
42936 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
42937
42938 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
42939 their values.
42940 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
42941 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
42942 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
42943 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
42944
42945 2012-12-28 Andreas Jaeger <aj@suse.de>
42946
42947 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
42948 values are from Linux 3.7.
42949
42950 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
42951 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
42952
42953 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
42954
42955 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
42956 TRUE case.
42957
42958 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
42959 (norm): Likewise.
42960 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
42961 variables with preprocessor constants.
42962 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
42963 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
42964 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
42965
42966 2012-12-27 Bruno Haible <bruno@clisp.org>
42967
42968 [BZ #14317]
42969 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
42970 only if needed.
42971
42972 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
42973
42974 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
42975 and use variable directly.
42976 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
42977
42978 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
42979 MPONE.
42980 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
42981 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
42982 variable MPONE.
42983 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
42984 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
42985 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
42986 include directive. Remove local variable MPONE.
42987 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
42988 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
42989 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
42990
42991 2012-12-25 David S. Miller <davem@davemloft.net>
42992
42993 * version.h (RELEASE): Set to "development".
42994 (VERSION): Set to "2.17.90".
42995 * NEWS: Add 2.18 section.
42996
42997 2012-12-21 David S. Miller <davem@davemloft.net>
42998
42999 * po/hr.po: Update from translation team.
43000
43001 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43002
43003 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
43004
43005 2012-12-19 Steve Ellcey <sellcey@mips.com>
43006
43007 * NEWS: Mention new memcpy for MIPS.
43008
43009 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
43010
43011 * manual/contrib.texi (Contributors): Spelling correction.
43012
43013 2012-12-15 David S. Miller <davem@davemloft.net>
43014
43015 * po/ru.po: Update from translation team.
43016
43017 2012-12-13 David S. Miller <davem@davemloft.net>
43018
43019 * NEWS: Mention IFUNC testsuite enhancements.
43020
43021 * po/pl.po: Update from translation team.
43022 * po/bg.po: Likewise.
43023
43024 * manual/contrib.texi (Contributors): Update entries for Hongjiu
43025 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
43026
43027 2012-12-11 David S. Miller <davem@davemloft.net>
43028
43029 * po/sv.po: Update from translation team.
43030
43031 * po/vi.po: Update from translation team.
43032
43033 * po/cs.po: Update from translation team.
43034
43035 * po/de.po: Update from translation team.
43036 * po/eo.po: Likewise.
43037 * po/nl.po: Likewise.
43038
43039 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
43040
43041 [BZ #14246]
43042 * manual/argp.texi (Argp Helper Functions): Move node to follow
43043 Argp Parsing State.
43044
43045 [BZ #14872]
43046 * manual/conf.texi (Limits on File System Capacity): Mention if
43047 terminating null is included in the max size.
43048
43049 2012-12-10 Andreas Jaeger <aj@suse.de>
43050
43051 * po/cs.po: Update from translation team.
43052
43053 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
43054
43055 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
43056 void pointer and cast to uintptr_t.
43057 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
43058 path.
43059 * sysdeps/s390/s390-64/memcpy.S: Likewise.
43060 * sysdeps/s390/s390-64/memset.S: Likewise.
43061
43062 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
43063
43064 [BZ #14833]
43065 * menual/message.texi (Message Translation): Fix typos.
43066 (Helper programs for gettext): Likewise.
43067
43068 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
43069
43070 [BZ #14898]
43071 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
43072 Change to -1.
43073
43074 2012-12-07 David S. Miller <davem@davemloft.net>
43075
43076 * po/libc.pot: Update.
43077
43078 2012-12-07 Richard Henderson <rth@redhat.com>
43079
43080 [BZ #10114]
43081 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
43082 normal/normal case to before the switch.
43083 (_FP_DIV): Likewise.
43084
43085 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
43086 Mike Frysinger <vapier@gentoo.org>
43087
43088 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
43089 check for __NR_fadvise64_64.
43090
43091 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
43092
43093 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
43094 0, not just to plain "0" as a statement.
43095 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
43096 with cw.
43097
43098 2012-12-06 Joseph Myers <joseph@codesourcery.com>
43099
43100 * NEWS: Use sourceware.org in Bugzilla URL.
43101
43102 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
43103
43104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
43105 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
43106
43107 * stdio-common/tst-put-error.c (do_test): Add newline to the
43108 padded test to ensure flush.
43109
43110 2012-12-05 Jeff Law <law@redhat.com>
43111
43112 * sunrpc/etc.rpc (fedfs_admin): Add entry.
43113
43114 2012-12-05 Joseph Myers <joseph@codesourcery.com>
43115
43116 * README: Don't refer to ports add-on as distributed separately.
43117 Mention AArch64 in list of systems supported in the ports add-on.
43118
43119 * LICENSES: Add more non-FSF copyright and license notices.
43120
43121 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
43122 ((unused)).
43123
43124 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
43125
43126 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
43127 10000 as width of padded output.
43128
43129 2012-12-04 Joseph Myers <joseph@codesourcery.com>
43130
43131 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
43132
43133 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
43134 variable LX with __attribute__ ((unused)).
43135 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
43136 Likewise.
43137 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
43138 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
43139 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
43140 with __attribute__ ((unused)).
43141
43142 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
43143
43144 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
43145
43146 2012-12-04 Joseph Myers <joseph@codesourcery.com>
43147
43148 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
43149 (CFLAGS-nldbl-acos.c): New variable.
43150 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
43151 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
43152 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
43153 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
43154 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
43155 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
43156 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
43157 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
43158 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
43159 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
43160 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
43161 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
43162 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
43163 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
43164 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
43165 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
43166 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
43167 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
43168 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
43169 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
43170 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
43171 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
43172 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
43173 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
43174 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
43175 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
43176 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
43177 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
43178 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
43179 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
43180 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
43181 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
43182 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
43183 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
43184 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
43185 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
43186 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
43187 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
43188 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
43189 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
43190 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
43191 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
43192 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
43193 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
43194 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
43195 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
43196 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
43197 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
43198 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
43199 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
43200 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
43201 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
43202 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
43203 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
43204 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
43205 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
43206 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
43207 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
43208 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
43209 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
43210 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
43211 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
43212 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
43213 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
43214 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
43215 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
43216 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
43217 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
43218 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
43219 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
43220 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
43221 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
43222 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
43223 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
43224 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
43225 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
43226 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
43227 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
43228 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
43229 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
43230 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
43231 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
43232 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
43233 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
43234 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
43235 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
43236 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
43237 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
43238 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
43239 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
43240 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
43241 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
43242 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
43243 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
43244 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
43245 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
43246 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
43247
43248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
43249 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
43250
43251 [BZ #14914]
43252 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
43253 whole low double instead of just low 47 bits when splitting values
43254 into two parts.
43255
43256 2012-12-03 Allan McRae <allan@archlinux.org>
43257
43258 * manual/stdio.texi (Predefined Printf Handlers): Remove
43259 @hsep and @vsep usage.
43260
43261 2012-12-03 Mike Frysinger <vapier@gentoo.org>
43262
43263 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
43264 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
43265
43266 2012-12-03 Jeff Law <law@redhat.com>
43267
43268 * time/sys/time.h (settimeofday): Do not mark TV argument
43269 as __nonnull.
43270
43271 2012-12-01 Mike Frysinger <vapier@gentoo.org>
43272
43273 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
43274 when currently writing and seek to current position when not.
43275 * libio/Makefile (tests): Remove bug-fclose1.
43276 * libio/bug-fclose1.c: Delete.
43277
43278 2012-12-01 Joseph Myers <joseph@codesourcery.com>
43279
43280 * manual/arith.texi (feenableexcept): Fix typo.
43281 (fedisableexcept): Likewise.
43282
43283 2012-11-30 Roland McGrath <roland@hack.frob.com>
43284
43285 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
43286 second, differently-typed declaration, rather than a cast.
43287
43288 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
43289
43290 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
43291 * include/rpc/svc.h: ... here.
43292
43293 2012-11-30 Aurelien Jarno <aurel32@debian.org>
43294
43295 [BZ #13013]
43296 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
43297 depending n and resplen2 to catch cases where answer
43298 equals answerp2.
43299
43300 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
43301
43302 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
43303 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
43304
43305 2012-11-29 Mike Frysinger <vapier@gentoo.org>
43306
43307 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
43308
43309 2012-11-29 Roland McGrath <roland@hack.frob.com>
43310
43311 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
43312
43313 2012-11-28 Jeff Law <law@redhat.com>
43314
43315 [BZ #13761]
43316 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
43317 dataset_temporary. Track alloca usage into alloca_used.
43318 If dataset is large allocate and release it via malloc/free.
43319
43320 2012-06-04 Florian Weimer <fweimer@redhat.com>
43321
43322 [BZ #14197]
43323 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
43324
43325 2012-11-28 David S. Miller <davem@davemloft.net>
43326
43327 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43328
43329 2012-11-28 Joseph Myers <joseph@codesourcery.com>
43330
43331 [BZ #14803]
43332 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
43333 of pi/2 rounded to nearest to 64 bits.
43334 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
43335 nearest to 64 bits.
43336 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
43337 bits.
43338
43339 2012-11-28 Jeff Law <law@redhat.com>
43340 Martin Osvald <mosvald@redhat.com>
43341
43342 [BZ #14889]
43343 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
43344 * sunrpc/svc.c: Include time.h.
43345 (__svc_accept_failed): New function.
43346 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
43347 any reason other than EINTR, call __svc_accept_failed.
43348 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
43349 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
43350
43351 2012-11-28 Andreas Schwab <schwab@suse.de>
43352
43353 * scripts/abilist.awk: Also handle indirect functions in .opd
43354 section.
43355
43356 2012-11-28 Joseph Myers <joseph@codesourcery.com>
43357
43358 [BZ #13881]
43359 * sysdeps/x86/fpu/powl_helper.c: New file.
43360 * sysdeps/x86/fpu/Makefile: Likewise.
43361 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
43362 (p3): New object.
43363 (__ieee754_powl): Use __powl_helper for finite arguments except
43364 integer exponents below 8.
43365 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
43366 (p3): New object.
43367 (__ieee754_powl): Use __powl_helper for finite arguments except
43368 integer exponents below 8.
43369 * math/libm-test.inc (pow_test): Add more tests and enable some
43370 previously disabled tests.
43371 * sysdeps/i386/fpu/libm-test-ulps: Update.
43372 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43373
43374 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
43375 Carlos O'Donell <carlos_odonell@mentor.com>
43376
43377 * nss/makedb.c (is_prime): Assert that input is odd and greater
43378 than 4. Note that fact in a comment too.
43379 (next_prime): Add 4 to input.
43380
43381 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
43382
43383 [BZ #11741]
43384 * libio/Makefile (tests): Add test case tst-fwrite-error.
43385 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
43386 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
43387 * libio/tst-fwrite-error.c: New test case.
43388
43389 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
43390
43391 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
43392 before casting to void *.
43393 * include/libc-internal.h (__pointer_type): New macro.
43394 (__integer_if_pointer_type_sub): Likewise.
43395 (__integer_if_pointer_type): Likewise.
43396 (cast_to_integer): Likewise.
43397 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
43398 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
43399 before casting to atomic64_t.
43400 (atomic_exchange_acq): Likewise.
43401 (__arch_exchange_and_add_body): Likewise.
43402 (__arch_add_body): Likewise.
43403 (atomic_add_negative): Likewise.
43404 (atomic_add_zero): Likewise.
43405
43406 2012-11-26 Joseph Myers <joseph@codesourcery.com>
43407
43408 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
43409 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
43410 (add_fdes): Likewise.
43411 (linear_search_fdes): Likewise.
43412 (binary_search_unencoded_fdes): Likewise.
43413
43414 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
43415
43416 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
43417
43418 2012-11-24 Adam Conrad <adconrad@0c3.net>
43419
43420 * configure.in: Autodetect C++ header directories.
43421 * configure: Regenerated.
43422
43423 2012-11-23 Mike Frysinger <vapier@gentoo.org>
43424
43425 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
43426
43427 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
43428
43429 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43430
43431 2012-11-22 Joseph Myers <joseph@codesourcery.com>
43432
43433 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
43434 LDBL_MANT_DIG == 106]: Disable some tests.
43435 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
43436 Likewise.
43437 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
43438 Likewise.
43439
43440 [BZ #14871]
43441 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
43442 input for small inputs. Return +/- pi/2 for large inputs.
43443 * math/libm-test.inc (atan_test): Add more tests.
43444
43445 * sysdeps/generic/unwind-dw2-fde-glibc.c
43446 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
43447 __attribute__ ((unused)).
43448
43449 [BZ #14645]
43450 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
43451 x * y if x and y are nonzero and z is zero.
43452
43453 [BZ #14811]
43454 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
43455 nonzero exponents with absolute value below 0x1p-117 to +/-
43456 0x1p-117.
43457
43458 [BZ #14869]
43459 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
43460 up arguments below 2**-450, not just those below 2**-500.
43461 * math/libm-test.inc (hypot_test): Add another test.
43462
43463 [BZ #14868]
43464 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
43465 Return a+b for ratio over 2**120, not 2**60.
43466 * math/libm-test.inc (hypot_test): Add another test.
43467
43468 * math/libm-test.inc (clog_test): Use
43469 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
43470 (clog10_test): Likewise.
43471
43472 [BZ #6778]
43473 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
43474
43475 2012-11-22 Andreas Schwab <schwab@suse.de>
43476
43477 * sysdeps/i386/fpu/libm-test-ulps: Update.
43478
43479 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
43480
43481 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
43482 printf output with newline.
43483
43484 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
43485
43486 [BZ #14865]
43487 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
43488 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
43489 -z nodlopen, -z initfirst and -z execstack support.
43490 * configure: Regenerated.
43491
43492 * elf/elf.h (DF_1_NODIRECT): New macro.
43493 (DF_1_IGNMULDEF): Likewise.
43494 (DF_1_NOKSYMS): Likewise.
43495 (DF_1_NOHDR): Likewise.
43496 (DF_1_EDITED): Likewise.
43497 (DF_1_NORELOC): Likewise.
43498 (DF_1_SYMINTPOSE): Likewise.
43499 (DF_1_GLOBAUDIT): Likewise.
43500 (DF_1_SINGLETON): Likewise.
43501 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
43502 DT_1_SUPPORTED_MASK bits.
43503 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
43504
43505 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
43506
43507 * sysdeps/unix/make-syscalls.sh: Document prefixes.
43508
43509 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
43510
43511 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
43512 macro.
43513
43514 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
43515 (sendmmsg): Move declarations...
43516 * socket/sys/socket.h: ... here.
43517 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
43518 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
43519 include it from...
43520 * socket/recvmmsg.c: ... this new file.
43521 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
43522 (sendmmsg): Rename to __sendmmsg, create weak alias and make
43523 definition of __sendmmsg hidden.
43524 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
43525 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
43526 Move ENOSYS stub into and include it from...
43527 * socket/sendmmsg.c: ... this new file.
43528 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
43529 (sysdep_routines): Move recvmmsg and sendmmsg...
43530 * socket/Makefile (routines): ... here.
43531 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
43532 (GLIBC_PRIVATE): Add __sendmmsg.
43533 * include/sys/socket.h (__sendmmsg): Add declarations.
43534 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
43535 sendmmsg.
43536
43537 2012-11-20 Joseph Myers <joseph@codesourcery.com>
43538
43539 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
43540 variable I1 with __attribute__ ((unused)).
43541 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
43542
43543 2012-11-19 Joseph Myers <joseph@codesourcery.com>
43544
43545 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
43546 DUMMY variables with __attribute__ ((unused)).
43547
43548 * bits/byteswap.h: Include <bits/types.h>.
43549 (__bswap_64): Use __uint64_t instead of unsigned long long int.
43550
43551 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
43552
43553 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
43554 string_t. Do not manually set errno.
43555 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
43556 length with __strnlen. Make sure to both set errno and return it on
43557 failure.
43558
43559 2012-11-19 David S. Miller <davem@davemloft.net>
43560
43561 With help from Joseph Myers.
43562 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
43563 very large arguments properly.
43564 * math/libm-test.inc (atan_test): New tests.
43565 (atan2_test): New tests.
43566 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43567 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43568
43569 2012-11-19 Joseph Myers <joseph@codesourcery.com>
43570
43571 [BZ #14856]
43572 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
43573 Define to 3.
43574
43575 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
43576 [POSIX] (EADDRNOTAVAIL): Likewise.
43577 [POSIX] (EAFNOSUPPORT): Likewise.
43578 [POSIX] (EALREADY): Likewise.
43579 [POSIX] (ECONNABORTED): Likewise.
43580 [POSIX] (ECONNREFUSED): Likewise.
43581 [POSIX] (ECONNRESET): Likewise.
43582 [POSIX] (EDESTADDRREQ): Likewise.
43583 [POSIX] (EDQUOT): Likewise.
43584 [POSIX] (EHOSTUNREACH): Likewise.
43585 [POSIX] (EIDRM): Likewise.
43586 [POSIX] (EISCONN): Likewise.
43587 [POSIX] (ELOOP): Likewise.
43588 [POSIX] (EMULTIHOP): Likewise.
43589 [POSIX] (ENETDOWN): Likewise.
43590 [POSIX] (ENETUNREACH): Likewise.
43591 [POSIX] (ENOBUFS): Likewise.
43592 [POSIX] (ENODATA): Likewise.
43593 [POSIX] (ENOLINK): Likewise.
43594 [POSIX] (ENOMSG): Likewise.
43595 [POSIX] (ENOPROTOOPT): Likewise.
43596 [POSIX] (ENOSR): Likewise.
43597 [POSIX] (ENOSTR): Likewise.
43598 [POSIX] (ENOTCONN): Likewise.
43599 [POSIX] (ENOTSOCK): Likewise.
43600 [POSIX] (EOPNOTSUPP): Likewise.
43601 [POSIX] (EOVERFLOW): Likewise.
43602 [POSIX] (EPROTO): Likewise.
43603 [POSIX] (EPROTONOSUPPORT): Likewise.
43604 [POSIX] (EPROTOTYPE): Likewise.
43605 [POSIX] (ESTALE): Likewise.
43606 [POSIX] (ETIME): Likewise.
43607 [POSIX] (ETXTBSY): Likewise.
43608 [POSIX] (EWOULDBLOCK): Likewise.
43609 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
43610 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
43611 [POSIX] (SEEK_CUR): Likewise.
43612 [POSIX] (SEEK_END): Likewise.
43613 [POSIX || UNIX98] (mode_t): Do not require.
43614 [POSIX] (off_t): Likewise.
43615 [POSIX] (pid_t): Likewise.
43616 [POSIX] (sys/stat.h): Do not allow header.
43617 [POSIX] (unistd.h): Likewise.
43618 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
43619 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
43620 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
43621 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
43622 require.
43623 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
43624 sigevent): Specify elements.
43625 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
43626 entry.
43627 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
43628 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
43629
43630 * conform/data/cpio.h-data [POSIX]: Disable whole file.
43631 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
43632 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
43633 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
43634 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
43635 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
43636 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
43637 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
43638 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
43639 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
43640 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
43641 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
43642 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
43643 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
43644 Likewise.
43645 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
43646 Likewise.
43647 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
43648 Likewise.
43649 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
43650 Likewise.
43651 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
43652 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
43653 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
43654 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
43655 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
43656 Specify lower bound on value.
43657 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
43658 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
43659 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
43660 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
43661 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
43662 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
43663 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
43664 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
43665 value.
43666 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
43667 as optional.
43668 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
43669 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
43670 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
43671 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
43672 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
43673 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
43674 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
43675 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
43676 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
43677 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
43678 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
43679 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
43680 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
43681 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
43682 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
43683 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
43684 entry.
43685 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
43686 optional.
43687 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
43688 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
43689 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
43690 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
43691 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
43692 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
43693 Likewise.
43694 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
43695 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
43696 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
43697 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
43698 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
43699 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
43700 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
43701 as optional.
43702 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
43703 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
43704 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
43705 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
43706 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
43707 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
43708 specify as optional.
43709 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
43710 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
43711 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
43712 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
43713 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
43714 [XPG3] (NL_LANGMAX): Likewise.
43715 [POSIX || XPG3] (NL_MSGMAX): Likewise.
43716 [POSIX || XPG3] (NL_NMAX): Likewise.
43717 [POSIX || XPG3] (NL_SETMAX): Likewise.
43718 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
43719 [XPG3] (NZERO): Likewise.
43720 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
43721 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
43722 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
43723 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
43724 (REG_ERANGE): Expect.
43725 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
43726 optional-constant.
43727 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
43728 Use (void) in prototype.
43729 [POSIX] (*_t): Allow.
43730 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
43731 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
43732 (WRDE_BADVAL): Expect.
43733
43734 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
43735 expect.
43736 [XPG3 || XPG4] (O_RSYNC): Likewise.
43737 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
43738 Likewise.
43739 [XPG3 || XPG4] (pthread_sigmask): Likewise.
43740 [XPG3 || XPG4] (sigqueue): Likewise.
43741 [XPG3 || XPG4] (sigtimedwait): Likewise.
43742 [XPG3 || XPG4] (sigwaitinfo): Likewise.
43743 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
43744 [XPG3 || XPG4] (vsnprintf): Likewise.
43745 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
43746 Likewise.
43747 [XPG3 || XPG4] (blksize_t): Likewise.
43748 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
43749 Likewise.
43750 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
43751 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
43752 [XPG3 || XPG4] (struct itimerspec): Likewise.
43753 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
43754 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
43755 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
43756 [XPG3 || XPG4] (clockid_t): Likewise.
43757 [XPG3 || XPG4] (timer_t): Likewise.
43758 [XPG3 || XPG4] (clock_getres): Likewise.
43759 [XPG3 || XPG4] (clock_gettime): Likewise.
43760 [XPG3 || XPG4] (clock_settime): Likewise.
43761 [XPG3 || XPG4] (nanosleep): Likewise.
43762 [XPG3 || XPG4] (timer_create): Likewise.
43763 [XPG3 || XPG4] (timer_delete): Likewise.
43764 [XPG3 || XPG4] (timer_gettime): Likewise.
43765 [XPG3 || XPG4] (timer_getoverrun): Likewise.
43766 [XPG3 || XPG4] (timer_settime): Likewise.
43767 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
43768 [XPG3 || XPG4] (getlogin_r): Likewise.
43769 [XPG3 || XPG4] (pread): Likewise.
43770 [XPG3 || XPG4] (pthread_atfork): Likewise.
43771 [XPG3 || XPG4] (pwrite): Likewise.
43772
43773 [BZ #14835]
43774 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
43775 <bits/siginfo.h>.
43776
43777 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
43778
43779 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
43780 finalizing MALLSTREAM.
43781
43782 * sysdeps/mach/hurd/syncfs.c: New file.
43783
43784 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
43785
43786 [BZ #14719]
43787 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
43788 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
43789 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
43790 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
43791 (_nss_dns_gethostbyname4_r): Likewise.
43792 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
43793 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
43794
43795 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
43796
43797 [BZ #13763]
43798 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
43799
43800 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
43801
43802 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
43803 * elf/cache.c (print_entry): Print ",AArch64" for
43804 FLAG_AARCH64_LIB64
43805
43806 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
43807 * elf/cache.c (print_entry): Print ",hard-float" for
43808 FLAG_ARM_LIBHF.
43809
43810 2012-11-18 David S. Miller <davem@davemloft.net>
43811
43812 With help from Joseph Myers.
43813 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
43814 cutoff to 2**-13.
43815 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
43816 cutoff to 2**-25.
43817 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
43818 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
43819 small.
43820 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
43821 * math/libm-test.inc (y0_test): New tests.
43822 (y1_test): New tests.
43823 * sysdeps/i386/fpu/libm-test-ulps: Update.
43824 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43825 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43826
43827 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
43828
43829 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
43830 64-bit targets.
43831 * configure: Regenerated.
43832
43833 2012-11-17 David S. Miller <davem@davemloft.net>
43834
43835 [BZ #14811]
43836 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
43837 nonzero exponents with absolute value below 0x1p-128 to +/-
43838 0x1p-128.
43839
43840 2012-11-17 Joseph Myers <joseph@codesourcery.com>
43841
43842 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
43843
43844 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
43845
43846 * posix/getconf-speclist.c: New file.
43847 * posix/posix-envs.def: Likewise.
43848 * posix/confstr.c (START_ENV_GROUP): New macro.
43849 (END_ENV_GROUP): Likewise.
43850 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
43851 (KNOWN_PRESENT_ENV_STRING): Likewise.
43852 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
43853 (UNKNOWN_ENVIRONMENT): Likewise.
43854 (confstr): Include posix-envs.def instead of handling
43855 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
43856 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
43857 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
43858 (END_ENV_GROUP): Likewise.
43859 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
43860 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
43861 (UNKNOWN_ENVIRONMENT): Likewise.
43862 (__sysconf): Include posix-envs.def instead of handling associated
43863 cases directly here.
43864 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
43865 preprocessing getconf-speclist.c rather than running getconf or
43866 generating empty file.
43867
43868 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
43869
43870 * scripts/check-local-headers.sh: Ignore 'mach' headers.
43871
43872 2012-11-16 Andrej Lajovic <natrij@gmail.com>
43873
43874 [BZ #14672]
43875 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
43876
43877 2012-11-16 David S. Miller <davem@davemloft.net>
43878
43879 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
43880 smaller than LDBL_EPSILON/2.0L, just return xm1.
43881
43882 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
43883
43884 * elf/tst-array1.c (init): Set constructor priority to 1000.
43885 (fini): Set destructor priority to 1000.
43886 * elf/tst-array2dep.c: Likewise.
43887
43888 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
43889
43890 [BZ #11741]
43891 * libio/fileops.c (_IO_new_file_write): Correctly return error.
43892 (_IO_new_file_xsputn): Also return EOF if none of the input
43893 data was written when overflow failed.
43894 * libio/iopadn.c (_IO_padn): Likewise.
43895 * libio/iowpadn.c (_IO_wpadn): Likewise.
43896 * stdio-common/tst-put-error.c: Add copyright notice.
43897 (do_test): Add case for printing padded string.
43898 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
43899 _IO_padn returned error.
43900 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
43901 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
43902 return EOF.
43903
43904 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
43905
43906 * libio/libioP.h: Add comment note that the references to C++
43907 bits are now obsolete.
43908
43909 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
43910
43911 * math/libm-test.inc (check_complex): Use asprintf.
43912
43913 2012-11-14 Joseph Myers <joseph@codesourcery.com>
43914
43915 * debug/pcprofiledump.c (print_version): Update copyright year.
43916 * malloc/memusagestat.c (print_version): Likewise.
43917
43918 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
43919
43920 [BZ #14831]
43921 * elf/Makefile (tests): Add tst-audit8.
43922 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
43923 ($(objpfx)tst-audit8.out): New target.
43924 (tst-audit8-ENV): New variable.
43925 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
43926 audit if l_reloc_result is NULL.
43927 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
43928 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
43929 * elf/tst-audit8.c: New file.
43930
43931 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
43932
43933 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
43934 * misc/Makefile (CFLAGS-select.c): Define.
43935 * posix/Makefile (CFLAGS-pause.c): Define.
43936
43937 2012-11-13 David S. Miller <davem@davemloft.net>
43938
43939 * crypt/Makefile: Move test targets after toplevel Rules
43940 inclusion. Grab any necessary sysdep routines when linking.
43941 * crypt/md5.c (md5_process_block): Remove define, we will always
43942 name it __md5_process_block.
43943 (md5_finish_ctx): Update md5_process_block call.
43944 (md5_stream): Likewise.
43945 (md5_process_bytes): Likewise.
43946 (md5_process_block): Rename to __md5_process_block and move to ...
43947 * crypt/md5-block.c: ... here.
43948 * crypt/sha256.c (sha256_process_block): Move to ...
43949 * crypt/sha256-block.c: ... here.
43950 * crypt/sha512.c (sha512_process_block): Move to ...
43951 * crypt/sha512-block.c: ... here.
43952 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
43953 path.
43954 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
43955 * sysdeps/sparc/sparc64/multiarch/Makefile
43956 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
43957 crypt subdir.
43958 (localedef-aux): Add md5 crypto assembler when in locale subdir.
43959 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
43960 multiarch changes.
43961 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
43962 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
43963 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
43964 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
43965 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
43966 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
43967 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
43968 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
43969 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
43970 file.
43971 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
43972 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
43973 file.
43974 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
43975
43976 2012-11-13 Joseph Myers <joseph@codesourcery.com>
43977
43978 * timezone/tzselect.ksh: Update from tzcode git revision
43979 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
43980 * timezone/zdump.c: Likewise.
43981 * timezone/zic.c: Likewise.
43982 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
43983 in TZVERSION setting, not $(PKGVERSION).
43984 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
43985 REPORT_BUGS_TO settings.
43986
43987 [BZ #14838]
43988 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
43989 macro.
43990
43991 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
43992
43993 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
43994 detection to immediately after _FP_ROUND().
43995 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
43996 bits are 0.
43997
43998 2012-11-11 David S. Miller <davem@davemloft.net>
43999
44000 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
44001 inttypes.h
44002 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
44003 __close rather than their public counterparts.
44004
44005 2012-11-10 Joseph Myers <joseph@codesourcery.com>
44006
44007 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
44008 file.
44009 [UNIX98] (sem_timedwait): Do not expect.
44010 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
44011 [XPG4 || UNIX98] (sockatmark): Do not expect.
44012 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
44013 (clock_getcpuclockid): Do not expect.
44014 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
44015 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
44016 Do not expect.
44017 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
44018 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
44019 [UNIX98] (vwscanf): Likewise.
44020 [UNIX98] (vswscanf): Likewise.
44021
44022 2012-11-09 Joseph Myers <joseph@codesourcery.com>
44023
44024 * timezone/version.h: Remove file.
44025 * timezone/README: Do not refer to version.h.
44026 * timezone/Makefile ($(objpfx)zic.o): New dependency on
44027 $(objpfx)version.h.
44028 ($(objpfx)zdump.o): Likewise.
44029 ($(objpfx)version.h): New target.
44030
44031 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
44032 2012i.
44033 * timezone/README: Don't mention modification to tzselect.ksh.
44034 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
44035 work on unmodified tzselect.ksh. Substitute version numbers in
44036 tzselect.ksh.
44037
44038 * Makefile (format-me): Remove.
44039 (INSTALL): Adjust indentation. Use commands directly instead of
44040 using $(format-me).
44041
44042 * aclocal.m4 (ACX_PKGVERSION): New macro.
44043 (ACX_BUGURL): Likewise.
44044 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
44045 (PKGVERSION): New AC_DEFINE_UNQUOTED.
44046 (REPORT_BUGS_TO): Likewise.
44047 * configure: Regenerated.
44048 * config.h.in (PKGVERSION): New macro.
44049 (REPORT_BUGS_TO): Likewise.
44050 * config.make.in (PKGVERSION): New variable.
44051 (PKGVERSION_TEXI): Likewise.
44052 (REPORT_BUGS_TO): Likewise.
44053 (REPORT_BUGS_TEXI): Likewise.
44054 * Makefile (format-me): Use -I$(common-objpfx)manual.
44055 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
44056 ($(common-objpfx)manual/%): New target.
44057 (manual/%): Remove target.
44058 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
44059 (print_version): Use PKGVERSION.
44060 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
44061 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
44062 and REPORT_BUGS_TO.
44063 ($(objpfx)xtrace): Likewise.
44064 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
44065 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
44066 (print_version): Use PKGVERSION.
44067 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
44068 (do_version): Use PKGVERSION.
44069 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
44070 REPORT_BUGS_TO.
44071 (common-ldd-rewrite): Likewise.
44072 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
44073 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
44074 (print_version): Use PKGVERSION.
44075 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
44076 * elf/pldd.c (argp_program_bug_address): Remove variable.
44077 (more_help): New function.
44078 (argp): Use more_help.
44079 (print_version): Use PKGVERSION.
44080 * elf/sln.c (main): Use PKGVERSION.
44081 (usage): Use REPORT_BUGS_TO.
44082 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
44083 (top level): Use PKGVERSION.
44084 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
44085 (print_version): Use PKGVERSION.
44086 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
44087 (print_version): Use PKGVERSION.
44088 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
44089 (print_version): Use PKGVERSION.
44090 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
44091 (print_version): Use PKGVERSION.
44092 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
44093 (print_version): Use PKGVERSION.
44094 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
44095 (print_version): Use PKGVERSION.
44096 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
44097 and BUGURL.
44098 ($(objpfx)memusage): Likewise.
44099 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
44100 (do_version): Use PKGVERSION.
44101 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
44102 (print_version): Use PKGVERSION.
44103 * malloc/mtrace.pl ($PACKAGE): Remove variable.
44104 ($PKGVERSION): New variable.
44105 ($REPORT_BUGS_TO): Likewise.
44106 (usage): Use $REPORT_BUGS_TO.
44107 (top level): Use $PKGVERSION.
44108 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
44109 ($(objpfx)pkgvers.texi): New rule.
44110 ($(objpfx)stamp-pkgvers): Likewise.
44111 * manual/install.texi: Include pkgvers.texi.
44112 (--with-pkgversion): Document new configure option.
44113 (--with-bugurl): Likewise.
44114 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
44115 than necessarily for this particular distribution. Use
44116 REPORT_BUGS_TO for where to report bugs.
44117 * INSTALL: Regenerated.
44118 * manual/libc.texinfo: Include pkgvers.texi.
44119 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
44120 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
44121 (print_version): Use PKGVERSION.
44122 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
44123 (print_version): Use PKGVERSION.
44124 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
44125 (print_version): Use PKGVERSION.
44126 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
44127 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
44128 macro.
44129 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
44130 (print_version): Use PKGVERSION.
44131 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
44132 (print_version): Use PKGVERSION.
44133 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
44134 and PKGVERSION.
44135
44136 * timezone/checktab.awk: Update from tzcode 2012i.
44137 * timezone/ialloc.c: Likewise.
44138 * timezone/private.h: Likewise.
44139 * timezone/scheck.c: Likewise.
44140 * timezone/tzfile.h: Likewise.
44141 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
44142 (TZVERSION): Hardcode tzcode version number.
44143 * timezone/zdump.c: Update from tzcode 2012i.
44144 * timezone/zic.c: Likewise.
44145 * timezone/version.h: New file.
44146 * timezone/README: Describe version.h. Update upstream location.
44147
44148 [BZ #14824]
44149 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
44150 (mktemp): Enable declaration.
44151 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
44152 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
44153 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
44154 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
44155 Likewise.
44156 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
44157 Likewise.
44158 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
44159 Likewise.
44160 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
44161 Likewise.
44162 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
44163 Likewise.
44164 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
44165 Likewise.
44166
44167 [BZ #14821]
44168 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
44169 offset in buffer as u_int32_t not u_long. Consistently use memcpy
44170 for copies of such integer values.
44171 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
44172 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
44173
44174 2012-11-09 Andreas Jaeger <aj@suse.de>
44175
44176 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
44177 definitions and declarations that are provided by
44178 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
44179
44180 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44181
44182 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
44183 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
44184 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
44185 definition.
44186
44187 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
44188
44189 * elf/elf.h: Update comment before AArch64 relocations.
44190
44191 2012-11-07 David S. Miller <davem@davemloft.net>
44192
44193 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
44194 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
44195 (__start_context): Declare.
44196 (__makecontext_ret): Delete.
44197 (__makecontext): Hook up __start_context instead of
44198 __makecontext_ret.
44199 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
44200 (sysdep_routines): Add __start_context when in stdlib.
44201
44202 2012-11-07 Joseph Myers <joseph@codesourcery.com>
44203
44204 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
44205 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
44206 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
44207 hardcoded "nm".
44208 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
44209 (READELF): New variable. Use it instead of hardcoded "readelf".
44210
44211 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
44212
44213 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
44214 * sysdeps/x86/Makefile: Here.
44215 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
44216 * sysdeps/x86/tst-xmmymm.sh: This.
44217
44218 2012-11-07 Joseph Myers <joseph@codesourcery.com>
44219
44220 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
44221 expectations.
44222 [UNIX98] (pthread_barrier_t): Do not expect.
44223 [UNIX98] (pthread_barrierattr_t): Likewise.
44224 [UNIX98] (pthread_spinlock_t): Likewise.
44225 [UNIX98] (pthread_barrier_destroy): Likewise.
44226 [UNIX98] (pthread_barrier_init): Likewise.
44227 [UNIX98] (pthread_barrier_wait): Likewise.
44228 [UNIX98] (pthread_barrierattr_destroy): Likewise.
44229 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
44230 [UNIX98] (pthread_barrierattr_init): Likewise.
44231 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
44232 [UNIX98] (pthread_getcpuclockid): Likewise.
44233 [UNIX98] (pthread_mutex_timedlock): Likewise.
44234 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
44235 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
44236 [UNIX98] (pthread_sigmask): Likewise.
44237 [UNIX98] (pthread_spin_destroy): Likewise.
44238 [UNIX98] (pthread_spin_init): Likewise.
44239 [UNIX98] (pthread_spin_lock): Likewise.
44240 [UNIX98] (pthread_spin_trylock): Likewise.
44241 [UNIX98] (pthread_spin_unlock): Likewise.
44242 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
44243 Do not expect.
44244 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
44245 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
44246 [XPG3 || XPG4] (pthread_cond_t): Likewise.
44247 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
44248 [XPG3 || XPG4] (pthread_key_t): Likewise.
44249 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
44250 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
44251 [XPG3 || XPG4] (pthread_once_t): Likewise.
44252 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
44253 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
44254 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
44255 [XPG3 || XPG4] (pthread_t): Likewise.
44256
44257 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
44258 not expect.
44259 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
44260
44261 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
44262 Change function return type to int.
44263
44264 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
44265 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
44266 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
44267 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
44268 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
44269 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
44270 [!POSIX] (posix_madvise): Likewise.
44271 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
44272 && !UNIX98].
44273 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
44274 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
44275 (mode_t): Likewise.
44276 (posix_mem_offset): Likewise.
44277 (posix_typed_mem_get_info): Likewise.
44278 (posix_typed_mem_open): Likewise.
44279
44280 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
44281 Change condition to [XOPEN2K8].
44282
44283 * conform/conformtest.pl: Preprocess allow-header data with -x c
44284 instead of from stdin.
44285 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
44286 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
44287 [C99-based standards] (cerfc): Likewise.
44288 [C99-based standards] (cexp2): Likewise.
44289 [C99-based standards] (cexpm1): Likewise.
44290 [C99-based standards] (clog10): Likewise.
44291 [C99-based standards] (clog1p): Likewise.
44292 [C99-based standards] (clog2): Likewise.
44293 [C99-based standards] (clgamma): Likewise.
44294 [C99-based standards] (ctgamma): Likewise.
44295 [C99-based standards] (cerff): Likewise.
44296 [C99-based standards] (cerfcf): Likewise.
44297 [C99-based standards] (cexp2f): Likewise.
44298 [C99-based standards] (cexpm1f): Likewise.
44299 [C99-based standards] (clog10f): Likewise.
44300 [C99-based standards] (clog1pf): Likewise.
44301 [C99-based standards] (clog2f): Likewise.
44302 [C99-based standards] (clgammaf): Likewise.
44303 [C99-based standards] (ctgammaf): Likewise.
44304 [C99-based standards] (cerfl): Likewise.
44305 [C99-based standards] (cerfcl): Likewise.
44306 [C99-based standards] (cexp2l): Likewise.
44307 [C99-based standards] (cexpm1l): Likewise.
44308 [C99-based standards] (clog10l): Likewise.
44309 [C99-based standards] (clog1pl): Likewise.
44310 [C99-based standards] (clog2l): Likewise.
44311 [C99-based standards] (clgammal): Likewise.
44312 [C99-based standards] (ctgammal): Likewise.
44313 * conform/data/inttypes.h-data [C99-based standards]: Include
44314 stdint.h-data. Remove all expectations for stdint.h contents.
44315 [C99-based standards] (PRI*): Do not allow.
44316 [C99-based standards] (SCN*): Likewise.
44317 [C99-based standards] (*_t): Likewise.
44318 [C99-based-standards] (PRId8): Expect macro.
44319 [C99-based-standards] (PRIi8): Likewise.
44320 [C99-based-standards] (PRIo8): Likewise.
44321 [C99-based-standards] (PRIu8): Likewise.
44322 [C99-based-standards] (PRIx8): Likewise.
44323 [C99-based-standards] (PRIX8): Likewise.
44324 [C99-based-standards] (SCNd8): Likewise.
44325 [C99-based-standards] (SCNi8): Likewise.
44326 [C99-based-standards] (SCNo8): Likewise.
44327 [C99-based-standards] (SCNu8): Likewise.
44328 [C99-based-standards] (SCNx8): Likewise.
44329 [C99-based-standards] (PRIdLEAST8): Likewise.
44330 [C99-based-standards] (PRIiLEAST8): Likewise.
44331 [C99-based-standards] (PRIoLEAST8): Likewise.
44332 [C99-based-standards] (PRIuLEAST8): Likewise.
44333 [C99-based-standards] (PRIxLEAST8): Likewise.
44334 [C99-based-standards] (PRIXLEAST8): Likewise.
44335 [C99-based-standards] (SCNdLEAST8): Likewise.
44336 [C99-based-standards] (SCNiLEAST8): Likewise.
44337 [C99-based-standards] (SCNoLEAST8): Likewise.
44338 [C99-based-standards] (SCNuLEAST8): Likewise.
44339 [C99-based-standards] (SCNxLEAST8): Likewise.
44340 [C99-based-standards] (PRIdFAST8): Likewise.
44341 [C99-based-standards] (PRIiFAST8): Likewise.
44342 [C99-based-standards] (PRIoFAST8): Likewise.
44343 [C99-based-standards] (PRIuFAST8): Likewise.
44344 [C99-based-standards] (PRIxFAST8): Likewise.
44345 [C99-based-standards] (PRIXFAST8): Likewise.
44346 [C99-based-standards] (SCNdFAST8): Likewise.
44347 [C99-based-standards] (SCNiFAST8): Likewise.
44348 [C99-based-standards] (SCNoFAST8): Likewise.
44349 [C99-based-standards] (SCNuFAST8): Likewise.
44350 [C99-based-standards] (SCNxFAST8): Likewise.
44351 [C99-based-standards] (PRId16): Likewise.
44352 [C99-based-standards] (PRIi16): Likewise.
44353 [C99-based-standards] (PRIo16): Likewise.
44354 [C99-based-standards] (PRIu16): Likewise.
44355 [C99-based-standards] (PRIx16): Likewise.
44356 [C99-based-standards] (PRIX16): Likewise.
44357 [C99-based-standards] (SCNd16): Likewise.
44358 [C99-based-standards] (SCNi16): Likewise.
44359 [C99-based-standards] (SCNo16): Likewise.
44360 [C99-based-standards] (SCNu16): Likewise.
44361 [C99-based-standards] (SCNx16): Likewise.
44362 [C99-based-standards] (PRIdLEAST16): Likewise.
44363 [C99-based-standards] (PRIiLEAST16): Likewise.
44364 [C99-based-standards] (PRIoLEAST16): Likewise.
44365 [C99-based-standards] (PRIuLEAST16): Likewise.
44366 [C99-based-standards] (PRIxLEAST16): Likewise.
44367 [C99-based-standards] (PRIXLEAST16): Likewise.
44368 [C99-based-standards] (SCNdLEAST16): Likewise.
44369 [C99-based-standards] (SCNiLEAST16): Likewise.
44370 [C99-based-standards] (SCNoLEAST16): Likewise.
44371 [C99-based-standards] (SCNuLEAST16): Likewise.
44372 [C99-based-standards] (SCNxLEAST16): Likewise.
44373 [C99-based-standards] (PRIdFAST16): Likewise.
44374 [C99-based-standards] (PRIiFAST16): Likewise.
44375 [C99-based-standards] (PRIoFAST16): Likewise.
44376 [C99-based-standards] (PRIuFAST16): Likewise.
44377 [C99-based-standards] (PRIxFAST16): Likewise.
44378 [C99-based-standards] (PRIXFAST16): Likewise.
44379 [C99-based-standards] (SCNdFAST16): Likewise.
44380 [C99-based-standards] (SCNiFAST16): Likewise.
44381 [C99-based-standards] (SCNoFAST16): Likewise.
44382 [C99-based-standards] (SCNuFAST16): Likewise.
44383 [C99-based-standards] (SCNxFAST16): Likewise.
44384 [C99-based-standards] (PRId32): Likewise.
44385 [C99-based-standards] (PRIi32): Likewise.
44386 [C99-based-standards] (PRIo32): Likewise.
44387 [C99-based-standards] (PRIu32): Likewise.
44388 [C99-based-standards] (PRIx32): Likewise.
44389 [C99-based-standards] (PRIX32): Likewise.
44390 [C99-based-standards] (SCNd32): Likewise.
44391 [C99-based-standards] (SCNi32): Likewise.
44392 [C99-based-standards] (SCNo32): Likewise.
44393 [C99-based-standards] (SCNu32): Likewise.
44394 [C99-based-standards] (SCNx32): Likewise.
44395 [C99-based-standards] (PRIdLEAST32): Likewise.
44396 [C99-based-standards] (PRIiLEAST32): Likewise.
44397 [C99-based-standards] (PRIoLEAST32): Likewise.
44398 [C99-based-standards] (PRIuLEAST32): Likewise.
44399 [C99-based-standards] (PRIxLEAST32): Likewise.
44400 [C99-based-standards] (PRIXLEAST32): Likewise.
44401 [C99-based-standards] (SCNdLEAST32): Likewise.
44402 [C99-based-standards] (SCNiLEAST32): Likewise.
44403 [C99-based-standards] (SCNoLEAST32): Likewise.
44404 [C99-based-standards] (SCNuLEAST32): Likewise.
44405 [C99-based-standards] (SCNxLEAST32): Likewise.
44406 [C99-based-standards] (PRIdFAST32): Likewise.
44407 [C99-based-standards] (PRIiFAST32): Likewise.
44408 [C99-based-standards] (PRIoFAST32): Likewise.
44409 [C99-based-standards] (PRIuFAST32): Likewise.
44410 [C99-based-standards] (PRIxFAST32): Likewise.
44411 [C99-based-standards] (PRIXFAST32): Likewise.
44412 [C99-based-standards] (SCNdFAST32): Likewise.
44413 [C99-based-standards] (SCNiFAST32): Likewise.
44414 [C99-based-standards] (SCNoFAST32): Likewise.
44415 [C99-based-standards] (SCNuFAST32): Likewise.
44416 [C99-based-standards] (SCNxFAST32): Likewise.
44417 [C99-based-standards] (PRId64): Likewise.
44418 [C99-based-standards] (PRIi64): Likewise.
44419 [C99-based-standards] (PRIo64): Likewise.
44420 [C99-based-standards] (PRIu64): Likewise.
44421 [C99-based-standards] (PRIx64): Likewise.
44422 [C99-based-standards] (PRIX64): Likewise.
44423 [C99-based-standards] (SCNd64): Likewise.
44424 [C99-based-standards] (SCNi64): Likewise.
44425 [C99-based-standards] (SCNo64): Likewise.
44426 [C99-based-standards] (SCNu64): Likewise.
44427 [C99-based-standards] (SCNx64): Likewise.
44428 [C99-based-standards] (PRIdLEAST64): Likewise.
44429 [C99-based-standards] (PRIiLEAST64): Likewise.
44430 [C99-based-standards] (PRIoLEAST64): Likewise.
44431 [C99-based-standards] (PRIuLEAST64): Likewise.
44432 [C99-based-standards] (PRIxLEAST64): Likewise.
44433 [C99-based-standards] (PRIXLEAST64): Likewise.
44434 [C99-based-standards] (SCNdLEAST64): Likewise.
44435 [C99-based-standards] (SCNiLEAST64): Likewise.
44436 [C99-based-standards] (SCNoLEAST64): Likewise.
44437 [C99-based-standards] (SCNuLEAST64): Likewise.
44438 [C99-based-standards] (SCNxLEAST64): Likewise.
44439 [C99-based-standards] (PRIdFAST64): Likewise.
44440 [C99-based-standards] (PRIiFAST64): Likewise.
44441 [C99-based-standards] (PRIoFAST64): Likewise.
44442 [C99-based-standards] (PRIuFAST64): Likewise.
44443 [C99-based-standards] (PRIxFAST64): Likewise.
44444 [C99-based-standards] (PRIXFAST64): Likewise.
44445 [C99-based-standards] (SCNdFAST64): Likewise.
44446 [C99-based-standards] (SCNiFAST64): Likewise.
44447 [C99-based-standards] (SCNoFAST64): Likewise.
44448 [C99-based-standards] (SCNuFAST64): Likewise.
44449 [C99-based-standards] (SCNxFAST64): Likewise.
44450 [C99-based-standards] (PRIdMAX): Likewise.
44451 [C99-based-standards] (PRIiMAX): Likewise.
44452 [C99-based-standards] (PRIoMAX): Likewise.
44453 [C99-based-standards] (PRIuMAX): Likewise.
44454 [C99-based-standards] (PRIxMAX): Likewise.
44455 [C99-based-standards] (PRIXMAX): Likewise.
44456 [C99-based-standards] (SCNdMAX): Likewise.
44457 [C99-based-standards] (SCNiMAX): Likewise.
44458 [C99-based-standards] (SCNoMAX): Likewise.
44459 [C99-based-standards] (SCNuMAX): Likewise.
44460 [C99-based-standards] (SCNxMAX): Likewise.
44461 [C99-based-standards] (PRIdPTR): Likewise.
44462 [C99-based-standards] (PRIiPTR): Likewise.
44463 [C99-based-standards] (PRIoPTR): Likewise.
44464 [C99-based-standards] (PRIuPTR): Likewise.
44465 [C99-based-standards] (PRIxPTR): Likewise.
44466 [C99-based-standards] (PRIXPTR): Likewise.
44467 [C99-based-standards] (SCNdPTR): Likewise.
44468 [C99-based-standards] (SCNiPTR): Likewise.
44469 [C99-based-standards] (SCNoPTR): Likewise.
44470 [C99-based-standards] (SCNuPTR): Likewise.
44471 [C99-based-standards] (SCNxPTR): Likewise.
44472 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
44473 allow.
44474 * conform/data/stdint.h-data: Update comments to clarify
44475 requirements.
44476 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
44477 type.
44478 [C99-based standards] (INT8_MAX): Likewise.
44479 [C99-based standards] (INT16_MIN): Likewise.
44480 [C99-based standards] (INT16_MAX): Likewise.
44481 [C99-based standards] (INT32_MIN): Likewise.
44482 [C99-based standards] (INT32_MAX): Likewise.
44483 [C99-based standards] (INT64_MIN): Likewise.
44484 [C99-based standards] (INT64_MAX): Likewise.
44485 [C99-based standards] (UINT8_MAX): Likewise.
44486 [C99-based standards] (UINT16_MAX): Likewise.
44487 [C99-based standards] (UINT32_MAX): Likewise.
44488 [C99-based standards] (UINT64_MAX): Likewise.
44489 [C99-based standards] (INT_LEAST8_MIN): Likewise.
44490 [C99-based standards] (INT_LEAST8_MAX): Likewise.
44491 [C99-based standards] (INT_LEAST16_MIN): Likewise.
44492 [C99-based standards] (INT_LEAST16_MAX): Likewise.
44493 [C99-based standards] (INT_LEAST32_MIN): Likewise.
44494 [C99-based standards] (INT_LEAST32_MAX): Likewise.
44495 [C99-based standards] (INT_LEAST64_MIN): Likewise.
44496 [C99-based standards] (INT_LEAST64_MAX): Likewise.
44497 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
44498 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
44499 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
44500 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
44501 [C99-based standards] (INT_FAST8_MIN): Likewise.
44502 [C99-based standards] (INT_FAST8_MAX): Likewise.
44503 [C99-based standards] (INT_FAST16_MIN): Likewise.
44504 [C99-based standards] (INT_FAST16_MAX): Likewise.
44505 [C99-based standards] (INT_FAST32_MIN): Likewise.
44506 [C99-based standards] (INT_FAST32_MAX): Likewise.
44507 [C99-based standards] (INT_FAST64_MIN): Likewise.
44508 [C99-based standards] (INT_FAST64_MAX): Likewise.
44509 [C99-based standards] (UINT_FAST8_MAX): Likewise.
44510 [C99-based standards] (UINT_FAST16_MAX): Likewise.
44511 [C99-based standards] (UINT_FAST32_MAX): Likewise.
44512 [C99-based standards] (UINT_FAST64_MAX): Likewise.
44513 [C99-based standards] (INTPTR_MIN): Likewise.
44514 [C99-based standards] (INTPTR_MAX): Likewise.
44515 [C99-based standards] (UINTPTR_MAX): Likewise.
44516 [C99-based standards] (INTMAX_MIN): Likewise.
44517 [C99-based standards] (INTMAX_MAX): Likewise.
44518 [C99-based standards] (UINTMAX_MAX): Likewise.
44519 [C99-based standards] (PTRDIFF_MIN): Likewise.
44520 [C99-based standards] (PTRDIFF_MAX): Likewise.
44521 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
44522 [C99-based standards] (SIZE_MAX): Likewise.
44523 [C99-based standards] (WCHAR_MAX): Likewise.
44524 [C99-based standards] (WINT_MAX): Likewise.
44525 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
44526 constraint on value.
44527 [C99-based standards] (WCHAR_MIN): Likewise.
44528 [C99-based standards] (WINT_MIN): Likewise.
44529 [C99-based standards] (*_t): Allow.
44530 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
44531 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
44532 Include math.h-data and complex.h-data. Remove all expectations
44533 of math.h and complex.h contents.
44534 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
44535 at end of line.
44536 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
44537 (struct tm): Expect tag.
44538 [C99-based-standards] (wcstof): Expect function.
44539 [C99-based-standards] (wcstold): Likewise.
44540 [C99-based-standards] (wcstoll): Likewise.
44541 [C99-based-standards] (wcstoull): Likewise.
44542 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
44543 macro-int-constant. Specify type.
44544 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
44545 constraint on value.
44546 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
44547 Specify type.
44548 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
44549 Specify value.
44550 [ISO C standards]: Do not allow headers.
44551 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
44552 wcs[abcdefghijklmnopqrstuvwxyz]*.
44553 [ISO C standards] (*_t): Do not allow.
44554 * conform/data/wctype.h-data [C99-based standards] (iswblank):
44555 Expect function.
44556 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
44557 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
44558 Specify type.
44559 [ISO C standards]: Do not allow headers.
44560 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
44561 is[abcdefghijklmnopqrstuvwxyz]*.
44562 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
44563 to[abcdefghijklmnopqrstuvwxyz]*.
44564 [ISO C standards] (*_t): Do not allow.
44565 * conform/data/stdalign.h-data: New file.
44566 * conform/data/stdbool.h-data: Likewise.
44567 * conform/data/stdnoreturn.h-data: Likewise.
44568
44569 2012-11-07 Roland McGrath <roland@hack.frob.com>
44570
44571 [BZ #14815]
44572 * manual/filesys.texi (Directory Entries): Typo fix.
44573 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
44574
44575 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
44576
44577 * elf/elf.h (EM_AARCH64): New macro.
44578 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
44579 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
44580 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
44581 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
44582 (R_AARCH64_TLSDESC): Likewise.
44583 (NT_ARM_TLS): Likewise.
44584 (NT_ARM_HW_BREAK): Likewise.
44585 (NT_ARM_HW_WATCH): Likewise.
44586
44587 2012-11-07 Joseph Myers <joseph@codesourcery.com>
44588
44589 [BZ #14811]
44590 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
44591 (__ieee754_powl): Saturate nonzero exponents with absolute value
44592 below 0x1p-79 to +/- 0x1p-79.
44593 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
44594 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
44595 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
44596 nonzero exponents with absolute value below 0x1p-32 to +/-
44597 0x1p-32.
44598 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
44599 (__ieee754_powl): Saturate nonzero exponents with absolute value
44600 below 0x1p-79 to +/- 0x1p-79.
44601 * math/libm-test.inc (pow_test): Add more tests.
44602
44603 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44604
44605 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
44606 _dl_s390_cap_flags with kernel. Increase string length.
44607 (_dl_s390_platforms): Add z196 and zEC12.
44608
44609 2012-11-07 Joseph Myers <joseph@codesourcery.com>
44610
44611 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
44612 Change XOPEN21K to XOPEN2K.
44613
44614 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
44615
44616 * string/memmove.c: Use memcpy when possible.
44617
44618 2012-11-06 Andreas Jaeger <aj@suse.de>
44619
44620 * po/eo.po: Update from translation team.
44621
44622 2012-11-06 Joseph Myers <joseph@codesourcery.com>
44623
44624 [BZ #14793]
44625 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
44626 exponent and small x and y exponents, scale x or y up. Increase
44627 by 2 the exponent used in scaling up.
44628 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
44629 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44630 * math/libm-test.inc (fma_test): Add more tests.
44631 (fma_test_towardzero): Likewise.
44632 (fma_test_downward): Likewise.
44633 (fma_test_upward): Likewise.
44634
44635 2012-11-05 Joseph Myers <joseph@codesourcery.com>
44636
44637 [BZ #14805]
44638 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
44639 fenv_t *.
44640
44641 [BZ #14801]
44642 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
44643 namespace for names of struct fields.
44644 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
44645 fenv_t fields.
44646 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
44647 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
44648
44649 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
44650
44651 [BZ #3665]
44652 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
44653
44654 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
44655
44656 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
44657 PTR_DEMANGLE.
44658
44659 [BZ #5246]
44660 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
44661 PTR_DEMANGLE.
44662
44663 2012-11-04 Joseph Myers <joseph@codesourcery.com>
44664
44665 [BZ #14797]
44666 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
44667 definitely overflow as x * y not x * y + z.
44668 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
44669 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44670 * math/libm-test.inc (fma_test): Add more tests.
44671 (fma_test_towardzero): Likewise.
44672 (fma_test_downward): Likewise.
44673 (fma_test_upward): Likewise.
44674
44675 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
44676
44677 [BZ #157]
44678
44679 * include/stub-tag.h: Remove file.
44680 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
44681 '#include' of it.
44682 * manual/maint.texi (Porting): Don't reference it.
44683 * Makerules ($(objpfx)stubs): Likewise.
44684 * dirent/closedir.c: Don't include <stub-tag.h>.
44685 * dirent/dirfd.c: Likewise.
44686 * dirent/fdopendir.c: Likewise.
44687 * dirent/getdents.c: Likewise.
44688 * dirent/getdents64.c: Likewise.
44689 * dirent/opendir.c: Likewise.
44690 * dirent/readdir.c: Likewise.
44691 * dirent/readdir64.c: Likewise.
44692 * dirent/readdir64_r.c: Likewise.
44693 * dirent/readdir_r.c: Likewise.
44694 * dirent/rewinddir.c: Likewise.
44695 * dirent/seekdir.c: Likewise.
44696 * dirent/telldir.c: Likewise.
44697 * gmon/profil.c: Likewise.
44698 * grp/setgroups.c: Likewise.
44699 * inet/if_index.c: Likewise.
44700 * io/access.c: Likewise.
44701 * io/chdir.c: Likewise.
44702 * io/chmod.c: Likewise.
44703 * io/chown.c: Likewise.
44704 * io/close.c: Likewise.
44705 * io/dup.c: Likewise.
44706 * io/dup2.c: Likewise.
44707 * io/dup3.c: Likewise.
44708 * io/euidaccess.c: Likewise.
44709 * io/faccessat.c: Likewise.
44710 * io/fchdir.c: Likewise.
44711 * io/fchmod.c: Likewise.
44712 * io/fchmodat.c: Likewise.
44713 * io/fchown.c: Likewise.
44714 * io/fchownat.c: Likewise.
44715 * io/fcntl.c: Likewise.
44716 * io/flock.c: Likewise.
44717 * io/fstatfs.c: Likewise.
44718 * io/fstatfs64.c: Likewise.
44719 * io/fstatvfs.c: Likewise.
44720 * io/fstatvfs64.c: Likewise.
44721 * io/futimens.c: Likewise.
44722 * io/fxstat.c: Likewise.
44723 * io/fxstat64.c: Likewise.
44724 * io/fxstatat.c: Likewise.
44725 * io/fxstatat64.c: Likewise.
44726 * io/getcwd.c: Likewise.
44727 * io/isatty.c: Likewise.
44728 * io/lchmod.c: Likewise.
44729 * io/lchown.c: Likewise.
44730 * io/link.c: Likewise.
44731 * io/linkat.c: Likewise.
44732 * io/lseek.c: Likewise.
44733 * io/lseek64.c: Likewise.
44734 * io/lxstat64.c: Likewise.
44735 * io/mkdir.c: Likewise.
44736 * io/mkdirat.c: Likewise.
44737 * io/mkfifo.c: Likewise.
44738 * io/mkfifoat.c: Likewise.
44739 * io/open.c: Likewise.
44740 * io/open64.c: Likewise.
44741 * io/openat.c: Likewise.
44742 * io/openat64.c: Likewise.
44743 * io/pipe.c: Likewise.
44744 * io/pipe2.c: Likewise.
44745 * io/poll.c: Likewise.
44746 * io/posix_fadvise.c: Likewise.
44747 * io/posix_fadvise64.c: Likewise.
44748 * io/posix_fallocate.c: Likewise.
44749 * io/posix_fallocate64.c: Likewise.
44750 * io/read.c: Likewise.
44751 * io/readlink.c: Likewise.
44752 * io/readlinkat.c: Likewise.
44753 * io/rmdir.c: Likewise.
44754 * io/sendfile.c: Likewise.
44755 * io/sendfile64.c: Likewise.
44756 * io/statfs.c: Likewise.
44757 * io/statfs64.c: Likewise.
44758 * io/statvfs.c: Likewise.
44759 * io/statvfs64.c: Likewise.
44760 * io/symlink.c: Likewise.
44761 * io/symlinkat.c: Likewise.
44762 * io/ttyname.c: Likewise.
44763 * io/ttyname_r.c: Likewise.
44764 * io/umask.c: Likewise.
44765 * io/unlink.c: Likewise.
44766 * io/unlinkat.c: Likewise.
44767 * io/utime.c: Likewise.
44768 * io/utimensat.c: Likewise.
44769 * io/write.c: Likewise.
44770 * io/xmknod.c: Likewise.
44771 * io/xmknodat.c: Likewise.
44772 * io/xstat.c: Likewise.
44773 * io/xstat64.c: Likewise.
44774 * login/getpt.c: Likewise.
44775 * login/grantpt.c: Likewise.
44776 * login/unlockpt.c: Likewise.
44777 * math/e_acoshl.c: Likewise.
44778 * math/e_acosl.c: Likewise.
44779 * math/e_asinl.c: Likewise.
44780 * math/e_atan2l.c: Likewise.
44781 * math/e_atanhl.c: Likewise.
44782 * math/e_coshl.c: Likewise.
44783 * math/e_expl.c: Likewise.
44784 * math/e_fmodl.c: Likewise.
44785 * math/e_gammal_r.c: Likewise.
44786 * math/e_hypotl.c: Likewise.
44787 * math/e_j0l.c: Likewise.
44788 * math/e_j1l.c: Likewise.
44789 * math/e_jnl.c: Likewise.
44790 * math/e_lgammal_r.c: Likewise.
44791 * math/e_log10l.c: Likewise.
44792 * math/e_log2l.c: Likewise.
44793 * math/e_logl.c: Likewise.
44794 * math/e_powl.c: Likewise.
44795 * math/e_rem_pio2l.c: Likewise.
44796 * math/e_sinhl.c: Likewise.
44797 * math/e_sqrtl.c: Likewise.
44798 * math/fclrexcpt.c: Likewise.
44799 * math/fedisblxcpt.c: Likewise.
44800 * math/feenablxcpt.c: Likewise.
44801 * math/fegetenv.c: Likewise.
44802 * math/fegetexcept.c: Likewise.
44803 * math/fegetround.c: Likewise.
44804 * math/feholdexcpt.c: Likewise.
44805 * math/fesetenv.c: Likewise.
44806 * math/fesetround.c: Likewise.
44807 * math/feupdateenv.c: Likewise.
44808 * math/fgetexcptflg.c: Likewise.
44809 * math/fraiseexcpt.c: Likewise.
44810 * math/fsetexcptflg.c: Likewise.
44811 * math/ftestexcept.c: Likewise.
44812 * math/k_cosl.c: Likewise.
44813 * math/k_rem_pio2l.c: Likewise.
44814 * math/k_sinl.c: Likewise.
44815 * math/k_tanl.c: Likewise.
44816 * math/s_asinhl.c: Likewise.
44817 * math/s_atanl.c: Likewise.
44818 * math/s_cbrtl.c: Likewise.
44819 * math/s_erfl.c: Likewise.
44820 * math/s_expm1l.c: Likewise.
44821 * math/s_log1pl.c: Likewise.
44822 * math/s_tanhl.c: Likewise.
44823 * misc/acct.c: Likewise.
44824 * misc/brk.c: Likewise.
44825 * misc/chflags.c: Likewise.
44826 * misc/chroot.c: Likewise.
44827 * misc/fchflags.c: Likewise.
44828 * misc/fgetxattr.c: Likewise.
44829 * misc/flistxattr.c: Likewise.
44830 * misc/fremovexattr.c: Likewise.
44831 * misc/fsetxattr.c: Likewise.
44832 * misc/fsync.c: Likewise.
44833 * misc/ftruncate.c: Likewise.
44834 * misc/futimes.c: Likewise.
44835 * misc/futimesat.c: Likewise.
44836 * misc/getdomain.c: Likewise.
44837 * misc/getdtsz.c: Likewise.
44838 * misc/gethostid.c: Likewise.
44839 * misc/gethostname.c: Likewise.
44840 * misc/getloadavg.c: Likewise.
44841 * misc/getpagesize.c: Likewise.
44842 * misc/getsysstats.c: Likewise.
44843 * misc/getxattr.c: Likewise.
44844 * misc/gtty.c: Likewise.
44845 * misc/ioctl.c: Likewise.
44846 * misc/lgetxattr.c: Likewise.
44847 * misc/listxattr.c: Likewise.
44848 * misc/llistxattr.c: Likewise.
44849 * misc/lremovexattr.c: Likewise.
44850 * misc/lsetxattr.c: Likewise.
44851 * misc/lutimes.c: Likewise.
44852 * misc/madvise.c: Likewise.
44853 * misc/mincore.c: Likewise.
44854 * misc/mlock.c: Likewise.
44855 * misc/mlockall.c: Likewise.
44856 * misc/mmap.c: Likewise.
44857 * misc/mprotect.c: Likewise.
44858 * misc/msync.c: Likewise.
44859 * misc/munlock.c: Likewise.
44860 * misc/munlockall.c: Likewise.
44861 * misc/munmap.c: Likewise.
44862 * misc/preadv.c: Likewise.
44863 * misc/preadv64.c: Likewise.
44864 * misc/ptrace.c: Likewise.
44865 * misc/pwritev.c: Likewise.
44866 * misc/pwritev64.c: Likewise.
44867 * misc/readv.c: Likewise.
44868 * misc/reboot.c: Likewise.
44869 * misc/remap_file_pages.c: Likewise.
44870 * misc/removexattr.c: Likewise.
44871 * misc/revoke.c: Likewise.
44872 * misc/select.c: Likewise.
44873 * misc/setdomain.c: Likewise.
44874 * misc/setegid.c: Likewise.
44875 * misc/seteuid.c: Likewise.
44876 * misc/sethostid.c: Likewise.
44877 * misc/sethostname.c: Likewise.
44878 * misc/setregid.c: Likewise.
44879 * misc/setreuid.c: Likewise.
44880 * misc/setxattr.c: Likewise.
44881 * misc/sstk.c: Likewise.
44882 * misc/stty.c: Likewise.
44883 * misc/swapoff.c: Likewise.
44884 * misc/swapon.c: Likewise.
44885 * misc/sync.c: Likewise.
44886 * misc/syncfs.c: Likewise.
44887 * misc/syscall.c: Likewise.
44888 * misc/truncate.c: Likewise.
44889 * misc/ualarm.c: Likewise.
44890 * misc/usleep.c: Likewise.
44891 * misc/ustat.c: Likewise.
44892 * misc/utimes.c: Likewise.
44893 * misc/vhangup.c: Likewise.
44894 * misc/writev.c: Likewise.
44895 * posix/_exit.c: Likewise.
44896 * posix/alarm.c: Likewise.
44897 * posix/execve.c: Likewise.
44898 * posix/fexecve.c: Likewise.
44899 * posix/fork.c: Likewise.
44900 * posix/fpathconf.c: Likewise.
44901 * posix/getaddrinfo.c: Likewise.
44902 * posix/getegid.c: Likewise.
44903 * posix/geteuid.c: Likewise.
44904 * posix/getgid.c: Likewise.
44905 * posix/getgroups.c: Likewise.
44906 * posix/getlogin.c: Likewise.
44907 * posix/getlogin_r.c: Likewise.
44908 * posix/getpgid.c: Likewise.
44909 * posix/getpid.c: Likewise.
44910 * posix/getppid.c: Likewise.
44911 * posix/getresgid.c: Likewise.
44912 * posix/getresuid.c: Likewise.
44913 * posix/getsid.c: Likewise.
44914 * posix/getuid.c: Likewise.
44915 * posix/glob64.c: Likewise.
44916 * posix/nanosleep.c: Likewise.
44917 * posix/pathconf.c: Likewise.
44918 * posix/pause.c: Likewise.
44919 * posix/posix_madvise.c: Likewise.
44920 * posix/pread.c: Likewise.
44921 * posix/pread64.c: Likewise.
44922 * posix/pwrite.c: Likewise.
44923 * posix/pwrite64.c: Likewise.
44924 * posix/sched_getaffinity.c: Likewise.
44925 * posix/sched_getp.c: Likewise.
44926 * posix/sched_gets.c: Likewise.
44927 * posix/sched_primax.c: Likewise.
44928 * posix/sched_primin.c: Likewise.
44929 * posix/sched_rr_gi.c: Likewise.
44930 * posix/sched_setaffinity.c: Likewise.
44931 * posix/sched_setp.c: Likewise.
44932 * posix/sched_sets.c: Likewise.
44933 * posix/sched_yield.c: Likewise.
44934 * posix/setgid.c: Likewise.
44935 * posix/setlogin.c: Likewise.
44936 * posix/setpgid.c: Likewise.
44937 * posix/setresgid.c: Likewise.
44938 * posix/setresuid.c: Likewise.
44939 * posix/setsid.c: Likewise.
44940 * posix/setuid.c: Likewise.
44941 * posix/sleep.c: Likewise.
44942 * posix/spawni.c: Likewise.
44943 * posix/sysconf.c: Likewise.
44944 * posix/times.c: Likewise.
44945 * posix/wait.c: Likewise.
44946 * posix/wait3.c: Likewise.
44947 * posix/wait4.c: Likewise.
44948 * posix/waitpid.c: Likewise.
44949 * resolv/gai_sigqueue.c: Likewise.
44950 * resource/getpriority.c: Likewise.
44951 * resource/getrlimit.c: Likewise.
44952 * resource/getrusage.c: Likewise.
44953 * resource/nice.c: Likewise.
44954 * resource/setpriority.c: Likewise.
44955 * resource/setrlimit.c: Likewise.
44956 * resource/ulimit.c: Likewise.
44957 * rt/aio_cancel.c: Likewise.
44958 * rt/aio_fsync.c: Likewise.
44959 * rt/aio_read.c: Likewise.
44960 * rt/aio_sigqueue.c: Likewise.
44961 * rt/aio_suspend.c: Likewise.
44962 * rt/aio_write.c: Likewise.
44963 * rt/clock_getres.c: Likewise.
44964 * rt/clock_gettime.c: Likewise.
44965 * rt/clock_nanosleep.c: Likewise.
44966 * rt/clock_settime.c: Likewise.
44967 * rt/lio_listio.c: Likewise.
44968 * rt/mq_close.c: Likewise.
44969 * rt/mq_getattr.c: Likewise.
44970 * rt/mq_notify.c: Likewise.
44971 * rt/mq_open.c: Likewise.
44972 * rt/mq_receive.c: Likewise.
44973 * rt/mq_send.c: Likewise.
44974 * rt/mq_setattr.c: Likewise.
44975 * rt/mq_timedreceive.c: Likewise.
44976 * rt/mq_timedsend.c: Likewise.
44977 * rt/mq_unlink.c: Likewise.
44978 * rt/shm_open.c: Likewise.
44979 * rt/shm_unlink.c: Likewise.
44980 * rt/timer_create.c: Likewise.
44981 * rt/timer_delete.c: Likewise.
44982 * rt/timer_getoverr.c: Likewise.
44983 * rt/timer_gettime.c: Likewise.
44984 * rt/timer_settime.c: Likewise.
44985 * setjmp/__longjmp.c: Likewise.
44986 * setjmp/setjmp.c: Likewise.
44987 * signal/kill.c: Likewise.
44988 * signal/killpg.c: Likewise.
44989 * signal/raise.c: Likewise.
44990 * signal/sigaction.c: Likewise.
44991 * signal/sigaltstack.c: Likewise.
44992 * signal/sigblock.c: Likewise.
44993 * signal/sigignore.c: Likewise.
44994 * signal/sigintr.c: Likewise.
44995 * signal/signal.c: Likewise.
44996 * signal/sigpause.c: Likewise.
44997 * signal/sigpending.c: Likewise.
44998 * signal/sigqueue.c: Likewise.
44999 * signal/sigreturn.c: Likewise.
45000 * signal/sigset.c: Likewise.
45001 * signal/sigsetmask.c: Likewise.
45002 * signal/sigstack.c: Likewise.
45003 * signal/sigsuspend.c: Likewise.
45004 * signal/sigtimedwait.c: Likewise.
45005 * signal/sigvec.c: Likewise.
45006 * signal/sigwait.c: Likewise.
45007 * signal/sigwaitinfo.c: Likewise.
45008 * signal/sysv_signal.c: Likewise.
45009 * socket/accept.c: Likewise.
45010 * socket/accept4.c: Likewise.
45011 * socket/bind.c: Likewise.
45012 * socket/connect.c: Likewise.
45013 * socket/getpeername.c: Likewise.
45014 * socket/getsockname.c: Likewise.
45015 * socket/getsockopt.c: Likewise.
45016 * socket/isfdtype.c: Likewise.
45017 * socket/listen.c: Likewise.
45018 * socket/recv.c: Likewise.
45019 * socket/recvfrom.c: Likewise.
45020 * socket/recvmsg.c: Likewise.
45021 * socket/send.c: Likewise.
45022 * socket/sendmsg.c: Likewise.
45023 * socket/sendto.c: Likewise.
45024 * socket/setsockopt.c: Likewise.
45025 * socket/shutdown.c: Likewise.
45026 * socket/sockatmark.c: Likewise.
45027 * socket/socket.c: Likewise.
45028 * socket/socketpair.c: Likewise.
45029 * stdio-common/ctermid.c: Likewise.
45030 * stdio-common/cuserid.c: Likewise.
45031 * stdio-common/remove.c: Likewise.
45032 * stdio-common/rename.c: Likewise.
45033 * stdio-common/renameat.c: Likewise.
45034 * stdio-common/tempname.c: Likewise.
45035 * stdlib/getcontext.c: Likewise.
45036 * stdlib/makecontext.c: Likewise.
45037 * stdlib/setcontext.c: Likewise.
45038 * stdlib/swapcontext.c: Likewise.
45039 * stdlib/system.c: Likewise.
45040 * streams/fattach.c: Likewise.
45041 * streams/fdetach.c: Likewise.
45042 * streams/getmsg.c: Likewise.
45043 * streams/getpmsg.c: Likewise.
45044 * streams/putmsg.c: Likewise.
45045 * streams/putpmsg.c: Likewise.
45046 * sysdeps/unix/bsd/getpt.c: Likewise.
45047 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
45048 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
45049 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
45050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
45051 Likewise.
45052 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
45053 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
45054 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
45055 * sysvipc/msgctl.c: Likewise.
45056 * sysvipc/msgget.c: Likewise.
45057 * sysvipc/msgrcv.c: Likewise.
45058 * sysvipc/msgsnd.c: Likewise.
45059 * sysvipc/semctl.c: Likewise.
45060 * sysvipc/semget.c: Likewise.
45061 * sysvipc/semop.c: Likewise.
45062 * sysvipc/semtimedop.c: Likewise.
45063 * sysvipc/shmat.c: Likewise.
45064 * sysvipc/shmctl.c: Likewise.
45065 * sysvipc/shmdt.c: Likewise.
45066 * sysvipc/shmget.c: Likewise.
45067 * termios/tcdrain.c: Likewise.
45068 * termios/tcflow.c: Likewise.
45069 * termios/tcflush.c: Likewise.
45070 * termios/tcgetattr.c: Likewise.
45071 * termios/tcgetpgrp.c: Likewise.
45072 * termios/tcsendbrk.c: Likewise.
45073 * termios/tcsetattr.c: Likewise.
45074 * termios/tcsetpgrp.c: Likewise.
45075 * time/adjtime.c: Likewise.
45076 * time/clock.c: Likewise.
45077 * time/getitimer.c: Likewise.
45078 * time/gettimeofday.c: Likewise.
45079 * time/setitimer.c: Likewise.
45080 * time/settimeofday.c: Likewise.
45081 * time/stime.c: Likewise.
45082 * time/time.c: Likewise.
45083
45084 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
45085
45086 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
45087 /usr/old/bin.
45088
45089 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
45090 instead of spaces.
45091 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
45092
45093 2012-11-03 Joseph Myers <joseph@codesourcery.com>
45094
45095 [BZ #14796]
45096 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
45097 FE_TONEAREST before applying Dekker multiplication and Knuth
45098 addition. Clear inexact exceptions and check for exact zero
45099 results afterwards.
45100 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
45101 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
45102 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
45103 * math/libm-test.inc (fma_test): Add more tests.
45104 (fma_test_towardzero): Likewise.
45105 (fma_test_downward): Likewise.
45106 (fma_test_upward): Likewise.
45107 * sysdeps/generic/math_private.h (default_libc_fesetround): New
45108 function.
45109 (libc_fesetround): New macro.
45110 (libc_fesetroundf): Likewise.
45111 (libc_fesetroundl): Likewise.
45112 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
45113 function.
45114 (libc_fesetround_387): Likewise.
45115 (libc_fesetroundf): New macro.
45116 (libc_fesetround): Likewise.
45117 (libc_fesetroundl): Likewise.
45118 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
45119 function.
45120 (libc_fesetroundf): New macro.
45121 (libc_fesetround): Likewise.
45122 (libc_fesetroundl): Likewise.
45123 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
45124 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
45125 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
45126 libm_hidden_ver.
45127 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
45128 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
45129 libm_hidden_def.
45130 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
45131 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
45132 libm_hidden_ver.
45133 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
45134 libm_hidden_def.
45135
45136 [BZ #3439]
45137 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
45138 integer constant usable in #if and use that to give value to enum
45139 constant.
45140 (FE_DIVBYZERO): Likewise.
45141 (FE_UNDERFLOW): Likewise.
45142 (FE_OVERFLOW): Likewise.
45143 (FE_INVALID): Likewise.
45144 (FE_INVALID_SNAN): Likewise.
45145 (FE_INVALID_ISI): Likewise.
45146 (FE_INVALID_IDI): Likewise.
45147 (FE_INVALID_ZDZ): Likewise.
45148 (FE_INVALID_IMZ): Likewise.
45149 (FE_INVALID_COMPARE): Likewise.
45150 (FE_INVALID_SOFTWARE): Likewise.
45151 (FE_INVALID_SQRT): Likewise.
45152 (FE_INVALID_INTEGER_CONVERSION): Likewise.
45153 (FE_TONEAREST): Likewise.
45154 (FE_TOWARDZERO): Likewise.
45155 (FE_UPWARD): Likewise.
45156 (FE_DOWNWARD): Likewise.
45157 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
45158 (FE_DIVBYZERO): Likewise.
45159 (FE_OVERFLOW): Likewise.
45160 (FE_UNDERFLOW): Likewise.
45161 (FE_INEXACT): Likewise.
45162 (FE_TONEAREST): Likewise.
45163 (FE_DOWNWARD): Likewise.
45164 (FE_UPWARD): Likewise.
45165 (FE_TOWARDZERO): Likewise.
45166 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
45167 (FE_UNDERFLOW): Likewise.
45168 (FE_OVERFLOW): Likewise.
45169 (FE_DIVBYZERO): Likewise.
45170 (FE_INVALID): Likewise.
45171 (FE_TONEAREST): Likewise.
45172 (FE_TOWARDZERO): Likewise.
45173 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
45174 (FE_OVERFLOW): Likewise.
45175 (FE_UNDERFLOW): Likewise.
45176 (FE_DIVBYZERO): Likewise.
45177 (FE_INEXACT): Likewise.
45178 (FE_TONEAREST): Likewise.
45179 (FE_TOWARDZERO): Likewise.
45180 (FE_UPWARD): Likewise.
45181 (FE_DOWNWARD): Likewise.
45182 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
45183 (FE_DIVBYZERO): Likewise.
45184 (FE_OVERFLOW): Likewise.
45185 (FE_UNDERFLOW): Likewise.
45186 (FE_INEXACT): Likewise.
45187 (FE_TONEAREST): Likewise.
45188 (FE_DOWNWARD): Likewise.
45189 (FE_UPWARD): Likewise.
45190 (FE_TOWARDZERO): Likewise.
45191
45192 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
45193
45194 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
45195
45196 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
45197
45198 * scripts/cross-test-ssh.sh (command): Use newlines to separate
45199 commands. Quote $PWD.
45200 (blacklist_exports): Don't use remove_newlines. Replace "declare
45201 -x" by "export".
45202 (remove_newlines): Remove.
45203
45204 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
45205
45206 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
45207 * stdlib/stdlib.h (atof): Moved to ...
45208 * include/bits/stdlib-float.h: Here. New file.
45209 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
45210 * stdlib/bits/stdlib-float.h: New file.
45211 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
45212 -mno-sse -mno-mmx.
45213 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
45214 <xmmintrin.h>.
45215
45216 2012-11-02 Joseph Myers <joseph@codesourcery.com>
45217
45218 * conform/conformtest.pl (@headers): Add fenv.h.
45219 * conform/data/fenv.h-data: New file.
45220 * include/fenv.h [_ISOMAC]: Disable all contents of file except
45221 include of <math/fenv.h>.
45222
45223 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
45224 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
45225 && !UNIX98]. Enables tests for XOPEN2K8.
45226 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
45227 POSIX2008]: Likewise.
45228
45229 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
45230 (struct rusage): Do not expect type or its members.
45231
45232 [BZ #3439]
45233 * math/math.h (FP_NAN): Define macro to integer constant usable in
45234 #if and use that to give value to enum constant.
45235 (FP_INFINITE): Likewise.
45236 (FP_ZERO): Likewise.
45237 (FP_SUBNORMAL): Likewise.
45238 (FP_NORMAL): Likewise.
45239
45240 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
45241
45242 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
45243 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
45244 arguments.
45245
45246 2012-11-02 Roland McGrath <roland@hack.frob.com>
45247
45248 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
45249 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
45250 autoconf-time if not.
45251 * configure.in: Remove AC_PREREQ.
45252
45253 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
45254
45255 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
45256 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
45257 of the internal implementation.
45258
45259 2012-11-02 Joseph Myers <joseph@codesourcery.com>
45260
45261 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
45262 except include of <misc/sys/syslog.h>.
45263
45264 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
45265
45266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
45267 function returns with a NULL context exit with zero.
45268
45269 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
45270
45271 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
45272
45273 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
45274
45275 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
45276 (run_program_cmd): This.
45277 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
45278 (tst_langinfo): New variable. Use it.
45279
45280 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
45281
45282 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
45283 floating point opcodes.
45284
45285 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
45286
45287 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
45288 variable.
45289
45290 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
45291
45292 * sysdeps/mach/hurd/powerpc: Remove directory.
45293 * sysdeps/mach/powerpc: Likewise.
45294
45295 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
45296
45297 * scripts/check-local-headers.sh: Ignore c++ headers.
45298
45299 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
45300
45301 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
45302 __libc_cleanup_region_start argument.
45303
45304 2012-11-01 Joseph Myers <joseph@codesourcery.com>
45305
45306 [BZ #14784]
45307 [BZ #14785]
45308 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
45309 x * y using scaling, not as x * y + z.
45310 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
45311 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
45312 * math/libm-test.inc (fma_test): Add more tests.
45313 (fma_test_towardzero): Likewise.
45314 (fma_test_downward): Likewise.
45315 (fma_test_upward): Likewise.
45316
45317 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
45318
45319 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
45320
45321 2012-10-31 Joseph Myers <joseph@codesourcery.com>
45322
45323 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
45324 New variable.
45325
45326 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
45327
45328 * rt/tst-shm.c (worker): Correct checking for mmap failure.
45329
45330 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
45331
45332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45333 Fix sort order.
45334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
45335 Likewise.
45336
45337 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
45338
45339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45340 Fix the order of the list for glibc 2.17.
45341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
45342 Likewise.
45343
45344 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
45345
45346 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45347
45348 2012-10-31 Joseph Myers <joseph@codesourcery.com>
45349
45350 [BZ #14610]
45351 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
45352 for low part of x being zero before using __atanl (y).
45353 * math/libm-test.inc (atan2_test): Add another test.
45354
45355 * manual/install.texi (Configuring and compiling): Document
45356 general use of test-wrapper and test-wrapper-env.
45357 * INSTALL: Regenerated.
45358
45359 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
45360 (__fma): Do not extract and scale down low bits on after-rounding
45361 systems when result rounded to normal precision would have normal
45362 exponent.
45363 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
45364 (__fmal): Do not extract and scale down low bits on after-rounding
45365 systems when result rounded to normal precision would have normal
45366 exponent.
45367 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
45368 (__fmal): Do not extract and scale down low bits on after-rounding
45369 systems when result rounded to normal precision would have normal
45370 exponent.
45371 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
45372 macro.
45373 (fma_test): Add more tests.
45374 (fma_test_towardzero): Likewise.
45375 (fma_test_downward): Likewise.
45376 (fma_test_upward): Likewise.
45377
45378 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
45379
45380 * sysdeps/i386/tininess.h: Renamed to ...
45381 * sysdeps/x86/tininess.h: This.
45382 * sysdeps/x86_64/tininess.h: Removed.
45383
45384 2012-10-30 Joseph Myers <joseph@codesourcery.com>
45385
45386 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
45387 input. Use $(build-program-cmd).
45388 ($(objpfx)tst-array1-static.out): Likewise.
45389 ($(objpfx)tst-array2.out): Likewise.
45390 ($(objpfx)tst-array3.out): Likewise.
45391 ($(objpfx)tst-array4.out): Likewise.
45392 ($(objpfx)tst-array5.out): Likewise.
45393 ($(objpfx)tst-array5-static.out): Likewise.
45394
45395 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
45396
45397 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
45398 if defined.
45399
45400 * nss/nsswitch.h (nss_interface_function): Provide new
45401 macro for use with NSS functions.
45402 * grp/initgroups.c: Use new macro.
45403 * nss/getXXbyYY.c: Likewise.
45404 * nss/getXXbyYY_r.c: Likewise.
45405 * nss/getXXent.c: Likewise.
45406 * nss/getXXent_r.c: Likewise.
45407 * sysdeps/posix/getaddrinfo.c: Likewise.
45408
45409 2012-10-30 Andreas Jaeger <aj@suse.de>
45410
45411 * po/ru.po: Update Russion translation from translation project.
45412
45413 2012-10-30 Joseph Myers <joseph@codesourcery.com>
45414
45415 [BZ #14152]
45416 [BZ #14783]
45417 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
45418 result and shift together with sticky bit instead of replicating
45419 round-to-nearest rounding.
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. Do not permit
45423 missing underflow exceptions.
45424 (fma_test_towardzero): Add more tests.
45425 (fma_test_downward): Likewise.
45426 (fma_test_upward): Likewise.
45427
45428 [BZ #14047]
45429 * sysdeps/generic/tininess.h: New file.
45430 * sysdeps/i386/tininess.h: Likewise.
45431 * sysdeps/sh/tininess.h: Likewise.
45432 * sysdeps/x86_64/tininess.h: Likewise.
45433 * stdlib/tst-strtod-underflow.c: Likewise.
45434 * stdlib/tst-tininess.c: Likewise.
45435 * stdlib/strtod_l.c: Include <tininess.h>.
45436 (round_and_return): Do not set errno for exact underflow cases.
45437 Force an underflow exception when setting errno for underflow.
45438 Determine underflow based on rounding to normal precision if
45439 TININESS_AFTER_ROUNDING.
45440 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
45441 ERANGE for exact underflow cases.
45442 * stdlib/Makefile (tests): Add tst-tininess and
45443 tst-strtod-underflow.
45444 ($(objpfx)tst-tininess): Use $(link-libm).
45445 ($(objpfx)tst-strtod-underflow): Likewise.
45446
45447 2012-10-30 Andreas Jaeger <aj@suse.de>
45448
45449 [BZ#14767]
45450 * elf/Makefile (tests): Remove conditional for have-initfini-array
45451 since this is now always required and the variable does not exist
45452 anymore.
45453 (tests-static): Likewise.
45454 (modules-names): Likewise.
45455
45456 * po/eo.po: Add Esperanto translation from translation project.
45457
45458 * elf/tst-array1.c (fini_array): Make writeable so that it can be
45459 merged with constructor/destructor.
45460 (init_array): Likewise.
45461 * elf/tst-array2dep.c (fini_array): Likewise.
45462 (init_array): Likewise.
45463
45464 2012-10-29 Mike Frysinger <vapier@gentoo.org>
45465
45466 * manual/message.texi: Delete @cartouche tags.
45467
45468 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
45469
45470 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
45471 EOPNOTSUPP.
45472 * sysdeps/mach/hurd/fsync.c: Likewise.
45473
45474 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
45475 [_POSIX_REALTIME_SIGNALS]: Change condition to
45476 [_POSIX_REALTIME_SIGNALS > 0].
45477
45478 2012-10-27 Andreas Jaeger <aj@suse.de>
45479
45480 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
45481 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
45482 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
45483 [__WORDSIZE != 64]: Likewise.
45484
45485 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
45486
45487 * iconvdata/tst-table.sh: Remove ${SHELL}.
45488 * iconvdata/tst-tables.sh: Likewise.
45489
45490 2012-10-25 David S. Miller <davem@davemloft.net>
45491
45492 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
45493 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
45494 of strtoull.
45495
45496 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
45497 ifunc-impl-list.c
45498 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45499 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
45500 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
45501 file.
45502
45503 2012-10-25 Roland McGrath <roland@hack.frob.com>
45504
45505 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
45506 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
45507 __getdirentries.
45508
45509 2012-10-25 Joseph Myers <joseph@codesourcery.com>
45510 Jim Blandy <jimb@codesourcery.com>
45511
45512 * scripts/cross-test-ssh.sh: New file.
45513 * manual/install.texi (Configuring and compiling): Document use of
45514 cross-test-ssh.sh.
45515 * INSTALL: Regenerated.
45516
45517 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
45518
45519 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
45520 EOPNOTSUPP.
45521
45522 2012-10-25 Joseph Myers <joseph@codesourcery.com>
45523
45524 * Makeconfig (run-program-prefix): Fix comment.
45525
45526 2012-10-24 Joseph Myers <joseph@codesourcery.com>
45527 Jim Blandy <jimb@codesourcery.com>
45528
45529 * Makeconfig (test-wrapper): New variable,
45530 (test-wrapper-env): Likewise.
45531 [$(cross-compiling) = yes && $(test-wrapper) != ""]
45532 (run-built-tests): Define to yes.
45533 (run-program-prefix): Use $(test-wrapper).
45534 (built-program-cmd): Likewise.
45535 * Rules (make-test-out): Use $(test-wrapper-env) and
45536 $(host-built-program-cmd).
45537 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
45538 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
45539 tst-pathopt.sh.
45540 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
45541 $(test-wrapper-env) to tst-rtld-load-self.sh.
45542 ($(objpfx)order2.out): Use $(test-wrapper).
45543 ($(objpfx)tst-initorder.out): Likewise.
45544 ($(objpfx)tst-initorder2.out): Likewise.
45545 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
45546 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
45547 (test_wrapper_env): New variable. Use it to run ld.so.
45548 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
45549 Use it to run ld.so.
45550 (test_wrapper_env): Likewise.
45551 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
45552 $(test-wrapper) to run-iconv-test.sh.
45553 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
45554 (ICONV): Use $test_wrapper.
45555 * posix/Makefile ($(objpfx)globtest.out): Pass
45556 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
45557 globtest.sh, not $(run-program-prefix).
45558 * posix/globtest.sh (run_via_rtld_prefix): New variable.
45559 (test_wrapper): Likewise.
45560 (test_wrapper_env): Likewise. Use it to run globtest with HOME
45561 set together with run_via_rtld_prefix.
45562 (run_program_prefix): Define in terms of test_wrapper and
45563 run_via_rtld_prefix.
45564
45565 2012-10-24 Roland McGrath <roland@hack.frob.com>
45566
45567 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
45568 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
45569 Targets removed.
45570
45571 [BZ #14743]
45572 * include/time.h: Remove librt_hidden_proto (clock_gettime).
45573 Declare __clock_getres, __clock_gettime, __clock_settime,
45574 __clock_nanosleep, and __clock_getcpuclockid.
45575 * rt/clock_gettime.c: Define __clock_gettime as an alias.
45576 Remove librt_hidden_def (clock_gettime).
45577 * sysdeps/unix/clock_gettime.c: Likewise.
45578 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
45579 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
45580 * rt/clock_getres.c: Define __clock_getres as an alias.
45581 * sysdeps/posix/clock_getres.c: Likewise.
45582 * rt/clock_settime.c: Define __clock_settime as an alias.
45583 * sysdeps/unix/clock_settime.c: Likewise.
45584 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
45585 * sysdeps/unix/clock_nanosleep.c: Likewise.
45586 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
45587 * rt/clock-compat.c: New file.
45588 * rt/Makefile (librt-routines): Add clock-compat and move
45589 $(clock-routines) to ...
45590 (routines): ... here, new variable.
45591 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
45592 Don't add get_clockfreq here.
45593 * rt/Versions (libc: GLIBC_2.17): New version set.
45594 Add clock_* symbols here.
45595 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
45596 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
45597 (GLIBC_2.17): Add clock_* symbols.
45598 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
45599 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
45600 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
45601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
45602 Likewise.
45603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45604 Likewise.
45605 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
45606 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
45607 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
45608 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
45609 * NEWS: Mention the move.
45610
45611 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
45612 Use __open, __read, __close rather than their public counterparts.
45613 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
45614 (__get_clockfreq_via_cpuinfo): Likewise.
45615 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
45616 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
45617
45618 * config.h.in (HAVE_IFUNC): New #undef.
45619 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
45620 was successful.
45621 * configure: Regenerated.
45622
45623 2012-10-24 Mike Frysinger <vapier@gentoo.org>
45624
45625 * configure.in: Move READELF check to start of file.
45626 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
45627 libc_cv_asm_gnu_indirect_function in the process.
45628 * configure: Regenerated.
45629
45630 2012-10-24 Mike Frysinger <vapier@gentoo.org>
45631
45632 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
45633 send the output to /dev/null.
45634 (libc_cv_cc_with_libunwind): Likewise.
45635 (libc_cv_as_noexecstack): Likewise.
45636 * configure: Regenerate.
45637
45638 2012-10-24 Joseph Myers <joseph@codesourcery.com>
45639
45640 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
45641
45642 * posix/globtest.sh (TMPDIR): Do not set.
45643 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
45644 (testout): Likewise.
45645
45646 2012-10-24 Andreas Jaeger <aj@suse.de>
45647
45648 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
45649 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
45650 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
45651 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
45652 posix_fadvise64, posix_fallocate64.
45653
45654 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
45655 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
45656 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
45657 Likewise.
45658 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
45659 Likewise.
45660 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
45661
45662 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
45663 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
45664 <bits/fcntl-linux.h>.
45665 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
45666
45667 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
45668 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
45669 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
45670 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
45671 [__WORDSIZE != 64]: Likewise.
45672
45673 2012-10-23 Joseph Myers <joseph@codesourcery.com>
45674
45675 * Makeconfig (run-built-tests): New variable.
45676 * Rules [$(cross-compiling) = yes]: Change condition to
45677 [$(run-built-tests) = no].
45678 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
45679 to [$(run-built-tests) = yes].
45680 * elf/Makefile [$(cross-compiling) = no]: Likewise
45681 * grp/Makefile [$(cross-compiling) = no]: Likewise.
45682 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
45683 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
45684 * intl/Makefile [$(cross-compiling) = no]: Likewise.
45685 * io/Makefile [$(cross-compiling) = no]: Likewise.
45686 * libio/Makefile [$(cross-compiling) = no]: Likewise.
45687 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
45688 * misc/Makefile [$(cross-compiling) = no]: Likewise.
45689 * posix/Makefile [$(cross-compiling) = no]: Likewise.
45690 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
45691 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
45692 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
45693 * string/Makefile [$(cross-compiling) = no]: Likewise.
45694
45695 * posix/Makefile ($(objpfx)globtest.out): Pass
45696 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
45697 $(rtld-installed-name).
45698 * posix/globtest.sh (elf_objpfx): Remove variable.
45699 (rtld_installed_name): Likewise.
45700 (library_path): Likewise.
45701 (run_program_prefix): New variable. Use for running globtest
45702 binary.
45703
45704 2012-10-23 Jim Blandy <jimb@codesourcery.com>
45705 Joseph Myers <joseph@codesourcery.com>
45706
45707 * Makeconfig (host-built-program-cmd): New variable.
45708 * elf/Makefile (tst-stackguard1-ARGS): Use
45709 $(host-built-program-cmd).
45710 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
45711 (tst-spawn-ARGS): Likewise.
45712 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
45713
45714 2012-10-23 Joseph Myers <joseph@codesourcery.com>
45715 Jim Blandy <jimb@codesourcery.com>
45716
45717 * Makeconfig (run-via-rtld-prefix): New variable.
45718 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
45719 (built-program-cmd): Likewise.
45720
45721 2012-10-22 Andreas Jaeger <aj@suse.de>
45722
45723 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
45724 __O_RSYNC if it exists, otherwise to O_SYNC.
45725
45726 2012-10-22 Jim Blandy <jimb@codesourcery.com>
45727 Joseph Myers <joseph@codesourcery.com>
45728
45729 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
45730 /dev/null.
45731 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
45732 from /dev/null
45733 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
45734 /dev/null.
45735
45736 2012-10-22 Andreas Jaeger <aj@suse.de>
45737
45738 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
45739 Define always.
45740 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
45741
45742 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45743 bits/fcntl-linux.h.
45744
45745 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
45746 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
45747
45748 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
45749 to __O_LARGEFILE.
45750 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
45751 to __O_LARGEFILE.
45752
45753 2012-10-21 Jim Blandy <jimb@codesourcery.com>
45754 Joseph Myers <joseph@codesourcery.com>
45755
45756 * config.make.in (NM): New variable.
45757
45758 2012-10-21 Andreas Jaeger <aj@suse.de>
45759
45760 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
45761 definitions and declarations that are provided by
45762 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
45763
45764 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
45765
45766 [BZ #14683]
45767 * elf/Makefile (tests-static): Add tst-leaks1-static.
45768 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
45769 ($(objpfx)tst-leaks1-static): New rule.
45770 ($(objpfx)tst-leaks1-static-mem): Likewise.
45771 (tst-leaks1-static-ENV): New macro.
45772 * elf/dl-open.c (dl_open_worker): Check the main application
45773 only if SHARED is defined.
45774 * elf/tst-leaks1-static.c: New file.
45775
45776 2012-10-20 Andreas Jaeger <aj@suse.de>
45777
45778 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
45779 generic values for Linux.
45780 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
45781 and declarations that are provided by <bits/fcntl-linux.h> and
45782 include <bits/fcntl-linux.h>.
45783 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45784 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45785
45786 2012-10-20 Roland McGrath <roland@hack.frob.com>
45787
45788 * io/fcntl.h: Move include of <bits/types.h> to the top and
45789 include it unconditionally.
45790
45791 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
45792
45793 * wcsmbs/Makefile (tests-ifunc): New variable.
45794 (tests): Add $(tests-ifunc).
45795 * wcsmbs/test-wcschr-ifunc.c: New file.
45796 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
45797 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
45798 * wcsmbs/test-wcslen-ifunc.c: Likewise.
45799 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
45800 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
45801
45802 * string/Makefile (tests-ifunc): New variable.
45803 (tests): Add $(tests-ifunc).
45804 * string/test-memccpy.c (TEST_NAME): New macro.
45805 * string/test-memchr.c (TEST_NAME): Likewise.
45806 * string/test-memcmp.c (TEST_NAME): Likewise.
45807 * string/test-memcpy.c (TEST_NAME): Likewise.
45808 * string/test-memmem.c (TEST_NAME): Likewise.
45809 * string/test-memmove.c (TEST_NAME): Likewise.
45810 * string/test-memset.c (TEST_NAME): Likewise.
45811 * string/test-rawmemchr.c (TEST_NAME): Likewise.
45812 * string/test-stpcpy.c (TEST_NAME): Likewise.
45813 * string/test-stpncpy.c (TEST_NAME): Likewise.
45814 * string/test-strcasecmp.c (TEST_NAME): Likewise.
45815 * string/test-strcasestr.c (TEST_NAME): Likewise.
45816 * string/test-strcat.c (TEST_NAME): Likewise.
45817 * string/test-strchr.c (TEST_NAME): Likewise.
45818 * string/test-strcmp.c(TEST_NAME): Likewise.
45819 * string/test-strcpy.c (TEST_NAME): Likewise.
45820 * string/test-strcspn.c (TEST_NAME): Likewise.
45821 * string/test-strlen.c (TEST_NAME): Likewise.
45822 * string/test-strncasecmp.c (TEST_NAME): Likewise.
45823 * string/test-strncmp.c (TEST_NAME): Likewise.
45824 * string/test-strncpy.c (TEST_NAME): Likewise.
45825 * string/test-strnlen.c (TEST_NAME): Likewise.
45826 * string/test-strpbrk.c (TEST_NAME): Likewise.
45827 * string/test-strrchr.c (TEST_NAME): Likewise.
45828 * string/test-strspn.c (TEST_NAME): Likewise.
45829 * string/test-strstr.c (TEST_NAME): Likewise.
45830 * string/test-bcopy-ifunc.c: New file.
45831 * string/test-bzero-ifunc.c: Likewise.
45832 * string/test-memccpy-ifunc.c: Likewise.
45833 * string/test-memchr-ifunc.c: Likewise.
45834 * string/test-memcmp-ifunc.c: Likewise.
45835 * string/test-memcpy-ifunc.c: Likewise.
45836 * string/test-memmem-ifunc.c: Likewise.
45837 * string/test-memmove-ifunc.c: Likewise.
45838 * string/test-mempcpy-ifunc.c: Likewise.
45839 * string/test-memset-ifunc.c: Likewise.
45840 * string/test-rawmemchr-ifunc.c: Likewise.
45841 * string/test-stpcpy-ifunc.c: Likewise.
45842 * string/test-stpncpy-ifunc.c: Likewise.
45843 * string/test-strcasecmp-ifunc.c: Likewise.
45844 * string/test-strcasestr-ifunc.c: Likewise.
45845 * string/test-strcat-ifunc.c: Likewise.
45846 * string/test-strchr-ifunc.c: Likewise.
45847 * string/test-strchrnul-ifunc.c: Likewise.
45848 * string/test-strcmp-ifunc.c: Likewise.
45849 * string/test-strcpy-ifunc.c: Likewise.
45850 * string/test-strcspn-ifunc.c: Likewise.
45851 * string/test-strlen-ifunc.c: Likewise.
45852 * string/test-strncasecmp-ifunc.c: Likewise.
45853 * string/test-strncat-ifunc.c: Likewise.
45854 * string/test-strncmp-ifunc.c: Likewise.
45855 * string/test-strncpy-ifunc.c: Likewise.
45856 * string/test-strnlen-ifunc.c: Likewise.
45857 * string/test-strpbrk-ifunc.c: Likewise.
45858 * string/test-strrchr-ifunc.c: Likewise.
45859 * string/test-strspn-ifunc.c: Likewise.
45860 * string/test-strstr-ifunc.c: Likewise.
45861
45862 * debug/Makefile (tests-ifunc): New variable.
45863 (tests): Add $(tests-ifunc).
45864 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
45865 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
45866 * debug/test-stpcpy_chk-ifunc.c: New file.
45867 * debug/test-strcpy_chk-ifunc.c: Likewise.
45868
45869 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
45870
45871 [BZ #13601]
45872 * elf/dl-load.c (open_verify): Retry read if the entire ELF
45873 header is not read in.
45874
45875 2012-10-19 Joseph Myers <joseph@codesourcery.com>
45876
45877 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
45878 script to $(SHELL) as $<. Pass $(common-objpfx) to script
45879 directly. Pass built executable to script as
45880 $(built-program-cmd).
45881 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
45882 $testprogram without using LD_LIBRARY_PATH and $ldso.
45883
45884 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
45885 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
45886 $(rtld-installed-name).
45887 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
45888 (rtld_installed_name): Likewise.
45889 (library_path): Likewise.
45890 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
45891 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
45892 $(run-program-prefix) to tst-tables.sh.
45893 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
45894 it to run tst-table-from and tst-table-to.
45895 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
45896 Pass it to tst-table.sh.
45897 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
45898 $(run-program-prefix) to tst-gettext.sh.
45899 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
45900 tst-translit.sh.
45901 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
45902 tst-gettext2.sh.
45903 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
45904 to run tst-gettext.
45905 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
45906 to run tst-gettext2.
45907 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
45908 to run tst-translit.
45909 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
45910 $(run-program-prefix) to tst-mtrace.sh.
45911 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
45912 to run tst-mtrace.
45913 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
45914 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
45915 $(rtld-installed-name).
45916 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
45917 (rtld_installed_name): Likewise.
45918 (run_program_prefix): New variable. Use it to run wordexp-test.
45919
45920 * Makeconfig (ARCH): Remove all definitions.
45921 (machine): Likewise.
45922 [ARCH]: Remove conditional code.
45923 [!objdir]: Give error.
45924 [!objdir] (objpfx): Remove.
45925 [!objdir] (common-objpfx): Likewise.
45926 [!objdir] (common-objdir): Likewise.
45927 * configure.in (config_makefile): Remove. Hardcode Makefile in
45928 AC_CONFIG_FILES call.
45929 * configure: Regenerated.
45930
45931 [BZ #13888]
45932 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
45933 or TMPDIR.
45934 (testout): Likewise.
45935
45936 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
45937 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
45938 $(rtld-installed-name).
45939 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
45940 (rtld_installed_name): Likwise.
45941 (runit): Remove function.
45942 (run_getconf): New variable, Use it for running getconf binary.
45943
45944 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
45945
45946 [BZ #14716]
45947 * string/test-memmem.c (check_result): New function.
45948 (do_one_test): Use it.
45949 (check1): New function.
45950 (test_main): Use it.
45951
45952 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
45953
45954 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
45955
45956 2012-10-18 Joseph Myers <joseph@codesourcery.com>
45957
45958 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
45959 (_G_LSEEK64): Likewise.
45960 (_G_MMAP64): Likewise.
45961 (_G_FSTAT64): Likewise.
45962 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
45963 (_G_LSEEK64): Likewise.
45964 (_G_MMAP64): Likewise.
45965 (_G_FSTAT64): Likewise.
45966 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
45967 unconditional. Call __mmap64 directly.
45968 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
45969 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
45970 __lseek64 directly.
45971 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
45972 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
45973 __mmap64 directly.
45974 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
45975 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
45976 __lseek64 directly.
45977 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
45978 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
45979 __lseek64 directly.
45980 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
45981 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
45982 __lseek64 directly.
45983 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
45984 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
45985 __fxstat64 directly.
45986 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
45987 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
45988 unconditional.
45989 (freopen64) [!_G_OPEN64]: Remove conditional code.
45990 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
45991 unconditional.
45992 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
45993 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
45994 unconditional.
45995 (ftello64) [!_G_LSEEK64]: Remove conditional code.
45996 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
45997 unconditional.
45998 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
45999 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
46000 unconditional.
46001 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
46002 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
46003 unconditional.
46004 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
46005 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
46006 unconditional.
46007 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
46008 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
46009 unconditional.
46010 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
46011
46012 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
46013
46014 [BZ #12140]
46015 * manual/memory.texi (Malloc Tunable Parameters): Add note
46016 about free list pointers overwriting some perturb bytes.
46017 Wording suggested by Roland McGrath.
46018
46019 2012-10-17 Joseph Myers <joseph@codesourcery.com>
46020
46021 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
46022 (lgamma_test): Likewise.
46023 (tgamma_test): Likewise.
46024
46025 2012-10-16 Florian Weimer <fweimer@redhat.com>
46026
46027 [BZ #14700]
46028 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
46029 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
46030
46031 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
46032
46033 * NEWS: Mention BZ #14716.
46034 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
46035 when removing AVAILABLE1_USES_J macro.
46036
46037 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
46038
46039 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
46040 (__bswap_64): __uint64_t for unsigned 64-bit int.
46041
46042 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
46043
46044 * include/string.h (memmem): Declare libc hidden alias.
46045 * string/memmem.c (memmem): Define libc hidden alias.
46046 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
46047 __read, __close instead of open, read, close.
46048
46049 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
46050
46051 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
46052 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
46053 global and hidden.
46054 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
46055 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
46056 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
46057 Likewise.
46058 (__rawmemchr_sse2): Likewise.
46059 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
46060 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
46061 (__strchr_sse2): Likewise.
46062 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
46063 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
46064 (__strcasecmp_sse2): Likewise.
46065 (__strncasecmp_sse2): Likewise.
46066 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
46067 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
46068 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
46069 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
46070 (__strrchr_sse2): Likewise.
46071 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
46072 ifunc-impl-list.c.
46073 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
46074 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
46075 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
46076 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
46077 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
46078 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
46079 * sysdeps/x86_64/multiarch/memset.S: Likewise.
46080 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
46081 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
46082 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
46083 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
46084 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
46085 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
46086 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
46087 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
46088 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
46089 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
46090 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
46091 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
46092 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
46093 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
46094 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
46095 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
46096 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
46097 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
46098 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
46099 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
46100 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
46101 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
46102 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
46103
46104 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
46105 global and hidden.
46106 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
46107 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
46108 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
46109 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
46110 Likewise.
46111 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
46112 Likewise.
46113 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
46114 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
46115 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
46116 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
46117 ifunc-impl-list.c.
46118 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
46119 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
46120 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
46121 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
46122 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
46123 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
46124 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
46125 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
46126 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
46127 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
46128 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
46129 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
46130 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
46131 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
46132 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
46133 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
46134 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
46135 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
46136 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
46137 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
46138 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
46139 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
46140 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
46141 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
46142 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
46143 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
46144 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
46145 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
46146 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
46147 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
46148 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
46149 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
46150 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
46151 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
46152 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
46153 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
46154 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
46155 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
46156 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
46157 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
46158 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
46159
46160 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
46161 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
46162 * include/ifunc-impl-list.h: New file.
46163 * misc/ifunc-impl-list.c: Likewise.
46164 * misc/Makefile (routines): Add ifunc-impl-list.
46165 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
46166 * string/test-string.h: Include <ifunc-impl-list.h>.
46167 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
46168 TEST_NAME]: New variables.
46169 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
46170 are defined.
46171 (test_init): Call __libc_ifunc_impl_list to initialize
46172 func_list if TEST_IFUNC and TEST_NAME are defined.
46173
46174 * string/Makefile (strop-tests): Add bcopy and bzero.
46175 * string/test-bcopy.c: New file.
46176 * string/test-bzero.c: Likewise.
46177 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
46178 defined.
46179 * string/test-memset.c: Support bzero test if TEST_BZERO is
46180 defined.
46181 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
46182 __libc_memmove.
46183 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
46184 __libc_memset.
46185 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
46186 of memset.
46187
46188 2012-10-10 Joseph Myers <joseph@codesourcery.com>
46189
46190 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
46191 * configure: Regenerated.
46192
46193 * Makeconfig (+link-static-before-libc): Don't include
46194 $(link-static-libc).
46195
46196 * libio/libio.h (_IO_pos_t): Remove.
46197
46198 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
46199
46200 * NEWS: Add note about FIPS mode. Wording suggested by Roland
46201 McGrath.
46202
46203 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
46204
46205 * crypt/crypt-entry.c: Include fips-private.h.
46206 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
46207 * crypt/md5c-test.c (main): Tolerate disabled MD5.
46208 * sysdeps/unix/sysv/linux/fips-private.h: New file.
46209 * sysdeps/generic/fips-private.h: New file, dummy fallback.
46210
46211 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
46212
46213 * crypt/crypt-private.h: Include stdbool.h.
46214 (_ufc_setup_salt_r): Return bool.
46215 * crypt/crypt-entry.c: Include errno.h.
46216 (__crypt_r): Return NULL with EINVAL for bad salt.
46217 * crypt/crypt_util.c (bad_for_salt): New.
46218 (_ufc_setup_salt_r): Check that salt is long enough and within
46219 the specified alphabet.
46220 * crypt/badsalttest.c: New file.
46221 * crypt/Makefile (tests): Add it.
46222 ($(objpfx)badsalttest): New.
46223
46224 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
46225
46226 * NEWS: Add entry for BZ #14602.
46227
46228 2012-10-09 Joseph Myers <joseph@codesourcery.com>
46229
46230 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
46231 type-generic.
46232 * math/libm-test.inc: Update comment listing what functions and
46233 macros are tested.
46234 (isgreater_test): New function.
46235 (isgreaterequal_test): Likewise.
46236 (isless_test): Likewise.
46237 (islessequal_test): Likewise.
46238 (islessgreater_test): Likewise.
46239 (isunordered_test): Likewise.
46240 (main): Call the new functions.
46241
46242 2012-10-09 Roland McGrath <roland@hack.frob.com>
46243
46244 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
46245 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
46246 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
46247 * sysdeps/i386/configure: Regenerated.
46248 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
46249 * sysdeps/mach/configure: Regenerated.
46250 * sysdeps/mach/hurd/configure: Regenerated.
46251 * sysdeps/powerpc/configure: Regenerated.
46252 * sysdeps/powerpc/powerpc32/configure: Regenerated.
46253 * sysdeps/powerpc/powerpc64/configure: Regenerated.
46254 * sysdeps/s390/s390-32/configure: Regenerated.
46255 * sysdeps/s390/s390-64/configure: Regenerated.
46256 * sysdeps/sh/configure: Regenerated.
46257 * sysdeps/sparc/configure: Regenerated.
46258 * sysdeps/unix/sysv/linux/configure: Regenerated.
46259 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
46260 * sysdeps/x86_64/configure: Regenerated.
46261
46262 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
46263 defined. Don't check if MAP is NULL.
46264
46265 2012-10-09 Joseph Myers <joseph@codesourcery.com>
46266
46267 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
46268 (_G_stat64): Likewise.
46269 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
46270 (_G_stat64): Likewise.
46271 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
46272 instead of struct _G_stat64.
46273 * libio/fileops.c (mmap_remap_check): Likewise.
46274 (decide_maybe_mmap): Likewise.
46275 (_IO_new_file_seekoff): Likewise.
46276 (_IO_file_stat): Likewise.
46277 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
46278 _G_off64_t.
46279 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
46280 instead of struct _G_stat64.
46281 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
46282
46283 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
46284
46285 [BZ #14602]
46286 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
46287 Replace with ...
46288 (CHECK_EOL): New macro.
46289 (two_way_short_needle): Check beginning of haystack for EOL. Use
46290 CHECK_EOL.
46291 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
46292 Replace with CHECK_EOL.
46293 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
46294 Replace with CHECK_EOL.
46295
46296 2012-10-08 Joseph Myers <joseph@codesourcery.com>
46297
46298 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
46299 type-generic.
46300 * math/libm-test.inc: Update comment listing what functions and
46301 macros are tested.
46302 (finite_test): New function.
46303 (isinf_test): Likewise.
46304 (isnan_test): Likewise.
46305 (fpclassify_test): Test subnormal input.
46306 (isfinite_test): Likewise.
46307 (isnormal_test): Likewise.
46308 (main): Call the new functions.
46309
46310 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
46311
46312 [BZ #14660]
46313 * Makerules (%.dynsym): Force C locale when running
46314 $(OBJDUMP) --dynamic-syms.
46315
46316 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
46317
46318 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
46319 <stdint.h>.
46320
46321 2012-10-06 David S. Miller <davem@davemloft.net>
46322
46323 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
46324 upper 32-bits of the length value in %o2 since we use branch-on-register
46325 tests which consider the entire 64-bit register.
46326
46327 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
46328
46329 * string/test-strstr.c (check2): Add a test for page boundary.
46330
46331 2012-10-05 David S. Miller <davem@davemloft.net>
46332
46333 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
46334 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
46335 file.
46336 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
46337 sysdep_routines.
46338 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
46339 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
46340 and bzero when HWCAP_SPARC_CRYPTO is present.
46341
46342 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
46343
46344 [BZ #14602]
46345 * string/test-strstr.c (check2): New function.
46346 (test_main): Call check2.
46347
46348 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
46349 and bug-strchr1.
46350 * string/bug-strcasestr1.c (do_test): Moved to ...
46351 * string/test-strcasestr.c (check1): Here. New function.
46352 (do_one_test): Break out result checking code into ...
46353 (check_result): This. New function.
46354 (do_one_test): Call check_result.
46355 (test_main): Call check1.
46356 * string/bug-strchr1.c (do_test): Moved to ...
46357 * string/test-strchr.c (check1): Here. New function.
46358 (do_one_test): Break out result checking code into ...
46359 (check_result): This. New function.
46360 (do_one_test): Call check_result.
46361 (test_main): Call check1.
46362 * string/bug-strstr1.c (main): Moved to ...
46363 * string/test-strstr.c (check1): Here. New function.
46364 (do_one_test): Break out result checking code into ...
46365 (check_result): This. New function.
46366 (do_one_test): Call check_result.
46367 (test_main): Call check1.
46368 * string/bug-strcasestr1.c: Removed.
46369 * string/bug-strchr1.c: Likewise.
46370 * string/bug-strstr1.c: Likewise.
46371
46372 * elf/Makefile (dl-routines): Add hwcaps.
46373 * elf/dl-support.c (_dl_important_hwcaps): Removed.
46374 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
46375 (_dl_important_hwcaps): Moved to ...
46376 * elf/dl-hwcaps.c: Here. New file.
46377 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
46378
46379 [BZ #14557]
46380 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
46381 if IS_IN_rtld isn't defined.
46382
46383 * elf/dl-support.c (_dl_sysinfo_map): New.
46384 Include "get-dynamic-info.h" and "setup-vdso.h".
46385 (_dl_non_dynamic_init): Call setup_vdso.
46386 * elf/dynamic-link.h: Don't include <assert.h>.
46387 (elf_get_dynamic_info): Moved to ...
46388 * elf/get-dynamic-info.h: Here. New file.
46389 * elf/dynamic-link.h: Include "get-dynamic-info.h".
46390 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
46391 * elf/setup-vdso.h: Here. New file.
46392 * elf/rtld.c: Include "setup-vdso.h".
46393 (dl_main): Call setup_vdso.
46394
46395 2012-10-05 Joseph Myers <joseph@codesourcery.com>
46396
46397 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
46398 creal in comment listing functions tested. List finite, isinf,
46399 isnan, isless, islessequal, isgreater, isgreaterequal,
46400 islessgreater, isunordered, lgamma_r and pow10 as functions and
46401 macros not tested. Mention which functions not tested are aliases
46402 for other functions. Fix typo. Note that signs of NaNs are not
46403 tested.
46404
46405 * scripts/config.guess: Update from config.git.
46406 * scripts/config.sub: Likewise.
46407
46408 2012-10-04 Roland McGrath <roland@hack.frob.com>
46409
46410 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
46411 * misc/madvise.c (madvise): Renamed to __madvise.
46412 Make madvise a weak alias.
46413 * include/sys/mman.h: Declare __madvise.
46414 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
46415 * sysdeps/unix/syscalls.list
46416 (madvise): Make __madvise the strong name, and madvise a weak alias.
46417 * sysdeps/unix/sysv/linux/syscalls.list
46418 (madvise, mmap): Remove redundant entries.
46419 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
46420 * malloc/malloc.c (mtrim): Likewise.
46421 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
46422
46423 2012-10-03 Roland McGrath <roland@hack.frob.com>
46424
46425 * sysdeps/mach/hurd/dl-cache.c: File removed.
46426 * config.h.in (USE_LDCONFIG): New #undef.
46427 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
46428 * configure: Regenerated.
46429 * elf/Makefile (dl-routines): Add dl-cache only under
46430 [$(use-ldconfig) = yes].
46431 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
46432 cache on [USE_LDCONFIG].
46433 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
46434 [USE_LDCONFIG].
46435 * elf/rtld.c (dl_main): Likewise.
46436
46437 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
46438
46439 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
46440 _SC_LEVEL4_CACHE_LINESIZE.
46441
46442 2012-10-03 Roland McGrath <roland@hack.frob.com>
46443
46444 * sysdeps/unix/bsd/confstr.h: File removed.
46445
46446 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
46447
46448 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
46449 sys/sdt-config.h.
46450
46451 2012-10-02 Roland McGrath <roland@hack.frob.com>
46452
46453 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
46454 Make 'mapoff' field ElfW(Off) rather than off_t.
46455
46456 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
46457
46458 * nscd/Makefile: Remove nscd-cflags and all its users.
46459 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
46460 (CFLAGS-nonlib): Add compiler flags for nscd modules.
46461
46462 [BZ #10631]
46463 * malloc.c (malloc_printerr): Clarify error message.
46464
46465 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
46466
46467 [BZ #14648]
46468 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46469 Set bit_FMA_Usable if FMA is supported.
46470 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
46471 macro.
46472 (bit_FMA4_Usable): Updated.
46473 (index_FMA_Usable): New macro.
46474 (CPUID_FMA): Likewise
46475 (HAS_FMA): Defined with bit_FMA_Usable.
46476
46477 2012-10-01 Roland McGrath <roland@hack.frob.com>
46478
46479 * bits/types.h (__swblk_t): Type removed.
46480 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
46481 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
46482 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46483 (__SWBLK_T_TYPE): Likewise.
46484 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
46485 (__SWBLK_T_TYPE): Likewise.
46486 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46487 (__SWBLK_T_TYPE): Likewise.
46488 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
46489 (__SWBLK_T_TYPE): Likewise.
46490
46491 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
46492 Honza Horak <hhorak@redhat.com>
46493
46494 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
46495 (xdr_mapname): Use YPMAXMAP as maxsize.
46496 (xdr_peername): Use YPMAXPEER as maxsize.
46497 (xdr_keydat): Use YPAXRECORD as maxsize.
46498 (xdr_valdat): Use YPMAXRECORD as maxsize.
46499
46500 2012-10-01 Roland McGrath <roland@hack.frob.com>
46501
46502 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
46503
46504 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
46505 * csu/init-first.c: ... here.
46506 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
46507 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
46508 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
46509 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
46510 * sysdeps/i386/init-first.c: File removed.
46511 * sysdeps/sh/init-first.c: File removed.
46512
46513 2012-10-01 Joseph Myers <joseph@codesourcery.com>
46514
46515 [BZ #14645]
46516 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
46517 if x * y might underflow to zero and z is zero.
46518 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
46519 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
46520 * math/libm-test.inc (min_subnorm_value): New variable.
46521 (fma_test): Add more tests.
46522 (fma_test_towardzero): Likewise.
46523 (fma_test_downward): Likewise
46524 (fma_test_upward): Likewise.
46525 (initialize): Set min_subnorm_value.
46526
46527 2012-09-29 Joseph Myers <joseph@codesourcery.com>
46528
46529 [BZ #14638]
46530 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
46531 0 + 0.
46532 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
46533 mode for addition resulting in exact zero.
46534 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
46535 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
46536 exact 0 + 0.
46537 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
46538 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
46539 * math/libm-test.inc (fma_test): Add more tests.
46540 (fma_test_towardzero): New function.
46541 (fma_test_downward): Likewise.
46542 (fma_test_upward): Likewise.
46543 (main): Call the new functions.
46544
46545 2012-09-28 David S. Miller <davem@davemloft.net>
46546
46547 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
46548
46549 2012-09-28 Roland McGrath <roland@hack.frob.com>
46550
46551 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
46552 instead of SIGALRM.
46553
46554 * sysdeps/gnu/_G_config.h: Moved to ...
46555 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
46556 * sysdeps/mach/hurd/_G_config.h: Moved to ...
46557 * sysdeps/generic/_G_config.h: ... here.
46558
46559 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
46560
46561 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
46562
46563 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
46564 Conditionalize target on [libnss_test1.so-version].
46565
46566 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
46567
46568 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
46569 (elfobjdir): Move out of conditionals.
46570
46571 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
46572 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
46573 (__nss_lookup_function): Conditionalize label remove_from_tree on
46574 [!DO_STATIC_NSS || SHARED], matching its only use.
46575
46576 2012-09-28 David S. Miller <davem@davemloft.net>
46577
46578 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
46579 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
46580 file.
46581 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
46582 sysdep_routines.
46583 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
46584 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
46585 when HWCAP_SPARC_CRYPTO is present.
46586
46587 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
46588
46589 * io/tst-mknodat.c: Create a FIFO instead of a socket.
46590
46591 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
46592
46593 [BZ #6530]
46594 * stdio-common/vfprintf.c (process_string_arg): Revert
46595 2000-07-22 change.
46596
46597 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
46598
46599 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
46600 for testcase.
46601 * stdio-common/tst-sprintf.c: Include <locale.h>
46602 (main): Test sprintf's handling of incomplete multibyte
46603 characters.
46604
46605 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
46606
46607 * elf/dl-runtime.c (VERSYMIDX): Removed.
46608 * elf/dl-version.c (VERSYMIDX): Likewise.
46609 * elf/do-rel.h (VERSYMIDX): Likewise.
46610 (VALIDX): Likewise.
46611 * elf/dynamic-link.h (VERSYMIDX): Likewise.
46612 * elf/rtld.c (VALIDX): Likewise.
46613 (ADDRIDX): Likewise.
46614 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
46615 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
46616 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
46617 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
46618 (VALIDX): Likewise.
46619 (ADDRIDX): Likewise.
46620
46621 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
46622
46623 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
46624
46625 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
46626
46627 [BZ #11438]
46628 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
46629 to global scope.
46630 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
46631 addresses are in the same scope as 192.0.2/24.
46632 * posix/gai.conf: Document new scope table defaults.
46633
46634 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
46635
46636 [BZ #5298]
46637 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
46638 for ftell. Compute offsets from write pointers instead.
46639 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
46640
46641 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
46642
46643 [BZ #14543]
46644 * libio/Makefile (tests): New test case tst-fseek.
46645 * libio/tst-fseek.c: New test case to verify that fseek/ftell
46646 combination works in wide mode.
46647 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
46648 state when the external buffer state changes.
46649
46650 2012-09-27 David S. Miller <davem@davemloft.net>
46651
46652 [BZ #14376]
46653 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
46654 pass reloc->r_addend in as the 'high' argument to
46655 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
46656
46657 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46658
46659 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
46660
46661 * rt/tst-aio2.c: Include <pthread.h>.
46662 * rt/tst-aio3.c: Likewise.
46663
46664 2012-09-27 Steve Ellcey <sellcey@mips.com>
46665
46666 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
46667
46668 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
46669
46670 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
46671 contents on [SHARED].
46672
46673 2012-09-26 Marek Polacek <polacek@redhat.com>
46674
46675 [BZ #14530]
46676 [BZ #13741]
46677 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
46678 for C++ and GCC <4.3 as well as for non GCC compilers.
46679
46680 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
46681
46682 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46683
46684 2012-09-25 Roland McGrath <roland@hack.frob.com>
46685
46686 * Makefile.in (all, install): Declare with .PHONY.
46687 Reported by Michael Hope <michael.hope@linaro.org>.
46688
46689 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
46690
46691 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
46692 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
46693 system header.
46694 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
46695 Likewise.
46696 (sydep_routines): Add the new and the internal functions.
46697 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
46698 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
46699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
46700 (GLIBC_2.17): Add the new function.
46701 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
46702 (GLIBC_2.17): Likewise.
46703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
46704 (GLIBC_2.17): Likewise.
46705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
46706 (GLIBC_2.17): Likewise.
46707 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
46708
46709 2012-09-25 Alan Modra <amodra@gmail.com>
46710
46711 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
46712 Add release barrier before setting once_control to say
46713 initialisation is done. Add hints on lwarx. Use macro in
46714 place of isync.
46715 (clear_once_control): Add release barrier.
46716
46717 2012-09-25 Joseph Myers <joseph@codesourcery.com>
46718
46719 [BZ #13629]
46720 * math/s_clog.c (__clog): Handle more values close to |z| = 1
46721 specially.
46722 * math/s_clog10.c (__clog10): Likewise.
46723 * math/s_clog10f.c (__clog10f): Likewise.
46724 * math/s_clog10l.c (__clog10l): Likewise.
46725 * math/s_clogf.c (__clogf): Likewise.
46726 * math/s_clogl.c (__clogl): Likewise.
46727 * math/Makefile (libm-calls): Add x2y2m1.
46728 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
46729 (__x2y2m1): Likewise.
46730 (__x2y2m1l): Likewise.
46731 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
46732 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
46733 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
46734 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
46735 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
46736 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
46737 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
46738 * sysdeps/i386/fpu/libm-test-ulps: Update.
46739 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46740
46741 [BZ #14621]
46742 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
46743 int as type of variable DEPTH.
46744 (glob): Use size_t instead of int as type of variables NEWCOUNT
46745 and OLD_PATHC.
46746
46747 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46748
46749 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
46750 Add s_sincosf-sse2.
46751 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
46752 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
46753 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
46754 macros for using routine as __sincosf_ia32.
46755 Use macro for function declaration and weak_alias.
46756 * sysdeps/i386/fpu/libm-test-ulps: Update.
46757
46758 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
46759 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46760
46761 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
46762 subnormal argument.
46763 * math/s_cexpf.c (__cexpf): Likewise.
46764 * math/s_csinf.c (__csinf): Likewise.
46765 * math/s_csinhf.c (__csinhf): Likewise.
46766 * math/s_ctanf.c (__ctanf): Likewise.
46767 * math/s_ctanhf.c (__ctanhf): Likewise.
46768 * math/s_ccosh.c (__ccoshf): Likewise.
46769 * math/s_cexp.c (__cexpl): Likewise.
46770 * math/s_csin.c (__csin): Likewise.
46771 * math/s_csinh.c (__csinh): Likewise.
46772 * math/s_ctan.c (__ctan): Likewise.
46773 * math/s_ctanh.c (ctanh): Likewise.
46774 * math/s_ccoshl.c (__ccoshl): Likewise.
46775 * math/s_cexpl.c (__cexpl): Likewise.
46776 * math/s_csinl.c (__csinl): Likewise.
46777 * math/s_csinhl.c (__csinhl): Likewise.
46778 * math/s_ctanl.c (__ctanl): Likewise.
46779 * math/s_ctanhl.c (__ctanhl): Likewise.
46780
46781 2012-09-25 Joseph Myers <joseph@codesourcery.com>
46782
46783 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
46784 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
46785 (_IO_off_t): Define to __off_t, not _G_off_t.
46786 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
46787 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
46788 (_IO_wint_t): Define to wint_t, not _G_wint_t.
46789 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
46790 type of __dummy and __dummy2 fields.
46791 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
46792 (_G_ssize_t): Likewise.
46793 (_G_off_t): Likewise.
46794 (_G_pid_t): Likewise.
46795 (_G_uid_t): Likewise.
46796 (_G_wchar_t): Likewise.
46797 (_G_wint_t): Likewise.
46798 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
46799 (_G_ssize_t): Likewise.
46800 (_G_off_t): Likewise.
46801 (_G_pid_t): Likewise.
46802 (_G_uid_t): Likewise.
46803 (_G_wchar_t): Likewise.
46804 (_G_wint_t): Likewise.
46805 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
46806 (_G_ssize_t): Likewise.
46807 (_G_off_t): Likewise.
46808 (_G_pid_t): Likewise.
46809 (_G_uid_t): Likewise.
46810 (_G_wchar_t): Likewise.
46811 (_G_wint_t): Likewise.
46812
46813 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
46814
46815 * malloc/arena.c: Include malloc-sysdep.h.
46816 (shrink_heap): Use check_may_shrink_heap to decide if madvise
46817 is sufficient to shrink the heap or an unmap is needed.
46818 * sysdeps/generic/malloc-sysdep.h: New file. Define
46819 new function check_may_shrink_heap.
46820 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
46821 new function check_may_shrink_heap.
46822
46823 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
46824
46825 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
46826 comments.
46827
46828 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
46829
46830 * catgets/test-gencat.sh: Add "set -e".
46831 * elf/tst-pathopt.sh: Likewise.
46832 * grp/tst_fgetgrent.sh: Likewise.
46833 * iconvdata/run-iconv-test.sh: Likewise.
46834 * intl/tst-gettext.sh: Likewise.
46835 * intl/tst-gettext2.sh: Likewise.
46836 * intl/tst-gettext4.sh: Likewise.
46837 * intl/tst-gettext6.sh: Likewise.
46838 * intl/tst-translit.sh: Likewise.
46839 * io/ftwtest-sh: Likewise.
46840 * libio/test-freopen.sh: Likewise.
46841 * malloc/tst-mtrace.sh: Likewise.
46842 * posix/globtest.sh: Likewise.
46843 * posix/tst-getconf.sh: Likewise.
46844 * posix/wordexp-tst.sh: Likewise.
46845 * stdio-common/tst-printf.sh: Likewise.
46846 * stdio-common/tst-unbputc.sh: Likewise.
46847 * stdlib/tst-fmtmsg.sh: Likewise.
46848 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
46849 * catgets/Makefile: Do not specify -e option when running
46850 testsuite shell scripts.
46851 * elf/Makefile: Likewise.
46852 * grp/Makefile: Likewise.
46853 * iconvdata/Makefile: Likewise.
46854 * intl/Makefile: Likewise.
46855 * io/Makefile: Likewise.
46856 * libio/Makefile: Likewise.
46857 * malloc/Makefile: Likewise.
46858 * posix/Makefile: Likewise.
46859 * stdio-common/Makefile: Likewise.
46860 * stdlib/Makefile: Likewise.
46861 * sysdeps/x86_64/Makefile: Likewise.
46862
46863 * io/ftwtest-sh: Add copyright header.
46864 * posix/globtest.sh: Likewise.
46865 * posix/tst-getconf.sh: Likewise.
46866 * posix/wordexp-tst.sh: Likewise.
46867 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
46868
46869 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
46870
46871 [BZ #13679]
46872 * Makeconfig (+link): Defined as $(+link-static) if
46873 $(build-shared) isn't yes.
46874 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
46875 isn't yes.
46876 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
46877
46878 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
46879
46880 [BZ #14562]
46881 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
46882 new chunk size with MALLOC_ALIGN_MASK.
46883
46884 2012-09-24 Joseph Myers <joseph@codesourcery.com>
46885
46886 [BZ #5044]
46887 * stdio-common/printf_fphex.c: Include <stdbool.h> and
46888 <rounding-mode.h>.
46889 (__printf_fphex): Determine rounding using get_rounding_mode and
46890 round_away.
46891 * stdio-common/tst-printf-round.c (struct hex_test): New
46892 structure.
46893 (hex_tests): New variable.
46894 (test_hex_in_one_mode): New function.
46895 (do_test): Also run tests for hex float output.
46896
46897 2012-09-21 Joseph Myers <joseph@codesourcery.com>
46898
46899 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
46900 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
46901 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
46902 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
46903 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
46904 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
46905 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
46906 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
46907
46908 2012-09-20 Joseph Myers <joseph@codesourcery.com>
46909
46910 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
46911 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
46912 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
46913 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
46914
46915 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
46916
46917 [BZ #14579]
46918 * elf/rtld.c (dl_main): Limit the check for self loading to normal
46919 mode only.
46920 * elf/tst-rtld-load-self.sh: New test.
46921 * elf/Makefile: Run it.
46922
46923 2012-09-18 Joseph Myers <joseph@codesourcery.com>
46924
46925 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
46926 (tst-writev-ENV): Remove.
46927 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
46928
46929 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
46930
46931 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
46932
46933 2012-09-17 Joseph Myers <joseph@codesourcery.com>
46934
46935 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
46936 unconditional.
46937 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
46938 Likewise.
46939 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
46940 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
46941 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
46942 Likewise.
46943
46944 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
46945
46946 [BZ #14587]
46947 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
46948 * config.make.in (have-cpp-asm-debuginfo): Removed.
46949 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
46950 * configure: Regenerated.
46951
46952 2012-09-14 Joseph Myers <joseph@codesourcery.com>
46953
46954 [BZ #5044]
46955 * stdio-common/printf_fp.c: Include <stdbool.h> and
46956 <rounding-mode.h>.
46957 (___printf_fp): Determine rounding using get_rounding_mode and
46958 round_away.
46959 * stdio-common/tst-printf-round.c: New file.
46960 * stdio-common/Makefile (tests): Add tst-printf-round.
46961 (link-libm): New variable.
46962 ($(objpfx)tst-printf-round): Depend in $(link-libm).
46963
46964 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
46965
46966 [BZ #14576]
46967 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
46968 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
46969 Likewise.
46970 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
46971 Likewise.
46972
46973 2012-09-13 Joseph Myers <joseph@codesourcery.com>
46974
46975 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
46976 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
46977 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
46978 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
46979
46980 2012-09-12 Joseph Myers <joseph@codesourcery.com>
46981
46982 [BZ #14518]
46983 * include/rounding-mode.h: New file.
46984 * sysdeps/generic/get-rounding-mode.h: Likewise.
46985 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
46986 * stdlib/strtod_l.c: Include <rounding-mode.h>.
46987 (MAX_VALUE): New macro.
46988 (MIN_VALUE): Likewise.
46989 (overflow_value): New function.
46990 (underflow_value): Likewise.
46991 (round_and_return): Use overflow_value and underflow_value to
46992 determine return values in overflow and underflow cases. Use
46993 round_away to determine rounding depending on rounding mode.
46994 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
46995 determine return values in overflow and underflow cases.
46996 * stdlib/tst-strtod-round.c: Include <fenv.h>.
46997 (struct test_results): New structure.
46998 (struct test): Use struct test_results to store expected results
46999 for all rounding modes.
47000 (TEST): Include expected results for all rounding modes.
47001 (test_in_one_mode): New function.
47002 (do_test): Use test_in_one_mode to compute and check results.
47003 Check results for all rounding modes.
47004 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
47005 $(link-libm).
47006
47007 2012-12-09 Allan McRae <allan@archlinux.org>
47008
47009 * sysdeps/i386/fpu/libm-test-ulps: Update
47010
47011 2012-09-11 Joseph Myers <joseph@codesourcery.com>
47012
47013 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
47014 (_G_int32_t): Likewise.
47015 (_G_uint16_t): Likewise.
47016 (_G_uint32_t): Likewise.
47017 (_G_HAVE_BOOL): Likewise.
47018 (_G_HAVE_ATEXIT): Likewise.
47019 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
47020 (_G_HAVE_IO_FILE_OPEN): Likewise.
47021 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
47022 (_G_int32_t): Likewise.
47023 (_G_uint16_t): Likewise.
47024 (_G_uint32_t): Likewise.
47025 (_G_HAVE_BOOL): Likewise.
47026 (_G_HAVE_ATEXIT): Likewise.
47027 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
47028 (_G_HAVE_IO_FILE_OPEN): Likewise.
47029 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
47030 (_G_int32_t): Likewise.
47031 (_G_uint16_t): Likewise.
47032 (_G_uint32_t): Likewise.
47033 (_G_HAVE_BOOL): Likewise.
47034 (_G_HAVE_ATEXIT): Likewise.
47035 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
47036 (_G_HAVE_IO_FILE_OPEN): Likewise.
47037
47038 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
47039
47040 * csu/libc-tls.c: Update copyright years.
47041
47042 2012-09-10 Joseph Myers <joseph@codesourcery.com>
47043
47044 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
47045 [!_G_USING_THUNKS]: Remove conditional code.
47046 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
47047 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
47048
47049 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
47050 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
47051 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
47052 (_G_VTABLE_LABEL_PREFIX): Likewise.
47053 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
47054 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
47055 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
47056 (_G_VTABLE_LABEL_PREFIX): Likewise.
47057 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
47058 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
47059 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
47060 (_G_VTABLE_LABEL_PREFIX): Likewise.
47061 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
47062
47063 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
47064
47065 * libio/Makefile: Include ../Makeconfig before tests.
47066 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
47067 only if $(build-shared) is yes.
47068
47069 * iconv/gconv_db.c: Update copyright years.
47070
47071 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47072
47073 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
47074 unwind info if defined PIC. Fix special cases description.
47075 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
47076
47077 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
47078 DP_HI_MASK entry.
47079 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
47080
47081 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
47082
47083 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
47084
47085 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
47086 is NULL.
47087
47088 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
47089 (LDLIBS-tst-chk4): This.
47090 (LDFLAGS-tst-chk5): Renamed to ...
47091 (LDLIBS-tst-chk5): This.
47092 (LDFLAGS-tst-chk6): Renamed to ...
47093 (LDLIBS-tst-chk6): This.
47094 (LDFLAGS-tst-lfschk4): Renamed to ...
47095 (LDLIBS-tst-lfschk4): This.
47096 (LDFLAGS-tst-lfschk5): Renamed to ...
47097 (LDLIBS-tst-lfschk5): This.
47098 (LDFLAGS-tst-lfschk6): Renamed to ...
47099 (LDLIBS-tst-lfschk6): This.
47100
47101 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
47102 on $(common-objpfx)soversions.mk.
47103
47104 2012-09-07 Joseph Myers <joseph@codesourcery.com>
47105
47106 [BZ #10014]
47107 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
47108 example host name.
47109
47110 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
47111
47112 * malloc/arena.c (arena_get_retry): New function that gets
47113 another arena for the caller to try its request on.
47114 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
47115 current arena cannot fulfill the request.
47116 (__libc_memalign): Likewise.
47117 (__libc_memalign): Likewise.
47118 (__libc_pvalloc): Likewise.
47119 (__libc_calloc): Likewise.
47120
47121 2012-09-05 John Tobey <john.tobey@gmail.com>
47122
47123 [BZ #13542]
47124 * manual/arith.texi (Operations on Complex): Fix description
47125 of carg branch cut.
47126
47127 2012-09-06 Joseph Myers <joseph@codesourcery.com>
47128
47129 [BZ #10014]
47130 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
47131 host name.
47132
47133 [BZ #10038]
47134 * manual/memory.texi (Memory): Make order of menu items match
47135 order of sections.
47136
47137 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
47138
47139 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
47140 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
47141 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
47142
47143 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
47144
47145 * csu/libc-tls.c (static_dtv): Renamed to ...
47146 (_dl_static_dtv): This. Make it global.
47147 (_dl_initial_dtv): Removed.
47148 (__libc_setup_tls): Updated.
47149 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
47150 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
47151 DL_INITIAL_DTV.
47152
47153 2012-09-06 Petr Machata <pmachata@redhat.com>
47154
47155 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
47156 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
47157 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
47158 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
47159
47160 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
47161
47162 [BZ #14545]
47163 * csu/libc-tls.c (_dl_initial_dtv): New variable.
47164 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
47165 freeing dtv[-1].
47166
47167 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
47168
47169 [BZ #14544]
47170 * Makeconfig (link-static-before-libc): Replace $(+prector)
47171 with $(+prectorT).
47172 (link-static-after-libc): Replace $(+postctor) with
47173 $(+postctorT).
47174 (link-bounded): Replace $(+prector)/$(+postctor) with
47175 $(+prectorT)/$(+postctorT).
47176 (+prectorT): New macro.
47177 (+postctorT): Likewise.
47178
47179 2012-09-06 Joseph Myers <joseph@codesourcery.com>
47180
47181 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
47182 (round_str): Handle values above the maximum for IBM long double
47183 as inexact.
47184 * stdlib/tst-strtod-round.c (tests): Regenerated.
47185
47186 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47187
47188 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
47189 assembler flag.
47190 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
47191 zarch_nohighgprs around the zarch optimized routines.
47192 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
47193 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
47194 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
47195 for zarch.
47196
47197 2012-09-05 David S. Miller <davem@davemloft.net>
47198
47199 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47200
47201 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
47202 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
47203 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
47204 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
47205 entries.
47206
47207 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
47208
47209 * malloc/arena.c: Fold copyright years.
47210 * malloc/mcheck.c, malloc/memusage.c: Likewise.
47211
47212 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
47213
47214 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
47215
47216 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
47217
47218 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
47219
47220 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
47221
47222 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
47223 change internal state upon failure.
47224
47225 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
47226
47227 * malloc/mcheck.c (mcheck_check_all): Fix typo.
47228 * malloc/memusage.c (mmap): Likewise.
47229 (mmap64, mremap): Likewise. Adjust name in comment.
47230
47231 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
47232
47233 * libio/fileops.c: Fix typos in comments.
47234 * libio/oldfileops.c: Likewise.
47235 * libio/wfileops.c: Likewise.
47236
47237 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
47238
47239 [BZ #1349]
47240 * malloc/Makefile (tests): Add tst-malloc-usable test case.
47241 (tst-malloc-usable-ENV): Set environment for test case.
47242 * malloc/hooks.c (malloc_check_get_size): New function to get
47243 requested size.
47244 * malloc/malloc.c (musable): Use malloc_check_get_size.
47245 * malloc/tst-malloc-usable.c: New test case.
47246
47247 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
47248
47249 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
47250
47251 2012-09-05 Allan McRae <allan@archlinux.org>
47252
47253 [BZ #13966]
47254 * configure.in (CXX_SYSINCLUDES): Use compiler output to
47255 determine header location.
47256 * configure: Regenerated.
47257
47258 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
47259
47260 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
47261 float format.
47262 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
47263 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
47264 format.
47265 (test): Regenerate.
47266
47267 2012-09-04 David S. Miller <davem@davemloft.net>
47268
47269 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
47270 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
47271 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
47272
47273 2012-09-04 Florian Weimer <fweimer@redhat.com>
47274
47275 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
47276 failures.
47277
47278 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
47279
47280 2012-09-04 Joseph Myers <joseph@codesourcery.com>
47281
47282 [BZ #9914]
47283 * libio/iogetdelim.c: Include <limits.h>.
47284 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
47285 + len + 1 would overflow.
47286
47287 2012-09-03 Andreas Jaeger <aj@suse.de>
47288
47289 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47290 * sysdeps/i386/fpu/libm-test-ulps: Update.
47291
47292 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47293
47294 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
47295 Add s_sinf-sse2, s_conf-sse2.
47296
47297 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
47298 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
47299 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
47300 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
47301
47302 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
47303 for using routine as __sinf_ia32.
47304 Use macro for function declaration and weak_alias.
47305 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
47306 for using routine as __cosf_ia32.
47307 Use macro for function declaration and weak_alias.
47308
47309 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
47310 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
47311
47312 * sysdeps/x86_64/fpu/s_sinf.S: New file.
47313 * sysdeps/x86_64/fpu/s_cosf.S: New file.
47314 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47315
47316 * math/libm-test.inc (cos_test): Add more test cases.
47317 (sin_test): Likewise.
47318 (sincos_test): Likewise.
47319
47320 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47321
47322 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
47323 (IFUNC_RESOLVE): Make pointers to the specialized implementations
47324 hidden.
47325 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
47326
47327 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
47328
47329 [BZ #14538]
47330 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
47331 first element of the GOT.
47332 (elf_machine_load_address): Return the difference between
47333 the runtime address of _DYNAMIC and elf_machine_dynamic ().
47334
47335 2012-09-01 Allan McRae <allan@archlinux.org>
47336
47337 [BZ #13412]
47338 * configure.in (AWK): Require gawk version 3.0 or later.
47339 * configure: Regenerated.
47340
47341 2012-09-01 Joseph Myers <joseph@codesourcery.com>
47342
47343 * sysdeps/unix/sysv/linux/kernel-features.h
47344 (__ASSUME_POSIX_CPU_TIMERS): Remove.
47345 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
47346 [__NR_clock_getres]: Make code unconditional.
47347 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
47348 (clock_getcpuclockid): Remove code left unreachable by removal of
47349 conditionals.
47350 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
47351 code unconditional.
47352 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
47353 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
47354 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
47355 Make code unconditional.
47356 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
47357 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
47358 * sysdeps/unix/sysv/linux/clock_settime.c
47359 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
47360 conditional code.
47361 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
47362 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
47363
47364 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
47365
47366 [BZ #14476]
47367 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
47368 scripts/test-installation.pl.
47369
47370 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
47371 and $ld_so_version if it is set.
47372
47373 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
47374
47375 [BZ #14516]
47376 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
47377 failure if reading from procfs failed.
47378 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
47379
47380 2012-08-27 Joseph Myers <joseph@codesourcery.com>
47381
47382 * sysdeps/unix/sysv/linux/kernel-features.h
47383 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
47384 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
47385 Remove conditional code.
47386 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47387 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
47388 Remove conditional code.
47389 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47390 * sysdeps/unix/sysv/linux/i386/fxstat.c
47391 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
47392 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47393 * sysdeps/unix/sysv/linux/i386/fxstatat.c
47394 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
47395 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47396 * sysdeps/unix/sysv/linux/i386/lxstat.c
47397 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
47398 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47399 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
47400 Remove conditional code.
47401 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47402 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
47403 Remove conditional code.
47404 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47405 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
47406 <kernel-features.h>.
47407 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
47408 Remove.
47409 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
47410 Remove conditional code.
47411 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47412 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
47413 Remove conditional.
47414
47415 2012-08-27 Mike Frysinger <vapier@gentoo.org>
47416
47417 [BZ #5400]
47418 * NEWS: Add fixed bug number.
47419
47420 2012-08-27 Joseph Myers <joseph@codesourcery.com>
47421
47422 [BZ #14519]
47423 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
47424 underflowing exponent in case of negative sign.
47425 * stdlib/tst-strtod-round-data: Add more tests.
47426 * stdlib/tst-strtod-round.c (tests): Regenerated.
47427
47428 [BZ #3479]
47429 * stdlib/strtod_l.c (NDIG): Remove.
47430 (HEXNDIG): Likewise.
47431 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
47432 smallest representable value.
47433 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
47434 lie within an exact representation of 1/2 ulp of the result.
47435 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
47436 unconditionally.
47437 (TENS_P9_IDX): Define unconditionally.
47438 (TENS_P9_SIZE): Likewise.
47439 (TENS_P10_IDX): Likewise.
47440 (TENS_P10_SIZE): Likewise.
47441 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
47442 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
47443 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
47444 entries for 10^2^13 and 10^2^14.
47445 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
47446 (TENS_P13_IDX): Define.
47447 (TENS_P13_SIZE): Likewise.
47448 (TENS_P14_IDX): Likewise.
47449 (TENS_P14_SIZE): Likewise.
47450 (_fpioconst_pow10): Change array size to
47451 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
47452 unconditional.
47453 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
47454 1024]: Add entries for 10^2^13 and 10^2^14.
47455 [LAST_POW10 > _LAST_POW10]: Remove #error.
47456 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
47457 (_fpioconst_pow10): Change array size to
47458 FPIOCONST_POW10_ARRAY_SIZE.
47459 * stdlib/gen-fpioconst.c: New file.
47460 * stdlib/gen-tst-strtod-round.c: Likewise.
47461 * stdlib/tst-strtod-round-data: Likewise.
47462 * stdlib/tst-strtod-round.c: Likewise.
47463 * stdlib/Makefile (tests): Add tst-strtod-round.
47464
47465 [BZ #14459]
47466 * stdlib/strtod_l.c: Include <stdint.h>.
47467 (NDEBUG): Do not define.
47468 (round_and_return): Change EXPONENT parameter to type intmax_t.
47469 Rearrange calculations to avoid internal overflow possibilities.
47470 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
47471 Rearrange calculations to avoid internal overflow possibilities.
47472 Assert that number fits inside MPNSIZE limbs.
47473 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
47474 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
47475 calculations and add assertions to avoid internal overflow
47476 possibilities. Add casts to avoid signed/unsigned operations.
47477 * stdlib/tst-strtod-overflow.c: New file.
47478 * stdlib/Makefile (tests): Add tst-strtod-overflow.
47479
47480 2012-08-25 Marek Polacek <polacek@redhat.com>
47481
47482 * time/time.h: Fix some typos in comments.
47483
47484 2012-08-23 Roland McGrath <roland@hack.frob.com>
47485
47486 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
47487 * posix/tst-rfc3484-2.c: Likewise.
47488 * posix/tst-rfc3484-3.c: Likewise.
47489
47490 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
47491
47492 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
47493 (EF_ARM_ABI_FLOAT_HARD): Likewise.
47494
47495 2012-08-23 Joseph Myers <joseph@codesourcery.com>
47496
47497 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
47498 #include of fxstatat64.c.
47499
47500 2012-08-22 Roland McGrath <roland@hack.frob.com>
47501
47502 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
47503 * shadow/getspent_r.c: Likewise.
47504 * shadow/getspnam.c: Likewise.
47505 * shadow/getspnam_r.c: Likewise.
47506 * gshadow/getsgent.c: Likewise.
47507 * gshadow/getsgent_r.c: Likewise.
47508 * gshadow/getsgnam.c: Likewise.
47509 * gshadow/getsgnam_r.c: Likewise.
47510 * inet/getnetbyad.c: Likewise.
47511 * inet/getnetbyad_r.c: Likewise.
47512 * inet/getnetbynm.c: Likewise.
47513 * inet/getnetbynm_r.c: Likewise.
47514 * inet/getnetent.c: Likewise.
47515 * inet/getnetent_r.c: Likewise.
47516 * inet/getproto.c: Likewise.
47517 * inet/getproto_r.c: Likewise.
47518 * inet/getprtent.c: Likewise.
47519 * inet/getprtent_r.c: Likewise.
47520 * inet/getprtname.c: Likewise.
47521 * inet/getprtname_r.c: Likewise.
47522 * inet/getrpcbyname.c: Likewise.
47523 * inet/getrpcbyname_r.c: Likewise.
47524 * inet/getrpcbynumber.c: Likewise.
47525 * inet/getrpcbynumber_r.c: Likewise.
47526 * inet/getrpcent.c: Likewise.
47527 * inet/getrpcent_r.c: Likewise.
47528 * inet/getaliasent.c: Likewise.
47529 * inet/getaliasent_r.c: Likewise.
47530 * inet/getaliasname.c: Likewise.
47531 * inet/getaliasname_r.c: Likewise.
47532 * nscd/getgrgid_r.c: Likewise.
47533 * nscd/getgrnam_r.c: Likewise.
47534 * nscd/gethstbyad_r.c: Likewise.
47535 * nscd/gethstbynm3_r.c: Likewise.
47536 * nscd/getpwnam_r.c: Likewise.
47537 * nscd/getpwuid_r.c: Likewise.
47538 * nscd/getsrvbynm_r.c: Likewise.
47539 * nscd/getsrvbypt_r.c: Likewise.
47540 * nscd/gai.c: Likewise.
47541
47542 * configure.in (build_nscd): New substituted variable, set
47543 by --disable-build-nscd and defaults to $use_nscd.
47544 * configure: Regenerated.
47545 * config.make.in (build-nscd): New substituted variable.
47546 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
47547 Change conditional to require [$(build-nscd) = yes] as well.
47548 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
47549
47550 [BZ# 13696]
47551 * configure.in (use_nscd): New substituted variable, set by
47552 --disable-nscd. If enabled, define USE_NSCD.
47553 * configure: Regenerated.
47554 * config.h.in: Add USE_NSCD.
47555 * config.make.in (use-nscd): New substituted variable.
47556 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
47557 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
47558 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
47559 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
47560 (CFLAGS-getgrnam_r.c): Likewise.
47561 (CFLAGS-initgroups.c): Likewise.
47562 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
47563 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
47564 Variables removed.
47565 * inet/getnetgrent_r.c
47566 (nscd_setnetgrent): New function, broken out of ...
47567 (setnetgrent): ... here. Call it.
47568 (innetgr): Conditionalize nscd bits on [USE_NSCD].
47569 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
47570 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
47571 * nscd/Makefile (routines, aux): Move definitions after include of
47572 Makeconfig. Conditionalize on [$(use-nscd) != no].
47573 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
47574 Conditionalize on [USE_NSCD].
47575 (is_nscd, nscd_init_cb): Likewise.
47576 (nss_load_library): Conditionalize init callback on [USE_NSCD].
47577 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
47578 * nss/nss_db/db-init.c: Likewise.
47579 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
47580 [USE_NSCD].
47581 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
47582 (make_request): Use it.
47583 (cache_valid_p): New function.
47584 (__check_pf): Use it.
47585 * NEWS: Add item for --disable-nscd.
47586
47587 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
47588
47589 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
47590 to support sed >= 4.2.1-20-ga9bf076.
47591 * configure: Regenerated.
47592
47593 2012-08-22 Roland McGrath <roland@hack.frob.com>
47594
47595 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
47596 Conditionalize whole body on [IREL].
47597
47598 2012-08-22 Jeff Law <law@redhat.com>
47599
47600 [BZ #14505]
47601 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
47602 if the family is PF_UNSPEC.
47603
47604 2012-08-22 Mike Frysinger <vapier@gentoo.org>
47605
47606 * Makerules (lib-version): Rename from V.
47607 (install-lib-nosubdir): Change V to lib-version.
47608
47609 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
47610
47611 [BZ #14252]
47612 * powerpc32/power6/wcschr.c: New file.
47613 * powerpc32/power6/wcscpy.c: New file.
47614 * powerpc32/power6/wcsrchr.c: New file.
47615 * powerpc64/power6/wcschr.c: New file.
47616 * powerpc64/power6/wcscpy.c: New file.
47617 * powerpc64/power6/wcsrchr.c: New file.
47618
47619 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
47620
47621 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
47622 (two_way_short_needle): Use it.
47623 * string/strstr.c (AVAILABLE1_USES_J): Define.
47624 * string/strcasestr.c: Likewise.
47625
47626 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
47627 array references.
47628 * string/strcasestr.c (TOLOWER): Make side-effect safe.
47629
47630 [BZ #11607]
47631 * NEWS: Add an entry.
47632 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
47633 define their defaults.
47634 (two_way_short_needle): Detect end-of-string on-the-fly.
47635 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
47636 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
47637 * string/bug-strcasestr1.c: New test.
47638 * string/Makefile: Run it.
47639
47640 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
47641
47642 [BZ #11607]
47643 * string/str-two-way.h (two_way_short_needle): Optimize matching of
47644 the first character.
47645
47646 2012-08-21 Roland McGrath <roland@hack.frob.com>
47647
47648 * csu/elf-init.c (__libc_csu_irel): Function removed.
47649 * csu/libc-start.c (apply_irel): New function.
47650 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
47651
47652 2012-08-21 Joseph Myers <joseph@codesourcery.com>
47653
47654 * sysdeps/unix/sysv/linux/kernel-features.h
47655 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
47656 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
47657 <kernel-features.h>.
47658 [__NR_fadvise64_64]: Make code unconditional.
47659 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
47660 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
47661 !__NR_fadvise64_64)]: Likewise.
47662 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
47663 !__NR_fadvise64_64))]: Likewise.
47664 [__NR_fadvise64]: Make code unconditional.
47665 [!__NR_fadvise64]: Remove conditional code.
47666 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
47667 <kernel-features.h>.
47668 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
47669 unconditional.
47670 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
47671 conditional code.
47672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
47673 not include <kernel-features.h>.
47674 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
47675 unconditional.
47676 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
47677 conditional code.
47678 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
47679 include <kernel-features.h>.
47680 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
47681 unconditional.
47682 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
47683 conditional code.
47684
47685 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
47686
47687 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
47688 slight instruction rearrangements per scrollpipe analysis.
47689 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
47690
47691 2012-08-20 Roland McGrath <roland@hack.frob.com>
47692
47693 * manual/syslog.texi (syslog; vsyslog, closelog):
47694 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
47695 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
47696
47697 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
47698 DSOCAPS to match condition on defining it.
47699
47700 2012-08-20 Joseph Myers <joseph@codesourcery.com>
47701
47702 * sysdeps/unix/sysv/linux/kernel-features.h
47703 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
47704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
47705 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
47706 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
47707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
47708 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
47709 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
47710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
47711 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
47712 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
47713
47714 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
47715 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
47716
47717 * sysdeps/unix/sysv/linux/kernel-features.h
47718 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
47719 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
47720 unconditional.
47721 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
47722 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
47723 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
47724 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
47725 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
47726 Make code unconditional.
47727 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
47728 (__mmap64) [!__NR_mmap2]: Likewise.
47729 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
47730 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
47731 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
47732 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
47733 [__NR_mmap2]: Make code unconditional.
47734 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
47735 (__mmap64) [!__NR_mmap2]: Likewise.
47736
47737 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47738
47739 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
47740
47741 2012-08-18 Andreas Jaeger <aj@suse.de>
47742
47743 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
47744
47745 2012-08-18 Mike Frysinger <vapier@gentoo.org>
47746
47747 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
47748 * include/unistd.h (__have_sock_cloexec): Likewise.
47749 (__have_pipe2): Likewise.
47750 (__have_dup3): Likewise.
47751
47752 2012-08-18 Mike Frysinger <vapier@gentoo.org>
47753
47754 [BZ #9685]
47755 * include/unistd.h (__have_pipe2): Change define into an extern int.
47756 (__have_dup3): Likewise.
47757 * socket/have_sock_cloexec.c: Include fcntl.h.
47758 (__have_pipe2): New variable.
47759 (__have_dup3): Likewise.
47760
47761 2012-08-17 Mike Frysinger <vapier@gentoo.org>
47762
47763 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
47764
47765 2012-08-17 Marek Polacek <polacek@redhat.com>
47766
47767 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
47768 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
47769
47770 2012-08-17 Roland McGrath <roland@hack.frob.com>
47771
47772 * configure.in: Add AC_SUBST for sysheaders.
47773 * configure: Regenerated.
47774 * config.make.in (sysheaders): New substituted variable.
47775
47776 * sysdeps/unix/mkfifo.c: Moved ...
47777 * sysdeps/posix/mkfifo.c: ... here.
47778 * sysdeps/unix/mkfifoat.c: Moved ...
47779 * sysdeps/posix/mkfifoat.c: ... here.
47780
47781 * sysdeps/unix/utime.c: Moved ...
47782 * sysdeps/posix/utime.c: ... here.
47783
47784 * sysdeps/unix/time.c: Moved ...
47785 * sysdeps/posix/time.c: ... here.
47786 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
47787 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
47788
47789 * sysdeps/unix/nice.c: Moved ...
47790 * sysdeps/posix/nice.c: ... here.
47791
47792 * sysdeps/unix/alarm.c: Moved ...
47793 * sysdeps/posix/alarm.c: ... here.
47794
47795 * intl/Makefile ($(codeset_mo)): Depend on the input file.
47796
47797 2012-08-17 Jeff Law <law@redhat.com>
47798
47799 * intl/Makefile (codeset_mo): New variable.
47800 ($(codeset_mo)): New target.
47801 (tst-codeset.out): Depend on that. Remove explicit rule.
47802 (tst-gettext3.out, tst-gettext5.out): Likewise.
47803 (LOCPATH-ENV, tst-codeset-ENV): New variables.
47804 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
47805 * intl/tst-codeset.sh: Remove.
47806 * intl/tst-gettext3.sh: Likewise.
47807 * intl/tst-gettext5.sh: Likewise.
47808
47809 2012-08-17 Roland McGrath <roland@hack.frob.com>
47810
47811 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
47812 * sysdeps/unix/syscalls.list: ... here.
47813
47814 * sysdeps/posix/getaddrinfo.c
47815 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
47816 (gaiconf_init, gaiconf_reload): Use them.
47817 [!_STATBUF_ST_NSEC]
47818 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
47819 Define using time_t rather than struct timespec.
47820
47821 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
47822 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
47823 Macros removed.
47824 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
47825 [!NO_THREADS].
47826 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
47827 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
47828 Likewise.
47829
47830 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
47831 __libc_cleanup_push argument.
47832
47833 * bits/param.h: New file.
47834 * misc/sys/param.h: New file.
47835 * include/sys/param.h: New file.
47836 * misc/Makefile (headers): Add bits/param.h.
47837 * sysdeps/generic/sys/param.h: File removed.
47838 * sysdeps/unix/sysv/linux/bits/param.h: New file.
47839 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
47840 * sysdeps/mach/hurd/bits/param.h: New file.
47841 * sysdeps/mach/hurd/sys/param.h: File removed.
47842
47843 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
47844 last change.
47845
47846 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
47847 [_IO_MTSAFE_IO].
47848 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
47849 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
47850 New macros.
47851
47852 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
47853 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
47854 rather than -D_IO_MTSAFE_IO conditionally.
47855 * stdio-common/Makefile (CPPFLAGS): Likewise.
47856 * wcsmbs/Makefile (CPPFLAGS): Likewise.
47857 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
47858 Use $(libio-mtsafe).
47859 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
47860 of -D_IO_MTSAFE_IO.
47861 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
47862 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
47863 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
47864 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
47865 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
47866 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
47867 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
47868 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
47869 (CFLAGS-fread_u_chk.c): Likewise.
47870 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
47871 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
47872 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
47873 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
47874 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
47875 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
47876 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
47877 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
47878 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
47879
47880 * libio/Makefile: Test [$(libc-reentrant) = yes]
47881 instead of [$(filter %REENTRANT, $(defines)) nonempty].
47882
47883 * Makeconfig
47884 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
47885 * sysdeps/pthread/configure: File removed.
47886 * sysdeps/pthread/Makeconfig: New file.
47887 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
47888 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
47889
47890 2012-08-16 Gary Benson <gbenson@redhat.com>
47891
47892 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
47893 unmapping the first object in a namespace.
47894
47895 2012-08-16 Roland McGrath <roland@hack.frob.com>
47896
47897 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
47898 (__internal_setnetgrent): ... this. Add internal_function to
47899 definition. Add libc_hidden_def.
47900 (setnetgrent): Update caller.
47901 (internal_endnetgrent): Renamed to ...
47902 (__internal_endnetgrent): ... this. Add internal_function to
47903 definition. Add libc_hidden_def.
47904 (endnetgrent): Update caller.
47905 (internal_getnetgrent_r): Renamed to ...
47906 (__internal_getnetgrent_r): ... this. Add internal_function to
47907 definition. Add libc_hidden_def.
47908 (__getnetgrent_r): Update caller.
47909 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
47910
47911 2012-08-16 Joseph Myers <joseph@codesourcery.com>
47912
47913 * stdlib/longlong.h: Update from GCC.
47914
47915 2012-08-16 Roland McGrath <roland@hack.frob.com>
47916
47917 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
47918 on _QL, which is set by umul_ppmm but never used.
47919 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
47920 variables, which are set by GMP macros but never used.
47921 * stdio-common/_itowa.c (_itowa): Likewise.
47922 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
47923 * stdlib/mod_1.c (mpn_mod_1): Likewise.
47924
47925 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
47926
47927 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
47928 struct La_sh_regs is not constant.
47929 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
47930 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
47931 and struct La_sparc64_regs are not constant.
47932
47933 2012-08-16 Joseph Myers <joseph@codesourcery.com>
47934
47935 * sysdeps/unix/sysv/linux/kernel-features.h
47936 (__ASSUME_POSIX_TIMERS): Remove.
47937 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
47938 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
47939 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
47940 Make code unconditional.
47941 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
47942 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
47943 Make code unconditional.
47944 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
47945 * sysdeps/unix/sysv/linux/clock_nanosleep.c
47946 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
47947 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
47948 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
47949 Make code unconditional.
47950 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
47951 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
47952 (__libc_missing_posix_timers): Remove.
47953
47954 2012-08-15 Roland McGrath <roland@hack.frob.com>
47955
47956 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
47957 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
47958
47959 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
47960
47961 * elf/dl-sym.c: Include <stdlib.h>.
47962
47963 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
47964 constants, which avoids warnings in 32-bit builds.
47965
47966 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
47967 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
47968
47969 * misc/lseek.c: File moved to ...
47970 * io/lseek.c: ... here.
47971
47972 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
47973
47974 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
47975 shifting LEN more than 31 bits at once.
47976
47977 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47978
47979 [BZ #14195]
47980 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
47981 segmentation fault for a case of two empty input strings.
47982 * string/test-strncasecmp.c (check1): Renamed to...
47983 (bz12205): ...this.
47984 (bz14195): Add new testcase for two empty input strings and N > 0.
47985 (test_main): Call new testcase, adapt for renamed function.
47986
47987 2012-08-15 Andreas Jaeger <aj@suse.de>
47988
47989 [BZ #14090]
47990 * crypt/md5test2.c: New test, based on test supplied by Serge
47991 Belyshev <belyshev@depni.sinp.msu.ru>.
47992 * crypt/Makefile (xtests): Add md5test-giant..
47993 * crypt/Makefile ($(objpfx)md5test-giant): Add.
47994
47995 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
47996
47997 [BZ #14090]
47998 * crypt/md5.c (md5_process_block): Don't assume the buffer
47999 length is less than 2**32.
48000 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
48001 length is less than 2**64.
48002
48003 2012-08-15 Roland McGrath <roland@hack.frob.com>
48004
48005 * string/str-two-way.h: Include <sys/param.h>.
48006 (MAX): Macro removed.
48007
48008 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
48009 Move #define and #undef of memmove to just before and after
48010 including <string.h>.
48011
48012 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
48013 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
48014 and after including <string.h>. Move declarations of
48015 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
48016 to before #include "string/memmove.c".
48017
48018 * include/dirent.h: Declare __getdirentries.
48019
48020 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
48021 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
48022
48023 2012-08-14 Mike Frysinger <vapier@gentoo.org>
48024
48025 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
48026 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
48027 * sysdeps/i386/configure: Regenerated.
48028 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
48029 STABS_CURRENT_FILE, and STABS_FUN.
48030 (END): Remove call to STABS_FUN_END.
48031 (STABS_CURRENT_FILE1): Delete.
48032 (STABS_CURRENT_FILE): Likewise.
48033 (STABS_FUN): Likewise.
48034 (STABS_FUN_END): Likewise.
48035 (STABS_FUN2): Likewise.
48036 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
48037 * sysdeps/x86_64/configure: Regenerated.
48038
48039 2012-08-14 Roland McGrath <roland@hack.frob.com>
48040
48041 * elf/dl-open.c: Include <atomic.h>.
48042 * elf/dl-lookup.c: Likewise.
48043
48044 2012-08-14 Joseph Myers <joseph@codesourcery.com>
48045
48046 * sysdeps/unix/sysv/linux/kernel-features.h
48047 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
48048 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
48049 unconditionally.
48050 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
48051 unconditionally.
48052 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
48053 condition on __ASSUME_CLONE_THREAD_FLAGS.
48054
48055 2012-08-14 Andreas Jaeger <aj@suse.de>
48056
48057 * sysdeps/i386/fpu/libm-test-ulps: Update.
48058
48059 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
48060
48061 * include/atomic.h (atomic_exchange_and_add): Split into ...
48062 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
48063 New atomic macros.
48064
48065 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
48066
48067 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48068
48069 2012-08-13 Jeff Law <law@redhat.com>
48070
48071 * manual/stdio.texi (snprintf): Clarify handling of the trailing
48072 null byte in the output string.
48073
48074 2012-08-10 Joseph Myers <joseph@codesourcery.com>
48075
48076 * sysdeps/unix/sysv/linux/kernel-features.h
48077 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
48078 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
48079 (__ASSUME_ARG_MAX_STACK_BASED): Define.
48080 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
48081 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
48082 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
48083 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
48084
48085 2012-08-09 Jeff Law <law@redhat.com>
48086
48087 [BZ #13939]
48088 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
48089 When avoid_arena is set, don't retry in the that arena. Pick the
48090 next one, whatever it might be.
48091 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
48092 (arena_lock): Pass in new parameter to arena_get2.
48093 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
48094 arena_get2.
48095 (__libc_malloc): Unify retrying after main arena failure with
48096 __libc_memalign version.
48097 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
48098
48099 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
48100
48101 [BZ #14166]
48102 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
48103 to __redirect_strstr.
48104 (__strstr_sse42): Use typeof __redirect_strstr.
48105 (__strstr_ia32): Likewise.
48106 (__libc_strstr): New prototype.
48107 (strstr): Renamed to ...
48108 (__libc_strstr): This.
48109 (strstr): New strong alias of __libc_strstr.
48110 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
48111 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
48112 __redirect_time.
48113 Include <time.h>.
48114 (__libc_time): New prototype.
48115 (time_ifunc): Replace time with __libc_time.
48116 (time): New strong alias and hidden definition of __libc_time.
48117 (__GI_time): Remove strong alias.
48118 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
48119 Include <stddef.h>.
48120 (memmove): Redefined to __redirect_memmove.
48121 (__memmove_sse2): Use typeof __redirect_memmove.
48122 (__memmove_ssse3): Likewise.
48123 (__memmove_ssse3_back): Likewise.
48124 (__libc_memmove): New prototype.
48125 (memmove): Renamed to ...
48126 (__libc_memmove): This.
48127 (memmove): New strong alias of __libc_memmove.
48128
48129 2012-08-08 Mark Salter <msalter@redhat.com>
48130
48131 * elf/elf.h
48132 (R_MN10300_TLS_GD): Define.
48133 (R_MN10300_TLS_LD): Likewise.
48134 (R_MN10300_TLS_LDO): Likewise.
48135 (R_MN10300_TLS_GOTIE): Likewise.
48136 (R_MN10300_TLS_IE): Likewise.
48137 (R_MN10300_TLS_LE): Likewise.
48138 (R_MN10300_TLS_DTPMOD): Likewise.
48139 (R_MN10300_TLS_DTPOFF): Likewise.
48140 (R_MN10300_TLS_TPOFF): Likewise.
48141 (R_MN10300_SYM_DIFF): Likewise.
48142 (R_MN10300_ALIGN): Likewise.
48143 (R_MN10300_NUM): Update.
48144
48145 2012-08-08 Joseph Myers <joseph@codesourcery.com>
48146
48147 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
48148 Remove.
48149
48150 2012-08-08 Roland McGrath <roland@hack.frob.com>
48151
48152 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
48153
48154 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
48155 sysdeps/unix -> sysdeps/posix move.
48156 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
48157
48158 2012-08-07 Allan McRae <allan@archlinux.org>
48159
48160 [BZ #14303]
48161 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
48162 (SUNOS_CPP): Likewise.
48163 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
48164 not found.
48165 (open_input): Call CPP using execvp.
48166
48167 2012-08-07 Joseph Myers <joseph@codesourcery.com>
48168
48169 * sysdeps/unix/sysv/linux/kernel-features.h
48170 (__ASSUME_PROT_GROWSUPDOWN): Remove.
48171 (__ASSUME_NO_CLONE_DETACHED): Likewise.
48172 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
48173 (__ASSUME_WAITID_SYSCALL): Likewise.
48174 * sysdeps/unix/sysv/linux/dl-execstack.c
48175 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
48176 code unconditional.
48177 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
48178 conditional code.
48179 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
48180 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
48181 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
48182 code.
48183 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
48184 unconditional.
48185 [__ASSUME_WAITID_SYSCALL]: Likewise.
48186 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
48187
48188 2012-08-07 Roland McGrath <roland@hack.frob.com>
48189
48190 * sysdeps/unix/closedir.c: Renamed to ...
48191 * sysdeps/posix/closedir.c: ... here.
48192 * sysdeps/unix/dirfd.c: Renamed to ...
48193 * sysdeps/posix/dirfd.c: ... here.
48194 * sysdeps/unix/dirstream.h: Renamed to ...
48195 * sysdeps/posix/dirstream.h: ... here.
48196 * sysdeps/unix/fdopendir.c: Renamed to ...
48197 * sysdeps/posix/fdopendir.c: ... here.
48198 * sysdeps/unix/opendir.c: Renamed to ...
48199 * sysdeps/posix/opendir.c: ... here.
48200 * sysdeps/unix/readdir.c: Renamed to ...
48201 * sysdeps/posix/readdir.c: ... here.
48202 * sysdeps/unix/readdir_r.c: Renamed to ...
48203 * sysdeps/posix/readdir_r.c: ... here.
48204 * sysdeps/unix/rewinddir.c: Renamed to ...
48205 * sysdeps/posix/rewinddir.c: ... here.
48206 * sysdeps/unix/seekdir.c: Renamed to ...
48207 * sysdeps/posix/seekdir.c: ... here.
48208 * sysdeps/unix/telldir.c: Renamed to ...
48209 * sysdeps/posix/telldir.c: ... here.
48210 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
48211 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
48212 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
48213 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
48214
48215 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
48216 * bits/fcntl.h: ... here.
48217
48218 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
48219 not 0.
48220 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
48221 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
48222 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
48223 (struct flock): Move l_start, l_len to the beginning.
48224 Use __pid_t for l_pid.
48225 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
48226 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
48227 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
48228 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
48229 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
48230 [__USE_LARGEFILE64] (struct flock64): New type.
48231 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
48232
48233 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
48234 * bits/dirent.h: ... here.
48235
48236 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
48237 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
48238
48239 2012-08-07 Joseph Myers <joseph@codesourcery.com>
48240
48241 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
48242 Change from 2.6.0 to 2.6.16.
48243 * sysdeps/unix/sysv/linux/configure: Regenerated.
48244 * sysdeps/unix/sysv/linux/kernel-features.h
48245 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
48246 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
48247 version.
48248 (__ASSUME_UTIMES): Likewise.
48249 (__ASSUME_CLONE_STOPPED): Remove.
48250 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
48251 architectures, not kernel version.
48252 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
48253 (__ASSUME_NO_CLONE_DETACHED): Likewise.
48254 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
48255 (__ASSUME_WAITID_SYSCALL): Likewise.
48256 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
48257 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
48258 * README: State 2.6.16 as minimum Linux kernel version. Do not
48259 refer to older versions.
48260
48261 2012-08-06 Roland McGrath <roland@hack.frob.com>
48262
48263 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
48264 Define alphasort64 as an alias.
48265 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
48266 Define versionsort64 as an alias.
48267 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
48268 Define scandir64 as an alias.
48269 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
48270 Define scandirat64 as an alias.
48271 * dirent/alphasort64.c (alphasort64):
48272 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
48273 * dirent/versionsort64.c: Likewise.
48274 * dirent/scandir64.c: Likewise.
48275 * dirent/scandirat64.c: Likewise.
48276 * sysdeps/wordsize-64/alphasort.c: File removed.
48277 * sysdeps/wordsize-64/alphasort64.c: File removed.
48278 * sysdeps/wordsize-64/scandir.c: File removed.
48279 * sysdeps/wordsize-64/scandir64.c: File removed.
48280 * sysdeps/wordsize-64/scandirat.c: File removed.
48281 * sysdeps/wordsize-64/scandirat64.c: File removed.
48282 * sysdeps/wordsize-64/versionsort.c: File removed.
48283 * sysdeps/wordsize-64/versionsort64.c: File removed.
48284 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
48285 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
48286 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
48287 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
48288 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
48289 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
48290 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
48291 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
48292
48293 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
48294 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
48295 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
48296 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
48297 [defined __arch64__ || defined __sparcv9]
48298 (__INO_T_MATCHES_INO64_T): New macro.
48299 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
48300 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
48301 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
48302 * sysdeps/unix/sysv/linux/bits/dirent.h
48303 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
48304 (_DIRENT_MATCHES_DIRENT64): New macro.
48305
48306 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
48307 Define lockf64 as an alias.
48308 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
48309 Define fseeko64 as an alias.
48310 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
48311 Define ftello64 as an alias.
48312 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
48313 Define _IO_fgetpos64 and fgetpos64 as aliases.
48314 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
48315 Define _IO_fsetpos64 and fsetpos64 as aliases.
48316 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
48317 Conditionalize body on this.
48318 * libio/fseeko64.c: Likewise.
48319 * libio/ftello64.c: Likewise.
48320 * libio/iofgetpos64.c: Likewise.
48321 * libio/iofsetpos64.c: Likewise.
48322 * sysdeps/wordsize-64/lockf.c: File removed.
48323 * sysdeps/wordsize-64/lockf64.c: File removed.
48324 * sysdeps/wordsize-64/fseeko.c: File removed.
48325 * sysdeps/wordsize-64/fseeko64.c: File removed.
48326 * sysdeps/wordsize-64/ftello.c: File removed.
48327 * sysdeps/wordsize-64/ftello64.c: File removed.
48328 * sysdeps/wordsize-64/iofgetpos.c: File removed.
48329 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
48330 * sysdeps/wordsize-64/iofsetpos.c: File removed.
48331 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
48332 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
48333 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
48334 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
48335 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
48336 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
48337 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
48338 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
48339 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
48340 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
48341 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
48342
48343 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
48344 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
48345 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
48346 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
48347 [defined __arch64__ || defined __sparcv9]
48348 (__OFF_T_MATCHES_OFF64_T): New macro.
48349 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
48350 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
48351 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
48352 (__OFF_T_MATCHES_OFF64_T): New macro.
48353
48354 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
48355
48356 * stdlib/secure-getenv.c (__secure_getenv): Replace
48357 GLIBC_2_16 with GLIBC_2_17.
48358
48359 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
48360
48361 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
48362 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
48363
48364 2012-08-03 David S. Miller <davem@davemloft.net>
48365
48366 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48367
48368 2012-08-03 Joseph Myers <joseph@codesourcery.com>
48369
48370 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
48371 Remove.
48372 (__ASSUME_CORRECT_SI_PID): Likewise.
48373 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
48374 (__ASSUME_TMPFS_NAME): Likewise.
48375 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
48376 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
48377 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
48378 (HAVE_AUX_SECURE): Make definition unconditional.
48379 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
48380 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
48381
48382 2012-08-03 Roland McGrath <roland@hack.frob.com>
48383
48384 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
48385 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
48386 * sysdeps/mach/hurd/eloop-threshold.h: New file.
48387 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
48388 __eloop_threshold instead of SYMLOOP_MAX.
48389
48390 * sysdeps/generic/eloop-threshold.h: New file.
48391 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
48392 of MAXSYMLINKS.
48393 * elf/chroot_canon.c (chroot_canon): Likewise.
48394
48395 2012-08-03 Joseph Myers <joseph@codesourcery.com>
48396
48397 [BZ #13717]
48398 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
48399 Change to 2.6.0 everywhere.
48400 * sysdeps/unix/sysv/linux/configure: Regenerated.
48401 * sysdeps/unix/sysv/linux/kernel-features.h
48402 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
48403 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
48404 kernel versions.
48405 (__ASSUME_POSIX_TIMERS): Define unconditionally.
48406 (__ASSUME_FUTEX_REQUEUE): Remove.
48407 (__ASSUME_STATFS64): Define unconditionally.
48408 (__ASSUME_AT_SECURE): Likewise.
48409 (__ASSUME_CORRECT_SI_PID): Likewise.
48410 (__ASSUME_TGKILL): Define without depending on kernel version for
48411 i386.
48412 (__ASSUME_UTIMES): Likewise.
48413 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
48414 kernel version.
48415 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
48416 (__ASSUME_TMPFS_NAME): Likewise.
48417 * README: Update reference to Linux kernel versions.
48418
48419 2012-08-02 Marek Polacek <polacek@redhat.com>
48420
48421 [BZ# 14150]
48422 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
48423 libc_cv_asm_type_prefix with %.
48424 * configure: Regenerated.
48425 * include/libc-symbols.h: Remove comment about
48426 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
48427 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
48428 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
48429 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
48430 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
48431 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
48432 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
48433 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
48434 * elf/tst-unique2mod1.c: Likewise.
48435 * elf/tst-unique1mod2.c: Likewise.
48436 * elf/tst-unique1mod1.c: Likewise.
48437 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
48438 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
48439 Replace ASM_TYPE_DIRECTIVE with .type.
48440 * sysdeps/s390/s390-64/sysdep.h: Likewise.
48441 * sysdeps/i386/sysdep.h: Likewise.
48442 * sysdeps/x86_64/sysdep.h: Likewise.
48443 * sysdeps/sh/sysdep.h: Likewise.
48444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
48445 Do not define ASM_TYPE_DIRECTIVE.
48446 * sysdeps/powerpc/sysdep.h: Likewise.
48447 * sysdeps/powerpc/powerpc32/sysdep.h:
48448 Replace ASM_TYPE_DIRECTIVE with .type.
48449 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
48450 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
48451 * sysdeps/i386/fpu/e_powf.S: Likewise.
48452 * sysdeps/i386/fpu/e_expl.S: Likewise.
48453 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
48454 * sysdeps/i386/fpu/e_acosh.S: Likewise.
48455 * sysdeps/i386/fpu/e_pow.S: Likewise.
48456 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
48457 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
48458 * sysdeps/i386/fpu/s_expm1.S: Likewise.
48459 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
48460 * sysdeps/i386/fpu/e_log2.S: Likewise.
48461 * sysdeps/i386/fpu/e_log2l.S: Likewise.
48462 * sysdeps/i386/fpu/e_scalb.S: Likewise.
48463 * sysdeps/i386/fpu/e_powl.S: Likewise.
48464 * sysdeps/i386/fpu/e_log10f.S: Likewise.
48465 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
48466 * sysdeps/i386/fpu/e_logl.S: Likewise.
48467 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
48468 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
48469 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
48470 * sysdeps/i386/fpu/e_log2f.S: Likewise.
48471 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
48472 * sysdeps/i386/fpu/e_log.S: Likewise.
48473 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
48474 * sysdeps/i386/fpu/e_logf.S: Likewise.
48475 * sysdeps/i386/fpu/e_log10l.S: Likewise.
48476 * sysdeps/i386/fpu/e_atanh.S: Likewise.
48477 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
48478 * sysdeps/i386/fpu/e_log10.S: Likewise.
48479 * sysdeps/i386/fpu/s_frexp.S: Likewise.
48480 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
48481 * sysdeps/i386/fpu/s_asinh.S: Likewise.
48482 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
48483 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
48484 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
48485 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
48486 * sysdeps/i386/i686/strtok.S: Likewise.
48487 * sysdeps/i386/i386-mcount.S: Likewise.
48488 * sysdeps/i386/strtok.S: Likewise.
48489 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
48490 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
48491 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
48492 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
48493 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
48494 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
48495 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
48496 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
48497 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
48498 * sysdeps/x86_64/_mcount.S: Likewise.
48499 * sysdeps/x86_64/strtok.S: Likewise.
48500 * sysdeps/sh/_mcount.S: Likewise.
48501
48502 2012-08-01 Roland McGrath <roland@hack.frob.com>
48503
48504 * libio/iofopen.c: Include <fcntl.h>.
48505 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
48506 (_IO_fopen64, fopen64): Define as aliases.
48507 * libio/iofopen64.c: Include <fcntl.h>.
48508 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
48509 Conditionalize body on this.
48510 * sysdeps/wordsize-64/iofopen.c: File removed.
48511 * sysdeps/wordsize-64/iofopen64.c: File removed.
48512
48513 2012-08-01 Marek Polacek <polacek@redhat.com>
48514
48515 * libc/Makeconfig: Use elf in place of binfmt-subdir.
48516 Use dlfcn directly instead of a variable.
48517 (binfmt-subdir): Do not define.
48518 (dlfcn): Likewise.
48519
48520 2012-08-01 Joseph Myers <joseph@codesourcery.com>
48521
48522 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
48523 Remove all definitions.
48524 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
48525 <kernel-features.h>.
48526 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
48527 (miss_F_GETOWN_EX): Remove all definitions.
48528 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
48529 macro definition.
48530 [!__ASSUME_FCNTL64]: Remove conditional code.
48531 [__ASSUME_FCNTL64]: Make code unconditional.
48532 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
48533 <kernel-features.h>.
48534 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
48535 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
48536 (lockf64) [__NR_fcntl64]: Make code unconditional.
48537 (lockf64) [__ASSUME_FCNTL64]: Likewise.
48538
48539 * sysdeps/unix/sysv/linux/kernel-features.h
48540 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
48541 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
48542 Make code unconditional.
48543 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
48544 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
48545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
48546 [__NR_vfork]: Make code unconditional.
48547 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
48548 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
48549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
48550 [__NR_vfork]: Make code unconditional.
48551 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
48552 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
48553
48554 2012-08-01 Roland McGrath <roland@hack.frob.com>
48555
48556 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
48557 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
48558
48559 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
48560 Define mkstemp64 as an alias.
48561 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
48562 Define mkstemps64 as an alias.
48563 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
48564 Define mkostemp64 as an alias.
48565 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
48566 Define mkostemps64 as an alias.
48567 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
48568 Conditionalize body on this.
48569 * misc/mkostemp64.c: Likewise.
48570 * misc/mkostemps64.c: Likewise.
48571 * misc/mkstemps64.c: Likewise.
48572 * sysdeps/wordsize-64/mkstemp64.c: File removed.
48573 * sysdeps/wordsize-64/mkostemp64.c: File removed.
48574 * sysdeps/wordsize-64/mkostemp.c: File removed.
48575 * sysdeps/wordsize-64/mkstemp.c: File removed.
48576 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
48577 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
48578 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
48579 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
48580
48581 [BZ #14138]
48582 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
48583 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
48584 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
48585 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
48586
48587 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
48588 compat_symbol macros from <shlib-compat.h> rather than the underlying
48589 default_symbol_version and symbol_version macros, so that DEFAULT
48590 lines in shlib-versions are respected.
48591 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
48592
48593 2012-08-01 Florian Weimer <fweimer@redhat.com>
48594
48595 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
48596 Declare with warn_unused_result.
48597 (setgid, setregid, setegid, setresgid): Likewise.
48598 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
48599 Likewise.
48600 * WUR-REPORT: Remove set*id functions.
48601
48602 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
48603
48604 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
48605
48606 2012-07-31 Roland McGrath <roland@hack.frob.com>
48607
48608 [BZ #10191]
48609 * include/sys/socket.h (__libc_accept, __libc_accept4):
48610 Add attribute_hidden.
48611 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
48612
48613 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
48614 use of PTR_MANGLE.
48615 * inet/getnetgrent_r.c (setup): Likewise.
48616
48617 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
48618
48619 2012-07-31 David S. Miller <davem@davemloft.net>
48620
48621 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48622
48623 2012-07-31 Joseph Myers <joseph@codesourcery.com>
48624
48625 [BZ #13629]
48626 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
48627 value between 1.0 and 2.0 and smaller part has absolute value less
48628 than 1.0.
48629 * math/s_clog10.c (__clog10): Likewise.
48630 * math/s_clog10f.c (__clog10f): Likewise.
48631 * math/s_clog10l.c (__clog10l): Likewise.
48632 * math/s_clogf.c (__clogf): Likewise.
48633 * math/s_clogl.c (__clogl): Likewise.
48634 * math/libm-test.inc (clog_test): Add more tests.
48635 (clog10_test): Likewise.
48636 * sysdeps/i386/fpu/libm-test-ulps: Update.
48637 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48638
48639 2012-07-31 Florian Weimer <fweimer@redhat.com>
48640
48641 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
48642 Exit with zero in case no suitable GID is found, and write a
48643 message to standard error.
48644
48645 2012-07-30 Roland McGrath <roland@hack.frob.com>
48646
48647 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
48648 rather than to 1.
48649 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
48650 (MAXPATHLEN): Removed.
48651 (NOGROUP, NODEV): New macros.
48652 (setbit, clrbit, isset, isclr): New macros.
48653 (howmany, roundup, powerof2): New macros.
48654 (DEV_BSIZE): New macro.
48655
48656 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
48657 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
48658
48659 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
48660 definition on [!__NO_LONG_DOUBLE_MATH].
48661
48662 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
48663 PTR_MANGLE and PTR_DEMANGLE.
48664
48665 * socket/accept4.c (accept4): Rename to __libc_accept4.
48666 Define accept4 as a weak alias.
48667
48668 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
48669 on [_DIRENT_HAVE_D_TYPE].
48670 * io/ftw.c (ftw_dir): Likewise.
48671
48672 * io/xmknod.c (__xmknod): Don't check PATH for being null.
48673
48674 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
48675
48676 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
48677 Use the BSD numbers rather than the arbitrary ones we had.
48678 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
48679 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
48680 (SIGXCPU, SIGXFSZ): New macros.
48681 (_NSIG): Now 32.
48682
48683 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
48684 initializer on [_LIBC_REENTRANT].
48685
48686 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
48687 definitions inside [_POSIX_MAPPED_FILES].
48688
48689 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
48690
48691 * dirent/opendir.c: Include <fcntl.h>.
48692
48693 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
48694 (__libc_getspecific): Likewise.
48695 (__libc_key_create): Likewise.
48696
48697 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
48698 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
48699 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
48700 (tmpfile64): Define as alias.
48701 * sysdeps/wordsize-64/tmpfile.c: File removed.
48702 * sysdeps/wordsize-64/tmpfile64.c: File removed.
48703 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
48704 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
48705
48706 * stdio-common/vfscanf.c: Include <stdbool.h>.
48707 * nss/makedb.c: Likewise.
48708 * stdio-common/_i18n_number.h: Likewise.
48709 * argp/argp-help.c: Likewise.
48710 * posix/wordexp.c: Likewise.
48711 * sysdeps/posix/spawni.c: Likewise.
48712 * nss/nss_files/files-initgroups.c: Likewise.
48713 * stdio-common/reg-modifier.c: Include <stdlib.h>.
48714 * nss/nss_files/files-initgroups.c: Likewise.
48715 * nss/nss_db/db-netgrp.c: Likewise.
48716 * nss/nss_db/db-initgroups.c: Likewise.
48717 * io/fchmodat.c: Include <sys/stat.h>.
48718
48719 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
48720 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
48721
48722 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
48723 [HAVE_MMAP].
48724
48725 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
48726 Add multiple inclusion protection.
48727
48728 2012-07-27 David S. Miller <davem@davemloft.net>
48729
48730 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48731
48732 2012-07-27 Gary Benson <gbenson@redhat.com>
48733
48734 [BZ #14298]
48735 * elf/rtld.c: Include <stap-probe.h>.
48736 (dl_main): Added static probes "init_start" and "init_complete".
48737 * elf/dl-load.c: Include <stap-probe.h>.
48738 (lose): Take new parameter "nsid".
48739 Added static probe "map_failed".
48740 (_dl_map_object_from_fd): Pass namespace id to lose.
48741 Added static probe "map_start".
48742 (open_verify): Pass namespace id to lose.
48743 * elf/dl-open.c: Include <stap-probe.h>.
48744 (dl_open_worker) Added static probes "map_complete", "reloc_start"
48745 and "reloc_complete".
48746 * elf/dl-close.c: Include <stap-probe.h>.
48747 (_dl_close_worker): Added static probes "unmap_start" and
48748 "unmap_complete".
48749 * elf/rtld-debugger-interface.txt: New file documenting the above.
48750
48751 2012-07-26 Roland McGrath <roland@hack.frob.com>
48752
48753 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
48754 rather than a string variable.
48755 * sunrpc/rpc_main.c (h_output): Likewise.
48756 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
48757
48758 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
48759
48760 * inet/check_native.c: New file.
48761
48762 2012-07-26 Joseph Myers <joseph@codesourcery.com>
48763
48764 [BZ #13629]
48765 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
48766 if larger part has absolute value 1.0.
48767 * math/s_clog10.c (__clog10): Likewise.
48768 * math/s_clog10f.c (__clog10f): Likewise.
48769 * math/s_clog10l.c (__clog10l): Likewise.
48770 * math/s_clogf.c (__clogf): Likewise.
48771 * math/s_clogl.c (__clogl): Likewise.
48772 * math/libm-test.inc (clog_test): Add more tests.
48773 (clog10_test): Likewise.
48774 * sysdeps/i386/fpu/libm-test-ulps: Update.
48775 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48776
48777 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
48778 (pltexit): Likewise.
48779 (La_regs): Likewise.
48780 (La_retval): Likewise.
48781 (int_retval): Likewise.
48782 Update #error for removed macros to refer only to definitions in
48783 tst-audit.h.
48784 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
48785 macro.
48786 (pltexit): Likewise.
48787 (La_regs): Likewise.
48788 (La_retval): Likewise.
48789 (int_retval): Likewise.
48790 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
48791 macro.
48792 (pltexit): Likewise.
48793 (La_regs): Likewise.
48794 (La_retval): Likewise.
48795 (int_retval): Likewise.
48796 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
48797 macro.
48798 (pltexit): Likewise.
48799 (La_regs): Likewise.
48800 (La_retval): Likewise.
48801 (int_retval): Likewise.
48802 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
48803 macro.
48804 (pltexit): Likewise.
48805 (La_regs): Likewise.
48806 (La_retval): Likewise.
48807 (int_retval): Likewise.
48808 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
48809 macro.
48810 (pltexit): Likewise.
48811 (La_regs): Likewise.
48812 (La_retval): Likewise.
48813 (int_retval): Likewise.
48814 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
48815 macro.
48816 (pltexit): Likewise.
48817 (La_regs): Likewise.
48818 (La_retval): Likewise.
48819 (int_retval): Likewise.
48820 * sysdeps/generic/tst-audit.h: Update comment to refer only to
48821 macro definitions in tst-audit.h.
48822 * sysdeps/i386/tst-audit.h: New file.
48823 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
48824 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
48825 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
48826 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
48827 * sysdeps/sh/tst-audit.h: Likewise.
48828 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
48829 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
48830 * sysdeps/x86_64/tst-audit.h: Likewise.
48831
48832 2012-07-26 Andreas Jaeger <aj@suse.de>
48833
48834 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
48835 ptrace.
48836
48837 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
48838 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
48839 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
48840 PTRACE_O_MASK.
48841 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
48842 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
48843 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
48844
48845 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
48846 value.
48847
48848 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
48849 _sigsys.
48850 (si_call_addr, si_syscall, si_arch): Define new macro.
48851 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
48852 _sigsys.
48853 (si_call_addr, si_syscall, si_arch): Define new marcro.
48854 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
48855 _sigsys.
48856 (si_call_addr, si_syscall, si_arch): Define new macro.
48857 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
48858 _sigsys.
48859 (si_call_addr, si_syscall, si_arch): Define new macro.
48860
48861 2012-07-25 Joseph Myers <joseph@codesourcery.com>
48862
48863 [BZ #13717]
48864 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
48865 Change to 2.4.21 where previously 2.4.1.
48866 * sysdeps/unix/sysv/linux/configure: Regenerated.
48867 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
48868 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
48869 Linux kernel version.
48870 (__ASSUME_STD_AUXV): Remove.
48871 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
48872 kernel version.
48873 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
48874 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
48875 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
48876 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
48877 (__ASSUME_NETLINK_SUPPORT): Likewise.
48878 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
48879 (__no_netlink_support): Remove conditional definition.
48880 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
48881 Remove.
48882 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
48883 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
48884 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
48885 (if_nameindex_ioctl): Remove.
48886 (if_nameindex_netlink): Do not handle __no_netlink_support.
48887 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
48888 code.
48889 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
48890 Remove conditional code.
48891 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
48892 code.
48893 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
48894 unconditional.
48895 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
48896 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
48897 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
48898 Remove.
48899 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
48900 [!__ASSUME_STD_AUXV]: Remove conditional code.
48901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
48902 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
48903 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
48904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
48905 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
48906 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
48907 code.
48908 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
48909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
48910 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
48911 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
48912 conditional code.
48913 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
48914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
48915 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
48916 code.
48917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
48918 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
48919 conditional code.
48920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
48921 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
48922 code unconditional.
48923 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
48924 conditional code.
48925 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
48926 unconditional.
48927 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
48928 conditional code.
48929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
48930 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
48931 unconditional.
48932 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
48933 conditional code.
48934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
48935 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
48936 code unconditional.
48937 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
48938 conditional code.
48939 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
48940 unconditional.
48941 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
48942 conditional code.
48943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
48944 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
48945 code unconditional.
48946 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
48947 conditional code.
48948 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
48949 unconditional.
48950 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
48951 conditional code.
48952
48953 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
48954
48955 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
48956 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
48957 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
48958 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
48959 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
48960 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
48961 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
48962 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
48963 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
48964 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
48965 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
48966 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
48967 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
48968 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
48969 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
48970 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
48971 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
48972 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
48973 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
48974 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
48975 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
48976 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
48977 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
48978
48979 2012-07-25 Florian Weimer <fweimer@redhat.com>
48980
48981 * Versions.def: Add GLIBC_2.17.
48982 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
48983 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
48984 Introduce __libc_secure_getenv.
48985 * stdlib/Versions (2.17): Add secure_getenv
48986 (GLIBC_PRIVATE): Add __libc_secure_getenv.
48987 * stdlib/secure-getenv.c: Rename __secure_getenv to
48988 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
48989 symbol __secure_getenv for GLIBC_2.0.
48990 * stdlib/tst-secure-getenv.c: New.
48991 * stdlib/Makefile (tests): Add testcase.
48992 * manual/startup.texi (Environment Access): Document
48993 secure_getenv.
48994 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
48995 __libc_secure_getenv.
48996 * inet/ruserpass.c (ruserpass): Likewise.
48997 * malloc/mtrace.c (mtrace): Likewise.
48998 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
48999 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
49000 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
49001 * sysdeps/posix/tempname.c: Likewise. Evaluate
49002 HAVE_SECURE_GETENV.
49003 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
49004 __secure_getenv to __libc_secure_getenv.
49005 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
49006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
49007 Likewise.
49008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
49009 Likewise.
49010 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
49011 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
49012 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
49013 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
49014 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
49015 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
49016 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
49017
49018 2012-07-25 Joseph Myers <joseph@codesourcery.com>
49019
49020 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
49021 (struct La_i86_retval): Likewise.
49022 (struct La_x86_64_regs): Likewise.
49023 (struct La_x86_64_retval): Likewise.
49024 (struct La_x32_regs): Likewise.
49025 (struct La_x32_retval): Likewise.
49026 (struct La_ppc32_regs): Likewise.
49027 (struct La_ppc32_retval): Likewise.
49028 (struct La_ppc64_regs): Likewise.
49029 (struct La_ppc64_retval): Likewise.
49030 (struct La_sh_regs): Likewise.
49031 (struct La_sh_retval): Likewise.
49032 (struct La_s390_32_regs): Likewise.
49033 (struct La_s390_32_retval): Likewise.
49034 (struct La_s390_64_regs): Likewise.
49035 (struct La_s390_64_retval): Likewise.
49036 (struct La_sparc32_regs): Likewise.
49037 (struct La_sparc32_retval): Likewise.
49038 (struct La_sparc64_regs): Likewise.
49039 (struct La_sparc64_retval): Likewise.
49040 (struct audit_ifaces): Remove architecture-specific pltenter and
49041 pltexit members.
49042 * sysdeps/i386/ldsodefs.h: New file.
49043 * sysdeps/powerpc/ldsodefs.h: Likewise.
49044 * sysdeps/s390/ldsodefs.h: Likewise.
49045 * sysdeps/sh/ldsodefs.h: Likewise.
49046 * sysdeps/sparc/ldsodefs.h: Likewise.
49047 * sysdeps/x86_64/ldsodefs.h: Likewise.
49048
49049 2012-07-25 Marek Polacek <polacek@redhat.com>
49050
49051 [BZ #6808]
49052 * math/libm-test.inc (yn_test): Add another test.
49053 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
49054 to ERANGE when the result is +-Inf.
49055 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
49056 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
49057 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
49058 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
49059
49060 2012-07-24 Joseph Myers <joseph@codesourcery.com>
49061
49062 * conform/data/time.h-data (NULL): Use macro-constant. Require
49063 equal to 0.
49064 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
49065 clock_t.
49066 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
49067
49068 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
49069
49070 * configure.in <sysdeps resolving>: Correct printing
49071 Implies_before.
49072 * configure: Regenerate.
49073
49074 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
49075
49076 * math/w_ilogb.c: Include <limits.h>.
49077 * math/w_ilogbl.c: Likewise.
49078
49079 2012-07-20 Joseph Myers <joseph@codesourcery.com>
49080
49081 * manual/lang.texi (__va_copy): Document primarily as ISO C99
49082 va_copy. Document allowing for unavailable va_copy only as
49083 pre-C99 compatibility.
49084 * manual/string.texi (Copying and Concatenation): Use va_copy
49085 instead of __va_copy in concat example.
49086
49087 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
49088
49089 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
49090 (__sendto): Use create_address_port. Initialize APORT and deallocate
49091 it if not null.
49092
49093 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
49094 with O_NOLINK passed to __file_name_lookup.
49095
49096 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
49097 with O_NOLINK passed to __file_name_lookup.
49098
49099 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
49100 negative N or less than NGIDS.
49101
49102 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
49103 type to string_t. Set ERANGE as errno and return it if NAME is not big
49104 enough. Use memcpy instead of strncpy.
49105
49106 2012-07-20 Joseph Myers <joseph@codesourcery.com>
49107
49108 * elf/Makefile (check-data): Remove.
49109 (localplt.data): New vpath directive.
49110 ($(objpfx)check-localplt.out): Use localplt.data from vpath
49111 instead of $(check-data).
49112 * scripts/data/localplt-generic.data: Move to ...
49113 * sysdeps/generic/localplt.data: ... here.
49114 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
49115 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
49116 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
49117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
49118 ... here.
49119 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
49120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
49121 ... here.
49122 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
49123 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
49124 ... here.
49125 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
49126 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
49127 ... here.
49128 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
49129 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
49130 ... here.
49131 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
49132 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
49133 ... here.
49134
49135 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49136
49137 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
49138 PPC32 and PPC64 files.
49139 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
49140 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
49141
49142 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49143
49144 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
49145 __makecontext_ret to ...
49146 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
49147 ... here and call exit if uc_link is NULL. New file.
49148 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
49149 __makecontext_ret.S.
49150 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
49151 __makecontext_ret to ...
49152 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
49153 ... here and call exit if uc_link is NULL. New file.
49154 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
49155 __makecontext_ret.S.
49156
49157 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49158
49159 * elf/elf.h (R_390_IRELATIVE): New definition.
49160 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
49161 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
49162 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
49163 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
49164 (elf_machine_lazy_rel): Likewise.
49165 * sysdeps/s390/dl-irel.h: New file.
49166 * sysdeps/s390/s390-64/memcpy.S: New asm code.
49167 * sysdeps/s390/s390-64/memset.S: New asm code.
49168 * sysdeps/s390/s390-64/memcmp.S: New asm code.
49169 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
49170 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
49171 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
49172 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
49173 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
49174 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
49175 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
49176 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
49177 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
49178 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
49179 * sysdeps/s390/s390-32/memcpy.S: New asm code.
49180 * sysdeps/s390/s390-32/memset.S: New asm code.
49181 * sysdeps/s390/s390-32/memcmp.S: New asm code.
49182
49183 2012-07-17 Marek Polacek <polacek@redhat.com>
49184
49185 [BZ #14349]
49186 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
49187 * sysdeps/s390/s390-64/configure.in: Likewise.
49188 * sysdeps/sparc/configure.in: Likewise.
49189 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
49190 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
49191 * sysdeps/i386/configure.in: Likewise.
49192 * sysdeps/x86_64/configure.in: Likewise.
49193 * sysdeps/sh/configure.in: Likewise.
49194 * sysdeps/s390/s390-32/configure: Regenerated.
49195 * sysdeps/s390/s390-64/configure: Likewise.
49196 * sysdeps/x86_64/configure: Likewise.
49197 * sysdeps/sh/configure: Likewise.
49198 * sysdeps/powerpc/powerpc64/configure: Likewise.
49199 * sysdeps/powerpc/powerpc32/configure: Likewise.
49200 * sysdeps/sparc/configure: Likwise.
49201 * sysdeps/i386/configure: Likewise.
49202
49203 * elf/dl-open.c: Comment fixes.
49204
49205 2012-07-17 Joseph Myers <joseph@codesourcery.com>
49206
49207 * Makefile [CXX] (check-data): Remove.
49208 [CXX] (c++-types.data): New vpath directive.
49209 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
49210 vpath. Do not allow for C++ type data being missing.
49211 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
49212 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
49213 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
49214 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
49215 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
49216 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
49217 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
49218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
49219 ... here.
49220 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
49221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
49222 ... here.
49223 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
49224 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
49225 ... here.
49226 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
49227 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
49228 ... here.
49229 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
49230 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
49231 ... here.
49232 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
49233 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
49234 ... here.
49235 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
49236 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
49237 ... here.
49238 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
49239 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
49240
49241 * elf/tls-macros.h (TLS_LE): Move architecture-specific
49242 definitions to architecture-specific files.
49243 (TLS_IE): Likewise.
49244 (TLS_LD): Likewise.
49245 (TLS_GD): Likewise.
49246 * sysdeps/i386/tls-macros.h: New file.
49247 * sysdeps/powerpc/tls-macros.h: Likewise.
49248 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
49249 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
49250 * sysdeps/sh/tls-macros.h: Likewise.
49251 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
49252 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
49253 * sysdeps/x86_64/tls-macros.h: Likewise.
49254
49255 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
49256
49257 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
49258 zero value for regular exit case.
49259
49260 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
49261 (__start_context): Preserve zero value for regular exit case.
49262
49263 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
49264 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49265
49266 * manual/setjmp.texi (setcontext): Clarify normal process
49267 termination when uc_link is the null pointer.
49268 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
49269 exit call.
49270
49271 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
49272
49273 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
49274 preprocessor. Test for each exception mask separately.
49275
49276 2012-07-16 Andreas Jaeger <aj@suse.de>
49277
49278 * po/ru.po: Update from translation team.
49279
49280 2012-07-15 Joseph Myers <joseph@codesourcery.com>
49281
49282 * conform/data/string.h-data (NULL): Use macro-constant. Require
49283 equal to 0.
49284 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
49285 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
49286 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
49287 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
49288 [ISO || ISO99 || ISO11] (*_t): Do not allow.
49289
49290 2012-07-13 Andreas Jaeger <aj@suse.de>
49291
49292 * po/fr.po: Update from translation team.
49293
49294 2012-07-12 Marek Polacek <polacek@redhat.com>
49295
49296 [BZ #14173]
49297 * math/libm-test.inc (yn_test): Add test for BZ #14173.
49298 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
49299 loop condition.
49300
49301 2012-07-12 Joseph Myers <joseph@codesourcery.com>
49302
49303 [BZ #13717]
49304 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
49305 Change to 2.4.1 where previously 2.4.0.
49306 * sysdeps/unix/sysv/linux/configure: Regenerated.
49307 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
49308 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
49309 version.
49310 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
49311 (__ASSUME_AT_CLKTCK): Remove.
49312 (__ASSUME_AT_PAGESIZE): Likewise.
49313 (__ASSUME_AT_XID): Likewise.
49314 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
49315 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
49316 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
49317 unconditionally.
49318 (HAVE_AUX_PAGESIZE): Likewise.
49319 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
49320 [__ASSUME_AT_CLKTCK]: Make code unconditional.
49321 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
49322
49323 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
49324
49325 [BZ #14307]
49326 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
49327 the temporary buffer used to invoke __gethostbyname2_r,
49328 __gethostbyaddr_r and gethostbyname4_r to make room for struct
49329 host_data / struct gaih_addrtuple.
49330 * resolv/nss_dns/dns-host.c (global scope): Move definition of
49331 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
49332 header file nss/nsswitch.h.
49333 * nss/nsswitch.h (global scope): Add definition of implementation
49334 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
49335 resolv/nss_dns/dns-host.c).
49336
49337 2012-07-11 Andreas Jaeger <aj@suse.de>
49338
49339 * po/fr.po: Update from translation team.
49340
49341 * po/sv.po: Update from translation team
49342 * po/fr.po: Another update from translation team.
49343
49344 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49345
49346 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
49347 for subnormals or multiply small sinh result by itself.
49348 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
49349 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49350
49351 2012-07-11 David S. Miller <davem@davemloft.net>
49352
49353 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49354
49355 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
49356
49357 [BZ #14347]
49358 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
49359 (INTERNAL_MARK): Shift it here.
49360
49361 2012-07-10 Marek Polacek <polacek@redhat.com>
49362
49363 [BZ #14151]
49364 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
49365 libc_cv_asm_global_directive with .globl.
49366 * configure: Regenerated.
49367 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
49368 with .globl.
49369 * sysdeps/i386/configure: Regenerated.
49370 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
49371 with .globl.
49372 * sysdeps/x86_64/configure: Regenerated.
49373 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
49374 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
49375 * elf/tst-unique2mod2.c: Likewise.
49376 * elf/tst-unique2mod1.c: Likewise.
49377 * elf/tst-unique1mod2.c: Likewise.
49378 * elf/tst-unique1mod1.c: Likewise.
49379 * sysdeps/s390/s390-32/sysdep.h: Likewise.
49380 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
49381 * sysdeps/s390/s390-64/sysdep.h: Likewise.
49382 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
49383 * sysdeps/mach/sysdep.h: Likewise.
49384 * sysdeps/i386/sysdep.h: Likewise.
49385 * sysdeps/i386/i386-mcount.S: Likewise.
49386 * sysdeps/x86_64/_mcount.S: Likewise.
49387 * sysdeps/x86_64/sysdep.h: Likewise.
49388 * sysdeps/sh/_mcount.S: Likewise.
49389 * sysdeps/sh/sysdep.h: Likewise.
49390 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
49391 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
49392 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
49393 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
49394 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
49395 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
49396 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
49397 * locale/localeinfo.h: Likewise.
49398 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
49399 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
49400
49401 2012-07-09 Roland McGrath <roland@hack.frob.com>
49402
49403 [BZ #14336]
49404 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
49405 system".
49406 * manual/message.texi (The Uniforum approach): Likewise.
49407 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
49408 (glibc iconv Implementation): Likewise.
49409
49410 2012-07-09 Joseph Myers <joseph@codesourcery.com>
49411
49412 [BZ #14337]
49413 * math/s_clog.c (__clog): Avoid scaling a value down where that
49414 could result in underflow.
49415 * math/s_clog10.c (__clog10): Likewise.
49416 * math/s_clog10f.c (__clog10f): Likewise.
49417 * math/s_clog10l.c (__clog10l): Likewise.
49418 * math/s_clogf.c (__clogf): Likewise.
49419 * math/s_clogl.c (__clogl): Likewise.
49420 * math/libm-test.inc (clog_test): Add more tests.
49421 (clog10_test): Likewise.
49422 * sysdeps/i386/fpu/libm-test-ulps: Update.
49423 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49424
49425 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
49426
49427 [BZ #14283]
49428 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
49429 by 7 not 8 to examine high bit of fractional part.
49430
49431 [BZ #14042]
49432 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
49433 for call to __mcount_internal.
49434 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
49435 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
49436 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
49437
49438 2012-07-06 Joseph Myers <joseph@codesourcery.com>
49439
49440 [BZ #14154]
49441 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
49442 approximation for values within 0x1p-13f of an odd multiple of
49443 pi/4.
49444 * math/libm-test.inc (tan_test): Do not allow spurious underflow
49445 exception. Add more tests.
49446 * sysdeps/i386/fpu/libm-test-ulps: Update.
49447
49448 [BZ #6778]
49449 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
49450 inputs and return -1 for them. Do not check for +Inf in case not
49451 reachable for +Inf.
49452 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
49453 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
49454 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
49455 and return -1 for them. Do not check for +Inf in case not
49456 reachable for +Inf.
49457 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
49458 define.
49459 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
49460 and return -1 for them. Do not check for +Inf in case not
49461 reachable for +Inf.
49462 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
49463 spurious underflow.
49464 * sysdeps/i386/fpu/libm-test-ulps: Update.
49465 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49466
49467 2012-07-06 Mike Frysinger <vapier@gentoo.org>
49468
49469 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
49470
49471 2012-07-05 Joseph Myers <joseph@codesourcery.com>
49472
49473 [BZ #14157]
49474 [BZ #14331]
49475 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
49476 could result in spurious underflow. Scale down values above
49477 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
49478 * math/s_csqrtf.c (__csqrtf): Likewise.
49479 * math/s_csqrtl.c (__csqrtl): Likewise.
49480 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
49481 spurious underflow.
49482 * sysdeps/i386/fpu/libm-test-ulps: Update.
49483 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49484
49485 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
49486
49487 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
49488 xopen-msg.sed.
49489 * catgets/xopen-msg.awk: New file.
49490 * catgets/xopen-msg.sed: Removed.
49491
49492 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
49493 po2text.sed.
49494 * intl/po2test.awk: New file.
49495 * intl/po2test.sed: Removed.
49496
49497 2012-07-04 Joseph Myers <joseph@codesourcery.com>
49498
49499 [BZ #14328]
49500 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
49501 or multiply small sinh result by itself.
49502 * math/s_ctanf.c (__ctanf): Likewise.
49503 * math/s_ctanh.c (__ctanh): Likewise.
49504 * math/s_ctanhf.c (__ctanhf): Likewise.
49505 * math/s_ctanhl.c (__ctanhl): Likewise.
49506 * math/s_ctanl.c (__ctanl): Likewise.
49507 * math/libm-test.inc (ctan_test_tonearest): New function.
49508 (ctan_test_towardzero): Likewise.
49509 (ctan_test_downward): Likewise.
49510 (ctan_test_upward): Likewise.
49511 (ctanh_test_tonearest): Likewise.
49512 (ctanh_test_towardzero): Likewise.
49513 (ctanh_test_downward): Likewise.
49514 (ctanh_test_upward): Likewise.
49515 (main): Call these new functions.
49516 * sysdeps/i386/fpu/libm-test-ulps: Update.
49517 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49518
49519 2012-07-03 Mike Frysinger <vapier@gentoo.org>
49520
49521 * .gitignore: Delete /ports entry.
49522
49523 2012-07-03 Andreas Jaeger <aj@suse.de>
49524
49525 * po/bg.po: Update from translation team.
49526 * po/cs.po: Likewise.
49527 * po/de.po: Likewise.
49528 * po/hr.po: Likewise.
49529 * po/nl.pl: Likewise.
49530 * po/pl.po: Likewise.
49531 * po/vi.po: Likewise.
49532
49533 2012-07-03 Joseph Myers <joseph@codesourcery.com>
49534
49535 * Makeconfig [!+link] (+link-before-libc): New variable.
49536 [!+link] (+link-after-libc): Likewise.
49537 [!+link] (+link-tests): Likewise.
49538 [!+link] (+link): Define in terms of $(+link-before-libc) and
49539 $(+link-after-libc).
49540 [!+link-static] (+link-static-before-libc): New variable.
49541 [!+link-static] (+link-static-after-libc): Likewise.
49542 [!+link-static] (+link-static-tests): Likewise.
49543 [!+link-static] (+link-static): Define in terms of
49544 $(+link-static-before-libc) and $(+link-static-after-libc).
49545 [build-shared] (link-libc-before-gnulib): New variable.
49546 [build-shared] (link-libc-tests): Likewise.
49547 [build-shared] (link-libc): Define in terms of
49548 $(link-libc-before-gnulib).
49549 [!build-shared] (link-libc-tests): New variable.
49550 (link-libc-static-tests): New variable.
49551 [!gnulib] (gnulib-arch): New variable.
49552 [!gnulib] (gnulib-tests): Likewise.
49553 [!gnulib] (static-gnulib-arch): Likewise.
49554 [!gnulib] (static-gnulib-tests): Likewise.
49555 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
49556 Define with "=" instead of ":=".
49557 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
49558 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
49559 * Rules (binaries-all-notests): New variable.
49560 (binaries-all-tests): Likewise.
49561 (binaries-static-notests): Likewise.
49562 (binaries-static-tests): Likewise.
49563 (binaries-all): Define using $(binaries-all-notests) and
49564 $(binaries-all-tests).
49565 (binaries-static): Define using $(binaries-static-notests) and
49566 $(binaries-static-tests).
49567 (binaries-shared-tests): New variable.
49568 (binaries-shared-notests): Likewise.
49569 (binaries-shared): Remove variable.
49570 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
49571 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
49572 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
49573 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
49574 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
49575 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
49576 * elf/Makefile (sln-modules): New variable.
49577 (extra-objs): Add $(sln-modules:=.o).
49578 (ldconfig-modules): Add static-stubs.
49579 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
49580 * elf/static-stubs.c: New file.
49581
49582 [BZ #14283]
49583 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
49584 by 7 not 8 to examine high bit of fractional part. Use volatile
49585 variables when splitting into final array of floats if
49586 __FLT_EVAL_METHOD__ != 0.
49587 * math/libm-test.inc (cos_test): Add another test.
49588 (sin_test): Likewise.
49589 * sysdeps/i386/fpu/libm-test-ulps: Update.
49590
49591 [BZ #14273]
49592 * math/libm-test.inc (cosh_test): Add more tests.
49593
49594 * version.h (RELEASE): Set to "development".
49595 (VERSION): Set to "2.16.90".
49596
49597 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
49598
49599 * NEWS: Update copyright. Remove last-updated date.
49600 Mention math library bug fixes and timezone data changes.
49601 * README: Mention GNU/Hurd, x32, and HPPA support status.
49602
49603 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
49604
49605 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
49606
49607 2012-06-27 Andreas Jaeger <aj@suse.de>
49608
49609 * manual/contrib.texi (Contributors): Add Samuel Thibault.
49610
49611 2012-06-25 Andreas Jaeger <aj@suse.de>
49612
49613 * sysdeps/s390/fpu/libm-test-ulps: Update.
49614
49615 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
49616 Thomas Schwinge <thomas@codesourcery.com>
49617
49618 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
49619 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
49620 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
49621 fanotify_mark.
49622
49623 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
49624
49625 * sysdeps/mach/start.c: Remove file.
49626 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
49627 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
49628 * sysdeps/sh/init-first.c: Likewise.
49629
49630 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
49631 registers for frame unwinding purposes, add CFI directives.
49632 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
49633 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
49634 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
49635 Likewise.
49636
49637 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
49638 __fortify_fail returning.
49639 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
49640
49641 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
49642 sysdeps/sh/____longjmp_chk.S.
49643 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
49644 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
49645 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
49646 (gen-as-const-headers): Append sigaltstack-offsets.sym.
49647
49648 * sysdeps/sh/abort-instr.h: New file.
49649 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
49650 process in case exit returns.
49651
49652 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
49653 initialize the GOT register before use.
49654
49655 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
49656 calculation of ARGC > 4.
49657
49658 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
49659 meaningful names to some local labels.
49660
49661 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
49662 Kaz Kojima <kkojima@rr.iij4u.or.jp>
49663
49664 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
49665 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
49666 (__arch_compare_and_exchange_val_16_acq): Likewise.
49667 (__arch_compare_and_exchange_val_32_acq): Likewise.
49668 (atomic_exchange_and_add): Fix gUSA sequence.
49669 (atomic_add): Likewise.
49670 (atomic_add_negative): Likewise.
49671 (atomic_add_zero): Likewise.
49672 (atomic_bit_test_set): Likewise.
49673
49674 2012-06-22 Andreas Schwab <schwab@redhat.com>
49675
49676 [BZ #13579]
49677 * include/link.h (struct link_map): Add l_free_initfini.
49678 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
49679 l_initfini.
49680 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
49681 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
49682 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
49683 set.
49684
49685 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
49686
49687 * configure.in: Use AC_LANG_SOURCE.
49688 * configure: Regenerate.
49689
49690 2012-06-22 Roland McGrath <roland@hack.frob.com>
49691
49692 * configure.in (libc_cv_localstatedir): New substituted variable.
49693 * configure: Regenerated.
49694 * config.make.in (localstatedir): New variable, substituted from
49695 libc_cv_localstatedir.
49696 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
49697 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
49698 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
49699 * sysdeps/gnu/configure: Regenerated.
49700
49701 2012-06-21 Jeff Law <law@redhat.com>
49702
49703 [BZ #14277]
49704 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
49705 free. Simplify list management for _LIBC case.
49706
49707 2012-06-21 Joseph Myers <joseph@codesourcery.com>
49708
49709 [BZ #14273]
49710 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
49711 Clear sign bit of 64-bit integer value before comparing against
49712 overflow value.
49713
49714 * sysdeps/mach/configure: Regenerated.
49715
49716 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
49717
49718 [BZ #14278]
49719 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
49720
49721 2012-06-21 Jeff Law <law@redhat.com>
49722
49723 [BZ #13882]
49724 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
49725 uint16_t for elements in the "seen" array to avoid char overflows.
49726 * elf/dl-fini.c (_dl_sort_fini): Likewise.
49727 * elf/dl-open.c (dl_open_worker): Likewise.
49728
49729 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
49730
49731 * scripts/list-sources.sh: Scan PORTS for translations.
49732 * po/libc.pot: Regenerated.
49733
49734 2012-06-21 Andreas Jaeger <aj@suse.de>
49735
49736 [BZ #12194]
49737 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
49738 warning.
49739 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
49740 * bits/byteswap-16.h (__bswap_16): Likewise.
49741 * bits/byteswap.h (__bswap_constant_16): Likewise.
49742
49743 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
49744
49745 [BZ #14117]
49746 * sysdeps/i386/fpu_control.h: Removed.
49747 * sysdeps/x86_64/fpu_control.h: Moved to ...
49748 * sysdeps/x86/fpu_control.h: Here.
49749
49750 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
49751 (_FPU_SETCW): Likewise.
49752
49753 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
49754
49755 [BZ #14117]
49756 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
49757 * sysdeps/x86/fpu/bits/mathinline.h: This.
49758 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
49759
49760 [BZ #14050]
49761 [BZ #14117]
49762 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
49763 functions if __x86_64__ is defined.
49764
49765 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
49766
49767 * string/endian.h: Add !__ASSEMBLER__ condition for including
49768 conversion interfaces.
49769
49770 2012-06-15 Joseph Myers <joseph@codesourcery.com>
49771
49772 [BZ #14241]
49773 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
49774 of ABS(x) in calculating zero to negative powers other than odd
49775 integers.
49776 * math/libm-test.inc (pow_test): Add more tests.
49777
49778 2012-06-15 Andreas Jaeger <aj@suse.de>
49779
49780 * manual/contrib.texi (Contributors): Update entry of Liubov
49781 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
49782 Machado Filho.
49783
49784 2012-06-15 Cyril Hrubis <metan@ucw.cz>
49785
49786 * string/string.h: Add __wur to GNU version of strerror_r.
49787
49788 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
49789
49790 [BZ #14229]
49791 * string/Makefile (tests): Add tst-strtok_r.
49792 * string/tst-strtok_r.c: New file.
49793 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
49794 RAX_LP/RDX_LP on SAVE_PTR.
49795
49796 2012-06-14 Roland McGrath <roland@hack.frob.com>
49797
49798 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
49799
49800 2012-06-14 Joseph Myers <joseph@codesourcery.com>
49801
49802 * libm_test.inc (csqrt_test): Allow more spurious underflow
49803 exceptions.
49804 (j0_test): Likewise.
49805 (j1_test): Likewise.
49806 (y0_test): Likewise.
49807 (y1_test): Likewise.
49808
49809 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
49810
49811 * po/Makefile (libc.pot): Use UTF-8 charset.
49812
49813 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
49814
49815 [BZ #14210]
49816 Suppress sign-conversion warning from FD_SET.
49817 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
49818 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
49819 not unsigned long int.
49820 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
49821
49822 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
49823
49824 [BZ #14050]
49825 [BZ #14117]
49826 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
49827 __extern_always_inline instead of __extern_inline.
49828 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
49829 (__signbit): Likewise.
49830 (__signbitl): Support C++ namespace.
49831 (lrintf): New inline function.
49832 (lrint): Likewise.
49833 (llrintf): Likewise.
49834 (llrint): Likewise.
49835 (fmaxf): Likewise.
49836 (fmax): Likewise.
49837 (fminf): Likewise.
49838 (fmin): Likewise.
49839 (rint): Likewise.
49840 (rintf): Likewise.
49841 (ceil): Likewise.
49842 (ceilf): Likewise.
49843 (floor): Likewise.
49844 (floorf): Likewise.
49845 (nearbyint): Likewise.
49846 (nearbyintf): Likewise.
49847
49848 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
49849
49850 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
49851 non-default versions.
49852
49853 2012-06-11 Roland McGrath <roland@hack.frob.com>
49854
49855 [BZ #14218]
49856 * manual/argp.texi (Argp): Reword argp_parse description slightly.
49857
49858 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
49859
49860 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
49861 (FE_UPWARD, FE_DOWNWARD): Don't define.
49862 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
49863 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
49864
49865 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
49866 reading it.
49867 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
49868 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
49869
49870 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
49871
49872 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
49873 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
49874 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
49875 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
49876
49877 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
49878
49879 [BZ #14117]
49880 * sysdeps/i386/fpu/bits/fenv.h: Removed.
49881 * sysdeps/i386/fpu/Implies: New file.
49882 * sysdeps/x86_64/fpu/Implies: Likewise.
49883 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
49884 * sysdeps/x86/fpu/bits/fenv.h: This.
49885
49886 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
49887 __SSE_MATH__.
49888
49889 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
49890
49891 [BZ #14134]
49892 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
49893 character 0xffff that matches the last element of the
49894 conversion table.
49895
49896 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49897
49898 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
49899 fmodl commit.
49900
49901 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49902
49903 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
49904 values higher than 25.6283.
49905
49906 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49907
49908 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
49909 subnormal exponent extraction and add some __builtin_expect.
49910 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
49911 Fix for subnormal mantissa calculation.
49912
49913 2012-06-04 Mike Frysinger <vapier@gentoo.org>
49914
49915 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
49916 cpu2 is -1 and errno is not ENOSYS.
49917
49918 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
49919
49920 [BZ #14117]
49921 * sysdeps/i386/i486/bits/string.h: Renamed to ...
49922 * sysdeps/x86/bits/string.h: This.
49923 * sysdeps/x86_64/bits/string.h: Removed.
49924
49925 * sysdeps/i386/i486/bits/string.h: Define inline functions only
49926 if not compiling for x86-64, but compiling for >= i486.
49927
49928 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
49929 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
49930
49931 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
49932 New macro from Linux kernel 3.4.0.
49933 (FP_XSTATE_MAGIC2): Likewise.
49934 (FP_XSTATE_MAGIC2_SIZE): Likewise.
49935 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
49936 (struct _fpx_sw_bytes): New struct.
49937 (struct _xsave_hdr): Likewise.
49938 (struct _ymmh_state): Likewise.
49939 (struct _xstate): Likewise.
49940
49941 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
49942 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
49943 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
49944 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
49945 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
49946 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
49947
49948 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
49949 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
49950 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
49951 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
49952 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
49953 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
49954
49955 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
49956
49957 [BZ #13743]
49958 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
49959 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
49960 (sysdep_headers): Include sys/platform/ppc.h.
49961 * sysdeps/powerpc/test-gettimebase.c: Test for
49962 __ppc_get_timebase() to catch future ISA opcode/insn changes.
49963 * manual/Makefile (appendices): Include platform.texi.
49964 * manual/contrib.texi (Contributors): Update @node pointers.
49965 * manual/maint.texi (Maintenance): Likewise.
49966 (Platform): New node.
49967 * manual/platform.texi: New file. Document the new features.
49968
49969 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
49970 Jakub Jelinek <jakub@redhat.com>
49971
49972 [BZ #14188]
49973 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
49974 where __builtin_expect is unavailable.
49975
49976 2012-06-03 David S. Miller <davem@davemloft.net>
49977
49978 * stdlib/longlong.h: Updated from GCC.
49979
49980 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
49981
49982 [BZ #14042]
49983 * sysdeps/powerpc/powerpc32/mcount.c: New file.
49984 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
49985 __mcount_internal.
49986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
49987 (GLIBC_2.16): Likewise.
49988
49989 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
49990
49991 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
49992
49993 2012-06-01 Joseph Myers <joseph@codesourcery.com>
49994
49995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
49996 (default-abi): New variable.
49997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
49998 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
49999 variable.
50000 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
50001 Likewise.
50002 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
50003 Likewise.
50004 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
50005 Likewise.
50006
50007 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
50008 definition. Document in comment.
50009
50010 2012-06-01 David S. Miller <davem@davemloft.net>
50011
50012 * stdlib/longlong.h: Updated from GCC.
50013
50014 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
50015
50016 [BZ #14117]
50017 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
50018 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
50019 sys/debugreg.h sys/io.h here.
50020 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
50021 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
50022 sys/io.h.
50023 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
50024 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
50025 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
50026 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
50027 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
50028 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
50029
50030 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
50031 Define only if __x86_64__ is defined.
50032
50033 2012-06-01 Joseph Myers <joseph@codesourcery.com>
50034
50035 [BZ #14048]
50036 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
50037 Use int64_t for variable i.
50038 * math/libm-test.inc (fmod_test): Add more tests.
50039
50040 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
50041 z computation is not scheduled after fetestexcept.
50042 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
50043 Use math_force_eval instead of asm to ensure calculation scheduled
50044 before exception test.
50045 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
50046 Ensure a1 + u.d computation is not scheduled after fetestexcept.
50047
50048 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
50049
50050 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
50051 computation is not scheduled after fetestexcept.
50052
50053 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
50054
50055 [BZ #14117]
50056 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
50057 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
50058
50059 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50060
50061 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
50062 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
50063
50064 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
50065
50066 [BZ #14117]
50067 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
50068 <bits/wordsize.h>.
50069 (__WCHAR_MIN): Support __WORDSIZE == 64.
50070 (__WCHAR_MAX): Likewise.
50071
50072 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
50073 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
50074
50075 [BZ #14183]
50076 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
50077 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
50078
50079 [BZ #14117]
50080 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
50081 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
50082
50083 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
50084 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
50085
50086 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
50087 Defined to 1 if __x86_64__ isn't defined.
50088 (_STAT_VER_LINUX_OLD): New.
50089 (st_atime): Remove duplicate.
50090 (st_mtime): Likewise.
50091 (st_ctime): Likewise.
50092
50093 2012-05-31 David S. Miller <davem@davemloft.net>
50094
50095 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
50096 entries.
50097
50098 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
50099
50100 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
50101 gen-libm-test.pl.
50102
50103 [BZ #14132]
50104 * elf/dl-reloc.c: Include <_itoa.h>.
50105 (_dl_reloc_bad_type): Remove use of INTUSE.
50106 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
50107 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
50108 * stdio-common/psiginfo.c (psiginfo): Likewise.
50109 * stdio-common/psignal.c (psignal): Likewise.
50110 * string/strsignal.c (strsignal): Likewise.
50111 * include/signal.h (_sys_siglist): Declare hidden proto.
50112 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
50113 INTVARDEF with libc_hidden_data_def.
50114 * stdio-common/itoa-udigits.c: Likewise.
50115 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
50116 (_itoa_lower_digits_internal): Remove declaration.
50117 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
50118 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
50119 (_sys_sigabbrev_internal): Remove aliases.
50120 (_sys_siglist): Define hidden alias.
50121
50122 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
50123
50124 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50125 bits/sysctl.h.
50126
50127 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
50128
50129 [BZ #14117]
50130 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
50131 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
50132
50133 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
50134 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
50135 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
50136 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
50137 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
50138 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
50139
50140 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
50141 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
50142 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
50143
50144 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
50145 with __addr.
50146 (insw): Likewise.
50147 (insl): Likewise.
50148 (outsb): Likewise.
50149 (outsw): Likewise.
50150 (outsl): Likewise.
50151
50152 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
50153 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
50154 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
50155
50156 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
50157 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
50158 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
50159 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
50160 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
50161 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
50162
50163 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
50164 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
50165
50166 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
50167 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
50168
50169 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
50170 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
50171 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
50172
50173 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
50174 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
50175 to ...
50176 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
50177
50178 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
50179 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
50180 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
50181
50182 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
50183 for x86-64.
50184 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
50185
50186 2012-05-31 Joseph Myers <joseph@codesourcery.com>
50187
50188 * math/math.h (M_El): Use two more decimal places.
50189 (M_LOG2El): Likewise.
50190 (M_LOG10El): Likewise.
50191 (M_LN2l): Likewise.
50192 (M_LN10l): Likewise.
50193 (M_PIl): Likewise.
50194 (M_PI_2l): Likewise.
50195 (M_PI_4l): Likewise.
50196 (M_1_PIl): Likewise.
50197 (M_2_PIl): Likewise.
50198 (M_2_SQRTPIl): Likewise.
50199 (M_SQRT2l): Likewise.
50200 (M_SQRT1_2l): Likewise.
50201
50202 2012-05-31 David S. Miller <davem@davemloft.net>
50203
50204 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
50205 values between float registers.
50206 * sysdeps/sparc/sparc64/memset.S: Likewise.
50207 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
50208
50209 2012-05-31 Mike Frysinger <vapier@gentoo.org>
50210
50211 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
50212 -D_FORTIFY_SOURCE=1.
50213 (CPPFLAGS-tst-longjmp_chk.c): Define.
50214 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
50215 (CPPFLAGS-tst-longjmp_chk2.c): Define.
50216 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
50217 CFLAGS-tst-wchar-h.c.
50218
50219 2012-05-31 Marek Polacek <polacek@redhat.com>
50220
50221 [BZ #14132]
50222 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
50223 __endmntent_internal): Remove declaration.
50224 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
50225 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
50226 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
50227
50228 2012-05-30 David S. Miller <davem@davemloft.net>
50229
50230 * sysdeps/sparc/sparc32/soft-fp/q_util.c
50231 (___Q_simulate_exceptions): Use real FP ops rather than writing
50232 into the %fsr.
50233 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
50234 Likewise.
50235
50236 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
50237
50238 [BZ #14117]
50239 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
50240 * sysdeps/x86/bits/xtitypes.h: This.
50241
50242 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
50243 * sysdeps/x86/bits/wordsize.h: This.
50244
50245 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
50246 * sysdeps/x86/bits/huge_vall.h: This.
50247
50248 * sysdeps/i386/bits/select.h: Removed.
50249 * sysdeps/x86_64/bits/select.h: Renamed to ...
50250 * sysdeps/x86/bits/select.h: This.
50251
50252 * sysdeps/i386/bits/setjmp.h: Removed.
50253 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
50254 * sysdeps/x86/bits/setjmp.h: This.
50255
50256 * sysdeps/i386/bits/mathdef.h: Removed.
50257 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
50258 * sysdeps/x86/bits/mathdef.h: This.
50259
50260 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
50261
50262 [BZ #14132]
50263 * include/sys/socket.h (__connect_internal)
50264 (__libc_sa_len_internal): Remove declaration.
50265 (__connect, __libc_sa_len): Declare hidden_proto.
50266 (SA_LEN): Remove use of INTUSE.
50267 * socket/connect.c: Add libc_hidden_def.
50268 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
50269 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
50270 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
50271 alias.
50272 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
50273 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
50274 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
50275 of adding _internal alias.
50276
50277 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
50278
50279 [BZ #14117]
50280 * sysdeps/i386/bits/link.h: Removed.
50281 * sysdeps/i386/bits/linkmap.h: Likewise.
50282 * sysdeps/x86_64/bits/link.h: Renamed to ...
50283 * sysdeps/x86/bits/link.h: This.
50284 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
50285 * sysdeps/x86/bits/linkmap.h: This.
50286
50287 * sysdeps/i386/bits/endian.h: Removed.
50288 * sysdeps/x86_64/bits/endian.h: Renamed to ...
50289 * sysdeps/x86/bits/endian.h: This.
50290
50291 * sysdeps/i386/bits/byteswap.h: Removed.
50292 * sysdeps/i386/bits/byteswap-16.h: Likewise.
50293 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
50294 * sysdeps/x86/bits/byteswap.h: This.
50295 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
50296 * sysdeps/x86/bits/byteswap-16.h: This.
50297 * sysdeps/i386/Implies: Add x86.
50298 * sysdeps/x86_64/Implies: Likewise.
50299
50300 2012-05-30 David S. Miller <davem@davemloft.net>
50301
50302 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
50303 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
50304 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
50305 (FP_TRAPPING_EXCEPTIONS): Define.
50306 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
50307 (FP_TRAPPING_EXCEPTIONS): Define.
50308 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
50309 subnormals only when inexact has been signalled or underflow
50310 exceptions are enabled.
50311 (_FP_PACK_CANONICAL): Likewise.
50312
50313 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
50314
50315 [BZ #14183]
50316 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
50317 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
50318
50319 2012-05-30 Richard Henderson <rth@twiddle.net>
50320
50321 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
50322 with #ifndef NOT_IN_libc.
50323
50324 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
50325 marked to avoid plt entry.
50326
50327 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
50328
50329 [BZ #14112]
50330 * Makeconfig (default-abi): New macro.
50331 (abi-includes): Likewise.
50332 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
50333 $(abi-$(default-abi)-lib-soname) for soname if defined.
50334 ($(common-objpfx)gnu/lib-names.stmp): Generate from
50335 abi-variants.
50336 * Makefile (installed-stubs): Likewise.
50337 * include/stubs-biarch.h: Removed.
50338 * scripts/lib-names.awk: Only handle one library at a time.
50339 * scripts/soversions.awk: Remove WORDSIZE support.
50340 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
50341 entries.
50342 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
50343 Removed.
50344 (syscall-list-default-condition): Likewise.
50345 (syscall-list-default-condition): Likewise.
50346 (syscall-list-includes): Likewise.
50347 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
50348 syscall-list-* with abi-*. Handle undefined abi-variants.
50349 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
50350 * sysdeps/unix/sysv/linux/i386/Implies: New file.
50351 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
50352 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
50353 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
50354 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
50355 Removed.
50356 (syscall-list-32-options): Likewise.
50357 (syscall-list-32-condition): Likewise.
50358 (syscall-list-64-options): Likewise.
50359 (syscall-list-64-condition): Likewise.
50360 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
50361 macro.
50362 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
50363 Renamed to ...
50364 (abi-*): This.
50365 (abi-64-ld-soname): New macro.
50366 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
50367 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
50368 Renamed to ...
50369 (abi-*): This.
50370 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
50371 * sysdeps/x86_64/x32/shlib-versions: Likewise.
50372
50373 2012-05-30 Joseph Myers <joseph@codesourcery.com>
50374
50375 * sysdeps/unix/sysv/linux/kernel-features.h
50376 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
50377 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
50378 include <kernel-features.h>.
50379 [!__NR_ftruncate64]: Remove conditional code.
50380 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50381 [__NR_ftruncate64]: Make code unconditional.
50382 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50383 * sysdeps/unix/sysv/linux/truncate64.c: Do not
50384 include <kernel-features.h>.
50385 [!__NR_ftruncate64]: Remove conditional code.
50386 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50387 [__NR_ftruncate64]: Make code unconditional.
50388 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
50390 include <kernel-features.h>.
50391 [!__NR_ftruncate64]: Remove conditional code.
50392 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50393 [__NR_ftruncate64]: Make code unconditional.
50394 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
50396 include <kernel-features.h>.
50397 [!__NR_ftruncate64]: Remove conditional code.
50398 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50399 [__NR_ftruncate64]: Make code unconditional.
50400 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50401
50402 * configure.in (libc_cv_fpie): Weaken to a compile test using
50403 LIBC_TRY_CC_OPTION.
50404 * configure: Regenerated.
50405
50406 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50407
50408 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
50409 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
50410 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
50411 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
50412 Refreshed.
50413 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
50414 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
50415 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
50416 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
50417 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
50418 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
50419 Refreshed.
50420
50421 2012-05-27 David S. Miller <davem@davemloft.net>
50422
50423 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
50424 (___Q_zero): New.
50425 (__Q_simulate_exceptions): Return void. Change to simulate
50426 exceptions by writing into the %fsr.
50427 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
50428 (__Qp_handle_exceptions): Likewise.
50429 (numbers): Delete.
50430 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
50431 __Qp_handle_exceptions.
50432 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
50433 __Qp_handle_exceptions.
50434 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
50435 as unused and give dummy FP_RND_NEAREST initializer.
50436 (FP_INHIBIT_RESULTS): Define.
50437 (___Q_simulate_exceptions): Update declaration.
50438 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
50439 formatting.
50440 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
50441 as unused and give dummy FP_RND_NEAREST initializer.
50442 (__Qp_handle_exceptions): Update declaration.
50443 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
50444 formatting.
50445
50446 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
50447
50448 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
50449 the temporary FPU control word.
50450 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
50451 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
50452 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
50453 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
50454 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
50455 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
50456 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
50457 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
50458 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
50459 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
50460 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
50461
50462 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
50463
50464 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
50465 fields.
50466
50467 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
50468
50469 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
50470 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
50471 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
50472 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
50473 Likewise.
50474 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
50475 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
50476 Likewise.
50477
50478 2012-05-27 Ulrich Drepper <drepper@gmail.com>
50479
50480 * po/h.po: Update from translation team.
50481
50482 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
50483
50484 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
50485
50486 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
50487 handling of denormals.
50488 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
50489 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
50490 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
50491 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
50492 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
50493 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
50494 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
50495 Likewise.
50496
50497 2012-05-26 Marek Polacek <polacek@redhat.com>
50498
50499 [BZ #14152]
50500 * math/libm-test.inc (fma_test): Don't always expect underflow
50501 exception.
50502
50503 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
50504
50505 [BZ #12416]
50506 * elf/tst-execstack.c: Include stackinfo.h.
50507 (do_test): Adjust test case to ensure that pthread_getattr_np
50508 behaviour remains the same after marking stack executable.
50509
50510 2012-05-25 Joseph Myers <joseph@codesourcery.com>
50511
50512 * sysdeps/unix/sysv/linux/kernel-features.h
50513 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
50514 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
50515 kernel-features.h.
50516 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
50517 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
50518 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
50519 kernel-features.h.
50520 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
50521 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
50522
50523 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
50524
50525 * configure.in: Define the default includes to being none.
50526 * configure: Regenerated.
50527
50528 2012-05-25 Roland McGrath <roland@hack.frob.com>
50529
50530 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
50531 * sysdeps/x86_64/setjmp.S: Likewise.
50532 * sysdeps/i386/bsd-setjmp.S: Likewise.
50533 * sysdeps/i386/bsd-_setjmp.S: Likewise.
50534 * sysdeps/i386/setjmp.S: Likewise.
50535 * sysdeps/i386/__longjmp.S: Likewise.
50536 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
50537 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
50538
50539 * include/stap-probe.h: New file.
50540 * configure.in: Handle --enable-systemtap.
50541 * configure: Regenerated.
50542 * config.h.in (USE_STAP_PROBE): New #undef.
50543 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
50544 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
50545 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
50546
50547 2012-05-25 Joseph Myers <joseph@codesourcery.com>
50548
50549 [BZ #13717]
50550 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
50551 to 2.4.0 where earlier.
50552 * sysdeps/unix/sysv/linux/configure: Regenerated.
50553 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
50554 <kernel-features.h>.
50555 [__ASSUME_32BITUIDS]: Make code unconditional.
50556 [!__ASSUME_32BITUIDS]: Remove conditional code.
50557 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
50558 <kernel-features.h>.
50559 [__ASSUME_32BITUIDS]: Make code unconditional.
50560 [!__ASSUME_32BITUIDS]: Remove conditional code.
50561 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
50562 [__ASSUME_32BITUIDS]: Make code unconditional.
50563 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
50564 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
50565 <kernel-features.h>.
50566 [__ASSUME_32BITUIDS]: Make code unconditional.
50567 [!__ASSUME_32BITUIDS]: Remove conditional code.
50568 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
50569 <kernel-features.h>.
50570 [__ASSUME_32BITUIDS]: Make code unconditional.
50571 [!__ASSUME_32BITUIDS]: Remove conditional code.
50572 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
50573 <kernel-features.h>.
50574 [__ASSUME_32BITUIDS]: Make code unconditional.
50575 [!__ASSUME_32BITUIDS]: Remove conditional code.
50576 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
50577 <kernel-features.h>.
50578 [__ASSUME_32BITUIDS]: Make code unconditional.
50579 [!__ASSUME_32BITUIDS]: Remove conditional code.
50580 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
50581 <kernel-features.h>.
50582 [__ASSUME_32BITUIDS]: Make code unconditional.
50583 [!__ASSUME_32BITUIDS]: Remove conditional code.
50584 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
50585 <kernel-features.h>.
50586 [__ASSUME_32BITUIDS]: Make code unconditional.
50587 [!__ASSUME_32BITUIDS]: Remove conditional code.
50588 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
50589 <kernel-features.h>.
50590 [__ASSUME_32BITUIDS]: Make code unconditional.
50591 [!__ASSUME_32BITUIDS]: Remove conditional code.
50592 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
50593 <kernel-features.h>.
50594 [__ASSUME_32BITUIDS]: Make code unconditional.
50595 [!__ASSUME_32BITUIDS]: Remove conditional code.
50596 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
50597 <kernel-features.h>.
50598 [__ASSUME_32BITUIDS]: Make code unconditional.
50599 [!__ASSUME_32BITUIDS]: Remove conditional code.
50600 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
50601 <kernel-features.h>.
50602 [__ASSUME_32BITUIDS]: Make code unconditional.
50603 [!__ASSUME_32BITUIDS]: Remove conditional code.
50604 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
50605 <kernel-features.h>.
50606 [__NR_setresgid] (__setresgid): Do not declare.
50607 [__ASSUME_32BITUIDS]: Make code unconditional.
50608 [!__ASSUME_32BITUIDS]: Remove conditional code.
50609 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
50610 <kernel-features.h>.
50611 [__NR_setresuid] (__setresuid): Do not declare.
50612 [__ASSUME_32BITUIDS]: Make code unconditional.
50613 [!__ASSUME_32BITUIDS]: Remove conditional code.
50614 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
50615 <kernel-features.h>.
50616 [__ASSUME_32BITUIDS]: Make code unconditional.
50617 [!__ASSUME_32BITUIDS]: Remove conditional code.
50618 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
50619 <kernel-features.h>.
50620 [__ASSUME_32BITUIDS]: Make code unconditional.
50621 [!__ASSUME_32BITUIDS]: Remove conditional code.
50622 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
50623 <kernel-features.h>.
50624 [__ASSUME_32BITUIDS]: Make code unconditional.
50625 [!__ASSUME_32BITUIDS]: Remove conditional code.
50626 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
50627 <kernel-features.h>.
50628 [__ASSUME_32BITUIDS]: Make code unconditional.
50629 [!__ASSUME_32BITUIDS]: Remove conditional code.
50630 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
50631 <kernel-features.h>.
50632 [__ASSUME_32BITUIDS]: Make code unconditional.
50633 [!__ASSUME_32BITUIDS]: Remove conditional code.
50634 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
50635 <kernel-features.h>.
50636 [__ASSUME_32BITUIDS]: Make code unconditional.
50637 [!__ASSUME_32BITUIDS]: Remove conditional code.
50638 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
50639 <kernel-features.h>.
50640 [__ASSUME_32BITUIDS]: Make code unconditional.
50641 [!__ASSUME_32BITUIDS]: Remove conditional code.
50642 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
50643 <kernel-features.h>.
50644 [__ASSUME_32BITUIDS]: Make code unconditional.
50645 [!__ASSUME_32BITUIDS]: Remove conditional code.
50646 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
50647 <kernel-features.h>.
50648 [__ASSUME_32BITUIDS]: Make code unconditional.
50649 [!__ASSUME_32BITUIDS]: Remove conditional code.
50650 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
50651 <kernel-features.h>.
50652 [__ASSUME_32BITUIDS]: Make code unconditional.
50653 [!__ASSUME_32BITUIDS]: Remove conditional code.
50654 * sysdeps/unix/sysv/linux/kernel-features.h
50655 (__ASSUME_SETRESUID_SYSCALL): Remove.
50656 (__ASSUME_SETRESGID_SYSCALL): Likewise.
50657 (__ASSUME_32BITUIDS): Likewise.
50658 (__ASSUME_LDT_WORKS): Likewise.
50659 (__ASSUME_O_DIRECTORY): Likewise.
50660 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
50661 architecture but not kernel version.
50662 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
50663 (__ASSUME_MMAP2_SYSCALL): Likewise.
50664 (__ASSUME_STAT64_SYSCALL): Likewise.
50665 (__ASSUME_IPC64): Likewise.
50666 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
50667 <kernel-features.h>.
50668 [__ASSUME_32BITUIDS]: Make code unconditional.
50669 [!__ASSUME_32BITUIDS]: Remove conditional code.
50670 * sysdeps/unix/sysv/linux/opendir.c: Do not include
50671 <kernel-features.h>.
50672 [__ASSUME_O_DIRECTORY]: Make code unconditional.
50673 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
50674 132096]: Remove conditional code.
50675 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
50676 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
50677 <kernel-features.h>.
50678 [__ASSUME_32BITUIDS]: Make code unconditional.
50679 [!__ASSUME_32BITUIDS]: Remove conditional code.
50680 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
50681 <kernel-features.h>.
50682 [__ASSUME_32BITUIDS]: Make code unconditional.
50683 [!__ASSUME_32BITUIDS]: Remove conditional code.
50684 * sysdeps/unix/sysv/linux/setegid.c: Do not include
50685 <kernel-features.h>.
50686 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
50687 unconditional.
50688 (__setresgid): Do not declare.
50689 [__ASSUME_32BITUIDS]: Make code unconditional.
50690 [!__ASSUME_32BITUIDS]: Remove conditional code.
50691 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
50692 <kernel-features.h>.
50693 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
50694 unconditional.
50695 (__setresuid): Do not declare.
50696 [__ASSUME_32BITUIDS]: Make code unconditional.
50697 [!__ASSUME_32BITUIDS]: Remove conditional code.
50698 * sysdeps/unix/sysv/linux/sh/chown.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/sparc/sparc32/semctl.c: Do not include
50703 <kernel-features.h>.
50704 [__ASSUME_32BITUIDS]: Make code unconditional.
50705 [!__ASSUME_32BITUIDS]: Remove conditional code.
50706
50707 2012-05-25 Richard Henderson <rth@twiddle.net>
50708
50709 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
50710 dl_hwcap to ifunc resolver.
50711 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
50712 elf_ifunc_invoke.
50713 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
50714 dl_hwcap to ifunc resolver.
50715 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
50716
50717 2012-05-24 Joseph Myers <joseph@codesourcery.com>
50718
50719 [BZ #14153]
50720 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
50721 for |x| <= 2**-26, not 2**-57.
50722 * math/libm-test.inc (acos_test): Do not allow spurious underflow
50723 exception.
50724
50725 2012-05-24 Jeff Law <law@redhat.com>
50726
50727 * stdio-common/Makefile (tests): Add bug25.
50728 * stdio-common/bug25.c: New test.
50729
50730 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
50731
50732 [BZ #13576]
50733 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
50734 multiple of MALLOC_ALIGNMENT in size.
50735 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
50736
50737 2012-05-24 Joseph Myers <joseph@codesourcery.com>
50738
50739 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
50740 Require >= 256.
50741 (FILENAME_MAX): Use macro-int-constant.
50742 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
50743 (_IOFBF): Use macro-int-constant.
50744 (_IOLBF): Likewise.
50745 (_IONBF): Likewise.
50746 (SEEK_CUR): Likewise.
50747 (SEEK_END): Likewise.
50748 (SEEK_SET): Likewise.
50749 (TMP_MAX): Likewise.
50750 (EOF): Use macro-int-constant. Require < 0.
50751 (NULL): Use macro-constant. Require == 0.
50752 (stdin): Require type to be FILE *.
50753 (stdout): Likewise.
50754 (stderr): Likewise.
50755 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
50756 macro-int-constant.
50757 (EXIT_SUCCESS): Likewise.
50758 (NULL): Use macro-constant. Require == 0.
50759 (RAND_MAX): Use macro-int-constant.
50760 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
50761 [C99-based standards] (strtof): Require function.
50762 [C99-based standards] (strtold): Likewise.
50763 [C99-based standards] (strtoll): Likewise.
50764 [C99-based standards] (strtoull): Likewise.
50765 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
50766 [ISO || ISO99 || ISO11] (limits.h): Likewise.
50767 [ISO || ISO99 || ISO11] (math.h): Likewise.
50768 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
50769 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
50770 [ISO || ISO99 || ISO11] (*_t): Do not allow.
50771
50772 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
50773
50774 [BZ #14132]
50775 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
50776 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
50777 * intl/dgettext.c (DCGETTEXT): Likewise.
50778 * intl/gettext.c (DCGETTEXT): Likewise.
50779 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
50780 * posix/regex_internal.h (gettext): Likewise.
50781 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
50782 Remove declaration.
50783 * include/argz.h (__argz_count_internal)
50784 (__argz_stringify_internal): Remove declaration.
50785 (__argz_count, __argz_stringify): Declare hidden proto.
50786 * intl/dcgettext.c: Remove use of INTDEF.
50787 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
50788 * string/argz-stringify.c: Likewise.
50789 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
50790 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
50791 Declare hidden proto.
50792 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
50793 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
50794 Declare hidden proto.
50795 * include/stdio.h (__asprintf_internal): Don't declare.
50796 (__asprintf): Don't define as macro. Declare hidden proto.
50797 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
50798 (__fsetlocking): Declare hidden proto.
50799 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
50800 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
50801 hidden proto.
50802 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
50803 (_IO_setlinebuf): Remove use of INTUSE.
50804 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
50805 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
50806 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
50807 Remove declaration.
50808 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
50809 (_IO_do_flush): Remove use of INTUSE.
50810 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
50811 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
50812 (_IO_adjust_column, _IO_least_wmarker)
50813 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
50814 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
50815 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
50816 (_IO_default_doallocate, _IO_wdefault_doallocate)
50817 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
50818 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
50819 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
50820 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
50821 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
50822 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
50823 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
50824 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
50825 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
50826 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
50827 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
50828 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
50829 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
50830 proto.
50831 (_IO_flush_all_internal, _IO_adjust_column_internal)
50832 (_IO_default_uflow_internal, _IO_default_finish_internal)
50833 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
50834 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
50835 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
50836 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
50837 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
50838 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
50839 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
50840 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
50841 (_IO_file_close_internal, _IO_file_close_it_internal)
50842 (_IO_file_underflow_internal, _IO_file_overflow_internal)
50843 (_IO_file_init_internal, _IO_file_attach_internal)
50844 (_IO_file_fopen_internal, _IO_file_read_internal)
50845 (_IO_file_sync_internal, _IO_file_seek_internal)
50846 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
50847 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
50848 (_IO_str_underflow_internal, _IO_str_overflow_internal)
50849 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
50850 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
50851 (_IO_list_all_internal, _IO_link_in_internal)
50852 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
50853 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
50854 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
50855 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
50856 (_IO_do_write_internal, _IO_padn_internal)
50857 (_IO_getline_info_internal, _IO_getline_internal)
50858 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
50859 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
50860 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
50861 (_IO_vfscanf_internal, _IO_vfprintf_internal)
50862 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
50863 (_IO_init_internal, _IO_un_link_internal): Don't declare.
50864 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
50865 with libc_hidden_ver, remove use of INTUSE.
50866 * libio/genops.c: Likewise.
50867 * libio/freopen.c: Likewise.
50868 * libio/freopen64.c: Likewise.
50869 * libio/iofclose.c: Likewise.
50870 * libio/iofdopen.c: Likewise.
50871 * libio/iofflush.c: Likewise.
50872 * libio/iofflush_u.c: Likewise.
50873 * libio/iofgets.c: Likewise.
50874 * libio/iofgets_u.c: Likewise.
50875 * libio/iofopen.c: Likewise.
50876 * libio/iofopncook.c: Likewise.
50877 * libio/iofread.c: Likewise.
50878 * libio/iofread_u.c: Likewise.
50879 * libio/ioftell.c: Likewise.
50880 * libio/iofwrite.c: Likewise.
50881 * libio/iogetline.c: Likewise.
50882 * libio/iogets.c: Likewise.
50883 * libio/iogetwline.c: Likewise.
50884 * libio/iopadn.c: Likewise.
50885 * libio/iopopen.c: Likewise.
50886 * libio/ioseekoff.c: Likewise.
50887 * libio/ioseekpos.c: Likewise.
50888 * libio/iosetbuffer.c: Likewise.
50889 * libio/iosetvbuf.c: Likewise.
50890 * libio/ioungetc.c: Likewise.
50891 * libio/ioungetwc.c: Likewise.
50892 * libio/iovdprintf.c: Likewise.
50893 * libio/iovsprintf.c: Likewise.
50894 * libio/iovsscanf.c: Likewise.
50895 * libio/memstream.c: Likewise.
50896 * libio/obprintf.c: Likewise.
50897 * libio/oldfileops.c: Likewise.
50898 * libio/oldiofclose.c: Likewise.
50899 * libio/oldiofdopen.c: Likewise.
50900 * libio/oldiofopen.c: Likewise.
50901 * libio/oldiopopen.c: Likewise.
50902 * libio/oldstdfiles.c: Likewise.
50903 * libio/putc.c: Likewise.
50904 * libio/setbuf.c: Likewise.
50905 * libio/setlinebuf.c: Likewise.
50906 * libio/stdfiles.c: Likewise.
50907 * libio/strops.c: Likewise.
50908 * libio/vasprintf.c: Likewise.
50909 * libio/vscanf.c: Likewise.
50910 * libio/vsnprintf.c: Likewise.
50911 * libio/vswprintf.c: Likewise.
50912 * libio/wfiledoalloc.c: Likewise.
50913 * libio/wfileops.c: Likewise.
50914 * libio/wgenops.c: Likewise.
50915 * libio/wmemstream.c: Likewise.
50916 * libio/wstrops.c: Likewise.
50917 * libio/__fpurge.c: Likewise.
50918 * libio/__fsetlocking.c: Likewise.
50919 * assert/assert.c: Likewise.
50920 * debug/fgets_chk.c: Likewise.
50921 * debug/fgets_u_chk.c: Likewise.
50922 * debug/fread_chk.c: Likewise.
50923 * debug/fread_u_chk.c: Likewise.
50924 * debug/gets_chk.c: Likewise.
50925 * debug/obprintf_chk.c: Likewise.
50926 * debug/vasprintf_chk.c: Likewise.
50927 * debug/vdprintf_chk.c: Likewise.
50928 * debug/vsnprintf_chk.c: Likewise.
50929 * debug/vsprintf_chk.c: Likewise.
50930 * malloc/mtrace.c: Likewise.
50931 * misc/error.c: Likewise.
50932 * misc/syslog.c: Likewise.
50933 * stdio-common/asprintf.c: Likewise.
50934 * stdio-common/fxprintf.c: Likewise.
50935 * stdio-common/getw.c: Likewise.
50936 * stdio-common/isoc99_fscanf.c: Likewise.
50937 * stdio-common/isoc99_scanf.c: Likewise.
50938 * stdio-common/isoc99_vfscanf.c: Likewise.
50939 * stdio-common/isoc99_vscanf.c: Likewise.
50940 * stdio-common/isoc99_vsscanf.c: Likewise.
50941 * stdio-common/printf-prs.c: Likewise.
50942 * stdio-common/printf_fp.c: Likewise.
50943 * stdio-common/printf_fphex.c: Likewise.
50944 * stdio-common/printf_size.c: Likewise.
50945 * stdio-common/putw.c: Likewise.
50946 * stdio-common/scanf.c: Likewise.
50947 * stdio-common/sprintf.c: Likewise.
50948 * stdio-common/tmpfile.c: Likewise.
50949 * stdio-common/vfprintf.c: Likewise.
50950 * stdio-common/vfscanf.c: Likewise.
50951 * stdlib/strfmon_l.c: Likewise.
50952 * sunrpc/openchild.c: Likewise.
50953 * sunrpc/xdr_stdio.c: Likewise.
50954 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
50955 * sysdeps/mach/hurd/tmpfile.c: Likewise.
50956
50957 2012-05-24 Roland McGrath <roland@hack.frob.com>
50958
50959 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
50960
50961 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
50962 in the third column, to generate for the shared library an IFUNC
50963 that uses _dl_vdso_vsym.
50964 * Makerules (COMPILE.c, compile-stdin.c): New variables.
50965 * Makeconfig (object-suffixes-noshared): New variable.
50966
50967 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
50968 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
50969 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
50970 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
50971
50972 [BZ #14132]
50973 * include/sys/time.h (__gettimeofday): Remove macro.
50974 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
50975 * time/gettimeofday.c (__gettimeofday): Remove #undef.
50976 Remove INTDEF.
50977 (__gettimeofday): Add libc_hidden_def.
50978 (gettimeofday): Add libc_hidden_weak.
50979 * sysdeps/mach/gettimeofday.c: Likewise.
50980 * sysdeps/posix/gettimeofday.c: Likewise.
50981 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
50982 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
50983 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
50984 (__gettimeofday_internal): Remove strong_alias.
50985 (__gettimeofday): Add libc_hidden_def.
50986 (gettimeofday): Add libc_hidden_weak.
50987 * sysdeps/unix/syscalls.list (gettimeofday):
50988 Remove __gettimeofday_internal alias.
50989
50990 2012-05-24 Daniel Jacobowitz <drow@false.org>
50991 H.J. Lu <hongjiu.lu@intel.com>
50992
50993 [BZ #12495]
50994 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
50995 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
50996 (largebin_index_32_big): New.
50997 (largebin_index): Use it for 16-byte alignment.
50998 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
50999 correction with front_misalign.
51000
51001 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
51002
51003 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
51004 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
51005 Likewise.
51006 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
51007 Likewise.
51008 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
51009 Likewise.
51010 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
51011 Likewise.
51012 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
51013 Likewise.
51014 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
51015 Likewise.
51016 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
51017 Likewise.
51018 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
51019 Likewise.
51020 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
51021 Likewise.
51022 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
51023 Likewise.
51024 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
51025 Likewise.
51026 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
51027 Likewise.
51028
51029 * scripts/data/c++-types-x32-linux-gnu.data: New file.
51030 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
51031
51032 2012-05-24 Joseph Myers <joseph@codesourcery.com>
51033
51034 [BZ #10846]
51035 [BZ #14036]
51036 * math/libm-test.inc (exp_test): Add test from bug 14036.
51037 (pow_test): Add test from bug 10846.
51038
51039 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
51040 and other flags.
51041 (special_function): Do not include flags in test name.
51042 (parse_args): Likewise.
51043 * sysdeps/i386/fpu/libm-test-ulps: Update.
51044 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
51045 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
51046 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
51047 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51048
51049 * math/gen-libm-test.pl (%beautify): Add entries for underflow
51050 exceptions.
51051 * math/libm-test.inc ("Philosophy"): Update comment about
51052 exception testing.
51053 (UNDERFLOW_EXCEPTION): New macro.
51054 (UNDERFLOW_EXCEPTION_OK): Likewise.
51055 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
51056 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
51057 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
51058 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
51059 (INVALID_EXCEPTION_OK): Update value.
51060 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
51061 (OVERFLOW_EXCEPTION_OK): Likewise.
51062 (IGNORE_ZERO_INF_SIGN): Likewise.
51063 (test_exceptions): Handle underflow exceptions.
51064 (acos_test): Update for underflow exception expectations.
51065 (cexp_test): Likewise.
51066 (clog_test): Likewise.
51067 (clog10_test): Likewise.
51068 (csqrt_test): Likewise.
51069 (ctan_test): Likewise.
51070 (ctanh_test): Likewise.
51071 (exp_test): Likewise.
51072 (exp10_test): Likewise.
51073 (exp2_test): Likewise.
51074 (expm1_test): Likewise.
51075 (fma_test): Likewise.
51076 (j0_test): Likewise.
51077 (jn_test): Likewise.
51078 (nexttoward_test): Likewise.
51079 (pow_test): Likewise.
51080 (scalbn_test): Likewise.
51081 (scalbln_test): Likewise.
51082 (tan_test): Likewise.
51083 (y1_test): Likewise.
51084 * sysdeps/i386/fpu/libm-test-ulps: Update.
51085 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51086
51087 2012-05-23 David S. Miller <davem@davemloft.net>
51088
51089 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
51090 (__libc_sigaction): Remove unused local variables.
51091
51092 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
51093
51094 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
51095
51096 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
51097
51098 mktime: avoid signed integer overflow
51099 * time/mktime.c (__mktime_internal): Do not mishandle the case
51100 where diff == INT_MIN.
51101
51102 mktime: simplify computation of average
51103 * time/mktime.c (ranged_convert): Use new time_t_avg function
51104 instead of rolling our own (probably-slower) code.
51105
51106 mktime: do not assume signed right shift propagates sign bit
51107 * time/mktime.c (isdst_differ): New static function.
51108 (__mktime_internal): No need to normalize tm_isdst now.
51109 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
51110 tm_isdst values.
51111
51112 mktime: merge another wrapv change from gnulib
51113 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
51114 from some compilers.
51115
51116 mktime: remove incorrect attempt at unusual arithmetics
51117 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
51118 The code didn't really work on such machines anyway.
51119 (TYPE_MINIMUM): Assume two's complement.
51120 (twos_complement_arithmetic): Verify that long_int and time_t
51121 are two's complement (or unsigned, in the latter case).
51122
51123 mktime: check signed shifts on long_int and time_t, too
51124 * time/mktime.c (SHR): Check that shifts work as desired
51125 on the types long_int and time_t too, as SHR is used on
51126 such types.
51127
51128 mktime: do not assume 'long' is wide enough
51129 * time/mktime.c (verify): Move decl up.
51130 (long_int): New type.
51131 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
51132 to remove assumption in the code that 'long' is wide enough to
51133 store year values. This assumption is not true on x32 and on
51134 some non-glibc platforms.
51135
51136 mktime: merge wrapv change from gnulib
51137 * time/mktime.c (WRAPV): New macro.
51138 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
51139 (guess_time_tm, __mktime_internal): Do not assume that signed
51140 integer overflow wraps around; modern compilers generate code
51141 where this assumption is no longer valid.
51142
51143 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
51144
51145 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
51146 Replace "jmp L(pseudo_end)" with "ret".
51147 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
51148 Likewise.
51149
51150 2012-05-23 Andreas Jaeger <aj@suse.de>
51151
51152 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
51153 * sysdeps/unix/sysv/linux/poll.c: Remove file.
51154
51155 2012-05-23 Andreas Jaeger <aj@suse.de>
51156 Maximilian Attems <max@stro.at>
51157
51158 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
51159 New macros.
51160
51161 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
51162
51163 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
51164 code so that pseudo_end is just ret and the stack pointer is
51165 correct also for static library in error case.
51166
51167 2012-05-23 Joseph Myers <joseph@codesourcery.com>
51168
51169 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
51170 move to syscalls.list.
51171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
51172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
51173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
51174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
51175
51176 * manual/install.texi (Running make install): Do not mention Linux
51177 kernel version for which pt_chown is not needed.
51178 (Linux): Do not mention problems with nscd with 2.0 kernels.
51179 * INSTALL: Regenerated.
51180
51181 2012-05-23 Andreas Jaeger <aj@suse.de>
51182
51183 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
51184 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
51185 macro.
51186 * sysdeps/unix/sysv/linux/s390/bits/mman.h
51187 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
51188 * sysdeps/unix/sysv/linux/sh/bits/mman.h
51189 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
51190 * sysdeps/unix/sysv/linux/i386/bits/mman.h
51191 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
51192 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
51193 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
51194 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
51195 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
51196 * sysdeps/unix/sysv/linux/bits/in.h
51197 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
51198
51199 2012-05-22 Roland McGrath <roland@hack.frob.com>
51200
51201 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
51202 (PREPARE_VERSION): Just use assert instead, it will be elided
51203 under [NDEBUG] anyway.
51204
51205 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
51206
51207 * sysdeps/unix/sysv/linux/Makefile: Include
51208 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
51209 (sysdep_routines): Remove sysctl.
51210 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
51211 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
51212 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
51213 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
51214 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
51215
51216 2012-05-22 Andreas Jaeger <aj@suse.de>
51217
51218 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
51219 that pseudo_end is just ret and the stack pointer is correct also
51220 for static library in error case.
51221
51222 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
51223
51224 [BZ #14122]
51225 * nss/nsswitch.c (defconfig_entries): New variable.
51226 (__nss_database_lookup): Don't leak defconfig entries.
51227 (nss_parse_service_list): Don't leak on error paths.
51228 (free_database_entries): New function.
51229 (free_defconfig): New function.
51230 (free_mem): Move common code to free_database_entries.
51231
51232 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
51233
51234 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
51235 Add arch_prctl.
51236 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
51237
51238 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
51239 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
51240 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
51241 New macro.
51242 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
51243 (INTERNAL_SYSCALL_TYPES): Likewise.
51244 (LOAD_ARGS_TYPES_[1-6]): Likewise.
51245 (LOAD_REGS_TYPES_[1-6]): Likewise.
51246 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
51247 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
51248
51249 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51250
51251 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
51252 copysignl for GLIBC_2_0.
51253 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
51254 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
51255 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
51256 logbl for GLIBC_2_0.
51257 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
51258 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
51259
51260 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
51261
51262 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
51263 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
51264
51265 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
51266 Use "neg %eax".
51267
51268 * time/mktime.c: Update copyright years.
51269
51270 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
51271
51272 mktime: merge comment-quoting-style change from gnulib
51273 * time/mktime.c: Quote 'like this' in comments.
51274 The GNU coding standards suggest that we no longer quote `like this',
51275 as "`" and "'" are typically rendered asymmetrically nowadays.
51276 The typical gnulib style is to quote 'like this' when quoting
51277 code, and "like this" when quoting English.
51278
51279 * time/mktime.c (compile-command): Add "-I.".
51280
51281 mktime: merge mktime-internal.h change from gnulib
51282 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
51283
51284 mktime: merge time_r change from gnulib
51285 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
51286
51287 mktime: merge DEBUG change from gnulib
51288 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
51289 case system <time.h> has a #define.
51290
51291 mktime: merge <sys/types.h> change from gnulib
51292 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
51293 since <time.t> is now guaranteed to define time_t.
51294
51295 mktime: merge HAVE_CONFIG_H change from gnulib
51296 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
51297
51298 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
51299
51300 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
51301 Use "neg %eax".
51302
51303 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
51304 __rlim_t cast.
51305 (struct rusage): Use anonymous union to pad each field to
51306 __syscall_slong_t.
51307
51308 2012-05-21 David S. Miller <davem@davemloft.net>
51309
51310 * Makefules (o-iterator): Remove .s cases.
51311 (compile-command.s): Delete.
51312 (COMPILE.s): Delete.
51313 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
51314
51315 2012-05-21 Joseph Myers <joseph@codesourcery.com>
51316
51317 * configure.in (libc_cv_predef_stack_protector): Only consider
51318 "foobar" and "__stack_chk_fail" lines in libc_undefs.
51319 * configure: Regenerated.
51320
51321 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
51322
51323 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
51324 New macro. Use R*LP on int and pointer.
51325 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
51326 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
51327 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
51328 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
51329
51330 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
51331 [__WORDSIZE_TIME64_COMPAT32] instead of
51332 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
51333 (struct utmp): Likewise.
51334 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
51335 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
51336 Renamed to ...
51337 (__WORDSIZE_TIME64_COMPAT32): This.
51338 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
51339 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
51340 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
51341 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
51342 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
51343 (__WORDSIZE_TIME64_COMPAT32): New macro.
51344
51345 2012-05-21 Andreas Jaeger <aj@suse.de>
51346
51347 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
51348 only if [SHARED]. Add prototype for __wcschr_ia32.
51349
51350 2012-05-21 Roland McGrath <roland@hack.frob.com>
51351
51352 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
51353 of %rbp unmolested in the jmp_buf while mangling the low bits.
51354 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
51355 unmolested high bits of %rbp while demangling the low bits.
51356 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
51357
51358 2012-05-21 Andreas Jaeger <aj@suse.de>
51359
51360 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
51361 * sunrpc/svc_simple.c: Use it for registerrpc.
51362 * sunrpc/xcrypt.c: Use it for passwd2des.
51363
51364 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
51365
51366 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
51367
51368 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
51369 Don't define if [__SYSCALL_WORDSIZE != 32].
51370 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
51371 New macro.
51372
51373 2012-05-21 Bruno Haible <bruno@clisp.org>
51374 Andreas Jaeger <aj@suse.de>
51375
51376 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
51377 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
51378 inptr and inend for must_buffer_ch.
51379 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
51380 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
51381 * stdio-common/Makefile (tests): Remove bug15.
51382 (bug15-ENV): Remove macro.
51383 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
51384 anymore.
51385
51386 2012-05-19 Andreas Jaeger <aj@suse.de>
51387 Roland McGrath <roland@hack.frob.com>
51388
51389 * manual/contrib.texi: Completely rewritten. It contains now an
51390 alphabetical list of contributors and their contributions.
51391
51392 2012-05-21 Richard Henderson <rth@twiddle.net>
51393
51394 * misc/getauxval.c (__getauxval): Use unsigned long int.
51395 * misc/sys/auxv.h: Include <sys/cdefs.h>.
51396 (getauxval): Use unsigned long int.
51397
51398 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
51399
51400 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
51401
51402 2012-05-21 Roland McGrath <roland@hack.frob.com>
51403
51404 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
51405 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
51406 __alignof__ (long double).
51407
51408 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51409
51410 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51411
51412 2012-05-20 Richard Henderson <rth@twiddle.net>
51413
51414 * misc/getauxval.c: New file.
51415 * misc/sys/auxv.h: New file.
51416 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
51417 (routines): Add getauxval.
51418 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
51419 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
51420 * elf/dl-sysdep.c (_dl_auxv): Remove.
51421 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
51422 * elf/dl-support.c (_dl_auxv): New variable.
51423 (_dl_aux_init): Initialize it.
51424 * manual/startup.texi (Auxiliary Vector): New node.
51425 * sysdeps/generic/bits/hwcap.h: New file.
51426 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
51427 * sysdeps/powerpc/sysdep.h: ... here. Include it.
51428 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
51429 * sysdeps/sparc/sysdep.h: ... here. Include it.
51430 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
51431 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
51432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
51433 Update.
51434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
51435 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
51436 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
51437 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
51438 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
51439 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
51440 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
51441 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
51442
51443 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51444
51445 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51446
51447 2012-05-19 David S. Miller <davem@davemloft.net>
51448
51449 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51450
51451 2012-05-19 Joseph Myers <joseph@codesourcery.com>
51452
51453 [BZ #14123]
51454 * math/s_ccosh.c: Include <float.h>
51455 (__ccosh): Avoid internal overflow calculating sinh and cosh
51456 values before multiplying by sin and cos values.
51457 * math/s_ccoshf.c: Likewise.
51458 * math/s_ccoshl.c: Likewise.
51459 * math/s_csin.c: Likewise.
51460 * math/s_csinf.c: Likewise.
51461 * math/s_csinl.c: Likewise.
51462 * math/s_csinh.c: Likewise.
51463 * math/s_csinhf.c: Likewise.
51464 * math/s_csinhl.c: Likewise.
51465 * math/libm-test.inc (ccos_test): Add more tests.
51466 (ccosh_test): Likewise.
51467 (csin_test): Likewise.
51468 (csinh_test): Likewise.
51469 * sysdeps/i386/fpu/libm-test-ulps: Update.
51470 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51471
51472 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
51473
51474 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
51475 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
51476
51477 * sysdeps/x86_64/x32/_itoa.h: Add comment.
51478
51479 2012-05-19 Joseph Myers <joseph@codesourcery.com>
51480
51481 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
51482 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
51483 * sysdeps/powerpc/soft-fp/Versions: Likewise.
51484 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
51485 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
51486 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
51487 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
51488 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
51489 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
51490 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
51491 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
51492 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
51493 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
51494 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
51495 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
51496 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
51497 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
51498 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
51499 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
51500 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
51501 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
51502 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
51503 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
51504 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
51505 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
51506 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
51507 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
51508 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
51509 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
51510 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
51511 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
51512
51513 2012-05-18 Andreas Jaeger <aj@suse.de>
51514
51515 * csu/.gitignore: Delete.
51516
51517 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
51518
51519 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
51520 (timex): Use __syscall_slong_t.
51521
51522 2012-05-18 Andreas Jaeger <aj@suse.de>
51523 Carlos O'Donell <carlos_odonell@mentor.com>
51524
51525 * manual/install.texi (Configuring and compiling): Update
51526 description about files modified in the source directory.
51527 * INSTALL: Regenerated.
51528
51529 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
51530
51531 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
51532 value. Use "or" to set return value to -1.
51533 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
51534 negate return value.
51535
51536 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
51537
51538 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
51539 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
51540 failure if the compiler has Graphite support disabled.
51541 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
51542 Likewise.
51543 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
51544 (CFLAGS-memmove.c): Likewise.
51545 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
51546 Likewise.
51547
51548 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
51549
51550 * sysdeps/x86_64/x32/_itoa.h: New file.
51551
51552 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
51553 getdents system call only if kernel and user dirents have the
51554 same d_ino and d_off.
51555
51556 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
51557 LLONG_MAX != LONG_MAX.
51558 (_itoa_word): Use _ITOA_WORD_TYPE on value.
51559 (_fitoa_word): Likewise.
51560
51561 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
51562 years.
51563 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
51564 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
51565 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
51566
51567 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
51568 include <bits/wordsize.h>. Check __x86_64__ instead of
51569 __WORDSIZE.
51570 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
51571 if __x86_64__ is defined. Use anonymous union on fpstate.
51572
51573 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
51574 anonymous union.
51575
51576 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
51577
51578 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
51579 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
51580 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
51581 Refer to _rtld_local_ro instead of _rtld_global_ro.
51582 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
51583 Likewise.
51584 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
51585 Likewise.
51586 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
51587 Likewise.
51588 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
51589 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
51590 of _rtld_global, and rtld_progname instead of _dl_argv[0].
51591
51592 [BZ #10882]
51593 * sysdeps/powerpc/powerpc32/dl-machine.c
51594 (__elf_machine_runtime_setup) [PROF]: Don't reference
51595 _dl_prof_resolve.
51596
51597 2012-05-18 Andreas Jaeger <aj@suse.de>
51598
51599 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
51600 function only available for GCCs before 3.4 since GCC 3.4
51601 introduced a builtin.
51602 (lrint): Likewise.
51603 (llrintf): Likewise.
51604 (llrint): Likewise.
51605 (fmaxf): Likewise.
51606 (fmax): Likewise.
51607 (fminf): Likewise.
51608 (fmin): Likewise.
51609 (rint): Likewise.
51610 (rintf): Likewise.
51611 (nearbyint): Likewise.
51612 (nearbyintf): Likewise.
51613 (ceil): Likewise.
51614 (ceilf): Likewise.
51615 (floor): Likewise.
51616 (floorf): Likewise.
51617
51618 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
51619
51620 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
51621 on both fields and cast pointer to __syscall_ulong_t.
51622
51623 * bits/types.h (__fsword_t): New type.
51624 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
51625 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
51626 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
51627 (__FSWORD_T_TYPE): Likewise.
51628 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
51629 (__FSWORD_T_TYPE): Likewise.
51630 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
51631 (__FSWORD_T_TYPE): Likewise.
51632 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
51633 (__FSWORD_T_TYPE): Likewise.
51634 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
51635 __SWORD_TYPE with __fsword_t.
51636 (statfs64): Likewise.
51637
51638 2012-05-17 David S. Miller <davem@davemloft.net>
51639
51640 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
51641
51642 2012-05-17 Andreas Jaeger <aj@suse.de>
51643
51644 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
51645 warning.
51646
51647 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
51648
51649 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
51650
51651 2012-05-17 Andreas Jaeger <aj@suse.de>
51652
51653 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
51654 when it is used.
51655
51656 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
51657
51658 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
51659
51660 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
51661
51662 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
51663 * sysdeps/x86_64/tst-mallocalign1.c: New file.
51664
51665 2012-05-17 Andreas Jaeger <aj@suse.de>
51666 Carlos O'Donell <carlos_odonell@mentor.com>
51667
51668 [BZ #14059]
51669 * sysdeps/x86_64/multiarch/init-arch.h
51670 (bit_YMM_Usable): Rename to...
51671 (bit_AVX_Usable): ... this.
51672 (bit_FMA4_Usable): New macro.
51673 (bit_XMM_state): New macro.
51674 (bit_YMM_state): New macro.
51675 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
51676 [__ASSEMBLER__] (index_AVX_Usable): ... this.
51677 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
51678 (CPUID_OSXSAVE): New macro.
51679 (CPUID_AVX): New macro.
51680 (CPUID_FMA4): New macro.
51681 (index_YMM_Usable): Rename to...
51682 (index_AVX_Usable): ... this.
51683 (HAS_AVX): Use HAS_ARCH_FEATURE.
51684 (HAS_FMA4): Likewise.
51685 (HAS_YMM_USABLE): Remove.
51686 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51687 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
51688 are present.
51689 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
51690 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
51691 * sysdeps/x86_64/multiarch/Makefile: Likewise.
51692 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
51693 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
51694
51695 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
51696
51697 * math/libm-test.c: Support platforms without multiple rounding modes.
51698 * math/bug-nextafter.c: Support platforms without FP exceptions.
51699 * math/bug-nexttoward.c: Likewise.
51700 * math/test-fenv.c: Likewise.
51701 * math/test-misc.c: Likewise.
51702 * stdlib/bug-getcontext.c: Likewise.
51703
51704 2012-05-17 Andreas Jaeger <aj@suse.de>
51705
51706 * manual/examples/search.c (critter_cmp): Change signature to
51707 avoid warnings.
51708 * manual/string.texi (Collation Functions): Likewise.
51709
51710 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
51711
51712 * bits/types.h: Fold copyright years.
51713 * bits/typesizes.h: Likewise.
51714 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
51715 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
51716 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
51717 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
51718 * time/time.h: Likewise.
51719
51720 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
51721
51722 [BZ #208]
51723 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
51724 in instead of returning them. Return void.
51725 (__libc_mallinfo): Accumulate over all arenas.
51726 (__malloc_stats): Adjust for change in int_mallinfo interface.
51727
51728 2012-05-16 Roland McGrath <roland@hack.frob.com>
51729
51730 [BZ #10375]
51731 * configure.in (NM): Add AC_CHECK_TOOL for it.
51732 (libc_extra_cflags): New substituted variable.
51733 Check for -fstack-protector being used implicitly.
51734 * configure: Regenerated.
51735 * config.make.in (config-extra-cflags): New variable,
51736 gets @libc_extra_cflags@.
51737 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
51738
51739 [BZ #10375]
51740 * configure.in: Check for _FORTIFY_SOURCE being predefined.
51741 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
51742 * configure: Regenerated.
51743 * config.make.in (CPPUNDEFS): New substituted variable.
51744 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
51745 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
51746 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
51747
51748 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
51749
51750 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
51751 (mq_attr): Use __syscall_slong_t.
51752
51753 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
51754
51755 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
51756 Check __x86_64__ instead of __WORDSIZE.
51757 (_STAT_VER_LINUX): Likewise.
51758 (stat): Check __x86_64__ instead of __WORDSIZE. Use
51759 __syscall_ulong_t and __syscall_slong_t.
51760 (stat64): Likewise.
51761
51762 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
51763
51764 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
51765
51766 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
51767
51768 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
51769
51770 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
51771
51772 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
51773 __syscall_ulong_t.
51774
51775 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
51776 include <bits/wordsize.h>. Check __x86_64__ instead of
51777 __WORDSIZE.
51778 (greg_t): Use "__extension__ long long int" if __x86_64__ is
51779 defined.
51780 (mcontext_t): Replace "unsigned long" with "unsigned long long".
51781
51782 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
51783 include <bits/wordsize.h>. Check __x86_64__ instead of
51784 __WORDSIZE.
51785 (user_regs_struct): Use "__extension__ unsigned long long"
51786 instead of "unsigned long" if __x86_64__ is defined.
51787 (user): Likewise. Pad after pointer field if __ILP32__ is
51788 defined.
51789
51790 2012-05-16 Joseph Myers <joseph@codesourcery.com>
51791
51792 * configure.in (makeinfo): Require version 4.5 or later. Allow
51793 versions 5 to 9.
51794 * configure: Regenerated.
51795 * manual/install.texi (texinfo): Increase version requirement to
51796 4.5 or later.
51797 * INSTALL: Regenerated.
51798
51799 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
51800
51801 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
51802
51803 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
51804
51805 * sysdeps/x86_64/x32/ffs.c: New file.
51806
51807 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
51808 __syscall_ulong_t.
51809 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
51810 defined. Use __syscall_ulong_t.
51811 (shminfo): Use __syscall_ulong_t.
51812 (shm_info): Likewise.
51813
51814 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
51815 __syscall_ulong_t.
51816
51817 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
51818 <bits/wordsize.h>.
51819 (msgqnum_t): Use __syscall_ulong_t.
51820 (msglen_t): Likewise.
51821 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
51822 __syscall_ulong_t.
51823
51824 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
51825 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
51826
51827 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
51828
51829 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
51830 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
51831
51832 * sysvipc/sys/msg.h (msgbuf): Replace long int with
51833 __syscall_slong_t.
51834
51835 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
51836 include <bits/wordsize.h>. Check __x86_64__ instead of
51837 __WORDSIZE.
51838
51839 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
51840 "unsigned long long int" if __x86_64__ is defined.
51841 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
51842
51843 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
51844 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
51845 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
51846
51847 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
51848 <stdint.h>.
51849 (GET_PC): Cast to uintptr_t first.
51850 (GET_FRAME): Likewise.
51851 (GET_STACK): Likewise.
51852
51853 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
51854 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
51855 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
51856 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
51857 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
51858 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
51859 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
51860 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
51861 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
51862 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
51863 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
51864 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
51865 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
51866 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
51867 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
51868 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
51869 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
51870 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
51871 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
51872 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
51873 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
51874 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
51875 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
51876 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
51877 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
51878 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
51879 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
51880 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
51881 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
51882
51883 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
51884
51885 * Makerules (+depfiles): Also collect depfiles from .oS in
51886 $(extra-objs).
51887 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
51888 .oS, $(libnldbl-routines)).
51889
51890 * Makerules (native-compile-mkdep-flags): Define.
51891 * sunrpc/Makefile (extra-objs): Add $(addprefix
51892 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
51893 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
51894 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
51895 calling $(make-target-directory).
51896
51897 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51898
51899 * bits/types.h (__snseconds_t): Removed.
51900 * time/time.h (struct timespec): Replace __snseconds_t with
51901 __syscall_slong_t.
51902 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
51903 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
51904 Likewise.
51905 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
51906 (__SNSECONDS_T_TYPE): Likewise.
51907 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
51908 (__SNSECONDS_T_TYPE): Likewise.
51909 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
51910 (__SNSECONDS_T_TYPE): Likewise.
51911
51912 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51913
51914 * sysdeps/mach/hurd/bits/typesizes.h
51915 (__SYSCALL_SLONG_TYPE): New macro.
51916 (__SYSCALL_ULONG_TYPE): Likewise.
51917
51918 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51919
51920 * bits/types.h (__syscall_slong_t): New type.
51921 (__syscall_ulong_t): Likewise.
51922
51923 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
51924 (__SYSCALL_ULONG_TYPE): Likewise.
51925 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
51926 (__SYSCALL_SLONG_TYPE): Likewise.
51927 (__SYSCALL_ULONG_TYPE): Likewise.
51928 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
51929 (__SYSCALL_SLONG_TYPE): Likewise.
51930 (__SYSCALL_ULONG_TYPE): Likewise.
51931 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
51932 (__SYSCALL_SLONG_TYPE): Likewise.
51933 (__SYSCALL_ULONG_TYPE): Likewise.
51934
51935 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51936
51937 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
51938 Add sigaltstack-offsets.sym.
51939 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
51940 <sigaltstack-offsets.h>.
51941 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
51942 longjmp_msg pointer.
51943 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
51944 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
51945 signal stack.
51946 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
51947
51948 2012-05-15 Joseph Myers <joseph@codesourcery.com>
51949
51950 * elf/stackguard-macros.h: Remove file.
51951 * sysdeps/generic/stackguard-macros.h: New file.
51952 * sysdeps/i386/stackguard-macros.h: Likewise.
51953 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
51954 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
51955 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
51956 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
51957 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
51958 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
51959 * sysdeps/x86_64/stackguard-macros.h: Likewise.
51960 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
51961 <elf/stackguard-macros.h>.
51962
51963 [BZ #14109]
51964 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
51965 __aligned__ in attribute.
51966 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
51967 (gregset_t): Likewise.
51968
51969 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51970
51971 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
51972 * sysdeps/x86_64/64/Implies-after: Here. New file.
51973 * sysdeps/x86_64/x32/Implies-after: New file.
51974
51975 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51976
51977 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
51978 and access return value for _dl_profile_fixup. Use R10_LP to
51979 load frame size.
51980
51981 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51982
51983 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
51984
51985 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51986
51987 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
51988 * sysdeps/x86_64/x32/sysdep.h: New file.
51989
51990 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51991
51992 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
51993 * sysdeps/x86_64/setjmp.S: Likewise.
51994
51995 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51996
51997 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
51998 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
51999 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
52000 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
52001 remove unused global constant.
52002
52003 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
52004
52005 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
52006 include of <not-cancel.h>.
52007
52008 2012-05-15 Roland McGrath <roland@hack.frob.com>
52009
52010 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
52011
52012 2012-05-15 Jeff Law <law@redhat.com>
52013 Andreas Jaeger <aj@suse.de>
52014
52015 [BZ #13594]
52016 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
52017 out from...
52018 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
52019 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
52020 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
52021 code changing __hst_map_handle.map.
52022
52023 2012-05-15 Roland McGrath <roland@hack.frob.com>
52024
52025 * configure.in (sysnames): Look for Implies-before and Implies-after
52026 files.
52027 * configure: Regenerated.
52028
52029 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52030
52031 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
52032 8-byte data alignment with LP_SIZE alignment.
52033
52034 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52035
52036 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
52037 into R10_LP.
52038
52039 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52040
52041 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
52042
52043 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52044
52045 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
52046 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
52047 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
52048 Likewise.
52049 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
52050
52051 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52052
52053 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
52054 (stackinfo_sub_sp): Likewise.
52055
52056 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52057
52058 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
52059 RAX_LP.
52060
52061 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52062
52063 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
52064 into R*_LP.
52065
52066 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52067
52068 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
52069 sizes into R*_LP.
52070
52071 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52072
52073 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
52074
52075 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52076
52077 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
52078 into R11_LP and load __x86_64_shared_cache_size_half into
52079 R8_LP.
52080
52081 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52082
52083 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
52084 R8_LP.
52085
52086 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52087
52088 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
52089 logb for POWER7.
52090 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
52091 logbf for POWER7.
52092 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
52093 logbl for POWER7.
52094 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
52095 powerpc32/power7/fpu/s_logb.c via #include.
52096 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
52097 powerpc32/power7/fpu/s_logbf.c via #include.
52098 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
52099 powerpc32/power7/fpu/s_logbl.c via #include.
52100
52101 2012-05-15 Joseph Myers <joseph@codesourcery.com>
52102
52103 * README.libm: Remove file.
52104
52105 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
52106
52107 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
52108 count for x32. Use R*_LP and omit operand-size suffix.
52109
52110 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
52111
52112 * shlib-versions: Move x86_64-.*-linux.* entries to ...
52113 * sysdeps/x86_64/64/shlib-versions: Here. New file.
52114 * sysdeps/x86_64/x32/shlib-versions: New file.
52115
52116 2012-05-14 Roland McGrath <roland@hack.frob.com>
52117
52118 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
52119 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
52120 Use _dl_fatal_printf instead.
52121
52122 2012-05-14 Joseph Myers <joseph@codesourcery.com>
52123
52124 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
52125 set if not set by the user. Do not allow for being unset.
52126 * sysdeps/unix/sysv/linux/configure: Regenerated.
52127
52128 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
52129
52130 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
52131 the `q' suffix from lea and replace .quad with ASM_ADDR.
52132
52133 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
52134
52135 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
52136 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
52137 instead of $17.
52138 (PTR_DEMANGLE): Likewise.
52139
52140 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
52141
52142 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
52143 (LP_OP): Likewise.
52144 (ASM_ADDR): Likewise.
52145 (RAX_LP): Likewise.
52146 (RBP_LP): Likewise.
52147 (RBX_LP): Likewise.
52148 (RCX_LP): Likewise.
52149 (RDI_LP): Likewise.
52150 (RSI_LP): Likewise.
52151 (RSP_LP): Likewise.
52152 (R8_LP): Likewise.
52153 (R9_LP): Likewise.
52154 (R10_LP): Likewise.
52155 (R10_LP): Likewise.
52156 (R11_LP): Likewise.
52157 (R12_LP): Likewise.
52158 (R13_LP): Likewise.
52159 (R14_LP): Likewise.
52160 (R15_LP): Likewise.
52161
52162 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
52163
52164 * sysdeps/x86_64/x32/dl-machine.h: New file.
52165
52166 2012-05-14 Andreas Jaeger <aj@suse.de>
52167
52168 * manual/Makefile (subdir): Remove export of subdir.
52169 (all): Remove target.
52170 (.PHONY): Remove all from list.
52171 (mkinstalldirs): Remove.
52172 (.PHONY): Remove installdirs from list.
52173 ($(inst_infodir)/libc.info): Use make-target-directory.
52174 (installdirs): Remove.
52175 (subdir_%): Remove.
52176 (glibc-targets): Remove.
52177 (lib): Remove.
52178 (stubs): Remove.
52179 ($(objpfx)stubs ../po/manual.pot): Remove.
52180 ($(objpfx)stamp%): Remove.
52181 (make-target-directory): Remove.
52182 (subdir_install): Remove.
52183 (routines): Remove.
52184 (aux): Remove.
52185 (sources): Remove.
52186 (objects): Remove.
52187 (headers): Remove.
52188
52189 [BZ #13750]
52190 * manual/.gitignore: Remove, it's not needed anymore.
52191 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
52192 all files in it.
52193 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
52194 directory.
52195 (texis): Renamed to $(objpfx)texis.
52196 (texis-path): New, contains path to generated files.
52197 (chapters.%): Use texis-path for complete path, add extra argument
52198 libc-texinfo.sh.
52199 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
52200 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
52201 (summary,texi, stamp-summary): Use complete path of
52202 files. Generate files in build dir.
52203 (dir-add.texi): Build in build dir.
52204 (libm-err.texi,stamp-libm-err): Likewise.
52205 (version.texi, stamp-version): Likewise.
52206 (.%c.texi): Likewise.
52207 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
52208 (mostlyclean): Remove target.
52209 (realclean): Remove target.
52210 (generated): Add new variable with contents from mostlyclean and
52211 realclean, remove entries duplicated in common-mostlyclean, add
52212 stamp-libm-err and stamp-version.
52213 (generated-dirs): Add libc directory.
52214 ($(inst_infodir)/libc.info): Install files from build dir.
52215
52216 * manual/install.texi (Configuring and compiling): Adjust since
52217 the info files are not part of the tar ball anymore.
52218
52219 2012-05-14 Andreas Jaeger <aj@suse.de>
52220
52221 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
52222 variable.
52223
52224 2012-05-14 Joseph Myers <joseph@codesourcery.com>
52225
52226 [BZ #13717]
52227 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
52228 to 2.2.0 where earlier.
52229 * sysdeps/unix/sysv/linux/configure: Regenerated.
52230 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
52231 Remove conditional code.
52232 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
52233 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
52234 Remove conditional code.
52235 [!__NR_lchown]: Likewise.
52236 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
52237 [__NR_lchown]: Likewise.
52238 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
52239 comment referencing __ASSUME_LCHOWN_SYSCALL.
52240 * sysdeps/unix/sysv/linux/i386/sigaction.c
52241 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
52242 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
52243 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
52244 Remove conditional code.
52245 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
52246 (__protocol_available): Remove #if 0 code.
52247 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
52248 conditional code.
52249 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
52250 * sysdeps/unix/sysv/linux/kernel-features.h
52251 (__ASSUME_GETCWD_SYSCALL): Don't define.
52252 (__ASSUME_REALTIME_SIGNALS): Likewise.
52253 (__ASSUME_PREAD_SYSCALL): Likewise.
52254 (__ASSUME_PWRITE_SYSCALL): Likewise.
52255 (__ASSUME_POLL_SYSCALL): Likewise.
52256 (__ASSUME_LCHOWN_SYSCALL): Likewise.
52257 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
52258 non-SPARC.
52259 (__ASSUME_SIOCGIFNAME): Don't define.
52260 (__ASSUME_MSG_NOSIGNAL): Likewise.
52261 (__ASSUME_SENDFILE): Define unconditionally.
52262 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
52263 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
52264 conditional code.
52265 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
52266 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
52267 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
52268 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
52269 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
52270 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
52271 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
52272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
52273 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
52274 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
52275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
52276 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
52277 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
52278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
52279 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
52280 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
52281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
52282 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
52283 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
52284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
52285 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
52286 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
52287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
52288 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
52289 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
52290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
52291 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
52292 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
52293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
52294 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
52295 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
52296 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
52297 Remove conditional code.
52298 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
52299 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
52300 Remove conditional code.
52301 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
52302 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
52303 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
52304 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
52305 Remove conditional code.
52306 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
52307 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
52308 Remove conditional code.
52309 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
52310 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
52311 Remove conditional code.
52312 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
52313 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
52314 Remove conditional code.
52315 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
52316 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
52317 Remove conditional code.
52318 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
52319 * sysdeps/unix/sysv/linux/sh/pwrite64.c
52320 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
52321 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
52322 * sysdeps/unix/sysv/linux/sigaction.c
52323 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
52324 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
52325 * sysdeps/unix/sysv/linux/sigpending.c
52326 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
52327 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
52328 * sysdeps/unix/sysv/linux/sigprocmask.c
52329 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
52330 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
52331 * sysdeps/unix/sysv/linux/sigsuspend.c
52332 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
52333 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
52334 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
52335 (__libc_missing_rt_sigs): Remove.
52336 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
52337 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
52338 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
52339 Remove conditional code.
52340 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
52341 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
52342 return 1.
52343 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
52344 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
52345 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
52346 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
52347
52348 2012-05-14 Andreas Jaeger <aj@suse.de>
52349
52350 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
52351 it's not used in glibc.
52352 (__coshm1): Likewise.
52353 (__acosh1p): Likewise.
52354 (__sgn): Likewise.
52355
52356 * manual/string.texi (Copying and Concatenation): Add missing
52357 variable in concat example.
52358 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
52359
52360 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
52361
52362 [BZ #14103]
52363 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
52364 __builtin_clzl with __builtin_clzll.
52365
52366 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
52367
52368 [BZ #14104]
52369 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
52370 libc_freeres_ptr.
52371
52372 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52373
52374 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
52375 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
52376 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
52377 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
52378
52379 2012-05-14 Mike Frysinger <vapier@gentoo.org>
52380
52381 * NEWS: Update ia64 info.
52382
52383 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
52384
52385 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
52386 used as bcopy.
52387
52388 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
52389
52390 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
52391 * sysdeps/unix/syscalls.list (dup3): Likewise.
52392 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
52393 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
52394
52395 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
52396
52397 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
52398 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
52399
52400 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
52401
52402 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
52403 thread pointer.
52404 (TLS_IE): Use mov/add instead of movq/addq to load thread
52405 pointer.
52406 (TLS_GD_PREFIX): New.
52407 (TLS_GD): Use it.
52408
52409 2012-05-11 David S. Miller <davem@davemloft.net>
52410
52411 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
52412 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
52413 (_FPU_SETCW): Likewise.
52414
52415 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
52416
52417 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
52418 is 32-byte aligned.
52419
52420 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
52421
52422 [BZ #11837]
52423 * iconvdata/gb18030.c: Update tables.
52424 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
52425 characters specially.
52426 (BODY for TO_LOOP): Add encoding of missing ranges.
52427
52428 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
52429
52430 [BZ #13673]
52431 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
52432 * sysdeps/mach/hurd/dup3.c: Likewise.
52433 * sysdeps/mach/hurd/readlinkat.c: Likewise.
52434 * sysdeps/powerpc/memmove.c:: Likewise.
52435
52436 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
52437
52438 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
52439 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
52440
52441 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
52442
52443 * elf/elf.h (R_X86_64_RELATIVE64): New.
52444 (R_X86_64_NUM): Updated.
52445 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
52446 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
52447 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
52448 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
52449 tst-quad1pie tst-quad2pie
52450 (modules-names): Add tst-quadmod1 tst-quadmod2.
52451 ($(objpfx)tst-quad1): New dependency.
52452 ($(objpfx)tst-quad2): Likewise.
52453 ($(objpfx)tst-quad1pie): Likewise.
52454 ($(objpfx)tst-quad2pie): Likewise.
52455 * sysdeps/x86_64/tst-quad1.c: New file.
52456 * sysdeps/x86_64/tst-quad1pie.c: New file.
52457 * sysdeps/x86_64/tst-quad2.c: Likewise.
52458 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
52459 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
52460 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
52461 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
52462 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
52463
52464 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
52465
52466 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
52467 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
52468 * streams/stropts.h (t_scalar_t): Define type.
52469
52470 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
52471 (_PATH_PRESERVE): Set to "/var/lib".
52472 (_PATH_RWHODIR): Set to "/var/spool/rwho".
52473
52474 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
52475 instead of int.
52476
52477 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
52478 if __dir_mkfile succeeded.
52479
52480 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
52481 checking for _hurd_dtablesize. Unlock it right after having
52482 finished _hurd_dtable allocation.
52483
52484 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
52485
52486 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
52487 * sysdeps/mach/hurd/configure: Regenerated.
52488 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
52489 special-casing to...
52490 * sysdeps/gnu/configure.in: ... this new file.
52491 * sysdeps/unix/sysv/linux/configure: Regenerated.
52492 * sysdeps/gnu/configure: New generated file.
52493
52494 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
52495 for Linux: use nsec instead of usec, as well as:
52496 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
52497 members of type struct timespec.
52498 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
52499 New macros.
52500 (struct stat64): Likewise.
52501 (_STATBUF_ST_NSEC): New macro.
52502 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
52503
52504 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
52505 __strtoul_internal rather than strtoul.
52506
52507 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
52508
52509 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
52510 and reject them.
52511
52512 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
52513
52514 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
52515 which preserves existing values.
52516 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
52517
52518 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
52519
52520 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
52521 TIMEOUT values. Return EINVAL for NFDS values either negative or
52522 greater than FD_SETSIZE.
52523
52524 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
52525
52526 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
52527 allocated, call __vm_protect to finish enabling the existing space, and
52528 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
52529 allocate the remainder.
52530
52531 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
52532
52533 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
52534 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
52535
52536 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
52537
52538 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
52539 sysdeps/mach/hurd/readlink.c.
52540
52541 * posix/tst-sysconf.c (posix_options): Only use
52542 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
52543 _POSIX_SYNCHRONIZED_IO when they are defined
52544 * sysdeps/mach/hurd/bits/posix_opt.h:
52545 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
52546 (_XOPEN_REALTIME): Undefine macro.
52547 (_XOPEN_REALTIME_THREADS): Undefine macro.
52548 (_XOPEN_SHM): Undefine macro.
52549 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
52550 macro to -1.
52551 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
52552 macro to -1.
52553 (_POSIX_ASYNC_IO): Undefine macro.
52554 (_POSIX_PRIORITIZED_IO): Undefine macro.
52555 (_POSIX_SPIN_LOCKS): Define macro to -1.
52556
52557 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
52558 SA_NODEFER, SA_RESETHAND.
52559 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
52560 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
52561 F_DUPFD_CLOEXEC.
52562
52563 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
52564
52565 * elf/Makefile (pldd-modules): Define unconditionally.
52566
52567 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
52568
52569 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
52570
52571 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
52572
52573 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
52574 Return ENOENT when name is empty.
52575 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
52576
52577 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
52578
52579 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
52580
52581 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
52582
52583 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
52584
52585 Fix mlock in all cases except non-readable pages.
52586 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
52587 instead of VM_PROT_ALL as parameter to __vm_wire function.
52588
52589 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
52590 (__mkdir): When path is `/', just fail with EEXIST.
52591 * sysdeps/mach/hurd/mkdirat.c: Likewise.
52592
52593 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
52594
52595 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
52596 <sys/uio.h> (for writev).
52597 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
52598 and <sys/param.h> (for MIN).
52599
52600 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
52601
52602 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
52603 REQUESTED_TIME. Properly set the remaining time and return EINTR
52604 if interrupted.
52605
52606 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
52607
52608 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
52609 Depend on against $(link-rpcuserlibs).
52610
52611 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
52612
52613 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
52614 (__libc_stack_end): Do not use attribute_relro.
52615 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
52616 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
52617 to libthread-provided value.
52618 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
52619 attribute_relro.
52620
52621 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
52622
52623 [BZ #3748]
52624 * bits/libc-lock.h (__libc_once_get): New macro.
52625 * sysdeps/mach/bits/libc-lock.h: Likewise.
52626 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
52627 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
52628 instead of using implementation details.
52629
52630 * libio/fileops.c: Unconditionally include <kernel-features.h>.
52631 * libio/freopen.c: Likewise.
52632 * libio/freopen64.c: Likewise.
52633 * misc/syslog.c: Likewise.
52634 * nscd/connections.c: Likewise.
52635 * nscd/netgroupcache.c: Likewise.
52636 * sysdeps/posix/getcwd.c: Likewise.
52637
52638 2012-05-10 Roland McGrath <roland@hack.frob.com>
52639
52640 * math/w_ilogbf.c: Add #include <limits.h>.
52641
52642 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
52643
52644 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
52645 path instead of returning without unlocking.
52646
52647 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
52648 immediate-write ioctls.
52649 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
52650
52651 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
52652
52653 * sysdeps/mach/hurd/i386/init-first.c (init): Use
52654 __builtin_frame_address instead of making assumptions about the
52655 location of the return address relative to DATA. Force early load of
52656 the return address.
52657 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
52658 __builtin_frame_address.
52659
52660 dup3 for GNU Hurd.
52661 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
52662 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
52663 implement dup3 and do some further code clean-ups.
52664 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
52665 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
52666
52667 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
52668
52669 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
52670
52671 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
52672 HURD_CRITICAL_END around holding _hurd_dtable_lock.
52673 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
52674 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
52675 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
52676 d->port.lock.
52677
52678 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
52679 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
52680 when handler == SIG_ERR, not when handler != SIG_ERR.
52681
52682 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
52683
52684 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
52685 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
52686 definitions.
52687
52688 accept4 for GNU Hurd.
52689 * include/sys/socket.h (__libc_accept4): New prototype.
52690 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
52691 to implement __libc_accept4.
52692 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
52693 __libc_accept4.
52694 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
52695
52696 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
52697 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
52698 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
52699 signal-defines.sym.
52700
52701 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
52702
52703 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
52704
52705 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
52706
52707 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
52708 assertion on O_CLOEXEC flag.
52709 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
52710 * hurd/intern-fd.c: Likewise.
52711 * hurd/port2fd.c: Likewise.
52712
52713 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
52714
52715 [BZ #3906]
52716 * bits/in.h (IPV6_PKTINFO): Define new macro.
52717 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
52718
52719 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52720
52721 [BZ #13954]
52722 [BZ #13955]
52723 [BZ #13956]
52724 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
52725 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
52726 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
52727 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
52728 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
52729 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
52730 * math/libm-test.inc (logb_test) : Additional logb tests.
52731
52732 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
52733 Andreas Jaeger <aj@suse.de>
52734
52735 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
52736 * configure: Regenerated.
52737 * config.h.in (LINK_OBSOLETE_RPC): New macro.
52738 * config.make.in (link-obsolete-rpc): New substituted variable.
52739 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
52740 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
52741 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
52742 (shared-only-routines): Don't set it under [link-obsolete-rpc],
52743 so that libc.a contains the symbols.
52744 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
52745 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
52746 * sunrpc/auth_none.c: Likewise.
52747 * sunrpc/auth_unix.c: Likewise.
52748 * sunrpc/authdes_prot.c: Likewise.
52749 * sunrpc/authuxprot.c: Likewise.
52750 * sunrpc/clnt_gen.c: Likewise.
52751 * sunrpc/clnt_perr.c: Likewise.
52752 * sunrpc/clnt_raw.c: Likewise.
52753 * sunrpc/clnt_simp.c: Likewise.
52754 * sunrpc/clnt_tcp.c: Likewise.
52755 * sunrpc/clnt_udp.c: Likewise.
52756 * sunrpc/clnt_unix.c: Likewise.
52757 * sunrpc/des_crypt.c: Likewise.
52758 * sunrpc/des_soft.c: Likewise.
52759 * sunrpc/get_myaddr.c: Likewise.
52760 * sunrpc/key_call.c: Likewise.
52761 * sunrpc/key_prot.c: Likewise.
52762 * sunrpc/netname.c: Likewise.
52763 * sunrpc/pm_getmaps.c: Likewise.
52764 * sunrpc/pm_getport.c: Likewise.
52765 * sunrpc/pmap_clnt.c: Likewise.
52766 * sunrpc/pmap_prot.c: Likewise.
52767 * sunrpc/pmap_prot2.c: Likewise.
52768 * sunrpc/pmap_rmt.c: Likewise.
52769 * sunrpc/publickey.c: Likewise.
52770 * sunrpc/rpc_cmsg.c: Likewise.
52771 * sunrpc/rpc_common.c: Likewise.
52772 * sunrpc/rpc_dtable.c: Likewise.
52773 * sunrpc/rpc_prot.c: Likewise.
52774 * sunrpc/rpc_thread.c: Likewise.
52775 * sunrpc/rtime.c: Likewise.
52776 * sunrpc/svc.c: Likewise.
52777 * sunrpc/svc_auth.c: Likewise.
52778 * sunrpc/svc_raw.c: Likewise.
52779 * sunrpc/svc_run.c: Likewise.
52780 * sunrpc/svc_tcp.c: Likewise.
52781 * sunrpc/svc_udp.c: Likewise.
52782 * sunrpc/svc_unix.c: Likewise.
52783 * sunrpc/svcauth_des.c: Likewise.
52784 * sunrpc/xcrypt.c: Likewise.
52785 * sunrpc/xdr.c: Likewise.
52786 * sunrpc/xdr_array.c: Likewise.
52787 * sunrpc/xdr_float.c: Likewise.
52788 * sunrpc/xdr_intXX_t.c: Likewise.
52789 * sunrpc/xdr_mem.c: Likewise.
52790 * sunrpc/xdr_rec.c: Likewise.
52791 * sunrpc/xdr_ref.c: Likewise.
52792 * sunrpc/xdr_sizeof.c: Likewise.
52793 * sunrpc/xdr_stdio.c: Likewise.
52794
52795 2012-05-10 Roland McGrath <roland@hack.frob.com>
52796
52797 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
52798 change. Update copyright years.
52799
52800 2012-05-10 Joseph Myers <joseph@codesourcery.com>
52801
52802 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
52803
52804 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
52805 Joseph Myers <joseph@codesourcery.com>
52806 Paul Pluzhnikov <ppluzhnikov@google.com>
52807
52808 [BZ #14012]
52809 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
52810 requiring rpcgen.
52811 [cross-compiling] (extra-libs): Likewise.
52812 [cross-compiling] (extra-libs-others): Likewise.
52813 [cross-compiling] (librpcsvc-routines): Likewise.
52814 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
52815 [cross-compiling] (omit-deps): Likewise.
52816 (sunrpc-CPPFLAGS): New variable.
52817 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
52818 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
52819 (cross-rpcgen-objs): New variable.
52820 (extra-objs): Append $(cross-rpcgen-objs).
52821 ($(cross-rpcgen-objs)): New rule.
52822 ($(objpfx)cross-rpcgen): Likewise.
52823 (rpcgen-cmd): Define to use $(built-program-file). Expand
52824 comment.
52825 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
52826 ($(objpfx)x%.stmp): Likewise.
52827 * sunrpc/proto.h [IS_IN_build] (_): Define.
52828 [IS_IN_build] (_libc_intl_domainname): Likewise.
52829
52830 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
52831
52832 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
52833 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
52834 and R_X86_64_TPOFF64.
52835
52836 2012-05-10 Joseph Myers <joseph@codesourcery.com>
52837
52838 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
52839 sysdeps/unix/sysv/syscalls.list.
52840 (stime): Likewise.
52841 (utime): Likewise.
52842 * sysdeps/unix/sysv/syscalls.list: Remove file.
52843
52844 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
52845
52846 [BZ #3440]
52847 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
52848 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
52849 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
52850 (__LC_IDENTIFICATION): Make these macros useful in #if
52851 expressions, as required by C99.
52852
52853 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
52854
52855 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
52856 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
52857 after this.
52858
52859 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
52860
52861 * stdlib/longlong.h: Updated from GCC.
52862
52863 2012-05-09 Andreas Jaeger <aj@suse.de>
52864
52865 * nscd/nscd.c (run_modes): Make named enum, reorder so that
52866 default is first entry.
52867 (run_mode): Set type.
52868 (main): Remove informal message about syslog.
52869 (options): Fix typo.
52870
52871 [BZ #14053]
52872 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
52873 to asm.
52874 (lrint): Likewise.
52875 (llrintf): Likewise.
52876 (llrint): Likewise.
52877 (rint): Likewise.
52878 (rintf): Likewise.
52879 (nearbyint): Likewise.
52880 (nearbyintf): Likewise.
52881
52882 2012-05-09 Andreas Jaeger <aj@suse.de>
52883 Pedro Alves <palves@redhat.com>
52884
52885 * nscd/nscd.c (run_mode): Use enum.
52886 (main): Cleanup coding style issue.
52887
52888 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
52889 Andreas Jaeger <aj@suse.de>
52890
52891 * nscd/nscd.c (go_background): Replaced with...
52892 (run_mode): ... this.
52893 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
52894 (options): Add -F --foreground.
52895 (main): Implement it.
52896 (parse_opt): Parse it.
52897
52898 2012-05-09 Andreas Jaeger <aj@suse.de>
52899
52900 [BZ #14083]
52901 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
52902 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
52903 -Wconversion warning.
52904 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
52905 Likewise.
52906
52907 2012-05-09 Joseph Myers <joseph@codesourcery.com>
52908
52909 * conform/data/locale.h-data (NULL): Use macro-constant. Require
52910 == 0.
52911 (LC_ALL): Use macro-int-constant.
52912 (LC_COLLATE): Likewise.
52913 (LC_CTYPE): Likewise.
52914 (LC_MESSAGES): Likewise.
52915 (LC_MONETARY): Likewise.
52916 (LC_NUMERIC): Likewise.
52917 (LC_TIME): Likewise.
52918 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
52919 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
52920 [ISO || ISO99 || ISO11] (*_t): Do not allow.
52921 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
52922 Specify type.
52923 [C99-based standards] (float_t): Expect type.
52924 [C99-based standards] (double_t): Expect type.
52925 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
52926 type.
52927 [C99-based standards] (HUGE_VALL): Likewise.
52928 [C99-based standards] (INFINITY): Likewise.
52929 [C99-based standards] (NAN): Likewise.
52930 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
52931 [C99-based standards] (FP_NAN): Likewise.
52932 [C99-based standards] (FP_NORMAL): Likewise.
52933 [C99-based standards] (FP_SUBNORMAL): Likewise.
52934 [C99-based standards] (FP_ZERO): Likewise.
52935 [C99-based standards] (FP_FAST_FMA): Use
52936 optional-macro-int-constant. Specify type. Require == 1.
52937 [C99-based standards] (FP_FAST_FMAF): Likewise.
52938 [C99-based standards] (FP_FAST_FMAL): Likewise.
52939 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
52940 [C99-based standards] (FP_ILOGBNAN): Likewise.
52941 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
52942 Specify type.
52943 [C99-based standards] (MATH_ERREXCEPT): Likewise.
52944 [C99-based standards] (math_errhandling): Specify type.
52945 [ISO99 || ISO11] (signgam): Do not allow.
52946 [non-C99-based standards] (copysignf): Do not allow.
52947 [non-C99-based standards] (exp2f): Likewise.
52948 [non-C99-based standards] (log2f): Likewise.
52949 [non-C99-based standards] (modff): Allow.
52950 [non-C99-based standards] (erff): Do not allow.
52951 [non-C99-based standards] (erfcf): Likewise.
52952 [non-C99-based standards] (gammaf): Likewise.
52953 [non-C99-based standards] (hypotf): Likewise.
52954 [non-C99-based standards] (j0f): Likewise.
52955 [non-C99-based standards] (j1f): Likewise.
52956 [non-C99-based standards] (jnf): Likewise.
52957 [non-C99-based standards] (lgammaf): Likewise.
52958 [non-C99-based standards] (tgammaf): Likewise.
52959 [non-C99-based standards] (y0f): Likewise.
52960 [non-C99-based standards] (y1f): Likewise.
52961 [non-C99-based standards] (ynf): Likewise.
52962 [non-C99-based standards] (isnanf): Likewise.
52963 [non-C99-based standards] (acoshf): Likewise.
52964 [non-C99-based standards] (asinhf): Likewise.
52965 [non-C99-based standards] (atanhf): Likewise.
52966 [non-C99-based standards] (cbrtf): Likewise.
52967 [non-C99-based standards] (expm1f): Likewise.
52968 [non-C99-based standards] (ilogbf): Likewise.
52969 [non-C99-based standards] (log1pf): Likewise.
52970 [non-C99-based standards] (logbf): Likewise.
52971 [non-C99-based standards] (nextafterf): Likewise.
52972 [non-C99-based standards] (remainderf): Likewise.
52973 [non-C99-based standards] (rintf): Likewise.
52974 [non-C99-based standards] (scalbf): Likewise.
52975 [non-C99-based standards] (copysignl): Likewise.
52976 [non-C99-based standards] (exp2l): Likewise.
52977 [non-C99-based standards] (log2l): Likewise.
52978 [non-C99-based standards] (modfl): Allow.
52979 [non-C99-based standards] (erfl): Do not allow.
52980 [non-C99-based standards] (erfcl): Likewise.
52981 [non-C99-based standards] (gammal): Likewise.
52982 [non-C99-based standards] (hypotl): Likewise.
52983 [non-C99-based standards] (j0l): Likewise.
52984 [non-C99-based standards] (j1l): Likewise.
52985 [non-C99-based standards] (jnl): Likewise.
52986 [non-C99-based standards] (lgammal): Likewise.
52987 [non-C99-based standards] (tgammal): Likewise.
52988 [non-C99-based standards] (y0l): Likewise.
52989 [non-C99-based standards] (y1l): Likewise.
52990 [non-C99-based standards] (ynl): Likewise.
52991 [non-C99-based standards] (isnanl): Likewise.
52992 [non-C99-based standards] (acoshl): Likewise.
52993 [non-C99-based standards] (asinhl): Likewise.
52994 [non-C99-based standards] (atanhl): Likewise.
52995 [non-C99-based standards] (cbrtl): Likewise.
52996 [non-C99-based standards] (expm1l): Likewise.
52997 [non-C99-based standards] (ilogbl): Likewise.
52998 [non-C99-based standards] (log1pl): Likewise.
52999 [non-C99-based standards] (logbl): Likewise.
53000 [non-C99-based standards] (nextafterl): Likewise.
53001 [non-C99-based standards] (remainderl): Likewise.
53002 [non-C99-based standards] (rintl): Likewise.
53003 [non-C99-based standards] (scalbl): Likewise.
53004 [ISO || ISO99 || ISO11] (*_t): Do not allow.
53005 [non-C99-based standards] (FP_*): Do not allow.
53006 [C99-based standards] (FP_*): Change to
53007 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
53008 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
53009 allow.
53010 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
53011 (SIG_ERR): Likewise.
53012 [X/Open-based standards] (SIG_HOLD): Likewise.
53013 (SIG_IGN): Likewise.
53014 (SIGABRT): Use macro-int-constant. Specify type. Require
53015 positive value.
53016 (SIGFPE): Likewise.
53017 (SIGILL): Likewise.
53018 (SIGINT): Likewise.
53019 (SIGSEGV): Likewise.
53020 (SIGTER): Likewise.
53021 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
53022 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
53023 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
53024 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
53025 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
53026 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
53027 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
53028 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
53029 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
53030 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
53031 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
53032 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
53033 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
53034 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
53035 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
53036 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
53037 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
53038 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
53039 [X/Open-based standards] (SIGTRAP): Likewise.
53040 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
53041 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
53042 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
53043 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
53044 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
53045 allow.
53046
53047 2012-05-08 Ian Wienand <ianw@vmware.com>
53048
53049 [BZ #14080]
53050 * time/tzset.c (__tzset_parse_tz): Update default rules for
53051 daylight time changes in the Energy Policy Act of 2005.
53052
53053 2012-05-09 Andreas Jaeger <aj@suse.de>
53054
53055 [BZ #13983]
53056 * elf/ldconfig.c (parse_conf): Change string to make clear that
53057 ldconfig only issued a warning if ld.so.conf does not exist.
53058
53059 2012-05-08 David S. Miller <davem@davemloft.net>
53060
53061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
53062 movxtod instead of popping the value on the stack.
53063
53064 * sysdeps/sparc/fpu/libm-test-ulps: Update.
53065
53066 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
53067
53068 * config.h.in: Add HAVE_ARM_PCS_VFP.
53069
53070 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
53071
53072 [BZ #13979]
53073 * include/features.h: Warn if user requests __FORTIFY_SOURCE
53074 checking but the checks are disabled for any reason.
53075
53076 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
53077
53078 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
53079 and ELF64_R_TYPE with ELFW(R_TYPE).
53080
53081 2012-05-08 Joseph Myers <joseph@codesourcery.com>
53082
53083 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
53084 (ulimit): Likewise.
53085
53086 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
53087 (settimeofday): Likewise.
53088
53089 2012-05-08 Mike Frysinger <vapier@gentoo.org>
53090
53091 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
53092 a struct th_u2 inside the union, and move tu_block/tu_code into
53093 a new th_u3 union of tu_block/tu_code inside of that. Move
53094 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
53095 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
53096 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
53097 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
53098 (th_stuff): Change to th_u1.tu_stuff.
53099 (th_data): Define.
53100 (th_msg): Change to th_u1.th_u2.tu_data.
53101
53102 2012-05-07 David S. Miller <davem@davemloft.net>
53103
53104 * sysdeps/sparc/fpu/libm-test-ulps: Update.
53105
53106 [BZ #14074]
53107 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
53108 (SETUP_PIC_REG): Use it.
53109 (SETUP_PIC_REG_LEAF): Use it.
53110
53111 2012-05-07 Joseph Myers <joseph@codesourcery.com>
53112
53113 [BZ #13885]
53114 [BZ #13923]
53115 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
53116 USE_AS_EXPM1L.
53117 (EXPL_FINITE): Likewise.
53118 (FLDLOG): Likewise.
53119 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
53120 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
53121 e_expl.S.
53122 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
53123 USE_AS_EXPM1L.
53124 (EXPL_FINITE): Likewise.
53125 (FLDLOG): Likewise.
53126 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
53127 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
53128 e_expl.S.
53129 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
53130 test of -max_value argument for long double.
53131 * sysdeps/i386/fpu/libm-test-ulps: Update.
53132 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53133
53134 2012-05-06 David S. Miller <davem@davemloft.net>
53135
53136 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
53137 quad soft-float symbols whose references which are compiler
53138 generated.
53139 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
53140
53141 2012-05-06 Joseph Myers <joseph@codesourcery.com>
53142
53143 [BZ #13884]
53144 [BZ #13914]
53145 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
53146 USE_AS_EXP10L.
53147 (EXPL_FINITE): Likewise.
53148 (FLDLOG): Likewise.
53149 (c0): Likewise.
53150 (c1): Likewise.
53151 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
53152 Adjust comments for base varying.
53153 (__expl_finite): Change alias to EXPL_FINITE.
53154 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
53155 e_expl.S.
53156 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
53157 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
53158 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
53159 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
53160 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
53161 USE_AS_EXP10L.
53162 (EXPL_FINITE): Likewise.
53163 (FLDLOG): Likewise.
53164 (c0): Likewise.
53165 (c1): Likewise.
53166 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
53167 Adjust comments for base varying.
53168 (__expl_finite): Change alias to EXPL_FINITE.
53169 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
53170 tests for bugs.
53171 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53172
53173 [BZ #14064]
53174 * math/libm-test.inc (check_float_internal): Correct ulp
53175 calculation for subnormal expected results.
53176
53177 2012-05-06 Andreas Jaeger <aj@suse.de>
53178
53179 * Makeconfig (+math-flags): New, set to -frounding-math.
53180 (+cflags): Add +math-flags so that all of glibc gets compiled with
53181 it.
53182
53183 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
53184
53185 2012-05-05 Joseph Myers <joseph@codesourcery.com>
53186
53187 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
53188 Disable one test.
53189
53190 [BZ #13787]
53191 [BZ #13922]
53192 [BZ #14036]
53193 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
53194 (__ieee754_expl): Allow for and saturate large arguments.
53195 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
53196 (u_threshold): Likewise.
53197 (__exp): Call __ieee754_exp before checking for overflow and
53198 underflow.
53199 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
53200 (u_threshold): Likewise.
53201 (__expf): Call __ieee754_expf before checking for overflow and
53202 underflow.
53203 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
53204 (u_threshold): Likewise.
53205 (__expl): Call __ieee754_expl before checking for overflow and
53206 underflow.
53207 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
53208 (__ieee754_expl): Allow for and saturate large arguments.
53209 * math/libm-test.inc (exp_test): Add another test. Do not allow
53210 missing overflow exception on overflow.
53211 (expm1_test): Do not allow missing overflow exception on overflow.
53212
53213 * sysdeps/i386/fpu/e_expl.c: Move to ...
53214 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
53215 rather than using inline asm.
53216 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
53217 * sysdeps/x86_64/fpu/e_expl.S: Copy from
53218 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
53219
53220 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
53221 (nice): Likewise.
53222 (poll): Likewise.
53223 (signal): Likewise.
53224 (time): Likewise.
53225 (times): Likewise.
53226
53227 2012-05-04 Joseph Myers <joseph@codesourcery.com>
53228
53229 * sysdeps/unix/syscalls.list (adjtime): Add entry from
53230 sysdeps/unix/common/syscalls.list.
53231 (fchmod): Likewise.
53232 (fchown): Likewise.
53233 (ftruncate): Likewise.
53234 (getrusage): Likewise.
53235 (gettimeofday): Likewise.
53236 (setpgid): Likewise.
53237 (setregid): Likewise.
53238 (setreuid): Likewise.
53239 (sigaction): Likewise.
53240 (truncate): Likewise.
53241 (vhangup): Likewise.
53242 * sysdeps/unix/common/syscalls.list: Remove file.
53243 * sysdeps/unix/bsd/Implies: Don't include unix/common.
53244 * sysdeps/unix/sysv/linux/Implies: Likewise.
53245
53246 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
53247
53248 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
53249 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
53250 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
53251 Moved to ...
53252 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
53253 Here.
53254 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
53255 to ...
53256 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
53257 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
53258 to ...
53259 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
53260 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
53261 to ...
53262 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
53263 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
53264 to ...
53265 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
53266 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
53267 to ...
53268 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
53269 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
53270 to ...
53271 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
53272 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
53273 to ...
53274 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
53275 Here.
53276 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
53277 to ...
53278 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
53279 Here.
53280 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
53281 to ...
53282 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
53283 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
53284 Moved to ...
53285 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
53286 Here.
53287 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
53288 to ...
53289 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
53290
53291 2012-05-04 Joseph Myers <joseph@codesourcery.com>
53292
53293 * sysdeps/unix/common/bits/dirent.h: Remove file.
53294 * sysdeps/unix/common/bits/fcntl.h: Likewise.
53295
53296 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
53297 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
53298 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
53299 * sysdeps/unix/bsd/isatty.c: Likewise.
53300 * sysdeps/unix/bsd/tcdrain.c: Likewise.
53301 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
53302 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
53303
53304 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53305
53306 [BZ #13563]
53307 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
53308 long double comparison inaccuracies.
53309 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
53310 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53311
53312 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
53313
53314 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
53315 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
53316
53317 2012-05-04 Joseph Myers <joseph@codesourcery.com>
53318
53319 [BZ #14049]
53320 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
53321 nonzero digits before rounding a hex value.
53322 * stdlib/tst-strtod.c (tests): Add another test.
53323
53324 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53325
53326 * sysdeps/s390/fpu/libm-test-ulps: Update.
53327
53328 2012-05-03 Andreas Jaeger <aj@suse.de>
53329
53330 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
53331 does not get optimized out.
53332 (malloc_opt_barrier): New.
53333
53334 2012-05-03 Andreas Jaeger <aj@suse.de>
53335 Roland McGrath <roland@hack.frob.com>
53336
53337 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
53338 intermediate file deletion.
53339 (generated): Add .symlist files.
53340
53341 2012-05-03 Joseph Myers <joseph@codesourcery.com>
53342
53343 [BZ #13775]
53344 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
53345 Redirect under this condition.
53346 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
53347 [__USE_GNU] (__dprintf_chk): Not under this condition.
53348 [__USE_GNU] (__vdprintf_chk): Likewise.
53349 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
53350 under this condition.
53351 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
53352 [__USE_XOPEN2K8] (dprintf): Define under this condition.
53353 [__USE_XOPEN2K8] (vdprintf): Likewise.
53354 [__USE_GNU] (__dprintf_chk): Not under this condition.
53355 [__USE_GNU] (__vdprintf_chk): Likewise.
53356 [__USE_GNU] (dprintf): Likewise.
53357 [__USE_GNU] (vdprintf): Likewise.
53358
53359 2012-05-03 Roland McGrath <roland@hack.frob.com>
53360
53361 * elf/Makefile (common-generated): Set this instead of generated for
53362 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
53363 $(all-built-dso)-derived lists.
53364
53365 2012-05-03 Andreas Jaeger <aj@suse.de>
53366
53367 * sysdeps/i386/fpu/libm-test-ulps: Update.
53368
53369 * FAQ: Removed.
53370 * FAQ.in: Likewise.
53371 * scripts/gen-FAQ.pl: Likewise.
53372 * manual/install.texi (Installation): Point to online location of
53373 FAQ.
53374 * Makefile (files-for-dist): Remove FAQ.
53375 (FAQ): Remove.
53376
53377 2012-05-02 Allan McRae <allan@archlinux.org>
53378
53379 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
53380 (LDFLAGS-reldepmod5.so): Likewise.
53381 (LDFLAGS-reldep6mod1.so): Likewise.
53382 (LDFLAGS-reldep6mod4.so): Likewise.
53383 (LDFLAGS-reldep8mod3.so): Likewise.
53384 (LDFLAGS-unload4mod1.so): Likewise.
53385 (LDFLAGS-unload4mod2.so): Likewise.
53386 (LDFLAGS-tst-initorder): Likewise.
53387 (LDFLAGS-tst-initordera2.so): Likewise.
53388 (LDFLAGS-tst-initordera3.so): Likewise.
53389 (LDFLAGS-tst-initordera4.so): Likewise.
53390 (LDFLAGS-tst-initorderb2.so): Likewise.
53391 (LDFLAGS-noload): Likewise.
53392 (LDFLAGS-next): Likewise.
53393 (LDFLAGS-order2mod1.so): Likewise.
53394 (LDFLAGS-order2mod2.so): Likewise.
53395 (LDFLAGS-tst-initorder2): Likewise.
53396 (LDFLAGS-tst-initorder2a.so): Likewise.
53397 (LDFLAGS-tst-initorder2b.so): Likewise.
53398 (LDFLAGS-tst-initorder2c.so): Likewise.
53399 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
53400
53401 2012-05-02 David S. Miller <davem@davemloft.net>
53402
53403 * sysdeps/sparc/fpu/libm-test-ulps: Update.
53404
53405 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
53406
53407 [BZ #14055]
53408 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
53409
53410 2012-05-02 Andreas Jaeger <aj@suse.de>
53411
53412 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
53413 since we manipulate rounding mode.
53414 (CPPFLAGS-test-idouble.c): Likewise.
53415 (CPPFLAGS-test-ifloat.c): Likewise.
53416 (CFLAGS-test-ldouble.c): Likewise.
53417 (CFLAGS-test-double.c): Likewise.
53418 (CFLAGS-test-float.c): Likewise.
53419 (CFLAGS-test-misc.c): Likewise.
53420 (CFLAGS-test-test-fenv.c): Likewise.
53421
53422 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53423
53424 [BZ #2550]
53425 [BZ #2570]
53426 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
53427 comparisons to determine direction to adjust input.
53428
53429 2012-05-01 Roland McGrath <roland@hack.frob.com>
53430
53431 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
53432 output to the target.
53433
53434 * scripts/localplt.awk: New file.
53435 * elf/Makefile ($(objpfx)check-localplt): Target removed.
53436 (check-localplt-CFLAGS): Variable removed.
53437 ($(all-built-dso:=.jmprel)): New static pattern rule.
53438 (generated): Add those targets.
53439 (localplt-built-dso): New variable.
53440 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
53441
53442 * elf/check-localplt.c: File removed.
53443
53444 * scripts/check-execstack.awk: New file.
53445 * elf/Makefile ($(objpfx)check-execstack): Target removed.
53446 (check-execstack-CFLAGS): Variable removed.
53447 ($(objpfx)check-execstack.h): Target removed.
53448 ($(objpfx)execstack-default): New target.
53449 (generated): Add that instead of check-execstack.h.
53450 ($(all-built-dso:=.phdr)): New static pattern rule.
53451 (generated): Add those targets.
53452 * elf/check-execstack.c: File removed.
53453
53454 * scripts/check-textrel.awk: New file.
53455 * elf/Makefile ($(objpfx)check-textrel): Target removed.
53456 (check-textrel-CFLAGS): Variable removed.
53457 (all-built-dso): Use := to define.o
53458 ($(all-built-dso:=.dyn)): New static pattern rule.
53459 (generated): Add those targets.
53460 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
53461 * config.make.in (READELF): New substituted variable.
53462 * elf/check-textrel.c: File removed.
53463
53464 2012-05-01 Joseph Myers <joseph@codesourcery.com>
53465
53466 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
53467 allow.
53468 * conform/data/ctype.h-data [C99-based standards] (isblank):
53469 Expect function.
53470 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
53471 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
53472 [ISO || ISO99 || ISO11] (*_t): Do not allow.
53473 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
53474 Specify type. Require positive value.
53475 (EILSEQ): Likewise.
53476 (ERANGE): Likewise.
53477 [ISO || POSIX] (EILSEQ): Do not expect.
53478 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
53479 Specify type. Require positive value.
53480 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
53481 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
53482 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
53483 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
53484 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
53485 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
53486 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
53487 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
53488 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
53489 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
53490 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
53491 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
53492 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
53493 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
53494 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
53495 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
53496 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
53497 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
53498 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
53499 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
53500 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
53501 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
53502 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
53503 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
53504 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
53505 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
53506 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
53507 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
53508 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
53509 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
53510 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
53511 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
53512 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
53513 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
53514 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
53515 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
53516 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
53517 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
53518 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
53519 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
53520 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
53521 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
53522 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
53523 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
53524 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
53525 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
53526 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
53527 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
53528 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
53529 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
53530 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
53531 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
53532 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
53533 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
53534 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
53535 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
53536 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
53537 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
53538 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
53539 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
53540 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
53541 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
53542 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
53543 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
53544 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
53545 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
53546 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
53547 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
53548 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
53549 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
53550 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
53551 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
53552 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
53553 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
53554 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
53555 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
53556 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
53557 Require >= 2.
53558 (FLT_ROUNDS): Expect as macro, not constant.
53559 (FLT_MANT_DIG): Use macro-int-constant.
53560 (DBL_MANT_DIG): Likewise.
53561 (LDBL_MANT_DIG): Likewise.
53562 (FLT_DIG): Likewise.
53563 (DBL_DIG): Likewise.
53564 (LDBL_DIG): Likewise.
53565 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
53566 (DBL_MIN_EXP): Likewise.
53567 (LDBL_MIN_EXP): Likewise.
53568 (FLT_MAX_EXP): Use macro-int-constant.
53569 (DBL_MAX_EXP): Likewise.
53570 (LDBL_MAX_EXP): Likewise.
53571 (FLT_MAX_10_EXP): Likewise.
53572 (DBL_MAX_10_EXP): Likewise.
53573 (LDBL_MAX_10_EXP): Likewise.
53574 (FLT_MAX): Use macro-constant.
53575 (DBL_MAX): Likewise.
53576 (LDBL_MAX): Likewise.
53577 (FLT_EPSILON): Use macro-constant. Give upper bound.
53578 (DBL_EPSILON): Likewise.
53579 (LDBL_EPSILON): Likewise.
53580 (FLT_MIN): Likewise.
53581 (DBL_MIN): Likewise.
53582 (LDBL_MIN): Likewise.
53583 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
53584 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
53585 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
53586 [ISO11] (FLT_HAS_SUBNORM): Likewise.
53587 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
53588 [ISO11] (DBL_DECIMAL_DIG): Likewise.
53589 [ISO11] (FLT_DECIMAL_DIG): Likewise.
53590 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
53591 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
53592 [ISO11] (FLT_TRUE_MIN): Likewise.
53593 [ISO11] (LDBL_TRUE_MIN): Likewise.
53594 [ISO || ISO99 || ISO11] (*_t): Do not allow.
53595 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
53596 (SCHAR_MIN): Use macro-int-constant. Specify type.
53597 (SCHAR_MAX): Likewise.
53598 (UCHAR_MAX): Likewise.
53599 (CHAR_MIN): Likewise.
53600 (CHAR_MAX): Likewise.
53601 (MB_LEN_MAX): Use macro-int-constant.
53602 (SHRT_MIN): Use macro-int-constant. Specify type.
53603 (SHRT_MAX): Likewise.
53604 (USHRT_MAX): Likewise.
53605 (INT_MAX): Likewise.
53606 (INT_MIN): Use macro-int-constant. Specify type. Make upper
53607 bound negative.
53608 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
53609 bound with "U".
53610 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
53611 bound with "L".
53612 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
53613 bound negative. Suffix upper bound with "L".
53614 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
53615 bound with "UL".
53616 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
53617 Specify type.
53618 [C99-based standards] (LLONG_MAX): Likewise.
53619 [C99-based standards] (ULLONG_MAX): Likewise.
53620 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
53621 == 0.
53622 [ISO11] (max_align_t): Require type.
53623 [ISO || ISO99 || ISO11] (*_t): Do not allow.
53624
53625 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
53626 from $CFLAGS, without defining away __attribute__ calls.
53627 (checknamespace): Use $CFLAGS_namespace.
53628
53629 * conform/conformtest.pl (@keywords): Only include C99 keywords
53630 for standards based on C99 or C11.
53631
53632 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
53633 Disable tests.
53634 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
53635 UNIX98]: Likewise.
53636
53637 * conform/conformtest.pl: Handle "macro-int-constant" and test for
53638 usability of symbols in #if.
53639
53640 * conform/conformtest.pl: If macro or constant types start
53641 "promoted:", expect the symbol to be of the following type
53642 promoted by the integer promotions.
53643
53644 * conform/conformtest.pl: Parse all "constant" and "macro" lines
53645 in one place. Also handle "macro-constant".
53646
53647 * conform/conformtest.pl: Only accept expected macro values with
53648 "==". Parse all "macro" lines in one place.
53649 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
53650
53651 * conform/conformtest.pl: Handle braced types on "constant" lines
53652 instead of handling "typed-constant".
53653 * conform/data/signal.h-data: Use "constant" instead of
53654 "typed-constant".
53655
53656 * conform/conformtest.pl: Handle "optional-" at start of lines in
53657 one place rather than duplicating several cases. Handle each
53658 format of "macro" line with initial "optional-".
53659
53660 * conform/conformtest.pl: Only accept expected constant or
53661 optional-constant values with "==". Parse all "constant" lines in
53662 one place. Parse all "optional-constant" lines in one place.
53663 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
53664 * conform/data/fmtmsg.h-data: Likewise.
53665 * conform/data/netinet/in.h-data: Likewise.
53666 * conform/data/tar.h-data: Likewise.
53667 * conform/data/limits.h-data: Use "==" form on "constant" and
53668 "optional-constant" lines.
53669
53670 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
53671 Use -std=c99 for XOPEN2K.
53672 (@knownproblems): Remove.
53673 (newtoken): Don't check %isknown.
53674
53675 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
53676 Do not expect macro.
53677 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
53678 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
53679 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
53680 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
53681 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
53682 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
53683 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
53684 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
53685 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
53686 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
53687 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
53688 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
53689 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
53690 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
53691 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
53692 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
53693 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
53694 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
53695 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
53696 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
53697 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
53698 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
53699 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
53700 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
53701 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
53702 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
53703 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
53704 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
53705 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
53706 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
53707 [XPG3] (acosh): Likewise.
53708 [XPG3] (asinh): Likewise.
53709 [XPG3] (atanh): Likewise.
53710 [XPG3] (cbrt): Likewise.
53711 [XPG3] (expm1): Likewise.
53712 [XPG3] (ilogb): Likewise.
53713 [XPG3] (log1p): Likewise.
53714 [XPG3] (logb): Likewise.
53715 [XPG3] (nextafter): Likewise.
53716 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
53717 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
53718 [XPG3] (remainder): Likewise.
53719 [XPG3] (rint): Likewise.
53720 [XPG3 || XPG4 || UNIX98] (round): Likewise.
53721 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
53722 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
53723 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
53724 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
53725 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
53726 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
53727 [UNIX98 || XOPEN2K] (scalb): Expect.
53728 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
53729 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
53730 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
53731 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
53732 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
53733 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
53734 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
53735 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
53736 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
53737 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
53738 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
53739 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
53740 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
53741 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
53742 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
53743 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
53744 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
53745 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
53746 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
53747 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
53748 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
53749 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
53750 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
53751 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
53752 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
53753 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
53754 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
53755 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
53756 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
53757 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
53758 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
53759 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
53760 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
53761 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
53762 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
53763 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
53764 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
53765 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
53766 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
53767 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
53768 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
53769 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
53770 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
53771 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
53772 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
53773 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
53774 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
53775 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
53776 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
53777 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
53778 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
53779 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
53780 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
53781 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
53782 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
53783 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
53784 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
53785 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
53786 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
53787 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
53788 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
53789 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
53790 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
53791 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
53792 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
53793 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
53794 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
53795 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
53796 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
53797 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
53798 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
53799 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
53800 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
53801 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
53802 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
53803 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
53804 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
53805 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
53806 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
53807 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
53808 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
53809 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
53810 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
53811 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
53812 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
53813 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
53814 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
53815 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
53816 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
53817 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
53818 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
53819 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
53820 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
53821 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
53822 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
53823 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
53824 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
53825 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
53826 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
53827 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
53828 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
53829 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
53830 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
53831 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
53832 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
53833 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
53834 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
53835 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
53836 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
53837 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
53838 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
53839 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
53840 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
53841 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
53842 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
53843 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
53844 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
53845 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
53846 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
53847 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
53848 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
53849 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
53850 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
53851 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
53852 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
53853 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
53854 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
53855 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
53856 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
53857 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
53858 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
53859 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
53860 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
53861 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
53862 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
53863 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
53864 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
53865
53866 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
53867 _XOPEN_SOURCE_EXTENDED for XPG4.
53868
53869 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
53870
53871 * Makeconfig (localtime): Remove variable.
53872 (inst_localtime-file): Likewise.
53873
53874 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
53875
53876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
53877 Update.
53878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
53879 Update.
53880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
53881 Update.
53882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
53883 Update.
53884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
53885 Update.
53886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
53887 Update.
53888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
53889 Update.
53890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
53891 Update.
53892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
53893 Update.
53894
53895 2012-05-01 Joseph Myers <joseph@codesourcery.com>
53896
53897 [BZ #2550]
53898 [BZ #2570]
53899 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
53900 comparisons to determine direction to adjust input.
53901 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
53902 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
53903 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
53904 Likewise.
53905 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
53906 Likewise.
53907 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
53908 Likewise.
53909 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
53910 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
53911 Likewise.
53912 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
53913 Likewise.
53914 * math/libm-test.inc (nexttoward_test): Add more tests.
53915
53916 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
53917
53918 [BZ #14040]
53919 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
53920 in version GLIBC_2.1, not GLIBC_2.0.
53921 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
53922 Likewise.
53923
53924 2012-04-30 Joseph Myers <joseph@codesourcery.com>
53925
53926 [BZ #13942]
53927 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
53928 (1 - x) * (1 + x).
53929 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
53930 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
53931 * math/libm-test.inc (acos_test): Add more tests.
53932 (asin_test): Likewise.
53933 * sysdeps/i386/fpu/libm-test-ulps: Update.
53934 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53935
53936 [BZ #14034]
53937 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
53938 of square root.
53939 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
53940 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
53941 * math/libm-test.inc (acos_test_tonearest): New function.
53942 (acos_test_towardzero): Likewise.
53943 (acos_test_downward): Likewise.
53944 (acos_test_upward): Likewise.
53945 (asin_test_tonearest): Likewise.
53946 (asin_test_towardzero): Likewise.
53947 (asin_test_downward): Likewise.
53948 (asin_test_upward): Likewise.
53949 (main): Call the new functions.
53950 * sysdeps/i386/fpu/libm-test-ulps: Update.
53951 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53952
53953 [BZ #13884]
53954 [BZ #13924]
53955 * math/e_exp10.c: Include <float.h>.
53956 (__ieee754_exp10): Handle underflow here rather than multiplying
53957 large negative argument by M_LN10.
53958 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
53959 of __ieee754_expf.
53960 * math/e_exp10l.c: Include <float.h>.
53961 (__ieee754_exp10l): Handle underflow here rather than multiplying
53962 large negative argument by M_LN10l.
53963 * math/libm-test.inc (exp10_test): Add another test. Do not allow
53964 spurious overflow exception on underflow.
53965
53966 2012-04-29 Marek Polacek <polacek@redhat.com>
53967
53968 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
53969 (__fortify_function): New macro.
53970 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
53971 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
53972 __extern_always_inline.
53973 * libio/bits/stdio2.h: Likewise.
53974 * libio/bits/stdio.h: Likewise.
53975 * string/string.h: Likewise.
53976 * string/bits/string3.h: Likewise.
53977 * include/stdio.h: Likewise.
53978 * stdlib/bits/stdlib.h: Likewise.
53979 * stdlib/stdlib.h: Likewise.
53980 * rt/bits/mqueue2.h: Likewise.
53981 * rt/mqueue.h: Likewise.
53982 * posix/bits/unistd.h: Likewise.
53983 * posix/unistd.h: Likewise.
53984 * io/bits/poll2.h: Likewise.
53985 * io/bits/fcntl2.h: Likewise.
53986 * io/fcntl.h: Likewise.
53987 * io/sys/poll.h: Likewise.
53988 * misc/bits/syslog.h: Likewise.
53989 * misc/bits/syslog-ldbl.h: Likewise.
53990 * misc/sys/syslog.h: Likewise.
53991 * socket/bits/socket2.h: Likewise.
53992 * socket/sys/socket.h: Likewise.
53993 * debug/tst-chk1.c: Likewise.
53994 * wcsmbs/bits/wchar2.h: Likewise.
53995 * wcsmbs/bits/wchar-ldbl.h: Likewise.
53996 * wcsmbs/wchar.h: Likewise.
53997
53998 2012-04-29 Andreas Jaeger <aj@suse.de>
53999
54000 * Makerules (tests): Remove enable-check-abi protection.
54001 (check-abi-warn): Remove.
54002 (check-abi-%): Remove check-abi-warn usage.
54003
54004 * configure.in: Remove check-abi configure option.
54005 * configure: Regenerated.
54006 * config.make.in (enable-check-abi): Remove.
54007
54008 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
54009
54010 [BZ #14033]
54011 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
54012 double functions to double *_finite functions.
54013
54014 [BZ #13941]
54015 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
54016 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
54017 LDBL_MIN_EXP.
54018 * stdio-common/Makefile (tests): Add tst-sprintf3.
54019 * stdio-common/tst-sprintf3.c: New file.
54020
54021 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
54022 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
54023
54024 2012-04-28 Joseph Myers <joseph@codesourcery.com>
54025
54026 * conform/conformtest.pl: Remove duplicate typed-constant
54027 handling.
54028
54029 2012-04-28 David S. Miller <davem@davemloft.net>
54030
54031 * Makerules (%.abilist): Add vpath on sysdep_dirs.
54032 (check-abi-%): Remove AWK script prerequisite and explicit
54033 abilist directory.
54034 (check-abi): Rewrite to just diff the symlist with the abilist.
54035 (config-tls, config-abi-config): Delete, no longer used.
54036 (update-abi-%): Remove AWK script and explicit abilist directory.
54037 (update-abi): Rewrite to simply compare and conditionally copy the
54038 symlist and the sysdep abilist file. Remove update-abi-config
54039 checks.
54040 * abilist/ld.abilist: Remove.
54041 * abilist/libBrokenLocale.abilist: Remove.
54042 * abilist/libanl.abilist: Remove.
54043 * abilist/libcrypt.abilist: Remove.
54044 * abilist/libdl.abilist: Remove.
54045 * abilist/librt.abilist: Remove.
54046 * abilist/libthread_db.abilist: Remove.
54047 * abilist/libutil.abilist: Remove.
54048 * scripts/extract-abilist.awk: Remove.
54049 * scripts/merge-abilist.awk: Remove.
54050 * sysdeps/generic/libcidn.abilist: New file.
54051 * sysdeps/generic/libnss_compat.abilist: New file.
54052 * sysdeps/generic/libnss_db.abilist: New file.
54053 * sysdeps/generic/libnss_dns.abilist: New file.
54054 * sysdeps/generic/libnss_files.abilist: New file.
54055 * sysdeps/generic/libnss_hesiod.abilist: New file.
54056 * sysdeps/generic/libnss_nis.abilist: New file.
54057 * sysdeps/generic/libnss_nisplus.abilist: New file.
54058 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
54059 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
54060 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
54061 file.
54062 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
54063 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
54064 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
54065 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
54066 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
54067 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
54068 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
54069 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
54070 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
54071 file.
54072 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
54073 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
54074 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
54075 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
54076 file.
54077 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
54078 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
54079 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
54080 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
54081 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
54082 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
54083 file.
54084 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
54085 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
54086 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
54087 file.
54088 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
54089 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
54090 New file.
54091 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
54092 New file.
54093 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
54094 New file.
54095 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
54096 New file.
54097 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
54098 New file.
54099 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
54100 New file.
54101 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
54102 New file.
54103 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
54104 New file.
54105 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
54106 New file.
54107 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
54108 New file.
54109 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
54110 New file.
54111 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
54112 New file.
54113 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
54114 New file.
54115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
54116 file.
54117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
54118 New file.
54119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
54120 New file.
54121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
54122 file.
54123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
54124 New file.
54125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
54126 New file.
54127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
54128 file.
54129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
54130 New file.
54131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
54132 New file.
54133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
54134 New file.
54135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
54136 New file.
54137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
54138 New file.
54139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
54140 New file.
54141 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
54142 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
54143 file.
54144 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
54145 New file.
54146 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
54147 file.
54148 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
54149 file.
54150 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
54151 file.
54152 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
54153 file.
54154 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
54155 file.
54156 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
54157 New file.
54158 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
54159 file.
54160 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
54161 file.
54162 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
54163 New file.
54164 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
54165 file.
54166 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
54167 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
54168 file.
54169 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
54170 New file.
54171 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
54172 file.
54173 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
54174 file.
54175 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
54176 file.
54177 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
54178 file.
54179 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
54180 file.
54181 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
54182 New file.
54183 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
54184 file.
54185 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
54186 file.
54187 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
54188 New file.
54189 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
54190 file.
54191 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
54192 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
54193 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
54194 file.
54195 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
54196 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
54197 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
54198 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
54199 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
54200 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
54201 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
54202 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
54203 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
54204 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
54205 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
54206 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
54207 file.
54208 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
54209 New file.
54210 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
54211 file.
54212 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
54213 file.
54214 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
54215 file.
54216 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
54217 file.
54218 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
54219 file.
54220 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
54221 New file.
54222 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
54223 New file.
54224 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
54225 file.
54226 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
54227 New file.
54228 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
54229 file.
54230 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
54231 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
54232 file.
54233 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
54234 New file.
54235 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
54236 file.
54237 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
54238 file.
54239 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
54240 file.
54241 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
54242 file.
54243 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
54244 file.
54245 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
54246 New file.
54247 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
54248 New file.
54249 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
54250 file.
54251 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
54252 New file.
54253 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
54254 file.
54255
54256 2012-04-28 Joseph Myers <joseph@codesourcery.com>
54257
54258 * conform/conformtest.pl: Fix typo in handling typed-constant from
54259 allow-header.
54260
54261 2012-04-27 Joseph Myers <joseph@codesourcery.com>
54262
54263 * README: Cut down references to pre-2.6 Linux kernels and
54264 Linuxthreads. Update lists of configurations in libc and ports
54265 and sort alphabetically. Say "or newer" with Linux kernel version
54266 requirements.
54267
54268 * config.h.in [IS_IN_build]: Allow compiling without optimization.
54269
54270 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
54271
54272 [BZ #887]
54273 * math/libm-test.inc (logb_test_downward): New test to expose
54274 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
54275 rounding mode.
54276
54277 2012-04-27 Joseph Myers <joseph@codesourcery.com>
54278
54279 [BZ #14027]
54280 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
54281 to be done.
54282 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
54283 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
54284
54285 2012-04-26 Joseph Myers <joseph@codesourcery.com>
54286
54287 * sysdeps/unix/i386/brk.S: Remove file.
54288 * sysdeps/unix/i386/dl-brk.S: Likewise.
54289 * sysdeps/unix/i386/pipe.S: Likewise.
54290 * sysdeps/unix/i386/sigreturn.S: Likewise.
54291 * sysdeps/unix/i386/syscall.S: Likewise.
54292 * sysdeps/unix/i386/vfork.S: Likewise.
54293 * sysdeps/unix/i386/wait.S: Likewise.
54294
54295 * sysdeps/unix/common/tcsendbrk.c: Move to ...
54296 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
54297
54298 * configure.in (arm*-none*): Do not allow without
54299 --enable-hacker-mode.
54300 (netbsd*): Remove case setting base_os.
54301 (386bsd*): Likewise.
54302 (freebsd*): Likewise.
54303 (bsdi*): Likewise.
54304 (osf*): Likewise.
54305 (sunos*): Likewise.
54306 (ultrix*): Likewise.
54307 (newsos*): Likewise.
54308 (dynix*): Likewise.
54309 (*bsd*): Likewise.
54310 (sysv*): Likewise.
54311 (isc*): Likewise.
54312 (esix*): Likewise.
54313 (sco*): Likewise.
54314 (minix*): Likewise.
54315 (irix4*): Likewise.
54316 (irix6*): Likewise.
54317 (solaris[2-9]*): Likewise.
54318 (none): Likewise.
54319 * configure: Regenerated.
54320
54321 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54322
54323 [BZ #11521]
54324 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
54325 overflow or cancellation in calculating denominator.
54326 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
54327 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
54328 down expression to avoid unexpected rounding in newer GCCs.
54329 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
54330
54331 2012-04-26 David S. Miller <davem@davemloft.net>
54332
54333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
54334 long-double compat symbols.
54335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
54336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
54337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
54338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
54339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
54340 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
54341 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
54342 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
54343 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
54344 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
54345 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
54346 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
54347 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
54348
54349 2012-04-25 David S. Miller <davem@davemloft.net>
54350
54351 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
54352 HWCAP_* values only after the memory barriers have been defined.
54353 (atomic_full_barrier): Define.
54354 (atomic_read_barrier): Define.
54355 (atomic_write_barrier): Define.
54356
54357 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
54358
54359 * shlib-versions: Add libgcc_s version information.
54360 * sysdeps/generic/libgcc_s.h: Remove.
54361 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
54362 libgcc_s.h.
54363 * sysdeps/gnu/unwind-resume.c: Likewise.
54364 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
54365
54366 2012-04-25 David S. Miller <davem@davemloft.net>
54367
54368 * sysdeps/unix/sparc/brk.S: Delete.
54369 * sysdeps/unix/sparc/dl-brk.S: Delete.
54370 * sysdeps/unix/sparc/pipe.S: Delete.
54371 * sysdeps/unix/sparc/sysdep.S: Delete.
54372 * sysdeps/unix/sparc/sysdep.h: Delete.
54373 * sysdeps/unix/sparc/vfork.S: Delete.
54374 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
54375 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
54376 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
54377 (ret_ERRVAL, r0, r1, MOVE): Define.
54378 (JUMPTARGET): Remove.
54379 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
54380 sysdeps/unix/sparc/sysdep.h
54381 (ENTRY, END): Remove.
54382 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
54383
54384 2012-04-25 Joseph Myers <joseph@codesourcery.com>
54385
54386 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
54387 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
54388 -DIS_IN_build.
54389
54390 * timezone/README: Update upstream location and email address for
54391 tzcode and tzdata.
54392 * timezone/zdump.c: Update from tzcode 2012b.
54393 * timezone/zic.c: Likewise.
54394
54395 * configure.in (libc_cv_as_needed): Remove test.
54396 * configure: Regenerated.
54397 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
54398 conditional definition.
54399 [$(have-as-needed) != yes] (no-as-needed): Likewise.
54400 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
54401 * config.make.in (have-as-needed): Remove variable.
54402
54403 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
54404 Paul Pluzhnikov <ppluzhnikov@google.com>
54405
54406 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
54407 strings correctly.
54408
54409 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
54410
54411 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
54412 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
54413 * sysdeps/sh/strlen.S: Likewise.
54414
54415 2012-04-24 Joseph Myers <joseph@codesourcery.com>
54416
54417 * sysdeps/unix/fork.S: Remove file.
54418 * sysdeps/unix/i386/fork.S: Likewise.
54419 * sysdeps/unix/sparc/fork.S: Likewise.
54420
54421 * sysdeps/unix/system.c: Remove file.
54422 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
54423
54424 * sysdeps/unix/getegid.S: Remove file.
54425 * sysdeps/unix/geteuid.S: Likewise.
54426
54427 2012-04-24 Roland McGrath <roland@hack.frob.com>
54428
54429 * scripts/check-localplt.awk: New file.
54430 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
54431 of diff.
54432 * scripts/data/localplt-generic.data: Add a comment.
54433
54434 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
54435 NODE when __dir_mkfile failed.
54436 * sysdeps/mach/hurd/symlinkat.c: Likewise.
54437 Reported by Ludovic Courtès <ludo@gnu.org>.
54438
54439 2012-04-24 Andreas Jaeger <aj@suse.de>
54440
54441 * Makerules (common-clean): Also remove gen-as-const-headers
54442 files.
54443
54444 2012-04-24 Joseph Myers <joseph@codesourcery.com>
54445
54446 * Makerules (native-compile): Do not change working directory for
54447 build. Use $(OUTPUT_OPTION) in command.
54448 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
54449
54450 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54451
54452 [BZ #13886]
54453 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
54454 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
54455 * math/libm-test.inc (floor_test): Add more tests.
54456 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
54457
54458 2012-04-24 Joseph Myers <joseph@codesourcery.com>
54459
54460 * sysdeps/unix/getdents.c: Remove file.
54461 * sysdeps/unix/sysv/getdents.c: Likewise.
54462 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
54463
54464 * sysdeps/unix/syscalls.list (madvise): Add syscall from
54465 sysdeps/unix/mman/syscalls.list.
54466 (mmap): Likewise.
54467 (mprotect): Likewise.
54468 (msync): Likewise.
54469 (munmap): Likewise.
54470 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
54471 * sysdeps/unix/mman/syscalls.list: Remove.
54472 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
54473
54474 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
54475 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
54476 * configure: Regenerated.
54477 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
54478 $(libgcc_s_suffix).
54479 * config.make.in (libgcc_s_suffix): Remove variable.
54480
54481 2012-04-23 Joseph Myers <joseph@codesourcery.com>
54482
54483 * sysdeps/unix/sysv/gethostname.c: Move to ...
54484 * sysdeps/posix/gethostname.c: ... here.
54485
54486 * sysdeps/unix/execve.S: Remove file.
54487
54488 * sysdeps/unix/_exit.S: Remove file.
54489
54490 2012-04-23 Andreas Jaeger <aj@suse.de>
54491
54492 [BZ #13739]
54493 * manual/Makefile: Remove make dist support, there's no
54494 need for a stand-alone documentation tar ball.
54495 (TEXI2DVI): Define always, it's not in Makeconfig.
54496 (dist): Removed.
54497 (tar-it): Removed.
54498 (edition): Removed.
54499 (glibc-doc-$(edition).tar): Removed
54500 (%.Z): Removed.
54501 (%.gz): Removed.
54502 (%.uu): Removed.
54503 (ETAGS): Remove, it's in Makeconfig.
54504 (move-if-change): Remove, it's in Makeconfig.
54505
54506 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
54507
54508 [BZ #13970]
54509 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
54510 (strtod, strtof, strtold, strtol, strtoul, strtoq)
54511 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
54512 (strtod_l, strtof_l, strtold_l): Remove __wur.
54513 It is not necessarily an error to ignore strtol's return value.
54514 One can reliably look at the stored endptr to decide whether
54515 the number had valid syntax.
54516
54517 2012-04-21 Andreas Jaeger <aj@suse.de>
54518
54519 [BZ #13739]
54520 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
54521
54522 2012-04-21 Joseph Myers <joseph@codesourcery.com>
54523
54524 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
54525 * sysdeps/unix/sysv/Versions: Remove file.
54526
54527 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
54528
54529 [BZ #13927]
54530 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54531
54532 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
54533
54534 [BZ #7064]
54535 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
54536 version from __vm86.
54537
54538 2012-04-20 Joseph Myers <joseph@codesourcery.com>
54539
54540 * sysdeps/unix/common/lxstat.c: Remove file.
54541 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
54542
54543 * sysdeps/unix/sysv/Makefile: Remove file.
54544
54545 * sysdeps/unix/sysv/direct.h: Remove file.
54546
54547 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
54548 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
54549 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
54550 * sysdeps/unix/sysv/bits/signum.h: Likewise.
54551 * sysdeps/unix/sysv/bits/stat.h: Likewise.
54552 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
54553 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
54554
54555 * sysdeps/unix/sysv/setrlimit.c: Remove file.
54556
54557 * sysdeps/unix/xmknod.c: Remove file.
54558 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
54559
54560 * sysdeps/unix/sysv/settimeofday.c: Remove file.
54561
54562 * sysdeps/unix/sysv/i386/time.S: Remove file.
54563
54564 * sysdeps/unix/fxstat.c: Remove file.
54565 * sysdeps/unix/xstat.c: Likewise.
54566 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
54567
54568 * sysdeps/unix/sysv/sigaction.c: Remove file.
54569
54570 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
54571 (sysdep_headers): Remove variable.
54572 [termio.h not in sysdep_headers] (generated): Likewise.
54573 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
54574 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
54575 * sysdeps/unix/sysv/tcdrain.c: Likewise.
54576 * sysdeps/unix/sysv/tcflow.c: Likewise.
54577 * sysdeps/unix/sysv/tcflush.c: Likewise.
54578 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
54579 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
54580 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
54581 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
54582 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
54583
54584 * sysdeps/unix/siglist.c: Remove file.
54585
54586 * sysdeps/unix/getppid.S: Remove file.
54587
54588 * sysdeps/unix/mkdir.c: Remove file.
54589 * sysdeps/unix/rmdir.c: Likewise.
54590
54591 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
54592
54593 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
54594 ERR_MAX value.
54595 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
54596 errlist-compat value.
54597
54598 2012-04-18 David S. Miller <davem@davemloft.net>
54599
54600 * sysdeps/generic/memcopy.h (reg_char): Delete.
54601 * debug/strcat_chk.c: Use char, not reg_char.
54602 * debug/strcpy_chk.c: Likewise.
54603 * debug/strncat_chk.c: Likewise.
54604 * debug/strncpy_chk.c: Likewise.
54605 * string/memchr.c: Likewise.
54606 * string/memrchr.c: Likewise.
54607 * string/rawmemchr.c: Likewise.
54608 * string/strcat.c: Likewise.
54609 * string/strchr.c: Likewise.
54610 * string/strchrnul.c: Likewise.
54611 * string/strcmp.c: Likewise.
54612 * string/strcpy.c: Likewise.
54613 * string/strncat.c: Likewise.
54614 * string/strncmp.c: Likewise.
54615 * string/strncpy.c: Likewise.
54616
54617 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
54618
54619 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
54620 __builtin_memcopy is called when src and dest ranges are known to not
54621 overlap.
54622
54623 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
54624
54625 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
54626 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
54627 fwd_align_merge macro call.
54628 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
54629 bwd_align_merge macro call.
54630 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
54631
54632 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
54633
54634 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
54635 bwd_align_merge macros.
54636 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
54637 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
54638 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
54639
54640 2012-04-18 David S. Miller <davem@davemloft.net>
54641
54642 * sysdeps/sparc/sparc64/memcopy.h: Delete.
54643
54644 2012-04-18 Andreas Jaeger <aj@suse.de>
54645
54646 [BZ# 6794]
54647 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
54648 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
54649 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
54650
54651 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
54652 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
54653 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
54654
54655 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
54656 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
54657 Adjust for changed ldbl-128 files.
54658
54659 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
54660 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
54661 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
54662
54663 2012-04-17 David S. Miller <davem@davemloft.net>
54664
54665 * sysdeps/sparc/sparc32/memcopy.h: Delete.
54666
54667 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
54668
54669 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
54670 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
54671 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
54672 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
54673 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
54674 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
54675
54676 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54677
54678 [BZ #6794]
54679 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
54680 * math/libm-test.inc: Add ilogb errno and exception tests.
54681 * math/w_ilogb.c: New file: ilogb wrapper.
54682 * math/w_ilogbf.c: New file: ilogbf wrapper.
54683 * math/w_ilogbl.c: New file: ilogbl wrapper.
54684 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
54685 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
54686 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
54687 exception being thrown with 0.0 as argument.
54688 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
54689 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
54690 exception being thrown with 0.0 as argument.
54691 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
54692 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
54693 exception being thrown with 0.0 as argument.
54694 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
54695 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
54696 exception being thrown with 0.0 as argument.
54697 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
54698 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
54699 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
54700 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
54701 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
54702 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
54703 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
54704 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
54705 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
54706
54707 2012-04-17 Petr Baudis <pasky@ucw.cz>
54708
54709 * include/sys/uio.h: Change __vector to __iovec to avoid clash
54710 with altivec.
54711
54712 2012-04-16 Marek Polacek <polacek@redhat.com>
54713
54714 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
54715
54716 2012-04-16 Marek Polacek <polacek@redhat.com>
54717
54718 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
54719 operands of fdivp instruction.
54720
54721 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
54722
54723 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
54724 * elf/tst-auditmod3b.c: Likewise.
54725 * elf/tst-auditmod4b.c: Likewise.
54726 * elf/tst-auditmod5b.c: Likewise.
54727 * elf/tst-auditmod6b.c: Likewise.
54728 * elf/tst-auditmod6c.c: Likewise.
54729 * elf/tst-auditmod7b.c: Likewise.
54730 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
54731 * sysdeps/x86_64/preconfigure.in: Likewise.
54732 * sysdeps/x86_64/preconfigure: Regenerated.
54733
54734 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
54735
54736 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
54737 __ILP32__.
54738
54739 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
54740
54741 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
54742 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
54743
54744 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
54745
54746 [BZ #13973]
54747 * locale/iso-639.def: Fix gl language name. Spotted by
54748 Yaron Shahrabani.
54749
54750 2012-04-12 Roland McGrath <roland@hack.frob.com>
54751
54752 [BZ #2074]
54753 * libio/libio.h (__io_write_fn): Update comment.
54754
54755 2012-04-12 Petr Baudis <pasky@ucw.cz>
54756
54757 [BZ #2074]
54758 * stdio.texi (Hook Functions): The user provided writer function
54759 is not allowed to return -1.
54760
54761 2012-04-11 David S. Miller <davem@davemloft.net>
54762
54763 * sysdeps/sparc/fpu/libm-test-ulps: Update.
54764
54765 2012-04-11 Mike Frysinger <vapier@gentoo.org>
54766
54767 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
54768 Add a leading slash to rtkaio.
54769
54770 2012-04-11 Jim Meyering <meyering@redhat.com>
54771
54772 [BZ #11959]
54773 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
54774 It is not necessarily an error to ignore fwrite's return
54775 value. One can reliably use ferror to test for errors after
54776 the fact.
54777
54778 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
54779
54780 * bits/types.h (__snseconds_t): New type.
54781 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
54782
54783 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
54784 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
54785 (__SNSECONDS_T_TYPE): Likewise.
54786 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
54787 (__SNSECONDS_T_TYPE): Likewise.
54788 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
54789 (__SNSECONDS_T_TYPE): Likewise.
54790
54791 2012-04-10 Andreas Jaeger <aj@suse.de>
54792
54793 [BZ #2636]
54794 * manual/time.texi (Processor Time): Return type of times is
54795 elapsed real time since an arbitrary point in the past.
54796 (CPU Time): Move CLK_TCK from here...
54797 (Processor Time): ...to here. Correct description.
54798 * manual/conf.texi (Constants for Sysconf): Correct description of
54799 _SC_CLK_TCK.
54800
54801 2012-04-10 David S. Miller <davem@davemloft.net>
54802
54803 [BZ #13967]
54804 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
54805 where the is a gap between DT_REL(A) and DT_JMPREL.
54806
54807 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
54808
54809 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
54810 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
54811 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
54812
54813 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
54814
54815 * elf/dl-support.c (_dl_inhibit_cache): New variable.
54816 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
54817 (dl_main): Handle --inhibit-cache.
54818 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
54819 _dl_inhibit_cache.
54820 * elf/dl-load.c (_dl_map_object): Use it.
54821 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
54822
54823 2012-04-09 Joseph Myers <joseph@codesourcery.com>
54824
54825 [BZ #13872]
54826 * sysdeps/i386/fpu/e_powl.S (p78): New object.
54827 (__ieee754_powl): Saturate large exponents rather than testing for
54828 overflow of y*log2(x).
54829 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
54830 * math/libm-test.inc (pow_test): Do not permit spurious overflow
54831 exceptions.
54832
54833 [BZ #11521]
54834 * math/s_ctan.c: Include <float.h>.
54835 (__ctan): Avoid internal overflow or cancellation in calculating
54836 denominator.
54837 * math/s_ctanf.c: Likewise.
54838 * math/s_ctanl.c: Likewise.
54839 * math/s_ctanh.c: Likewise.
54840 * math/s_ctanhf.c: Likewise.
54841 * math/s_ctanhl.c: Likewise.
54842 * math/libm-test.inc (ctan_test): Add more tests.
54843 (ctanh_test): Likewise.
54844 * sysdeps/i386/fpu/libm-test-ulps: Update.
54845 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54846
54847 2012-04-09 Andreas Jaeger <aj@suse.de>
54848
54849 [BZ #6894]
54850 * manual/filesys.texi (Directory Entries): Mention that d_namlen
54851 is an optional BSD extension.
54852
54853 [BZ #10254]
54854 * manual/stdio.texi (Opening Streams): Document additional fopen
54855 parameters.
54856
54857 2012-04-09 Roland McGrath <roland@hack.frob.com>
54858
54859 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
54860 %eax without telling the compiler.
54861
54862 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
54863
54864 [BZ # 13963]
54865 * manual/install.texi: Use sourceware.org.
54866
54867 2012-04-09 Joseph Myers <joseph@codesourcery.com>
54868
54869 [BZ #13873]
54870 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
54871 (__ieee754_pow): Generate overflow and underflow using huge*huge
54872 and tiny*tiny rather than just returning constant infinity or zero
54873 for large exponents.
54874 * math/libm-test.inc (pow_test): Require overflow exceptions for
54875 applicable cases of large exponents.
54876
54877 [BZ #706]
54878 * sysdeps/i386/fpu/e_pow.S (p10): New object.
54879 (__ieee754_pow): Use iterative multiplication algorithm only for
54880 integer exponents with absolute value below 1024. Check for odd
54881 integer exponents when using algorithm for real exponents.
54882 * math/libm-test.inc (pow_test): Add more tests.
54883 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54884
54885 2012-04-08 Joseph Myers <joseph@codesourcery.com>
54886
54887 [BZ #13705]
54888 * math/libm-test.inc (exp_test): Do not allow overflow exception
54889 on underflow test.
54890
54891 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
54892
54893 [BZ #13705]
54894 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
54895 instead of __kernel_standard_f.
54896
54897 2012-04-08 Mike Frysinger <vapier@gentoo.org>
54898
54899 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
54900 * sysdeps/x86_64/memset_chk.S: Likewise.
54901
54902 2012-04-08 Andreas Jaeger <aj@suse.de>
54903
54904 [BZ #10153]
54905 * manual/startup.texi (Environment Access): Describe return value
54906 for putenv and setenv.
54907
54908 [BZ #6895]
54909 * manual/filesys.texi (Directory Entries): Add description for
54910 DT_LNK.
54911
54912 [BZ #6890]
54913 * manual/filesys.texi (Directory Entries): Clarify that it's file
54914 system not operating system in the description of DT_UNKNOWN.
54915
54916 [BZ #6578]
54917 * manual/syslog.texi (closelog): Fix reference, it's openlog.
54918
54919 2012-04-08 Stephen Compall <s11@member.fsf.org>
54920
54921 [BZ #6649]
54922 * manual/llio.texi (Opening and Closing Files): Add cross
54923 reference to explain mode argument.
54924
54925 2012-04-07 Mike Frysinger <vapier@gentoo.org>
54926
54927 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
54928 * sysdeps/x86_64/memset_chk.S: Likewise.
54929
54930 2012-04-07 David S. Miller <davem@davemloft.net>
54931
54932 * elf/elf.h (R_SPARC_WDISP10): Define.
54933 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
54934 R_SPARC_SIZE32.
54935 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
54936 R_SPARC_SIZE64 and R_SPARC_H34.
54937
54938 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
54939
54940 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
54941 conditions and remove no longer applicable assertion.
54942
54943 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
54944
54945 * bits/byteswap.h: Include <features.h>.
54946 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
54947 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
54948
54949 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
54950
54951 * bits/byteswap.h (__bswap_16): Removed.
54952 Include <bits/byteswap-16.h> to get __bswap_16.
54953 * sysdeps/i386/bits/byteswap.h: Likewise.
54954 * sysdeps/s390/bits/byteswap.h: Likewise.
54955 * sysdeps/x86_64/bits/byteswap.h: Likewise.
54956 * bits/byteswap-16.h: New file.
54957 * sysdeps/i386/bits/byteswap-16.h: Likewise.
54958 * sysdeps/s390/bits/byteswap-16.h: Likewise.
54959 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
54960 * string/Makefile (headers): Add bits/byteswap-16.h.
54961
54962 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
54963
54964 [BZ #13895]
54965 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
54966 extra indirection.
54967 * nss/Makefile (tests-static, tests): Add tst-nss-static.
54968 * nss/tst-nss-static.c: New.
54969
54970 2012-04-06 Robert Millan <rmh@gnu.org>
54971
54972 [BZ #6486]
54973 * manual/llio.texi (File Position Primitive): lseek
54974 refers to WHENCE when it really means OFFSET.
54975
54976 2012-04-06 Andreas Jaeger <aj@suse.de>
54977
54978 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
54979 strncmp declarations.
54980
54981 * abilist/libc.abilist: Add __poll and __ppoll.
54982
54983 2012-04-05 David S. Miller <davem@davemloft.net>
54984
54985 * scripts/check-local-headers.sh: Accept a host triplet in the
54986 path matched by the exclude regexp.
54987
54988 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
54989 definition.
54990 * sysdeps/powerpc/powerpc32/dl-machine.h
54991 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
54992 * sysdeps/s390/s390-32/dl-machine.h
54993 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
54994 * sysdeps/sparc/sparc32/dl-machine.h
54995 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
54996 * sysdeps/sparc/sparc64/dl-machine.h
54997 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
54998
54999 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
55000 lazy binding.
55001 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
55002 undefined symbol errors.
55003
55004 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
55005 DT_NEEDED entries.
55006
55007 2012-04-05 Michael Matz <matz@suse.de>
55008
55009 [BZ #13592]
55010 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
55011
55012 2012-04-05 Andreas Jaeger <aj@suse.de>
55013
55014 [BZ #13908]
55015 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
55016 comment.
55017
55018 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
55019
55020 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
55021 which ROUND is no valid rounding mode.
55022
55023 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
55024
55025 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
55026 read again.
55027 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
55028
55029 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
55030
55031 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
55032 an exception using FPU order intentionally.
55033
55034 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
55035
55036 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
55037 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
55038 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
55039 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
55040
55041 2012-04-05 Simon Josefsson <simon@josefsson.org>
55042
55043 [BZ #12340]
55044 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
55045 EINVAL when BUFLEN is too smal.
55046
55047 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
55048
55049 [BZ #13553]
55050 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
55051 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
55052
55053 2012-04-03 Andreas Jaeger <aj@suse.de>
55054
55055 [BZ #13938]
55056 * manual/setjmp.texi (System V contexts): Fix sentence.
55057
55058 [BZ #13926]
55059 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
55060 New macro for this case.
55061 [!__GNUC__] (__bswap_64): New inline function for this case.
55062 * sysdeps/x86_64/bits/byteswap.h: Likewise.
55063 * bits/byteswap.h: Likewise.
55064 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
55065 ull, guard with __GLIBC_HAVE_LONG_LONG.
55066
55067 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
55068 __GLIBC_HAVE_LONG_LONG.
55069
55070 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
55071 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
55072
55073 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
55074
55075 [BZ #13691]
55076 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
55077 inptr and inend, rather than using last_ch.
55078
55079 2012-04-02 David S. Miller <davem@davemloft.net>
55080
55081 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
55082 * stdio-common/printf-parse.h (read_int): Change return type to
55083 'int', return -1 on INT_MAX overflow.
55084 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
55085 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
55086 overflows INT_MAX. Check for overflow of in-format-string precision
55087 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
55088 SIZE_MAX not INT_MAX for integer overflow test.
55089 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
55090 skip the construct in the format string but do not record anything.
55091 * stdio-common/bug22.c: Adjust to test both width/prevision
55092 INT_MAX overflow as well as total length INT_MAX overflow. Check
55093 explicitly for proper errno values.
55094
55095 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
55096
55097 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
55098 CHAR_MAX.
55099 * string/test-strcmp.c [! WIDE]: Likewise.
55100 * time/tst-mktime2.c: Likewise for INT_MAX.
55101 * string/test-string.h: #include <sys/param.h> for MIN.
55102
55103 * csu/init-first.c (__libc_init_first): Call __ctype_init.
55104 * sysdeps/i386/init-first.c (init): Likewise.
55105 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
55106 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
55107 * sysdeps/sh/init-first.c (init): Likewise.
55108
55109 2012-04-01 Ulrich Drepper <drepper@gmail.com>
55110
55111 * po/ru.po: Update from translation team.
55112 * po/vi.po: Likewise.
55113
55114 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
55115
55116 * resolv/nss_dns/dns-host.c: Merge copyright years.
55117
55118 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55119
55120 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
55121 Optimize memcpy with prefetch if
55122 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
55123 src, dst pointers have unequal 16 byte alignments.
55124
55125 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
55126
55127 [BZ #13928]
55128 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
55129 from a CNAME entry and return the minimum ttl for the query.
55130 (gaih_getanswer_slice): Likewise.
55131
55132 2012-03-30 Jeff Law <law@redhat.com>
55133
55134 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
55135 due to long keys.
55136 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
55137 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
55138
55139 * resolv/nss_dns/dns-host.c: Update copyright year.
55140
55141 2012-03-30 Ulrich Drepper <drepper@gmail.com>
55142
55143 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
55144 requests to save a system call. Fix check that all bytes are sent.
55145
55146 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
55147 comments for sendmmsg.
55148
55149 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
55150
55151 [BZ #13691]
55152 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
55153 with only 1 character between 0x0041 and 0x01b0.
55154 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
55155 * wcsmbs/tst-mbsnrtowcs.c: New file.
55156
55157 2012-03-29 David S. Miller <davem@davemloft.net>
55158
55159 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
55160 small copies by hand.
55161
55162 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
55163
55164 [BZ #13761]
55165 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
55166 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
55167 group memberships.
55168
55169 2012-03-28 David S. Miller <davem@davemloft.net>
55170
55171 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
55172 that branches into memcpy.
55173 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
55174 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
55175 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
55176 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
55177 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
55178 bits.
55179 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
55180 implementation too.
55181 * sysdeps/sparc/mempcpy.S: New file.
55182
55183 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
55184 the IFUNC routine in the libc case.
55185 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
55186
55187 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
55188 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
55189 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
55190 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
55191 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
55192 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
55193 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
55194 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
55195
55196 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
55197 loop to 256 bytes instead of 64 bytes and fix test signedness.
55198
55199 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
55200 * sysdeps/sparc/sparc32/Makefile: rather than here...
55201 * sysdeps/sparc/sparc64/Makefile: and here.
55202
55203 2012-03-28 Ulrich Drepper <drepper@gmail.com>
55204
55205 * malloc/mallocbug.c: Avoid warnings about unused variables.
55206
55207 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
55208
55209 [BZ #13760]
55210 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
55211 in the right place. Discard and retry query if response is
55212 larger than input buffer size.
55213
55214 2012-03-28 Joseph Myers <joseph@codesourcery.com>
55215
55216 [BZ #369]
55217 [BZ #2678]
55218 [BZ #3866]
55219 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
55220 x for large integer exponent.
55221 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
55222 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
55223 sign of result as needed afterwards.
55224 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
55225 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
55226 result for underflowing pow the same as for overflow.
55227 (__kernel_standard_l): Handle powl overflow and underflow here
55228 rather than calling __kernel_standard.
55229 * math/libm-test.inc (pow_test): Add more tests.
55230
55231 [BZ #3868]
55232 [BZ #13879]
55233 [BZ #13910]
55234 [BZ #13911]
55235 [BZ #13912]
55236 [BZ #13913]
55237 [BZ #13915]
55238 [BZ #13916]
55239 [BZ #13917]
55240 [BZ #13918]
55241 [BZ #13919]
55242 [BZ #13920]
55243 [BZ #13921]
55244 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
55245 * sysdeps/ieee754/k_standard.c: Include <float.h>.
55246 (__kernel_standard_l): New function.
55247 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
55248 __kernel_standard.
55249 * math/w_acosl.c (__acosl): Likewise.
55250 * math/w_asinl.c (__asinl): Likewise.
55251 * math/w_atan2l.c (__atan2l): Likewise.
55252 * math/w_atanhl.c (__atanhl): Likewise.
55253 * math/w_coshl.c (__coshl): Likewise.
55254 * math/w_exp10l.c (__exp10l): Likewise.
55255 * math/w_exp2l.c (__exp2l): Likewise.
55256 * math/w_fmodl.c (__fmodl): Likewise.
55257 * math/w_hypotl.c (__hypotl): Likewise.
55258 * math/w_j0l.c (__j0l, __y0l): Likewise.
55259 * math/w_j1l.c (__j1l, __y1l): Likewise.
55260 * math/w_jnl.c (__jnl, __ynl): Likewise.
55261 * math/w_lgammal.c (__lgammal): Likewise.
55262 * math/w_log10l.c (__log10l): Likewise.
55263 * math/w_log2l.c (__log2l): Likewise.
55264 * math/w_logl.c (__logl): Likewise.
55265 * math/w_powl.c (__powl): Likewise.
55266 * math/w_remainderl.c (__remainderl): Likewise.
55267 * math/w_scalbl.c (sysv_scalbl): Likewise.
55268 * math/w_sinhl.c (__sinhl): Likewise.
55269 * math/w_sqrtl.c (__sqrtl): Likewise.
55270 * math/w_tgammal.c (__tgammal): Likewise.
55271 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
55272 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
55273 * math/libm-test.inc (acos_test): Add more tests.
55274 (acosh_test): Likewise.
55275 (asin_test): Likewise.
55276 (atanh_test): Likewise.
55277 (exp_test): Likewise.
55278 (exp10_test): Likewise.
55279 (exp2_test): Likewise.
55280 (expm1_test): Likewise.
55281 (lgamma_test): Likewise.
55282 (log_test): Likewise.
55283 (log10_test): Likewise.
55284 (log1p_test): Likewise.
55285 (log2_test): Likewise.
55286 (pow_test): Do not allow some spurious overflow exceptions.
55287 (sqrt_test): Add more tests.
55288 (tgamma_test): Likewise.
55289 (y0_test): Likewise.
55290 (y1_test): Likewise.
55291 (yn_test): Likewise.
55292
55293 2012-03-27 Anton Blanchard <anton@samba.org>
55294
55295 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
55296 MAP_HUGETLB.
55297 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
55298 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
55299 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
55300
55301 2012-03-27 David S. Miller <davem@davemloft.net>
55302
55303 * conform/Makefile: Run run-conformtest.sh using $(BASH).
55304
55305 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
55306 have-as-vis3 check.
55307
55308 2012-03-27 Andreas Jaeger <aj@suse.de>
55309
55310 * sysdeps/x86_64/elf/configure.in: Moved to ...
55311 * sysdeps/x86_64/configure.in: ... here.
55312 * sysdeps/x86_64/elf/start.S: Moved to ...
55313 * sysdeps/x86_64/start.S: ... here.
55314 * sysdeps/x86_64/elf/configure: Delete.
55315
55316 * sysdeps/x86_64/configure.in: Merge contents from
55317 sysdeps/i386/configure.in (without i686 check).
55318
55319 * sysdeps/i386/elf/Versions: Merge into ...
55320 * sysdeps/i386/Versions: ... this.
55321 * sysdeps/i386/elf/Versions: Delete file.
55322 * sysdeps/i386/elf/start.S: Moved to ...
55323 * sysdeps/i386/start.S: ...here.
55324 * sysdeps/i386/elf/configure.in: Merge into...
55325 * sysdeps/i386/configure.in: ...here.
55326 * sysdeps/i386/elf/configure.in: Delete file.
55327 * sysdeps/i386/elf/configure: Delete file.
55328
55329 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
55330 * debug/backtracesyms.c: ... here.
55331 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
55332 * debug/backtracesymsfd.c: ... here.
55333 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
55334 * sysdeps/generic/ifunc-sel.h: ... here.
55335
55336 * sysdeps/unix/i386/start.c: Delete file.
55337 * sysdeps/unix/sparc/start.c: Delete file.
55338 * sysdeps/unix/start.c: Delete file.
55339
55340 * sysdeps/sh/elf/configure.in: Moved to ...
55341 * sysdeps/sh/configure.in: ... here.
55342 * sysdeps/sh/elf/start.S: Moved to ...
55343 * sysdeps/sh/start.S: ... here.
55344 * sysdeps/sh/elf/configure: Delete file.
55345
55346 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
55347 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
55348 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
55349 * sysdeps/powerpc/powerpc64/entry.h: ... here.
55350 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
55351 * sysdeps/powerpc/powerpc64/start.S: here.
55352 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
55353 * sysdeps/powerpc/powerpc64/Makefile: ... this.
55354 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
55355 * sysdeps/powerpc/powerpc64/configure.in: ... this.
55356 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
55357
55358 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
55359 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
55360 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
55361 * sysdeps/powerpc/powerpc32/start.S: ... here.
55362 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
55363 * sysdeps/powerpc/powerpc32/configure.in: ... this.
55364 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
55365
55366 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
55367 * sysdeps/powerpc/ifunc-sel.h: ... here.
55368 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
55369 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
55370
55371 * sysdeps/sparc/elf/configure.in: Moved to ...
55372 * sysdeps/sparc/configure.in: ... here.
55373 * sysdeps/sparc/elf/configure: Delete file.
55374 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
55375 * sysdeps/sparc/sparc32/start.S: ... here.
55376 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
55377 * sysdeps/sparc/sparc64/start.S: ... here.
55378 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
55379 * sysdeps/sparc/sparc32/Makefile: ... this.
55380 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
55381 * sysdeps/sparc/sparc64/Makefile: ... this.
55382
55383 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
55384 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
55385 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
55386 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
55387 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
55388 * sysdeps/s390/s390-32/setjmp.S: ... here.
55389 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
55390 * sysdeps/s390/s390-32/configure.in: ... here.
55391 * sysdeps/s390/s390-32/elf/configure: Delete file.
55392 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
55393 * sysdeps/s390/s390-32/start.S: ... here.
55394
55395 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
55396 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
55397 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
55398 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
55399 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
55400 * sysdeps/s390/s390-64/setjmp.S: ... here.
55401 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
55402 * sysdeps/s390/s390-64/configure.in: ... here
55403 * sysdeps/s390/s390-64/elf/configure: Delete file.
55404 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
55405 * sysdeps/s390/s390-64/start.S: ... here.
55406 * sysdeps/s390/s390-64/elf/configure: Delete.
55407
55408 * configure.in: Remove support for elf directories in sysdeps.
55409
55410 * configure: Regenerated.
55411 * sysdeps/i386/configure: Regenerated.
55412 * sysdeps/powerpc/powerpc32/configure: Regenerated.
55413 * sysdeps/powerpc/powerpc64/configure: Regenerated.
55414 * sysdeps/s390/s390-32/configure: Regenerated.
55415 * sysdeps/s390/s390-64/configure: Regenerated.
55416 * sysdeps/sh/configure: Regenerated.
55417 * sysdeps/sparc/configure: Regenerated.
55418 * sysdeps/x86_64/configure: Regenerated.
55419
55420 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
55421
55422 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55423
55424 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
55425 denormal result into account.
55426
55427 2012-03-25 Roland McGrath <roland@hack.frob.com>
55428
55429 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
55430 Reported by Allan McRae <allan@archlinux.org>.
55431
55432 2012-03-23 Jeff Law <law@redhat.com>
55433
55434 * nss/getnssent.c (__nss_getent): Fix typo.
55435
55436 2012-03-23 David S. Miller <davem@davemloft.net>
55437
55438 * sysdeps/sparc/fpu/libm-test-ulps: Update.
55439
55440 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
55441
55442 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
55443 to pad to uint64_t for each field.
55444 (dl_tls_index): Replace unsigned long with uint64_t.
55445
55446 2012-03-23 Daniel Jacobowitz <dmj@google.com>
55447 Paul Pluzhnikov <ppluzhnikov@google.com>
55448
55449 [BZ #6528]
55450 * grp/Makefile (otherlibs): Don't set it.
55451 * inet/Makefile (otherlibs): Likewise.
55452 * login/Makefile (otherlibs): Likewise.
55453 * nscd/Makefile (otherlibs): Likewise.
55454 * posix/Makefile (otherlibs): Likewise.
55455 * pwd/Makefile (otherlibs): Likewise.
55456 * rt/Makefile (otherlibs): Likewise.
55457 * sunrpc/Makefile (otherlibs): Likewise.
55458 * nss/Makefile (otherlibs): Likewise.
55459 Add libnss_files to routines and static-only-routines.
55460 ($(objpfx)getent): Remove rule.
55461 * resolv/Makefile: Add libnss_dns and libresolv to routines and
55462 static-only-routines.
55463
55464 2012-03-22 Joseph Myers <joseph@codesourcery.com>
55465
55466 [BZ #13892]
55467 * math/s_cexp.c: Include <float.h>.
55468 (__cexp): Handle exp result overflowing not necessarily
55469 overflowing both real and imaginary parts of result.
55470 * math/s_cexpf.c: Likewise.
55471 * math/s_cexpl.c: Likewise.
55472 * math/libm-test.inc (cexp_test): Add more tests.
55473 * sysdeps/i386/fpu/libm-test-ulps: Update.
55474 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55475
55476 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
55477
55478 * include/link.h (ELFW): New macro.
55479 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
55480 Replace ELF64_R_TYPE with ELFW(R_TYPE).
55481
55482 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
55483
55484 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
55485 with uint64_t.
55486
55487 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
55488
55489 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
55490 declaration.
55491 (struct La_x32_retval): Likewise.
55492
55493 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
55494
55495 * sysdeps/x86_64/preconfigure.in: New file.
55496 * sysdeps/x86_64/preconfigure: New generated file.
55497
55498 2012-03-22 Joseph Myers <joseph@codesourcery.com>
55499
55500 [BZ #13824]
55501 * math/e_exp2l.c: Include <float.h>.
55502 (__ieee754_exp2l): Handle overflow and underflow cases
55503 separately. Only pass fractional part of argument to
55504 __ieee754_expl.
55505 * math/libm-test.inc (exp2_test): Add more tests.
55506
55507 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
55508 negating x to take absolute value.
55509 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
55510 Likewise.
55511 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
55512 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
55513 Likewise.
55514 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
55515 computing low part if x was negated.
55516 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
55517
55518 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
55519
55520 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
55521 la_x32_gnu_pltexit.
55522 (pltexit): Cast int_retval to ptrdiff_t.
55523 * elf/tst-auditmod3b.c: Likewise.
55524 * elf/tst-auditmod4b.c: Likewise.
55525 * elf/tst-auditmod5b.c: Likewise.
55526 * elf/tst-auditmod6b.c: Likewise.
55527 * elf/tst-auditmod6c.c: Likewise.
55528 * elf/tst-auditmod7b.c: Likewise.
55529
55530 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
55531 and x32_gnu_pltexit.
55532
55533 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
55534 __ELF_NATIVE_CLASS.
55535 (La_x32_regs): New macro.
55536 (La_x32_retval): Likewise.
55537 (la_x32_gnu_pltenter): New function prototype.
55538 (la_x32_gnu_pltexit): Likewise.
55539
55540 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
55541
55542 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
55543 exponent.
55544
55545 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55546
55547 * configure.in (libc_cv_cc_nofma): Check for option to disable
55548 generation of FMA instructions.
55549 * configure: Regenerate.
55550 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
55551 * sysdeps/ieee754/dbl-64/Makefile: New file.
55552 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
55553 Remove brandred-fma4.
55554 (CFLAGS-brandred-fma4.c): Remove.
55555 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
55556 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
55557 define.
55558 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
55559 define.
55560
55561 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
55562
55563 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
55564 LLONG_MAX != LONG_MAX.
55565 (_itoa_word): Use _ITOA_WORD_TYPE on value.
55566 (_fitoa_word): Likewise.
55567 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
55568 LLONG_MAX != LONG_MAX.
55569 * stdio-common/_itowa.h: Include <_itoa.h>.
55570 (_itowa_word): Use _ITOA_WORD_TYPE on value.
55571 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
55572 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
55573 only if not defined.
55574 (_ITOA_WORD_TYPE): Likewise.
55575 (_itoa_word): Use _ITOA_WORD_TYPE on value.
55576 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
55577
55578 2012-03-21 David S. Miller <davem@davemloft.net>
55579
55580 * sysdeps/sparc/fpu/libm-test-ulps: Update.
55581
55582 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
55583
55584 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
55585 of x86_64 when setting libc_cv_slibdir, libdir and
55586 libc_cv_localedir.
55587 * sysdeps/unix/sysv/linux/configure: Regenerated.
55588
55589 2012-03-21 Joseph Myers <joseph@codesourcery.com>
55590
55591 * manual/lang.texi (Old Varargs): Remove section.
55592 (How Variadic): Update menu.
55593 (va_start): Do not mention varargs.h.
55594
55595 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
55596 Joseph Myers <joseph@codesourcery.com>
55597
55598 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
55599 link test.
55600 * configure: Regenerated.
55601
55602 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
55603
55604 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
55605 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
55606 conformtest.pl
55607
55608 2012-03-21 Joseph Myers <joseph@codesourcery.com>
55609
55610 * NOTES: Remove.
55611 * Makefile (files-for-dist): Remove NOTES.
55612 (NOTES): Remove rule.
55613 * README: Don't refer to NOTES.
55614 * manual/creature.texi: Don't include macros.texi.
55615 * manual/intro.texi (creature.texi): Remove comment referring to
55616 NOTES.
55617
55618 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
55619 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
55620 * configure: Regenerated.
55621 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
55622 LIBC_TRY_CC_OPTION.
55623 (libc_cv_as_i686): Likewise.
55624 (libc_cv_cc_avx): Likewise.
55625 (libc_cv_cc_sse2avx): Likewise.
55626 (libc_cv_cc_fma4): Likewise.
55627 (libc_cv_cc_novzeroupper): Likewise.
55628 * sysdeps/i386/configure: Regenerated.
55629
55630 [BZ #13883]
55631 * sysdeps/i386/fpu/s_cexp.S: Remove.
55632 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
55633 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
55634 * math/libm-test.inc (cexp_test): Add more tests.
55635 * sysdeps/i386/fpu/libm-test-ulps: Update.
55636 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55637
55638 2012-03-21 Allan McRae <allan@archlinux.org>
55639
55640 * timezone/Makefile: Do not install iso3166.tab and zone.tab
55641
55642 2012-03-21 Joseph Myers <joseph@codesourcery.com>
55643
55644 [BZ #13871]
55645 * math/w_exp2.c: Do not include <float.h>.
55646 (o_threshold, u_threshold): Remove.
55647 (__exp2): Calculate result before checking finiteness and calling
55648 __kernel_standard.
55649 * math/w_exp2f.c: Likewise.
55650 * math/w_exp2l.c: Likewise.
55651 * math/libm-test.inc (exp2_test): Require overflow exception for
55652 1e6 input.
55653
55654 [BZ #3866]
55655 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
55656 range of signed 64-bit integers before using fistpll. Remove
55657 checks for whether integers fit in mantissa bits.
55658 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
55659 the range of signed 32-bit integers before using fistpl. Remove
55660 checks for whether integers fit in mantissa bits.
55661 * sysdeps/i386/fpu/e_powl.S (p64): New object.
55662 (__ieee754_powl): Test for y outside the range of signed 64-bit
55663 integers before using fistpll. Reduce 64-bit values to 63-bit
55664 ones as needed.
55665 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
55666 divide-by-zero is raised for zero to large negative powers.
55667 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
55668 (__ieee754_powl): Test for y outside the range of signed 64-bit
55669 integers before using fistpll. Reduce 64-bit values to 63-bit
55670 ones as needed.
55671 * math/libm-test.inc (pow_test): Add more tests.
55672
55673 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
55674
55675 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
55676 <stdio-common/_itoa.h>.
55677 * debug/segfault.c: Likewise.
55678 * elf/dl-cache.c: Likewise.
55679 * elf/dl-minimal.c: Likewise.
55680 * elf/dl-misc.c: Likewise.
55681 * elf/dl-sysdep.c: Likewise.
55682 * elf/dl-version.c: Likewise.
55683 * elf/rtld.c: Likewise.
55684 * hurd/hurdsock.c: Likewise.
55685 * hurd/lookup-retry.c: Likewise.
55686 * malloc/malloc.c: Likewise.
55687 * malloc/mtrace.c: Likewise.
55688 * nscd/nscd_getgr_r.c: Likewise.
55689 * nscd/nscd_getpw_r.c: Likewise.
55690 * nscd/nscd_getserv_r.c: Likewise.
55691 * posix/getopt_init.c: Likewise.
55692 * posix/wordexp.c: Likewise.
55693 * stdio-common/_itoa.c: Likewise.
55694 * stdio-common/printf_fphex.c: Likewise.
55695 * stdio-common/vfprintf.c: Likewise.
55696 * string/_strerror.c: Likewise.
55697 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
55698 * sysdeps/i386/i686/hp-timing.h: Likewise.
55699 * sysdeps/mach/_strerror.c: Likewise.
55700 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
55701 * sysdeps/mach/hurd/sethostid.c: Likewise.
55702 * sysdeps/mach/hurd/xmknodat.c: Likewise.
55703 * sysdeps/mach/xpg-strerror.c: Likewise.
55704 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
55705 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
55706 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
55707 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
55708 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
55709 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
55710 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
55711 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
55712 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
55713 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
55714 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
55715 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
55716 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
55717 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
55718 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
55719 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
55720 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
55721 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
55722 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
55723 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
55724 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
55725
55726 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
55727
55728 * stdio-common/_itoa.h: Moved to ...
55729 * sysdeps/generic/_itoa.h: Here.
55730
55731 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
55732
55733 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
55734 instead of "_itoa.h" and "_itowa.h".
55735 * stdio-common/vfprintf.: Likewise.
55736
55737 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
55738
55739 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
55740 <bits/wordsize.h>.
55741 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
55742 (__signbit): Likwise.
55743 (llrintf): Likwise.
55744 (llrint): Likwise.
55745
55746 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
55747
55748 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
55749 __WORDSIZE != 64.
55750
55751 2012-03-20 Joseph Myers <joseph@codesourcery.com>
55752
55753 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
55754 OVERFLOW_EXCEPTION_OK.
55755 * math/libm-test.inc ("Philosophy"): Update comment about
55756 exception testing.
55757 (OVERFLOW_EXCEPTION): Define.
55758 (OVERFLOW_EXCEPTION_OK): Likewise.
55759 (INVALID_EXCEPTION_OK): Renumber.
55760 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
55761 (IGNORE_ZERO_INF_SIGN): Likewise.
55762 (test_exceptions): Handle FE_OVERFLOW.
55763 (exp10_test): Expect overflow exceptions.
55764 (exp2_test): Likewise.
55765 (expm1_test): Likewise.
55766 (nextafter_test): Likewise.
55767 (pow_test): Likewise.
55768 (scalbn_test): Likewise.
55769 (scalbln_test): Likewise.
55770
55771 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
55772
55773 * sysdeps/x86_64/bits/atomic.h
55774 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
55775 64bit integer.
55776 (atomic_exchange_acq): Likewise.
55777 (__arch_exchange_and_add_body): Likewise.
55778 (__arch_add_body): Likewise.
55779 (atomic_add_negative): Likewise.
55780 (atomic_add_zero): Likewise.
55781
55782 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
55783
55784 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
55785 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
55786
55787 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
55788
55789 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
55790 Check __x86_64__ instead of __WORDSIZE.
55791
55792 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
55793
55794 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
55795
55796 2012-03-19 David S. Miller <davem@davemloft.net>
55797
55798 * sysdeps/sparc/fpu/libm-test-ulps: Update.
55799
55800 * sysdeps/sparc/fpu/fenv_private.h: New file.
55801 * sysdeps/sparc/fpu/math_private.h: Use it.
55802 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
55803 Remove.
55804 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
55805 (libc_feholdexcept_setroundl): Remove.
55806 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
55807 Remove.
55808 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
55809 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
55810
55811 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
55812
55813 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
55814 int64_t instead of long int.
55815 (INSERT_WORDS64): Likwise.
55816
55817 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
55818
55819 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
55820 _Unwind_GetCFA return to _Unwind_Ptr first.
55821
55822 2012-03-19 Joseph Myers <joseph@codesourcery.com>
55823
55824 [BZ #13629]
55825 * math/s_clog.c: Include <float.h>.
55826 (__clog): Scale large or subnormal inputs.
55827 * math/s_clogf.c: Likewise.
55828 * math/s_clogl.c: Likewise.
55829 * math/s_clog10.c: Include <float.h>.
55830 (M_LOG10_2): Define.
55831 (__clog10): Scale large or subnormal inputs.
55832 * math/s_clog10f.c: Likewise.
55833 * math/s_clog10l.c: Likewise.
55834 * math/libm-test.inc (clog_test): Add more tests.
55835 (clog10_test): Likewise.
55836 * sysdeps/i386/fpu/libm-test-ulps: Update.
55837 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55838
55839 [BZ #11451]
55840 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
55841 x and y.
55842 * math/libm-test.inc (atan2_test): Add another test.
55843
55844 * Makerules (common-objdir-compile): Remove.
55845 * sysdeps/unix/Makefile (config-generated): Do not add
55846 $(unix-generated) to variable.
55847 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
55848 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
55849 Remove rule.
55850 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
55851 Likewise.
55852 [generic bits/local_lim.h] (before-compile): Do not append to
55853 variable.
55854 [generic bits/local_lim.h] (common-generated): Likewise.
55855 [generic sys/param.h] (before-compile): Do not append to variable.
55856 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
55857 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
55858 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
55859 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
55860 include.
55861 [generic sys/param.h] (sys/param.h-includes): Remove variable.
55862 [generic sys/param.h] (sys/param.h-includes): Remove rule.
55863 [generic sys/param.h] ($(addprefix
55864 $(common-objpfx),$(sys/param.h-includes))): Likewise.
55865 [generic sys/param.h] (common-generated): Do not append to
55866 variable.
55867 [generic sys/param.h] (sysdep_headers): Likewise.
55868 [generic bits/errno.h] (before-compile): Do not append to
55869 variable.
55870 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
55871 rule.
55872 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
55873 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
55874 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
55875 [generic bits/errno.h] (common-generated): Do not append to
55876 variable.
55877 [generic bits/ioctls.h] (before-compile): Do not append to
55878 variable.
55879 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
55880 rule.
55881 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
55882 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
55883 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
55884 rule.
55885 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
55886 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
55887 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
55888 [generic bits/ioctls.h] (common-generated): Do not append to
55889 variable.
55890 [generic sys/syscall.h] (syscall.h): Remove variable.
55891 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
55892 rule.
55893 [generic sys/syscall.h] (before-compile): Do not append to
55894 variable.
55895 [generic sys/syscall.h] (common-generated): Likewise.
55896 * sysdeps/unix/errnos-tmpl.c: Remove file.
55897 * sysdeps/unix/errnos.awk: Likewise.
55898 * sysdeps/unix/ioctls-tmpl.c: Likewise.
55899 * sysdeps/unix/ioctls.awk: Likewise.
55900 * sysdeps/unix/mk-local_lim.c: Likewise.
55901 * sysdeps/unix/snarf-ioctls: Likewise.
55902
55903 2012-03-19 Richard Henderson <rth@twiddle.net>
55904
55905 * sysdeps/i386/fpu/fenv_private.h: New file.
55906 * sysdeps/i386/fpu/math_private.h: Use it.
55907 (math_opt_barrier, math_force_eval): Remove.
55908 (libc_feholdexcept_setround_53bit): Remove.
55909 (libc_feupdateenv_53bit): Remove.
55910 * sysdeps/x86_64/fpu/math_private.h: Likewise.
55911 (math_opt_barrier, math_force_eval): Remove.
55912 (libc_feholdexcept): Remove.
55913 (libc_feholdexcept_setround): Remove.
55914 (libc_fetestexcept, libc_fesetenv): Remove.
55915 (libc_feupdateenv_test): Remove.
55916 (libc_feupdateenv, libc_feholdsetround): Remove.
55917 (libc_feresetround): Remove.
55918
55919 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
55920 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
55921
55922 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
55923 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
55924 (libc_feupdateenv_testl): New.
55925 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
55926 (libc_feupdateenv_testf): New.
55927 (libc_feupdateenv): Use libc_feupdateenv_test.
55928 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
55929 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
55930
55931 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
55932 (libc_feholdsetroundf, libc_feholdsetroundl): New.
55933 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
55934 (libc_feresetround_noex): New.
55935 (libc_feresetround_noexf): New.
55936 (libc_feresetround_noexl): New.
55937 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
55938 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
55939 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
55940 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
55941 SET_RESTORE_ROUND.
55942 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
55943 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
55944 (__cos): Likewise.
55945 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
55946 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
55947 SET_RESTORE_ROUND_NOEX.
55948 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
55949 SET_RESTORE_ROUND_NOEXF.
55950 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
55951 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
55952 (libc_feholdsetroundf): New.
55953 (libc_feresetround, libc_feresetroundf): New.
55954
55955 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
55956 (libc_feholdexcept_setround_53bit): Convert from macro to function.
55957 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
55958
55959 * sysdeps/generic/math_private.h: Include <fenv.h>.
55960 (default_libc_feholdexcept): New.
55961 (default_libc_feholdexcept_setround): New.
55962 (default_libc_fesetenv, default_libc_feupdateenv): New.
55963 (libc_feholdexcept): Only define if undefined.
55964 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
55965 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
55966 (libc_feholdexcept_setroundl): Likewise.
55967 (libc_feholdexcept_setround_53bit): Likewise.
55968 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
55969 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
55970 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
55971 (libc_feupdateenv_53bit): Likewise.
55972 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
55973 (libc_feholdexcept): Convert from macro to inline function.
55974 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
55975 (libc_fesetenv, libc_feupdateenv): Likewise.
55976
55977 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
55978 not previously defined.
55979 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
55980 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
55981 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
55982 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
55983 * sysdeps/ieee754/flt-32/math_private.h: New file.
55984 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
55985 math_private.h below SET_FLOAT_WORD.
55986 (__isnan, __isinf_ns, __finite): Remove.
55987 (__isnanf, __isinf_nsf, __finitef): Remove.
55988
55989 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
55990
55991 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55992
55993 2012-03-17 David S. Miller <davem@davemloft.net>
55994
55995 [BZ #6471]
55996 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
55997 for 2.16.
55998
55999 2012-03-16 David S. Miller <davem@davemloft.net>
56000
56001 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
56002 warnings.
56003
56004 [BZ #6471]
56005 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
56006 properly.
56007 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
56008 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
56009 sysdep_routines when subdir is sysvipc.
56010 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
56011 __getshmlba helper.
56012
56013 * sysdeps/sparc/fpu/libm-test/ulps: Update.
56014
56015 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
56016
56017 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
56018 [__LP64__].
56019
56020 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
56021
56022 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
56023 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
56024 (__lround): Renamed to ...
56025 (__llround): This. Replace long int with long long int.
56026 Define lround functions as aliases of llround functions.
56027 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
56028
56029 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
56030
56031 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
56032 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
56033 adresses to uintptr_t. Replace "long int" and "unsigned long
56034 int" with "greg_t" on va_arg.
56035
56036 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
56037
56038 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
56039 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
56040
56041 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
56042 Move e_machine check before EI_CLASS check. Handle x32
56043 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
56044 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
56045 SKIP_EM_IA_64 and include
56046 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
56047
56048 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
56049 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
56050 (add_system_dir): New macro.
56051
56052 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
56053 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
56054
56055 2012-03-16 Joseph Myers <joseph@codesourcery.com>
56056
56057 [BZ #2551]
56058 [BZ #2552]
56059 [BZ #2553]
56060 [BZ #2554]
56061 [BZ #2562]
56062 [BZ #2563]
56063 [BZ #2565]
56064 [BZ #2566]
56065 [BZ #2576]
56066 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
56067 (y0): Likewise.
56068 * math/w_j0f.c (j0f): Likewise.
56069 (y0f): Likewise.
56070 * math/w_j0l.c (__j0l): Likewise.
56071 (__y0l): Likewise.
56072 * math/w_j1.c (j1): Likewise.
56073 (y1): Likewise.
56074 * math/w_j1f.c (j1f): Likewise.
56075 (y1f): Likewise.
56076 * math/w_j1l.c (__j1l): Likewise.
56077 (__y1l): Likewise.
56078 * math/w_jn.c (jn): Likewise.
56079 (yn): Likewise.
56080 * math/w_jnf.c (jnf): Likewise.
56081 (ynf): Likewise.
56082 * math/w_jnl.c (__jnl): Likewise.
56083 (__ynl): Likewise.
56084 * math/libm-test.inc (j0_test): Add more tests.
56085 (j1_test): Likewise.
56086 (jn_test): Likewise. Add trailing semicolon to existing test.
56087 (y0_test): Likewise.
56088 (y1_test): Likewise.
56089 * sysdeps/i386/fpu/libm-test-ulps: Update.
56090 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56091
56092 [BZ #13851]
56093 [BZ #13854]
56094 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
56095 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
56096 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
56097 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
56098 (__tanl): Set errno for infinite argument.
56099 * sysdeps/i386/fpu/mptan.c: Remove.
56100 * sysdeps/i386/fpu/s_tan.S: Likewise.
56101 * sysdeps/i386/fpu/s_tanl.S: Likewise.
56102 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
56103 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
56104 * math/libm-test.inc (tan_test): Add more tests and enable more
56105 tests for double and long double.
56106 * sysdeps/i386/fpu/libm-test-ulps: Update.
56107 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56108
56109 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
56110
56111 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
56112 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
56113
56114 2012-03-16 Roland McGrath <roland@hack.frob.com>
56115
56116 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
56117 * configure.in: Use it for both main tree and add-ons.
56118 * configure: Regenerated.
56119
56120 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
56121
56122 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
56123
56124 2012-03-16 Joseph Myers <joseph@codesourcery.com>
56125
56126 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
56127 in comment.
56128
56129 [BZ #13851]
56130 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
56131 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
56132 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
56133 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
56134 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
56135 infinite argument.
56136 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
56137 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
56138 != 0 for prec == 2.
56139 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
56140 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
56141 * sysdeps/i386/fpu/s_cosl.S: Likewise.
56142 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
56143 * sysdeps/i386/fpu/s_sinl.S: Likewise.
56144 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
56145 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
56146 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
56147 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
56148 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
56149 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
56150 * math/libm-test.inc (cos_test): Add more tests and enable more
56151 tests for long double.
56152 (sin_test): Likewise.
56153 (sincos_test): Likewise.
56154 * sysdeps/i386/fpu/libm-test-ulps: Update.
56155 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56156
56157 2012-03-16 David S. Miller <davem@davemloft.net>
56158
56159 * sysdeps/sparc/fpu/math_private.h: New file.
56160
56161 2012-03-15 David S. Miller <davem@davemloft.net>
56162
56163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
56164 file.
56165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
56166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
56167 file.
56168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
56169 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
56170 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
56171 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
56172 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
56173 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
56174 sysdep routines.
56175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
56176
56177 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
56178 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
56179
56180 * sysdeps/sparc/sparc-ifunc.h: New file.
56181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
56182 sparc-ifunc.h
56183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
56184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
56185 Likewise.
56186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
56187 Likewise.
56188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
56189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
56190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
56191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
56192 Likewise.
56193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
56194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
56195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
56196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
56197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
56198 Likewise.
56199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
56200 Likewise.
56201 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
56202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
56203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
56204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
56205 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
56206 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
56207 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
56208 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
56209 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
56210 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
56211 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
56212 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
56213 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
56214 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
56215 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
56216 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
56217 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
56218 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
56219 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
56220 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
56221 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
56222 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
56223 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
56224 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
56225
56226 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
56227
56228 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
56229 scaling.
56230 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56231
56232 2012-03-15 Andreas Jaeger <aj@suse.de>
56233
56234 [BZ #13852]
56235 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
56236 ieee754/flt-32 implementation for sin, cos and sincos.
56237 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
56238 * sysdeps/i386/fpu/s_cosf.S: Likewise.
56239 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
56240 * sysdeps/i386/fpu/s_sinf.S: Likewise.
56241 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
56242 ieee754/flt-32 implementation for tan.
56243
56244 * math/libm-test.inc (cos_test): Enable some large input tests for
56245 float as well
56246 (sin_test): Likewise.
56247 (sincos_test): Likewise.
56248 (tan_test): Add tests for large input.
56249
56250 * sysdeps/i386/fpu/libm-test-ulps: Update.
56251
56252 2012-03-15 Andreas Jaeger <aj@suse.de>
56253
56254 [BZ #13658]
56255 * math/libm-test.inc (cos_test): Add more test cases.
56256 (sin_test): Likewise.
56257 (sincos_test): Likewise.
56258
56259 2012-03-15 Andreas Jaeger <aj@suse.de>
56260
56261 [BZ #13837]
56262 * math/libm-test.inc (cos_test): Add a test case for large input
56263 value.
56264 (sin_test): Likewise.
56265 (sincos_test): Likewise.
56266
56267 2012-03-15 Andreas Jaeger <aj@suse.de>
56268 Joseph Myers <joseph@codesourcery.com>
56269
56270 [BZ #13658]
56271 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
56272 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
56273 * sysdeps/i386/fpu/branred.c: Likewise.
56274 * sysdeps/i386/fpu/dosincos.c: Likewise.
56275 * sysdeps/i386/fpu/mpa.c: Likewise.
56276 * sysdeps/i386/fpu/s_cos.S: Likewise.
56277 * sysdeps/i386/fpu/s_sin.S: Likewise.
56278 * sysdeps/i386/fpu/s_sincos.S: Likewise.
56279 * sysdeps/i386/fpu/sincos32.c: Likewise.
56280
56281 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
56282 Define.
56283 (libc_feupdateenv_53bit): Define.
56284 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
56285 Define.
56286 (libc_feupdateenv_53bit): Define.
56287
56288 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
56289 53 bit (without extend i386 double precision).
56290
56291 * math/libm-test.inc (sincos_test): Add tests for large input.
56292 (sin): Likewise.
56293 (cos): Likewise.
56294
56295 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
56296
56297 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
56298
56299 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56300
56301 2012-03-15 David S. Miller <davem@davemloft.net>
56302
56303 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
56304 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
56305 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
56306 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
56307 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
56308 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
56309 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
56310 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
56311 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
56312 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
56313 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
56314 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
56315 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
56316 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
56317 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
56318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
56319 file.
56320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
56321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
56322 file.
56323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
56324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
56325 file.
56326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
56327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
56328 file.
56329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
56330 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
56331 fmin/fmax sysdep routines.
56332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
56333
56334 2012-03-14 David S. Miller <davem@davemloft.net>
56335
56336 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
56337 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
56338 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
56339 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
56340 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
56341 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
56342 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
56343 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
56344 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
56345 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
56346 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
56347 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
56348 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
56349 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
56350 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
56351 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
56352 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
56353 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
56354 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
56355 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
56356 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
56357 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
56358 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
56359 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
56360 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
56361 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
56362 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
56363 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
56364 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
56365 routines.
56366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
56367 file.
56368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
56369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
56370 file.
56371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
56372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
56373 file.
56374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
56375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
56376 file.
56377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
56378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
56379 file.
56380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
56381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
56382 file.
56383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
56384 file.
56385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
56386 file.
56387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
56388 file.
56389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
56390 New file.
56391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
56392 file.
56393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
56394 file.
56395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
56396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
56397 file.
56398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
56399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
56400 file.
56401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
56402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
56403 file.
56404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
56405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
56406 VIS3 routines.
56407
56408 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
56409 New file.
56410
56411 * sysdeps/sparc/fpu/libm-test-ulps: Update.
56412
56413 * sysdeps/sparc/configure.in: New file.
56414 * sysdeps/sparc/configure: Generate.
56415 * configure.in (libc_cv_sparc_as_vis3): Substitute.
56416 * configure: Regenerate.
56417 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
56418 * config.make.in (have-as-vis3): New.
56419 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
56420 available use -Av9d instead of -Av9a.
56421 * sysdeps/sparc/sparc64/Makefile: Likewise.
56422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
56423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
56424 New file.
56425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
56426 file.
56427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
56428 New file.
56429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
56430 file.
56431 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
56432 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
56433 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
56434 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
56435 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
56436
56437 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
56438 fzeros/fnegs to load 0x80000000 into a float register instead of
56439 using the stack.
56440 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
56441
56442 2012-03-14 Joseph Myers <joseph@codesourcery.com>
56443
56444 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56445 bits/syscall.h.
56446 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
56447 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
56448 ($(inst_includedir)/bits/syscall.h): Remove rule.
56449 ($(objpfx)bits/syscall.d): Include instead of
56450 $(objpfx)syscall-list.d.
56451 (generated): Change syscall-list.h and syscall-list.d to
56452 bits/syscall.h and bits/syscall.d.
56453
56454 2012-03-14 Roland McGrath <roland@hack.frob.com>
56455
56456 [BZ #13846]
56457 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
56458
56459 2012-03-14 Joseph Myers <joseph@codesourcery.com>
56460
56461 [BZ #13841]
56462 * math/s_csqrt.c: Include <float.h>.
56463 (__csqrt): Scale large or subnormal inputs.
56464 * math/s_csqrtf.c: Likewise.
56465 * math/s_csqrtl.c: Likewise.
56466 * math/libm-test.inc (csqrt_test): Add more tests.
56467 * sysdeps/i386/fpu/libm-test-ulps: Update.
56468 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56469
56470 [BZ #13840]
56471 * math/libm-test.inc (hypot_test): Add more tests.
56472
56473 2012-03-13 David S. Miller <davem@davemloft.net>
56474
56475 [BZ #13840]
56476 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
56477 double-precision for the calculation instead of scaling.
56478
56479 2012-03-13 Joseph Myers <joseph@codesourcery.com>
56480
56481 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
56482 manipulate bits before adding and subtracting TWO52[sx].
56483 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
56484 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
56485 Likewise.
56486 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
56487
56488 2012-03-13 David S. Miller <davem@davemloft.net>
56489
56490 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
56491 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
56492 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
56493 rtld-global-offsets.h
56494 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
56495
56496 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
56497 large parameters.
56498
56499 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
56500
56501 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
56502 'err' in the ifdef scope in which it is actually used.
56503
56504 * nss/nss_db/db-init.c: Include string.h
56505
56506 2012-03-12 David S. Miller <davem@davemloft.net>
56507
56508 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
56509 masking out of the most significant byte of random value used.
56510 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
56511 Fix coding style in previous change.
56512
56513 * sysdeps/unix/sysv/linux/kernel-features.h
56514 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
56515 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
56516 expression.
56517 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
56518 later.
56519
56520 2012-03-11 David S. Miller <davem@davemloft.net>
56521
56522 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
56523 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
56524 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
56525 for 'resultvar' otherwise things get truncated on 64-bit.
56526
56527 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
56528 Fix masking out of the most significant byte of random value used.
56529
56530 * sysdeps/sparc/fpu/libm-test-ulps: Update.
56531
56532 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
56533
56534 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56535
56536 2012-03-09 David S. Miller <davem@davemloft.net>
56537
56538 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
56539 variables with appropriate CPP guards.
56540 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
56541 from the frame pointer, not the stack pointer. Correct layout
56542 comments. Fix test on resulting framesize and the management of
56543 the outregs buffer for pltexit. Preserve floating point return
56544 values across _dl_call_pltexit call.
56545 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
56546 framesize and the management of the outregs buffer for pltexit.
56547 Preserve floating point return values across _dl_call_pltexit
56548 call.
56549 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
56550 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
56551 (la_sparc64_gnu_pltexit): New functions.
56552 (print_exit): Fix format string for return register value.
56553
56554 2012-03-10 Joseph Myers <joseph@codesourcery.com>
56555
56556 * sunrpc/Makefile (others): Add rpcgen.
56557 ($(objpfx)rpcgen): Remove special build rule and dependency on
56558 libc.
56559 * sunrpc/rpcgen.c: New file.
56560
56561 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
56562
56563 [BZ #13673]
56564 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
56565 * stdio-common/bug-vfprintf-nargs.c: Likewise.
56566 * sysdeps/i386/crti.S: Likewise.
56567 * sysdeps/i386/crtn.S: Likewise.
56568 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
56569 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
56570 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
56571 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
56572 * sysdeps/sh/crti.S: Likewise.
56573 * sysdeps/sh/crtn.S: Likewise.
56574 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
56575
56576 [BZ #13673]
56577 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
56578 with URL.
56579 * locale/programs/locfile-kw.gperf: Likewise.
56580 * locale/programs/charmap-kw.h: Regenerated.
56581 * locale/programs/locfile-kw.h: Likewise.
56582
56583 [BZ #13673]
56584 * intl/plural.y: Replace FSF snail mail address with URL.
56585 * intl/plural.c: Regenerated.
56586
56587 2012-03-09 Richard Henderson <rth@twiddle.net>
56588
56589 * include/math_private.h: Remove file.
56590 * math/math_private.h: Move file ...
56591 * sysdeps/generic/math_private.h: ... here.
56592
56593 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
56594 * sysdeps/powerpc/fpu/math_private.h: Likewise.
56595 * sysdeps/x86_64/fpu/math_private.h: Likewise.
56596
56597 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
56598 and <math_private.h>.
56599 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
56600 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
56601 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
56602 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
56603 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
56604 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
56605 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
56606 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56607 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
56608 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
56609 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56610 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
56611 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
56612 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
56613 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
56614 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
56615 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
56616 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
56617 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
56618 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
56619 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56620 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
56621 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
56622 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56623 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
56624 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
56625 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
56626 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
56627 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56628 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
56629 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
56630 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
56631 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
56632 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
56633 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
56634 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
56635 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
56636 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
56637 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
56638 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
56639 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
56640 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
56641 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
56642 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
56643 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
56644 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
56645 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
56646 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
56647 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
56648 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
56649 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
56650 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
56651 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
56652 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
56653 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
56654 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
56655 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
56656 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
56657 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
56658 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
56659 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
56660 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
56661 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56662 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
56663 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
56664 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
56665 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
56666 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
56667 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
56668 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
56669 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
56670 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
56671 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
56672 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
56673 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
56674 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
56675 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
56676 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
56677 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
56678 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
56679 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
56680 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
56681 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
56682 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
56683 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
56684 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
56685 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
56686 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
56687 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
56688 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
56689 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
56690 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
56691 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
56692 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
56693 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
56694 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
56695 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
56696 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
56697 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
56698 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
56699 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
56700 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
56701 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
56702 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
56703 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
56704 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
56705 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
56706 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
56707 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
56708 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
56709 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
56710 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
56711 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
56712 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
56713 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
56714 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
56715 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
56716 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
56717 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
56718 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
56719 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
56720 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
56721 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
56722 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
56723 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
56724 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
56725 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
56726 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
56727 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
56728 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
56729 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
56730 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
56731 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
56732 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
56733 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
56734 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
56735 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
56736 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
56737 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
56738 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
56739 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
56740 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
56741 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
56742 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
56743 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
56744 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
56745 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
56746 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
56747 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
56748 * sysdeps/ieee754/k_standard.c: Likewise.
56749 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
56750 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
56751 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
56752 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
56753 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
56754 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
56755 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
56756 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
56757 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
56758 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
56759 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
56760 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
56761 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
56762 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
56763 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
56764 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
56765 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
56766 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
56767 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
56768 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
56769 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
56770 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
56771 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
56772 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
56773 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
56774 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
56775 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
56776 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
56777 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
56778 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
56779 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
56780 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
56781 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
56782 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
56783 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
56784 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
56785 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
56786 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
56787 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
56788 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
56789 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
56790 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
56791 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
56792 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
56793 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
56794 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
56795 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
56796 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
56797 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
56798 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
56799 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
56800 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
56801 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
56802 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
56803 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
56804 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
56805 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
56806 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
56807 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
56808 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
56809 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
56810 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
56811 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
56812 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
56813 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
56814 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
56815 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
56816 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
56817 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
56818 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
56819 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
56820 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
56821 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
56822 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
56823 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
56824 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
56825 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
56826 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
56827 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
56828 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
56829 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
56830 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
56831 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
56832 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
56833 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
56834 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
56835 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
56836 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
56837 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
56838 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
56839 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
56840 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
56841 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
56842 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
56843 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
56844 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
56845 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
56846 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
56847 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
56848 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
56849 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
56850 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
56851 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
56852 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
56853 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
56854 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
56855 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
56856 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
56857 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
56858 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
56859 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
56860 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
56861 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
56862 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
56863 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
56864 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
56865 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
56866 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
56867 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
56868 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
56869 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
56870 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
56871 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
56872 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
56873 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
56874 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
56875 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
56876 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
56877 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
56878 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
56879 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
56880 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
56881 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
56882 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
56883 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
56884 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
56885 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
56886 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
56887 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
56888 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
56889 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
56890 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
56891 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
56892 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
56893 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
56894 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
56895 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
56896 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
56897 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
56898 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
56899 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
56900 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
56901 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
56902 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
56903 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
56904 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
56905 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
56906 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
56907 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
56908 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
56909 * sysdeps/ieee754/s_lib_version.c: Likewise.
56910 * sysdeps/ieee754/s_matherr.c: Likewise.
56911 * sysdeps/ieee754/s_signgam.c: Likewise.
56912 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
56913 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
56914 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
56915 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
56916 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
56917 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
56918 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
56919 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
56920 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
56921 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
56922 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
56923 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
56924 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
56925 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
56926 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
56927 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
56928 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
56929 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
56930 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
56931 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
56932 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
56933
56934 2012-03-09 Joseph Myers <joseph@codesourcery.com>
56935
56936 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
56937 * sunrpc/rpc_main.c: Likewise.
56938 * sunrpc/rpc_svcout.c: Likewise.
56939
56940 2012-03-09 David S. Miller <davem@davemloft.net>
56941
56942 * include/math_private.h: New file.
56943
56944 2012-03-09 Joseph Myers <joseph@codesourcery.com>
56945
56946 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
56947 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
56948 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
56949 from <bits/socket_type.h>.
56950 (enum __socket_type): Don't define here.
56951 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
56952 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56953 bits/socket_type.h.
56954
56955 [BZ #13566]
56956 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
56957 checking __USE_GNU.
56958
56959 * Makerules ($(inst_includedir)/%.h): New rule.
56960 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
56961 (install-others): Remove variable setting.
56962 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
56963
56964 2012-03-08 Richard Henderson <rth@twiddle.net>
56965
56966 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
56967 from macro to inline function; merge with the
56968 !__LIBC_INTERNAL_MATH_INLINES version.
56969 (__ieee754_sqrtf): Likewise.
56970
56971 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
56972 to inline function.
56973 (__rintf, __floor, __floorf): Likewise.
56974
56975 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
56976 macro to inline function.
56977 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
56978
56979 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
56980 not <math/math_private.h>.
56981
56982 2012-03-08 David S. Miller <davem@davemloft.net>
56983
56984 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
56985 copyright year.
56986 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
56987
56988 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
56989
56990 * resolv/gai_misc.c (handle_requests): Fix struct timespec
56991 normalization.
56992 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
56993 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
56994
56995 2012-03-08 Ulrich Drepper <drepper@gmail.com>
56996
56997 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
56998 be defined individually, they must be defined as a block. Define
56999 S for printing a string instead of hidint the different by using a
57000 macro for adding the 'l'.
57001 * stdio-common/tst-fphex-wide.c: Adjust.
57002
57003 2012-03-07 Marek Polacek <polacek@redhat.com>
57004
57005 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
57006
57007 2012-03-08 Marek Polacek <polacek@redhat.com>
57008
57009 [BZ #13806]
57010 * stdio-common/Makefile (tests): Add tst-fphex-wide.
57011 * stdio-common/tst-fphex.c: Define a few macros to make the
57012 test reusable. Use them.
57013 * stdio-common/tst-fphex-wide.c: New file.
57014
57015 2012-03-08 Joseph Myers <joseph@codesourcery.com>
57016
57017 [BZ #6911]
57018 * manual/macros.texi (gnusystems): New macro.
57019 (nongnusystems): Likewise.
57020 (gnulinuxhurdsystems): Likewise.
57021 (gnuhurdsystems): Likewise..
57022 (gnulinuxsystems): Likewise.
57023 * manual/charset.texi: Use new macros or @theglibc{} to refer to
57024 variants of the GNU system, not "GNU system".
57025 * manual/conf.texi: Likewise.
57026 * manual/errno.texi: Likewise. Update example of errno macro
57027 expansion.
57028 * manual/filesys.texi: Likewise.
57029 (getumask): Document as specific to GNU/Hurd.
57030 * manual/install.texi: Likewise. Reword some references to
57031 GNU/Linux.
57032 * manual/intro.texi: Likewise.
57033 * manual/io.texi: Likewise.
57034 (File Name Portability): Detail which constraints are inapplicable
57035 to all GNU systems and which are only inapplicable to GNU/Hurd.
57036 * manual/job.texi: Likewise.
57037 * manual/llio.texi: Likewise.
57038 (O_NOCTTY): Document as present on GNU/Linux.
57039 * manual/maint.texi: Likewise.
57040 * manual/memory.texi: Likewise.
57041 * manual/pattern.texi: Likewise.
57042 * manual/pipe.texi: Likewise.
57043 * manual/process.texi: Likewise.
57044 * manual/resource.texi: Likewise.
57045 (RUSAGE_CHILDREN): Remove statement about specifying a particular
57046 child on GNU/Hurd.
57047 * manual/setjmp.texi: Likewise.
57048 * manual/signal.texi: Likewise.
57049 * manual/startup.texi: Likewise.
57050 * manual/stdio.texi: Likewise.
57051 * manual/terminal.texi: Likewise.
57052 (ONLCR): Document as POSIX.
57053 (OXTABS): Document availability on GNU/Linux as XTABS.
57054 (ONOEOT): Document availability separately from other bits.
57055 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
57056 * manual/time.texi: Likewise.
57057 * manual/users.texi: Likewise.
57058 * INSTALL: Regenerated.
57059 * sysdeps/gnu/errlist.c: Regenerated.
57060
57061 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
57062 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
57063 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
57064 puts.
57065 * configure: Regenerated.
57066
57067 2012-03-07 Joseph Myers <joseph@codesourcery.com>
57068
57069 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
57070 default includes instead of AC_HEADER_CHECK.
57071 * sysdeps/i386/configure: Regenerated.
57072
57073 [BZ #10716]
57074 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
57075 * math/s_cacoshf.c (__cacoshf): Likewise.
57076 * math/s_cacoshl.c (__cacoshl): Likewise.
57077 * math/s_casinh.c (__casinh): Set signs of result from argument.
57078 * math/s_casinhf.c (__casinhf): Likewise.
57079 * math/s_casinhl.c (__casinhl): Likewise.
57080 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
57081 (casinh_test): Add more tests.
57082 * sysdeps/i386/fpu/libm-test-ulps: Update.
57083 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57084
57085 2012-03-07 Ulrich Drepper <drepper@gmail.com>
57086
57087 * po/zh_TW.po: Update from translation team.
57088
57089 * login/Makefile (distribute): Remove variable.
57090 * catgets/Makefile: Likewise.
57091 * mach/Makefile: Likewise.
57092 * malloc/Makefile: Likewise.
57093 * misc/Makefile: Likewise.
57094 * iconv/Makefile: Likewise.
57095 * nscd/Makefile: Likewise.
57096 * hurd/Makefile: Likewise.
57097 * manual/Makefile: Likewise.
57098 * locale/Makefile: Likewise.
57099 * intl/Makefile: Likewise.
57100 * conform/Makefile: Likewise.
57101 * nss/Makefile: Likewise.
57102 * time/Makefile: Likewise.
57103 * soft-fp/Makefile: Likewise.
57104 * dirent/Makefile: Likewise.
57105 * gmon/Makefile: Likewise.
57106 * po/Makefile: Likewise.
57107 * rt/Makefile: Likewise.
57108 * socket/Makefile: Likewise.
57109 * math/Makefile: Likewise.
57110 * signal/Makefile: Likewise.
57111 * debug/Makefile: Likewise.
57112 * elf/Makefile: Likewise.
57113 * timezone/Makefile: Likewise.
57114 * stdlib/Makefile: Likewise.
57115 * iconvdata/Makefile: Likewise.
57116 * sunrpc/Makefile: Likewise.
57117 * io/Makefile: Likewise.
57118 * argp/Makefile: Likewise.
57119 * inet/Makefile: Likewise.
57120 * hesiod/Makefile: Likewise.
57121 * grp/Makefile: Likewise.
57122 * csu/Makefile: Likewise.
57123 * wctype/Makefile: Likewise.
57124 * crypt/Makefile: Likewise.
57125 * libio/Makefile: Likewise.
57126 * string/Makefile: Likewise.
57127 * nis/Makefile: Likewise.
57128 * resolv/Makefile: Likewise.
57129 * stdio-common/Makefile: Likewise.
57130 * wcsmbs/Makefile: Likewise.
57131 * dlfcn/Makefile: Likewise.
57132 * posix/Makefile: Likewise.
57133
57134 [BZ #6959]
57135 * timezone/Makefile: Don't install timezone files, just the programs
57136 and scripts.
57137
57138 2012-03-06 Ulrich Drepper <drepper@gmail.com>
57139
57140 * nss/databases.def: Add missing gshadow entry.
57141
57142 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
57143
57144 2012-03-06 Marek Polacek <polacek@redhat.com>
57145
57146 [BZ #13726]
57147 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
57148 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
57149 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
57150 * stdio-common/tst-long-dbl-fphex.c: New file.
57151
57152 2012-03-06 David S. Miller <davem@davemloft.net>
57153
57154 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
57155 (set_obp_int): New function.
57156 (get_obp_int): New function.
57157 (__get_clockfreq_via_dev_openprom): Likewise.
57158 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
57159 Avoid unused variable warnings on 'val' and use builtin_expect.
57160 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
57161 __builtin_expect.
57162 (INLINE_CLONE_SYSCALL): Likewise.
57163
57164 2012-03-05 David S. Miller <davem@davemloft.net>
57165
57166 * sysdeps/sparc/fpu/libm-test-ulps: Update.
57167
57168 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
57169
57170 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57171
57172 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
57173 only for |x| >= 40.
57174 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
57175
57176 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
57177
57178 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
57179 Replace gettimeofday with __vdso_gettimeofday.
57180
57181 * sysdeps/unix/sysv/linux/x86_64/init-first.c
57182 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
57183 __vdso_clock_gettime and __vdso_getcpu.
57184
57185 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
57186 time with __vdso_time.
57187
57188 2012-03-05 Joseph Myers <joseph@codesourcery.com>
57189
57190 * manual/lang.texi (size_t): Note types to which size_t may be
57191 equivalent with the GNU C Library, but do not describe when
57192 differences between them are significant.
57193
57194 2012-03-05 Andreas Jaeger <aj@suse.de>
57195
57196 * sysdeps/i386/fpu/libm-test-ulps: Update.
57197
57198 2012-03-05 Joseph Myers <joseph@codesourcery.com>
57199
57200 [BZ #3976]
57201 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
57202 (__ieee754_pow): Save and restore rounding mode and use
57203 round-to-nearest for main computations.
57204 * math/libm-test.inc (pow_test_tonearest): New function.
57205 (pow_test_towardzero): Likewise.
57206 (pow_test_downward): Likewise.
57207 (pow_test_upward): Likewise.
57208 (main): Call the new functions.
57209 * sysdeps/i386/fpu/libm-test-ulps: Update.
57210 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57211
57212 [BZ #3976]
57213 * math/libm-test.inc (cosh_test_tonearest): New function.
57214 (cosh_test_towardzero): Likewise.
57215 (cosh_test_downward): Likewise.
57216 (cosh_test_upward): Likewise.
57217 (sinh_test_tonearest): Likewise.
57218 (sinh_test_towardzero): Likewise.
57219 (sinh_test_downward): Likewise.
57220 (sinh_test_upward): Likewise.
57221 (main): Call the new functions.
57222 * sysdeps/i386/fpu/libm-test-ulps: Update.
57223 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57224
57225 2012-03-05 Tom de Vries <tom@codesourcery.com>
57226
57227 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
57228 default stack guard is set in last bytes.
57229 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
57230
57231 2012-03-05 Kees Cook <keescook@chromium.org>
57232
57233 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
57234
57235 [BZ #13656]
57236 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
57237 possibly allocate from heap instead of stack.
57238 * stdio-common/bug-vfprintf-nargs.c: New file.
57239 * stdio-common/Makefile (tests): Add nargs overflow test.
57240
57241 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
57242
57243 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57244
57245 2012-03-03 Marek Polacek <polacek@redhat.com>
57246
57247 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
57248 * math/math_private.h: Likewise.
57249 * stdlib/tst-strtod.c: Likewise.
57250 * sysdeps/i386/i486/bits/atomic.h: Likewise.
57251 * sysdeps/x86_64/bits/atomic.h: Likewise.
57252
57253 2012-03-02 David S. Miller <davem@davemloft.net>
57254
57255 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
57256 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
57257 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
57258 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
57259 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
57260 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
57261 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
57262 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
57263
57264 2012-03-02 Roland McGrath <roland@hack.frob.com>
57265
57266 [BZ #13792]
57267 * manual/examples/README: New file, says the example source files
57268 can be used under GPL>=2.
57269 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
57270 line containing just "*/".
57271 * manual/examples/add.c: Add copyright header (GPL>=2).
57272 * manual/examples/argp-ex1.c: Likewise.
57273 * manual/examples/argp-ex2.c: Likewise.
57274 * manual/examples/argp-ex3.c: Likewise.
57275 * manual/examples/argp-ex4.c: Likewise.
57276 * manual/examples/atexit.c: Likewise.
57277 * manual/examples/db.c: Likewise.
57278 * manual/examples/dir.c: Likewise.
57279 * manual/examples/dir2.c: Likewise.
57280 * manual/examples/execinfo.c: Likewise.
57281 * manual/examples/filecli.c: Likewise.
57282 * manual/examples/filesrv.c: Likewise.
57283 * manual/examples/fmtmsgexpl.c: Likewise.
57284 * manual/examples/genpass.c: Likewise.
57285 * manual/examples/inetcli.c: Likewise.
57286 * manual/examples/inetsrv.c: Likewise.
57287 * manual/examples/isockad.c: Likewise.
57288 * manual/examples/longopt.c: Likewise.
57289 * manual/examples/memopen.c: Likewise.
57290 * manual/examples/memstrm.c: Likewise.
57291 * manual/examples/mkfsock.c: Likewise.
57292 * manual/examples/mkisock.c: Likewise.
57293 * manual/examples/mygetpass.c: Likewise.
57294 * manual/examples/pipe.c: Likewise.
57295 * manual/examples/popen.c: Likewise.
57296 * manual/examples/rprintf.c: Likewise.
57297 * manual/examples/search.c: Likewise.
57298 * manual/examples/select.c: Likewise.
57299 * manual/examples/setjmp.c: Likewise.
57300 * manual/examples/sigh1.c: Likewise.
57301 * manual/examples/sigusr.c: Likewise.
57302 * manual/examples/stpcpy.c: Likewise.
57303 * manual/examples/strdupa.c: Likewise.
57304 * manual/examples/strftim.c: Likewise.
57305 * manual/examples/strncat.c: Likewise.
57306 * manual/examples/subopt.c: Likewise.
57307 * manual/examples/swapcontext.c: Likewise.
57308 * manual/examples/termios.c: Likewise.
57309 * manual/examples/testopt.c: Likewise.
57310 * manual/examples/testpass.c: Likewise.
57311 * manual/examples/timeval_subtract.c: Likewise.
57312
57313 [BZ #13792]
57314 * manual/time.texi (Elapsed Time): Move timeval_subtract example
57315 function to ...
57316 * manual/timeval_subtract.c.texi: ... here, new file.
57317
57318 2012-03-02 David S. Miller <davem@davemloft.net>
57319
57320 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
57321
57322 2012-03-02 Joseph Myers <joseph@codesourcery.com>
57323
57324 [BZ #3976]
57325 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
57326 (__sin): Save and restore rounding mode and use round-to-nearest
57327 for all computations.
57328 (__cos): Save and restore rounding mode and use round-to-nearest
57329 for all computations.
57330 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
57331 <fenv.h>.
57332 (tan): Save and restore rounding mode and use round-to-nearest for
57333 all computations.
57334 * math/libm-test.inc (cos_test_tonearest): New function.
57335 (cos_test_towardzero): Likewise.
57336 (cos_test_downward): Likewise.
57337 (cos_test_upward): Likewise.
57338 (sin_test_tonearest): Likewise.
57339 (sin_test_towardzero): Likewise.
57340 (sin_test_downward): Likewise.
57341 (sin_test_upward): Likewise.
57342 (tan_test_tonearest): Likewise.
57343 (tan_test_towardzero): Likewise.
57344 (tan_test_downward): Likewise.
57345 (tan_test_upward): Likewise.
57346 (main): Call the new functions.
57347 * sysdeps/i386/fpu/libm-test-ulps: Update.
57348 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57349
57350 [BZ #10135]
57351 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
57352 small n, then large n, before computing and testing k+n.
57353 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
57354 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
57355 Likewise.
57356 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
57357 Likewise.
57358 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
57359 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
57360 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
57361 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
57362 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
57363 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
57364 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
57365 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
57366 * math/libm-test.inc (scalbn_test): Add more tests.
57367 (scalbln_test): Likewise.
57368
57369 * manual/filesys.texi (mode_t): Describe constraints on size and
57370 signedness, not exact equivalence to a particular type.
57371 (ino_t): Likewise.
57372 (ino64_t): Likewise.
57373 (dev_t): Likewise.
57374 (nlink_t): Likewise.
57375 (blkcnt_t): Likewise.
57376 (blkcnt64_t): Likewise.
57377 * manual/llio.texi (off_t): Likewise.
57378
57379 [BZ #3976]
57380 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
57381 (__ieee754_exp): Save and restore rounding mode and use
57382 round-to-nearest for all computations.
57383 * math/libm-test.inc (exp_test_tonearest): New function.
57384 (exp_test_towardzero): Likewise.
57385 (exp_test_downward): Likewise.
57386 (exp_test_upward): Likewise.
57387 (main): Call the new functions.
57388 * sysdeps/i386/fpu/libm-test-ulps: Update.
57389 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57390
57391 2012-03-01 Chris Demetriou <cgd@google.com>
57392
57393 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
57394 have predictable order.
57395
57396 2012-03-01 David S. Miller <davem@davemloft.net>
57397
57398 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
57399
57400 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
57401 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
57402 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
57403 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
57404
57405 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
57406 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
57407 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
57408 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
57409 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
57410 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
57411 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
57412 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
57413 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
57414
57415 * sysdeps/sparc/fpu/libm-test-ulps: Update.
57416
57417 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
57418 * sysdeps/sparc/fpu/libm-test-ulps: to here.
57419 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
57420
57421 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
57422 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
57423 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
57424 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
57425 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
57426 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
57427 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
57428 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
57429 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
57430 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
57431 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
57432 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
57433 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
57434 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
57435 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
57436 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
57437 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
57438 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
57439 * sysdeps/sparc/elf/configure: Regenerated.
57440
57441 2012-03-01 Joseph Myers <joseph@codesourcery.com>
57442
57443 * configure.in (AS, LD): Require binutils 2.20 or later.
57444 * configure: Regenerated.
57445 * manual/install.texi (Tools for Compilation): Give binutils 2.20
57446 as required minimum version.
57447 * INSTALL: Regenerated.
57448
57449 [BZ #2541]
57450 [BZ #4108]
57451 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
57452 before squaring exponent.
57453 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
57454 bottom long double and 27 bits of top long double before squaring
57455 exponent.
57456 * math/libm-test.inc (erfc_test): Add more tests.
57457 * sysdeps/i386/fpu/libm-test-ulps: Update.
57458 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
57459 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57460
57461 2012-03-01 Kai Tietz <ktietz@redhat.com>
57462
57463 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
57464 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
57465 containing bit-fields.
57466 * soft-fp/extended.h (_FP_UNION_E): Likewise.
57467 * soft-fp/single.h (_FP_UNION_S): Likewise.
57468 * soft-fp/double.h (_FP_UNION_D): Likewise.
57469
57470 2012-02-29 Joseph Myers <joseph@codesourcery.com>
57471
57472 [BZ #13786]
57473 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
57474 not include ../strcmp.S.
57475 [USE_AS_STRNCASECMP_L]: Likewise.
57476 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
57477 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
57478 * sysdeps/i386/i686/multiarch/strncase_l-c.c
57479 (__strncasecmp_l_ia32): Define as alias to
57480 __strncasecmp_l_nonascii.
57481
57482 [BZ #5794]
57483 * math/libm-test.inc (expm1_test): Add test for bug 5794.
57484 * sysdeps/i386/fpu/libm-test-ulps: Update.
57485 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57486
57487 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
57488 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57489
57490 2012-02-29 Jeff Law <law@redhat.com>
57491
57492 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
57493 out of bounds read.
57494
57495 2012-02-29 Marek Polacek <polacek@redhat.com>
57496
57497 [BZ #13706]
57498 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
57499 * elf/Makefile: Add rules to run tst-unused-dep.out.
57500
57501 2012-02-28 David S. Miller <davem@davemloft.net>
57502
57503 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
57504 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
57505 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
57506 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
57507 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
57508 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
57509
57510 2012-02-29 Joseph Myers <joseph@codesourcery.com>
57511
57512 * math/libm-test.inc (llround_test): Move one test from
57513 lround_test. Use TEST_f_L in moved test.
57514 (lround_test): Move misplaced test to llround_test. Add testcase
57515 from bug 2561.
57516
57517 2012-02-28 Ulrich Drepper <drepper@gmail.com>
57518
57519 * sysdeps/x86_64/fpu/e_expf.S: New file.
57520 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
57521
57522 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
57523
57524 [BZ #13637]
57525 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
57526 of remain_len that may cause incomplete multi-byte character and
57527 false match.
57528 * posix/bug-regex33.c: New file.
57529 * posix/Makefile (tests): Add bug-regex33.
57530
57531 2012-02-28 Joseph Myers <joseph@codesourcery.com>
57532
57533 * manual/macros.texi: New file.
57534 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
57535 * manual/libc.texinfo: Include macros.texi.
57536 * manual/creatute.texi: Likewise.
57537 * manual/install.texi: Likewise.
57538 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
57539 @glibcadj{} in references to the GNU C Library.
57540 * manual/charset.texi: Likewise.
57541 * manual/conf.texi: Likewise.
57542 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
57543 when not using those macros.
57544 * manual/creature.texi: Likewise.
57545 * manual/crypt.texi: Likewise.
57546 * manual/errno.texi: Likewise.
57547 * manual/filesys.texi: Likewise.
57548 * manual/header.texi: Likewise.
57549 * manual/install.texi: Likewise.
57550 * manual/intro.texi: Likewise.
57551 * manual/io.texi: Likewise.
57552 * manual/job.texi: Likewise.
57553 * manual/lang.texi: Likewise.
57554 * manual/libc.texiinfo: Likewise.
57555 * manual/llio.texi: Likewise.
57556 * manual/locale.texi: Likewise.
57557 * manual/maint.texi: Likewise.
57558 * manual/math.texi: Likewise.
57559 * manual/memory.texi: Likewise.
57560 * manual/message.texi: Likewise.
57561 * manual/nss.texi: Likewise.
57562 * manual/pattern.texi: Likewise.
57563 * manual/process.texi: Likewise.
57564 * manual/resource.texi: Likewise.
57565 * manual/search.texi: Likewise.
57566 * manual/setjmp.texi: Likewise.
57567 * manual/signal.texi: Likewise.
57568 * manual/socket.texi: Likewise.
57569 * manual/startup.texi: Likewise.
57570 * manual/stdio.texi: Likewise.
57571 * manual/string.texi: Likewise.
57572 * manual/sysinfo.texi: Likewise.
57573 * manual/syslog.texi: Likewise.
57574 * manual/terminal.texi: Likewise.
57575 * manual/time.texi: Likewise.
57576 * manual/users.texi: Likewise.
57577 * INSTALL: Regenerated.
57578 * NOTES: Regenerated.
57579 * sysdeps/gnu/errlist.c: Regenerated.
57580
57581 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
57582
57583 * include/dirent.h: Include <dirstream.h> before
57584 <dirent/dirent.h>.
57585
57586 2012-02-28 David S. Miller <davem@davemloft.net>
57587
57588 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
57589 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
57590 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
57591 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
57592
57593 2012-02-27 David S. Miller <davem@davemloft.net>
57594
57595 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
57596 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
57597 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
57598 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
57599
57600 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
57601 frame pointer instead of stack pointer relative arg slot.
57602 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
57603 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
57604 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
57605
57606 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
57607
57608 [BZ #3992]
57609 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
57610
57611 2012-02-27 David S. Miller <davem@davemloft.net>
57612
57613 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
57614 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
57615 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
57616 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
57617 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
57618 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
57619 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
57620 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
57621
57622 2012-02-27 Joseph Myers <joseph@codesourcery.com>
57623
57624 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
57625 later. Allow versions 5-9.
57626 * configure: Regenerated.
57627 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
57628 required minimum version and 4.6 as recommended version. Do not
57629 mention bugs in GCC 2.7 and 2.8.
57630 * INSTALL: Regenerated.
57631
57632 2012-02-27 David S. Miller <davem@davemloft.net>
57633
57634 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
57635 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
57636 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
57637 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
57638 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
57639 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
57640 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
57641 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
57642
57643 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
57644 manipulate bits before adding and subtracting TWO112[sx].
57645 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
57646
57647 2012-02-27 Roland McGrath <roland@hack.frob.com>
57648
57649 [BZ #13775]
57650 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
57651 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
57652 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
57653 being in POSIX, because they are in 1003.1-2008.
57654
57655 * rt/tst-aio.c: Include <fcntl.h>.
57656 * rt/tst-aio7.c: Likewise.
57657 * rt/tst-aio64.c: Likewise.
57658
57659 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
57660
57661 2012-02-27 Joseph Myers <joseph@codesourcery.com>
57662
57663 * manual/install.texi (--with-headers): Describe headers as
57664 interface headers, not private headers.
57665 (Specific advice for GNU/Linux systems): Describe use of headers
57666 from "make headers_install", not private headers from older
57667 kernels.
57668 * INSTALL: Regenerated.
57669 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
57670 Change to 2.6.19.
57671 * sysdeps/unix/sysv/linux/configure: Regenerated.
57672
57673 * manual/llio.texi (fclean): Remove documentation.
57674
57675 * manual/Makefile (libc-texi-generated): New variable. Include
57676 version.texi.
57677 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
57678 $(libc-texi-generated), not duplicated list of files.
57679 (version.texi, stamp-version): New rules.
57680 (realclean): Remove $(libc-texi-generated), not individual files
57681 from that list. Do not remove dir-add.texinfo.
57682 * manual/libc.texinfo: Comment out uses of edition numbers and
57683 references to printed manual. Remove last-updated dates.
57684 (EDITION): Comment out.
57685 (ISBN): Likewise.
57686 (VERSION, UPDATED): Remove.
57687 (version.texi): Include.
57688
57689 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
57690
57691 * sysdeps/posix/spawni.c: Include <signal.h>.
57692 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
57693 * sysdeps/pthread/aio_fsync.c: Likewise.
57694
57695 2012-02-26 Ulrich Drepper <drepper@gmail.com>
57696
57697 * conform/Makefile (tests): Run only when not cross-compiling and
57698 when fast-check is not defined.
57699
57700 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
57701 * conform/data/limits.h-data: Fixes for POSIX2008.
57702 * conform/run-conformtest.sh: Run all tests.
57703 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
57704 headers.
57705 * include/bits/dlfcn.h: Likewise.
57706 * include/langinfo.h: Likewise.
57707 * include/monetary.h: Likewise.
57708 * include/sys/poll.h: Likewise.
57709
57710 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
57711 for __USE_GNU.
57712 * posix/spawn.h: Define __need_sigset_t.
57713 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
57714 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
57715 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
57716 to get sigevent_t only.
57717 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
57718 only for __USE_GNU.
57719 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
57720 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
57721 process_vm_writev only for __USE_GNU.
57722 * termios/termios.h: Declare tcgetsid also for POSIX2008.
57723
57724 * conform/Makefile: For now ignore errors from run-conformtest.
57725 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
57726 POSIX to avoid namespace pollution. Don't prepend headers.
57727 * conform/data/aio.h-data: Fixes for POSIX testing.
57728 * conform/data/fcntl.h-data: Likewise.
57729 * conform/data/glob.h-data: Likewise.
57730 * conform/data/grp.h-data: Likewise.
57731 * conform/data/pthread.h-data: Likewise.
57732 * conform/data/pwd.h-data: Likewise.
57733 * conform/data/signal.h-data: Likewise.
57734 * conform/data/spawn.h-data: Likewise.
57735 * conform/data/stdio.h-data: Likewise.
57736 * conform/data/stdlib.h-data: Likewise.
57737 * conform/data/stropts.h-data: Likewise.
57738 * conform/data/sys/mman.h-data: Likewise.
57739 * conform/data/sys/stat.h-data: Likewise.
57740 * conform/data/sys/types.h-data: Likewise.
57741 * conform/data/sys/wait.h-data: Likewise.
57742 * conform/data/time.h-data: Likewise.
57743 * conform/data/unistd.h-data: Likewise.
57744 * conform/data/utime.h-data: Likewise.
57745
57746 * io/sys/stat.h: fchmod was always in POSIX.
57747 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
57748 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
57749 * rt/aio.h: Define __need_timespec before including <time.h>.
57750 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
57751 struct. Add forward declaration of pthread_attr_t and use it in
57752 sigevent.
57753 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
57754 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
57755 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
57756 always remove CLK_TCK definition.
57757
57758 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
57759
57760 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
57761
57762 2012-02-25 Ulrich Drepper <drepper@gmail.com>
57763
57764 * conform/run-conformtest.sh: New file.
57765 * conform/Makefile: Run run-conformtest for tests.
57766 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
57767 support.
57768
57769 * conform/data/uchar.h-data: New file.
57770 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
57771 * conform/data/arpa/inet.h-data: Likewise.
57772 * conform/data/assert.h-data: Likewise.
57773 * conform/data/complex.h-data: Likewise.
57774 * conform/data/cpio.h-data: Likewise.
57775 * conform/data/ctype.h-data: Likewise.
57776 * conform/data/dirent.h-data: Likewise.
57777 * conform/data/dlfcn.h-data: Likewise.
57778 * conform/data/errno.h-data: Likewise.
57779 * conform/data/fcntl.h-data: Likewise.
57780 * conform/data/float.h-data: Likewise.
57781 * conform/data/fmtmsg.h-data: Likewise.
57782 * conform/data/fnmatch.h-data: Likewise.
57783 * conform/data/ftw.h-data: Likewise.
57784 * conform/data/glob.h-data: Likewise.
57785 * conform/data/grp.h-data: Likewise.
57786 * conform/data/iconv.h-data: Likewise.
57787 * conform/data/inttypes.h-data: Likewise.
57788 * conform/data/langinfo.h-data: Likewise.
57789 * conform/data/libgen.h-data: Likewise.
57790 * conform/data/limits.h-data: Likewise.
57791 * conform/data/locale.h-data: Likewise.
57792 * conform/data/math.h-data: Likewise.
57793 * conform/data/monetary.h-data: Likewise.
57794 * conform/data/mqueue.h-data: Likewise.
57795 * conform/data/ndbm.h-data: Likewise.
57796 * conform/data/net/if.h-data: Likewise.
57797 * conform/data/netdb.h-data: Likewise.
57798 * conform/data/netinet/in.h-data: Likewise.
57799 * conform/data/nl_types.h-data: Likewise.
57800 * conform/data/poll.h-data: Likewise.
57801 * conform/data/pthread.h-data: Likewise.
57802 * conform/data/pwd.h-data: Likewise.
57803 * conform/data/regex.h-data: Likewise.
57804 * conform/data/sched.h-data: Likewise.
57805 * conform/data/search.h-data: Likewise.
57806 * conform/data/semaphore.h-data: Likewise.
57807 * conform/data/setjmp.h-data: Likewise.
57808 * conform/data/signal.h-data: Likewise.
57809 * conform/data/spawn.h-data: Likewise.
57810 * conform/data/stdarg.h-data: Likewise.
57811 * conform/data/stdio.h-data: Likewise.
57812 * conform/data/stdlib.h-data: Likewise.
57813 * conform/data/string.h-data: Likewise.
57814 * conform/data/strings.h-data: Likewise.
57815 * conform/data/stropts.h-data: Likewise.
57816 * conform/data/sys/ipc.h-data: Likewise.
57817 * conform/data/sys/mman.h-data: Likewise.
57818 * conform/data/sys/msg.h-data: Likewise.
57819 * conform/data/sys/resource.h-data: Likewise.
57820 * conform/data/sys/select.h-data: Likewise.
57821 * conform/data/sys/sem.h-data: Likewise.
57822 * conform/data/sys/shm.h-data: Likewise.
57823 * conform/data/sys/socket.h-data: Likewise.
57824 * conform/data/sys/stat.h-data: Likewise.
57825 * conform/data/sys/statvfs.h-data: Likewise.
57826 * conform/data/sys/time.h-data: Likewise.
57827 * conform/data/sys/timeb.h-data: Likewise.
57828 * conform/data/sys/times.h-data: Likewise.
57829 * conform/data/sys/types.h-data: Likewise.
57830 * conform/data/sys/uio.h-data: Likewise.
57831 * conform/data/sys/un.h-data: Likewise.
57832 * conform/data/sys/utsname.h-data: Likewise.
57833 * conform/data/sys/wait.h-data: Likewise.
57834 * conform/data/syslog.h-data: Likewise.
57835 * conform/data/tar.h-data: Likewise.
57836 * conform/data/termios.h-data: Likewise.
57837 * conform/data/utime.h-data: Likewise.
57838 * conform/data/utmpx.h-data: Likewise.
57839 * conform/data/varargs.h-data: Likewise.
57840 * conform/data/wchar.h-data: Likewise.
57841 * conform/data/wctype.h-data: Likewise.
57842 * conform/data/wordexp.h-data: Likewise.
57843
57844 * include/stropts.h: New file.
57845 * include/uchar.h: New file.
57846 * include/aio.h: Changes to allow conformtest.pl to use the headers.
57847 * include/assert.h: Likewise.
57848 * include/ctype.h: Likewise.
57849 * include/dirent.h: Likewise.
57850 * include/dlfcn.h: Likewise.
57851 * include/fcntl.h: Likewise.
57852 * include/fnmatch.h: Likewise.
57853 * include/glob.h: Likewise.
57854 * include/grp.h: Likewise.
57855 * include/libio.h: Likewise.
57856 * include/locale.h: Likewise.
57857 * include/math.h: Likewise.
57858 * include/net/if.h: Likewise.
57859 * include/netdb.h: Likewise.
57860 * include/netinet/in.h: Likewise.
57861 * include/pthread.h: Likewise.
57862 * include/pwd.h: Likewise.
57863 * include/regex.h: Likewise.
57864 * include/sched.h: Likewise.
57865 * include/search.h: Likewise.
57866 * include/setjmp.h: Likewise.
57867 * include/signal.h: Likewise.
57868 * include/stdio.h: Likewise.
57869 * include/stdlib.h: Likewise.
57870 * include/string.h: Likewise.
57871 * include/sys/cdefs.h: Likewise.
57872 * include/sys/mman.h: Likewise.
57873 * include/sys/msg.h: Likewise.
57874 * include/sys/resource.h: Likewise.
57875 * include/sys/select.h: Likewise.
57876 * include/sys/socket.h: Likewise.
57877 * include/sys/stat.h: Likewise.
57878 * include/sys/statvfs.h: Likewise.
57879 * include/sys/time.h: Likewise.
57880 * include/sys/times.h: Likewise.
57881 * include/sys/uio.h: Likewise.
57882 * include/sys/utsname.h: Likewise.
57883 * include/sys/wait.h: Likewise.
57884 * include/termios.h: Likewise.
57885 * include/time.h: Likewise.
57886 * include/ulimit.h: Likewise.
57887 * include/unistd.h: Likewise.
57888 * include/utime.h: Likewise.
57889 * include/wchar.h: Likewise.
57890 * include/wctype.h: Likewise.
57891 * include/wordexp.h: Likewise.
57892
57893 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
57894
57895 * time/time.h: TIME_UTC must be a macro.
57896 Make timespec_get available for ISO C11 only as well.
57897
57898 2012-02-24 Ulrich Drepper <drepper@gmail.com>
57899
57900 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
57901 Reported by Peng Haitao <penght@cn.fujitsu.com>.
57902
57903 2012-02-24 Joseph Myers <joseph@codesourcery.com>
57904
57905 * configure.in: Use -o not -a in test for unsupported multi-arch.
57906
57907 2012-02-24 Joseph Myers <joseph@codesourcery.com>
57908
57909 * manual/texinfo.tex: Update to version 2012-01-19.16.
57910
57911 2012-02-24 Joseph Myers <joseph@codesourcery.com>
57912
57913 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
57914
57915 2012-02-24 Roland McGrath <roland@hack.frob.com>
57916
57917 [BZ #13738]
57918 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
57919 * manual/fdl-1.3.texi: New file.
57920 * manual/fdl-1.1.texi: File removed.
57921
57922 [BZ #13738]
57923 * manual/libc.texinfo (FDL_VERSION): New @set.
57924 Use it for mention of FDL in cover text.
57925 (Documentation License): Use it in @include file name.
57926
57927 2012-02-22 Joseph Myers <joseph@codesourcery.com>
57928 Roland McGrath <roland@hack.frob.com>
57929
57930 [BZ #5461]
57931 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
57932 (not LONG_LONG_MAX and LONG_LONG_MIN.
57933 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
57934 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
57935 name.
57936 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
57937
57938 2012-02-22 Joseph Myers <joseph@codesourcery.com>
57939
57940 [BZ #2547]
57941 [BZ #11365]
57942 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
57943 manipulate bits before adding and subtracting TWO23[sx].
57944 * math/libm-test.inc (nearbyint_test): Add more tests.
57945
57946 2012-02-22 Joseph Myers <joseph@codesourcery.com>
57947
57948 [BZ #2548]
57949 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
57950 bits before adding and subtracting TWO23[sx].
57951 * math/libm-test.inc (rint_test): Add more tests.
57952 (rint_test_tonearest): Likewise.
57953 (rint_test_towardzero): Likewise.
57954 (rint_test_downward): Likewise.
57955 (rint_test_upward: Likewise.
57956
57957 2012-02-22 Joseph Myers <joseph@codesourcery.com>
57958
57959 [BZ #10110]
57960 * include/stdc-predef.h: New file. Extracted from features.h.
57961 * include/features.h: Include stdc-predef.h.
57962 * Makefile (headers): Add stdc-predef.h.
57963 * CONFORMANCE (Compiler limitations): Update.
57964
57965 2012-02-22 Joseph Myers <joseph@codesourcery.com>
57966
57967 * manual/libc.texinfo (VERSION, UPDATED): Revert.
57968
57969 2012-02-21 David S. Miller <davem@davemloft.net>
57970
57971 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
57972 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
57973
57974 2012-02-20 David S. Miller <davem@davemloft.net>
57975
57976 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
57977 using a normal save/restore sequence, rather than allocating a
57978 dummy stack frame just to store a frame pointer and restore.
57979 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
57980
57981 2012-02-21 Joseph Myers <joseph@codesourcery.com>
57982
57983 * manual/install.texi: Fix stray word in line-wrapped comment.
57984
57985 2012-02-20 David S. Miller <davem@davemloft.net>
57986
57987 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
57988 both binutils and gcc support GOTDATA.
57989
57990 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
57991 "rd %pc" in the PIC register setup sequences.
57992
57993 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
57994 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
57995 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
57996 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
57997 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
57998 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
57999 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
58000 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
58001 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
58002 (SYSCALL_ERROR_HANDLER): Likewise.
58003 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
58004 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
58005 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
58006 (SYSCALL_ERROR_HANDLER): Likewise.
58007
58008 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
58009 (HAVE_GCC_GOTDATA): New.
58010 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
58011 relocation support in both binutils and gcc.
58012 * sysdeps/sparc/elf/configure: Regenerate.
58013
58014 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
58015 * sysdeps/sparc/sparc32/elf/configure: Delete.
58016 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
58017 * sysdeps/sparc/sparc64/elf/configure: Delete.
58018 * sysdeps/sparc/elf/configure.in: New file.
58019 * sysdeps/sparc/elf/configure: Generate.
58020
58021 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
58022 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
58023 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
58024 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
58025 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
58026
58027 2012-02-21 Joseph Myers <joseph@codesourcery.com>
58028
58029 * manual/install.texi: Do not mention specific glibc version
58030 numbers.
58031 * manual/libc.texinfo (VERSION, UPDATED): Update.
58032 (@copying): Use @copyright{} and range of years.
58033
58034 2012-02-21 Joseph Myers <joseph@codesourcery.com>
58035
58036 [BZ #13695]
58037 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
58038 [crti.S not in sysdirs] (generated): Do not append.
58039 [crti.S not in sysdirs] (omit-deps): Likewise.
58040 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
58041 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
58042 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
58043 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
58044 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
58045 Likewise.
58046 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
58047 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
58048 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
58049 * csu/defs.awk: Remove file.
58050 * sysdeps/generic/initfini.c: Likewise.
58051 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
58052 variable.
58053 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
58054 Likewise.
58055
58056 2012-02-20 Joseph Myers <joseph@codesourcery.com>
58057
58058 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
58059 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
58060 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
58061 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
58062 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
58063 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
58064 <bits/epoll.h>.
58065 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
58066 (__EPOLL_PACKED): Define to empty if not defined by
58067 <bits/epoll.h>.
58068 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
58069 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58070 bits/epoll.h.
58071
58072 2012-02-20 Joseph Myers <joseph@codesourcery.com>
58073
58074 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
58075 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
58076 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
58077 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
58078 <bits/timerfd.h>.
58079 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
58080 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58081 bits/timerfd.h.
58082
58083 2012-02-20 Joseph Myers <joseph@codesourcery.com>
58084
58085 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
58086 in C locale.
58087 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
58088 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
58089 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
58090 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58091
58092 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
58093
58094 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
58095 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
58096
58097 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
58098
58099 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
58100 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
58101 defined.
58102 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
58103 Likewise.
58104 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
58105 entry for 2.16.
58106
58107 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
58108
58109 * math/w_acos.c: Use non-signaling floating-point comparisons.
58110 * math/w_acosf.c: Likewise.
58111 * math/w_acosh.c: Likewise.
58112 * math/w_acoshf.c: Likewise.
58113 * math/w_acoshl.c: Likewise.
58114 * math/w_acosl.c: Likewise.
58115 * math/w_asin.c: Likewise.
58116 * math/w_asinf.c: Likewise.
58117 * math/w_asinl.c: Likewise.
58118 * math/w_atanh.c: Likewise.
58119 * math/w_atanhf.c: Likewise.
58120 * math/w_atanhl.c: Likewise.
58121 * math/w_exp2.c: Likewise.
58122 * math/w_exp2f.c: Likewise.
58123 * math/w_exp2l.c: Likewise.
58124 * math/w_j0.c: Likewise.
58125 * math/w_j0f.c: Likewise.
58126 * math/w_j0l.c: Likewise.
58127 * math/w_j1.c: Likewise.
58128 * math/w_j1f.c: Likewise.
58129 * math/w_j1l.c: Likewise.
58130 * math/w_jn.c: Likewise.
58131 * math/w_jnf.c: Likewise.
58132 * math/w_log.c: Likewise.
58133 * math/w_log10.c: Likewise.
58134 * math/w_log10f.c: Likewise.
58135 * math/w_log10l.c: Likewise.
58136 * math/w_log2.c: Likewise.
58137 * math/w_log2f.c: Likewise.
58138 * math/w_log2l.c: Likewise.
58139 * math/w_logf.c: Likewise.
58140 * math/w_logl.c: Likewise.
58141 * math/w_sqrt.c: Likewise.
58142 * math/w_sqrtf.c: Likewise.
58143 * math/w_sqrtl.c: Likewise.
58144 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
58145 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
58146 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
58147 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
58148 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
58149
58150 2012-02-19 Joseph Myers <joseph@codesourcery.com>
58151
58152 [BZ #9739]
58153 * manual/string.texi (strnlen): Use correct parameter name in
58154 equivalent expression.
58155
58156 2012-02-19 Joseph Myers <joseph@codesourcery.com>
58157
58158 [BZ #11174]
58159 * manual/users.texi (seteuid): Consistently use neweuid for
58160 argument name.
58161
58162 2012-02-19 Joseph Myers <joseph@codesourcery.com>
58163
58164 [BZ #13704]
58165 * manual/nss.texi (Services in the NSS configuration): Correct
58166 list of services in example configuration file.
58167
58168 2012-02-19 Nick Bowler <nbowler@draconx.ca>
58169
58170 [BZ #11322]
58171 * manual/arith.texi: Remove statements about negative zero
58172 behaving identically to zero.
58173
58174 2012-02-18 Joseph Myers <joseph@codesourcery.com>
58175
58176 [BZ #5993]
58177 * manual/install.texi: Do not document upgrading from libc5.
58178
58179 2012-02-18 Joseph Myers <joseph@codesourcery.com>
58180
58181 [BZ #4596]
58182 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
58183
58184 2012-02-18 David S. Miller <davem@davemloft.net>
58185
58186 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
58187 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
58188 %o7 across the call.
58189 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
58190 instead.
58191 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
58192 SETUP_PIC_REG_LEAF.
58193 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
58194 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
58195 * sysdeps/sparc/crtn.S: Likewise.
58196
58197 2012-02-17 Ulrich Drepper <drepper@gmail.com>
58198
58199 * aout/Makefile: Remove.
58200
58201 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
58202
58203 [BZ #13058]
58204 * manual/examples/argp-ex1.c (main): Format definition in GNU
58205 style.
58206 * manual/examples/argp-ex2.c (main): Likewise.
58207 * manual/examples/argp-ex3.c (main): Likewise.
58208 * manual/examples/argp-ex4.c (main): Likewise.
58209 * manual/examples/longopt.c (main): Use new-style prototype
58210 definition.
58211 * manual/examples/strncat.c (main): Specify return type and use
58212 (void) for arguments.
58213 * manual/examples/subopt.c (main): Use char **argv argument.
58214
58215 2012-02-17 Joseph Myers <joseph@codesourcery.com>
58216
58217 [BZ #5077]
58218 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
58219 rounding modes.
58220
58221 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
58222
58223 [BZ #6907]
58224 * manual/string.texi (strchr): Change when strchrnul is
58225 recommended.
58226
58227 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
58228
58229 [BZ #174]
58230 * manual/locale.texi (setlocale): Document LOCPATH.
58231
58232 2012-02-17 Joseph Myers <joseph@codesourcery.com>
58233
58234 [BZ #10210]
58235 * manual/process.texi (execle): Move @dots{} before last argument.
58236
58237 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
58238
58239 [BZ #12047]
58240 * manual/charset.texi (Generic Charset Conversion): Fix typo
58241 (LC_TYPE -> LC_CTYPE).
58242
58243 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
58244
58245 [BZ #5805]
58246 * manual/arith.texi (scalbn): Use @var{} on parameter names.
58247 (scalbnf): Likewise.
58248 (scalbnl): Likewise.
58249 (scalbln): Likewise.
58250 (scalblnf): Likewise.
58251 (scalblnl): Likewise.
58252 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
58253 (vwarnx): Likewise.
58254 (verr): Likewise.
58255 (verrx): Likewise.
58256 * manual/filesys.texi (telldir): Use braces around return type.
58257 * manual/llio.texi (mmap): Add space after comma.
58258 (mmap64): Likewise.
58259 * manual/math.texi (jn): Use @var{} on parameter names.
58260 (jnf): Likewise.
58261 (jnl): Likewise.
58262 (yn): Likewise.
58263 (ynf): Likewise.
58264 (ynl): Likewise.
58265 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
58266 line.
58267 * manual/resource.texi (ulimit): Use @dots{} instead of literal
58268 "...".
58269 (sched_get_priority_min): Remove semicolon on @deftypefun line.
58270 (sched_get_priority_max): Likewise.
58271 * manual/signal.texi (sigvec): Add space after comma.
58272 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
58273 names.
58274 (if_indextoname): Likewise.
58275 (if_freenameindex): Likewise.
58276 (sendto): Use ',' instead of '.' in prototype.
58277 * manual/startup.texi (syscall): Use @dots{} instead of literal
58278 "...".
58279 * manual/stdio.texi (__fpending): Separate initial words of
58280 paragraph from @deftypefun line.
58281 * manual/syslog.texi (syslog): Use @dots{} instead of literal
58282 "...".
58283 (vsyslog): Use @var{} on parameter names.
58284 * manual/terminal.texi (stty): Use @var{} on parameter names.
58285 * manual/users.texi (getutmp): Use @var{} on parameter names.
58286 (getutmpx): Likewise.
58287
58288 2012-02-17 Joseph Myers <joseph@codesourcery.com>
58289
58290 [BZ #6884]
58291 * manual/stdio.texi (fopen): Fix typos in description of
58292 ",ccs=STRING".
58293
58294 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
58295
58296 [BZ #4026]
58297 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
58298 get clock_id definition.
58299
58300 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
58301
58302 [BZ #4822]
58303 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
58304 (madvise): Cast every argument to void on its own.
58305
58306 2012-02-17 Joseph Myers <joseph@codesourcery.com>
58307
58308 [BZ #9902]
58309 * manual/startup.texi (Exit Status): Fix typo.
58310
58311 2012-02-17 Joseph Myers <joseph@codesourcery.com>
58312
58313 [BZ #10140]
58314 * manual/examples/argp-ex1.c: Include <stdlib.h>.
58315 * manual/examples/argp-ex2.c: Likewise.
58316 * manual/examples/argp-ex3.c: Likewise.
58317
58318 2012-02-16 Richard Henderson <rth@redhat.com>
58319
58320 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
58321 * sysdeps/s390/s390-32/initfini.c: Remove.
58322 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
58323 * sysdeps/s390/s390-64/initfini.c: Remove.
58324
58325 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
58326
58327 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
58328 compiler output for sysdeps/generic/initfini.c.
58329 * sysdeps/sh/elf/initfini.c: Remove file.
58330
58331 2012-02-16 David S. Miller <davem@davemloft.net>
58332
58333 [BZ #11494]
58334 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
58335
58336 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
58337 * sysdeps/sparc/crti.S: New file.
58338 * sysdeps/sparc/crtn.S: New file.
58339 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
58340 * sysdeps/sparc/sparc64/Makefile: Likewise.
58341
58342 2012-02-15 Mike Frysinger <vapier@gentoo.org>
58343
58344 [BZ #3335]
58345 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
58346
58347 2012-02-15 Roland McGrath <roland@hack.frob.com>
58348
58349 [BZ #4822]
58350 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
58351
58352 * mach/devstream.c (cookie_io_functions_t): Macro removed.
58353 (write, read, close): Likewise.
58354 Patch by Aurelien Jarno <aurelien@aurel32.net>.
58355
58356 2012-02-15 Joseph Myers <joseph@codesourcery.com>
58357
58358 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
58359 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
58360 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
58361 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
58362 <bits/signalfd.h>.
58363 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
58364 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58365 bits/signalfd.h.
58366
58367 2012-02-14 Marek Polacek <polacek@redhat.com>
58368
58369 * sysdeps/x86_64/crti.S: New file.
58370 * sysdeps/x86_64/crtn.S: New file.
58371 * sysdeps/x86_64/elf/initfini.c: Remove file.
58372
58373 2012-02-13 Joseph Myers <joseph@codesourcery.com>
58374
58375 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
58376 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
58377 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
58378 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
58379 <bits/inotify.h>.
58380 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
58381 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58382 bits/inotify.h.
58383
58384 2012-02-13 Joseph Myers <joseph@codesourcery.com>
58385
58386 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
58387 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
58388 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
58389 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
58390 <bits/eventfd.h>.
58391 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
58392 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58393 bits/eventfd.h.
58394
58395 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
58396
58397 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
58398 __feraiseexcept instead of feraiseexcept.
58399
58400 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
58401 nanosleep invocations.
58402 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
58403 strings, and add error checking for a nanosleep invocations.
58404
58405 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
58406
58407 Replace FSF snail mail address with URLs, as per GNU coding standards.
58408 Most of the snail mail addresses were wrong anyway, and omitting
58409 them makes the source code easier to maintain. Almost all of the
58410 changes are to license notices and to locale LC_IDENTIFICATION
58411 addresses, except for this one:
58412 * manual/libc.texinfo: In "Published by", give the FSF's URL,
58413 not its snail mail address.
58414
58415 2012-02-09 Richard Henderson <rth@twiddle.net>
58416
58417 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
58418 of kernel-features.h.
58419
58420 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
58421
58422 2012-02-08 Marek Polacek <polacek@redhat.com>
58423
58424 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
58425 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
58426 * sysdeps/gnu/_G_config.h: Likewise.
58427 * sysdeps/generic/_G_config.h: Likewise.
58428
58429 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
58430
58431 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
58432 tests.
58433 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58434
58435 * sysdeps/powerpc/powerpc32/crti.S: New file.
58436 * sysdeps/powerpc/powerpc32/crtn.S: New file.
58437 * sysdeps/powerpc/powerpc64/crti.S: New file.
58438 * sysdeps/powerpc/powerpc64/crtn.S: New file.
58439
58440 * Makeconfig (have-initfini): Don't set.
58441 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
58442 * configure.in (nopic_initfini): Don't substitute.
58443 * config.h.in (HAVE_INITFINI): Don't #undef.
58444 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
58445 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
58446
58447 2012-02-08 Joseph Myers <joseph@codesourcery.com>
58448
58449 Support crti.S and crtn.S provided directly by architectures.
58450 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
58451 [crti.S in sysdirs] (omit-deps): Likewise.
58452 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
58453 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
58454 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
58455 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
58456 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
58457 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
58458 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
58459 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
58460 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
58461 compiler output for sysdeps/generic/initfini.c.
58462 * sysdeps/i386/elf/Makefile: Remove file.
58463 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
58464
58465 2012-02-07 Marek Polacek <polacek@redhat.com>
58466
58467 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
58468 * sysdeps/gnu/_G_config.h: Likewise.
58469 * sysdeps/mach/hurd/_G_config.h: Likewise.
58470
58471 2012-02-07 Marek Polacek <polacek@redhat.com>
58472
58473 * math/Makefile (tests): Add tst-CMPLX2.
58474 * math/tst-CMPLX2.c: New file.
58475
58476 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
58477
58478 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
58479
58480 * math/libm-test.inc (jn_test): Add missing L suffix.
58481
58482 2012-02-06 Marek Polacek <polacek@redhat.com>
58483
58484 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
58485 * sysdeps/i386/fpu/e_powf.S: Likewise.
58486 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
58487 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
58488 * sysdeps/i386/fpu/e_acosh.S: Likewise.
58489 * sysdeps/i386/fpu/e_pow.S: Likewise.
58490 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
58491 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
58492 * sysdeps/i386/fpu/s_expm1.S: Likewise.
58493 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
58494 * sysdeps/i386/fpu/e_log2.S: Likewise.
58495 * sysdeps/i386/fpu/e_log2l.S: Likewise.
58496 * sysdeps/i386/fpu/e_scalb.S: Likewise.
58497 * sysdeps/i386/fpu/e_powl.S: Likewise.
58498 * sysdeps/i386/fpu/s_log1p.S: Likewise.
58499 * sysdeps/i386/fpu/e_log10f.S: Likewise.
58500 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
58501 * sysdeps/i386/fpu/e_logl.S: Likewise.
58502 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
58503 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
58504 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
58505 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
58506 * sysdeps/i386/fpu/e_log2f.S: Likewise.
58507 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
58508 * sysdeps/i386/fpu/e_log.S: Likewise.
58509 * sysdeps/i386/fpu/s_cexp.S: Likewise.
58510 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
58511 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
58512 * sysdeps/i386/fpu/e_logf.S: Likewise.
58513 * sysdeps/i386/fpu/e_log10l.S: Likewise.
58514 * sysdeps/i386/fpu/e_atanh.S: Likewise.
58515 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
58516 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
58517 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
58518 * sysdeps/i386/fpu/e_log10.S: Likewise.
58519 * sysdeps/i386/fpu/s_frexp.S: Likewise.
58520 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
58521 * sysdeps/i386/fpu/s_asinh.S: Likewise.
58522 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
58523 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
58524 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
58525 * sysdeps/i386/asm-syntax.h: Likewise.
58526 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
58527 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
58528 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
58529 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
58530 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
58531 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
58532 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
58533 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
58534 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
58535 * sysdeps/powerpc/sysdep.h: Likewise.
58536 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
58537 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
58538
58539 2012-02-06 Joseph Myers <joseph@codesourcery.com>
58540
58541 [BZ #411]
58542 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
58543
58544 2012-02-06 Joseph Myers <joseph@codesourcery.com>
58545
58546 * sysdeps/i386/sysdep.h: Include <features.h>.
58547 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
58548 version.
58549
58550 2012-02-05 Joseph Myers <joseph@codesourcery.com>
58551
58552 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
58553 Define.
58554 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
58555 LOAD_PIC_REG_STR.
58556
58557 2012-02-03 Joseph Myers <joseph@codesourcery.com>
58558
58559 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
58560 (SETUP_PIC_REG): Use GET_PC_THUNK.
58561 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
58562 macro.
58563
58564 2012-02-03 Joseph Myers <joseph@codesourcery.com>
58565
58566 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
58567 for non-PIC compilation.
58568 (SETUP_PIC_REG): Add .p2align directive.
58569 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
58570 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
58571 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
58572 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
58573 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
58574 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
58575 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
58576 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
58577 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
58578 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
58579 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
58580 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
58581 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
58582 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
58583 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
58584 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
58585 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
58586 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
58587 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
58588 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
58589 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
58590 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
58591 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
58592 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
58593 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
58594 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
58595 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
58596 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
58597 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
58598 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
58599 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
58600 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
58601 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
58602 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
58603 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
58604 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
58605 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
58606 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
58607 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
58608 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
58609 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
58610
58611 2012-02-03 Joseph Myers <joseph@codesourcery.com>
58612
58613 * math/tst-CMPLX.c: Include <stdio.h>.
58614
58615 2012-01-31 Joseph Myers <joseph@codesourcery.com>
58616
58617 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
58618 float.
58619 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
58620 * sysdeps/sparc/bits/mathdef.h: Likewise.
58621
58622 2012-01-31 Marek Polacek <polacek@redhat.com>
58623
58624 * libio/libio.h: Don't define _PARAMS.
58625 * locale/programs/config.h: Don't define PARAMS.
58626 * stdlib/strtol_l.c: Likewise.
58627 (__strtol_l): Remove PARAMS from the prototype.
58628
58629 2012-01-31 Ulrich Drepper <drepper@gmail.com>
58630
58631 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
58632 names. Just use the correct names. Remove unnecessary wrapper
58633 functions.
58634 * malloc/arena.c: Likewise.
58635 * malloc/hooks.c: Likewise.
58636
58637 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
58638 ARENA_TEST says not to. Simplify test for creation of a new arena.
58639 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
58640
58641 2012-01-30 Ulrich Drepper <drepper@gmail.com>
58642
58643 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
58644 into tail calls.
58645 (update_get_addr): New function.
58646 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
58647 GET_ADDR_MODULE parameter.
58648
58649 2012-01-30 Joseph Myers <joseph@codesourcery.com>
58650
58651 * crypt/cert.c: Remove __STDC__ conditionals.
58652 * crypt/crypt-entry.c: Likewise.
58653 * crypt/crypt_util.c: Likewise.
58654 * libio/filedoalloc.c: Likewise.
58655 * libio/fileops.c: Likewise.
58656 * libio/genops.c: Likewise.
58657 * libio/iofclose.c: Likewise.
58658 * libio/iofdopen.c: Likewise.
58659 * libio/iofopen.c: Likewise.
58660 * libio/iofopen64.c: Likewise.
58661 * libio/iogetdelim.c: Likewise.
58662 * libio/iopopen.c: Likewise.
58663 * libio/obprintf.c: Likewise.
58664 * libio/oldfileops.c: Likewise.
58665 * libio/oldiofclose.c: Likewise.
58666 * libio/oldiofdopen.c: Likewise.
58667 * libio/oldiofopen.c: Likewise.
58668 * libio/oldiopopen.c: Likewise.
58669 * libio/wfiledoalloc.c: Likewise.
58670 * libio/wgenops.c: Likewise.
58671 * locale/programs/xmalloc.c: Likewise.
58672 * misc/syslog.c: Likewise.
58673 * stdio-common/xbug.c: Likewise.
58674 * string/memchr.c: Likewise.
58675 * string/memcmp.c: Likewise.
58676 * string/memrchr.c: Likewise.
58677 * string/rawmemchr.c: Likewise.
58678 * sysdeps/posix/getcwd.c: Likewise.
58679 * time/strftime_l.c: Likewise.
58680
58681 2012-01-30 Joseph Myers <joseph@codesourcery.com>
58682
58683 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
58684 * config.make.in (config-cflags-sse2avx): Define.
58685 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
58686 Fix typo.
58687
58688 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
58689
58690 * scripts/config.guess: Update from upstream config git repository.
58691 * scripts/config.sub: Likewise.
58692
58693 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
58694
58695 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
58696 (EM_NUM): Update.
58697 (R_TILEPRO_*, R_TILEGX_*): New macros.
58698
58699 * scripts/firstversions.awk: Fix bug in version range handling.
58700
58701 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
58702
58703 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
58704
58705 * include/sys/epoll.h: New file.
58706 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
58707 libc_hidden_def.
58708
58709 2012-01-28 Ulrich Drepper <drepper@gmail.com>
58710
58711 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
58712 Avoid unnecessary __WORDSIZE == 64 test.
58713 (fmaxf): Use VEX format if possible.
58714 (fmax): Likewise.
58715 (fminf): Likewise.
58716 (fmin): Likewise.
58717
58718 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
58719 * math/math_private.h: Remove libc_fegetround* and
58720 libc_fesetround*.
58721 * sysdeps/i386/configure.in: Check for -msse2avx.
58722 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
58723 also if SSE2AVX is defined.
58724 Remove libc_fegetround* and libc_fesetround*.
58725 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
58726 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
58727 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
58728 of HAS_YMM_USABLE.
58729 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
58730 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
58731 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
58732 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
58733 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
58734
58735 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
58736
58737 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58738
58739 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
58740 size is not set.
58741 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
58742
58743 2012-01-27 Ulrich Drepper <drepper@gmail.com>
58744
58745 [BZ #13618]
58746 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
58747 relocation.
58748 * Makeconfig (libm): Define.
58749 * elf/Makefile: Add rules to build and run tst-relsort1.
58750 * elf/tst-relsort1.c: New file.
58751 * elf/tst-relsort1mod1.c: New file.
58752 * elf/tst-relsort1mod2.c: New file.
58753
58754 2012-01-27 Joseph Myers <joseph@codesourcery.com>
58755
58756 * math/s_ldexp.c: Remove __STDC__ conditionals.
58757 * math/s_ldexpf.c: Likewise.
58758 * math/s_ldexpl.c: Likewise.
58759 * math/s_nextafter.c: Likewise.
58760 * math/s_nexttowardf.c: Likewise.
58761 * math/s_significand.c: Likewise.
58762 * math/s_significandf.c: Likewise.
58763 * math/s_significandl.c: Likewise.
58764 * math/w_jnl.c: Likewise.
58765 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
58766 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
58767 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
58768 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
58769 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
58770 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
58771 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
58772 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
58773 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
58774 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
58775 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
58776 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
58777 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
58778 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
58779 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
58780 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
58781 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
58782 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
58783 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
58784 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
58785 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
58786 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
58787 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
58788 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
58789 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
58790 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
58791 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
58792 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
58793 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
58794 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
58795 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
58796 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
58797 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
58798 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
58799 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
58800 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
58801 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
58802 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
58803 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
58804 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
58805 * sysdeps/ieee754/k_standard.c: Likewise.
58806 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
58807 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
58808 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
58809 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
58810 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
58811 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
58812 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
58813 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
58814 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
58815 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
58816 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
58817 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
58818 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
58819 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
58820 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
58821 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
58822 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
58823 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
58824 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
58825 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
58826 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
58827 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
58828 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
58829 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
58830 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
58831 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
58832 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
58833 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
58834 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
58835 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
58836 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
58837 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
58838 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
58839 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
58840 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
58841 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
58842 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
58843 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
58844 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
58845 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
58846 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
58847 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
58848 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
58849 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
58850 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
58851 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
58852 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
58853 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
58854 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
58855 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
58856 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
58857 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
58858 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
58859 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
58860 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
58861 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
58862 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
58863 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
58864 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
58865 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
58866 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
58867 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
58868 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
58869 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
58870 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
58871 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
58872 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
58873 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
58874 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
58875 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
58876 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
58877 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
58878 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
58879 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
58880 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
58881 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
58882 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
58883 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
58884 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
58885 * sysdeps/ieee754/s_matherr.c: Likewise.
58886 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
58887 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
58888 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
58889 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
58890
58891 2012-01-26 Joseph Myers <joseph@codesourcery.com>
58892
58893 * crypt/md5.h: Remove __STDC__ conditionals.
58894 * libio/libioP.h: Likewise.
58895 * locale/programs/config.h: Likewise.
58896 * sysdeps/generic/sysdep.h: Likewise.
58897 * sysdeps/i386/asm-syntax.h: Likewise.
58898 * sysdeps/s390/asm-syntax.h: Likewise.
58899 * sysdeps/unix/sysdep.h: Likewise.
58900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
58901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
58902
58903 2012-01-26 Joseph Myers <joseph@codesourcery.com>
58904
58905 * libio/libio.h: Remove __STDC__ conditionals.
58906 * malloc/obstack.h: Likewise.
58907 * math/complex.h: Likewise.
58908 * math/math.h: Likewise.
58909 * sysdeps/generic/_G_config.h: Likewise.
58910 * sysdeps/gnu/_G_config.h: Likewise.
58911 * sysdeps/mach/hurd/_G_config.h: Likewise.
58912 * sysdeps/powerpc/bits/mathdef.h: Likewise.
58913 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
58914 * sysdeps/sparc/bits/mathdef.h: Likewise.
58915
58916 2012-01-26 Ulrich Drepper <drepper@gmail.com>
58917
58918 [BZ #13583]
58919 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
58920 Clean up HAS_* macros.
58921 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
58922 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
58923 possible.
58924 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
58925 HAS_AVX.
58926 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
58927 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
58928 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
58929 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
58930 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
58931
58932 2012-01-25 Joseph Myers <joseph@codesourcery.com>
58933
58934 * elf/tst-unique3.cc (gets): Remove declaration.
58935 * elf/tst-unique3lib.cc (gets): Likewise.
58936 * elf/tst-unique3lib2.cc (gets): Likewise.
58937 * elf/tst-unique4.cc (gets): Likewise.
58938
58939 2012-01-24 Ulrich Drepper <drepper@gmail.com>
58940
58941 * include/stdio.h: Add C++ protection. Add gets declarations and
58942 definitions.
58943 * debug/tst-chk1.c: Don't declare gets here.
58944 * stdio-common/tst-gets.c: Likewise.
58945
58946 2012-01-24 Joseph Myers <joseph@codesourcery.com>
58947
58948 * posix/glob: Remove directory.
58949
58950 2012-01-24 Joseph Myers <joseph@codesourcery.com>
58951
58952 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
58953
58954 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
58955
58956 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
58957 of the non-standard EPFNOSUPPORT.
58958
58959 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
58960
58961 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
58962 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
58963 ANYWHERE set to 1 only on KERN_NO_SPACE error.
58964
58965 2012-01-21 Ulrich Drepper <drepper@gmail.com>
58966
58967 * wcsmbs/uchar.h: Test __STDC_VERSION__.
58968
58969 2012-01-20 Ulrich Drepper <drepper@gmail.com>
58970
58971 * nscd/aicache.c (addhstaiX): Do not cache negative results of
58972 transient errors.
58973 * nscd/grpcache.c (cache_addgr): Likewise.
58974 * nscd/hstcache.c (cache_addhst): Likewise.
58975 * nscd/initgrcache.c (addinitgroupsX): Likewise.
58976 * nscd/pwdcache.c (cache_addpw): Likewise.
58977 * nscd/servicescache.c (cache_addserv): Likewise.
58978
58979 2012-01-16 Ulrich Drepper <drepper@gmail.com>
58980
58981 * malloc/malloc.c: Various cleanups.
58982 * malloc/hooks.c: Likewise.
58983
58984 * stdlib/Makefile (tests): Add bug-fmtmsg1.
58985 * stdlib/bug-fmtmsg1.c: New file.
58986
58987 * stdlib/fmtmsg.c (init): Add missing unlock.
58988 Patch by Peng Haitao <penght@cn.fujitsu.com>.
58989
58990 2012-01-12 Marek Polacek <polacek@redhat.com>
58991
58992 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
58993 and _GNU_SOURCE.
58994
58995 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
58996
58997 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
58998 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
58999 macro to ensure uniqueness of label name.
59000 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
59001 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
59002
59003 2012-01-11 Ulrich Drepper <drepper@gmail.com>
59004
59005 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
59006
59007 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
59008 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
59009 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
59010 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
59011
59012 2012-01-10 Ulrich Drepper <drepper@gmail.com>
59013
59014 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
59015
59016 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
59017 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
59018 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
59019
59020 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
59021
59022 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
59023 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
59024 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
59025 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
59026
59027 * math/bits/math-finite.h: Add ldexp support.
59028
59029 2012-01-10 Marek Polacek <polacek@redhat.com>
59030
59031 * locale/programs/localedef.h (show_archive_content): Add noreturn
59032 attribute.
59033
59034 2012-01-09 Ulrich Drepper <drepper@gmail.com>
59035
59036 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
59037
59038 2012-01-08 Ulrich Drepper <drepper@gmail.com>
59039
59040 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
59041
59042 * io/Makefile (headers): Add bits/poll2.h.
59043
59044 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
59045
59046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
59047 typo #include statement.
59048
59049 2012-01-08 Ulrich Drepper <drepper@gmail.com>
59050
59051 * include/sys/cdefs.h: Define __attribute_alloc_size.
59052 * catgets/gencat.c: Add alloc_size attribute and apply consistently
59053 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
59054 * elf/pldd.c: Likewise.
59055 * iconv/iconv_charmap.c: Likewise.
59056 * iconv/iconvconfig.c: Likewise.
59057 * iconv/strtab.c: Likewise.
59058 * locale/programs/locale.c: Likewise.
59059 * locale/programs/localedef.h: Likewise.
59060 * locale/programs/simple-hash.c: Likewise.
59061 * nscd/nscd.h: Likewise.
59062 * nss/makedb.c: Likewise.
59063 * sysdeps/generic/ldconfig.h: Likewise.
59064 * locale/programs/localedef.c: Remove xmalloc prototype.
59065 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
59066
59067 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
59068
59069 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
59070 appropriate.
59071
59072 2012-01-08 Ulrich Drepper <drepper@gmail.com>
59073
59074 * math/Makefile (tests): Add tst-CMPLX.
59075 * math/tst-CMPLX.c: New file.
59076
59077 * math/complex.h (CMPLXL): Fix typo.
59078
59079 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
59080 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
59081 GLIBC_2.16.
59082 * debug/tst-chk1.c: Add poll and ppoll tests.
59083 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
59084 * include/sys/poll.h: Add hidden proto for ppoll.
59085 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
59086 * sysdeps/mach/hurd/ppoll.c: Likewise.
59087 * io/ppoll.c: Likewise.
59088 * debug/poll_chk.c: New file.
59089 * debug/ppoll_chk.c: New file.
59090 * include/bits/poll2.h: New file.
59091 * io/bits/poll2.h: New file.
59092
59093 [BZ #1350]
59094 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
59095
59096 * configure.in: static is always set to yes. Remove.
59097 * config.make.in: Don't set build-static.
59098 * Makeconfig: Remove use of build-static.
59099 * dlfcn/Makefile: Likewise.
59100 * elf/Makefile: Likewise.
59101 * math/Makefile: Likewise.
59102 * misc/Makefile: Likewise.
59103 * nptl/Makefile: Likewise.
59104 * sysdeps/mach/hurd/Makefile: Likewise.
59105
59106 * configure.in: PWD_P is not used anymore.
59107 * config.make.in: Remove PWD_P entry.
59108
59109 * configure.in: Remove last remnants of RANLIB.
59110 No need to check for signed size_t anymore.
59111 Don't set libc_commonpagesize and libc_relro_required here for Alpha
59112 and IA-64.
59113 Remove __builtin_expect test because we require at least gcc 3.4.
59114 * aclocal.m4: Likewise.
59115
59116 * wcsmbs/mbrtoc16.c: Implement using towc function.
59117 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
59118 * wcsmbs/wcsmbsload.c: Likewise.
59119 * iconv/gconv_simple.c: Likewise.
59120 * iconv/gconv_int.h: Likewise.
59121 * iconv/gconv_builtin.h: Likewise.
59122 * iconv/iconv_prog.c: Remove CHAR16 handling.
59123
59124 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
59125
59126 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
59127
59128 * configure.in: Remove --with-elf and --enable-bounded options.
59129 Dont set base_machine for ia64. More non-ELF conditions removed.
59130 Remove testing and setting of leading underscore information.
59131 * config.make.in (build-bounded): Set to no.
59132 * config.h.in: Remove NO_UNDERSCORES entry.
59133 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
59134 them.
59135 * csu/start.c: Remove !NO_UNDERSCORE code.
59136 * locale/localeinfo.h: Likewise.
59137 * sysdeps/generic/machine-gmon.h: Likewise.
59138 * sysdeps/generic/sysdep.h: Likewise.
59139 * sysdeps/i386/sysdep.h: Likewise.
59140 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
59141 * sysdeps/mach/sysdep.h: Likewise.
59142 * sysdeps/s390/s390-32/sysdep.h: Likewise.
59143 * sysdeps/s390/s390-64/sysdep.h: Likewise.
59144 * sysdeps/sh/sysdep.h: Likewise.
59145 * sysdeps/sparc/sparc32/alloca.S: Likewise.
59146 * sysdeps/unix/i386/sysdep.S: Likewise.
59147 * sysdeps/unix/sparc/start.c: Likewise.
59148 * sysdeps/unix/sparc/sysdep.S: Likewise.
59149 * sysdeps/unix/sparc/sysdep.h: Likewise.
59150 * sysdeps/unix/start.c: Likewise.
59151 * sysdeps/unix/x86_64/sysdep.S: Likewise.
59152 * sysdeps/x86_64/sysdep.h: Likewise.
59153
59154 2012-01-07 Ulrich Drepper <drepper@gmail.com>
59155
59156 [BZ #13553]
59157 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
59158 for non-gcc.
59159 * argp/argp-fmtstream.h: Use const instead __const.
59160 * argp/argp.h: Likewise.
59161 * assert/assert.h: Likewise.
59162 * bits/fenv.h: Likewise.
59163 * bits/sched.h: Likewise.
59164 * bits/sigset.h: Likewise.
59165 * bits/sigthread.h: Likewise.
59166 * catgets/nl_types.h: Likewise.
59167 * conform/data/pthread.h-data: Likewise.
59168 * crypt/crypt-private.h: Likewise.
59169 * crypt/crypt.h: Likewise.
59170 * crypt/crypt_util.c: Likewise.
59171 * ctype/ctype.h: Likewise.
59172 * debug/execinfo.h: Likewise.
59173 * debug/mbsnrtowcs_chk.c: Likewise.
59174 * debug/mbsrtowcs_chk.c: Likewise.
59175 * debug/wcsnrtombs_chk.c: Likewise.
59176 * debug/wcsrtombs_chk.c: Likewise.
59177 * debug/wcstombs_chk.c: Likewise.
59178 * dirent/dirent.h: Likewise.
59179 * dlfcn/dlfcn.h: Likewise.
59180 * elf/neededtest4.c: Likewise.
59181 * grp/grp.h: Likewise.
59182 * gshadow/gshadow.h: Likewise.
59183 * iconv/gconv.h: Likewise.
59184 * iconv/gconv_int.h: Likewise.
59185 * iconv/gconv_simple.c: Likewise.
59186 * iconv/iconv.h: Likewise.
59187 * iconv/loop.c: Likewise.
59188 * iconv/skeleton.c: Likewise.
59189 * include/aio.h: Likewise.
59190 * include/aliases.h: Likewise.
59191 * include/argz.h: Likewise.
59192 * include/arpa/inet.h: Likewise.
59193 * include/assert.h: Likewise.
59194 * include/dirent.h: Likewise.
59195 * include/dlfcn.h: Likewise.
59196 * include/execinfo.h: Likewise.
59197 * include/fcntl.h: Likewise.
59198 * include/fenv.h: Likewise.
59199 * include/glob.h: Likewise.
59200 * include/grp.h: Likewise.
59201 * include/libintl.h: Likewise.
59202 * include/mntent.h: Likewise.
59203 * include/netdb.h: Likewise.
59204 * include/pwd.h: Likewise.
59205 * include/rpc/netdb.h: Likewise.
59206 * include/sched.h: Likewise.
59207 * include/search.h: Likewise.
59208 * include/shadow.h: Likewise.
59209 * include/signal.h: Likewise.
59210 * include/stdio.h: Likewise.
59211 * include/stdlib.h: Likewise.
59212 * include/string.h: Likewise.
59213 * include/sys/socket.h: Likewise.
59214 * include/sys/stat.h: Likewise.
59215 * include/sys/statfs.h: Likewise.
59216 * include/sys/statvfs.h: Likewise.
59217 * include/sys/syslog.h: Likewise.
59218 * include/sys/time.h: Likewise.
59219 * include/sys/uio.h: Likewise.
59220 * include/time.h: Likewise.
59221 * include/unistd.h: Likewise.
59222 * include/utmp.h: Likewise.
59223 * include/wchar.h: Likewise.
59224 * include/wctype.h: Likewise.
59225 * inet/aliases.h: Likewise.
59226 * inet/arpa/inet.h: Likewise.
59227 * inet/netinet/ether.h: Likewise.
59228 * inet/netinet/in.h: Likewise.
59229 * intl/libintl.h: Likewise.
59230 * io/bits/fcntl2.h: Likewise.
59231 * io/fcntl.h: Likewise.
59232 * io/ftw.h: Likewise.
59233 * io/sys/poll.h: Likewise.
59234 * io/sys/stat.h: Likewise.
59235 * io/sys/statfs.h: Likewise.
59236 * io/sys/statvfs.h: Likewise.
59237 * io/utime.h: Likewise.
59238 * libio/bits/stdio.h: Likewise.
59239 * libio/bits/stdio2.h: Likewise.
59240 * libio/libio.h: Likewise.
59241 * libio/libioP.h: Likewise.
59242 * libio/stdio.h: Likewise.
59243 * locale/lc-ctype.c: Likewise.
59244 * locale/locale.h: Likewise.
59245 * login/utmp.h: Likewise.
59246 * malloc/arena.c: Likewise.
59247 * malloc/malloc.c: Likewise.
59248 * malloc/malloc.h: Likewise.
59249 * malloc/mcheck.c: Likewise.
59250 * malloc/mtrace.c: Likewise.
59251 * math/bits/mathcalls.h: Likewise.
59252 * math/fenv.h: Likewise.
59253 * math/math_private.h: Likewise.
59254 * misc/bits/error.h: Likewise.
59255 * misc/bits/syslog.h: Likewise.
59256 * misc/err.h: Likewise.
59257 * misc/error.h: Likewise.
59258 * misc/fstab.h: Likewise.
59259 * misc/mntent.h: Likewise.
59260 * misc/regexp.h: Likewise.
59261 * misc/search.h: Likewise.
59262 * misc/sgtty.h: Likewise.
59263 * misc/sys/mman.h: Likewise.
59264 * misc/sys/syslog.h: Likewise.
59265 * misc/sys/uio.h: Likewise.
59266 * misc/sys/xattr.h: Likewise.
59267 * misc/ttyent.h: Likewise.
59268 * nis/rpcsvc/ypclnt.h: Likewise.
59269 * nss/nss.h: Likewise.
59270 * posix/bits/unistd.h: Likewise.
59271 * posix/fnmatch.h: Likewise.
59272 * posix/glob.h: Likewise.
59273 * posix/sched.h: Likewise.
59274 * posix/spawn.h: Likewise.
59275 * posix/sys/wait.h: Likewise.
59276 * posix/unistd.h: Likewise.
59277 * posix/wordexp.h: Likewise.
59278 * pwd/pwd.h: Likewise.
59279 * resolv/netdb.h: Likewise.
59280 * resource/sys/resource.h: Likewise.
59281 * rt/aio.h: Likewise.
59282 * rt/bits/mqueue2.h: Likewise.
59283 * rt/mqueue.h: Likewise.
59284 * shadow/shadow.h: Likewise.
59285 * signal/signal.h: Likewise.
59286 * socket/send.c: Likewise.
59287 * socket/sendto.c: Likewise.
59288 * socket/sys/socket.h: Likewise.
59289 * stdio-common/printf.h: Likewise.
59290 * stdlib/bits/stdlib.h: Likewise.
59291 * stdlib/fmtmsg.h: Likewise.
59292 * stdlib/monetary.h: Likewise.
59293 * stdlib/stdlib.h: Likewise.
59294 * stdlib/ucontext.h: Likewise.
59295 * streams/stropts.h: Likewise.
59296 * string/argz.h: Likewise.
59297 * string/bits/string2.h: Likewise.
59298 * string/string.h: Likewise.
59299 * string/strings.h: Likewise.
59300 * sunrpc/rpc/auth.h: Likewise.
59301 * sunrpc/rpc/auth_des.h: Likewise.
59302 * sunrpc/rpc/clnt.h: Likewise.
59303 * sunrpc/rpc/netdb.h: Likewise.
59304 * sunrpc/rpc/pmap_clnt.h: Likewise.
59305 * sunrpc/rpc/xdr.h: Likewise.
59306 * sysdeps/generic/inttypes.h: Likewise.
59307 * sysdeps/generic/net/if.h: Likewise.
59308 * sysdeps/generic/sys/swap.h: Likewise.
59309 * sysdeps/gnu/net/if.h: Likewise.
59310 * sysdeps/gnu/utmpx.h: Likewise.
59311 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
59312 * sysdeps/i386/i486/bits/string.h: Likewise.
59313 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
59314 * sysdeps/s390/bits/string.h: Likewise.
59315 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
59316 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
59317 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
59318 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
59319 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
59320 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
59321 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
59322 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
59323 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
59324 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
59325 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
59326 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
59327 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
59328 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
59329 * sysdeps/unix/sysv/linux/readv.c: Likewise.
59330 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
59331 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
59332 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
59333 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
59334 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
59335 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
59336 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
59337 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
59338 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
59339 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
59340 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
59341 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
59342 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
59343 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
59344 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
59345 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
59346 * sysvipc/sys/ipc.h: Likewise.
59347 * sysvipc/sys/msg.h: Likewise.
59348 * sysvipc/sys/sem.h: Likewise.
59349 * sysvipc/sys/shm.h: Likewise.
59350 * termios/termios.h: Likewise.
59351 * time/sys/time.h: Likewise.
59352 * time/time.h: Likewise.
59353 * wcsmbs/bits/wchar2.h: Likewise.
59354 * wcsmbs/uchar.h: Likewise.
59355 * wcsmbs/wchar.h: Likewise.
59356 * wctype/wctype.h: Likewise.
59357
59358 [BZ #13551]
59359 * Makeconfig: Remove all but ELF support including AIX support.
59360 * Makerules: Likewise.
59361 * config.h.in: Likewise.
59362 * config.make.in: Likewise.
59363 * configure: Likewise.
59364 * configure.in: Likewise.
59365 * csu/Makefile: Likewise.
59366 * csu/version.c: Likewise.
59367 * debug/Makefile: Likewise.
59368 * dlfcn/Makefile: Likewise.
59369 * elf/Makefile: Likewise.
59370 * extra-lib.mk: Likewise.
59371 * iconv/Makefile: Likewise.
59372 * include/libc-symbols.h: Likewise.
59373 * include/shlib-compat.h: Likewise.
59374 * resolv/Makefile: Likewise.
59375 * resolv/res_libc.c: Likewise.
59376 * rt/Makefile: Likewise.
59377 * sysdeps/i386/asm-syntax.h: Likewise.
59378 * sysdeps/i386/sysdep.h: Likewise.
59379 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
59380 * sysdeps/mach/sysdep.h: Likewise.
59381 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
59382 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
59383 * sysdeps/s390/asm-syntax.h: Likewise.
59384 * sysdeps/s390/s390-32/sysdep.h: Likewise.
59385 * sysdeps/s390/s390-64/sysdep.h: Likewise.
59386 * sysdeps/sh/sysdep.h: Likewise.
59387 * sysdeps/unix/sparc/sysdep.h: Likewise.
59388 * sysdeps/wordsize-32/divdi3.c: Likewise.
59389 * sysdeps/x86_64/sysdep.h: Likewise.
59390
59391 * argp/Versions: Remove _argp_unlock_xxx.
59392
59393 [BZ #13559]
59394 * abilist/ld.abilist: Update. Adjust for removal of tls option.
59395 * abilist/libBrokenLocale.abilist: Likewise.
59396 * abilist/libanl.abilist: Likewise.
59397 * abilist/libc.abilist: Likewise.
59398 * abilist/libcrypt.abilist: Likewise.
59399 * abilist/libdl.abilist: Likewise.
59400 * abilist/libm.abilist: Likewise.
59401 * abilist/libnsl.abilist: Likewise.
59402 * abilist/libpthread.abilist: Likewise.
59403 * abilist/libresolv.abilist: Likewise.
59404 * abilist/librt.abilist: Likewise.
59405 * abilist/libthread_db.abilist: Likewise.
59406 * abilist/libutil.abilist: Likewise.
59407 * abilist/libnss_db.abilist: New file.
59408
59409 * scripts/abilist.awk: Add support for indirect functions.
59410
59411 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
59412
59413 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
59414
59415 * shlib-versions: Remove entries for ports architectures.
59416
59417 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
59418 files in ports.
59419 * elf/stackguard-macros.h: Remove support for IA-64.
59420 * elf/tst-auditmod1.c: Likewise.
59421 * sysdeps/generic/ldsodefs.h: Likewise.
59422
59423 * sysdeps/unix/sysv/linux/configure.in: Ports should define
59424 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
59425 configure files.
59426
59427 [BZ #13552]
59428 * configure.in: Remove --enable-omitfp support.
59429 * FAQ.in: Adjust.
59430 * config.make.in: Likewise.
59431 * Makeconfig: Likewise.
59432 * manual/install.texi: Likewise.
59433
59434 In case anyone cares, the IA-64 architecture could move to ports.
59435 * sysdeps/ia64/*: Removed.
59436 * sysdeps/unix/sysv/linux/ia64/*: Removed.
59437 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
59438
59439 [BZ #13555]
59440 * configure.in: Remove entries for unsupported architectures.
59441
59442 [BZ #13533]
59443 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
59444 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
59445 routines.
59446 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
59447 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
59448 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
59449 fall back to using wcrtomb.
59450 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
59451 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
59452 renaming.
59453 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
59454 * wcsmbs/tst-c16c32-1.c: New file.
59455
59456 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
59457 local variable.
59458
59459 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
59460
59461 * elf/tst-unique3.cc: Add explicit declaration of gets.
59462 * elf/tst-unique3lib.cc: Likewise.
59463 * elf/tst-unique3lib2.cc: Likewise.
59464 * elf/tst-unique4.cc: Likewise.
59465
59466 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
59467
59468 2012-01-06 Joseph Myers <joseph@codesourcery.com>
59469
59470 [BZ #13566]
59471 * assert/assert.h (static_assert): Don't define for C++.
59472 * libio/stdio.h (gets): Do declare for C++ <= C++11.
59473 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
59474
59475 2012-01-03 Ulrich Drepper <drepper@gmail.com>
59476
59477 * iconv/loop.c (single loop): Fix assertion in storing of
59478 remaining bytes.
59479
59480 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
59481
59482 2012-01-01 Ulrich Drepper <drepper@gmail.com>
59483
59484 * posix/getconf.c: Update copyright year.
59485 * nss/getent.c: Likewise.
59486 * nss/makedb.c: Likewise.
59487 * iconv/iconvconfig.c: Likewise.
59488 * iconv/iconv_prog.c: Likewise.
59489 * elf/ldconfig.c: Likewise.
59490 * elf/pldd.c: Likewise.
59491 * elf/sotruss.ksh: Likewise.
59492 * catgets/gencat.c: Likewise.
59493 * csu/version.c: Likewise.
59494 * elf/ldd.bash.in: Likewise.
59495 * elf/sprof.c (print_version): Likewise.
59496 * locale/programs/locale.c: Likewise.
59497 * locale/programs/localedef.c: Likewise.
59498 * login/programs/pt_chown.c: Likewise.
59499 * nscd/nscd.c (print_version): Likewise.
59500 * debug/xtrace.sh: Likewise.
59501 * malloc/memusage.sh: Likewise.
59502 * malloc/mtrace.pl: Likewise.
59503 * debug/catchsegv.sh: Likewise.
59504
59505 2011-12-30 Jakub Jelinek <jakub@redhat.com>
59506
59507 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
59508 pure attribute.
59509
59510 2011-12-24 Ulrich Drepper <drepper@gmail.com>
59511
59512 [BZ #13533]
59513 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
59514 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
59515 transformations.
59516 * iconv/gconv_int.h: Likewise.
59517 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
59518 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
59519 from libc for GLIBC_2.16.
59520 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
59521 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
59522 * wcsmbs/uchar.h: Really define mbstate_t.
59523 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
59524 * wcsmbs/c16rtomb.c: New file.
59525 * wcsmbs/mbrtoc16.c: New file.
59526 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
59527 for C/POSIX locale.
59528 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
59529 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
59530
59531 * wcsmbs/wchar.h: Add missing __restrict.
59532
59533 2011-12-23 Ulrich Drepper <drepper@gmail.com>
59534
59535 [BZ #13532]
59536 * time/Makefile (routines): Add timespec_get.
59537 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
59538 * time/time.h: Define TIME_UTC and declare timespec_get. Define
59539 timespec for ISO C11.
59540 * time/timespec_get.c: New file.
59541 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
59542 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
59543
59544 [BZ #13531]
59545 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
59546 * stdlib/stdlib.h: Declare aligned_alloc.
59547 * Versions.def: Add GLIBC_2.16 for libc.
59548 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
59549
59550 [BZ 13527]
59551 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
59552 ISO C11.
59553
59554 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
59555 code.
59556
59557 [BZ #13528]
59558 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
59559
59560 [BZ #13529]
59561 * assert/assert.h (static_assert): Define.
59562
59563 * version.h: Update for 2.16 development version.
59564
59565 [BZ #13526]
59566 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
59567 _ISOC11_SOURCE.
59568
59569 * version.h (RELEASE): Bump for 2.15 release.
59570 * include/features.h (__GLIBC_MINOR__): Bump to 15.
59571
59572 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
59573 Patch by Marek Polacek <mpolacek@redhat.com>.
59574
59575 * bits/byteswap.h: Protect long long constants with __extension__.
59576 * sysdeps/i386/bits/byteswap.h: Likewise.
59577 * sysdeps/ia64/bits/byteswap.h: Likewise.
59578 * sysdeps/s390/bits/byteswap.h: Likewise.
59579 * sysdeps/x86_64/bits/byteswap.h: Likewise.
59580
59581 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59582
59583 [BZ #13540]
59584 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
59585 destination buffer.
59586 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
59587
59588 2011-12-23 Marek Polacek <polacek@redhat.com>
59589
59590 * elf/dl-addr.c (determine_info): Add inline keyword.
59591 * elf/tst-auditmod4b.c (check_avx): Likewise.
59592 * elf/tst-auditmod6b.c (check_avx): Likewise.
59593 * elf/tst-auditmod6c.c (check_avx): Likewise.
59594 * elf/tst-auditmod7b.c (check_avx): Likewise.
59595
59596 2011-12-23 Ulrich Drepper <drepper@gmail.com>
59597
59598 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
59599 !__SSE_MATH__.
59600
59601 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59602
59603 [BZ #13540]
59604 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
59605 processing for last bytes.
59606
59607 2011-08-06 Bruno Haible <bruno@clisp.org>
59608
59609 [BZ #13061]
59610 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
59611 U+0385, not to U+1FEE.
59612
59613 [BZ #13062]
59614 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
59615 entry for U+00A5 U+0301.
59616
59617 2011-12-22 Ulrich Drepper <drepper@gmail.com>
59618
59619 [BZ #13166]
59620 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
59621 buffer for the output is too small.
59622
59623 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
59624 optimization.
59625
59626 [BZ #13185]
59627 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
59628 SSE flags if possible.
59629
59630 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59631
59632 [BZ #13540]
59633 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
59634 processing for last bytes.
59635
59636 2011-12-22 Joseph Myers <joseph@codesourcery.com>
59637
59638 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
59639 (syscall-list-default-options, syscall-list-default-condition)
59640 (syscall-list-includes): Define.
59641 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
59642 list of ABIs and options and #if conditions for each ABI. Do not
59643 handle common syscalls between ABIs specially.
59644 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
59645 Remove.
59646 (syscall-list-variants, syscall-list-32bit-options)
59647 (syscall-list-32bit-condition, syscall-list-64bit-options)
59648 (syscall-list-64bit-condition): Define.
59649 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
59650 (syscall-list-variants, syscall-list-32bit-options)
59651 (syscall-list-32bit-condition, syscall-list-64bit-options)
59652 (syscall-list-64bit-condition): Define.
59653 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
59654 Remove.
59655 (syscall-list-variants, syscall-list-32bit-options)
59656 (syscall-list-32bit-condition, syscall-list-64bit-options)
59657 (syscall-list-64bit-condition): Define.
59658 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
59659 Remove.
59660 (syscall-list-variants, syscall-list-32bit-options)
59661 (syscall-list-32bit-condition, syscall-list-64bit-options)
59662 (syscall-list-64bit-condition): Define.
59663
59664 2011-12-22 Ulrich Drepper <drepper@gmail.com>
59665
59666 * locale/iso-639.def: Add brx entry.
59667
59668 [BZ #13328]
59669 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
59670 Proposed by Mariusz_Cukr <marcukr@op.pl>.
59671
59672 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
59673 __feraiseexcept_renamed.
59674
59675 2011-12-21 Ulrich Drepper <drepper@gmail.com>
59676
59677 [BZ #13538]
59678 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
59679 EPOLLET with unsigned values.
59680 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
59681 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
59682
59683 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
59684 to large cancellation.
59685 * math/s_cacoshf.c: Likewise.
59686 * math/s_cacoshl.c: Likewise.
59687
59688 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
59689
59690 [BZ #13305]
59691 [BZ #12786]
59692 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
59693 * math/s_cacoshf.c: Likewise.
59694 * math/s_cacoshl.c: Likewise.
59695
59696 2011-12-21 Ulrich Drepper <drepper@gmail.com>
59697
59698 [BZ #13439]
59699 * iconv/gconv.h: Define __GCONV_SWAP.
59700 * iconvdata/unicode.c: The swap bit must be stored in __flags.
59701 * iconvdata/utf-16.c: Likewise.
59702 * iconvdata/utf-32.c: Likewise.
59703
59704 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
59705
59706 [BZ #13524]
59707 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
59708 numerator after shifting it by one limb.
59709
59710 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
59711
59712 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
59713 under [__USE_EXTERN_INLINES].
59714
59715 2011-12-17 Ulrich Drepper <drepper@gmail.com>
59716
59717 [BZ #13446]
59718 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
59719
59720 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59721
59722 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
59723 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
59724 optimized code.
59725 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
59726 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
59727 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
59728 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
59729 for strncasecmp/strncasecmp_l compilation.
59730 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
59731 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
59732
59733 2011-12-08 Marek Polacek <mpolacek@redhat.com>
59734
59735 [BZ #13484]
59736 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
59737 of __asm__.
59738
59739 2011-12-17 Ulrich Drepper <drepper@gmail.com>
59740
59741 [BZ #13506]
59742 * time/tzfile.c (__tzfile_read): Check values from file header.
59743
59744 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
59745
59746 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
59747 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
59748 * powerpc/powerpc32/dl-start.S: Likewise.
59749 * powerpc/powerpc32/elf/start.S: Likewise.
59750 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
59751 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
59752 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
59753 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
59754 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
59755 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
59756 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
59757 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
59758 * powerpc/powerpc32/fpu/s_round.S: Likewise.
59759 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
59760 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
59761 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
59762 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
59763 * powerpc/powerpc32/memset.S: Likewise.
59764 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
59765 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
59766 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
59767 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
59768 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
59769 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
59770 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
59771 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
59772 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
59773 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
59774 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
59775 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
59776 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
59777
59778 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59779
59780 * math/libm-test.inc: Added more nearbyint tests.
59781 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
59782 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
59783 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
59784 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
59785
59786 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
59787
59788 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
59789 FD_CLOEXEC.
59790
59791 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59792
59793 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
59794 Add wcscpy-ssse3 wcscpy-c.
59795 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
59796 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
59797 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
59798 * sysdeps/x86_64/wcschr.S: New file.
59799 * sysdeps/x86_64/wcsrchr.S: New file.
59800 * string/test-strcmp.c: Remove checking of wcscmp function for
59801 wrong alignments.
59802 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
59803 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
59804 wcsrchr-sse2 wcsrchr-c.
59805 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
59806 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
59807 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
59808 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
59809 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
59810 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
59811 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
59812 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
59813 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
59814 * wcsmbc/wcschr.c (WCSCHR): New macro.
59815
59816 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59817
59818 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
59819 * wcsmbs/test-wcsrchr.c: New file.
59820 * string/test-strrchr.c: Add wcsrchr support.
59821 (WIDE): New macro.
59822 * wcsmbs/test-wcscpy.c: New file.
59823 * string/test-strcpy.c: Add wcscpy support.
59824 (WIDE): New macro.
59825
59826 2011-12-10 Ulrich Drepper <drepper@gmail.com>
59827
59828 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
59829 the inner loop.
59830
59831 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
59832
59833 [BZ #13472]
59834 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
59835
59836 2011-12-04 Ulrich Drepper <drepper@gmail.com>
59837
59838 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
59839 Minor optimizations.
59840
59841 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
59842 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
59843 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
59844
59845 2011-12-03 Ulrich Drepper <drepper@gmail.com>
59846
59847 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
59848 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
59849 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
59850 for gcc to avoid warnings.
59851 * inet/Makefile (tests): Add tst-checks.
59852 * inet/tst-checks.c: New file.
59853
59854 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
59855 warning.
59856
59857 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
59858 __wmemcmp_sse2.
59859
59860 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
59861 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
59862
59863 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
59864
59865 2011-12-02 Ulrich Drepper <drepper@gmail.com>
59866
59867 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
59868 problem.
59869
59870 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
59871
59872 2011-11-29 Joseph Myers <joseph@codesourcery.com>
59873
59874 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
59875 conditional on GCC version.
59876 (__arch_compare_and_exchange_val_8_acq)
59877 (__arch_compare_and_exchange_val_16_acq)
59878 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
59879 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
59880 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
59881
59882 2011-12-02 Joseph Myers <joseph@codesourcery.com>
59883
59884 * sysdeps/sh/backtrace.c: New file.
59885
59886 2011-12-02 Andreas Schwab <schwab@redhat.com>
59887
59888 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
59889 parenthesis.
59890
59891 2011-12-01 Andreas Schwab <schwab@redhat.com>
59892
59893 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
59894 falling back to utime.
59895
59896 2011-11-30 Andreas Schwab <schwab@redhat.com>
59897
59898 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
59899 expectations for float.
59900
59901 2011-11-29 Andreas Schwab <schwab@redhat.com>
59902
59903 * locale/weight.h (findidx): Add parameter len.
59904 * locale/weightwc.h (findidx): Likewise.
59905 * posix/fnmatch_loop.c (FCT): Adjust caller.
59906 * posix/regcomp.c (build_equiv_class): Likewise.
59907 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
59908 * posix/regexec.c (check_node_accept_bytes): Likewise.
59909 * string/strcoll_l.c (STRCOLL): Likewise.
59910 * string/strxfrm_l.c (STRXFRM): Likewise.
59911
59912 2011-11-17 Ulrich Drepper <drepper@gmail.com>
59913
59914 * Makefile.in: Remove CVSOPT handling.
59915 * configure.in: Remove use of AC_REVISION.
59916 * iconvdata/Makefile (distribute): No need to filter out CVS.
59917 * scripts/list-sources.sh: Remove CVS, subversion and monotone
59918 handling.
59919
59920 2011-11-16 Andreas Schwab <schwab@redhat.com>
59921
59922 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
59923 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
59924 [USE_AS_STRNCASECMP_L]: Likewise.
59925 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
59926 NO_TLS_DIRECT_SEG_REFS.
59927 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
59928 Fix argument offsets for non-PIC.
59929 [USE_AS_STRNCASECMP_L]: Likewise.
59930 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
59931 NO_TLS_DIRECT_SEG_REFS.
59932
59933 2011-11-15 Ulrich Drepper <drepper@gmail.com>
59934
59935 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
59936 O_CLOEXEC.
59937 * locale/loadlocale.c (_nl_load_locale): Likewise.
59938
59939 2011-11-15 Andreas Schwab <schwab@redhat.com>
59940
59941 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
59942 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
59943 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
59944 (SYSCALL_GETTIME): Set errno on error.
59945
59946 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
59947 count references to noai6ai_cached.
59948
59949 2011-11-15 Ulrich Drepper <drepper@gmail.com>
59950
59951 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
59952
59953 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
59954 FD_CLOEXEC for /proc/self/maps.
59955
59956 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
59957 FD_CLOEXEC for /proc/meminfo.
59958
59959 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
59960 gai.conf.
59961
59962 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
59963 FD_CLOEXEC for given file.
59964
59965 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
59966
59967 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
59968 FD_CLOEXEC for /etc/hosts.
59969 (_gethtent): Likewise.
59970
59971 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
59972
59973 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
59974 cancellation and set FD_CLOEXEC for /etc/netgroup.
59975
59976 * nss/nss_files/files-key.c (search): Don't allow cancellation when
59977 reading /etc/publickey.
59978
59979 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
59980 allow cancellation when reading /etc/group.
59981
59982 * nss/nss_files/files-alias.c (internal_setent): Don't allow
59983 cancellation.
59984 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
59985
59986 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
59987 when using data file.
59988
59989 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
59990
59991 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
59992 (write_nis_obj): Use "c" and "e" in fopen.
59993
59994 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
59995
59996 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
59997
59998 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
59999
60000 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
60001
60002 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
60003 locale.alias.
60004
60005 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
60006
60007 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
60008
60009 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
60010
60011 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
60012 file parsing and set FD_CLOEXEC.
60013
60014 2011-11-14 Ulrich Drepper <drepper@gmail.com>
60015
60016 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
60017
60018 2011-11-14 Andreas Schwab <schwab@redhat.com>
60019
60020 * malloc/arena.c (arena_get2): Don't call reused_arena when
60021 _int_new_arena failed.
60022
60023 2011-11-14 Ulrich Drepper <drepper@gmail.com>
60024
60025 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
60026 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
60027 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
60028 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
60029 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
60030 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
60031 to compile strcasecmp and strncasecmp.
60032 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
60033 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
60034
60035 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
60036
60037 2011-11-13 Ulrich Drepper <drepper@gmail.com>
60038
60039 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
60040 locale-defines.sym to gen-as-const-headers.
60041 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
60042 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
60043 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
60044 to compile strcasecmp and strncasecmp.
60045 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
60046 strcasecmp_l and strncasecmp_l.
60047 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
60048 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
60049 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
60050 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
60051 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
60052 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
60053 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
60054 * sysdeps/i386/i686/multiarch/strncase.S: New file.
60055 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
60056 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
60057 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
60058
60059 2011-11-12 Ulrich Drepper <drepper@gmail.com>
60060
60061 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
60062 result of SYSDEP_GETTIME_CPU to retval.
60063 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
60064 parameter list to macro. Remove trailing semicolon. Adjust users.
60065
60066 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
60067 variable.
60068
60069 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
60070 mantissa words.
60071 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
60072
60073 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
60074 from unused variable.
60075
60076 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
60077 DWARF definitions.
60078 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
60079 for assembling.
60080
60081 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
60082 over namespaces.
60083
60084 * sunrpc/rpc_prot.c (rejected): Fix case value.
60085
60086 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
60087 unsigned long long int to avoid warnings in shift.
60088
60089 * posix/regex_internal.c (re_string_reconstruct): Actually use result
60090 of use of trans.
60091 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
60092 variable tmp.
60093
60094 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
60095 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
60096 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
60097
60098 * nis/nis_table.c (nis_list): Use variable of correct type for
60099 result of __follow_path call.
60100
60101 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60102
60103 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
60104 of math functions ceil, trunc, floor, round, and sqrt, when
60105 avaliable on the platform.
60106 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
60107 name clash.
60108 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
60109 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
60110 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
60111
60112 2011-10-30 Marek Polacek <mpolacek@redhat.com>
60113
60114 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
60115 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
60116
60117 2011-11-11 Roland McGrath <roland@hack.frob.com>
60118
60119 * include/unistd.h: Fix __readlink return type.
60120 Reported by Chris Metcalf <cmetcalf@tilera.com>.
60121
60122 2011-11-11 Ulrich Drepper <drepper@gmail.com>
60123
60124 * stdlib/ucontext.h: Undo last change for makecontext.
60125
60126 2011-11-11 Andreas Schwab <schwab@redhat.com>
60127
60128 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
60129
60130 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
60131 * setjmp/setjmp.h: Mark functions as non-leaf.
60132 * setjmp/bits/setjmp2.h: Likewise.
60133 * stdlib/ucontext.h: Likewise.
60134
60135 2011-11-10 Andreas Schwab <schwab@redhat.com>
60136
60137 * malloc/arena.c (_int_new_arena): Don't increment narenas.
60138 (reused_arena): Don't check arena limit.
60139 (arena_get2): Atomically check arena limit.
60140
60141 2011-11-08 Ulrich Drepper <drepper@gmail.com>
60142
60143 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
60144 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
60145
60146 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
60147 instructions.
60148
60149 2011-11-07 Andreas Schwab <schwab@redhat.com>
60150
60151 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
60152 handler when locking.
60153
60154 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
60155 Fix size of allocated buffer.
60156
60157 2011-11-04 Andreas Schwab <schwab@redhat.com>
60158
60159 [BZ #10103]
60160 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
60161 declarations for long double functions.
60162 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
60163
60164 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
60165
60166 2011-11-03 Andreas Schwab <schwab@redhat.com>
60167
60168 * nscd/nscd.c (main): Don't start AVC thread until credentials are
60169 installed.
60170
60171 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
60172 is disabled.
60173
60174 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
60175
60176 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
60177
60178 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
60179
60180 * include/alloca.h (stackinfo_alloca_round): Define.
60181 (extend_alloca): Use it.
60182 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
60183 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
60184 here.
60185
60186 * scripts/check-local-headers.sh: Ignore libaudit.h.
60187
60188 * nscd/Makefile (extra-objs): Make recursively expanded.
60189
60190 2011-11-01 Ulrich Drepper <drepper@gmail.com>
60191
60192 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
60193 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
60194
60195 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
60196 * posix/tst-rfc3484-2.c: Likewise.
60197 * posix/tst-rfc3484-3.c: Likewise.
60198
60199 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
60200 process_vm_writev.
60201 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
60202 process_vm_writev.
60203 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
60204 process_vm_writev from libc using GLIBC_2.15 version.
60205
60206 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
60207
60208 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
60209
60210 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
60211 stack usage.
60212
60213 2011-10-31 Ulrich Drepper <drepper@gmail.com>
60214
60215 [BZ #13367]
60216 * nss/getent.c (initgroups_keys): Show error message in case no group
60217 names are given.
60218
60219 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
60220 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
60221 __bump_nl_timestamp.
60222 * nscd/connections (nscd_init): When host database is served open
60223 netlink socket and request notification about configuration changes.
60224 (main_loop_poll): Track netlink file descriptor and bump timestamp
60225 in case data becomes available.
60226 (main_loop_epoll): Likewise.
60227 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
60228 (database_pers_head): Add extra_data fileds.
60229 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
60230 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
60231 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
60232 Adjust caller.
60233 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
60234 in6ai data, call __free_in6ai.
60235 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
60236 Add -DHAVE_NETLINK.
60237 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
60238 interface information. Reuse previous data if netlink timestamp
60239 is not changed.
60240 (__bump_nl_timestamp): New function.
60241 (__free_in6ai): New function.
60242
60243 2011-10-30 Ulrich Drepper <drepper@gmail.com>
60244
60245 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
60246 close_not_cancel_no_status here.
60247 (__check_pf): Reorganize code a bit to not call close twice if OOM.
60248
60249 2011-10-29 Ulrich Drepper <drepper@gmail.com>
60250
60251 [BZ #13276]
60252 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
60253 return value.
60254
60255 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
60256 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
60257 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
60258
60259 2011-07-03 Andreas Jaeger <aj@suse.de>
60260
60261 [BZ #10709]
60262 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
60263 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
60264 * math/libm-test.inc (sin_test): Add test case.
60265
60266 2011-10-29 Ulrich Drepper <drepper@gmail.com>
60267
60268 [BZ #13337]
60269 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
60270 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
60271
60272 * elf/chroot_canon.c (chroot_canon): Cleanups.
60273
60274 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
60275
60276 [BZ #13335]
60277 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
60278 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
60279
60280 * string/test-strchr.c: Make usable for strchrnul testing.
60281 * string/test-strchrnul.c: New file.
60282 * string/Makefile (strop-tests): Add strchrnul.
60283
60284 * po/it.po: Update from translation team.
60285 * po/es.po: Likewise.
60286
60287 2011-10-28 Ulrich Drepper <drepper@gmail.com>
60288
60289 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
60290 the three constants needed as parameters. Drop the others.
60291 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
60292 __m128i_strloadu_tolower.
60293 Create and initialize variable zero and use it in all the places
60294 where _mm_setzero_si128 was used.
60295
60296 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
60297 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
60298 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
60299 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
60300 anymore.
60301 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
60302 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
60303 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
60304 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
60305 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
60306 __mpranred, __mptan.
60307 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
60308 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
60309 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
60310 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
60311 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
60312 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
60313 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
60314 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
60315 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
60316
60317 2011-10-28 Andreas Schwab <schwab@redhat.com>
60318
60319 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
60320 redefine if SHARED.
60321 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
60322
60323 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
60324 wide char related routines to wcsmbs subdir.
60325
60326 2011-10-27 Andreas Schwab <schwab@redhat.com>
60327
60328 [BZ #13344]
60329 * misc/sys/cdefs.h (__THROWNL): Define.
60330 * posix/unistd.h: Use __THREADNL instead of __THREAD
60331 for memory synchronization functions.
60332
60333 2011-10-26 Roland McGrath <roland@hack.frob.com>
60334
60335 [BZ #13349]
60336 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
60337 doesn't exist.
60338 * manual/stdio.texi (Obstack Streams): Node removed.
60339
60340 2011-10-26 Andreas Schwab <schwab@redhat.com>
60341
60342 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
60343 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
60344 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
60345
60346 * math/math_private.h (math_force_eval): Allow non-addressable
60347 arguments.
60348 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
60349
60350 2011-10-25 Ulrich Drepper <drepper@gmail.com>
60351
60352 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
60353 file is not needed.
60354
60355 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
60356 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
60357 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
60358 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
60359 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
60360 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
60361 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
60362 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
60363 Add AVX variants.
60364 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
60365 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
60366 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
60367 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
60368 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
60369 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
60370 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
60371 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
60372 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
60373 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
60374 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
60375 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
60376 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
60377 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
60378 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
60379 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
60380 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
60381 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
60382 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
60383
60384 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
60385 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
60386
60387 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
60388 place. Use VEX encoding when compiling for AVX.
60389
60390 2011-10-25 Andreas Schwab <schwab@redhat.com>
60391
60392 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
60393 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
60394
60395 * string/test-strchr.c (do_test): Don't generate NUL bytes.
60396
60397 2011-10-25 Ulrich Drepper <drepper@gmail.com>
60398
60399 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
60400 useless if() expression.
60401 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
60402 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
60403 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
60404 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
60405 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
60406 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
60407 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
60408 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
60409 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
60410 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
60411 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
60412 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
60413 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
60414 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
60415 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
60416 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
60417 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
60418 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
60419 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
60420
60421 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
60422
60423 2011-10-25 Andreas Schwab <schwab@redhat.com>
60424
60425 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
60426 condition.
60427 * elf/dl-fini.c (_dl_sort_fini): Likewise.
60428
60429 2011-10-25 Ulrich Drepper <drepper@gmail.com>
60430
60431 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
60432 .text section. Avoid duplicate constants.
60433 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
60434 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
60435 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
60436 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
60437 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
60438 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
60439 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
60440 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
60441 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
60442 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
60443 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
60444 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
60445 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
60446 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
60447 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
60448 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
60449 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
60450 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
60451 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
60452 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
60453 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
60454 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
60455 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
60456 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
60457 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
60458 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
60459 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
60460 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
60461 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
60462 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
60463 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
60464 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
60465 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
60466 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
60467 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
60468 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
60469 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
60470 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
60471 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
60472 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
60473 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
60474 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
60475 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
60476 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
60477 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
60478
60479 2011-10-24 Ulrich Drepper <drepper@gmail.com>
60480
60481 * sysdeps/x86_64/dla.h: Move to ...
60482 * sysdeps/x86_64/fpu/dla.h: ...here.
60483 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
60484 situations. Use __builtin_fma only for gcc 4.6 and up.
60485
60486 * config.make.in: Add have-mfma4 entry.
60487 * configure.in: Substitute libc_cv_cc_fma4.
60488 * math/Makefile (dbl-only-routines): Add sincostab.
60489 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
60490 Use __sincostab not sincos.
60491 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
60492 name is a macro.
60493 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
60494 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
60495 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
60496 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
60497 using __copysign.
60498 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
60499 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
60500 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
60501 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
60502 and __inv.
60503 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
60504 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
60505 __copysign.
60506 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
60507 define aliases when function name is a macro.
60508 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
60509 sysdeps/ieee754/dbl-64/sincos.tbl.
60510 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
60511 fma4-enabled routines.
60512 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
60513 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
60514 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
60515 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
60516 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
60517 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
60518 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
60519 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
60520 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
60521 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
60522 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
60523 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
60524 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
60525 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
60526 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
60527 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
60528 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
60529 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
60530 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
60531 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
60532 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
60533 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
60534 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
60535 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
60536 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
60537 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
60538 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
60539 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
60540 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
60541 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
60542
60543 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
60544 rename.
60545 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
60546 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
60547 * sysdeps/ieee754/dbl-64/e_atan2.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/s_atan.c: Likewise.
60552 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
60553
60554 2011-10-24 Andreas Schwab <schwab@redhat.com>
60555
60556 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
60557
60558 2011-10-23 Ulrich Drepper <drepper@gmail.com>
60559
60560 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
60561
60562 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
60563 prediction.
60564 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
60565
60566 * string/strnlen.c: Don't define STRNLEN, reverse logic.
60567 Remove unused variable magic_bits.
60568 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
60569
60570 * string/strnlen.c: Define and use STRNLEN macro.
60571 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
60572 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
60573 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
60574 * wcsmbs/wcslen.c: Define and use WCSLEN.
60575 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
60576 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
60577 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
60578 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
60579 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
60580 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
60581 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
60582
60583 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
60584
60585 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60586 strnlen-sse2-no-bsf.
60587 Rename strlen-no-bsf to strlen-sse2-no-bsf.
60588 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
60589 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
60590 Add strnlen support.
60591 (USE_AS_STRNLEN): New macro.
60592 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
60593 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
60594 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
60595 * sysdeps/x86_64/wcslen.S: New file.
60596
60597 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
60598
60599 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
60600 XMM-moves are used for copying on small sizes.
60601
60602 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
60603
60604 * wcsmbs/Makefile (strop-tests): Add wcschr.
60605 * wcsmbs/test-wcschr.c: New file.
60606 * string/test-strchr.c: Update.
60607 Add wcschr support.
60608 (WIDE): New macro.
60609
60610 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
60611
60612 * wcsmbs/Makefile (strop-tests): Add wcslen.
60613 * wcsmbs/test-wcslen.c: New file.
60614 * string/test-strlen.c: Update.
60615 Add wcslen support.
60616 (WIDE): New macro.
60617
60618 2011-10-23 Ulrich Drepper <drepper@gmail.com>
60619
60620 * po/it.po: Update from translation team.
60621
60622 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
60623
60624 * sysdeps/x86_64/wcscmp.S: Update.
60625 Fix wrong comparison semantics.
60626 wcscmp shall use signed comparison not unsigned.
60627 Don't use substraction to avoid overflow bug.
60628 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
60629 * wcsmbc/wcscmp.c: Likewise.
60630 * string/test-strcmp.c: Likewise.
60631 Add new tests to check cases with negative values.
60632
60633 2011-10-23 Ulrich Drepper <drepper@gmail.com>
60634
60635 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
60636 * sysdeps/x86_64/dla.h: ...here. New file.
60637 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
60638 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
60639 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
60640 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
60641 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
60642 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
60643 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
60644 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
60645 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
60646
60647 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
60648
60649 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
60650 __ynl_finite aliases.
60651
60652 2011-10-22 Ulrich Drepper <drepper@gmail.com>
60653
60654 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60655
60656 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
60657 define DLA_FMA.
60658 [DLA_FMA] (EMULV): Use DLA_FMA.
60659 [DLA_FMA] (MUL12): Use EMULV.
60660 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
60661 that are not needed.
60662 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
60663 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
60664 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
60665 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
60666 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
60667 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
60668 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
60669
60670 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
60671
60672 * math/s_nan.c: Undef __nan.
60673 * math/s_nanf.c: Undef __nanf.
60674 * math/s_nanl.c: Undef __nanl.
60675 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
60676 "math_private.h".
60677
60678 2011-10-22 Ulrich Drepper <drepper@gmail.com>
60679
60680 * math/s_catan.c: Add branch predictions.
60681 * math/s_catanf.c: Likewise.
60682 * math/s_catanh.c: Likewise.
60683 * math/s_catanhf.c: Likewise.
60684 * math/s_catanhl.c: Likewise.
60685 * math/s_catanl.c: Likewise.
60686 * math/s_cexp.c: Likewise.
60687 * math/s_cexpf.c: Likewise.
60688 * math/s_cexpl.c: Likewise.
60689 * math/s_clog.c: Likewise.
60690 * math/s_clog10.c: Likewise.
60691 * math/s_clog10f.c: Likewise.
60692 * math/s_clog10l.c: Likewise.
60693 * math/s_clogf.c: Likewise.
60694 * math/s_clogl.c: Likewise.
60695 * math/s_csqrt.c: Likewise.
60696 * math/s_csqrtf.c: Likewise.
60697 * math/s_csqrtl.c: Likewise.
60698 * math/s_ctanf.c: Likewise.
60699 * math/s_ctanh.c: Likewise.
60700 * math/s_ctanhf.c: Likewise.
60701 * math/s_ctanhl.c: Likewise.
60702 * math/s_ctanl.c: Likewise.
60703
60704 * math/math_private.h: Define __nan, __nanf, __nanl.
60705 * math/s_cacosh.c: Include <math_private.h>.
60706 * math/s_cacoshl.c: Likewise.
60707 * math/s_casinh.c: Likewise.
60708 * math/s_casinhf.c: Likewise.
60709 * math/s_casinhl.c: Likewise.
60710 * math/s_ccos.c: Rely entire on ccosh.
60711 * math/s_ccosf.c: Rely entire on ccoshf.
60712 * math/s_ccosl.c: Rely entirely on ccoshl.
60713 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
60714 Remove tests for FE_INVALID.
60715 * math/s_ccoshf.c: Likewise.
60716 * math/s_ccoshl.c: Likewise.
60717 * math/s_csin.c: Likewise.
60718 * math/s_csinf.c: Likewise.
60719 * math/s_csinh.c Likewise.
60720 * math/s_csinhf.c: Likewise.
60721 * math/s_csinhl.c: Likewise.
60722 * math/s_csinl.c: Likewise.
60723 * math/s_ctan.c: Likewise.
60724 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
60725 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
60726 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
60727
60728 2011-10-21 Ulrich Drepper <drepper@gmail.com>
60729
60730 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
60731 compilation problems.
60732
60733 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
60734 __builtin_expect.
60735
60736 2011-10-20 Ulrich Drepper <drepper@gmail.com>
60737
60738 * sysdeps/i386/configure.in: Test for -mfma4 option.
60739 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
60740 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
60741 COMMON_CPUID_INDEX_80000001.
60742 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
60743 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
60744 use it if FMA3 is not supported.
60745 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
60746
60747 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
60748 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
60749
60750 2011-10-20 Andreas Schwab <schwab@redhat.com>
60751
60752 [BZ #12892]
60753 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
60754 it would create a cycle with a link time dependency.
60755
60756 2011-10-19 Ulrich Drepper <drepper@gmail.com>
60757
60758 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
60759 instruction.
60760 * string/Makefile (strop-tests): Add rawmemchr.
60761 * string/test-rawmemchr.c: New file.
60762
60763 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
60764 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
60765 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
60766 when compiling str{,n}casecmp and when AVX is available. Hook up
60767 new optimized code in initializers.
60768
60769 2011-10-19 Andreas Schwab <schwab@redhat.com>
60770
60771 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
60772 __feraiseexcept instead of feraiseexcept.
60773
60774 2011-10-18 Ulrich Drepper <drepper@gmail.com>
60775
60776 * math/math_private.h: Define defaults for libc_fetestexcept and
60777 libc_feupdateenv.
60778 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
60779 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
60780 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
60781 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
60782 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
60783 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
60784 libc_fetestexcept and libc_feupdateenv.
60785
60786 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
60787 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
60788 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
60789 * sysdeps/x86_64/fpu/math_private.h: Define special version of
60790 libc_feholdexcept_setround.
60791
60792 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
60793 Add s_nearbyint-c and s_nearbyintf-c.
60794 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
60795 nearbyintf inlines.
60796 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
60797 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
60798 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
60799 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
60800
60801 * math/math_private.h: Define defaults for libc_fegetround,
60802 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
60803 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
60804 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
60805 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
60806 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
60807 standard functions.
60808 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
60809 Remove comments and hacks for old compiler versions.
60810 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
60811 libc_fegetround, libc_fesetround, libc_feholdexcept, and
60812 libc_feholdexceptl.
60813
60814 2011-10-18 Andreas Schwab <schwab@redhat.com>
60815
60816 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
60817 (__feraiseexcept_renamed): Add __NTH.
60818 (feraiseexcept): Add __NTH. Rename local variables to fix
60819 namespace violations.
60820
60821 2011-10-17 Ulrich Drepper <drepper@gmail.com>
60822
60823 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
60824
60825 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
60826
60827 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
60828 recently added interfaces.
60829 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
60830
60831 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
60832 about macro parameter expansion.
60833
60834 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
60835 __NO_MATH_INLINES is defined. Cleanups.
60836
60837 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
60838 and __floorf is target has SSE4.1.
60839 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
60840 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
60841 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
60842 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
60843
60844 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
60845 name.
60846 (floorf): Likewise.
60847
60848 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
60849
60850 2011-10-17 Andreas Schwab <schwab@redhat.com>
60851
60852 * misc/sys/cdefs.h: Fix last change.
60853
60854 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
60855 database lookup.
60856
60857 2011-10-16 Ulrich Drepper <drepper@gmail.com>
60858
60859 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
60860
60861 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
60862 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
60863 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
60864 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
60865 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
60866 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
60867 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
60868 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
60869 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
60870 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
60871 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
60872 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
60873 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
60874 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
60875 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
60876 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
60877 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
60878 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
60879 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
60880 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
60881 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
60882 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
60883
60884 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
60885 ceil, ceilf, floor, floorf.
60886
60887 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
60888 Perform IRELATIVE relocations last.
60889
60890 * elf/do-rel.h: Add another parameter nrelative, replacing the
60891 local variable with the same name. Change name of the function
60892 to end in Rel or Rela (uppercase).
60893 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
60894 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
60895 elf_dynamic_do_##reloc function.
60896
60897 2011-10-15 Ulrich Drepper <drepper@gmail.com>
60898
60899 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
60900 is sufficient, at least on modern CPUs.
60901
60902 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
60903
60904 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
60905 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
60906
60907 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
60908 __expl_finite.
60909 * math/bits/math-finite.h: Add entries for exp.
60910 * math/e_expl.c: Add __*_finite alias.
60911 * sysdeps/i386/fpu/e_exp.S: Likewise.
60912 * sysdeps/i386/fpu/e_expf.S: Likewise.
60913 * sysdeps/i386/fpu/e_expl.c: Likewise.
60914 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
60915 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
60916 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
60917 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
60918 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
60919 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
60920 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
60921
60922 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
60923 is sufficient, at least on modern CPUs.
60924
60925 * ctype/ctype-info.c (__ctype_init): Define.
60926 * include/ctype.h (__ctype_init): Declare.
60927 (__ctype_b_loc): The variable is always initialized.
60928 (__ctype_toupper_loc): Likewise.
60929 (__ctype_tolower_loc): Likewise.
60930 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
60931 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
60932
60933 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
60934
60935 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
60936
60937 * configure.in: Also look in $cxxmachine/include for C++ system
60938 headers.
60939
60940 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
60941
60942 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
60943 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
60944 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
60945 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
60946 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
60947 (USE_AS_WMEMCMP): New macro.
60948 Fixing indents.
60949 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
60950 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
60951 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
60952 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
60953 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60954 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
60955 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
60956 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
60957 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
60958 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
60959 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
60960 (USE_AS_WMEMCMP): New macro.
60961 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
60962 * sysdeps/string/test-memcmp.c: Update.
60963 Fix simple_wmemcmp.
60964 Add new tests.
60965 * wcsmbs/wmemcmp.c: Update.
60966 (WMEMCMP): New macro.
60967 Fix overflow bug.
60968
60969 2011-10-12 Andreas Jaeger <aj@suse.de>
60970
60971 [BZ #13268]
60972 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
60973
60974 2011-10-15 Ulrich Drepper <drepper@gmail.com>
60975
60976 * libio/iofwide.c (do_length): Avoid warning.
60977
60978 * ctype/ctype.h (__isctype_f): Add missing __THROW.
60979
60980 2011-10-14 Ulrich Drepper <drepper@gmail.com>
60981
60982 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
60983
60984 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
60985 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
60986 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
60987 * sysdeps/i386/i686/fpu/e_log.S: New file.
60988 * sysdeps/i386/i686/fpu/e_logf.S: New file.
60989 * sysdeps/i386/i686/fpu/e_logl.S: New file.
60990
60991 * ctype/ctype.h: Add support for inlined isXXX functions when
60992 compiling C++ code.
60993
60994 2011-10-14 Andreas Schwab <schwab@redhat.com>
60995
60996 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
60997
60998 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
60999
61000 2011-10-13 Roland McGrath <roland@hack.frob.com>
61001
61002 [BZ #13291]
61003 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
61004
61005 2011-10-13 Andreas Schwab <schwab@redhat.com>
61006
61007 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
61008 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
61009 feraiseexcept.
61010
61011 * sysdeps/x86_64/memrchr.S: Check for zero size.
61012
61013 * string/stratcliff.c: Add memrchr tests.
61014
61015 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
61016
61017 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61018 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
61019 rawmemchr-sse2 rawmemchr-sse2-bsf.
61020 * sysdeps/i386/i686/multiarch/memchr.S: New file.
61021 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
61022 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
61023 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
61024 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
61025 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
61026 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
61027 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
61028 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
61029 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
61030 * string/memrchr.c (MEMRCHR): New macro.
61031
61032 2011-10-12 Ulrich Drepper <drepper@gmail.com>
61033
61034 Add integration with gcc's -ffinite-math-only and optimize wrapper
61035 functions in libm.
61036 * Versions.def: Define GLIBC_2.15 version for libm.
61037 * math/Makefile (headers): Add bits/math-finite.h.
61038 * math/bits/math-finite.h: New file.
61039 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
61040 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
61041 * math/e_acoshl.c: Add __*_finite alias.
61042 * math/e_acosl.c: Likewise.
61043 * math/e_asinl.c: Likewise.
61044 * math/e_atan2l.c: Likewise.
61045 * math/e_atanhl.c: Likewise.
61046 * math/e_coshl.c: Likewise.
61047 * math/e_exp10.c: Likewise.
61048 * math/e_exp10f.c: Likewise.
61049 * math/e_exp10l.c: Likewise.
61050 * math/e_exp2l.c: Likewise.
61051 * math/e_fmodl.c: Likewise.
61052 * math/e_gammal_r.c: Likewise.
61053 * math/e_hypotl.c: Likewise.
61054 * math/e_j0l.c: Likewise.
61055 * math/e_j1l.c: Likewise.
61056 * math/e_jnl.c: Likewise.
61057 * math/e_lgammal_r.c: Likewise.
61058 * math/e_log10l.c: Likewise.
61059 * math/e_log2l.c: Likewise.
61060 * math/e_logl.c: Likewise.
61061 * math/e_powl.c: Likewise.
61062 * math/e_sinhl.c: Likewise.
61063 * math/e_sqrtl.c: Likewise.
61064 * math/e_scalb.c: Completely rewritten and optimized.
61065 * math/e_scalbf.c: Likewise.
61066 * math/e_scalbl.c: Likewise.
61067 * math/w_acos.c: Likewise.
61068 * math/w_acosf.c: Likewise.
61069 * math/w_acosl.c: Likewise.
61070 * math/w_acosh.c: Likewise.
61071 * math/w_acoshf.c: Likewise.
61072 * math/w_acoshl.c: Likewise.
61073 * math/w_asin.c: Likewise.
61074 * math/w_asinf.c: Likewise.
61075 * math/w_asinl.c: Likewise.
61076 * math/w_atan2.c: Likewise.
61077 * math/w_atan2f.c: Likewise.
61078 * math/w_atan2l.c: Likewise.
61079 * math/w_atanh.c: Likewise.
61080 * math/w_atanhf.c: Likewise.
61081 * math/w_atanhl.c: Likewise.
61082 * math/w_exp10.c: Likewise.
61083 * math/w_exp10f.c: Likewise.
61084 * math/w_exp10l.c: Likewise.
61085 * math/w_fmod.c: Likewise.
61086 * math/w_fmodf.c: Likewise.
61087 * math/w_fmodl.c: Likewise.
61088 * math/w_j0.c: Likewise.
61089 * math/w_j0f.c: Likewise.
61090 * math/w_j0l.c: Likewise.
61091 * math/w_j1.c: Likewise.
61092 * math/w_j1f.c: Likewise.
61093 * math/w_j1l.c: Likewise.
61094 * math/w_jn.c: Likewise.
61095 * math/w_jnf.c: Likewise.
61096 * math/w_log.c: Likewise.
61097 * math/w_logf.c: Likewise.
61098 * math/w_logl.c: Likewise.
61099 * math/w_log10.c: Likewise.
61100 * math/w_log10f.c: Likewise.
61101 * math/w_log10l.c: Likewise.
61102 * math/w_log2.c: Likewise.
61103 * math/w_log2f.c: Likewise.
61104 * math/w_log2l.c: Likewise.
61105 * math/w_pow.c: Likewise.
61106 * math/w_powf.c: Likewise.
61107 * math/w_powl.c: Likewise.
61108 * math/w_remainder.c: Likewise.
61109 * math/w_remainderf.c: Likewise.
61110 * math/w_remainderl.c: Likewise.
61111 * math/w_scalb.c: Likewise.
61112 * math/w_scalbf.c: Likewise.
61113 * math/w_scalbl.c: Likewise.
61114 * math/w_sqrt.c: Likewise.
61115 * math/w_sqrtf.c: Likewise.
61116 * math/w_sqrtl.c: Likewise.
61117 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
61118 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
61119 used.
61120 * math/math_private.h: Declare __kernel_standard_f.
61121 * math/w_cosh.c: Remove cruft and optimize a bit.
61122 * math/w_coshf.c: Likewise.
61123 * math/w_coshl.c: Likewise.
61124 * math/w_exp2.c: Likewise.
61125 * math/w_exp2f.c: Likewise.
61126 * math/w_exp2l.c: Likewise.
61127 * math/w_hypot.c: Likewise.
61128 * math/w_hypotf.c: Likewise.
61129 * math/w_hypotl.c: Likewise.
61130 * math/w_lgamma.c: Likewise.
61131 * math/w_lgamma_r.c: Likewise.
61132 * math/w_lgammaf.c: Likewise.
61133 * math/w_lgammaf_r.c: Likewise.
61134 * math/w_lgammal.c: Likewise.
61135 * math/w_lgammal_r.c: Likewise.
61136 * math/w_sinh.c: Likewise.
61137 * math/w_sinhf.c: Likewise.
61138 * math/w_sinhl.c: Likewise.
61139 * math/w_tgamma.c: Likewise.
61140 * math/w_tgammaf.c: Likewise.
61141 * math/w_tgammal.c: Likewise.
61142 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
61143 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
61144 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
61145 Minor optimizations. Pretty printing. Remove cruft.
61146 * sysdeps/i386/fpu/e_acosf.S: Likewise.
61147 * sysdeps/i386/fpu/e_acosh.S: Likewise.
61148 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
61149 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
61150 * sysdeps/i386/fpu/e_acosl.c: Likewise.
61151 * sysdeps/i386/fpu/e_asin.S: Likewise.
61152 * sysdeps/i386/fpu/e_asinf.S: Likewise.
61153 * sysdeps/i386/fpu/e_atan2.S: Likewise.
61154 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
61155 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
61156 * sysdeps/i386/fpu/e_atanh.S: Likewise.
61157 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
61158 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
61159 * sysdeps/i386/fpu/e_exp10.S: Likewise.
61160 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
61161 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
61162 * sysdeps/i386/fpu/e_exp2.S: Likewise.
61163 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
61164 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
61165 * sysdeps/i386/fpu/e_fmod.S: Likewise.
61166 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
61167 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
61168 * sysdeps/i386/fpu/e_hypot.S: Likewise.
61169 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
61170 * sysdeps/i386/fpu/e_log.S: Likewise.
61171 * sysdeps/i386/fpu/e_log10.S: Likewise.
61172 * sysdeps/i386/fpu/e_log10f.S: Likewise.
61173 * sysdeps/i386/fpu/e_log10l.S: Likewise.
61174 * sysdeps/i386/fpu/e_log2.S: Likewise.
61175 * sysdeps/i386/fpu/e_log2f.S: Likewise.
61176 * sysdeps/i386/fpu/e_log2l.S: Likewise.
61177 * sysdeps/i386/fpu/e_logf.S: Likewise.
61178 * sysdeps/i386/fpu/e_logl.S: Likewise.
61179 * sysdeps/i386/fpu/e_pow.S: Likewise.
61180 * sysdeps/i386/fpu/e_powf.S: Likewise.
61181 * sysdeps/i386/fpu/e_powl.S: Likewise.
61182 * sysdeps/i386/fpu/e_remainder.S: Likewise.
61183 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
61184 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
61185 * sysdeps/i386/fpu/e_scalb.S: Likewise.
61186 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
61187 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
61188 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
61189 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
61190 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
61191 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
61192 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
61193 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
61194 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
61195 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
61196 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
61197 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
61198 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
61199 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
61200 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
61201 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
61202 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
61203 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
61204 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
61205 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
61206 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
61207 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
61208 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
61209 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
61210 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
61211 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
61212 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
61213 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
61214 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
61215 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
61216 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
61217 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
61218 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
61219 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
61220 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
61221 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
61222 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
61223 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
61224 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
61225 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
61226 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
61227 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
61228 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
61229 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
61230 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
61231 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
61232 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
61233 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
61234 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
61235 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
61236 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
61237 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
61238 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
61239 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
61240 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
61241 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
61242 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
61243 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
61244 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
61245 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
61246 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
61247 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
61248 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
61249 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
61250 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
61251 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
61252 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
61253 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
61254 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
61255 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
61256 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
61257 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
61258 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
61259 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
61260 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
61261 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
61262 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
61263 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
61264 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
61265 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
61266 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
61267 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
61268 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
61269 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
61270 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
61271 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
61272 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
61273 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
61274 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
61275 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
61276 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
61277 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
61278 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
61279 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
61280 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
61281 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
61282 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
61283 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
61284 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
61285 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
61286 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
61287 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
61288 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
61289 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
61290 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
61291 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
61292 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
61293 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
61294 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
61295 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
61296 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
61297 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
61298 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
61299 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
61300 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
61301 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
61302 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
61303 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
61304 (__isnanf): Likewise.
61305 (__isinf_ns): Likewise.
61306 (__isinf_nsf): Likewise.
61307 (__finite): Likewise.
61308 (__finitef): Likewise.
61309 (__ieee754_sqrt): Define as macro.
61310 (__ieee754_sqrtf): Define as macro.
61311 (__ieee754_sqrtl): Define as macro.
61312 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
61313 inlined copy.
61314 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
61315 __FINITE_MATH_ONLY__ consistent.
61316 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
61317
61318 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
61319
61320 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
61321 of rawmemchr.
61322
61323 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
61324
61325 2011-10-09 Ulrich Drepper <drepper@gmail.com>
61326
61327 * po/ja.po: Update from translation team.
61328
61329 2011-10-08 Roland McGrath <roland@hack.frob.com>
61330
61331 * locale/programs/locarchive.c (prepare_address_space): New function.
61332 (create_archive, enlarge_archive, open_archive): Use it.
61333
61334 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
61335 inside [SHARED], where it is used.
61336
61337 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
61338
61339 * nss/getent.c (netgroup_keys): Remove unused variable.
61340 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
61341
61342 2011-10-08 Ulrich Drepper <drepper@gmail.com>
61343
61344 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
61345 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
61346 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
61347 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
61348 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
61349 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
61350 * math/Makefile (libm-calls): Add s_isinf_ns.
61351 * math/divtc3.c: Use __isinf_nsl instead of isinf.
61352 * math/multc3.c: Likewise.
61353 * math/s_casin.c: Likewise.
61354 * math/s_casinf.c: Likewise.
61355 * math/s_casinl.c: Likewise.
61356 * math/s_ccos.c: Likewise.
61357 * math/s_ccosf.c: Likewise.
61358 * math/s_ccosl.c: Likewise.
61359 * math/s_ctan.c: Likewise.
61360 * math/s_ctanf.c: Likewise.
61361 * math/s_ctanh.c: Likewise.
61362 * math/s_ctanhf.c: Likewise.
61363 * math/s_ctanhl.c: Likewise.
61364 * math/s_ctanl.c: Likewise.
61365 * math/w_fmod.c: Likewise.
61366 * math/w_fmodf.c: Likewise.
61367 * math/w_fmodl.c: Likewise.
61368 * math/w_remainder.c: Likewise.
61369 * math/w_remainderf.c: Likewise.
61370 * math/w_remainderl.c: Likewise.
61371 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
61372 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
61373 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
61374 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
61375 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
61376 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
61377 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
61378 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
61379
61380 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
61381 of the number.
61382 * stdio-common/printf_fphex.c: Likewise.
61383 * stdio-common/printf_size.c: Likewise.
61384
61385 * math/e_exp10.c: Include math_private.h using <...> not "...".
61386 * math/e_exp10f.c: Likewise.
61387 * math/e_exp10l.c: Likewise.
61388 * math/e_exp2l.c: Likewise.
61389 * math/e_j0l.c: Likewise.
61390 * math/e_j1l.c: Likewise.
61391 * math/e_jnl.c: Likewise.
61392 * math/e_lgammal_r.c: Likewise.
61393 * math/e_rem_pio2l.c: Likewise.
61394 * math/e_scalb.c: Likewise.
61395 * math/e_scalbf.c: Likewise.
61396 * math/e_scalbl.c: Likewise.
61397 * math/k_cosl.c: Likewise.
61398 * math/k_sinl.c: Likewise.
61399 * math/k_tanl.c: Likewise.
61400 * math/s_cacoshf.c: Likewise.
61401 * math/s_catan.c: Likewise.
61402 * math/s_catanf.c: Likewise.
61403 * math/s_catanh.c: Likewise.
61404 * math/s_catanhf.c: Likewise.
61405 * math/s_catanhl.c: Likewise.
61406 * math/s_catanl.c: Likewise.
61407 * math/s_ccosh.c: Likewise.
61408 * math/s_ccoshf.c: Likewise.
61409 * math/s_ccoshl.c: Likewise.
61410 * math/s_cexp.c: Likewise.
61411 * math/s_cexpf.c: Likewise.
61412 * math/s_cexpl.c: Likewise.
61413 * math/s_clog.c: Likewise.
61414 * math/s_clog10.c: Likewise.
61415 * math/s_clog10f.c: Likewise.
61416 * math/s_clog10l.c: Likewise.
61417 * math/s_clogf.c: Likewise.
61418 * math/s_clogl.c: Likewise.
61419 * math/s_csin.c: Likewise.
61420 * math/s_csinf.c: Likewise.
61421 * math/s_csinh.c: Likewise.
61422 * math/s_csinhf.c: Likewise.
61423 * math/s_csinhl.c: Likewise.
61424 * math/s_csinl.c: Likewise.
61425 * math/s_csqrt.c: Likewise.
61426 * math/s_csqrtf.c: Likewise.
61427 * math/s_csqrtl.c: Likewise.
61428 * math/s_ctan.c: Likewise.
61429 * math/s_ctanf.c: Likewise.
61430 * math/s_ctanh.c: Likewise.
61431 * math/s_ctanhf.c: Likewise.
61432 * math/s_ctanhl.c: Likewise.
61433 * math/s_ctanl.c: Likewise.
61434 * math/s_ldexp.c: Likewise.
61435 * math/s_ldexpf.c: Likewise.
61436 * math/s_ldexpl.c: Likewise.
61437 * math/s_significand.c: Likewise.
61438 * math/s_significandf.c: Likewise.
61439 * math/s_significandl.c: Likewise.
61440 * math/w_acos.c: Likewise.
61441 * math/w_acosf.c: Likewise.
61442 * math/w_acosh.c: Likewise.
61443 * math/w_acoshf.c: Likewise.
61444 * math/w_acoshl.c: Likewise.
61445 * math/w_acosl.c: Likewise.
61446 * math/w_asin.c: Likewise.
61447 * math/w_asinf.c: Likewise.
61448 * math/w_asinl.c: Likewise.
61449 * math/w_atan2.c: Likewise.
61450 * math/w_atan2f.c: Likewise.
61451 * math/w_atan2l.c: Likewise.
61452 * math/w_atanh.c: Likewise.
61453 * math/w_atanhf.c: Likewise.
61454 * math/w_atanhl.c: Likewise.
61455 * math/w_cosh.c: Likewise.
61456 * math/w_coshf.c: Likewise.
61457 * math/w_coshl.c: Likewise.
61458 * math/w_dremf.c: Likewise.
61459 * math/w_exp10.c: Likewise.
61460 * math/w_exp10f.c: Likewise.
61461 * math/w_exp10l.c: Likewise.
61462 * math/w_exp2.c: Likewise.
61463 * math/w_exp2f.c: Likewise.
61464 * math/w_fmod.c: Likewise.
61465 * math/w_fmodf.c: Likewise.
61466 * math/w_fmodl.c: Likewise.
61467 * math/w_hypot.c: Likewise.
61468 * math/w_hypotf.c: Likewise.
61469 * math/w_hypotl.c: Likewise.
61470 * math/w_j0.c: Likewise.
61471 * math/w_j0f.c: Likewise.
61472 * math/w_j0l.c: Likewise.
61473 * math/w_j1.c: Likewise.
61474 * math/w_j1f.c: Likewise.
61475 * math/w_j1l.c: Likewise.
61476 * math/w_jn.c: Likewise.
61477 * math/w_jnf.c: Likewise.
61478 * math/w_jnl.c: Likewise.
61479 * math/w_lgamma.c: Likewise.
61480 * math/w_lgamma_r.c: Likewise.
61481 * math/w_lgammaf.c: Likewise.
61482 * math/w_lgammaf_r.c: Likewise.
61483 * math/w_lgammal.c: Likewise.
61484 * math/w_lgammal_r.c: Likewise.
61485 * math/w_log.c: Likewise.
61486 * math/w_log10.c: Likewise.
61487 * math/w_log10f.c: Likewise.
61488 * math/w_log10l.c: Likewise.
61489 * math/w_log2.c: Likewise.
61490 * math/w_log2f.c: Likewise.
61491 * math/w_log2l.c: Likewise.
61492 * math/w_logf.c: Likewise.
61493 * math/w_logl.c: Likewise.
61494 * math/w_pow.c: Likewise.
61495 * math/w_powf.c: Likewise.
61496 * math/w_powl.c: Likewise.
61497 * math/w_remainder.c: Likewise.
61498 * math/w_remainderf.c: Likewise.
61499 * math/w_remainderl.c: Likewise.
61500 * math/w_scalb.c: Likewise.
61501 * math/w_scalbf.c: Likewise.
61502 * math/w_scalbl.c: Likewise.
61503 * math/w_sinh.c: Likewise.
61504 * math/w_sinhf.c: Likewise.
61505 * math/w_sinhl.c: Likewise.
61506 * math/w_sqrt.c: Likewise.
61507 * math/w_sqrtf.c: Likewise.
61508 * math/w_sqrtl.c: Likewise.
61509 * math/w_tgamma.c: Likewise.
61510 * math/w_tgammaf.c: Likewise.
61511 * math/w_tgammal.c: Likewise.
61512
61513 * po/ja.po: Update from translation team.
61514
61515 2011-09-29 Andreas Jaeger <aj@suse.de>
61516
61517 [BZ #13179]
61518 * sunrpc/netname.c (netname2host): Fix logic.
61519
61520 [BZ #6779]
61521 [BZ #6783]
61522 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
61523 correctly.
61524 * math/w_remainder.c (__remainder): Likewise.
61525 * math/w_remainderf.c (__remainderf): Likewise.
61526 * math/libm-test.inc (remainder_test): Add test cases.
61527
61528 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
61529
61530 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
61531 sdiv_qrnnd.
61532
61533 2011-10-07 Ulrich Drepper <drepper@gmail.com>
61534
61535 * string/test-memcmp.c: Avoid unncessary #defines.
61536 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
61537
61538 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
61539
61540 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
61541 Use new sse2 version for core i3 - i7 as it's faster
61542 than sse42 version.
61543 (bit_Prefer_PMINUB_for_stringop): New.
61544 * sysdeps/x86_64/rawmemchr.S: Update.
61545 Replace with faster SSE2 version.
61546 * sysdeps/x86_64/memrchr.S: New file.
61547 * sysdeps/x86_64/memchr.S: Update.
61548 Replace with faster SSE2 version.
61549
61550 2011-09-12 Marek Polacek <mpolacek@redhat.com>
61551
61552 * elf/dl-load.c (lose): Add cast to avoid warning.
61553
61554 2011-10-07 Ulrich Drepper <drepper@gmail.com>
61555
61556 * po/ca.po: Update from translation team.
61557
61558 * inet/getnetgrent_r.c: Hook up nscd.
61559 * nscd/Makefile (routines): Add nscd_netgroup.
61560 (nscd-modules): Add netgroupcache.
61561 (CFLAGS-netgroupcache.c): Define.
61562 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
61563 (cache_search): Add const to second parameter.
61564 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
61565 INNETGR.
61566 (dbs): Add netgrdb entry.
61567 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
61568 (verify_persistent_db): Handle netgrdb.
61569 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
61570 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
61571 GETFDNETGR.
61572 (netgroup_response_header): Define.
61573 (innetgroup_response_header): Define.
61574 (datahead): Add netgroup_response_header and innetgroup_response_header
61575 elements.
61576 * nscd/nscd.conf: Add entries for netgroup cache.
61577 * nscd/nscd.h (dbtype): Add netgrdb.
61578 (_PATH_NSCD_NETGROUP_DB): Define.
61579 (netgroup_iov_disabled): Declare.
61580 (xmalloc, xcalloc, xrealloc): Move declarations here.
61581 (cache_search): Adjust prototype.
61582 Add netgroup-related prototypes.
61583 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
61584 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
61585 (__nscd_innetgr): Declare.
61586 * nscd/selinux.c (perms): Use access_vector_t as element type and
61587 add netgroup-related initializers.
61588 * nscd/netgroupcache.c: New file.
61589 * nscd/nscd_netgroup.c: New file.
61590 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
61591 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
61592 For four parameters use innetgr.
61593 * nss/nss_files/files-init.c: Add definition and callback for netgr.
61594 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
61595 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
61596 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
61597
61598 * nscd/connections.c (register_traced_file): Don't register file
61599 for disabled databases.
61600
61601 2011-10-06 Ulrich Drepper <drepper@gmail.com>
61602
61603 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
61604
61605 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
61606 from tree and freeing node.
61607
61608 2011-09-25 Jiri Olsa <jolsa@redhat.com>
61609
61610 * nss/nsswitch.c (__nss_database_lookup): Handle
61611 nss_parse_service_list out of memory case.
61612
61613 2011-09-15 Jiri Olsa <jolsa@redhat.com>
61614
61615 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
61616 out of memory case.
61617
61618 2011-10-04 Andreas Schwab <schwab@redhat.com>
61619
61620 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
61621 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
61622 pass it down.
61623 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
61624 elf_machine_rela, elf_machine_lazy_rel.
61625 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
61626 (ELF_DYNAMIC_DO_REL): Likewise.
61627 (ELF_DYNAMIC_DO_RELA): Likewise.
61628 (ELF_DYNAMIC_RELOCATE): Likewise.
61629 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
61630 to ELF_DYNAMIC_DO_REL.
61631 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
61632 (dl_main): In trace mode always set __RTLD_NOIFUNC.
61633 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
61634 elf_machine_rela.
61635 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
61636 skip_ifunc, don't call ifunc function if non-zero.
61637 (elf_machine_rela): Likewise.
61638 (elf_machine_lazy_rel): Likewise.
61639 (elf_machine_lazy_rela): Likewise.
61640 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
61641 (elf_machine_lazy_rel): Likewise.
61642 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
61643 Likewise.
61644 (elf_machine_lazy_rel): Likewise.
61645 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
61646 Likewise.
61647 (elf_machine_lazy_rel): Likewise.
61648 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
61649 (elf_machine_lazy_rel): Likewise.
61650 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
61651 (elf_machine_lazy_rel): Likewise.
61652 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
61653 (elf_machine_lazy_rel): Likewise.
61654 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
61655 (elf_machine_lazy_rel): Likewise.
61656 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
61657 (elf_machine_lazy_rel): Likewise.
61658 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
61659 (elf_machine_lazy_rel): Likewise.
61660
61661 2011-09-28 Ulrich Drepper <drepper@gmail.com>
61662
61663 * nss/nss_files/files-init.c (_nss_files_init): Use static
61664 initialization for all the *_traced_file variables.
61665
61666 2011-09-28 Andreas Schwab <schwab@redhat.com>
61667
61668 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
61669
61670 2011-09-27 Roland McGrath <roland@hack.frob.com>
61671
61672 [BZ #13226]
61673 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
61674
61675 2011-09-27 Andreas Schwab <schwab@redhat.com>
61676
61677 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
61678 Reread the line before reparsing it.
61679
61680 2011-09-26 Andreas Schwab <schwab@redhat.com>
61681
61682 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
61683
61684 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
61685 Maxim Kuvyrkov <maxim@codesourcery.com>
61686 Joseph Myers <joseph@codesourcery.com>
61687
61688 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
61689 if needed for __stack_chk_guard.
61690
61691 2011-09-19 Roland McGrath <roland@hack.frob.com>
61692
61693 * sysdeps/posix/spawni.c (script_execute): Always define it.
61694 It will be optimized away if unused.
61695 (maybe_script_execute): New function.
61696 (__spawni): Call it.
61697
61698 * Makerules: Don't include tls.make.
61699 (config-tls): Always set to thread.
61700 * tls.make.c: File removed.
61701
61702 2011-09-19 Mike Frysinger <vapier@gentoo.org>
61703
61704 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
61705 * config.make.in (CPPFLAGS-config): New substituted variable.
61706
61707 2011-09-15 Ulrich Drepper <drepper@gmail.com>
61708
61709 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
61710
61711 [BZ #13192]
61712 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
61713 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
61714
61715 2011-09-15 Roland McGrath <roland@hack.frob.com>
61716
61717 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
61718 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
61719 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
61720 (CALL_FAIL): Likewise.
61721 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
61722 (CALL_FAIL): Macro removed.
61723 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
61724
61725 2011-09-15 Ulrich Drepper <drepper@gmail.com>
61726
61727 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
61728 for __FINITE_MATH_ONLY__ == 1.
61729
61730 2011-09-15 Andreas Schwab <schwab@redhat.com>
61731
61732 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
61733 __ieee754_sqrt instead of sqrt.
61734 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
61735 __ieee754_sqrtf instead of sqrtf.
61736 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
61737 __floorf instead of floorf.
61738 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
61739 __floorf, __truncf instead of floorf, truncf.
61740
61741 2011-09-14 Ulrich Drepper <drepper@gmail.com>
61742
61743 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
61744
61745 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
61746 __extern_always_inline.
61747 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
61748 32-bit.
61749
61750 2011-09-14 Andreas Schwab <schwab@redhat.com>
61751
61752 * elf/rtld.c (dl_main): Also relocate in dependency order when
61753 doing symbol dependency testing.
61754
61755 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
61756
61757 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
61758 Always define `refsym'.
61759
61760 2011-09-13 Andreas Schwab <schwab@redhat.com>
61761
61762 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
61763 (__FD_ELT): Renamed from __FDELT.
61764 * misc/bits/select2.h (__FD_ELT): Likewise.
61765 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
61766 __FD_MASK instead of __FDELT, __FDMASK.
61767 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
61768 Likewise.
61769 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
61770 Likewise.
61771
61772 * elf/Makefile (gen-ldd): Fix pattern.
61773
61774 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
61775 (init_tls): Likewise.
61776
61777 2011-09-12 Ulrich Drepper <drepper@gmail.com>
61778
61779 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
61780
61781 2011-09-12 Andreas Schwab <schwab@redhat.com>
61782
61783 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
61784 `struct cmsghdr *' instead of `void *'.
61785 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
61786 Likewise.
61787
61788 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
61789
61790 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
61791 if non-absolute.
61792 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
61793 ldd_rewrite_script.
61794
61795 2011-09-11 Ulrich Drepper <drepper@gmail.com>
61796
61797 * configure.in: Remove --with-tls option.
61798 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
61799 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
61800 out in case it is missing.
61801 * sysdeps/ia64/elf/configure.in: Likewise.
61802 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
61803 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
61804 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
61805 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
61806 * sysdeps/sh/elf/configure.in: Likewise.
61807 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
61808 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
61809 * sysdeps/x86_64/elf/configure.in: Likewise.
61810 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
61811 * sysdeps/mach/hurd/tls.h: Likewise.
61812
61813 [BZ #13067]
61814 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
61815
61816 [BZ #13090]
61817 * configure.in: Fix use of AC_INIT.
61818
61819 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
61820
61821 2011-09-10 Ulrich Drepper <drepper@gmail.com>
61822
61823 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
61824 __set_errno.
61825 * malloc/hooks.c: Likewise.
61826
61827 [BZ #11929]
61828 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
61829 variables statically.
61830 (narenas): Initialize.
61831 (list_lock): Initialize.
61832 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
61833 initializtion of main_arena and list_lock. Small cleanups.
61834 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
61835 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
61836 Add initializers to main_arena and mp_.
61837 (malloc_state): Remove pagesize member. Change all users to use
61838 GLRO(dl_pagesize).
61839
61840 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
61841 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
61842 is always initialized.
61843
61844 * malloc/malloc.c: Removed unused configurations and dead code.
61845 * malloc/arena.c: Likewise.
61846 * malloc/hooks.c: Likewise.
61847 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
61848
61849 * include/tls.h: Removed. USE___THREAD must always be defined.
61850 * bits/libc-tsd.h: Don't handle !USE___THREAD.
61851 * elf/dl-libc.c: Likewise.
61852 * elf/dl-tsd.c: Likewise.
61853 * include/errno.h: Likewise.
61854 * include/netdb.h: Likewise.
61855 * include/resolv.h: Likewise.
61856 * inet/herrno-loc.c: Likewise.
61857 * inet/herrno.c: Likewise.
61858 * malloc/arena.c: Likewise.
61859 * malloc/hooks.c: Likewise.
61860 * malloc/malloc.c: Likewise.
61861 * resolv/res-state.c: Likewise.
61862 * resolv/res_libc.c: Likewise.
61863 * sysdeps/i386/dl-machine.h: Likewise.
61864 * sysdeps/ia64/dl-machine.h: Likewise.
61865 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
61866 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
61867 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
61868 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
61869 * sysdeps/sh/dl-machine.h: Likewise.
61870 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
61871 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
61872 * sysdeps/unix/i386/sysdep.S: Likewise.
61873 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
61874 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
61875 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
61876 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
61877 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
61878 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
61879 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
61880 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
61881 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
61882 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
61883 * sysdeps/unix/x86_64/sysdep.S: Likewise.
61884 * sysdeps/x86_64/dl-machine.h: Likewise.
61885 * tls.make.c: Likewise.
61886
61887 * configure.in: Remove --with-__thread option. Make tests for
61888 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
61889 tls_model attribute fail if no support is available. Remove
61890 USE_IN_LIBIO.
61891 * Makeconfig: Adjust for dropped configure option. All features are
61892 now mandatory.
61893 * Makerules: Likewise.
61894 * Versions.def: Likewise.
61895 * argp/argp-fmtstream.c: Likewise.
61896 * argp/argp-fmtstream.h: Likewise.
61897 * argp/argp-help.c: Likewise.
61898 * assert/assert.c: Likewise.
61899 * config.h.in: Likewise.
61900 * config.make.in: Likewise.
61901 * configure: Likewise.
61902 * configure.in: Likewise.
61903 * csu/Versions: Likewise.
61904 * csu/init.c: Likewise.
61905 * elf/tst-audit2.c: Likewise.
61906 * elf/tst-tls10.c: Likewise.
61907 * elf/tst-tls10.h: Likewise.
61908 * elf/tst-tls11.c: Likewise.
61909 * elf/tst-tls12.c: Likewise.
61910 * elf/tst-tls14.c: Likewise.
61911 * elf/tst-tlsmod11.c: Likewise.
61912 * elf/tst-tlsmod12.c: Likewise.
61913 * elf/tst-tlsmod13.c: Likewise.
61914 * elf/tst-tlsmod13a.c: Likewise.
61915 * elf/tst-tlsmod14a.c: Likewise.
61916 * elf/tst-tlsmod15b.c: Likewise.
61917 * elf/tst-tlsmod16a.c: Likewise.
61918 * elf/tst-tlsmod16b.c: Likewise.
61919 * elf/tst-tlsmod7.c: Likewise.
61920 * elf/tst-tlsmod8.c: Likewise.
61921 * elf/tst-tlsmod9.c: Likewise.
61922 * gmon/gmon.c: Likewise.
61923 * grp/fgetgrent_r.c: Likewise.
61924 * grp/putgrent.c: Likewise.
61925 * hurd/fopenport.c: Likewise.
61926 * include/libc-symbols.h: Likewise.
61927 * include/tls.h: Likewise.
61928 * intl/gettextP.h: Likewise.
61929 * intl/loadinfo.h: Likewise.
61930 * locale/global-locale.c: Likewise.
61931 * locale/localeinfo.h: Likewise.
61932 * mach/devstream.c: Likewise.
61933 * malloc/arena.c: Likewise.
61934 * malloc/set-freeres.c: Likewise.
61935 * misc/err.c: Likewise.
61936 * misc/getttyent.c: Likewise.
61937 * misc/mntent_r.c: Likewise.
61938 * posix/getopt.c: Likewise.
61939 * posix/wordexp.c: Likewise.
61940 * pwd/fgetpwent_r.c: Likewise.
61941 * resolv/Versions: Likewise.
61942 * resolv/res_hconf.c: Likewise.
61943 * shadow/fgetspent_r.c: Likewise.
61944 * shadow/putspent.c: Likewise.
61945 * stdio-common/printf_fphex.c: Likewise.
61946 * stdio-common/tmpfile.c: Likewise.
61947 * stdlib/abort.c: Likewise.
61948 * stdlib/fmtmsg.c: Likewise.
61949 * sunrpc/auth_unix.c: Likewise.
61950 * sunrpc/clnt_perr.c: Likewise.
61951 * sunrpc/clnt_tcp.c: Likewise.
61952 * sunrpc/clnt_udp.c: Likewise.
61953 * sunrpc/clnt_unix.c: Likewise.
61954 * sunrpc/openchild.c: Likewise.
61955 * sunrpc/svc_simple.c: Likewise.
61956 * sunrpc/svc_tcp.c: Likewise.
61957 * sunrpc/svc_udp.c: Likewise.
61958 * sunrpc/svc_unix.c: Likewise.
61959 * sunrpc/xdr.c: Likewise.
61960 * sunrpc/xdr_array.c: Likewise.
61961 * sunrpc/xdr_rec.c: Likewise.
61962 * sunrpc/xdr_ref.c: Likewise.
61963 * sunrpc/xdr_stdio.c: Likewise.
61964
61965 2011-09-09 Ulrich Drepper <drepper@gmail.com>
61966
61967 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
61968
61969 2011-07-03 Andreas Jaeger <aj@suse.de>
61970
61971 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
61972 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
61973 regenerate with gen-libm-tests.pl.
61974
61975 2010-05-12 Petr Baudis <pasky@suse.cz>
61976
61977 [BZ #11589]
61978 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
61979 around j0() zero points by switching to j1().
61980 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
61981 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
61982 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
61983 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
61984
61985 2011-09-09 Ulrich Drepper <drepper@gmail.com>
61986
61987 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
61988 instead of 0.
61989 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
61990 instead of 0.
61991 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
61992 Patch in part by Pavel Roskin <proski@gnu.org>.
61993
61994 [BZ #13138]
61995 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
61996 realloc.
61997 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
61998 Free memory block if necessary.
61999
62000 [BZ #12847]
62001 * libio/genops.c (INTDEF): For string streams the _lock pointer can
62002 be NULL. Don't lock in this case.
62003
62004 2011-09-09 Roland McGrath <roland@hack.frob.com>
62005
62006 * elf/elf.h (ELFOSABI_GNU): New macro.
62007 (ELFOSABI_LINUX): Define to that.
62008
62009 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
62010
62011 * string/strncat.c (strncat): Undef the symbol in case it has been
62012 defined in bits/string.h.
62013
62014 2011-09-09 Ulrich Drepper <drepper@gmail.com>
62015
62016 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
62017
62018 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
62019 link map.
62020
62021 2011-08-17 Andreas Jaeger <aj@suse.de>
62022
62023 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
62024
62025 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
62026 Ian Lance Taylor <iant@google.com>
62027
62028 * math/libm-test.inc (lround_test): New testcase.
62029 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
62030
62031 2011-09-08 Ulrich Drepper <drepper@gmail.com>
62032
62033 * Makefile: Remove support for automatic cvs check-ins.
62034 * Makerules: Likewise.
62035 * config.make.in: Likewise.
62036 * configure.in: Likewise.
62037 * intl/Makefile: Likewise.
62038 * locale/Makefile: Likewise.
62039 * po/Makefile: Likewise.
62040 * posix/Makefile: Likewise.
62041 * sysdeps/gnu/Makefile: Likewise.
62042 * sysdeps/mach/hurd/Makefile: Likewise.
62043 * sysdeps/sparc/sparc32/Makefile: Likewise.
62044
62045 [BZ #13118]
62046 * posix/Makefile (bug-regex32-ENV): Define.
62047 Patch by John Stanley <jpsinthemix@verizon.net>.
62048
62049 * misc/Makefile (headers): Add bits/select2.h.
62050 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
62051 * misc/bits/select2.h: New file.
62052 * include/bits/select2.h: New file.
62053 * debug/Makefile (routines): Add fdelt_chk.
62054 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
62055 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
62056 FD_ISSET.
62057 * debug/fdelt_chk.c: New file.
62058
62059 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
62060 * wcsmbs/test-wmemcmp.c: Likewise.
62061 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
62062 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
62063
62064 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
62065
62066 * string/Makefile (strop-tests): Add memcmp.
62067 * string/test-wmemcmp.c: New file.
62068 * string/test-memcmp.c: Add wmemcmp support.
62069
62070 2011-09-08 Roland McGrath <roland@hack.frob.com>
62071
62072 [BZ #13153]
62073 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
62074 2011-07-19 change.
62075
62076 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
62077 garbage value in a __mach_port_mod_refs call in the cases of the
62078 task-self and thread-self ports.
62079
62080 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
62081
62082 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
62083
62084 2011-09-08 Andreas Schwab <schwab@redhat.com>
62085
62086 * elf/dl-load.c (lose): Check for non-null L.
62087
62088 2011-09-07 Ulrich Drepper <drepper@gmail.com>
62089
62090 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
62091
62092 * elf/dl-libc.c (dlerror_run): Pass back error code from
62093 dl_catch_error.
62094
62095 [BZ #13123]
62096 * elf/dl-load.c (lose): Free l_origin if it is valid.
62097
62098 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
62099 names.
62100 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
62101 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
62102 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
62103 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
62104 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
62105 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
62106
62107 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
62108
62109 * sysdeps/powerpc/fpu/e_hypot.c: New file.
62110 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
62111 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
62112 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
62113 * sysdeps/powerpc/fpu/k_cosf.c: New file.
62114 * sysdeps/powerpc/fpu/k_sinf.c: New file.
62115 * sysdeps/powerpc/fpu/s_cosf.c: New file.
62116 * sysdeps/powerpc/fpu/s_sinf.c: New file.
62117 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
62118 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
62119
62120 2011-08-15 Alan Modra <amodra@gmail.com>
62121
62122 [BZ #13092]
62123 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
62124 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
62125 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
62126 ppc_mcount to static-only-routines.
62127 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
62128 __mcount_internal.
62129 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
62130 __mcount_internal with usual JUMPTARGET. Remove useless nop.
62131
62132 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
62133
62134 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
62135 for finite and infinity parameters.
62136
62137 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
62138
62139 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
62140 and add nop instructions for throughput optimization.
62141 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
62142
62143 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
62144
62145 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
62146 aligned copy for power7 with vector-scalar instructions.
62147 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
62148
62149 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
62150
62151 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
62152 AVX check.
62153
62154 2011-09-07 Andreas Schwab <schwab@redhat.com>
62155
62156 [BZ #13144]
62157 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
62158 last change.
62159
62160 2011-09-07 Ulrich Drepper <drepper@gmail.com>
62161
62162 * sysdeps/unix/sysv/linux/x86_64/init-first.c
62163 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
62164 syscall wrapper around clock_gettime in __vdso_clock_gettime.
62165 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
62166 clock_gettime.
62167
62168 2011-09-06 Ulrich Drepper <drepper@gmail.com>
62169
62170 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
62171 Forgot to demangle the pointer.
62172
62173 * sysdeps/i386/sysdep.h: Define atom_text_section.
62174 * sysdeps/x86_64/sysdep.h: Likewise.
62175 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
62176 section with atom_text_section.
62177 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
62178 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
62179 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
62180 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
62181 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
62182
62183 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
62184 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
62185 already be defined. Change to take two parameters and don't assign
62186 result to variable. Adjust all users.
62187 Define INTERNAL_GETTIME if not already defined.
62188 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
62189 call.
62190 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
62191 HAVE_CLOCK_GETTIME_VSYSCALL.
62192 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
62193
62194 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
62195 gettimeofday vsyscall, just use time.
62196
62197 2011-09-06 Andreas Schwab <schwab@redhat.com>
62198
62199 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
62200 <errno.h>.
62201
62202 2011-09-06 Ulrich Drepper <drepper@gmail.com>
62203
62204 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
62205 syscall on x86-64.
62206 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
62207 syscall.
62208 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
62209 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
62210 syscall if possible.
62211
62212 2011-09-05 Ulrich Drepper <drepper@gmail.com>
62213
62214 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
62215 e_ident. Don't pass to find_mapsXX.
62216 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
62217
62218 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
62219
62220 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
62221 strchr-sse2-no-bsf strrchr-sse2-no-bsf
62222 * sysdeps/x86_64/multiarch/strchr.S: Update.
62223 Check bit_slow_BSF bit.
62224 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
62225 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
62226 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
62227
62228 2011-09-05 Ulrich Drepper <drepper@gmail.com>
62229
62230 [BZ #13134]
62231 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
62232 before glibc 2.15.
62233 (tryshell): Define.
62234 (__spawni): Change last parameter to be flag. Test
62235 SPAWN_XFLAGS_USE_PATH flag to use path or not.
62236 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
62237 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
62238 * posix/spawni.c: Likewise.
62239 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
62240 * posix/spawnp.c: Likewise. Change normal version to use
62241 SPAWN_XFLAGS_USE_PATH.
62242 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
62243 SPAWN_XFLAGS_TRY_SHELL.
62244
62245 [BZ #13150]
62246 * posix/glob.h: Remove gcc 1.x support.
62247
62248 [BZ #13068]
62249 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
62250
62251 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
62252
62253 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
62254 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
62255 strrchr-sse2-bsf
62256 * sysdeps/i386/i686/multiarch/strchr.S: New file.
62257 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
62258 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
62259 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
62260 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
62261 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
62262
62263 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
62264
62265 * sysdeps/x86_64/wcscmp.S: New file.
62266
62267 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
62268 wcscmp-c wcscmp-sse2
62269 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
62270 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
62271 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
62272 * wcsmbs/wcscmp.c: Allow renaming.
62273
62274 2011-09-05 David S. Miller <davem@davemloft.net>
62275
62276 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
62277 stack slot, rather than the struct return pointer slot.
62278 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
62279 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
62280 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
62281 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
62282
62283 2011-09-05 Ulrich Drepper <drepper@gmail.com>
62284
62285 * po/ja.po: Update from translation team.
62286
62287 [BZ #13144]
62288 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
62289 kernel in 64-bit binaries.
62290
62291 2011-09-01 David S. Miller <davem@davemloft.net>
62292
62293 * elf/elf.h (HWCAP_SPARC_*): Move to..
62294 * sysdeps/sparc/sysdep.h: this new file and add new values.
62295 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
62296 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
62297 _DL_HWCAP_COUNT to 24.
62298 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
62299 entries.
62300 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
62301 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
62302 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
62303 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
62304 instead of magic constants.
62305 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
62306
62307 2011-08-31 David S. Miller <davem@davemloft.net>
62308
62309 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
62310 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
62311 Reimplement to do errno handling inline.
62312 (SYSCALL_ERROR_HANDLER): New macro.
62313 (__SYSCALL_STRING): Do not do errno handling in asm.
62314 (__CLONE_SYSCALL_STRING): Delete.
62315 (__INTERNAL_SYSCALL_STRING): Delete.
62316 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
62317 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
62318 (PSEUDO): Reimplement to do errno handling inline.
62319 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
62320 (SYSCALL_ERROR_HANDLER): New macro.
62321 (__SYSCALL_STRING): Do not do errno handling in asm.
62322 (__CLONE_SYSCALL_STRING): Delete.
62323 (__INTERNAL_SYSCALL_STRING): Delete.
62324 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
62325 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
62326 i386.
62327 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
62328 (inline_syscall*): Add 'err' argument.
62329 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
62330 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
62331 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
62332 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
62333
62334 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
62335 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
62336
62337 2011-08-30 Andreas Schwab <schwab@redhat.com>
62338
62339 * elf/rtld.c (dl_main): Relocate objects in dependency order.
62340
62341 2011-08-29 Jiri Olsa <jolsa@redhat.com>
62342
62343 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
62344 directive.
62345
62346 2011-08-24 David S. Miller <davem@davemloft.net>
62347
62348 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
62349
62350 2011-08-24 Andreas Schwab <schwab@redhat.com>
62351
62352 * elf/Makefile: Add rules to build and run unload8 test.
62353 * elf/unload8.c: New file.
62354 * elf/unload8mod1.c: New file.
62355 * elf/unload8mod1x.c: New file.
62356 * elf/unload8mod2.c: New file.
62357 * elf/unload8mod3.c: New file.
62358
62359 * elf/dl-close.c (_dl_close_worker): Reset private search list if
62360 it wasn't used.
62361
62362 2011-08-23 David S. Miller <davem@davemloft.net>
62363
62364 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
62365 subtract stack bias.
62366 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
62367 %sp not %fp in calculations.
62368 (_JMPBUF_UNWINDS_ADJ): Likewise.
62369
62370 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
62371 (aio_suspend): Call it to force an exception region around the
62372 AIO_MISC_WAIT() invocation.
62373
62374 2011-08-23 Andreas Schwab <schwab@redhat.com>
62375
62376 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
62377 backslash.
62378
62379 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
62380
62381 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
62382 protection macro.
62383 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
62384 and <dl-machine.h>.
62385 (Elf64_FuncDesc): Remove.
62386
62387 2011-08-22 David S. Miller <davem@davemloft.net>
62388
62389 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
62390 sigaltstack check, add missing cfi directives.
62391 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
62392 missing cfi directives, and sigaltstack handling.
62393
62394 2011-08-16 Andreas Schwab <schwab@redhat.com>
62395
62396 [BZ #11724]
62397 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
62398 object is seen twice.
62399 * elf/dl-fini.c (_dl_sort_fini): Likewise.
62400
62401 * elf/Makefile (distribute): Add tst-initorder2.c.
62402 (tests): Add tst-initorder2.
62403 (modules-names): Add tst-initorder2a tst-initorder2b
62404 tst-initorder2c tst-initorder2d. Add rules to build them.
62405 ($(objpfx)tst-initorder2.out): New rule.
62406 * elf/tst-initorder2.c: New file.
62407 * elf/tst-initorder2.exp: New file.
62408
62409 2011-08-22 Andreas Schwab <schwab@redhat.com>
62410
62411 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
62412
62413 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
62414 dependencies back to end of function.
62415
62416 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
62417 $(elfobjdir)/ld.so.
62418
62419 2011-08-21 Ulrich Drepper <drepper@gmail.com>
62420
62421 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
62422 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
62423 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
62424 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
62425 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
62426 of __vdso_gettimeofday.
62427 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
62428 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
62429 attribute_hidden.
62430 (_libc_vdso_platform_setup): Remove initialization of
62431 __vdso_gettimeofday and __vdso_time.
62432
62433 2011-08-20 Ulrich Drepper <drepper@gmail.com>
62434
62435 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
62436 and fgetc_unlocked.
62437 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
62438 getc_unlocked.
62439
62440 * elf/dl-open.c (add_to_global): Report additions to the global scope
62441 for LD_DEBUG=scopes.
62442 (dl_open_worker): Also print scope of newly loaded dependencies.
62443 (_dl_show_scope): Indicate if there is no scope.
62444
62445 [BZ #13114]
62446 * stdio-common/Makefile (tests): Add bug24.
62447 * stdio-common/bug24.c: New file.
62448
62449 2011-08-19 Andreas Jaeger <aj@suse.de>
62450
62451 [BZ #13114]
62452 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
62453 non-existant file when using close-on-exec mode.
62454
62455 2011-08-20 Ulrich Drepper <drepper@gmail.com>
62456
62457 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
62458 the very first instruction.
62459
62460 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
62461 the CFI state in the end.
62462 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
62463 inclusion of dl-trampoline.h.
62464 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
62465
62466 2011-08-19 Andreas Schwab <schwab@redhat.com>
62467
62468 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
62469 expectations for long double.
62470
62471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
62472 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
62473
62474 2011-08-14 David S. Miller <davem@davemloft.net>
62475
62476 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
62477 artificual limit depends upon the system page size.
62478
62479 2011-08-17 Ulrich Drepper <drepper@gmail.com>
62480
62481 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
62482 * resolv/Makefile: Define CFLAGS-libresolv.
62483
62484 2011-08-17 Andreas Schwab <schwab@redhat.com>
62485
62486 * nss/makedb.c (compute_tables): Make variables used in nested
62487 function static.
62488
62489 2011-08-17 Ulrich Drepper <drepper@gmail.com>
62490
62491 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
62492 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
62493 if buffer was too small.
62494
62495 * elf/pldd.c (main): Attach to all threads in the process.
62496 Rewrite /proc handling to use *at functions.
62497
62498 2011-08-16 Ulrich Drepper <drepper@gmail.com>
62499
62500 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
62501 specifies first scope to show.
62502 (dl_open_worker): Update callers. Move printing scope of new
62503 object to before the relocation.
62504 * elf/rtld.c (dl_main): Update _dl_show_scope call.
62505 * sysdeps/generic/ldsodefs.h: Update declaration.
62506
62507 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
62508 string for the scope number.
62509
62510 2011-08-14 Ulrich Drepper <drepper@gmail.com>
62511
62512 * nscd/servicescache.c (cache_addserv): Make sure written is always
62513 initialized.
62514
62515 2011-08-14 Roland McGrath <roland@hack.frob.com>
62516
62517 * sysdeps/i386/i486/bits/atomic.h
62518 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
62519 statement expression, so as to suppress "set but not used" warning.
62520 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
62521
62522 * string/strncat.c (STRNCAT): Use prototype definition.
62523
62524 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
62525 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
62526 -Iprograms here.
62527 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
62528 (localedef-modules): Add localedef.
62529 (locale-modules): Add locale.
62530
62531 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
62532 * elf/rtld.c (dl_main): Invert order of assignment in last change,
62533 to avoid a warning.
62534
62535 2011-08-14 David S. Miller <davem@davemloft.net>
62536
62537 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
62538 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
62539
62540 2011-08-13 Ulrich Drepper <drepper@gmail.com>
62541
62542 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
62543 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
62544 * elf/rtld.c (dl_main): Set l_name of vDSO.
62545 Call _dl_show_scope when DL_DEBUG_SCOPES.
62546 (process_dl_debug): Recognize scopes flag and also set it for all.
62547 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
62548 Declare _dl_show_scope.
62549
62550 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
62551 (do_dlopen): Pass caller_dlopen to dl_open.
62552 (__libc_dlopen_mode): Initialize caller_dlopen.
62553
62554 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
62555 of libc. Make tolower call locale-independent. Optimize a bit by
62556 using isdigit instead of isalnum.
62557 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
62558
62559 2011-08-12 Ulrich Drepper <drepper@gmail.com>
62560
62561 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
62562 was a dependency or dynamically loaded.
62563
62564 2011-08-11 Ulrich Drepper <drepper@gmail.com>
62565
62566 * intl/l10nflist.c: Allow architecture-specific pop function.
62567 * sysdeps/x86_64/l10nflist.c: New file.
62568
62569 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
62570 classification.
62571
62572 2011-08-10 Andreas Schwab <schwab@redhat.com>
62573
62574 * include/dirent.h: Add libc_hidden_proto for scandirat and
62575 scandirat64. Don't declare __scandirat64.
62576 * dirent/scandirat.c: Add libc_hidden_def.
62577 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
62578 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
62579
62580 2011-08-10 David S. Miller <davem@davemloft.net>
62581
62582 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
62583 enum.
62584 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
62585 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
62586 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
62587
62588 2011-08-09 Ulrich Drepper <drepper@gmail.com>
62589
62590 * Versions.def [libc]: Add GLIBC_2.15.
62591 * dirent/Makefile (routines): Add scandirat and scandirat64.
62592 * dirent/Versions [libc]: Export scandirat and scandirat64 for
62593 GLIBC_2.15.
62594 * dirent/dirent.h: Declare scandirat and scandirat64.
62595 * dirent/scandirat.c: New file.
62596 * dirent/scandirat64.c: New file.
62597 * sysdeps/wordsize-64/scandirat.c: New file.
62598 * sysdeps/wordsize-64/scandirat64.c: New file.
62599 * dirent/opendir.c: Define opendirat.
62600 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
62601 using scandirat.
62602 * dirent/scandir64.c: Adjust for scandir.c change.
62603 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
62604 __scandirat64, and __scandir_cancel_handler.
62605 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
62606 additional parameter and use openat instead of open (outside of ld.so).
62607 Add new __opendir as wrapper around __opendirat.
62608 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
62609 here without requiring old scandirat implementation.
62610
62611 2011-08-08 Ulrich Drepper <drepper@gmail.com>
62612
62613 * dirent/scandir.c (cancel_handler): Renamed to
62614 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
62615 defined. Adjust users.
62616 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
62617 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
62618
62619 2011-08-04 Ulrich Drepper <drepper@gmail.com>
62620
62621 * string/test-string.h (IMPL): Use __STRING to expand name and then
62622 stringify it.
62623
62624 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
62625 of cleanups.
62626
62627 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
62628
62629 * string/Makefile: Update.
62630 (strop-tests): Append strncat.
62631 * string/test-wcscmp.c: New file.
62632 New comprehensive test for wcscmp.
62633 * string/test-strcmp.c: Update.
62634 (WIDE): New define.
62635
62636 2011-07-22 Andreas Schwab <schwab@redhat.com>
62637
62638 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
62639 line.
62640
62641 2011-07-26 Andreas Schwab <schwab@redhat.com>
62642
62643 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
62644 encoding to ACE if AI_IDN.
62645
62646 2011-08-01 Jakub Jelinek <jakub@redhat.com>
62647
62648 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
62649 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
62650
62651 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
62652
62653 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
62654 Fix overflow bug in strncat.
62655 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
62656
62657 * string/test-strncat.c: Update.
62658 Add new tests for checking overflow bugs.
62659
62660 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
62661
62662 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
62663 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
62664 * sysdeps/i386/i686/multiarch/strcat.S: New file.
62665 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
62666 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
62667 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
62668 * sysdeps/i386/i686/multiarch/strncat.S: New file.
62669 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
62670 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
62671
62672 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
62673 (USE_AS_STRCAT): Define.
62674 Add strcat and strncat support.
62675 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
62676
62677 2011-07-25 Andreas Schwab <schwab@redhat.com>
62678
62679 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
62680 __n bigger than INT_MAX+1.
62681 (__strncmp_g): Likewise.
62682
62683 2011-07-23 Ulrich Drepper <drepper@gmail.com>
62684
62685 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
62686 * libio/stido.h: Likewise.
62687
62688 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
62689 (AF_NFC): Define.
62690 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
62691 (AF_NFC): Define.
62692
62693 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
62694 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
62695 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
62696 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
62697 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
62698
62699 [BZ #13021]
62700 * scripts/test-installation.pl: Don't expect libnss_test1 to be
62701 installed.
62702
62703 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
62704 typo.
62705 (_dl_x86_64_save_sse): Likewise.
62706
62707 2011-07-22 Ulrich Drepper <drepper@gmail.com>
62708
62709 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
62710 OSXSAVE.
62711 (_dl_x86_64_save_sse): Likewise.
62712
62713 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
62714
62715 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
62716
62717 2011-07-21 Andreas Schwab <schwab@redhat.com>
62718
62719 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
62720 change.
62721 (_dl_x86_64_save_sse): Use correct AVX check.
62722
62723 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
62724
62725 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
62726 bug in strncpy/strncat.
62727 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
62728
62729 2011-07-21 Ulrich Drepper <drepper@gmail.com>
62730
62731 * string/tester.c (test_strcat): Add tests for different alignments
62732 of source and destination.
62733 (test_strncat): Likewise.
62734
62735 2011-07-20 Ulrich Drepper <drepper@gmail.com>
62736
62737 [BZ #12852]
62738 * posix/glob.c (glob): Check passed in values before using them in
62739 expressions to avoid some overflows.
62740 (glob_in_dir): Likewise.
62741
62742 [BZ #13007]
62743 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
62744 check for AVX enablement so that we don't crash with old kernels and
62745 new hardware.
62746 * elf/tst-audit4.c: Add same checks here.
62747 * elf/tst-audit6.c: Likewise.
62748
62749 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
62750
62751 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
62752
62753 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
62754
62755 2011-07-20 Ulrich Drepper <drepper@gmail.com>
62756
62757 * po/cs.po: Update from translation team.
62758 * po/bg.po: Likewise.
62759
62760 2011-07-12 Marek Polacek <mpolacek@redhat.com>
62761
62762 * misc/sys/cdefs.h: Add support for const attribute.
62763 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
62764 to gnu_dev_{major,minor,makedev} functions.
62765
62766 2011-07-20 Marek Polacek <mpolacek@redhat.com>
62767
62768 * intl/dcigettext.c (get_output_charset): Add missing bracket.
62769
62770 2011-07-20 Andreas Schwab <schwab@redhat.com>
62771
62772 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
62773 strlen results.
62774
62775 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
62776
62777 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
62778 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
62779 register in order to avoid conflicts with the soft frame pointer
62780 being held in r11 when necessary.
62781 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
62782 (INTERNAL_VSYSCALL_NCS): Likewise.
62783
62784 2011-07-14 Marek Polacek <mpolacek@redhat.com>
62785
62786 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
62787 * elf/dl-fini.c (_dl_fini): Adjust caller.
62788 * elf/dl-close.c (_dl_close_worker): Likewise.
62789 * sysdeps/generic/ldsodefs.h: Adjust declaration.
62790
62791 2011-07-15 Marek Polacek <mpolacek@redhat.com>
62792
62793 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
62794 "aux_cache->nlibs < 0".
62795
62796 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
62797 in the reload-count case.
62798
62799 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
62800
62801 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
62802 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
62803 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
62804 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
62805 * sysdeps/x86_64/multiarch/strcat.S: New file.
62806 * sysdeps/x86_64/multiarch/strncat.S: New file.
62807 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
62808 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
62809 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
62810 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
62811 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
62812 (USE_AS_STRCAT): Define.
62813 Add strcat and strncat support.
62814 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
62815 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
62816 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
62817 * string/strncat.c: Update.
62818 (USE_AS_STRNCAT): Define.
62819 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62820 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
62821 and i7.
62822 * sysdeps/x86_64/multiarch/init-arch.h
62823 (bit_Prefer_PMINUB_for_stringop): New.
62824 (index_Prefer_PMINUB_for_stringop): Likewise.
62825 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
62826 bit_Prefer_PMINUB_for_stringop.
62827
62828 2011-07-19 Ulrich Drepper <drepper@gmail.com>
62829
62830 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
62831 buffer64.
62832 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
62833 of casting of buffer.
62834 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
62835 buffer32 and buffer64.
62836 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
62837 writes instead of casting of buffer.
62838 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
62839 buffer32.
62840 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
62841 casting of buffer.
62842
62843 2011-07-19 Andreas Schwab <schwab@redhat.com>
62844
62845 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
62846
62847 2011-07-19 Ulrich Drepper <drepper@gmail.com>
62848
62849 * nscd/nscd.c (termination_handler): Don't do anything for a database
62850 if it has not yet been initialized.
62851
62852 2011-07-18 Ulrich Drepper <drepper@gmail.com>
62853
62854 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
62855
62856 2011-07-15 Marek Polacek <mpolacek@redhat.com>
62857
62858 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
62859
62860 2011-07-18 Ulrich Drepper <drepper@gmail.com>
62861
62862 * po/nl.po: Update from translation team.
62863 * po/sv.po: Likewise.
62864
62865 2011-07-16 Roland McGrath <roland@hack.frob.com>
62866
62867 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
62868 now disallowed by GCC.
62869
62870 * configure.in (use-default-link): Default to yes if a test -shared
62871 link meets our qualifications.
62872 * configure: Regenerated.
62873
62874 * config.make.in (output-format): New variable.
62875 * configure.in: Check for ld --print-output-format support.
62876 * configure: Regenerated.
62877 * Makerules ($(common-objpfx)format.lds)
62878 [$(output-format) != unknown]: Just use $(output-format),
62879 instead of the linker-script munging.
62880
62881 2011-07-14 Roland McGrath <roland@hack.frob.com>
62882
62883 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
62884 of $(common-objpfx)shlib.lds.
62885 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
62886
62887 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
62888 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
62889
62890 * configure.in (-z relro check): Adjust test code to add a large
62891 writable data section after it.
62892 * configure: Regenerated.
62893
62894 2011-07-11 Roland McGrath <roland@hack.frob.com>
62895
62896 * configure.in (-z relro check): Fix test code to make the variable
62897 truly const.
62898 * configure: Regenerated.
62899
62900 2011-07-11 Ulrich Drepper <drepper@gmail.com>
62901
62902 * nscd/nscd.h (struct traced_file): Define.
62903 (struct database_dyn): Remove inotify_descr, reset_res, and filename
62904 elements. Add traced_files.
62905 (inotify_fd): Declare.
62906 (register_traced_file): Declare.
62907 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
62908 (inotify_fd): Export.
62909 (resolv_conf_descr): Remove.
62910 (nscd_init): Move inotify descriptor creation to main.
62911 Don't register files for notification here.
62912 (register_traced_file): New function.
62913 (invalidate_cache): Don't use reset_res to determine whether to call
62914 res_init, go through the list of registered files.
62915 (main_loop_poll): The inotify descriptors are now stored in the
62916 structures for the traced files.
62917 (main_loop_epoll): Likewise
62918 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
62919 to __nss_disable_nscd.
62920 * nscd/cache.c (prune_cache): There is no single inotify descriptor
62921 for a database anymore. Check the records for all the registered
62922 files instead.
62923 * nss/Makefile (libnss_files-routines): Add files-init.
62924 (libnss_db-routines): Add db-init.
62925 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
62926 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
62927 * nss/nss_db/db-init.c: New file.
62928 * nss/nss_files/files-init.c: New file.
62929 * nss/nsswitch.c (nss_load_library): New function. Broken out of
62930 __nss_lookup_function.
62931 (__nss_lookup_function): Call nss_load_library.
62932 (nss_load_all_libraries): New function.
62933 (__nss_disable_nscd): Take parameter with callback function for files
62934 to register. Set is_nscd. Load all the DSOs for the NSS modules
62935 used for the cached services.
62936 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
62937 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
62938 options for features to all the files in nscd.
62939
62940 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
62941
62942 2011-07-10 Roland McGrath <roland@hack.frob.com>
62943
62944 * csu/elf-init.c (__libc_csu_init): Comment typo.
62945
62946 2011-07-09 Ulrich Drepper <drepper@gmail.com>
62947
62948 * po/pl.po: Update from translation team.
62949 * po/ja.po: Likewise.
62950 * po/ru.po: Likewise.
62951 * po/ko.po: Likewise.
62952 * po/fr.po: Likewise.
62953
62954 2011-07-09 Roland McGrath <roland@hack.frob.com>
62955
62956 * configure.in (.ctors/.dtors header and trailer check):
62957 Use an empirical test on a built program.
62958 * configure: Regenerated.
62959
62960 * configure.in (-z relro check): Use an empirical test on a built DSO.
62961 Detect, but do not require, on ia64.
62962 * configure: Regenerated.
62963
62964 * configure.in (READELF): Find it with AC_CHECK_TOOL.
62965 Update tests that use readelf to use $READELF instead.
62966 * configure: Regenerated.
62967
62968 2011-07-08 Ulrich Drepper <drepper@gmail.com>
62969
62970 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
62971 if the result is not used.
62972
62973 2011-07-05 Andreas Jaeger <aj@suse.de>
62974
62975 [BZ#9696]
62976 * stdlib/tst-strtod.c: Add testcase.
62977
62978 2011-07-07 Ulrich Drepper <drepper@gmail.com>
62979
62980 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
62981 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
62982 The latter has a higher limit. Take additional parameter to pass to
62983 the new function.
62984 (__pathconf): Pass file to __statfs_link_max.
62985 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
62986 __statfs_link_max.
62987 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
62988 __statfs_link_max.
62989
62990 [BZ #12868]
62991 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
62992 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
62993 Handle Lustre.
62994 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
62995 (__statfs_filesize_max): Likewise.
62996 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
62997
62998 2011-07-05 Andreas Jaeger <aj@suse.de>
62999
63000 * resolv/res_comp.c (dn_skipname): Remove unused variable.
63001
63002 2011-07-06 Marek Polacek <mpolacek@redhat.com>
63003
63004 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
63005 `status' variable.
63006 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
63007 Likewise.
63008
63009 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
63010
63011 * Makefile (strop-tests): Add strncat.
63012 * string/test-strncat.c: New file.
63013
63014 2011-06-30 Marek Polacek <mpolacek@redhat.com>
63015
63016 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
63017
63018 2011-06-21 Andreas Jaeger <aj@suse.de>
63019
63020 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
63021 Copy rule from iconvdata/Makefile.
63022
63023 2011-07-06 Ulrich Drepper <drepper@gmail.com>
63024
63025 [BZ #12922]
63026 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
63027 but no long options are defined, just return 'W'.
63028
63029 2011-06-22 Marek Polacek <mpolacek@redhat.com>
63030
63031 [BZ #9696]
63032 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
63033
63034 2011-07-06 Ulrich Drepper <drepper@gmail.com>
63035
63036 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
63037 netgroups to read.
63038 (innetgr): Likewise.
63039
63040 2011-07-05 Roland McGrath <roland@hack.frob.com>
63041
63042 * config.make.in (install_root): Default to $(DESTDIR).
63043
63044 2011-07-05 Ulrich Drepper <drepper@gmail.com>
63045
63046 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
63047
63048 2011-07-02 Roland McGrath <roland@hack.frob.com>
63049
63050 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
63051
63052 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
63053 containing directory rather than embedding absolute directory names.
63054
63055 * scripts/check-local-headers.sh: Rewritten using awk.
63056 Match by word, not by line. Print error messages for matches.
63057 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
63058
63059 * Makerules [shlib-lds-flags empty]:
63060 ($(common-objpfx)libc_pic.opts): New target.
63061 ($(common-objpfx)libc_pic.os.clean): New target.
63062 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
63063
63064 * config.make.in (OBJCOPY): New variable.
63065 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
63066 * configure: Regenerated.
63067
63068 * config.make.in (use-default-link): New variable.
63069 * configure.in (use_default_link): Grok --with-default-link to set it.
63070 * configure: Regenerated.
63071 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
63072 (shlib-lds, shlib-lds-flags): Define to empty.
63073
63074 * Makerules (shlib-lds): New variable.
63075 (shlib-lds-flags): New variable.
63076 (build-shlib, build-moduile, build-module-asneeded): Use it.
63077 ($(common-objpfx)libc.so): Use $(shlib-lds).
63078 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
63079 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
63080
63081 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
63082 DT_FLAGS/DT_FLAGS_1 with zero flags.
63083
63084 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
63085 linker script munging.
63086
63087 2011-07-02 Ulrich Drepper <drepper@gmail.com>
63088
63089 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
63090 as 128-bit value.
63091 * crypt/sha512.c (sha512_process_block): Perform total addition using
63092 128-bit if possible.
63093 (__sha512_finish_ctx): Likewise.
63094 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
63095 as 64-bit value.
63096 * crypt/sha256.c (SWAP64): Define.
63097 (sha256_process_block): Perform total addition using 64-bit if
63098 possible.
63099 (__sha256_finish_ctx): Likewise.
63100
63101 2011-07-01 Ulrich Drepper <drepper@gmail.com>
63102
63103 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
63104 * nscd/initgrcache.c (addinitgroupsX): Likewise.
63105 * nscd/hstcache.c (cache_addhst): Likewise.
63106 * nscd/grpcache.c (cache_addgr): Likewise.
63107 * nscd/aicache.c (addhstaiX): Likewise
63108 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
63109
63110 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
63111
63112 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
63113 * nscd/initgrcache.c (addinitgroupsX): Likewise.
63114 * nscd/hstcache.c (cache_addhst): Likewise.
63115 * nscd/grpcache.c (cache_addgr): Likewise.
63116 * nscd/aicache.c (addhstaiX): Likewise
63117
63118 2011-07-01 Andreas Schwab <schwab@redhat.com>
63119
63120 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
63121 domain only when needed.
63122
63123 2011-06-30 Andreas Schwab <schwab@redhat.com>
63124
63125 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
63126 is always restored.
63127
63128 2011-06-29 Ulrich Drepper <drepper@gmail.com>
63129
63130 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
63131 are re-adding the entry.
63132 * nscd/servicescache.c (cache_addserv): Likewise.
63133
63134 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
63135
63136 * sysdeps/generic/dl-irel.h: fix protection against multiple
63137 inclusions.
63138 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
63139
63140 2011-06-28 Ulrich Drepper <drepper@gmail.com>
63141
63142 [BZ #12935]
63143 * malloc/memusage.sh: Fix quoting in message.
63144 * debug/xtrace.sh: Likewise.
63145
63146 * configure.in: Remove support for --experimental-malloc option, make
63147 it the default.
63148 * config.make.in: Likewise.
63149 * malloc/Makefile: Likewise.
63150
63151 2011-06-27 Andreas Schwab <schwab@redhat.com>
63152
63153 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
63154 two-byte characters.
63155
63156 2011-06-27 Roland McGrath <roland@hack.frob.com>
63157
63158 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
63159 AC_CACHE_CHECK invocation.
63160 * configure: Regenerated.
63161
63162 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
63163
63164 2011-06-27 Ulrich Drepper <drepper@gmail.com>
63165
63166 [BZ #12350]
63167 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
63168 bit from old_res_options.
63169
63170 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
63171
63172 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
63173 value type for setfct.
63174
63175 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
63176
63177 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
63178 __gettimeofday instead of gettimeofday.
63179
63180 2011-06-26 Ulrich Drepper <drepper@gmail.com>
63181
63182 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
63183
63184 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
63185
63186 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
63187
63188 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
63189 info.
63190
63191 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
63192
63193 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
63194 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
63195 strcpy-sse2-unaligned strncpy-sse2-unaligned
63196 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
63197 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
63198 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
63199 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
63200 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
63201 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
63202 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
63203 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
63204 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
63205 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
63206 (STRCPY): Support SSE2 and SSSE3 versions.
63207
63208 2011-06-24 Ulrich Drepper <drepper@gmail.com>
63209
63210 [BZ #12874]
63211 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
63212 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
63213 kernels which artificially limit size of requests.
63214
63215 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
63216
63217 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
63218 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
63219 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
63220 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
63221 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
63222 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
63223 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
63224 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
63225 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
63226 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
63227 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
63228 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
63229 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
63230 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
63231 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
63232 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63233 Enable unaligned load optimization for Intel Core i3, i5 and i7
63234 processors.
63235 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
63236 Define.
63237 (index_Fast_Unaligned_Load): Define.
63238 (HAS_FAST_UNALIGNED_LOAD): Define.
63239
63240 2011-06-23 Marek Polacek <mpolacek@redhat.com>
63241
63242 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
63243
63244 2011-06-22 Ulrich Drepper <drepper@gmail.com>
63245
63246 [BZ #12907]
63247 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
63248 until it is clear that the information is realy needed.
63249 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
63250
63251 2011-06-22 Andreas Schwab <schwab@redhat.com>
63252
63253 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
63254
63255 2011-06-22 Ulrich Drepper <drepper@gmail.com>
63256
63257 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
63258 /sys/devices/system/cpu/online if it is usable.
63259
63260 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
63261 reading the information from the /proc filesystem to once a second.
63262
63263 2011-06-21 Andreas Jaeger <aj@suse.de>
63264
63265 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
63266 NULL after inclusion of kernel headers.
63267
63268 2011-06-21 Ulrich Drepper <drepper@gmail.com>
63269
63270 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
63271 calls to internal_setent.
63272
63273 [BZ #12885]
63274 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
63275 addresses using gethostbyname4_r ignore IPv4 addresses.
63276
63277 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
63278 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
63279
63280 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
63281
63282 2011-06-20 David S. Miller <davem@davemloft.net>
63283
63284 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
63285 inclusions.
63286 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
63287
63288 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
63289 (elf_irel): Use it.
63290 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
63291 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
63292 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
63293 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
63294 * sysdeps/x86_64/dl-irel.h: Likewise.
63295
63296 * elf/dl-runtime.c: Use elf_ifunc_invoke.
63297 * elf/dl-sym.c: Likewise.
63298
63299 2011-06-15 Ulrich Drepper <drepper@gmail.com>
63300
63301 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
63302 need to dereference resplen2.
63303
63304 2011-06-14 Andreas Schwab <schwab@redhat.com>
63305
63306 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
63307
63308 2011-06-15 Ulrich Drepper <drepper@gmail.com>
63309
63310 * Makeconfig: Define vardbdir and inst_vardbdir.
63311 * nss/Makefile: Add rules to install db-Makefile.
63312
63313 * nss/nss_db/db-XXX.c: Cleanup.
63314
63315 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
63316 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
63317 GLIBC_PRIVATE.
63318 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
63319 * nss/makedb.c: Implement -g option to specify that value strings
63320 are generated and should not be added to table iterated over for
63321 get*ent calls.
63322 * nss/nss_db/db-initgroups.c: New file.
63323
63324 * nss/getent.c: Add support for initgroups lookups through getgrouplist
63325 interface.
63326
63327 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
63328 (internal_getgrouplist): Adjust to name change.
63329 Update use_initgroups_entry if this is not the first call.
63330 * nss/databases.def: Add initgroups entry.
63331
63332 * nss/makedb.c (compute_tables): Check result of multiple hash table
63333 sizes to minimize maximum chain length.
63334
63335 2011-06-14 Ulrich Drepper <drepper@gmail.com>
63336
63337 * Versions.def: Add entry for libnss_db.
63338 * shlib-versions: Likewise.
63339 * nss/Makefile: Add rules to build libnss_db.
63340 * nss/Versions: Add libnss_db information. Organize libnss_files
63341 entries better.
63342 * nss/db-Makefile: Add gshadow support. Change rules for the new
63343 makedb progra. Some minor improvements to generate smaller files.
63344 * nss/nss_db/nss_db.h: Move NSS database header data structures to
63345 here from...
63346 * nss/makedb.c: ...here.
63347 Improve database format to be smaller and require less memory at
63348 runtime.
63349 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
63350 db anymore.
63351 * nss/nss_db/db-netgrp.c: Likewise.
63352 * nss/nss_db/db-open.c: Likewise.
63353 * nss/nss_files/flies-XXX.x: Adjust comments.
63354 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
63355 * nss/nss_files/files-grp.c: Likewise.
63356 * nss/nss_files/files-hosts.c: Likewise.
63357 * nss/nss_files/files-network.c: Likewise.
63358 * nss/nss_files/files-proto.c: Likewise.
63359 * nss/nss_files/files-pwd.c: Likewise.
63360 * nss/nss_files/files-rpc.c: Likewise.
63361 * nss/nss_files/files-service.c: Likewise.
63362 * nss/nss_files/files-sgrp.c: Likewise.
63363 * nss/nss_files/files-spwd.c: Likewise.
63364 * nss/nss_db/db-alias.c: Removed.
63365 * nss/nss_db/dummy-db.h: Removed.
63366
63367 2011-06-02 Ulrich Drepper <drepper@gmail.com>
63368
63369 * nss/makedb.c: Rewritten to not use database library.
63370 * nss/Makefile: Update to build new makedb program.
63371
63372 2011-06-14 Andreas Jaeger <aj@suse.de>
63373
63374 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
63375 memset declaration.
63376
63377 2011-06-10 Andreas Schwab <schwab@redhat.com>
63378
63379 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
63380 tmpbuf.
63381
63382 2011-06-10 Roland McGrath <roland@hack.frob.com>
63383
63384 * Makerules (shlib.lds): Fail if the linker script comes out empty.
63385 * elf/Makefile ($(objpfx)ld.so): Likewise.
63386
63387 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
63388 Don't list ld.so twice in dependencies.
63389
63390 * posix/bug-regex31.c: Include <stdlib.h>.
63391
63392 * nscd/hstcache.c (cache_addhst): Remove unused variable.
63393
63394 * nis/nss_compat/compat-spwd.c
63395 (getspent_next_nss_netgr): Remove unused variable.
63396 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
63397
63398 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
63399 nonmembers" output to use the right array.
63400
63401 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
63402
63403 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
63404
63405 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
63406 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
63407 * catgets/gencat.c (read_input_file): Likewise.
63408 * locale/programs/locarchive.c (enlarge_archive): Likewise.
63409
63410 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
63411 variable definition inside #if's controlling its use.
63412
63413 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
63414
63415 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
63416
63417 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
63418
63419 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
63420 unreachable code.
63421
63422 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
63423
63424 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
63425 * configure: Regenerated.
63426
63427 * Makerules: Revert last change.
63428 * elf/Makefile: Likewise.
63429
63430 2011-06-09 Roland McGrath <roland@hack.frob.com>
63431
63432 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
63433 * elf/Makefile ($(objpfx)librtld.os): Likewise.
63434 (reloc-link): Likewise.
63435
63436 2011-06-09 Ulrich Drepper <drepper@gmail.com>
63437
63438 * elf/Makefile: Add rules to build pldd.
63439 * elf/pldd.c: New file.
63440 * elf/pldd-xx.c: New file.
63441
63442 2011-06-07 Ulrich Drepper <drepper@gmail.com>
63443
63444 * version.h: Update for 2.15 development version.
63445
63446 2011-06-07 David S. Miller <davem@davemloft.net>
63447
63448 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
63449 ifuncs.
63450 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
63451 elf_machine_lazy_rel): Likewise.
63452 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
63453 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
63454 elf_machine_lazy_rel): Likewise.
63455 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
63456 dl_hwcap via passed in argument.
63457 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
63458 Likewise.
63459
63460 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
63461
63462 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
63463
63464 2011-06-06 Roland McGrath <roland@hack.frob.com>
63465
63466 [BZ #12849]
63467 * manual/fdl-1.1.texi: New file, verbatim from:
63468 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
63469 * manual/lgpl-2.1.texi: New file, verbatim from:
63470 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
63471 * manual/Makefile (licenses): New variable, list those new file names.
63472 (texis): Use it.
63473 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
63474
63475 * manual/fdl.texi: File removed.
63476 * manual/lesser.texi: File removed.
63477 * manual/libc.texinfo (Copying, Documentation License):
63478 Use new @include file names, put @appendix directive before @include.
63479
63480 2011-06-04 Jakub Jelinek <jakub@redhat.com>
63481
63482 [BZ #12841]
63483 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
63484 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
63485 (mq_open): Add __NTH.
63486
63487 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
63488
63489 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63490 Assume Intel Core i3/i5/i7 processor if AVX is available.
63491
63492 2011-05-31 Ulrich Drepper <drepper@gmail.com>
63493
63494 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
63495 typo.
63496
63497 2011-05-31 Andreas Schwab <schwab@redhat.com>
63498
63499 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
63500 memory. Use alloca_account. Fix memory leak when retrying.
63501
63502 2011-05-31 Ulrich Drepper <drepper@gmail.com>
63503
63504 * version.h (RELEASE): Bump for 2.14 release.
63505 * include/features.h (__GLIBC_MINOR__): Bump to 14.
63506
63507 * config.make.in (RANLIB): Remove entry.
63508
63509 2011-05-30 Ulrich Drepper <drepper@gmail.com>
63510
63511 * po/Makefile (po-sed-cmd): Add ksh to extensions.
63512 (libc.pot): Work around missing support for .ksh extension in xgettext.
63513
63514 [BZ #12684]
63515 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
63516 if both request failed.
63517 (send_dg): In case of server errors clear resplen or *resplen2.
63518
63519 [BZ #12454]
63520 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
63521 when there are multiple maps.
63522 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
63523 (_dl_fini): Remove test here.
63524
63525 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
63526
63527 2011-05-29 Ulrich Drepper <drepper@gmail.com>
63528
63529 [BZ #12350]
63530 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
63531 bit from old_res_options.
63532 (gaih_inet): Likewise.
63533
63534 [BZ #11099]
63535 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
63536 as signed.
63537
63538 * resolv/res_init.c (res_setoptions): Make the code more compact.
63539
63540 [BZ #11558]
63541 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
63542 set RES_USEVC.
63543
63544 [BZ #11634]
63545 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
63546
63547 * malloc/malloc.h: Mark malloc hook variables as deprecated.
63548
63549 [BZ #11781]
63550 * malloc/malloc.h: Declare malloc hook variables as volatile.
63551
63552 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
63553 in last patch.
63554
63555 [BZ #11799]
63556 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
63557 raise in the comment.
63558 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
63559 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
63560 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
63561
63562 2011-05-28 Ulrich Drepper <drepper@gmail.com>
63563
63564 [BZ #12811]
63565 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
63566 grow the buffers more if it already has to be sufficient.
63567 (build_wcs_upper_buffer): Likewise.
63568 * posix/regexec.c (check_matching): Likewise.
63569 (clean_state_log_if_needed): Likewise.
63570 (extend_buffers): Don't enlarge buffers beyond size of the input
63571 buffer.
63572 Patches mostly by Emil Wojak <emil@wojak.eu>.
63573 * posix/bug-regex32.c: New file.
63574 * posix/Makefile (tests): Add bug-regex32.
63575
63576 * locale/findlocale.c (_nl_find_locale): Return right away if
63577 _nl_explode_name failed.
63578 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
63579
63580 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
63581
63582 * debug/xtrace.sh: Unify messages.
63583 * malloc/memusage.sh: Likewise.
63584
63585 [BZ #12813]
63586 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
63587 time symbol from vDSO. Substitute with vsyscall if not available.
63588 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
63589 __vdso_time.
63590
63591 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
63592 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
63593 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
63594 Add sendmmsg and internal_sendmmsg.
63595 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
63596 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
63597 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
63598
63599 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
63600 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
63601 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
63602
63603 2011-05-27 Ulrich Drepper <drepper@gmail.com>
63604
63605 [BZ #12813]
63606 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
63607 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
63608 available.
63609 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
63610 __vdso_getcpu.
63611
63612 [BZ #12814]
63613 * iconvdata/Makefile (tests): Add bug-iconv9.
63614 * iconvdata/bug-iconv9.c: New file.
63615
63616 2011-05-27 Andreas Schwab <schwab@redhat.com>
63617
63618 [BZ #12814]
63619 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
63620
63621 2011-05-25 Jakub Jelinek <jakub@redhat.com>
63622
63623 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
63624 (struct user_regs_struct): Change intcs field back to cs.
63625
63626 2011-05-25 Ulrich Drepper <drepper@gmail.com>
63627
63628 * po/ja.po: Update from translation team.
63629
63630 2011-05-23 Ulrich Drepper <drepper@gmail.com>
63631
63632 [BZ #12795]
63633 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
63634 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
63635
63636 2011-05-20 Andreas Schwab <schwab@redhat.com>
63637
63638 * stdlib/longlong.h: Update from GCC.
63639
63640 2011-05-23 Andreas Schwab <schwab@redhat.com>
63641
63642 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
63643 parameter name.
63644 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
63645 Add parameter name.
63646 (__sysconf): Pass it down.
63647
63648 2011-05-22 Ulrich Drepper <drepper@gmail.com>
63649
63650 [BZ #12671]
63651 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
63652 some situations.
63653 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
63654 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
63655 add in in __libc_use_alloca calls. Adjust callers.
63656 (glob): Use malloc in some situations.
63657
63658 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
63659 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
63660 pltexit.
63661
63662 2011-05-21 Ulrich Drepper <drepper@gmail.com>
63663
63664 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
63665 and CLOCK_BOOTTIME_ALARM.
63666
63667 [BZ #12782]
63668 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
63669 is returned.
63670
63671 * string/_strerror.c (__strerror_r): Print negative errors as signed
63672 numbers.
63673
63674 [BZ #12777]
63675 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
63676 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
63677 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
63678
63679 * configure.in: Fix typo in redirection and correct removal of test
63680 files in two cases.
63681
63682 [BZ #12788]
63683 * locale/setlocale.c (new_composite_name): Fix test to check for
63684 identical name of all categories.
63685
63686 [BZ #12792]
63687 * libio/filedoalloc.c (local_isatty): New function.
63688 (_IO_file_doallocate): Use local_isatty.
63689 * stdio-common/perror.c (perror): In case a new stream is used
63690 forward the stream error.
63691 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
63692 error flag.
63693
63694 2011-05-20 Ulrich Drepper <drepper@gmail.com>
63695
63696 [BZ #11869]
63697 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
63698 alloca.
63699 * include/alloca.h (extend_alloca_account): Define.
63700
63701 [BZ #11857]
63702 * posix/regex.h: Fix comments with documentation of user-accessible
63703 fields after compilation and describe correct free'ing of pattern
63704 after re_compile_pattern.
63705 Patch by Reuben Thomas <rrt@sc3d.org>.
63706
63707 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
63708
63709 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
63710 and -mno-altivec to prevent the compiler from using Altivec and/or
63711 VSX instructions when the corresponding registers are not available.
63712
63713 2011-05-19 Andreas Schwab <schwab@redhat.com>
63714
63715 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
63716
63717 2011-05-19 Ulrich Drepper <drepper@gmail.com>
63718
63719 * libio/freopen.c (freopen): Use __dup2, not dup2.
63720 * libio/freopen64.c (freopen64): Likewise.
63721
63722 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
63723
63724 [BZ #12775]
63725 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
63726 * math/Makefile (tests): Add test-powl.
63727 (CFLAGS-test-powl.c): Define.
63728 * math/test-powl.c: New file.
63729
63730 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
63731
63732 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
63733
63734 2011-05-17 Ulrich Drepper <drepper@gmail.com>
63735
63736 [BZ #11837]
63737 * iconvdata/gb18030.c: Update to GB18020-2005.
63738
63739 2011-05-16 Ulrich Drepper <drepper@gmail.com>
63740
63741 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
63742 RE_SYNTAX_POSIX_AWK): Update to match recent development.
63743 Patch by Aharon Robbins <arnold@skeeve.com>.
63744
63745 [BZ #11892]
63746 * stdlib/putenv.c (putenv): Don't always create copy of the variable
63747 on the stack.
63748
63749 [BZ #11895]
63750 * misc/pselect.c (__pselect): Handle timeout value errors hidden
63751 through underflows.
63752
63753 [BZ #12766]
63754 * misc/error.c (error_at_line): Ensure file_name and old_file_name
63755 point to strings before performing equality test for error_one_per_line
63756 mode.
63757
63758 [BZ #11697]
63759 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
63760
63761 [BZ #11820]
63762 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
63763 (struct user_fpregs_struct): Avoid __uint*_t types.
63764
63765 [BZ #6420]
63766 * malloc/mtrace.c (tr_where): Add additional parameter to point to
63767 symbol info. Use it instead of calling _dl_addr locally.
63768 (lock_and_info): New function.
63769 (tr_freehook): Call lock_and_info and pass symbol info as additional
63770 parameter to tr_where.
63771 (tr_mallochook): Likewise.
63772 (tr_reallochook): Likewise.
63773 (tr_memalignhook): Likewise.
63774
63775 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
63776 used and couldn't be at all thread-safe.
63777
63778 2011-05-15 Ulrich Drepper <drepper@gmail.com>
63779
63780 * libio/freopen.c (freopen): Don't close old file descriptor
63781 before the new one is opened. Instead dup the new file descriptor
63782 to the old one after the new stream is created.
63783 * libio/freopen64.c (freopen64): Likewise.
63784 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
63785 * libio/fileops.c (_IO_new_file_close_it): Handle new
63786 _IO_FLAGS2_NOCLOSE flag.
63787 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
63788 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
63789 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
63790 _IO_FLAGS2_NOCLOSE flag.
63791 * include/unistd.h: Add hidden_proto for dup3.
63792 Define __have_dup3.
63793 * io/dup3.c: Define hidden symbol.
63794 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
63795
63796 [BZ #7101]
63797 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
63798 when an incomplete long option is used.
63799 * posix/tst-getopt_long1.c: New file.
63800 * posix/Makefile (tests): Add tst-getopt_long1.
63801
63802 [BZ #10138]
63803 * scripts/config.guess: Update from autoconf-2.68.
63804 * scripts/config.sub: Likewise.
63805
63806 [BZ #10157]
63807 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
63808 tests into ...
63809 (has_cpuclock): ...this. New function.
63810 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
63811 macro here based on has_cpuclock code.
63812
63813 [BZ #10149]
63814 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
63815 First byte (not low byte) is now always NUL.
63816 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
63817
63818 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
63819 Use non-cancelable interfaces.
63820
63821 [BZ #9809]
63822 * locale/iso-639.def: Add entry for Sorani.
63823
63824 [BZ #11901]
63825 * include/stdlib.h: Move include protection to the right place.
63826 Define abort_msg_s. Declare __abort_msg with it.
63827 * stdlib/abort.c (__abort_msg): Adjust type.
63828 * assert/assert.c (__assert_fail_base): New function. Majority
63829 of code from __assert_fail. Allocate memory for __abort_msg with
63830 mmap.
63831 (__assert_fail): Now call __assert_fail_base.
63832 * assert/assert-perr.c: Remove bulk of implementation. Use
63833 __assert_fail_base.
63834 * include/assert.hL Declare __assert_fail_base.
63835 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
63836 mmap.
63837 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
63838
63839 2011-05-14 Ulrich Drepper <drepper@gmail.com>
63840
63841 [BZ #11952]
63842 [BZ #12453]
63843 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
63844 until all modules are registered in the DTV.
63845 * elf/Makefile: Add rules to build and run tst-tls19.
63846 * elf/tst-tls19.c: New file.
63847 * elf/tst-tls19mod1.c: New file.
63848 * elf/tst-tls19mod2.c: New file.
63849 * elf/tst-tls19mod3.c: New file.
63850 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
63851
63852 [BZ #12083]
63853 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
63854 correctly.
63855
63856 [BZ #12601]
63857 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
63858 two-byte sequence errors.
63859 * iconvdata/Makefile (tests): Add bug-iconv8.
63860 * iconvdata/bug-iconv8.c: New file.
63861
63862 [BZ #12626]
63863 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
63864 buf2 definition.
63865
63866 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
63867
63868 [BZ #12432]
63869 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
63870 (dummy_getcfa): New function.
63871 (init): Get _Unwind_GetCFA address, use dummy if not found.
63872 (backtrace_helper): In recursion check, also check whether CFA changes.
63873 (__backtrace): Completely initialize arg.
63874
63875 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
63876 storing incomplete byte sequence in state object. Avoid testing for
63877 guaranteed too small input if we know there is enough data available.
63878
63879 2011-05-11 Andreas Schwab <schwab@redhat.com>
63880
63881 * Makeconfig (+link-pie): Indent.
63882 * Rules (binaries-pie): Define if $(have-fpie) and
63883 $(build-shared).
63884 (binaries-shared): Also filter out $(binaries-pie).
63885 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
63886 * nscd/Makefile (others-pie): Add nscd.
63887 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
63888 ($(objpfx)nscd): Remove command override.
63889 * login/Makefile (others-pie): Add pt_chown.
63890 ($(objpfx)pt_chown): Remove command override.
63891 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
63892 remove command overrides.
63893
63894 2011-05-13 Ulrich Drepper <drepper@gmail.com>
63895
63896 * libio/tst_putwc.c: Fix error messages.
63897
63898 [BZ #12724]
63899 * libio/fileops.c (_IO_new_file_close_it): Always flush when
63900 currently writing and seek to current position when not.
63901 * libio/Makefile (tests): Add bug-fclose1.
63902 * libio/bug-fclose1.c: New file.
63903
63904 2011-05-12 Ulrich Drepper <drepper@gmail.com>
63905
63906 [BZ #12511]
63907 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
63908 don't set DF_1_NODELETE here.
63909 (do_lookup_x): When entering new entry test for copy relocation
63910 and if necessary set DF_1_NODELETE flag.
63911 * elf/tst-unique4.cc: New file.
63912 * elf/tst-unique4.h: New file.
63913 * elf/tst-unique4lib.cc: New file.
63914 * elf/Makefile: Add rules to build and run tst-unique4.
63915 Patch by Piotr Bury <pbury@goahead.com>.
63916
63917 2011-05-11 Ulrich Drepper <drepper@gmail.com>
63918
63919 [BZ #12052]
63920 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
63921
63922 [BZ #12625]
63923 * misc/mntent_r.c (addmntent): Flush the stream after the output
63924
63925 [BZ #12393]
63926 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
63927 (is_trusted_path_normalize): Skip initial colon. Append slash
63928 to empty buffer. Duplicate is_trusted_path code but allow
63929 constructed patch to be prefix.
63930 (is_dst): Allow $ORIGIN followed by /.
63931 (_dl_dst_substitute): Correct clearing of check_for_trusted.
63932 Correct testing of result of is_trusted_path_normalize
63933 (decompose_rpath): Fix warning.
63934
63935 2011-05-10 Ulrich Drepper <drepper@gmail.com>
63936
63937 [BZ #11257]
63938 * grp/initgroups.c (internal_getgrouplist): When we found the service
63939 list through the initgroups entry in nsswitch.conf do not always
63940 continue on a successful lookup. Don't always use the
63941 __nss_group_database value if it is set.
63942 * nss/nsswitch.conf (initgroups): Change action for successful db
63943 lookup to continue for compatibility.
63944
63945 2011-05-09 Ulrich Drepper <drepper@gmail.com>
63946
63947 [BZ #11532]
63948 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
63949 and CP774 modules.
63950 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
63951 and CP774 modules.
63952 * iconvdata/tst-tables.sh: Likewise.
63953 * iconvdata/cp770.c: New file.
63954 * iconvdata/cp771.c: New file.
63955 * iconvdata/cp772.c: New file.
63956 * iconvdata/cp773.c: New file.
63957 * iconvdata/cp774.c: New file.
63958 * iconvdata/testdata/CP770: New file.
63959 * iconvdata/testdata/CP770..UTF8: New file.
63960 * iconvdata/testdata/CP771: New file.
63961 * iconvdata/testdata/CP771..UTF8: New file.
63962 * iconvdata/testdata/CP772: New file.
63963 * iconvdata/testdata/CP772..UTF8: New file.
63964 * iconvdata/testdata/CP773: New file.
63965 * iconvdata/testdata/CP773..UTF8: New file.
63966 * iconvdata/testdata/CP774: New file.
63967 * iconvdata/testdata/CP774..UTF8: New file.
63968
63969 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
63970 END CHARMAP line.
63971 * iconvdata/gen-8bit-gap.sh: Likewise.
63972 * iconvdata/gen-8bit.sh: Likewise.
63973
63974 * locale/iso-639.def: Add ary entry.
63975
63976 [BZ #11258]
63977 * locale/C-translit.h.in: Add U20A1 transliteration.
63978
63979 [BZ #12178]
63980 * locale/iso-639.def: Add wae entry.
63981 Patch by Kevin Bortis <bortis@translate-wae.ch>.
63982
63983 [BZ #12545]
63984 * locale/programs/localedef.c (construct_output_path): Use ssize_t
63985 for n.
63986
63987 [BZ #12711]
63988 * locale/C-translit.h.in: Add entry for U20B9.
63989 Patch by pravin.d.s@gmail.com.
63990
63991 2011-05-08 Ulrich Drepper <drepper@gmail.com>
63992
63993 [BZ #12713]
63994 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
63995 ENAMETOOLONG use generic getcwd.
63996 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
63997 in rtld. Use *stat64.
63998 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
63999 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
64000 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
64001 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
64002 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
64003 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
64004 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
64005 __fstatat64 macros.
64006 * include/dirent.h: Add libc_hidden_proto for rewinddir.
64007 * dirent/rewinddir.c: Add libc_hidden_def.
64008 * sysdeps/mach/hurd/rewinddir.c: Likewise.
64009 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
64010
64011 * include/dirent.h (__alloc_dir): Add flags parameter.
64012 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
64013 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
64014 __alloc_dir.
64015 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
64016 from fdopendir if O_CLOEXEC is already set.
64017
64018 2011-03-15 Alan Modra <amodra@gmail.com>
64019
64020 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
64021 l_tls_firstbyte_offset non-zero. Save padding offset in
64022 l_tls_firstbyte_offset for later use.
64023 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
64024 freeing static tls block.
64025
64026 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
64027
64028 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
64029 where #ifdef was intended. The intent is to prevent ARG_MAX from
64030 being defined by the kernel headers.
64031
64032 2011-05-07 Ulrich Drepper <drepper@gmail.com>
64033
64034 [BZ #12734]
64035 * resolv/resolv.h: Define RES_NOTLDQUERY.
64036 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
64037 no-tld-query and set RES_NOTLDQUERY.
64038 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
64039 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
64040 modern BIND to search name as TLD unless forbidden.
64041
64042 2011-05-07 Petr Baudis <pasky@suse.cz>
64043 Ulrich Drepper <drepper@gmail.com>
64044
64045 [BZ #12393]
64046 * elf/dl-load.c (fillin_rpath): Move trusted path check...
64047 (is_trusted_path): ...to here.
64048 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
64049 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
64050 using is_trusted_path_normalize() in setuid scripts.
64051
64052 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
64053
64054 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
64055 __BEGIN/__END_DECLS.
64056
64057 2011-05-06 Ulrich Drepper <drepper@gmail.com>
64058
64059 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
64060 NSS_STATUS_NOTFOUND if no record was found.
64061
64062 2011-05-05 Andreas Schwab <schwab@redhat.com>
64063
64064 * sunrpc/Makefile (headers): Add rpc/netdb.h.
64065 (headers-not-in-tirpc): Remove rpc/netdb.h
64066 * resolv/netdb.h: Revert last change.
64067
64068 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
64069
64070 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
64071 circular dependency between libgcc.a and libc.a.
64072
64073 2011-05-05 Andreas Schwab <schwab@redhat.com>
64074
64075 * resolv/netdb.h: Don't include <rpc/netdb.h>.
64076 * nis/Makefile: Don't install rpcsvc/*.
64077 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
64078 instead of <rpc/types.h>.
64079 (MAXHOSTNAMELEN): Define.
64080
64081 2011-05-03 Andreas Schwab <schwab@redhat.com>
64082
64083 * elf/ldconfig.c (add_dir): Don't crash on empty path.
64084
64085 2011-04-28 Maciej Babinski <mbabinski@google.com>
64086
64087 [BZ #12714]
64088 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
64089 gethostbyname4_r when IPv6 results are possible.
64090
64091 2011-05-02 Ulrich Drepper <drepper@gmail.com>
64092
64093 [BZ #12723]
64094 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
64095 _PC_PIPE_BUF handling.
64096
64097 2011-04-30 Bruno Haible <bruno@clisp.org>
64098
64099 [BZ #12717]
64100 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
64101 * resolv/netdb.h (getnameinfo): Change type of flags parameter
64102 to 'int'.
64103 * inet/getnameinfo.c (getnameinfo): Likewise.
64104
64105 2011-04-29 Ulrich Drepper <drepper@gmail.com>
64106
64107 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
64108 to groups setting in database lookup.
64109 * nss/nsswitch.conf: Add initgroups entry.
64110
64111 2011-04-22 Ulrich Drepper <drepper@gmail.com>
64112
64113 [BZ #12685]
64114 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
64115 mode string.
64116 Patch by Eric Blake <eblake@redhat.com>.
64117
64118 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
64119
64120 * sunrpc/Makefile (need-export-routines): Add svc_run.
64121 (routines): Remove svc_run.
64122 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
64123 * sunrpc/clnt_perr.c (clnt_perrno): Export.
64124 * sunrpc/svc_run.c (svc_run): Likewise.
64125 * sunrpc/svc_udp.c (svcudp_create): Likewise.
64126
64127 2011-04-21 Ulrich Drepper <drepper@gmail.com>
64128
64129 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
64130 problem in reallocation in last patch.
64131
64132 2011-04-20 Ulrich Drepper <drepper@gmail.com>
64133
64134 * sunrpc/Makefile: Move inclusion of Rules.
64135
64136 2011-04-19 Ulrich Drepper <drepper@gmail.com>
64137
64138 * nss/nss_files/files-initgroups.c: New file.
64139 * nss/Makefile (libnss_files-routines): Add files-initgroups.
64140 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
64141 _nss_files_initgroups_dyn.
64142
64143 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
64144
64145 * elf/elf.h (R_ARM_IRELATIVE): Define.
64146
64147 2011-04-19 Ulrich Drepper <drepper@gmail.com>
64148
64149 * po/ru.po: Update from translation team.
64150
64151 2011-04-17 Ulrich Drepper <drepper@gmail.com>
64152
64153 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
64154 dependencies.
64155
64156 2011-02-06 Mike Frysinger <vapier@gentoo.org>
64157
64158 [BZ #12653]
64159 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
64160 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
64161 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
64162 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
64163 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
64164
64165 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
64166
64167 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
64168 differing bytes.
64169 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
64170 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
64171 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
64172
64173 2011-04-17 Ulrich Drepper <drepper@gmail.com>
64174
64175 [BZ #12420]
64176 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
64177 storing it.
64178 * stdlib/bug-getcontext.c: New file.
64179 * stdlib/Makefile: Add rules to build and run bug-getcontext.
64180
64181 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
64182
64183 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
64184 instructions into .machine "z9-109".
64185 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
64186 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
64187
64188 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
64189
64190 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
64191 between environment variables and auxiliary vector.
64192
64193 2011-04-16 Ulrich Drepper <drepper@gmail.com>
64194
64195 * Makefile: Add rules to build linkobj/libc.so.
64196 * include/libc-symbols.h: Define libc_hidden_nolink.
64197 * include/rpc/auth.h: Mark functions which are to be hidden.
64198 * include/rpc/auth_des.h: Likewise.
64199 * include/rpc/auth_unix.h: Likewise.
64200 * include/rpc/clnt.h: Likewise.
64201 * include/rpc/des_crypt.h: Likewise.
64202 * include/rpc/key_prot.h: Likewise.
64203 * include/rpc/pmap_clnt.h: Likewise.
64204 * include/rpc/pmap_prot.h: Likewise.
64205 * include/rpc/pmap_rmt.h: Likewise.
64206 * include/rpc/rpc_msg.h: Likewise.
64207 * include/rpc/svc.h: Likewise.
64208 * include/rpc/svc_auth.h: Likewise.
64209 * include/rpc/xdr.h: Likewise.
64210 * nis/Makefile: Link all DSOs against linkobj/libc.so.
64211 * nss/Makefile: Likewise.
64212 * sunrpc/Makefile: Don't install headers. Build library with normal
64213 entry points. Don't build rpcinfo. Link RPC tests appropriately.
64214 * sunrpc/auth_des.c: Hide exported symbols by default, export some
64215 for the compat linking library. Remove use of INTDEF/INTUSE.
64216 * sunrpc/auth_none.c: Likewise.
64217 * sunrpc/auth_unix.c: Likewise.
64218 * sunrpc/authdes_prot.c: Likewise.
64219 * sunrpc/authuxprot.c: Likewise.
64220 * sunrpc/clnt_gen.c: Likewise.
64221 * sunrpc/clnt_perr.c: Likewise.
64222 * sunrpc/clnt_raw.c: Likewise.
64223 * sunrpc/clnt_simp.c: Likewise.
64224 * sunrpc/clnt_tcp.c: Likewise.
64225 * sunrpc/clnt_udp.c: Likewise.
64226 * sunrpc/clnt_unix.c: Likewise.
64227 * sunrpc/des_crypt.c: Likewise.
64228 * sunrpc/des_soft.c: Likewise.
64229 * sunrpc/get_myaddr.c: Likewise.
64230 * sunrpc/key_call.c: Likewise.
64231 * sunrpc/key_prot.c: Likewise.
64232 * sunrpc/netname.c: Likewise.
64233 * sunrpc/pm_getmaps.c: Likewise.
64234 * sunrpc/pm_getport.c: Likewise.
64235 * sunrpc/pmap_clnt.c: Likewise.
64236 * sunrpc/pmap_prot.c: Likewise.
64237 * sunrpc/pmap_prot2.c: Likewise.
64238 * sunrpc/pmap_rmt.c: Likewise.
64239 * sunrpc/publickey.c: Likewise.
64240 * sunrpc/rpc_cmsg.c: Likewise.
64241 * sunrpc/rpc_common.c: Likewise.
64242 * sunrpc/rpc_dtable.c: Likewise.
64243 * sunrpc/rpc_prot.c: Likewise.
64244 * sunrpc/rpc_thread.c: Likewise.
64245 * sunrpc/rtime.c: Likewise.
64246 * sunrpc/svc.c: Likewise.
64247 * sunrpc/svc_auth.c: Likewise.
64248 * sunrpc/svc_authux.c: Likewise.
64249 * sunrpc/svc_raw.c: Likewise.
64250 * sunrpc/svc_run.c: Likewise.
64251 * sunrpc/svc_simple.c: Likewise.
64252 * sunrpc/svc_tcp.c: Likewise.
64253 * sunrpc/svc_udp.c: Likewise.
64254 * sunrpc/svc_unix.c: Likewise.
64255 * sunrpc/svcauth_des.c: Likewise.
64256 * sunrpc/xcrypt.c: Likewise.
64257 * sunrpc/xdr.c: Likewise.
64258 * sunrpc/xdr_array.c: Likewise.
64259 * sunrpc/xdr_float.c: Likewise.
64260 * sunrpc/xdr_intXX_t.c: Likewise.
64261 * sunrpc/xdr_mem.c: Likewise.
64262 * sunrpc/xdr_rec.c: Likewise.
64263 * sunrpc/xdr_ref.c: Likewise.
64264 * sunrpc/xdr_sizeof.c: Likewise.
64265 * sunrpc/xdr_stdio.c: Likewise.
64266
64267 2011-04-10 Ulrich Drepper <drepper@gmail.com>
64268
64269 [BZ #12650]
64270 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
64271 * sysdeps/ia64/dl-tls.h: Likewise.
64272 * sysdeps/powerpc/dl-tls.h: Likewise.
64273 * sysdeps/s390/dl-tls.h: Likewise.
64274 * sysdeps/sh/dl-tls.h: Likewise.
64275 * sysdeps/sparc/dl-tls.h: Likewise.
64276 * sysdeps/x86_64/dl-tls.h: Likewise.
64277 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
64278
64279 2011-03-14 Andreas Schwab <schwab@redhat.com>
64280
64281 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
64282 rpath element also skip the following colon.
64283 (expand_dynamic_string_token): Add is_path parameter and pass
64284 down to DL_DST_REQUIRED and _dl_dst_substitute.
64285 (decompose_rpath): Call expand_dynamic_string_token with
64286 non-zero is_path. Ignore empty rpaths.
64287 (_dl_map_object_from_fd): Call expand_dynamic_string_token
64288 with zero is_path.
64289
64290 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
64291
64292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
64293 Make cancelable.
64294
64295 2011-04-09 Ulrich Drepper <drepper@gmail.com>
64296
64297 [BZ #12655]
64298 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
64299 Patch by Filipe David Manana <fdmanana@apache.org>.
64300
64301 2011-04-07 Andreas Schwab <schwab@redhat.com>
64302
64303 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
64304 Maintain aligned stack.
64305 (CHECK_RSP): Remove unused macro.
64306
64307 2011-04-03 Ulrich Drepper <drepper@gmail.com>
64308
64309 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
64310 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
64311
64312 2011-04-02 Ulrich Drepper <drepper@gmail.com>
64313
64314 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
64315
64316 * include/features.h: Mention __USE_XOPEN2K8 in comment.
64317
64318 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
64319
64320 [BZ #12518]
64321 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
64322 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
64323 * sysdeps/x86_64/memmove.c: New file.
64324 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
64325 (memcpy): Renamed to ...
64326 (__new_memcpy): This.
64327 (memcpy): Provide GLIBC_2_14 memcpy.
64328 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
64329 (memcpy): Provide GLIBC_2_2_5 memcpy.
64330
64331 2011-04-01 Ulrich Drepper <drepper@gmail.com>
64332
64333 [BZ #12631]
64334 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
64335
64336 2011-03-30 Andreas Schwab <schwab@redhat.com>
64337
64338 * misc/syncfs.c: New file.
64339 * misc/Makefile (routines): Add syncfs.
64340 * posix/unistd.h: Declare syncfs.
64341 * sysdeps/unix/syscalls.list: Add syncfs.
64342
64343 2011-04-01 Andreas Schwab <schwab@redhat.com>
64344
64345 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
64346 open_by_handle_at.
64347 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
64348 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
64349 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
64350 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
64351 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
64352 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
64353 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
64354
64355 2011-04-01 Ulrich Drepper <drepper@gmail.com>
64356
64357 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
64358 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
64359 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
64360 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
64361 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
64362 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
64363 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
64364
64365 * io/Makefile: Compile fallocate.c, fallocate64.c, and
64366 sync_file_range.c with -fexceptions.
64367 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
64368 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
64369 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
64370 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
64371 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
64372 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
64373 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
64374 sync_file_range as cancellation point
64375 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
64376 now a wrapper around __call_sync_file_range with cancellation handling.
64377 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
64378 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
64379 function name to __call_sync_file_range.
64380 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
64381 Add call_sync_file_range.
64382
64383 2011-04-01 Andreas Schwab <schwab@redhat.com>
64384
64385 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64386 bits/timex.h.
64387
64388 2011-04-01 Ulrich Drepper <drepper@gmail.com>
64389
64390 * iconv/iconv.h: Fix typo in comment.
64391 * io/fcntl.h: Likewise.
64392 * libio/stdio.h: Likewise.
64393 * posix/spawn.h: Likewise.
64394 * posix/unistd.h: Likewise.
64395 * stdlib/stdlib.h: Likewise.
64396 * time/time.h: Likewise.
64397 * wcsmbs/wchar.h: Likewise.
64398
64399 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
64400 open_by_handle): Add.
64401 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
64402 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
64403 Augment a few comments.
64404 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
64405 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
64406 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
64407 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
64408 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
64409 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
64410 open_by_handle.
64411
64412 * io/fcntl.h (AT_EMPTY_PATH): Define.
64413
64414 2011-03-30 Ulrich Drepper <drepper@gmail.com>
64415
64416 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
64417 * sysdeps/unix/sysv/linux/bits/time.h: New file.
64418 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
64419 to...
64420 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
64421 * Versions.def: Add GLIBC_2.14.
64422 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
64423 Export.
64424
64425 2011-03-22 Ulrich Drepper <drepper@gmail.com>
64426
64427 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
64428 round counter.
64429 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
64430
64431 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
64432
64433 [BZ #12597]
64434 * string/test-strncmp.c (do_page_test): New function.
64435 (check2): Likewise.
64436 (test_main): Call check2.
64437 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
64438
64439 2011-03-20 Ulrich Drepper <drepper@gmail.com>
64440
64441 [BZ #12587]
64442 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
64443 Handle cache information in CPU leaf 4.
64444 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
64445
64446 2011-03-18 Ulrich Drepper <drepper@gmail.com>
64447
64448 [BZ #12583]
64449 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
64450 character representation.
64451 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
64452
64453 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
64454
64455 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
64456 END(__isnan) to END(__isnanf) to match function entry point/label
64457 EALIGN(__isnanf,...).
64458
64459 2011-03-10 Jakub Jelinek <jakub@redhat.com>
64460
64461 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
64462
64463 2011-03-10 Ulrich Drepper <drepper@gmail.com>
64464
64465 [BZ #12510]
64466 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
64467 copy from the symbol referenced in the relocation to initialize the
64468 used variable.
64469 Patch by Piotr Bury <pbury@goahead.com>.
64470 * elf/Makefile: Add rules to build and tst-unique3.
64471 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
64472 * elf/tst-unique3.cc: New file.
64473 * elf/tst-unique3.h: New file.
64474 * elf/tst-unique3lib.cc: New file.
64475 * elf/tst-unique3lib2.cc: New file.
64476
64477 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
64478
64479 2011-03-10 Mike Frysinger <vapier@gentoo.org>
64480
64481 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
64482 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
64483 to _start.
64484
64485 2011-03-06 Ulrich Drepper <drepper@gmail.com>
64486
64487 * elf/dl-load.c (_dl_map_object): If we are looking for the first
64488 to-be-loaded object along a path to loader is ld.so.
64489
64490 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
64491 Ulrich Drepper <drepper@gmail.com>
64492
64493 * sysdeps/x86_64/memset.S: After aligning destination, code
64494 branches to different locations depending on the value of
64495 misalignment, when multiarch is enabled. Fix this.
64496
64497 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
64498
64499 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
64500 Set _x86_64_preferred_memory_instruction for AMD processsors.
64501 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
64502 Set bit_Prefer_SSE_for_memop for AMD processors.
64503
64504 2011-03-04 Ulrich Drepper <drepper@gmail.com>
64505
64506 * libio/fmemopen.c (fmemopen): Optimize a bit.
64507
64508 2011-03-03 Andreas Schwab <schwab@redhat.com>
64509
64510 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
64511
64512 2011-03-03 Roland McGrath <roland@redhat.com>
64513
64514 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
64515
64516 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
64517
64518 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
64519 __bzero_ultra1 instead of __memset_ultra1.
64520
64521 2011-02-23 Andreas Schwab <schwab@redhat.com>
64522 Ulrich Drepper <drepper@gmail.com>
64523
64524 [BZ #12509]
64525 * include/link.h (struct link_map): Add l_orig_initfini.
64526 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
64527 returning unsuccessfully.
64528 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
64529 close of a file loaded at startup, restore the original l_initfini
64530 list.
64531 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
64532 list, store the pointer.
64533 * elf/Makefile ($(objpfx)noload-mem): New rule.
64534 (noload-ENV): Define.
64535 (tests): Add $(objpfx)noload-mem.
64536 * elf/noload.c: Include <memcheck.h>.
64537 (main): Call mtrace. Close all opened handles.
64538
64539 2011-02-17 Andreas Schwab <schwab@redhat.com>
64540
64541 [BZ #12454]
64542 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
64543 dependencies are missing.
64544
64545 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
64546
64547 Fix __if_freereq crash: Unlike the generic version which uses free,
64548 Hurd needs munmap.
64549 * sysdeps/mach/hurd/ifreq.h: New file.
64550
64551 2011-01-27 Petr Baudis <pasky@suse.cz>
64552 Ulrich Drepper <drepper@gmail.com>
64553
64554 [BZ 12445]#
64555 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
64556 to extend_alloca().
64557 * stdio-common/bug23.c: New file.
64558 * stdio-common/Makefile (tests): Add bug23.
64559
64560 2010-09-28 Andreas Schwab <schwab@redhat.com>
64561 Ulrich Drepper <drepper@gmail.com>
64562
64563 [BZ #12489]
64564 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
64565 before performing relro protection. At old place add assertion
64566 to make sure nothing changed.
64567
64568 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
64569 Glauber de Oliveira Costa <glommer@gmail.com>
64570
64571 * elf/elf.h: Add new ARM TLS relocs.
64572
64573 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
64574
64575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
64576 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
64577 cast from r3.
64578 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
64579 'tests' variable.
64580 * sysdeps/wordsize-64/tst-writev.c: New file.
64581
64582 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
64583
64584 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
64585 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
64586 insns in _dl_start to prevent a TOC reference before relocs are
64587 resolved.
64588
64589 2011-02-15 Ulrich Drepper <drepper@gmail.com>
64590
64591 [BZ #12469]
64592 * Makeconfig: Remove RANLIB definition.
64593 * Makerules: Don't use RANLIB.
64594 * aclocal.m4: Remove ranlib test.
64595 * configure.in: No need to check for ranlib.
64596 * elf/rtld-Rules: Don't use RANLIB.
64597
64598 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
64599
64600 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
64601 protection macro.
64602 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
64603 inclusion protection macro.
64604
64605 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
64606 SIGRTMIN and SIGRTMAX and print information in that case only when
64607 SIGRTMIN is defined.
64608
64609 2011-02-11 Jakub Jelinek <jakub@redhat.com>
64610
64611 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
64612 arginfo fn returning -1.
64613
64614 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
64615 and thousands string is zero terminated.
64616
64617 2011-02-03 Andreas Schwab <schwab@redhat.com>
64618
64619 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
64620 sysdeps/unix/sysv/linux/bits/socket.h.
64621
64622 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
64623
64624 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
64625 (__CPU_COUNT): Remove old macros.
64626 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
64627 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
64628 (__CPU_ALLOC, __CPU_FREE): Add macros.
64629 (__sched_cpualloc, __sched_cpufree): Add declarations.
64630
64631 2011-02-05 Ulrich Drepper <drepper@gmail.com>
64632
64633 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
64634 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
64635 * nscd/aicache.c (addhstaiX): Return timeout of added value.
64636 (readdhstai): Return value of addhstaiX call.
64637 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
64638 (addgrbyX): Return value returned by cache_addgr.
64639 (readdgrbyname): Return value returned by addgrbyX.
64640 (readdgrbygid): Likewise.
64641 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
64642 (addpwbyX): Return value returned by cache_addpw.
64643 (readdpwbyname): Return value returned by addhstbyX.
64644 (readdpwbyuid): Likewise.
64645 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
64646 (addservbyX): Return value returned by cache_addserv.
64647 (readdservbyname): Return value returned by addservbyX:
64648 (readdservbyport): Likewise.
64649 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
64650 (addhstbyX): Return value returned by cache_addhst.
64651 (readdhstbyname): Return value returned by addhstbyX.
64652 (readdhstbyaddr): Likewise.
64653 (readdhstbynamev6): Likewise.
64654 (readdhstbyaddrv6): Likewise.
64655 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
64656 (readdinitgroups): Return value returned by addinitgroupsX.
64657 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
64658 (prune_cache): Keep track of timeout value of re-added entries.
64659 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
64660 * nscd/nscd.h: Adjust prototypes of readd* functions.
64661
64662 2011-02-04 Roland McGrath <roland@redhat.com>
64663
64664 * nis/nis_server.c (nis_servstate): Use the right name for 0.
64665 (nis_stats): Likewise.
64666 * nis/nis_modify.c (nis_modify): Likewise.
64667 * nis/nis_remove.c (nis_remove): Likewise.
64668 * nis/nis_add.c (nis_add): Likewise.
64669
64670 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
64671
64672 * posix/fnmatch_loop.c: Add some consts.
64673
64674 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
64675
64676 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
64677
64678 [BZ #12460]
64679 * config.make.in (config-cflags-novzeroupper): Define.
64680 * configure.in: Substitute libc_cv_cc_novzeroupper.
64681 * elf/Makefile (AVX-CFLAGS): Define.
64682 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
64683 (CFLAGS-tst-auditmod4a.c): Likewise.
64684 (CFLAGS-tst-auditmod4b.c): Likewise.
64685 (CFLAGS-tst-auditmod6b.c): Likewise.
64686 (CFLAGS-tst-auditmod6c.c): Likewise.
64687 (CFLAGS-tst-auditmod7b.c): Likewise.
64688 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
64689
64690 2011-02-02 Ulrich Drepper <drepper@gmail.com>
64691
64692 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
64693 function to the callback.
64694 Patch partly by Jiri Olsa <jolsa@redhat.com>.
64695
64696 2011-02-02 Andreas Schwab <schwab@redhat.com>
64697
64698 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
64699 of errno.
64700
64701 2011-01-19 Ulrich Drepper <drepper@gmail.com>
64702
64703 [BZ #11724]
64704 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
64705 of constructors.
64706 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
64707 of destructors.
64708 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
64709
64710 [BZ #11724]
64711 * elf/Makefile: Add rules to build and run new test.
64712 * elf/tst-initorder.c: New file.
64713 * elf/tst-initorder.exp: New file.
64714 * elf/tst-initordera1.c: New file.
64715 * elf/tst-initordera2.c: New file.
64716 * elf/tst-initordera3.c: New file.
64717 * elf/tst-initordera4.c: New file.
64718 * elf/tst-initorderb1.c: New file.
64719 * elf/tst-initorderb2.c: New file.
64720 * elf/tst-order-a1.c: New file.
64721 * elf/tst-order-a2.c: New file.
64722 * elf/tst-order-a3.c: New file.
64723 * elf/tst-order-a4.c: New file.
64724 * elf/tst-order-b1.c: New file.
64725 * elf/tst-order-b2.c: New file.
64726 * elf/tst-order-main.c: New file.
64727 New test case by George Gensure <werkt0@gmail.com>.
64728
64729 2010-10-01 Andreas Schwab <schwab@redhat.com>
64730
64731 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
64732 decoding ACE if AI_CANONIDN.
64733
64734 2011-01-18 Ulrich Drepper <drepper@gmail.com>
64735
64736 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
64737
64738 2011-01-17 Ulrich Drepper <drepper@gmail.com>
64739
64740 * version.h (RELEASE): Bump for 2.13 release.
64741 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
64742
64743 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
64744
64745 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
64746 MADV_NOHUGEPAGE.
64747 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
64748 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
64749 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
64750 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
64751 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
64752 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
64753
64754 * posix/getconf.c: Update copyright year.
64755 * catgets/gencat.c: Likewise.
64756 * csu/version.c: Likewise.
64757 * debug/catchsegv.sh: Likewise.
64758 * debug/xtrace.sh: Likewise.
64759 * elf/ldconfig.c: Likewise.
64760 * elf/ldd.bash.in: Likewise.
64761 * elf/sprof.c (print_version): Likewise.
64762 * iconv/iconv_prog.c: Likewise.
64763 * iconv/iconvconfig.c: Likewise.
64764 * locale/programs/locale.c: Likewise.
64765 * locale/programs/localedef.c: Likewise.
64766 * malloc/memusage.sh: Likewise.
64767 * malloc/mtrace.pl: Likewise.
64768 * nscd/nscd.c (print_version): Likewise.
64769 * nss/getent.c: Likewise.
64770
64771 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
64772 PF_CAIF, and PF_ALG.
64773 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
64774
64775 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
64776
64777 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
64778 (modules-names): Use them.
64779 (ifunc-test-modules, ifunc-pie-tests): Define.
64780 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
64781 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
64782 (test-extras): Likewise.
64783 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
64784 $(compile-command.c).
64785 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
64786 (all-built-dso): Define.
64787 (check-textrel.out, check-execstack.out): Depend on it.
64788
64789 * configure.in: Don't override --enable-multi-arch.
64790
64791 2011-01-15 Ulrich Drepper <drepper@gmail.com>
64792
64793 [BZ #6812]
64794 * nscd/hstcache.c (tryagain): Define.
64795 (cache_addhst): Return tryagain not notfound for temporary errors.
64796 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
64797 failed.
64798
64799 2011-01-14 Ulrich Drepper <drepper@gmail.com>
64800
64801 [BZ #10563]
64802 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
64803 to make the syscall.
64804 * sysdeps/unix/sysv/linux/setgroups.c: New file.
64805
64806 [BZ #12378]
64807 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
64808 and fall back to matching as normal character if the string ends before
64809 the matching ']' is found. This is what POSIX requires.
64810 * posix/testfnm.c: Adjust test result.
64811 * posix/globtest.sh: Adjust test result. Add new test.
64812 * posix/tst-fnmatch.input: Likewise.
64813 * posix/tst-fnmatch2.c: Add new test.
64814
64815 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
64816
64817 * elf/Makefile (check-execstack): Revert last change. Depend on
64818 check-execstack.h.
64819 (check-execstack.h): New target.
64820 (generated): Add check-execstack.h.
64821 * elf/check-execstack.c: Include "check-execstack.h".
64822 (main): Revert last change.
64823 (handle_file): Return zero if GNU_STACK is absent and
64824 DEFAULT_STACK_PERMS doesn't include PF_X.
64825
64826 2011-01-13 Ulrich Drepper <drepper@gmail.com>
64827
64828 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
64829 in child fails because the descriptor is already closed.
64830 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
64831 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
64832 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
64833
64834 [BZ #12397]
64835 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
64836 syscall.
64837
64838 [BZ #10484]
64839 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
64840 temporary buffer used to handle multi lookups locally.
64841 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
64842
64843 2011-01-12 Ulrich Drepper <drepper@gmail.com>
64844
64845 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
64846 loader is ld.so.
64847
64848 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
64849
64850 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
64851 alignment for SSE2.
64852
64853 2011-01-12 Ulrich Drepper <drepper@gmail.com>
64854
64855 [BZ #12394]
64856 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
64857 characters. When rounding increased number of integer digits recompute
64858 number of groups.
64859 * stdio-common/tst-grouping.c: New file.
64860 * stdio-common/Makefile: Add rules to build and run tst-grouping.
64861
64862 2011-01-09 Ulrich Drepper <drepper@gmail.com>
64863
64864 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
64865 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
64866
64867 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
64868 void.
64869 * bits/select.h: Likewise.
64870
64871 2011-01-08 Ulrich Drepper <drepper@gmail.com>
64872
64873 * po/ja.po: Update from translation team.
64874
64875 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
64876
64877 [BZ #11155]
64878 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
64879 implementation just like for lxstat, fxstatat, et al.
64880
64881 2010-12-27 Jim Meyering <meyering@redhat.com>
64882
64883 [BZ #12348]
64884 * posix/regexec.c (build_trtable): Return failure indication upon
64885 calloc failure. Otherwise, re_search_internal could infloop on OOM.
64886
64887 2010-12-25 Ulrich Drepper <drepper@gmail.com>
64888
64889 [BZ #12201]
64890 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
64891 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
64892 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
64893 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
64894
64895 [BZ #12207]
64896 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
64897
64898 [BZ #12204]
64899 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
64900 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
64901
64902 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
64903
64904 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
64905 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
64906 script has SORT_BY_INIT_PRIORITY.
64907 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
64908 NO_CTORS_DTORS_SECTIONS is defined.
64909 * elf/soinit.c: Likewise.
64910 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
64911 NO_CTORS_DTORS_SECTIONS is defined.
64912 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
64913 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
64914 * sysdeps/sh/init-first.c: Likewise.
64915 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
64916
64917 2010-12-24 Ulrich Drepper <drepper@gmail.com>
64918
64919 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
64920 always use the slow path.
64921
64922 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
64923
64924 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
64925 similar rule which adds the sysdep directories to the header search in
64926 order to pick up the correct platform stackinfo.h.
64927 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
64928 perform test if it is, otherwise return successfully without testing.
64929 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
64930 DEFAULT_STACK_PERMS define in stackinfo.h.
64931 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
64932 defined in stackinfo.h.
64933 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
64934 DEFAULT_STACK_PERMS defined in stackinfo.h.
64935 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
64936 * sysdeps/ia64/stackinfo.h: Likewise.
64937 * sysdeps/s390/stackinfo.h: Likewise.
64938 * sysdeps/sh/stackinfo.h: Likewise.
64939 * sysdeps/sparc/stackinfo.h: Likewise.
64940 * sysdeps/x86_64/stackinfo.h: Likewise.
64941 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
64942 PF_X for powerpc64. Retain PF_X for powerpc32.
64943
64944 2010-12-19 Ulrich Drepper <drepper@gmail.com>
64945
64946 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
64947 accurately.
64948 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
64949 GETDENTS_64BIT_ALIGNED.
64950
64951 2010-12-14 Ulrich Drepper <dreper@gmail.com>
64952
64953 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
64954
64955 2010-12-10 Andreas Schwab <schwab@redhat.com>
64956
64957 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
64958 _GNU_SOURCE.
64959
64960 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
64961 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
64962 Remove __restrict.
64963 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
64964 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
64965
64966 2010-12-09 Ulrich Drepper <drepper@gmail.com>
64967
64968 [BZ #11655]
64969 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
64970 are initialized.
64971
64972 2010-12-09 Jakub Jelinek <jakub@redhat.com>
64973
64974 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
64975
64976 2010-12-03 Ulrich Drepper <drepper@gmail.com>
64977
64978 * po/it.po: Update from translation team.
64979
64980 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
64981
64982 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
64983 unused codes.
64984
64985 2010-11-30 Ulrich Drepper <drepper@gmail.com>
64986
64987 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
64988
64989 2010-11-24 Andreas Schwab <schwab@redhat.com>
64990
64991 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
64992 specially.
64993 (gaih_getanswer_slice): Likewise.
64994
64995 2010-10-20 Jakub Jelinek <jakub@redhat.com>
64996
64997 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
64998
64999 2010-05-31 Petr Baudis <pasky@suse.cz>
65000
65001 [BZ #11149]
65002 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
65003 silently even in the chroot mode.
65004
65005 2010-11-22 Ulrich Drepper <drepper@gmail.com>
65006
65007 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
65008 last patch a bit. Pretty printing
65009
65010 2010-05-31 Petr Baudis <pasky@suse.cz>
65011
65012 [BZ #10085]
65013 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
65014 initialization of skip_initgroups_dyn.
65015
65016 2010-11-19 Ulrich Drepper <drepper@gmail.com>
65017
65018 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
65019 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
65020
65021 2010-11-16 Ulrich Drepper <drepper@gmail.com>
65022
65023 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
65024
65025 2010-11-11 Andreas Schwab <schwab@redhat.com>
65026
65027 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
65028 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
65029 (tst-fnmatch-ENV): Set MALLOC_TRACE.
65030 ($(objpfx)tst-fnmatch-mem): New rule.
65031 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
65032 * posix/tst-fnmatch.c (main): Call mtrace.
65033
65034 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
65035
65036 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65037 Support Intel processor model 6 and model 0x2c.
65038
65039 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
65040
65041 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
65042 signed comparison.
65043
65044 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
65045
65046 [BZ #12205]
65047 * string/test-strncasecmp.c (check_result): New function.
65048 (do_one_test): Use it.
65049 (check1): New function.
65050 (test_main): Use it.
65051 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
65052 Support strcasecmp and strncasecmp.
65053
65054 2010-11-08 Ulrich Drepper <drepper@gmail.com>
65055
65056 [BZ #12194]
65057 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
65058 * sysdeps/x86_64/bits/byteswap.h: Likewise.
65059
65060 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
65061
65062 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
65063 IFUNC support.
65064 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
65065 memset-x86-64.
65066 * sysdeps/x86_64/multiarch/bzero.S: New file.
65067 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
65068 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
65069 * sysdeps/x86_64/multiarch/memset.S: New file.
65070 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
65071 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65072 Set bit_Prefer_SSE_for_memop for Intel processors.
65073 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
65074 Define.
65075 (index_Prefer_SSE_for_memop): Define.
65076 (HAS_PREFER_SSE_FOR_MEMOP): Define.
65077
65078 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
65079
65080 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
65081 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
65082
65083 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
65084
65085 [BZ #12191]
65086 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
65087 (__x86_64_raw_data_cache_size_half): Likewise.
65088 (__x86_64_raw_shared_cache_size): Likewise.
65089 (__x86_64_raw_shared_cache_size_half): Likewise.
65090
65091 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
65092 (__x86_64_raw_data_cache_size_half): Likewise.
65093 (__x86_64_raw_shared_cache_size): Likewise.
65094 (__x86_64_raw_shared_cache_size_half): Likewise.
65095 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
65096 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
65097 and __x86_64_raw_shared_cache_size_half. Round
65098 __x86_64_data_cache_size_half, __x86_64_data_cache_size
65099 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
65100 to multiple of 256 bytes.
65101
65102 2010-11-03 Ulrich Drepper <drepper@gmail.com>
65103
65104 [BZ #12167]
65105 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
65106 of inacessible symlinks. Verify result of symlink before returning it.
65107 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
65108 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
65109
65110 2010-10-28 Erich Ritz <erichritz@gmail.com>
65111
65112 * math/math.h (isinf): Fix typo in comment.
65113
65114 2010-11-01 Ulrich Drepper <drepper@gmail.com>
65115
65116 * po/da.po: Update from translation team.
65117
65118 2010-10-26 Ulrich Drepper <drepper@gmail.com>
65119
65120 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
65121 is added to the list.
65122
65123 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
65124 Ulrich Drepper <drepper@gmail.com>
65125
65126 * elf/dl-object.c (_dl_new_object): Don't append the new object to
65127 the global list here. Move code to...
65128 (_dl_add_to_namespace_list): ...here. New function.
65129 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
65130 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
65131 * elf/dl-load.c (lose): Don't remove the element from the list.
65132 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
65133 (_dl_map_object): Likewise.
65134
65135 2010-10-25 Ulrich Drepper <drepper@gmail.com>
65136
65137 [BZ #12159]
65138 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
65139 into all bytes of SSE register.
65140 Patch by Richard Li <richardpku@gmail.com>.
65141
65142 2010-10-24 Ulrich Drepper <drepper@gmail.com>
65143
65144 [BZ #12140]
65145 * malloc/malloc.c (_int_free): Fill correct number of bytes when
65146 perturbing.
65147
65148 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
65149
65150 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
65151 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
65152 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
65153 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
65154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
65155 submachine.
65156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
65157
65158 2010-10-22 Andreas Schwab <schwab@redhat.com>
65159
65160 * include/dlfcn.h (__RTLD_SECURE): Define.
65161 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
65162 mode & __RTLD_SECURE instead.
65163 (open_path): Rename preloaded parameter to secure.
65164 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
65165 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
65166 * elf/dl-deps.c (openaux): Likewise.
65167 * elf/rtld.c (struct map_args): Remove is_preloaded.
65168 (map_doit): Don't use it.
65169 (dl_main): Likewise.
65170 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
65171 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
65172
65173 2010-09-09 Andreas Schwab <schwab@redhat.com>
65174
65175 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
65176 (sysd-rules-targets): Remove duplicates.
65177 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
65178 rtld-%.$o dependency.
65179
65180 2010-10-18 Andreas Schwab <schwab@redhat.com>
65181
65182 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
65183 _dl_map_object do it.
65184
65185 2010-10-19 Ulrich Drepper <drepper@gmail.com>
65186
65187 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
65188 fast fma builtins, define the macros in the C99 standard.
65189 (FP_FAST_FMAF): Likewise.
65190 (FP_FAST_FMAL): Likewise.
65191 * sysdeps/x86_64/bits/mathdef.h: Likewise.
65192
65193 * bits/mathdef.h: Update copyright year.
65194 * sysdeps/powerpc/bits/mathdef.h: Likewise.
65195
65196 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
65197
65198 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
65199 builtins, define the macros in the C99 standard.
65200 (FP_FAST_FMAF): Likewise.
65201 (FP_FAST_FMAL): Likewise.
65202 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
65203 multiply/add.
65204 (FP_FAST_FMAF): Likewise.
65205
65206 2010-10-15 Jakub Jelinek <jakub@redhat.com>
65207
65208 [BZ #3268]
65209 * math/libm-test.inc (fma_test): Some new testcases.
65210 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
65211 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
65212 y and infinite z. Do multiplication by C already in long double.
65213 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
65214 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
65215 y and infinite z. Do bitwise or of inexact bit into u.d.
65216 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
65217 * sysdeps/i386/fpu/s_fmaf.S: Removed.
65218 * sysdeps/i386/fpu/s_fma.S: Removed.
65219 * sysdeps/i386/fpu/s_fmal.S: Removed.
65220
65221 2010-10-16 Jakub Jelinek <jakub@redhat.com>
65222
65223 [BZ #3268]
65224 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
65225 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
65226 computation is not scheduled after fetestexcept. Fix value
65227 of minimum denormal long double.
65228
65229 2010-10-14 Jakub Jelinek <jakub@redhat.com>
65230
65231 [BZ #3268]
65232 * math/libm-test.inc (fma_test): Add some more tests.
65233 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
65234 correctly.
65235
65236 2010-10-15 Andreas Schwab <schwab@redhat.com>
65237
65238 * scripts/data/localplt-s390-linux-gnu.data: New file.
65239 * scripts/data/localplt-s390x-linux-gnu.data: New file.
65240
65241 2010-10-13 Jakub Jelinek <jakub@redhat.com>
65242
65243 [BZ #3268]
65244 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
65245 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
65246 instead of dbl-64.
65247 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
65248 inlines.
65249 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
65250 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
65251 if one of x and y is very large and the other is subnormal.
65252 * sysdeps/s390/fpu/s_fmaf.c: New file.
65253 * sysdeps/s390/fpu/s_fma.c: New file.
65254 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
65255 * sysdeps/powerpc/fpu/s_fma.S: New file.
65256 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
65257 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
65258 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
65259
65260 2010-10-12 Jakub Jelinek <jakub@redhat.com>
65261
65262 [BZ #3268]
65263 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
65264 fma tests.
65265 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
65266 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
65267 * sysdeps/i386/i686/multiarch/s_fma.c: Include
65268 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
65269 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
65270 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
65271 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
65272
65273 2010-10-12 Ulrich Drepper <drepper@redhat.com>
65274
65275 [BZ #12078]
65276 * posix/regcomp.c (parse_branch): One more memory leak plugged.
65277 * posix/bug-regex31.input: Add test case.
65278
65279 2010-10-11 Ulrich Drepper <drepper@gmail.com>
65280
65281 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
65282 * posix/bug-regex31.input: New file.
65283
65284 [BZ #12078]
65285 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
65286 (parse_sub_exp): Fix last change, use postorder.
65287
65288 * posix/bug-regex31.c: New file.
65289 * posix/Makefile: Add rules to build and run bug-regex31.
65290
65291 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
65292
65293 [BZ #12078]
65294 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
65295
65296 [BZ #12108]
65297 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
65298 to have entries in sys_siglist.
65299
65300 [BZ #12093]
65301 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
65302 be NULL.
65303
65304 2010-10-07 Jakub Jelinek <jakub@redhat.com>
65305
65306 [BZ #3268]
65307 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
65308 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
65309 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
65310 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
65311 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
65312 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
65313 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
65314 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
65315 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
65316 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
65317 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
65318 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
65319 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
65320 * math/ftestexcept.c (fetestexcept): Likewise.
65321 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
65322 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
65323 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
65324 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
65325 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
65326 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
65327 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
65328
65329 2010-10-11 Ulrich Drepper <drepper@gmail.com>
65330
65331 [BZ #12107]
65332 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
65333 newline.
65334
65335 2010-10-06 Ulrich Drepper <drepper@gmail.com>
65336
65337 * string/bug-strstr1.c: New file.
65338 * string/Makefile: Add rules to build and run bug-strstr1.
65339
65340 2010-10-05 Eric Blake <eblake@redhat.com>
65341
65342 [BZ #12092]
65343 * string/str-two-way.h (two_way_long_needle): Always clear memory
65344 when skipping input due to the shift table.
65345
65346 2010-10-03 Ulrich Drepper <drepper@gmail.com>
65347
65348 [BZ #12005]
65349 * malloc/mcheck.c: Handle large requests.
65350
65351 [BZ #12077]
65352 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
65353 for strncmp and strncasecmp.
65354 * string/stratcliff.c: Add tests for strcmp and strncmp.
65355 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
65356
65357 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
65358
65359 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
65360 __set_fpscr.
65361
65362 2010-09-30 Andreas Jaeger <aj@suse.de>
65363
65364 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
65365 (CGROUP_SUPER_MAGIC): Define.
65366 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
65367 Handle btrfs and cgroup file systems.
65368 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
65369 Likewise.
65370
65371 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
65372
65373 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
65374 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
65375
65376 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
65377
65378 [BZ #12067]
65379 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
65380 trying to locate the ELF header.
65381
65382 2010-09-27 Andreas Schwab <schwab@redhat.com>
65383
65384 [BZ #11611]
65385 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
65386 Mask out sign-bit copies when constructing f_fsid.
65387
65388 2010-09-24 Petr Baudis <pasky@suse.cz>
65389
65390 * debug/stack_chk_fail_local.c: Add missing licence exception.
65391 * debug/warning-nop.c: Likewise.
65392
65393 2010-09-15 Joseph Myers <joseph@codesourcery.com>
65394
65395 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
65396 implementing getdents64 using getdents syscall, set d_type if
65397 __ASSUME_GETDENTS32_D_TYPE.
65398
65399 2010-09-16 Andreas Schwab <schwab@redhat.com>
65400
65401 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
65402 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
65403
65404 2010-09-21 Ulrich Drepper <drepper@redhat.com>
65405
65406 [BZ #12037]
65407 * posix/unistd.h: Undo change of feature selection for ftruncate from
65408 2010-01-11.
65409
65410 2010-09-20 Ulrich Drepper <drepper@redhat.com>
65411
65412 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
65413 detection.
65414
65415 2010-09-20 Andreas Schwab <schwab@redhat.com>
65416
65417 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
65418 fanotify_mark.
65419 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
65420
65421 2010-09-14 Andreas Schwab <schwab@redhat.com>
65422
65423 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
65424 variables after CHECK_SP call.
65425 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
65426
65427 2010-09-13 Andreas Schwab <schwab@redhat.com>
65428 Ulrich Drepper <drepper@redhat.com>
65429
65430 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
65431 re-relocationg ld.so.
65432 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
65433 _dl_init_paths call.
65434 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
65435 here anymore.
65436
65437 2010-09-14 Ulrich Drepper <drepper@redhat.com>
65438
65439 * resolv/res_init.c (__res_vinit): Count the default server we added.
65440
65441 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
65442 Ulrich Drepper <drepper@redhat.com>
65443
65444 [BZ #11968]
65445 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
65446 (____longjmp_chk): Use %ebx for saving value across system call.
65447 Add unwind info.
65448
65449 2010-09-06 Andreas Schwab <schwab@redhat.com>
65450
65451 * manual/Makefile: Don't mix pattern rules with normal rules.
65452
65453 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
65454
65455 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
65456 operation.
65457 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
65458 * libio/iofopncook.c (_IO_cookie_init): Likewise.
65459 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
65460 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
65461 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
65462 Likewise.
65463
65464 2010-09-04 Ulrich Drepper <drepper@redhat.com>
65465
65466 [BZ #11979]
65467 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
65468 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
65469
65470 2010-09-02 Ulrich Drepper <drepper@redhat.com>
65471
65472 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
65473 * sysdeps/x86_64/addmul_1.S: Likewise.
65474 * sysdeps/x86_64/lshift.S: Likewise.
65475 * sysdeps/x86_64/mul_1.S: Likewise.
65476 * sysdeps/x86_64/rshift.S: Likewise.
65477 * sysdeps/x86_64/sub_n.S: Likewise.
65478 * sysdeps/x86_64/submul_1.S: Likewise.
65479
65480 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
65481
65482 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
65483 Define __sched_param instead of SCHED_* and sched_param when
65484 <bits/sched.h> is included with __need_schedparam defined.
65485 * bits/sched.h [__need_schedparam]
65486 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
65487 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
65488 (__defined_schedparam): Define to 1.
65489 (__sched_param): New structure, identical to sched_param.
65490 (__need_schedparam): Undefine.
65491
65492 2010-08-31 Mike Frysinger <vapier@gentoo.org>
65493
65494 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
65495 (epoll_create1): Declare.
65496
65497 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
65498
65499 2010-08-31 Andreas Schwab <schwab@redhat.com>
65500
65501 [BZ #7066]
65502 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
65503 shifting retval into place.
65504
65505 2010-09-01 Ulrich Drepper <drepper@redhat.com>
65506
65507 * nis/rpcsvc/nis.h: Update copyright notice.
65508 * nis/rpcsvc/nis.x: Likewise.
65509 * nis/rpcsvc/nis_callback.h: Likewise.
65510 * nis/rpcsvc/nis_callback.x: Likewise.
65511 * nis/rpcsvc/nis_object.x: Likewise.
65512 * nis/rpcsvc/nis_tags.h: Likewise.
65513 * nis/rpcsvc/yp.h: Likewise.
65514 * nis/rpcsvc/yp.x: Likewise.
65515 * nis/rpcsvc/ypupd.h: Likewise.
65516 * nis/yp_xdr.c: Likewise.
65517 * nis/ypupdate_xdr.c: Likewise.
65518
65519 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
65520 mainly the body of pmap_getport. Add parameters to specify timeouts.
65521 (pmap_getport): Use __libc_rpc_getport.
65522 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
65523 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
65524 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
65525
65526 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
65527
65528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
65529 fanotify_mark.
65530
65531 2010-08-27 Roland McGrath <roland@redhat.com>
65532
65533 * sysdeps/i386/i686/multiarch/Makefile
65534 (CFLAGS-varshift.c): New variable.
65535
65536 2010-08-27 Ulrich Drepper <drepper@redhat.com>
65537
65538 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
65539 * sysdeps/i386/i686/multiarch/varshift.c: New file.
65540
65541 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
65542
65543 * sysdeps/x86_64/strlen.S: Minimal code improvement.
65544
65545 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
65546
65547 * sysdeps/x86_64/strlen.S: Unroll the loop.
65548 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
65549 strlen-sse2 strlen-sse2-bsf.
65550 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
65551 __strlen_no_bsf if bit_Slow_BSF is set.
65552 (__strlen_sse42): Removed.
65553 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
65554 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
65555
65556 2010-08-25 Roland McGrath <roland@redhat.com>
65557
65558 * sysdeps/x86_64/multiarch/varshift.S: File removed.
65559 * sysdeps/x86_64/multiarch/varshift.c: New file.
65560 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
65561 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
65562 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
65563 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
65564
65565 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
65566
65567 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
65568 strlen-sse2 strlen-sse2-bsf.
65569 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
65570 __strlen_sse2_bsf if bit_Slow_BSF is unset.
65571 (__strlen_sse2): Removed.
65572 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
65573 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
65574 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
65575 bit_Slow_BSF for Atom.
65576 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
65577 (index_Slow_BSF): Define.
65578 (HAS_SLOW_BSF): Define.
65579
65580 2010-08-25 Ulrich Drepper <drepper@redhat.com>
65581
65582 [BZ #10851]
65583 * resolv/res_init.c (__res_vinit): When no server address at all
65584 is given default to loopback.
65585
65586 2010-08-24 Roland McGrath <roland@redhat.com>
65587
65588 * configure.in: Remove config-name.h generation.
65589 * configure: Regenerated.
65590 * config-name.in: File removed.
65591 * scripts/config-uname.sh: New file.
65592 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
65593 ($(objdir)config-name.h): New target.
65594
65595 * sunrpc/rpc_parse.h: Avoid nested comment.
65596
65597 2010-08-24 Richard Henderson <rth@redhat.com>
65598 Ulrich Drepper <drepper@redhat.com>
65599 H.J. Lu <hongjiu.lu@intel.com>
65600
65601 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
65602 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
65603 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
65604 Replace _mm_srli_si128 with __m128i_shift_right. Replace
65605 _mm_alignr_epi8 with _mm_loadu_si128.
65606 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
65607 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
65608 (__m128i_shift_right): Removed.
65609 * sysdeps/i386/i686/multiarch/varshift.h: New file.
65610 * sysdeps/i386/i686/multiarch/varshift.S: New file.
65611 * sysdeps/x86_64/multiarch/varshift.h: New file.
65612 * sysdeps/x86_64/multiarch/varshift.S: New file.
65613
65614 2010-08-21 Mike Frysinger <vapier@gentoo.org>
65615
65616 * configure.in: Move assembler checks to before sysdep dir checking.
65617
65618 2010-08-20 Petr Baudis <pasky@suse.cz>
65619
65620 * LICENSES: Sync the sunrpc license.
65621
65622 2010-08-19 Ulrich Drepper <drepper@redhat.com>
65623
65624 * sunrpc/auth_des.c: Update copyright notice once again.
65625 * sunrpc/auth_none.c: Likewise.
65626 * sunrpc/auth_unix.c: Likewise.
65627 * sunrpc/authdes_prot.c: Likewise.
65628 * sunrpc/authuxprot.c: Likewise.
65629 * sunrpc/bindrsvprt.c: Likewise.
65630 * sunrpc/clnt_gen.c: Likewise.
65631 * sunrpc/clnt_perr.c: Likewise.
65632 * sunrpc/clnt_raw.c: Likewise.
65633 * sunrpc/clnt_simp.c: Likewise.
65634 * sunrpc/clnt_tcp.c: Likewise.
65635 * sunrpc/clnt_udp.c: Likewise.
65636 * sunrpc/clnt_unix.c: Likewise.
65637 * sunrpc/des_crypt.c: Likewise.
65638 * sunrpc/des_soft.c: Likewise.
65639 * sunrpc/get_myaddr.c: Likewise.
65640 * sunrpc/getrpcport.c: Likewise.
65641 * sunrpc/key_call.c: Likewise.
65642 * sunrpc/key_prot.c: Likewise.
65643 * sunrpc/openchild.c: Likewise.
65644 * sunrpc/pm_getmaps.c: Likewise.
65645 * sunrpc/pm_getport.c: Likewise.
65646 * sunrpc/pmap_clnt.c: Likewise.
65647 * sunrpc/pmap_prot.c: Likewise.
65648 * sunrpc/pmap_prot2.c: Likewise.
65649 * sunrpc/pmap_rmt.c: Likewise.
65650 * sunrpc/rpc/auth.h: Likewise.
65651 * sunrpc/rpc/auth_unix.h: Likewise.
65652 * sunrpc/rpc/clnt.h: Likewise.
65653 * sunrpc/rpc/des_crypt.h: Likewise.
65654 * sunrpc/rpc/key_prot.h: Likewise.
65655 * sunrpc/rpc/netdb.h: Likewise.
65656 * sunrpc/rpc/pmap_clnt.h: Likewise.
65657 * sunrpc/rpc/pmap_prot.h: Likewise.
65658 * sunrpc/rpc/pmap_rmt.h: Likewise.
65659 * sunrpc/rpc/rpc.h: Likewise.
65660 * sunrpc/rpc/rpc_des.h: Likewise.
65661 * sunrpc/rpc/rpc_msg.h: Likewise.
65662 * sunrpc/rpc/svc.h: Likewise.
65663 * sunrpc/rpc/svc_auth.h: Likewise.
65664 * sunrpc/rpc/types.h: Likewise.
65665 * sunrpc/rpc/xdr.h: Likewise.
65666 * sunrpc/rpc_clntout.c: Likewise.
65667 * sunrpc/rpc_cmsg.c: Likewise.
65668 * sunrpc/rpc_common.c: Likewise.
65669 * sunrpc/rpc_cout.c: Likewise.
65670 * sunrpc/rpc_dtable.c: Likewise.
65671 * sunrpc/rpc_hout.c: Likewise.
65672 * sunrpc/rpc_main.c: Likewise.
65673 * sunrpc/rpc_parse.c: Likewise.
65674 * sunrpc/rpc_parse.h: Likewise.
65675 * sunrpc/rpc_prot.c: Likewise.
65676 * sunrpc/rpc_sample.c: Likewise.
65677 * sunrpc/rpc_scan.c: Likewise.
65678 * sunrpc/rpc_scan.h: Likewise.
65679 * sunrpc/rpc_svcout.c: Likewise.
65680 * sunrpc/rpc_tblout.c: Likewise.
65681 * sunrpc/rpc_util.c: Likewise.
65682 * sunrpc/rpc_util.h: Likewise.
65683 * sunrpc/rpcinfo.c: Likewise.
65684 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
65685 * sunrpc/rpcsvc/key_prot.x: Likewise.
65686 * sunrpc/rpcsvc/klm_prot.x: Likewise.
65687 * sunrpc/rpcsvc/mount.x: Likewise.
65688 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
65689 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
65690 * sunrpc/rpcsvc/rex.x: Likewise.
65691 * sunrpc/rpcsvc/rstat.x: Likewise.
65692 * sunrpc/rpcsvc/rusers.x: Likewise.
65693 * sunrpc/rpcsvc/sm_inter.x: Likewise.
65694 * sunrpc/rpcsvc/spray.x: Likewise.
65695 * sunrpc/rpcsvc/yppasswd.x: Likewise.
65696 * sunrpc/rtime.c: Likewise.
65697 * sunrpc/svc.c: Likewise.
65698 * sunrpc/svc_auth.c: Likewise.
65699 * sunrpc/svc_authux.c: Likewise.
65700 * sunrpc/svc_raw.c: Likewise.
65701 * sunrpc/svc_run.c: Likewise.
65702 * sunrpc/svc_simple.c: Likewise.
65703 * sunrpc/svc_tcp.c: Likewise.
65704 * sunrpc/svc_udp.c: Likewise.
65705 * sunrpc/svc_unix.c: Likewise.
65706 * sunrpc/svcauth_des.c: Likewise.
65707 * sunrpc/xcrypt.c: Likewise.
65708 * sunrpc/xdr.c: Likewise.
65709 * sunrpc/xdr_array.c: Likewise.
65710 * sunrpc/xdr_float.c: Likewise.
65711 * sunrpc/xdr_mem.c: Likewise.
65712 * sunrpc/xdr_rec.c: Likewise.
65713 * sunrpc/xdr_ref.c: Likewise.
65714 * sunrpc/xdr_sizeof.c: Likewise.
65715 * sunrpc/xdr_stdio.c: Likewise.
65716
65717 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
65718 handling.
65719
65720 2010-08-19 Andreas Schwab <schwab@redhat.com>
65721
65722 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
65723
65724 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
65725
65726 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
65727 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
65728 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
65729 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
65730 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
65731 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
65732 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
65733 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
65734 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
65735 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
65736 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
65737 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
65738 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
65739 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
65740
65741 2010-07-26 Anton Blanchard <anton@samba.org>
65742
65743 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
65744 * malloc/arena.c (heap_trim): Likewise.
65745
65746 2010-08-16 Ulrich Drepper <drepper@redhat.com>
65747
65748 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
65749 here. Not...
65750 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
65751 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
65752
65753 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
65754
65755 * sysdeps/i386/elf/Makefile: New file.
65756
65757 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
65758
65759 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
65760 from fanotify_init.
65761 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
65762 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
65763
65764 2010-08-15 Ulrich Drepper <drepper@redhat.com>
65765
65766 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
65767 of strncasecmp_l.
65768 * sysdeps/multiarch/strcmp.S: Likewise.
65769
65770 2010-08-14 Ulrich Drepper <drepper@redhat.com>
65771
65772 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
65773 strncase_l-nonascii.
65774 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
65775 Add strncase_l-ssse3.
65776 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
65777 * sysdeps/x86_64/strcmp.S: Likewise.
65778 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
65779 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
65780 * sysdeps/x86_64/strncase.S: New file.
65781 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
65782 * sysdeps/x86_64/strncase_l.S: New file.
65783 * string/Makefile (strop-tests): Add strncasecmp.
65784 * string/test-strncasecmp.c: New file.
65785
65786 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
65787 warning.
65788
65789 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
65790 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
65791
65792 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
65793
65794 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
65795
65796 2010-08-12 Ulrich Drepper <drepper@redhat.com>
65797
65798 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
65799 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
65800 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
65801
65802 2010-05-01 Alan Modra <amodra@gmail.com>
65803
65804 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
65805 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
65806 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
65807 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
65808 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
65809 tidying. Don't tail-call __sigjmp_save for static lib.
65810 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
65811 save location.
65812 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
65813 (CALL_MCOUNT): Add eh info, and nop after bl.
65814 (TAIL_CALL_SYSCALL_ERROR): New macro.
65815 (PSEUDO_RET): Use it.
65816 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
65817 Correct save location of integer regs and cr.
65818 (_dl_profile_resolve): Correct cr save location. Delete nops
65819 after bl when SHARED. Reduce cfi size a little by better
65820 placement of cfi directives.
65821 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
65822 make a stack frame. Instead use parm save area as a temp.
65823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
65824 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
65825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
65826 Don't make a stack frame for parent, use parm save area.
65827 Increase child stack frame to 112 bytes. Don't save unused reg,
65828 and adjust reg usage. Set up cfi on error recovery and
65829 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
65830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
65831 (__makecontext): Add dummy nop after jump to exit.
65832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
65833 Use correct parm save area and cr save, reduce stack frame.
65834 Correct cfi for possible PSEUDO_RET frame setup.
65835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
65836 Branch to local label emitted by PSEUDO_RET rather than
65837 __syscall_error.
65838
65839 2010-08-12 Andreas Schwab <schwab@redhat.com>
65840
65841 [BZ #11904]
65842 * locale/programs/locale.c (print_assignment): New function.
65843 (show_locale_vars): Use it.
65844
65845 2010-08-11 Ulrich Drepper <drepper@redhat.com>
65846
65847 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
65848 field.
65849 (struct statfs64): Likewise.
65850 (_STATFS_F_FLAGS): Define.
65851 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
65852 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
65853 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
65854 (ST_VALID): Define locally.
65855 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
65856 __statvfs_getflags, use the provided value.
65857 * sysdeps/unix/sysv/linux/kernel-features.h: Define
65858 __ASSUME_STATFS_F_FLAGS.
65859
65860 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
65861
65862 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
65863 Add sys/fanotify.h.
65864 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
65865 fanotify_mask for GLIBC_2.13.
65866 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
65867 fanotify_init and fanotify_mark.
65868 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
65869 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
65870
65871 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
65872 Add prlimit.
65873 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
65874 prlimit64 for GLIBC_2.13.
65875 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
65876 prlimit64.
65877 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
65878 syscall.
65879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
65880 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
65881 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
65882 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
65883 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
65884 add prlimit alias.
65885 * sysdeps/unix/sysv/linux/prlimit.c: New file.
65886
65887 [BZ #11903]
65888 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
65889 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
65890
65891 * nss/Makefile: Add rules to build and run tst-nss-test1.
65892 * shlib-versions: Add entry for libnss_test1.
65893 * nss/nss_test1.c: New file.
65894 * nss/tst-nss-test1.c: New file.
65895
65896 * nss/nsswitch.c (__nss_database_custom): Define new variable.
65897 (__nss_configure_lookup): Set appropriate entry in
65898 __nss_configure_lookup to true.
65899 * nss/nsswitch.h: Define enum with indeces of databases in
65900 databases and __nss_database_custom arrays. Declare
65901 __nss_database_custom.
65902 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
65903 to avoid using nscd when custom rules are installed.
65904 * nss/getXXbyYY_r.c: Likewise.
65905 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
65906
65907 * nss/nss_files/files-parse.c: Whitespace fixes.
65908
65909 2010-08-09 Ulrich Drepper <drepper@redhat.com>
65910
65911 [BZ #11883]
65912 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
65913 * posix/fnmatch_loop.c: Likewise.
65914
65915 2010-07-17 Andi Kleen <ak@linux.intel.com>
65916
65917 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
65918 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
65919 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
65920 * Versions.def [GLIBC_2.13]: Add.
65921
65922 2010-08-06 Ulrich Drepper <drepper@redhat.com>
65923
65924 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
65925 Also fail if tpwd after pwuid call is NULL.
65926
65927 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
65928
65929 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
65930 when converting to ms.
65931
65932 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
65933
65934 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
65935 EOPNOTSUPP errors with ENOTTY.
65936 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
65937 EOPNOTSUPP errors with ENOTTY.
65938
65939 2010-07-31 Ulrich Drepper <drepper@redhat.com>
65940
65941 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
65942 Add strcasecmp_l-ssse3.
65943 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
65944 strcasecmp.
65945 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
65946 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
65947 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
65948
65949 2010-07-30 Ulrich Drepper <drepper@redhat.com>
65950
65951 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
65952
65953 * string/Makefile (strop-tests): Add strcasecmp.
65954 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
65955 strcasecmp_l-nonascii.
65956 (gen-as-const-headers): Add locale-defines.sym.
65957 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
65958 * sysdeps/x86_64/strcasecmp.S: New file.
65959 * sysdeps/x86_64/strcasecmp_l.S: New file.
65960 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
65961 * sysdeps/x86_64/locale-defines.sym: New file.
65962 * string/test-strcasecmp.c: New file.
65963
65964 * string/test-strcasestr.c: Test both ends of the range of characters.
65965 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
65966
65967 2010-07-29 Roland McGrath <roland@redhat.com>
65968
65969 [BZ #11856]
65970 * manual/locale.texi (Yes-or-No Questions): Fix example code.
65971
65972 2010-07-27 Ulrich Drepper <drepper@redhat.com>
65973
65974 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
65975 for ld.so.
65976
65977 2010-07-27 Andreas Schwab <schwab@redhat.com>
65978
65979 * manual/memory.texi (Malloc Tunable Parameters): Document
65980 M_PERTURB.
65981
65982 2010-07-26 Roland McGrath <roland@redhat.com>
65983
65984 [BZ #11840]
65985 * configure.in (-fgnu89-inline check): Set and substitute
65986 gnu89_inline, not libc_cv_gnu89_inline.
65987 * configure: Regenerated.
65988 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
65989
65990 2010-07-26 Ulrich Drepper <drepper@redhat.com>
65991
65992 * string/test-strnlen.c: New file.
65993 * string/Makefile (strop-tests): Add strnlen.
65994 * string/tester.c (test_strnlen): Add a few more test cases.
65995 * string/tst-strlen.c: Better error reporting.
65996
65997 * sysdeps/x86_64/strnlen.S: New file.
65998
65999 2010-07-24 Ulrich Drepper <drepper@redhat.com>
66000
66001 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
66002 lower-latency instructions.
66003
66004 2010-07-23 Ulrich Drepper <drepper@redhat.com>
66005
66006 * string/test-strcasestr.c: New file.
66007 * string/test-strstr.c: New file.
66008 * string/Makefile (strop-tests): Add strstr and strcasestr.
66009 * string/str-two-way.h: Don't undefine MAX.
66010 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
66011
66012 2010-07-21 Andreas Schwab <schwab@redhat.com>
66013
66014 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
66015 strcasestr-nonascii.
66016 (CFLAGS-strcasestr-nonascii.c): Define.
66017 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
66018 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
66019 Remove unused attribute.
66020
66021 2010-07-20 Roland McGrath <roland@redhat.com>
66022
66023 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
66024 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
66025 ld.so.cache was broken. With it, there is no way to disable dsocaps
66026 like LD_HWCAP_MASK can disable hwcaps.
66027
66028 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
66029
66030 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
66031
66032 2010-07-16 Ulrich Drepper <drepper@redhat.com>
66033
66034 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
66035 call in strcasestr.
66036 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
66037 __strcasestr_sse42_nonascii.
66038 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
66039 strcasestr-nonascii.c.
66040 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
66041
66042 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
66043
66044 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
66045 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
66046 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
66047 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
66048
66049 2010-07-09 Ulrich Drepper <drepper@redhat.com>
66050
66051 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
66052 fcntl.
66053
66054 2010-07-06 Andreas Schwab <schwab@redhat.com>
66055
66056 [BZ #11577]
66057 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
66058 dl_signal_cerror.
66059
66060 2010-07-06 Ulrich Drepper <drepper@redhat.com>
66061
66062 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
66063 _PC_PIPE_BUF using F_GETPIPE_SZ.
66064
66065 2010-07-05 Roland McGrath <roland@redhat.com>
66066
66067 * manual/arith.texi (Rounding Functions): Fix rint description
66068 implicit in round description.
66069
66070 2010-07-02 Ulrich Drepper <drepper@redhat.com>
66071
66072 * elf/Makefile: Fix linking for a few tests to make recent linker
66073 happy.
66074
66075 2010-06-30 Andreas Schwab <schwab@redhat.com>
66076
66077 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
66078 $(common-objpfx)libc_nonshared.a.
66079
66080 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
66081
66082 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
66083 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
66084 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
66085 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
66086 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
66087 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
66088 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
66089 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
66090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
66091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
66092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
66093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
66094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
66095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
66096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
66097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
66098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
66099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
66100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
66101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
66102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
66103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
66104 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
66105 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
66106 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
66107 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
66108 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
66109 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
66110 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
66111 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
66112 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
66113 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
66114 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
66115 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
66116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
66117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
66118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
66119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
66120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
66121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
66122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
66123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
66124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
66125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
66126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
66127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
66128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
66129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
66130
66131 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
66132
66133 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
66134 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
66135 * string/memmove.c (memmove): Renamed to ...
66136 (MEMMOVE): ...this. Default to memmove.
66137 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
66138 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
66139 (END_CHK): Define.
66140 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
66141 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
66142 mempcpy-ssse3-back memmove-ssse3-back.
66143 * sysdeps/x86_64/multiarch/bcopy.S: New file .
66144 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
66145 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
66146 * sysdeps/x86_64/multiarch/memcpy.S: New file.
66147 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
66148 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
66149 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
66150 * sysdeps/x86_64/multiarch/memmove.c: New file.
66151 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
66152 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
66153 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
66154 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
66155 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
66156 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
66157 Define.
66158 (index_Fast_Copy_Backward): Define.
66159 (HAS_ARCH_FEATURE): Define.
66160 (HAS_FAST_REP_STRING): Define.
66161 (HAS_FAST_COPY_BACKWARD): Define.
66162
66163 2010-06-21 Andreas Schwab <schwab@redhat.com>
66164
66165 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
66166 Restore proper fallback handling.
66167
66168 2010-06-19 Ulrich Drepper <drepper@redhat.com>
66169
66170 [BZ #11701]
66171 * posix/group_member.c (__group_member): Correct checking loop.
66172
66173 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
66174 OOM in getpwuid_r correctly. Return error number when the caller
66175 should return, otherwise -1.
66176 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
66177 call returning > 0 value.
66178 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
66179
66180 2010-06-07 Andreas Schwab <schwab@redhat.com>
66181
66182 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
66183 libc_nonshared.a from targets in modules-names.
66184
66185 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
66186
66187 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
66188 requires it.
66189
66190 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
66191
66192 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
66193 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
66194 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
66195 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
66196
66197 2010-06-02 Andreas Schwab <schwab@redhat.com>
66198
66199 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
66200
66201 2010-06-14 Ulrich Drepper <drepper@redhat.com>
66202
66203 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
66204 and F_GETPIPE_SZ.
66205 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
66206 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
66207 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
66208 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
66209 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
66210 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
66211
66212 2010-06-14 Roland McGrath <roland@redhat.com>
66213
66214 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
66215
66216 2010-06-07 Jakub Jelinek <jakub@redhat.com>
66217
66218 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
66219 __REDIRECT followed by __THROW.
66220 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
66221 * posix/getopt.h (getopt): Likewise.
66222
66223 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
66224
66225 * hurd/lookup-at.c (__file_name_lookup_at): Accept
66226 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
66227 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
66228 in AT_FLAGS.
66229 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
66230 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
66231
66232 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
66233
66234 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
66235
66236 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
66237
66238 [BZ #11640]
66239 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
66240 Properly check family and model.
66241
66242 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
66243
66244 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
66245
66246 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
66247
66248 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
66249
66250 2010-05-21 Ulrich Drepper <drepper@redhat.com>
66251
66252 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
66253 symbol reference.
66254
66255 2010-05-19 Andreas Schwab <schwab@redhat.com>
66256
66257 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
66258 symbol reference.
66259
66260 2010-05-21 Andreas Schwab <schwab@redhat.com>
66261
66262 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
66263 and internal_recvmmsg.
66264 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
66265 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
66266 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
66267 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
66268
66269 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
66270 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
66271 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
66272
66273 2010-05-20 Andreas Schwab <schwab@redhat.com>
66274
66275 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
66276
66277 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
66278
66279 POWER7 optimizations.
66280 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
66281 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
66282
66283 2010-05-19 Ulrich Drepper <drepper@redhat.com>
66284
66285 * version.h: Update for 2.13 development version.
66286
66287 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
66288
66289 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
66290 exceptions. Return 0.
66291
66292 2010-05-07 Roland McGrath <roland@redhat.com>
66293
66294 * elf/ldconfig.c (main): Add a const.
66295
66296 2010-05-06 Ulrich Drepper <drepper@redhat.com>
66297
66298 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
66299 (args_options): Add no-idn option.
66300 (ahosts_keys_int): Add idn_flags to ai_flags.
66301 (parse_option): Handle 'i' option to clear idn_flags.
66302
66303 * malloc/malloc.c (_int_free): Possible race in the most recently
66304 added check. Only act on the data if no current modification
66305 happened.
66306
66307 See ChangeLog.17 for earlier changes.